@wcardinal/wcardinal-ui 0.141.0 → 0.145.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-application-like.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-button-link.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-chart-axis-x-datetime.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-chart-axis-y.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-dialog-select.d.ts +13 -14
- package/dist/types/wcardinal/ui/d-item-updater.d.ts +19 -0
- package/dist/types/wcardinal/ui/d-link.d.ts +23 -12
- package/dist/types/wcardinal/ui/d-list-data-selection.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-list-item-accessor-impl.d.ts +3 -1
- package/dist/types/wcardinal/ui/d-list-item-accessor.d.ts +19 -4
- package/dist/types/wcardinal/ui/d-list-item-ambient.d.ts +8 -0
- package/dist/types/wcardinal/ui/d-list-item.d.ts +7 -2
- package/dist/types/wcardinal/ui/d-menu-item-link.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-note-error.d.ts +8 -0
- package/dist/types/wcardinal/ui/d-note-no-items-found.d.ts +8 -0
- package/dist/types/wcardinal/ui/d-note-searching.d.ts +8 -0
- package/dist/types/wcardinal/ui/d-note.d.ts +4 -5
- package/dist/types/wcardinal/ui/d-table-body-cell-link.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-table-body-cell-tree.d.ts +2 -2
- package/dist/types/wcardinal/ui/index.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-button-link.d.ts +0 -3
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-dialog-select.d.ts +2 -2
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-input-search.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-link.d.ts +12 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-list-item-ambient.d.ts +6 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-menu-item-link.d.ts +3 -3
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-note-error.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-note-no-items-found.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-note-searching.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-note.d.ts +11 -2
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-link.d.ts +3 -3
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-tree.d.ts +0 -3
- package/dist/types/wcardinal/ui/theme/dark/index.d.ts +7 -2
- package/dist/types/wcardinal/ui/theme/dark/load/index.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-link.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-button-link.d.ts +0 -3
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-diagram-canvas.d.ts +1 -1
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-dialog-select.d.ts +2 -2
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-input-search.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-link.d.ts +12 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-list-item-ambient.d.ts +6 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-menu-item-link.d.ts +3 -3
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-note-error.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-note-no-items-found.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-note-searching.d.ts +8 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-note.d.ts +11 -2
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-table-body-cell-link.d.ts +3 -3
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-table-body-cell-tree.d.ts +0 -3
- package/dist/types/wcardinal/ui/theme/white/index.d.ts +5 -0
- package/dist/types/wcardinal/ui/theme/white/load/index.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-link.d.ts +1 -0
- package/dist/types/wcardinal/ui/util/dynamic-font-atlas.d.ts +2 -0
- package/dist/types/wcardinal/ui/util/util-transition.d.ts +3 -3
- package/dist/wcardinal/ui/d-application-like.js.map +1 -1
- package/dist/wcardinal/ui/d-button-link.js +1 -1
- package/dist/wcardinal/ui/d-button-link.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-axis-x-datetime.js.map +1 -1
- package/dist/wcardinal/ui/d-chart-axis-y.js.map +1 -1
- package/dist/wcardinal/ui/d-dialog-select.js +55 -34
- package/dist/wcardinal/ui/d-dialog-select.js.map +1 -1
- package/dist/wcardinal/ui/d-item-updater.js +48 -11
- package/dist/wcardinal/ui/d-item-updater.js.map +1 -1
- package/dist/wcardinal/ui/d-link.js +58 -25
- package/dist/wcardinal/ui/d-link.js.map +1 -1
- package/dist/wcardinal/ui/d-list-data-selection.js.map +1 -1
- package/dist/wcardinal/ui/d-list-item-accessor-impl.js +22 -0
- package/dist/wcardinal/ui/d-list-item-accessor-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-list-item-accessor.js.map +1 -1
- package/dist/wcardinal/ui/d-list-item-ambient.js +18 -0
- package/dist/wcardinal/ui/d-list-item-ambient.js.map +1 -0
- package/dist/wcardinal/ui/d-list-item.js +50 -8
- package/dist/wcardinal/ui/d-list-item.js.map +1 -1
- package/dist/wcardinal/ui/d-menu-item-link.js +1 -1
- package/dist/wcardinal/ui/d-menu-item-link.js.map +1 -1
- package/dist/wcardinal/ui/d-note-error.js +18 -0
- package/dist/wcardinal/ui/d-note-error.js.map +1 -0
- package/dist/wcardinal/ui/d-note-no-items-found.js +18 -0
- package/dist/wcardinal/ui/d-note-no-items-found.js.map +1 -0
- package/dist/wcardinal/ui/d-note-searching.js +18 -0
- package/dist/wcardinal/ui/d-note-searching.js.map +1 -0
- package/dist/wcardinal/ui/d-note.js +2 -6
- package/dist/wcardinal/ui/d-note.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-link.js +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-link.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-tree.js +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-tree.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-row.js +1 -1
- package/dist/wcardinal/ui/d-table-body-row.js.map +1 -1
- package/dist/wcardinal/ui/index.js +4 -0
- package/dist/wcardinal/ui/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-link.js +0 -5
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-link.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-select.js +3 -6
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-select.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-input-search.js +0 -4
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-input-search.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-link.js +53 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-link.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-list-item-ambient.js +19 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-list-item-ambient.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-list-items.js +8 -8
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-list-items.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-menu-item-link.js +5 -7
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-menu-item-link.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-note-error.js +27 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-note-error.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-note-no-items-found.js +28 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-note-no-items-found.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-note-searching.js +29 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-note-searching.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-note.js +22 -2
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-note.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-link.js +5 -7
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-link.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-tree.js +0 -5
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-tree.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-row.js +2 -2
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-row.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/index.js +7 -2
- package/dist/wcardinal/ui/theme/dark/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/index.js +1 -0
- package/dist/wcardinal/ui/theme/dark/load/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-all.js +2 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-link.js +10 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-link.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-list.js +2 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-list.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-note.js +6 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-note.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-button-link.js +0 -5
- package/dist/wcardinal/ui/theme/white/d-theme-white-button-link.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-diagram-canvas.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-select.js +3 -6
- package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-select.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-input-search.js +0 -4
- package/dist/wcardinal/ui/theme/white/d-theme-white-input-search.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-link.js +53 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-link.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-list-item-ambient.js +19 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-list-item-ambient.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-list-items.js +8 -8
- package/dist/wcardinal/ui/theme/white/d-theme-white-list-items.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-menu-item-link.js +5 -7
- package/dist/wcardinal/ui/theme/white/d-theme-white-menu-item-link.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-note-error.js +27 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-note-error.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-note-no-items-found.js +28 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-note-no-items-found.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-note-searching.js +29 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-note-searching.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-note.js +22 -2
- package/dist/wcardinal/ui/theme/white/d-theme-white-note.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cell-link.js +5 -7
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cell-link.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cell-tree.js +0 -5
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cell-tree.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-row.js +2 -2
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-row.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/index.js +5 -0
- package/dist/wcardinal/ui/theme/white/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/index.js +1 -0
- package/dist/wcardinal/ui/theme/white/load/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-all.js +2 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-link.js +10 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-link.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-list.js +2 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-list.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-note.js +6 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-note.js.map +1 -1
- package/dist/wcardinal/ui/util/dynamic-font-atlas.js +9 -4
- package/dist/wcardinal/ui/util/dynamic-font-atlas.js.map +1 -1
- package/dist/wcardinal/ui/util/util-transition.js +1 -1
- package/dist/wcardinal/ui/util/util-transition.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +201 -97
- 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 +199 -95
- 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 +701 -277
- package/dist/wcardinal-ui.js +309 -93
- 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-links.d.ts +0 -12
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-links.d.ts +0 -12
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-links.js +0 -55
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-links.js.map +0 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-links.js +0 -55
- package/dist/wcardinal/ui/theme/white/d-theme-white-links.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.145.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 u=n.u[t];if(null!=u)return this.t[t]=new u;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}(),u=function(){n.setDefaultThemeClass(r)},e=function(n,t){return(e=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}e(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,a=wcardinal.ui.DLayoutClearType,l=wcardinal.ui.DShadowImpl,h=wcardinal.ui.UtilRgb;var s=function(){function n(){}return n.COLOR=13421772,n.ACTIVE_COLOR=0,n.BORDER_COLOR=4868682,n.BACKGROUND_COLOR=3026478,n.BACKGROUND_COLOR_ON_BOARD=2039583,n.HIGHLIGHT_COLOR=2267123,n.HIGHLIGHT_ALPHA=.2,n.HIGHLIGHT_BLENDED=h.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=h.blend(n.BACKGROUND_COLOR_ON_BOARD,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_COLOR=5592405,n.WEAK_HIGHLIGHT_ALPHA=.2,n.WEAK_HIGHLIGHT_BLENDED=h.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=h.blend(n.BACKGROUND_COLOR_ON_BOARD,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.INVALID_COLOR=14290446,n.INVALID_ALPHA=.2,n.INVALID_BLENDED=h.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=h.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}(),d=function(n,r,u){var e=2*r;t.add(n,e,e,'<g><defs><radialGradient id="'+n+'_filter"><stop offset="0%" stop-color="black" stop-opacity="'+u+'" /><stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs><rect x="0" y="0" width="'+e+'" height="'+e+'" fill="url(#'+n+'_filter)"/></g>')};d("shadow_weak",8,.5),d("shadow",12,.5),t.add("background",16,16,'<g><defs><radialGradient id="background_filter"><stop offset="25%" stop-color="white" stop-opacity="1" /><stop offset="75%" stop-color="white" stop-opacity="0.25" /></radialGradient></defs><rect x="0" y="0" width="16" height="16" fill="url(#background_filter)"/></g>');var m=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 a.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 l(t.mappings.shadow,12,12,0,3)},r.prototype.newShadowWeak=function(){return new l(t.mappings.shadow_weak,8,8,0,2)},r.prototype.getCursor=function(n){return""},r}(D),k=function(){r.set("DBase",m)},T=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.COLOR=2894892,t}return i(t,n),t.prototype.getBackgroundColor=function(){return this.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}(m),p=function(){r.set("DBoard",T)};const g=wcardinal.ui.DAlignHorizontal,w=wcardinal.ui.DButtonBaseWhen,b=wcardinal.ui.DAlignVertical,I=wcardinal.ui.DAlignWith,x=wcardinal.ui.DDynamicTextStyleWordWrap,v=wcardinal.ui.toString;var y=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 g.LEFT},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getTextStyleClipping=function(){return!0},t.prototype.getTextStyleWordWrap=function(){return x.NONE},t.prototype.getTextFormatter=function(){return v},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(m),C=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignHorizontal=function(){return g.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.getImageAlignWith=function(){return I.TEXT},t.prototype.getImageMarginHorizontal=function(){return 5},t.prototype.getImageMarginVertial=function(){return 5},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return this.getAlpha(n)},t.prototype.getImageSource=function(n){return null},t.prototype.getSecondaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getSecondaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getSecondaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getSecondaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getSecondaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t.prototype.getTertiaryImageAlignHorizontal=function(){return this.getImageAlignHorizontal()},t.prototype.getTertiaryImageAlignVertical=function(){return this.getImageAlignVertical()},t.prototype.getTertiaryImageAlignWith=function(){return this.getImageAlignWith()},t.prototype.getTertiaryImageMarginHorizontal=function(){return this.getImageMarginHorizontal()},t.prototype.getTertiaryImageMarginVertial=function(){return this.getImageMarginVertial()},t.prototype.getTertiaryImageTintColor=function(n){return this.getImageTintColor(n)},t.prototype.getTertiaryImageTintAlpha=function(n){return this.getImageTintAlpha(n)},t}(y),B=function(n){function t(t,r,u){void 0===t&&(t=4737096),void 0===r&&(r=.017),void 0===u&&(u=.034);var e=n.call(this)||this;return e.BACKGROUND_COLOR=t,e.BACKGROUND_COLOR_HOVERED=h.brighten(t,r),e.BACKGROUND_COLOR_PRESSED=h.brighten(t,u),e.OUTLINE_COLOR=h.darken(t,.75),e}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?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 g.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}(C),S=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(B),M=function(){r.set("DButton",S)},_=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}(B),L=function(){r.set("DButtonAmbient",_)};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(){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}(),F=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 E.getImageTintColor(n)},t.prototype.isToggle=function(){return!0},t.prototype.getImageSource=function(n){return E.getImageSource(n)},t}(_),P=function(){r.set("DButtonCheck",F)},A=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return I.PADDING},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return g.LEFT},t}(F),R=function(){r.set("DButtonCheckRight",A)};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 z=function(n){return"#"+h.toCode(n.color)+" A"+n.alpha.toFixed(2)},H=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 z},r.prototype.newTextValue=function(){return{color:14606046,alpha:1}},r}(S);const N=wcardinal.ui.DDialogCloseOn,G=wcardinal.ui.DDialogMode;var V=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMode=function(){return G.MODAL},t.prototype.closeOn=function(){return N.ESC|N.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 3750201},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}(m),O=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"Cancel"},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}(V),Y=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}(O),W=function(n,t){for(var r="<g>",u=0;u<t;++u)for(var e=0;e<n;++e)r+='<rect x="'+9*e+'" y="'+9*u+'" width="9" height="9" fill="'+((e+u)%2==0?"#5f5f5f":"#454545")+'" />';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,W(26,2)),t.add("picker_color_alpha",234,18,'<g><linearGradient id="s48afbuh44" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#s48afbuh44)" /></g>'),t.add("picker_color_base",234,18,'<g><linearGradient id="ni2rbisdf3" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FF0000" offset="0"/><stop stop-color="#FFFF00" offset="0.167"/><stop stop-color="#00FF00" offset="0.333"/><stop stop-color="#00FFFF" offset="0.5"/><stop stop-color="#0000FF" offset="0.667"/><stop stop-color="#FF00FF" offset="0.833"/><stop stop-color="#FF0000" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#ni2rbisdf3)" /></g>'),t.add("picker_color_base_pointer",16.2,31.8,'<rect x="4.5" y="4.5" width="7.2" height="22.8" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_pointer",25.8,25.8,'<circle cx="12.9" cy="12.9" r="4.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" /><circle cx="12.9" cy="12.9" r="7.2" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_recent_checkerboard",18,18,W(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,W(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 X=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}(m),K=function(){r.set("DPickerColor",X)},U=function(){r.set("DDialogColor",Y),K()},j=function(){r.set("DButtonColor",H),U()};const J=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 J},r.prototype.getCheckerColors=function(){return[225877,.27]},r}(S),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}(O),$=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[.37255,.27]},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}(m),nn=function(){r.set("DPickerColorGradient",$),K()},tn=function(){r.set("DDialogColorGradient",Z),nn()},rn=function(){r.set("DButtonColorGradient",Q),tn()},un=function(n){function t(){return n.call(this,15702682,.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.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(B),en=function(){r.set("DButtonDanger",un)};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}(S),an=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}(O);const ln=wcardinal.ui.DPickerDatetimeMask;var hn=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 ln.HOURS|ln.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}(m),sn=["January","February","March","April","May","June","July","August","September","October","November","December"],Dn=["Su","Mo","Tu","We","Th","Fr","Sa"],dn=function(n){return sn[n.getMonth()]+" "+n.getFullYear()},mn=function(){},kn=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 dn},t.prototype.getDateDecorator=function(){return mn},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getMask=function(){return ln.DATE|n.prototype.getMask.call(this)},t}(hn),Tn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMask=function(){return ln.DATE},t}(kn);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 pn=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 I.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return g.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}(_),gn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.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}(_);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 I.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return g.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}(_),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}(y),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 g.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),xn=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 g.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}(m),yn=function(){r.set("DPickerTime",hn)},Cn=function(){r.set("DPickerDatetimeButtonBack",pn),r.set("DPickerDatetimeButtonDate",gn),r.set("DPickerDatetimeButtonNext",wn),r.set("DPickerDatetimeLabelDate",xn),r.set("DPickerDatetimeLabel",In),r.set("DPickerDatetimeSpace",vn),r.set("DPickerDatetime",kn),yn()},Bn=function(){r.set("DPickerDate",Tn),Cn()},Sn=function(){r.set("DDialogDate",an),Bn()},Mn=function(){r.set("DButtonDate",fn),Sn()};const _n=wcardinal.ui.DPickerDatetimes;var Ln=function(n,t){return _n.format(n,t.getDatetimeMask())},En=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Ln},t.prototype.newTextValue=function(){return new Date},t}(S),Fn=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}(O),Pn=function(){r.set("DDialogDatetime",Fn),Cn()},An=function(){r.set("DButtonDatetime",En),Pn()},Rn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(S),zn=function(){r.set("DButtonFile",Rn)};const Hn=wcardinal.ui.DLinkMenuItemId;var Nn=function(){function n(){}return n.init=function(){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>')},n.getImageSource=function(n){return t.mappings.link_mark},n.getLinkMenuOptions=function(){return{sticky:!0,align:"RIGHT",items:[{value:Hn.OPEN_LINK,text:{value:this.getOpenLink()}},{value:Hn.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getOpenLinkInNewWindow()}},{value:Hn.COPY_LINK_ADDRESS,text:{value:this.getCopyLinkAddress()}}]}},n.getOpenLink=function(){return"Open"},n.getOpenLinkInNewWindow=function(){return"Open in new window"},n.getCopyLinkAddress=function(){return"Copy link address"},n}();Nn.init();var Gn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getLinkMenuOptions=function(){return Nn.getLinkMenuOptions()},t}(_),Vn=function(){r.set("DButtonLink",Gn)},On=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.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(B),Yn=function(){r.set("DButtonPrimary",On)};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 Wn=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}(_),Xn=function(){r.set("DButtonRadio",Wn)},Kn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return I.PADDING},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return g.LEFT},t}(Wn),Un=function(){r.set("DButtonRadioRight",Kn)},jn=function(n){function t(){return n.call(this,12096758,.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.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):0},t}(B);const Jn=wcardinal.ui.toLabel;var qn=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}(S),Qn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return null},t.prototype.getCancel=function(){return null},t.prototype.getNoteNoItemsText=function(){return"No Items"},t.prototype.getNoteSearchingText=function(){return"Searching..."},t.prototype.getInputMarginVertical=function(){return 0},t.prototype.getInputMarginHorizontal=function(){return 32},t}(O);const Zn=wcardinal.ui.UtilGestureMode;var $n=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 Zn.TOUCH},t}(m),nt=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}($n),tt=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}(nt),rt=function(){function n(n,t,r){this.i=t,null!=n?(this.o=n,this.l=1,this.h=h.blend(n,16777215,.02),this.D=1,this.m=h.blend(n,s.INVALID_COLOR,s.INVALID_ALPHA),this.k=1,this.T=r?s.HIGHLIGHT_COLOR:h.blend(n,s.HIGHLIGHT_COLOR,s.HIGHLIGHT_ALPHA),this.p=1,this.g=h.blend(n,s.WEAK_HIGHLIGHT_COLOR,s.WEAK_HIGHLIGHT_ALPHA),this.I=1):(this.o=0,this.l=0,this.h=0,this.D=.02,this.m=s.INVALID_COLOR,this.k=s.INVALID_ALPHA,this.T=s.HIGHLIGHT_COLOR,this.p=r?1:s.HIGHLIGHT_ALPHA,this.g=s.WEAK_HIGHLIGHT_COLOR,this.I=s.WEAK_HIGHLIGHT_ALPHA),this.v=s.COLOR,this.C=r?s.ACTIVE_COLOR:s.COLOR,r?(this.B=s.COLOR,this.S=s.ACTIVE_COLOR):(this.B=s.COLOR,this.S=s.COLOR)}return n.prototype.getBackgroundColor=function(n){return n.inDisabled?this.i?n.isAlternated?this.o:this.h:null:n.isInvalid?this.m:n.isActive?this.T:n.isHovered?this.g:this.i?n.isAlternated?this.o:this.h:null},n.prototype.getBackgroundAlpha=function(n){return n.inDisabled?this.i?n.isAlternated?this.l:this.D:0:n.isInvalid?this.k:n.isActive?this.p:n.isHovered?this.I:this.i?n.isAlternated?this.l:this.D: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.S:this.B},n.prototype.getAlpha=function(n){return n.inEnabled?1:0},n.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?this.v:this.C},n.prototype.getHeight=function(){return 30},n.prototype.getCornerMask=function(){return f.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),ut=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new rt(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.M.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.M.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.M.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.M.getBorderMask(n)},t.prototype.getColor=function(n){return this.M.getColor(n)},t.prototype.getAlpha=function(n){return this.M.getAlpha(n)},t.prototype.getHeight=function(){return this.M.getHeight()},t.prototype.getCornerMask=function(){return this.M.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.M.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.M.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(C),et=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new rt(null,!1,!0)},t.prototype.getCornerMask=function(){return f.NONE},t}(ut),it=function(){r.set("DDialogSelect",Qn),r.set("DDialogSelectList",tt),r.set("DDialogSelectListItem",et)};const ot=wcardinal.ui.DPickerTimes;var ct=function(n,t){return ot.format(n,t.getDatetimeMask())},ft=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return ct},t.prototype.newTextValue=function(){return new Date},t}(S),at=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}(O),lt=function(){r.set("DDialogTime",at),yn()},ht=function(){r.set("DButtonTime",ft),lt()},st=function(){L(),P(),R(),j(),rn(),r.set("DButtonSelect",qn),it(),en(),Mn(),An(),zn(),Vn(),Yn(),Xn(),Un(),r.set("DButtonSecondary",jn),ht(),M()},Dt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return 4737096},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getInteractive=function(){return o.BOTH},t}(m),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 50},t.prototype.getPaddingTop=function(){return 50},t.prototype.getPaddingRight=function(){return 50},t.prototype.getPaddingBottom=function(){return 50},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getInteractive=function(){return o.BOTH},t}(m),mt=function(){r.set("DCanvasContainer",dt),r.set("DCanvas",Dt)},kt=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.isOverflowMaskEnabled=function(){return!0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(m);const Tt=wcardinal.ui.DChartAxisPosition,pt=wcardinal.ui.DChartAxisTickPosition,gt=wcardinal.ui.EShapeTextAlignHorizontal,wt=wcardinal.ui.EShapeTextAlignVertical,bt=wcardinal.ui.EShapeTextDirection;var It=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 bt.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 bt.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}(),xt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(It),vt=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}(xt),yt=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 bt.BOTTOM_TO_TOP},t}(It),Ct=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}(),Bt=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}(),St=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),Mt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),_t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),Lt=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}(m);const Et=wcardinal.ui.EShapeBar,Ft=wcardinal.ui.EShapeBarPosition;var Pt=function(){function n(){}return n.prototype.isEnabled=function(n){return!0},n.prototype.newShape=function(n){var t=new Et;return t.points.position=Ft.TOP,t.stroke.alpha=.5,t},n}(),At=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Pt),Rt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newShape=function(n){var t=new Et;return t.points.position=Ft.LEFT,t.stroke.alpha=.5,t},t}(Pt);const zt=wcardinal.ui.EShapeCircle;var Ht=function(){function n(){}return n.prototype.isEnabled=function(n){return!1},n.prototype.newShape=function(n){var t=new zt;return n.isHovered?t.size.set(14,14):t.size.set(20,20),t},n}(),Nt=function(){r.set("DChart",kt),r.set("DChartAxisX",xt),r.set("DChartAxisXDatetime",vt),r.set("DChartAxisY",yt),r.set("DChartCoordinateLinear",Ct),r.set("DChartCoordinateLog",Bt),r.set("DChartLegend",St),r.set("DChartLegendItem",Mt),r.set("DChartOverview",_t),r.set("DChartPlotArea",Lt),r.set("DChartSelectionGridlineX",At),r.set("DChartSelectionGridlineY",Rt),r.set("DChartSelectionMarker",Ht)},Gt=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),Vt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Gt),Ot=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 s.BACKGROUND_COLOR},t}(Dt),Yt=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}(Ot);const Wt=wcardinal.ui.EShapeStrokeSide,Xt=wcardinal.ui.EShapeStrokeStyle;var Kt=function(){function n(){}return n.prototype.getFillColor=function(){return 16777215},n.prototype.getFillAlpha=function(){return.5},n.prototype.getStrokeColor=function(){return 14540253},n.prototype.getStrokeAlpha=function(){return 1},n.prototype.getStrokeWidth=function(){return 2},n.prototype.getStrokeAlign=function(){return 0},n.prototype.getStrokeSide=function(){return Wt.ALL},n.prototype.getStrokeStyle=function(){return Xt.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}(),Ut=function(){r.set("EShape",Kt)},jt=function(){r.set("DDiagram",Vt),r.set("DDiagramCanvas",Yt),Ut()},Jt=function(n,t,r){var u=Math.max(t,r);if(0<n){for(var e=u/1e3,i=0;i<10&&n<e;++i)n*=10;if(e<=n)return n}return u},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.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 Xt.DASHED|Xt.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}(Ot),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}(Gt);const Zt=wcardinal.ui.EShapeActionValueBlinkType,$t=wcardinal.ui.EShapeActionValueChangeColorTarget,nr=wcardinal.ui.EShapeActionValueChangeColorType,tr=wcardinal.ui.EShapeActionValueChangeTextType,rr=wcardinal.ui.EShapeActionValueMiscType,ur=wcardinal.ui.EShapeActionValueOnInputAction,er=wcardinal.ui.EShapeActionValueOpenType,ir=wcardinal.ui.EShapeActionValueOpetyped,or=wcardinal.ui.EShapeActionValueShowHideType,cr=wcardinal.ui.EShapeActionValueSubtyped,fr=wcardinal.ui.EShapeActionValueTransformMoveType,ar=wcardinal.ui.EShapeActionValueTransformResizeType,lr=wcardinal.ui.EShapeActionValueTransformRotateType,hr=wcardinal.ui.EShapeActionValueTransformType,sr=wcardinal.ui.EShapeActionValueType,Dr=wcardinal.ui.UtilHtmlElementWhen;var dr=function(){function n(){}return n.prototype.toLabel=function(n){var t=n.type;if(n instanceof cr){var r,u=n.subtype;if(n instanceof ir){if(null!=(r=this.toOpetypedLabel(t,u,n.opetype,n)))return r}else if(null!=(r=this.toSubtypedLabel(t,u,n)))return r}return this.toTypedLabel(t,n)},n.prototype.toTypedLabel=function(n,t){return this.toTypeLabel(n)+": "+this.toConditionLabel(t.condition)},n.prototype.toSubtypedLabel=function(n,t,r){var u=this.toTypeLabel(n);switch(n){case sr.SHOW_HIDE:return""+this.toShowHideTypeLabel(t);case sr.BLINK:return u+": "+this.toBlinkTypeLabel(t);case sr.CHANGE_COLOR:case sr.CHANGE_COLOR_LEGACY:return u+": "+this.toChangeColorTypeLabel(t);case sr.MISC:return u+": "+this.toMiscTypeLabel(t)}return null},n.prototype.toOpetypedLabel=function(n,t,r,u){switch(n){case sr.TRANSFORM:var e=this.toTransformTypeLabel(t);switch(t){case hr.ROTATE:return e+": "+this.toTransformRotateTypeLabel(r);case hr.MOVE:return e+": "+this.toTransformMoveTypeLabel(r);case hr.RESIZE:return e+": "+this.toTransformResizeTypeLabel(r)}}return null},n.prototype.toTypeLabel=function(n){switch(n){case sr.SHOW_HIDE:return"Show / hide";case sr.BLINK:return"Blink";case sr.TRANSFORM:return"Transform";case sr.OPEN:return"Open";case sr.CHANGE_COLOR:case sr.CHANGE_COLOR_LEGACY:return"Change color";case sr.CHANGE_TEXT:return"Change text";case sr.CHANGE_CURSOR:return"Change cursor";case sr.EMIT_EVENT:return"Emit an event";case sr.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 Zt.VISIBILITY:return"Visibility";case Zt.BRIGHTEN:return"Brighten";case Zt.DARKEN:return"Darken";case Zt.OPACITY:return"Opacity";case Zt.COLOR_FILL:return"Fill";case Zt.COLOR_STROKE:return"Stroke"}},n.prototype.toShowHideTypeLabel=function(n){switch(n){case or.SHOW:return"Show";case or.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 fr.RELATIVE_X:return"Relative X";case fr.RELATIVE_Y:return"Relative Y";case fr.ABSOLUTE_X:return"Absolute X";case fr.ABSOLUTE_Y:return"Absolute Y";case fr.FORWARD_OR_BACKWARD:return"Forward / backward";case fr.LEFT_OR_RIGHT:return"Left / right"}},n.prototype.toTransformResizeTypeLabel=function(n){switch(n){case ar.ABSOLUTE_SIZE:return"Height & width";case ar.RELATIVE_SIZE:return"Height & width (%)";case ar.ABSOLUTE_HEIGHT:return"Height";case ar.RELATIVE_HEIGHT:return"Height (%)";case ar.ABSOLUTE_WIDTH:return"Width";case ar.RELATIVE_WIDTH:return"Width (%)"}},n.prototype.toChangeColorTypeLabel=function(n){if(n===nr.NONE)return"None";var t="",r="";return n&nr.FILL&&(t+=r+"Fill",r=", "),n&nr.STROKE&&(t+=r+"Stroke",r=", "),n&nr.TEXT&&(t+=r+"Text",r=", "),n&nr.TEXT_OUTLINE&&(t+=r+"Text outline"),t},n.prototype.toChangeColorTargetLabel=function(n){switch(n){case $t.COLOR_AND_ALPHA:return"Color";case $t.COLOR:return"RGB";case $t.ALPHA:return"Alpha";case $t.CODE:return"Dynamic color";case $t.BRIGHTNESS:return"Brightness"}},n.prototype.toChangeTextTypeLabel=function(n){switch(n){case tr.TEXT:return"Text";case tr.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 rr.INPUT_TEXT:return"Input (Text)";case rr.INPUT_INTEGER:return"Input (Integer)";case rr.INPUT_REAL:return"Input (Real)";case rr.EMIT_EVENT:return this.toOnInputActionLabel(ur.EMIT_EVENT);case rr.WRITE_BOTH:return this.toOnInputActionLabel(ur.WRITE_BOTH);case rr.WRITE_LOCAL:return this.toOnInputActionLabel(ur.WRITE_LOCAL);case rr.WRITE_REMOTE:return this.toOnInputActionLabel(ur.WRITE_REMOTE);case rr.HTML_ELEMENT:return"HTML element";case rr.HTML_ELEMENT_WITHOUT_POINTER_EVENTS:return"HTML element (No pointer events)";case rr.LAYER_SHOW_HIDE:return"Show / hide layers";case rr.LAYER_GESTURE:return"Layer gesture";case rr.GESTURE:return"Gesture"}},n.prototype.toHtmlElementWhenLabel=function(n){switch(n){case Dr.CLICKED:return"Clicked";case Dr.DOUBLE_CLICKED:return"Double clicked";case Dr.FOCUSED:return"Focused";case Dr.ALWAYS:return"Always"}return"Unknown"},n.prototype.toOnInputActionLabel=function(n){switch(n){case ur.EMIT_EVENT:return"Emit event";case ur.WRITE_BOTH:return"Write (Both)";case ur.WRITE_LOCAL:return"Write (Local)";case ur.WRITE_REMOTE:return"Write (Remote)"}return"Unknown"},n}(),mr=function(){r.set("EShapeActionValue",dr)},kr=function(){r.set("DDiagramEditor",Qt),r.set("DDiagramCanvasEditor",qt),mr(),Ut()},Tr=function(){r.set("DDialog",V)},pr=function(){r.set("DDialogCommand",O)},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}(O),wr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(C),br=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 g.CENTER},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(wr),Ir=function(){r.set("DDialogConfirm",gr),r.set("DDialogConfirmMessage",br)},xr=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),vr=function(){r.set("DDialogConfirmDelete",xr)},yr=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",yr)},Br=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}(O),Sr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Br),Mr=function(){r.set("DDialogInputBoolean",Sr)},_r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Br),Lr=function(){r.set("DDialogInputInteger",_r)},Er=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Br),Fr=function(){r.set("DDialogInputReal",Er)},Pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Br),Ar=function(){r.set("DDialogInputText",Pr)},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}(gr),zr=function(){r.set("DDialogMessage",Rr)},Hr=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 Hr},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 Gr=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}(br),Vr=function(){r.set("DDialogProcessing",Nr),r.set("DDialogProcessingMessage",Gr)},Or=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getOk=function(){return"Save"},t}(Pr),Yr=function(){r.set("DDialogSaveAs",Or)},Wr=function(){tn(),U(),pr(),Ir(),vr(),Cr(),Sn(),Pn(),Mr(),Lr(),Fr(),Ar(),zr(),Vr(),Yr(),it(),lt(),Tr()};const Xr=wcardinal.ui.DLayoutDirection;var Kr=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 Xr.VERTICAL},t.prototype.getCornerAdjust=function(){return!1},t.prototype.getMultiplicity=function(){return 1},t.prototype.getReverse=function(){return!1},t}(m),Ur=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Xr.VERTICAL},t.prototype.getWidth=function(){return"auto"},t}(Kr),jr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?984832:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getCornerMask=function(){return f.ALL},t}(Ur);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?3026478:null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getCornerMask=function(){return f.ALL},t}(wr),qr=function(){r.set("DExpandableHeader",Jr),r.set("DExpandable",jr)};const Qr=wcardinal.ui.DHtmlElementState;var Zr=function(){return null},$r=function(n){var t=document.createElement("div");return n.appendChild(t),t},nu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return Zr},t.prototype.setElementStyle=function(n,t,r,u,e,i){var o=this.getElementStylePointerEvent(t)+this.getElementStylePosition(t,u,e,i)+this.getElementStyleMargin(t)+this.getElementStyleText(t)+this.getElementStyleBackground(t)+this.getElementStyleBorder(t)+this.getElementStylePadding(t,r)+this.getElementStyleOutline(t);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,u){return"position: absolute;"+this.getElementStylePositionPosition(t,u)+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 $r},t.prototype.setClipperStyle=function(n,t,r,u,e,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 $r},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 $r},t.prototype.setAfterStyle=function(n){this.setBeforeStyle(n)},t.prototype.getWhen=function(){return Dr.FOCUSED},t.prototype.getSelect=function(){return!1},t}(C),tu=function(){r.set("DHtmlElement",nu)},ru=function(){r.set("DImage",wr)},uu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Xr.HORIZONTAL},t.prototype.getHeight=function(){return"auto"},t}(Kr),eu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(uu),iu=function(){r.set("DInputAndLabel",eu)},ou=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}(uu),cu=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}(S),fu=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}(S),au=function(){r.set("DInputBoolean",ou),r.set("DInputBooleanButtonOn",fu),r.set("DInputBooleanButtonOff",cu)},lu=function(){return null},hu=function(n){return n},su=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=h.brighten(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:null},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 hu},t.prototype.getEditingValidator=function(){return lu},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleMargin=function(n){return"margin: 0.1em 0 0 0;"},t}(nu),Du="d-theme-dark-input-element",du=function(n){var t=n.getElementsByClassName(Du);if(0<t.length)return t[0];var r=document.createElement("input");return r.setAttribute("spellcheck","false"),r.setAttribute("class",Du),n.appendChild(r),r},mu=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var u=document.createElement("div");return u.setAttribute("class",t),n.appendChild(u),u},ku=function(n){return mu(n,"d-theme-dark-input-clipper")},Tu=function(n){return mu(n,"d-theme-dark-input-before")},pu=function(n){return mu(n,"d-theme-dark-input-after")},gu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return du},t.prototype.getClipperCreator=function(){return ku},t.prototype.getBeforeCreator=function(){return Tu},t.prototype.getAfterCreator=function(){return pu},t}(su),wu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.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}(gu),bu=function(n){var t=parseInt(n,10);return t==t?t:0},Iu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return bu},t}(wu),xu=function(){r.set("DInputInteger",Iu)},vu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.RIGHT},t.prototype.getWidth=function(){return 60},t.prototype.getHeight=function(){return this.getLineHeight()},t}(bn),yu=function(){r.set("DInputLabel",vu)},Cu=function(n){var t=parseFloat(n);return t==t?t:0},Bu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return Cu},t}(wu),Su=function(){r.set("DInputReal",Bu)},Mu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(gu);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 _u=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.getPaddingRight=function(){return 31},r.prototype.getImageTintColor=function(n){return s.WEAK_HIGHLIGHT_COLOR},r.prototype.getImageSource=function(n){return t.mappings.input_search},r.prototype.getImageAlignWith=function(){return I.BORDER},r.prototype.getImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 6},r}(Mu),Lu=function(){r.set("DInputSearch",_u)},Eu=function(){r.set("DInputText",Mu)},Fu="d-theme-dark-input-text-area-element",Pu=function(n){var t=n.getElementsByClassName(Fu);if(0<t.length)return t[0];var r=document.createElement("textarea");return r.setAttribute("spellcheck","false"),r.setAttribute("class",Fu),n.appendChild(r),r},Au=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var u=document.createElement("div");return u.setAttribute("class",t),n.appendChild(u),u},Ru=function(n){return Au(n,"d-theme-dark-input-text-area-clipper")},zu=function(n){return Au(n,"d-theme-dark-input-text-area-before")},Hu=function(n){return Au(n,"d-theme-dark-input-text-area-after")},Nu=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 x.NORMAL},t.prototype.getElementCreator=function(){return Pu},t.prototype.getClipperCreator=function(){return Ru},t.prototype.getBeforeCreator=function(){return zu},t.prototype.getAfterCreator=function(){return Hu},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 x.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(su),Gu=function(){r.set("DInputTextArea",Nu)},Vu=function(){iu(),au(),xu(),yu(),Su(),Lu(),Gu(),Eu()},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.getWidth=function(){return 0},t.prototype.getHeight=function(){return 0},t.prototype.getClearType=function(){return a.BOTH},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(m),Yu=function(){r.set("DLayout",Kr),r.set("DLayoutHorizontal",uu),r.set("DLayoutSpace",Ou),r.set("DLayoutVertical",Ur)},Wu=function(){r.set("DListItem",ut),r.set("DList",nt)},Xu=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.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}(Ur),Ku=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(t){return t.inDisabled?n.prototype.getColor.call(this,t):t.isActive?this.getColorActive(t):n.prototype.getColor.call(this,t)},t.prototype.getColorActive=function(n){return s.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getTextAlignHorizontal=function(){return g.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),Uu=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}(Ku),ju=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}(Uu);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 Ju=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 I.BORDER},r.prototype.getImageMarginHorizontal=function(){return 7},r}(ju),qu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?984832:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return f.ALL},t}(Ur),Qu=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}(Ur),Zu=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}();Zu.init();var $u=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?Zu.getImageOpened():Zu.getImageClosed()},t.prototype.getImageAlignWith=function(){return I.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(Ku),ne=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}(Ju);const te=wcardinal.ui.DBaseState;Nn.init();var re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageSource=function(n){return n.is(te.NEW_WINDOW)?Nn.getImageSource(n):null},t.prototype.getImageTintAlpha=function(t){return t.isHovered?n.prototype.getImageTintAlpha.call(this,t):0},t.prototype.getImageAlignWith=function(){return I.BORDER},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getLinkMenuOptions=function(){return Nn.getLinkMenuOptions()},t}(ju),ue=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}(re);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 ee=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 I.BORDER},r.prototype.getImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 12},r}(Uu),ie=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}(ee),oe=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}(Ku),ce=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}(oe),fe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ou),ae=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}(fe),le=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}(ju),he=function(){r.set("DMenu",Xu),r.set("DMenuItem",Uu),r.set("DMenuItemCheck",Ju),r.set("DMenuItemLink",re),r.set("DMenuItemMenu",ee),r.set("DMenuItemSeparator",oe),r.set("DMenuItemSpace",fe),r.set("DMenuItemText",ju),r.set("DMenuItemExpandableBody",Qu),r.set("DMenuItemExpandableHeader",$u),r.set("DMenuItemExpandableItemCheck",ne),r.set("DMenuItemExpandableItemLink",ue),r.set("DMenuItemExpandableItemMenu",ie),r.set("DMenuItemExpandableItemSeparator",ce),r.set("DMenuItemExpandableItemSpace",ae),r.set("DMenuItemExpandableItemText",le),r.set("DMenuItemExpandable",qu)},se=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getMargin=function(){return 0},t.prototype.getPaddingLeft=function(){return 5},t.prototype.getPaddingRight=function(){return 5},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(uu),De=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 g.LEFT},t.prototype.getTextStyleClipping=function(){return!1},t}(S),de=function(){r.set("DMenuBarItem",De),r.set("DMenuBar",se),he()},me=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}($n),ke=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}(Ur),Te=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ju),pe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(qu),ge=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ne),we=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ue),be=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ie),Ie=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ce),xe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ae),ve=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(le),ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(re),Ce=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ee),Be=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(oe),Se=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(fe),Me=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ju),_e=function(){r.set("DMenuSided",me),r.set("DMenuSidedContent",ke),r.set("DMenuSidedItemCheck",Te),r.set("DMenuSidedItemLink",ye),r.set("DMenuSidedItemMenu",Ce),r.set("DMenuSidedItemSeparator",Be),r.set("DMenuSidedItemSpace",Se),r.set("DMenuSidedItemText",Me),r.set("DMenuSidedItemExpandable",pe),r.set("DMenuSidedItemExpandableItemCheck",ge),r.set("DMenuSidedItemExpandableItemLink",we),r.set("DMenuSidedItemExpandableItemMenu",be),r.set("DMenuSidedItemExpandableItemSeparator",Ie),r.set("DMenuSidedItemExpandableItemSpace",xe),r.set("DMenuSidedItemExpandableItemText",ve)},Le=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 g.CENTER},t.prototype.getInteractive=function(){return o.NONE},t}(bn),Ee=function(){r.set("DNote",Le)},Fe=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}(uu),Pe=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}(_),Ae=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t}(uu);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 Re=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(_),ze=function(){r.set("DPagination",Fe),r.set("DPaginationNavigationButton",Re),r.set("DPaginationDynamicButtons",Ae),r.set("DPaginationDotsButton",Pe)},He=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}(m),Ne=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}(m),Ge=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=h.brighten(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}(m),Ve=function(){r.set("DScrollBar",Ne),r.set("DScrollBarThumb",Ge)},Oe=function(){r.set("DPane",$n),r.set("DContent",He),Ve()};const Ye=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 We=function(n){function r(){return n.call(this,s.BACKGROUND_COLOR_ON_BOARD)||this}return i(r,n),r.prototype.getSecondaryImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getSecondaryImageAlignWith=function(){return I.PADDING},r.prototype.getSecondaryImageMarginHorizontal=function(){return-20},r.prototype.getPaddingLeft=function(){return 25},r.prototype.getPaddingRight=function(){return 25},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dropdown_mark},r}(B),Xe=function(n){if(n){var t=n.text;if(Ye(t))return t;if(null!=t){var r=t(n.state);if(null!=r)return r}}return""},Ke=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Xe},t.prototype.newTextValue=function(){return null},t}(We),Ue=function(n){if(n){for(var t="",r="",u=0,e=n.length;u<e;++u){var i=n[u],o=i.text;if(Ye(o))t+=r+o,r=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=r+c,r=", ")}}return t}return""},je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Ue},t.prototype.newTextValue=function(){return[]},t}(We),Je=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(We),qe=function(){r.set("DDropdown",Je)},Qe=function(){r.set("DSelectMultiple",je),r.set("DSelect",Ke),qe()},Ze=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getInteractive=function(){return o.CHILDREN},t}(m),$e=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}(Ze),ni=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 g.CENTER},t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(y),ti=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=h.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=h.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=s.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=h.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=h.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=h.blend(n.BACKGROUND_COLOR,s.BACKGROUND_COLOR,.5),n}();t.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var ri=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 ti.getBackgroundColor(n,!0)},r.prototype.getImageTintAlpha=function(n){return 1},r.prototype.getImageAlignHorizontal=function(){return g.CENTER},r}(S),ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return ti.getBackgroundColor(n)},t.prototype.getBorderColor=function(n){return null},t}(S),ei=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}(ui),ii=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}(ui),oi=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 20},t.prototype.getBackgroundColor=function(n){return n.inDisabled?6579300:s.HIGHLIGHT_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getAlpha=function(n){return n.inDisabled?.38:1},t.prototype.getTextAlignHorizontal=function(){return g.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}(y),ci=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}(Ze),fi=function(){r.set("DSlider",Ze),r.set("DSliderValue",oi),r.set("DSliderLabel",ni),r.set("DSliderThumb",ri),r.set("DSliderVertical",ci),r.set("DSliderHorizontal",$e),r.set("DSliderTrack",ui),r.set("DSliderTrackVertical",ii),r.set("DSliderTrackHorizontal",ei)},ai=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}($n),li=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}(m);const hi=wcardinal.ui.DTableState;var si=function(){function n(){}return n.getBackgroundColor=function(n){return n.inDisabled?n.is(hi.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_EVEN:this.BACKGROUND_COLOR_ODD: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(hi.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_EVEN:this.BACKGROUND_COLOR_ODD:null},n.getBackgroundAlpha=function(n){return 1},n.getBorderColor=function(n){return this.BORDER_COLOR},n.getBorderMask=function(n){return n.is(hi.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?6579300:s.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return f.ALL},n.BACKGROUND_COLOR_EVEN=s.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_ODD=h.brighten(s.BACKGROUND_COLOR_ON_BOARD,.02),n.BORDER_COLOR=s.BACKGROUND_COLOR_ON_BOARD,n}(),Di=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 si.getImageTintColor(n,!0)},n}(),di=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return si.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return si.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return si.getBorderColor(n)},t.prototype.getBorderMask=function(n){return si.getBorderMask(n)},t.prototype.getColor=function(n){return si.getColor(n)},t.prototype.getAlpha=function(n){return si.getAlpha(n)},t.prototype.getHeight=function(){return si.getHeight()},t.prototype.getCornerMask=function(){return si.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(S);Di.init();var mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return Di.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Di.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(di);Di.init();var ki=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return si.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return si.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return si.getBorderColor(n)},t.prototype.getBorderMask=function(n){return si.getBorderMask(n)},t.prototype.getColor=function(n){return si.getColor(n)},t.prototype.getAlpha=function(n){return si.getAlpha(n)},t.prototype.getHeight=function(){return si.getHeight()},t.prototype.getCornerMask=function(){return si.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 Di.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Di.getImageSource(n)},t}(Je),Ti=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return si.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return si.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return si.getBorderColor(n)},t.prototype.getBorderMask=function(n){return si.getBorderMask(n)},t.prototype.getColor=function(n){return si.getColor(n)},t.prototype.getAlpha=function(n){return si.getAlpha(n)},t.prototype.getHeight=function(){return si.getHeight()},t.prototype.getCornerMask=function(){return si.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(S);Di.init();var pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return Di.getImageTintColor(n)},t.prototype.getImageSource=function(n){return Di.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Ti),gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return si.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return si.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return si.getBorderColor(n)},t.prototype.getBorderMask=function(n){return si.getBorderMask(n)},t.prototype.getColor=function(n){return si.getColor(n)},t.prototype.getAlpha=function(n){return si.getAlpha(n)},t.prototype.getHeight=function(){return si.getHeight()},t.prototype.getCornerMask=function(){return si.getCornerMask()},t.prototype.getImageTintColor=function(n){return si.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(C),wi=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}(gi),bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return si.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return si.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return si.getBorderColor(n)},t.prototype.getBorderMask=function(n){return si.getBorderMask(n)},t.prototype.getColor=function(n){return si.getColor(n)},t.prototype.getAlpha=function(n){return si.getAlpha(n)},t.prototype.getImageTintColor=function(n){return si.getImageTintColor(n)},t.prototype.getHeight=function(){return si.getHeight()},t.prototype.getCornerMask=function(){return si.getCornerMask()},t}(F),Ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return si.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return si.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return si.getBorderColor(n)},t.prototype.getBorderMask=function(n){return si.getBorderMask(n)},t.prototype.getColor=function(n){return si.getColor(n)},t.prototype.getAlpha=function(n){return si.getAlpha(n)},t.prototype.getHeight=function(){return si.getHeight()},t.prototype.getCornerMask=function(){return si.getCornerMask()},t}(H),xi=function(n){return on.format(n)},vi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return si.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return si.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return si.getBorderColor(n)},t.prototype.getBorderMask=function(n){return si.getBorderMask(n)},t.prototype.getColor=function(n){return si.getColor(n)},t.prototype.getAlpha=function(n){return si.getAlpha(n)},t.prototype.getHeight=function(){return si.getHeight()},t.prototype.getCornerMask=function(){return si.getCornerMask()},t.prototype.getTextFormatter=function(){return xi},t.prototype.newTextValue=function(){return new Date},t}(S),yi=function(n,t){return _n.format(n,t.getDatetimeMask())},Ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return si.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return si.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return si.getBorderColor(n)},t.prototype.getBorderMask=function(n){return si.getBorderMask(n)},t.prototype.getColor=function(n){return si.getColor(n)},t.prototype.getAlpha=function(n){return si.getAlpha(n)},t.prototype.getHeight=function(){return si.getHeight()},t.prototype.getCornerMask=function(){return si.getCornerMask()},t.prototype.getTextFormatter=function(){return yi},t.prototype.newTextValue=function(){return new Date},t}(S),Bi=function(n){return String(Number(n)+1)},Si=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return si.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return si.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return si.getBorderColor(n)},t.prototype.getBorderMask=function(n){return si.getBorderMask(n)},t.prototype.getColor=function(n){return si.getColor(n)},t.prototype.getAlpha=function(n){return si.getAlpha(n)},t.prototype.getHeight=function(){return si.getHeight()},t.prototype.getCornerMask=function(){return si.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return Bi},t.prototype.newTextValue=function(){return 0},t}(C),Mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.RIGHT},t.prototype.getBackgroundColor=function(n){return si.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return si.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return si.getBorderColor(n)},t.prototype.getBorderMask=function(n){return si.getBorderMask(n)},t.prototype.getColor=function(n){return si.getColor(n)},t.prototype.getAlpha=function(n){return si.getAlpha(n)},t.prototype.getHeight=function(){return si.getHeight()},t.prototype.getCornerMask=function(){return si.getCornerMask()},t}(Iu),_i=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.RIGHT},t.prototype.getBackgroundColor=function(n){return si.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return si.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return si.getBorderColor(n)},t.prototype.getBorderMask=function(n){return si.getBorderMask(n)},t.prototype.getColor=function(n){return si.getColor(n)},t.prototype.getAlpha=function(n){return si.getAlpha(n)},t.prototype.getHeight=function(){return si.getHeight()},t.prototype.getCornerMask=function(){return si.getCornerMask()},t}(Bu),Li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return si.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return si.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return si.getBorderColor(n)},t.prototype.getBorderMask=function(n){return si.getBorderMask(n)},t.prototype.getColor=function(n){return si.getColor(n)},t.prototype.getAlpha=function(n){return si.getAlpha(n)},t.prototype.getHeight=function(){return si.getHeight()},t.prototype.getCornerMask=function(){return si.getCornerMask()},t}(Mu),Ei=function(){function n(){}return n.init=function(){Zu.init()},n.getImageSource=function(n){return n.is(hi.HAS_CHILDREN)?n.is(hi.OPENED)?Zu.getImageOpened():Zu.getImageClosed():null},n}();Ei.init();var Fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return si.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}(m),Pi=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 si.getHeight()},t.prototype.getBackgroundColor=function(n){return si.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return si.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return si.getBorderColor(n)},t.prototype.getBorderMask=function(n){return si.getBorderMask(n)},t.prototype.getColor=function(n){return si.getColor(n)},t.prototype.getAlpha=function(n){return si.getAlpha(n)},t.prototype.getCornerMask=function(){return si.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(Mu),Ai=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 si.getHeight()},t.prototype.getBackgroundColor=function(n){return si.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return si.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getBorderMask=function(n){return si.getBorderMask(n)},t.prototype.getColor=function(n){return si.getColor(n)},t.prototype.getAlpha=function(n){return si.getAlpha(n)},t.prototype.getCornerMask=function(){return si.getCornerMask()},t.prototype.getImageAlignWith=function(){return I.BORDER},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageSource=function(n){return Ei.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(B);Nn.init();var Ri=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return si.getImageTintColor(n,!0)},t.prototype.getImageSource=function(n){return Nn.getImageSource(n)},t.prototype.getLinkMenuOptions=function(){return Nn.getLinkMenuOptions()},t}(wi),zi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return si.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return si.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return si.getBorderColor(n)},t.prototype.getBorderMask=function(n){return si.getBorderMask(n)},t.prototype.getColor=function(n){return si.getColor(n)},t.prototype.getAlpha=function(n){return si.getAlpha(n)},t.prototype.getHeight=function(){return si.getHeight()},t.prototype.getCornerMask=function(){return si.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(Ke),Hi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return si.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return si.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return si.getBorderColor(n)},t.prototype.getBorderMask=function(n){return si.getBorderMask(n)},t.prototype.getColor=function(n){return si.getColor(n)},t.prototype.getAlpha=function(n){return si.getAlpha(n)},t.prototype.getHeight=function(){return si.getHeight()},t.prototype.getCornerMask=function(){return si.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(je),Ni=function(n,t){return ot.format(n,t.getDatetimeMask())},Gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return si.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return si.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return si.getBorderColor(n)},t.prototype.getBorderMask=function(n){return si.getBorderMask(n)},t.prototype.getColor=function(n){return si.getColor(n)},t.prototype.getAlpha=function(n){return si.getAlpha(n)},t.prototype.getHeight=function(){return si.getHeight()},t.prototype.getCornerMask=function(){return si.getCornerMask()},t.prototype.getTextFormatter=function(){return Ni},t.prototype.newTextValue=function(){return new Date},t}(S);Nn.init(),Ei.init();var Vi=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 I.PADDING},t.prototype.getImageMarginHorizontal=function(){return-19},t.prototype.getImageSource=function(n){return Ei.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t.prototype.getLinkMenuOptions=function(){return Nn.getLinkMenuOptions()},t}(wi),Oi=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}(uu),Yi=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=h.brighten(s.BACKGROUND_COLOR_ON_BOARD,.02),t}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.inDisabled?n.isAlternated?this.BACKGROUND_COLOR_EVEN:this.BACKGROUND_COLOR_ODD:n.isActive?s.HIGHLIGHT_BLENDED_ON_BOARD:n.isHovered?s.WEAK_HIGHLIGHT_BLENDED_ON_BOARD:n.isAlternated?this.BACKGROUND_COLOR_EVEN:this.BACKGROUND_COLOR_ODD},t.prototype.getWidth=function(){return"100%"},t}(Oi),Wi=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=h.brighten(s.BACKGROUND_COLOR_ON_BOARD,.02),t.BORDER_COLOR=h.darken(s.BACKGROUND_COLOR_ON_BOARD,.05),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}(Oi),Xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Wi);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 Ki=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=h.brighten(s.BACKGROUND_COLOR_ON_BOARD,.02),t.BACKGROUND_COLOR_HOVERED=h.brighten(t.BACKGROUND_COLOR,.08),t.BACKGROUND_COLOR_PRESSED=h.brighten(t.BACKGROUND_COLOR,.32),t.BORDER_COLOR=h.darken(s.BACKGROUND_COLOR_ON_BOARD,.05),t}return i(r,n),r.prototype.getBackgroundColor=function(n){return n.inDisabled?n.is(hi.FROZEN)?this.BACKGROUND_COLOR:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(hi.FROZEN)?this.BACKGROUND_COLOR:null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBorderColor=function(n){return this.BORDER_COLOR},r.prototype.getBorderMask=function(n){return n.is(hi.END)?c.ALL:c.NOT_RIGHT},r.prototype.getTextAlignHorizontal=function(){return g.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(hi.CHECKABLE)?E.getImageTintColor(t):n.prototype.getSecondaryImageTintColor.call(this,t)},r.prototype.getSecondaryImageSource=function(n){return n.is(hi.CHECKABLE)?E.getImageSource(n):null},r.prototype.getSecondaryImageAlignHorizontal=function(){return g.LEFT},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return I.TEXT},r.prototype.getTertiaryImageSource=function(n){return n.is(hi.SORTED_ASCENDING)?t.mappings.sorted_ascending:n.is(hi.SORTED_DESCENDING)?t.mappings.sorted_descending:null},r.prototype.getTertiaryImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getTertiaryImageAlignWith=function(){return I.BORDER},r.prototype.getCursor=function(n){return n.isActionable&&(n.is(hi.CHECKABLE)||n.is(hi.SORTABLE))?"pointer":""},r}(wr),Ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ki),ji=function(){r.set("DTableBodyCellActionDialog",mi),r.set("DTableBodyCellActionMenu",ki),r.set("DTableBodyCellActionPromise",pi),r.set("DTableBodyCellButton",wi),r.set("DTableBodyCellCheck",bi),r.set("DTableBodyCellColor",Ii),r.set("DTableBodyCellDate",vi),r.set("DTableBodyCellDatetime",Ci),r.set("DTableBodyCellIndex",Si),r.set("DTableBodyCellInputInteger",Mi),r.set("DTableBodyCellInputReal",_i),r.set("DTableBodyCellInputText",Li),r.set("DTableBodyCellInputTreeMarker",Ai),r.set("DTableBodyCellInputTreeInput",Pi),r.set("DTableBodyCellInputTree",Fi),r.set("DTableBodyCellLink",Ri),r.set("DTableBodyCellSelectDialog",di),r.set("DTableBodyCellSelectMenu",zi),r.set("DTableBodyCellSelectMultiple",Hi),r.set("DTableBodyCellSelectPromise",Ti),r.set("DTableBodyCellText",gi),r.set("DTableBodyCellTree",Vi),r.set("DTableBodyCellTime",Gi),r.set("DTableBodyRow",Yi),r.set("DTableBody",li),r.set("DTableCategoryCell",Ui),r.set("DTableCategory",Xi),r.set("DTableHeaderCell",Ki),r.set("DTableHeader",Wi),r.set("DTableRow",Oi),r.set("DTable",ai),P(),j(),Mn(),An(),xu(),Su(),Eu(),it(),he()},Ji=function(){r.set("DText",bn)},qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return Ei.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 I.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(rt),Qi=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new qi(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}($n),Zi=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new qi(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.M.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.M.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.M.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.M.getBorderMask(n)},t.prototype.getColor=function(n){return this.M.getColor(n)},t.prototype.getAlpha=function(n){return this.M.getAlpha(n)},t.prototype.getHeight=function(){return this.M.getHeight()},t.prototype.getCornerMask=function(){return this.M.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.M.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.M.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(C),$i=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}(Zi);Ei.init();var no=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return this.M.getSecondaryImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.M.getSecondaryImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.M.getSecondaryImageTintAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return this.M.getSecondaryImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.M.getSecondaryImageMarginHorizontal()},t}($i),to=function(){r.set("DTree",Qi),r.set("DTreeItemText",Zi),r.set("DTreeItemButton",$i),r.set("DTreeItemNonEditable",no)};const ro=wcardinal.ui.UtilGestureModifier;var uo=function(){function n(){}return n.prototype.isWheelZoomEnabled=function(){return!0},n.prototype.getWheelZoomSpeed=function(){return.004},n.prototype.getWheelZoomModifier=function(){return ro.NOT_NONE},n.prototype.isWheelTranslationEnabled=function(){return!0},n.prototype.getWheelTranslationSpeed=function(){return 2.24},n.prototype.getWheelTranslationModifier=function(){return ro.NONE},n.prototype.isDblClickZoomEnabled=function(){return!0},n.prototype.getDblClickZoomSpeed=function(){return 2},n.prototype.getDblClickZoomModifier=function(){return ro.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 Zn.ON},n.prototype.getGestureModifier=function(){return ro.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),eo=function(){r.set("DView",uo)},io=function(){u(),k(),p(),st(),mt(),Nt(),jt(),kr(),Wr(),qr(),tu(),ru(),Vu(),Yu(),Wu(),to(),he(),de(),_e(),Ee(),ze(),Oe(),K(),nn(),Bn(),Cn(),yn(),Ve(),Qe(),fi(),ji(),Ji(),eo()},oo={__proto__:null,loadThemeDarkAll:io,loadThemeDarkBase:k,loadThemeDark:u,loadThemeDarkBoard:p,loadThemeDarkButtonAll:st,loadThemeDarkButtonAmbient:L,loadThemeDarkButtonCheck:P,loadThemeDarkButtonCheckRight:R,loadThemeDarkButtonColor:j,loadThemeDarkButtonColorGradient:rn,loadThemeDarkButtonDanger:en,loadThemeDarkButtonDate:Mn,loadThemeDarkButtonDatetime:An,loadThemeDarkButtonFile:zn,loadThemeDarkButtonLink:Vn,loadThemeDarkButtonPrimary:Yn,loadThemeDarkButtonRadio:Xn,loadThemeDarkButtonRadioRight:Un,loadThemeDarkButtonTime:ht,loadThemeDarkButton:M,loadThemeDarkCanvasContainer:mt,loadThemeDarkChart:Nt,loadThemeDarkDiagram:jt,loadThemeDarkDiagramEditor:kr,loadThemeDarkDialogAll:Wr,loadThemeDarkDialogColorGradient:tn,loadThemeDarkDialogColor:U,loadThemeDarkDialogCommand:pr,loadThemeDarkDialogConfirm:Ir,loadThemeDarkDialogConfirmDelete:vr,loadThemeDarkDialogConfirmDiscard:Cr,loadThemeDarkDialogDate:Sn,loadThemeDarkDialogDatetime:Pn,loadThemeDarkDialogInputBoolean:Mr,loadThemeDarkDialogInputInteger:Lr,loadThemeDarkDialogInputReal:Fr,loadThemeDarkDialogInputText:Ar,loadThemeDarkDialogMessage:zr,loadThemeDarkDialogProcessing:Vr,loadThemeDarkDialogSaveAs:Yr,loadThemeDarkDialogSelect:it,loadThemeDarkDialogTime:lt,loadThemeDarkDialog:Tr,loadThemeDarkDropdown:qe,loadThemeDarkExpandable:qr,loadThemeDarkHtmlElement:tu,loadThemeDarkImage:ru,loadThemeDarkInputAll:Vu,loadThemeDarkInputAndLabel:iu,loadThemeDarkInputBoolean:au,loadThemeDarkInputInteger:xu,loadThemeDarkInputLabel:yu,loadThemeDarkInputReal:Su,loadThemeDarkInputSearch:Lu,loadThemeDarkInputTextArea:Gu,loadThemeDarkInputText:Eu,loadThemeDarkLayout:Yu,loadThemeDarkList:Wu,loadThemeDarkTree:to,loadThemeDarkMenu:he,loadThemeDarkMenuBar:de,loadThemeDarkMenuSided:_e,loadThemeDarkNote:Ee,loadThemeDarkPagination:ze,loadThemeDarkPane:Oe,loadThemeDarkPickerColorGradient:nn,loadThemeDarkPickerColor:K,loadThemeDarkPickerDate:Bn,loadThemeDarkPickerDatetime:Cn,loadThemeDarkPickerTime:yn,loadThemeDarkScrollBar:Ve,loadThemeDarkSelect:Qe,loadThemeDarkShapeActionValue:mr,loadThemeDarkShape:Ut,loadThemeDarkTable:ji,loadThemeDarkText:Ji,loadThemeDarkView:eo,loadThemeDarkSlider:fi,DThemeDarkAtlas:t,DThemeDarkBase:m,DThemeDarkBoard:T,DThemeDarkButton:S,DThemeDarkButtonAmbient:_,DThemeDarkButtonBase:B,DThemeDarkButtonCheck:F,DThemeDarkButtonCheckRight:A,DThemeDarkButtonChecks:E,DThemeDarkButtonColor:H,DThemeDarkButtonColorGradient:Q,DThemeDarkButtonDanger:un,DThemeDarkButtonDate:fn,DThemeDarkButtonDatetime:En,DThemeDarkButtonFile:Rn,DThemeDarkButtonLink:Gn,DThemeDarkButtonPrimary:On,DThemeDarkButtonRadio:Wn,DThemeDarkButtonRadioRight:Kn,DThemeDarkButtonSecondary:jn,DThemeDarkButtonTime:ft,DThemeDarkCanvas:Dt,DThemeDarkCanvasContainer:dt,DThemeDarkChart:kt,DThemeDarkChartAxisBase:It,DThemeDarkChartAxisX:xt,DThemeDarkChartAxisXDatetime:vt,DThemeDarkChartAxisY:yt,DThemeDarkChartCoordinateLinear:Ct,DThemeDarkChartCoordinateLog:Bt,DThemeDarkChartLegend:St,DThemeDarkChartLegendItem:Mt,DThemeDarkChartOverview:_t,DThemeDarkChartPlotArea:Lt,DThemeDarkContent:He,DThemeDarkDiagram:Vt,DThemeDarkDiagramBase:Gt,DThemeDarkDiagramCanvas:Yt,DThemeDarkDiagramCanvasBase:Ot,DThemeDarkDiagramCanvasEditor:qt,DThemeDarkDiagramEditor:Qt,DThemeDarkDialog:V,DThemeDarkDialogColor:Y,DThemeDarkDialogColorGradient:Z,DThemeDarkDialogCommand:O,DThemeDarkDialogConfirm:gr,DThemeDarkDialogConfirmDelete:xr,DThemeDarkDialogConfirmDiscard:yr,DThemeDarkDialogConfirmMessage:br,DThemeDarkDialogDate:an,DThemeDarkDialogDatetime:Fn,DThemeDarkDialogInputBoolean:Sr,DThemeDarkDialogInputInteger:_r,DThemeDarkDialogInputReal:Er,DThemeDarkDialogInputText:Pr,DThemeDarkDialogInput:Br,DThemeDarkDialogMessage:Rr,DThemeDarkDialogProcessing:Nr,DThemeDarkDialogProcessingMessage:Gr,DThemeDarkDialogSaveAs:Or,DThemeDarkDialogSelect:Qn,DThemeDarkDialogSelectList:tt,DThemeDarkDialogSelectListItem:et,DThemeDarkDialogTime:at,DThemeDarkDropdown:Je,DThemeDarkFont:D,DThemeDarkHtmlElement:nu,DThemeDarkImage:wr,DThemeDarkImageBase:C,DThemeDarkInputAndLabel:eu,DThemeDarkInputBooleanButtonOff:cu,DThemeDarkInputBooleanButtonOn:fu,DThemeDarkInputBoolean:ou,DThemeDarkInputInput:gu,DThemeDarkInputInteger:Iu,DThemeDarkInputLabel:vu,DThemeDarkInputNumber:wu,DThemeDarkInputReal:Bu,DThemeDarkInputSearch:_u,DThemeDarkInputTextArea:Nu,DThemeDarkInputText:Mu,DThemeDarkInput:su,DThemeDarkLayoutHorizontal:uu,DThemeDarkLayoutSpace:Ou,DThemeDarkLayoutVertical:Ur,DThemeDarkLayout:Kr,DThemeDarkExpandable:jr,DThemeDarkExpandableHeader:Jr,DThemeDarkListItem:ut,DThemeDarkListItems:rt,DThemeDarkList:nt,DThemeDarkMenu:Xu,DThemeDarkMenuBar:se,DThemeDarkMenuBarItem:De,DThemeDarkMenuItemBase:Ku,DThemeDarkMenuItemCheck:Ju,DThemeDarkMenuItemExpandableBody:Qu,DThemeDarkMenuItemExpandableHeader:$u,DThemeDarkMenuItemExpandableItemCheck:ne,DThemeDarkMenuItemExpandableItemLink:ue,DThemeDarkMenuItemExpandableItemMenu:ie,DThemeDarkMenuItemExpandableItemSeparator:ce,DThemeDarkMenuItemExpandableItemSpace:ae,DThemeDarkMenuItemExpandableItemText:le,DThemeDarkMenuItemExpandable:qu,DThemeDarkMenuItemLink:re,DThemeDarkMenuItemMenu:ee,DThemeDarkMenuItemSeparator:oe,DThemeDarkMenuItemSpace:fe,DThemeDarkMenuItemText:ju,DThemeDarkMenuItem:Uu,DThemeDarkMenuSided:me,DThemeDarkMenuSidedContent:ke,DThemeDarkMenuSidedItemCheck:Te,DThemeDarkMenuSidedItemExpandable:pe,DThemeDarkMenuSidedItemExpandableItemCheck:ge,DThemeDarkMenuSidedItemExpandableItemLink:we,DThemeDarkMenuSidedItemExpandableItemMenu:be,DThemeDarkMenuSidedItemExpandableItemSeparator:Ie,DThemeDarkMenuSidedItemExpandableItemSpace:xe,DThemeDarkMenuSidedItemExpandableItemText:ve,DThemeDarkMenuSidedItemLink:ye,DThemeDarkMenuSidedItemMenu:Ce,DThemeDarkMenuSidedItemSeparator:Be,DThemeDarkMenuSidedItemSpace:Se,DThemeDarkMenuSidedItemText:Me,DThemeDarkNote:Le,DThemeDarkPagination:Fe,DThemeDarkPaginationNavigationButton:Re,DThemeDarkPaginationDynamicButtons:Ae,DThemeDarkPaginationDotsButton:Pe,DThemeDarkPane:$n,DThemeDarkPickerColor:X,DThemeDarkPickerColorGradient:$,DThemeDarkPickerDate:Tn,DThemeDarkPickerDatetimeButtonBack:pn,DThemeDarkPickerDatetimeButtonDate:gn,DThemeDarkPickerDatetimeButtonNext:wn,DThemeDarkPickerDatetimeLabel:In,DThemeDarkPickerDatetimeLabelDate:xn,DThemeDarkPickerDatetimeSpace:vn,DThemeDarkPickerDatetime:kn,DThemeDarkPickerTime:hn,DThemeDarkScrollBar:Ne,DThemeDarkScrollBarThumb:Ge,DThemeDarkSelectMultiple:je,DThemeDarkSelect:Ke,DThemeDarkSlider:Ze,DThemeDarkSliderHorizontal:$e,DThemeDarkSliderLabel:ni,DThemeDarkSliderThumb:ri,DThemeDarkSliderTrack:ui,DThemeDarkSliderTrackHorizontal:ei,DThemeDarkSliderTrackVertical:ii,DThemeDarkSliderValue:oi,DThemeDarkSliderVertical:ci,DThemeDarkTable:ai,DThemeDarkTableBodyCellButton:wi,DThemeDarkTableBodyCellCheck:bi,DThemeDarkTableBodyCellColor:Ii,DThemeDarkTableBodyCellDate:vi,DThemeDarkTableBodyCellDatetime:Ci,DThemeDarkTableBodyCellIndex:Si,DThemeDarkTableBodyCellInputInteger:Mi,DThemeDarkTableBodyCellInputReal:_i,DThemeDarkTableBodyCellInputText:Li,DThemeDarkTableBodyCellLink:Ri,DThemeDarkTableBodyCellSelectDialog:di,DThemeDarkTableBodyCellSelectMenu:zi,DThemeDarkTableBodyCellSelectPromise:Ti,DThemeDarkTableBodyCellText:gi,DThemeDarkTableBodyCellTime:Gi,DThemeDarkTableBodyCells:si,DThemeDarkTableBodyRow:Yi,DThemeDarkTableBody:li,DThemeDarkTableCategory:Xi,DThemeDarkTableCategoryCell:Ui,DThemeDarkTableHeader:Wi,DThemeDarkTableHeaderCell:Ki,DThemeDarkTableRow:Oi,DThemeDarkText:bn,DThemeDarkTextBase:y,DThemeDarkTreeItemButton:$i,DThemeDarkTreeItemNonEditable:no,DThemeDarkTreeItemText:Zi,DThemeDarkTreeItems:qi,DThemeDarkTree:Qi,DThemeDarkView:uo,DThemeDark:r,EThemeDarkShapeActionValue:dr,EThemeDarkShape:Kt};io();var co=window;co.wcardinal=co.wcardinal||{};var fo=co.wcardinal.ui=co.wcardinal.ui||{},ao=oo;for(var lo in ao)fo[lo]=ao[lo]}();
|
|
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 u=n.u[t];if(null!=u)return this.t[t]=new u;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}(),u=function(){n.setDefaultThemeClass(r)},e=function(n,t){return(e=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}e(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,a=wcardinal.ui.DLayoutClearType,l=wcardinal.ui.DShadowImpl,h=wcardinal.ui.UtilRgb;var s=function(){function n(){}return n.COLOR=13421772,n.ACTIVE_COLOR=0,n.BORDER_COLOR=4868682,n.BACKGROUND_COLOR=3026478,n.BACKGROUND_COLOR_ON_BOARD=2039583,n.HIGHLIGHT_COLOR=2267123,n.HIGHLIGHT_ALPHA=.2,n.HIGHLIGHT_BLENDED=h.blend(n.BACKGROUND_COLOR,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.HIGHLIGHT_BLENDED_ON_BOARD=h.blend(n.BACKGROUND_COLOR_ON_BOARD,n.HIGHLIGHT_COLOR,n.HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_COLOR=5592405,n.WEAK_HIGHLIGHT_ALPHA=.2,n.WEAK_HIGHLIGHT_BLENDED=h.blend(n.BACKGROUND_COLOR,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.WEAK_HIGHLIGHT_BLENDED_ON_BOARD=h.blend(n.BACKGROUND_COLOR_ON_BOARD,n.WEAK_HIGHLIGHT_COLOR,n.WEAK_HIGHLIGHT_ALPHA),n.INVALID_COLOR=14290446,n.INVALID_ALPHA=.2,n.INVALID_BLENDED=h.blend(n.BACKGROUND_COLOR,n.INVALID_COLOR,n.INVALID_ALPHA),n.INVALID_BLENDED_ON_BOARD=h.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}(),d=function(n,r,u){var e=2*r;t.add(n,e,e,'<g><defs><radialGradient id="'+n+'_filter"><stop offset="0%" stop-color="black" stop-opacity="'+u+'" /><stop offset="100%" stop-color="black" stop-opacity="0" /></radialGradient></defs><rect x="0" y="0" width="'+e+'" height="'+e+'" fill="url(#'+n+'_filter)"/></g>')};d("shadow_weak",8,.5),d("shadow",12,.5),t.add("background",16,16,'<g><defs><radialGradient id="background_filter"><stop offset="25%" stop-color="white" stop-opacity="1" /><stop offset="75%" stop-color="white" stop-opacity="0.25" /></radialGradient></defs><rect x="0" y="0" width="16" height="16" fill="url(#background_filter)"/></g>');var m=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 a.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 l(t.mappings.shadow,12,12,0,3)},r.prototype.newShadowWeak=function(){return new l(t.mappings.shadow_weak,8,8,0,2)},r.prototype.getCursor=function(n){return""},r}(D),k=function(){r.set("DBase",m)},T=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.COLOR=2894892,t}return i(t,n),t.prototype.getBackgroundColor=function(){return this.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}(m),p=function(){r.set("DBoard",T)};const g=wcardinal.ui.DAlignHorizontal,w=wcardinal.ui.DButtonBaseWhen,b=wcardinal.ui.DAlignVertical,I=wcardinal.ui.DAlignWith,v=wcardinal.ui.DDynamicTextStyleWordWrap,C=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 g.LEFT},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getTextStyleClipping=function(){return!0},t.prototype.getTextStyleWordWrap=function(){return v.NONE},t.prototype.getTextFormatter=function(){return C},t.prototype.getTextValue=function(n){},t.prototype.newTextValue=function(){},t}(m),y=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignHorizontal=function(){return g.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t.prototype.getImageAlignWith=function(){return I.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),B=function(n){function t(t,r,u){void 0===t&&(t=4737096),void 0===r&&(r=.017),void 0===u&&(u=.034);var e=n.call(this)||this;return e.BACKGROUND_COLOR=t,e.BACKGROUND_COLOR_HOVERED=h.brighten(t,r),e.BACKGROUND_COLOR_PRESSED=h.brighten(t,u),e.OUTLINE_COLOR=h.darken(t,.75),e}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?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 g.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),S=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(B),M=function(){r.set("DButton",S)},_=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}(B),L=function(){r.set("DButtonAmbient",_)};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(){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}(),F=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 E.getImageTintColor(n)},t.prototype.isToggle=function(){return!0},t.prototype.getImageSource=function(n){return E.getImageSource(n)},t}(_),P=function(){r.set("DButtonCheck",F)},A=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return I.PADDING},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return g.LEFT},t}(F),z=function(){r.set("DButtonCheckRight",A)};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 R=function(n){return"#"+h.toCode(n.color)+" A"+n.alpha.toFixed(2)},H=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 R},r.prototype.newTextValue=function(){return{color:14606046,alpha:1}},r}(S);const N=wcardinal.ui.DDialogCloseOn,G=wcardinal.ui.DDialogMode;var V=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMode=function(){return G.MODAL},t.prototype.closeOn=function(){return N.ESC|N.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 3750201},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}(m),O=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"Cancel"},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}(V),Y=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}(O),W=function(n,t){for(var r="<g>",u=0;u<t;++u)for(var e=0;e<n;++e)r+='<rect x="'+9*e+'" y="'+9*u+'" width="9" height="9" fill="'+((e+u)%2==0?"#5f5f5f":"#454545")+'" />';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,W(26,2)),t.add("picker_color_alpha",234,18,'<g><linearGradient id="s48afbuh44" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FFFFFF" stop-opacity="0" offset="0"/><stop stop-color="#FFFFFF" stop-opacity="1" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#s48afbuh44)" /></g>'),t.add("picker_color_base",234,18,'<g><linearGradient id="ni2rbisdf3" x1="0%" y1="0%" x2="100%" y2="0%"><stop stop-color="#FF0000" offset="0"/><stop stop-color="#FFFF00" offset="0.167"/><stop stop-color="#00FF00" offset="0.333"/><stop stop-color="#00FFFF" offset="0.5"/><stop stop-color="#0000FF" offset="0.667"/><stop stop-color="#FF00FF" offset="0.833"/><stop stop-color="#FF0000" offset="1"/></linearGradient><rect x="0" y="0" width="234" height="18" fill="url(#ni2rbisdf3)" /></g>'),t.add("picker_color_base_pointer",16.2,31.8,'<rect x="4.5" y="4.5" width="7.2" height="22.8" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_pointer",25.8,25.8,'<circle cx="12.9" cy="12.9" r="4.8" stroke="#5f5f5f" stroke-width="2.4" fill="none" /><circle cx="12.9" cy="12.9" r="7.2" stroke="#ffffff" stroke-width="2.4" fill="none" />'),t.add("picker_color_recent_checkerboard",18,18,W(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,W(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 X=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}(m),K=function(){r.set("DPickerColor",X)},U=function(){r.set("DDialogColor",Y),K()},j=function(){r.set("DButtonColor",H),U()};const J=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 J},r.prototype.getCheckerColors=function(){return[225877,.27]},r}(S),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}(O),$=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[.37255,.27]},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}(m),nn=function(){r.set("DPickerColorGradient",$),K()},tn=function(){r.set("DDialogColorGradient",Z),nn()},rn=function(){r.set("DButtonColorGradient",Q),tn()},un=function(n){function t(){return n.call(this,15702682,.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.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(B),en=function(){r.set("DButtonDanger",un)};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}(S),an=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}(O);const ln=wcardinal.ui.DPickerDatetimeMask;var hn=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 ln.HOURS|ln.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}(m),sn=["January","February","March","April","May","June","July","August","September","October","November","December"],Dn=["Su","Mo","Tu","We","Th","Fr","Sa"],dn=function(n){return sn[n.getMonth()]+" "+n.getFullYear()},mn=function(){},kn=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 dn},t.prototype.getDateDecorator=function(){return mn},t.prototype.getBackButtonOptions=function(){return{title:"Previous"}},t.prototype.getNextButtonOptions=function(){return{title:"Next"}},t.prototype.getMask=function(){return ln.DATE|n.prototype.getMask.call(this)},t}(hn),Tn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getMask=function(){return ln.DATE},t}(kn);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 pn=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 I.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return g.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}(_),gn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.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}(_);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 I.PADDING},r.prototype.getImageMarginHorizontal=function(){return 0},r.prototype.getImageAlignHorizontal=function(){return g.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}(_),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),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 g.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),vn=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 g.CENTER},t.prototype.getAlpha=function(t){return.9*n.prototype.getAlpha.call(this,t)},t.prototype.getFontWeight=function(){return"bold"},t}(bn),Cn=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}(m),xn=function(){r.set("DPickerTime",hn)},yn=function(){r.set("DPickerDatetimeButtonBack",pn),r.set("DPickerDatetimeButtonDate",gn),r.set("DPickerDatetimeButtonNext",wn),r.set("DPickerDatetimeLabelDate",vn),r.set("DPickerDatetimeLabel",In),r.set("DPickerDatetimeSpace",Cn),r.set("DPickerDatetime",kn),xn()},Bn=function(){r.set("DPickerDate",Tn),yn()},Sn=function(){r.set("DDialogDate",an),Bn()},Mn=function(){r.set("DButtonDate",fn),Sn()};const _n=wcardinal.ui.DPickerDatetimes;var Ln=function(n,t){return _n.format(n,t.getDatetimeMask())},En=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Ln},t.prototype.newTextValue=function(){return new Date},t}(S),Fn=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}(O),Pn=function(){r.set("DDialogDatetime",Fn),yn()},An=function(){r.set("DButtonDatetime",En),Pn()},zn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(S),Rn=function(){r.set("DButtonFile",zn)},Hn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(_),Nn=function(){r.set("DButtonLink",Hn)},Gn=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.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):s.ACTIVE_COLOR},t}(B),Vn=function(){r.set("DButtonPrimary",Gn)};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 On=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}(_),Yn=function(){r.set("DButtonRadio",On)},Wn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageAlignWith=function(){return I.PADDING},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageMarginHorizontal=function(){return 0},t.prototype.getTextAlignHorizontal=function(){return g.LEFT},t}(On),Xn=function(){r.set("DButtonRadioRight",Wn)},Kn=function(n){function t(){return n.call(this,12096758,.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.getOutlineColor=function(n){return this.getOutlineColorActive(n)},t.prototype.getOutlineOffset=function(n){return this.getOutlineOffsetActive(n)},t.prototype.getColor=function(t){return t.inDisabled?n.prototype.getColor.call(this,t):0},t}(B);const Un=wcardinal.ui.toLabel;var jn=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Un},t.prototype.newTextValue=function(){return null},t}(S),Jn=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}(O);const qn=wcardinal.ui.UtilGestureMode;var Qn=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}(m),Zn=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}(Qn),$n=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}(Zn),nt=function(){function n(n,t,r){this.i=t,null!=n?(this.o=n,this.l=1,this.h=h.blend(n,16777215,.02),this.D=1,this.m=h.blend(n,s.INVALID_COLOR,s.INVALID_ALPHA),this.k=1,this.T=r?s.HIGHLIGHT_COLOR:h.blend(n,s.HIGHLIGHT_COLOR,s.HIGHLIGHT_ALPHA),this.p=1,this.g=h.blend(n,s.WEAK_HIGHLIGHT_COLOR,s.WEAK_HIGHLIGHT_ALPHA),this.I=1):(this.o=0,this.l=0,this.h=0,this.D=.02,this.m=s.INVALID_COLOR,this.k=s.INVALID_ALPHA,this.T=s.HIGHLIGHT_COLOR,this.p=r?1:s.HIGHLIGHT_ALPHA,this.g=s.WEAK_HIGHLIGHT_COLOR,this.I=s.WEAK_HIGHLIGHT_ALPHA),this.v=s.COLOR,this.C=r?s.ACTIVE_COLOR:s.COLOR,r?(this.B=s.COLOR,this.S=s.ACTIVE_COLOR):(this.B=s.COLOR,this.S=s.COLOR)}return n.prototype.getBackgroundColor=function(n){return n.inDisabled?this.i?n.isAlternated?this.h:this.o:null:n.isInvalid?this.m:n.isActive?this.T:n.isHovered?this.g:this.i?n.isAlternated?this.h:this.o:null},n.prototype.getBackgroundAlpha=function(n){return n.inDisabled?this.i?n.isAlternated?this.D:this.l:0:n.isInvalid?this.k:n.isActive?this.p:n.isHovered?this.I:this.i?n.isAlternated?this.D:this.l:0},n.prototype.getBorderColor=function(n){return null},n.prototype.getBorderMask=function(n){return c.NONE},n.prototype.getColor=function(n){return n.isActive?this.S:this.B},n.prototype.getAlpha=function(n){return n.inEnabled?1:0},n.prototype.getImageTintColor=function(n,t){return n.inDisabled||n.inReadOnly||!n.isActive&&!t?this.v:this.C},n.prototype.getHeight=function(){return 30},n.prototype.getCornerMask=function(){return f.ALL},n.prototype.getCursor=function(n){return n.isActionable?"pointer":""},n}(),tt=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new nt(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.M.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.M.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.M.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.M.getBorderMask(n)},t.prototype.getColor=function(n){return this.M.getColor(n)},t.prototype.getAlpha=function(n){return this.M.getAlpha(n)},t.prototype.getHeight=function(){return this.M.getHeight()},t.prototype.getCornerMask=function(){return this.M.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.M.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.M.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(y),rt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new nt(null,!1,!0)},t.prototype.getCornerMask=function(){return f.NONE},t}(tt),ut=function(){r.set("DDialogSelect",Jn),r.set("DDialogSelectList",$n),r.set("DDialogSelectListItem",rt)};const et=wcardinal.ui.DPickerTimes;var it=function(n,t){return et.format(n,t.getDatetimeMask())},ot=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return it},t.prototype.newTextValue=function(){return new Date},t}(S),ct=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}(O),ft=function(){r.set("DDialogTime",ct),xn()},at=function(){r.set("DButtonTime",ot),ft()},lt=function(){L(),P(),z(),j(),rn(),r.set("DButtonSelect",jn),ut(),en(),Mn(),An(),Rn(),Nn(),Vn(),Yn(),Xn(),r.set("DButtonSecondary",Kn),at(),M()},ht=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return 4737096},t.prototype.getBorderColor=function(n){return null},t.prototype.getCornerMask=function(){return f.ALL},t.prototype.getInteractive=function(){return o.BOTH},t}(m),st=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 50},t.prototype.getPaddingTop=function(){return 50},t.prototype.getPaddingRight=function(){return 50},t.prototype.getPaddingBottom=function(){return 50},t.prototype.isOverflowMaskEnabled=function(){return!1},t.prototype.getInteractive=function(){return o.BOTH},t}(m),Dt=function(){r.set("DCanvasContainer",st),r.set("DCanvas",ht)},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.isOverflowMaskEnabled=function(){return!0},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(m);const mt=wcardinal.ui.DChartAxisPosition,kt=wcardinal.ui.DChartAxisTickPosition,Tt=wcardinal.ui.EShapeTextAlignHorizontal,pt=wcardinal.ui.EShapeTextAlignVertical,gt=wcardinal.ui.EShapeTextDirection;var wt=function(){function n(){}return n.prototype.getPosition=function(){return mt.BOTTOM},n.prototype.getPadding=function(){return 75},n.prototype.getLabelAlignHorizontal=function(n){switch(n){case mt.TOP:case mt.BOTTOM:return Tt.CENTER;case mt.LEFT:return Tt.OUTSIDE_LEFT;case mt.RIGHT:return Tt.OUTSIDE_RIGHT}},n.prototype.getLabelAlignVertical=function(n){switch(n){case mt.TOP:return pt.OUTSIDE_TOP;case mt.BOTTOM:return pt.OUTSIDE_BOTTOM;case mt.LEFT:case mt.RIGHT:return pt.MIDDLE}},n.prototype.getLabelPaddingHorizontal=function(){return 50},n.prototype.getLabelPaddingVertical=function(){return 50},n.prototype.getLabelDirection=function(){return gt.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 kt.OUTSIDE},n.prototype.getMajorTickStyle=function(){},n.prototype.getMajorTickTextAlignHorizontal=function(n){switch(n){case mt.TOP:case mt.BOTTOM:return Tt.CENTER;case mt.LEFT:return Tt.OUTSIDE_LEFT;case mt.RIGHT:return Tt.OUTSIDE_RIGHT}},n.prototype.getMajorTickTextAlignVertical=function(n){switch(n){case mt.TOP:return pt.OUTSIDE_TOP;case mt.BOTTOM:return pt.OUTSIDE_BOTTOM;case mt.LEFT:case mt.RIGHT:return pt.MIDDLE}},n.prototype.getMajorTickTextDirection=function(){return gt.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 kt.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}(),bt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(wt),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}(bt),vt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getPosition=function(){return mt.LEFT},t.prototype.getLabelDirection=function(){return gt.BOTTOM_TO_TOP},t}(wt),Ct=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}(),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(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),Bt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),St=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(m),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}(m);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 zt=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(){r.set("DChart",dt),r.set("DChartAxisX",bt),r.set("DChartAxisXDatetime",It),r.set("DChartAxisY",vt),r.set("DChartCoordinateLinear",Ct),r.set("DChartCoordinateLog",xt),r.set("DChartLegend",yt),r.set("DChartLegendItem",Bt),r.set("DChartOverview",St),r.set("DChartPlotArea",Mt),r.set("DChartSelectionGridlineX",Ft),r.set("DChartSelectionGridlineY",Pt),r.set("DChartSelectionMarker",zt)},Ht=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}(st),Nt=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ht),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 s.BACKGROUND_COLOR},t}(ht),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,Yt=wcardinal.ui.EShapeStrokeStyle;var Wt=function(){function n(){}return n.prototype.getFillColor=function(){return 16777215},n.prototype.getFillAlpha=function(){return.5},n.prototype.getStrokeColor=function(){return 14540253},n.prototype.getStrokeAlpha=function(){return 1},n.prototype.getStrokeWidth=function(){return 2},n.prototype.getStrokeAlign=function(){return 0},n.prototype.getStrokeSide=function(){return Ot.ALL},n.prototype.getStrokeStyle=function(){return Yt.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",Wt)},Kt=function(){r.set("DDiagram",Nt),r.set("DDiagramCanvas",Vt),Xt()},Ut=function(n,t,r){var u=Math.max(t,r);if(0<n){for(var e=u/1e3,i=0;i<10&&n<e;++i)n*=10;if(e<=n)return n}return u},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 Yt.DASHED|Yt.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 Ut},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),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.isThumbnailEnabled=function(){return!1},t.prototype.getThumbnailSize=function(){return null},t}(Ht);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,ur=wcardinal.ui.EShapeActionValueOpetyped,er=wcardinal.ui.EShapeActionValueShowHideType,ir=wcardinal.ui.EShapeActionValueSubtyped,or=wcardinal.ui.EShapeActionValueTransformMoveType,cr=wcardinal.ui.EShapeActionValueTransformResizeType,fr=wcardinal.ui.EShapeActionValueTransformRotateType,ar=wcardinal.ui.EShapeActionValueTransformType,lr=wcardinal.ui.EShapeActionValueType,hr=wcardinal.ui.UtilHtmlElementWhen;var sr=function(){function n(){}return n.prototype.toLabel=function(n){var t=n.type;if(n instanceof ir){var r,u=n.subtype;if(n instanceof ur){if(null!=(r=this.toOpetypedLabel(t,u,n.opetype,n)))return r}else if(null!=(r=this.toSubtypedLabel(t,u,n)))return r}return this.toTypedLabel(t,n)},n.prototype.toTypedLabel=function(n,t){return this.toTypeLabel(n)+": "+this.toConditionLabel(t.condition)},n.prototype.toSubtypedLabel=function(n,t,r){var u=this.toTypeLabel(n);switch(n){case lr.SHOW_HIDE:return""+this.toShowHideTypeLabel(t);case lr.BLINK:return u+": "+this.toBlinkTypeLabel(t);case lr.CHANGE_COLOR:case lr.CHANGE_COLOR_LEGACY:return u+": "+this.toChangeColorTypeLabel(t);case lr.MISC:return u+": "+this.toMiscTypeLabel(t)}return null},n.prototype.toOpetypedLabel=function(n,t,r,u){switch(n){case lr.TRANSFORM:var e=this.toTransformTypeLabel(t);switch(t){case ar.ROTATE:return e+": "+this.toTransformRotateTypeLabel(r);case ar.MOVE:return e+": "+this.toTransformMoveTypeLabel(r);case ar.RESIZE:return e+": "+this.toTransformResizeTypeLabel(r)}}return null},n.prototype.toTypeLabel=function(n){switch(n){case lr.SHOW_HIDE:return"Show / hide";case lr.BLINK:return"Blink";case lr.TRANSFORM:return"Transform";case lr.OPEN:return"Open";case lr.CHANGE_COLOR:case lr.CHANGE_COLOR_LEGACY:return"Change color";case lr.CHANGE_TEXT:return"Change text";case lr.CHANGE_CURSOR:return"Change cursor";case lr.EMIT_EVENT:return"Emit an event";case lr.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 er.SHOW:return"Show";case er.HIDE:return"Hide"}},n.prototype.toTransformTypeLabel=function(n){switch(n){case ar.RESIZE:return"Resize";case ar.MOVE:return"Move";case ar.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 hr.CLICKED:return"Clicked";case hr.DOUBLE_CLICKED:return"Double clicked";case hr.FOCUSED:return"Focused";case hr.ALWAYS:return"Always"}return"Unknown"},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)"}return"Unknown"},n}(),Dr=function(){r.set("EShapeActionValue",sr)},dr=function(){r.set("DDiagramEditor",Jt),r.set("DDiagramCanvasEditor",jt),Dr(),Xt()},mr=function(){r.set("DDialog",V)},kr=function(){r.set("DDialogCommand",O)},Tr=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}(O),pr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(y),gr=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 g.CENTER},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(pr),wr=function(){r.set("DDialogConfirm",Tr),r.set("DDialogConfirmMessage",gr)},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}(Tr),Ir=function(){r.set("DDialogConfirmDelete",br)},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}(Tr),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}(O),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}(Tr),Ar=function(){r.set("DDialogMessage",Pr)},zr=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 zr},t.prototype.getDoneDelay=function(){return 400},t.prototype.getCloseDelay=function(){return 600},t}(Tr);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 Hr=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}(gr),Nr=function(){r.set("DDialogProcessing",Rr),r.set("DDialogProcessingMessage",Hr)},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(),U(),kr(),wr(),Ir(),Cr(),Sn(),Pn(),Br(),Mr(),Lr(),Fr(),Ar(),Nr(),Vr(),ut(),ft(),mr()};const Yr=wcardinal.ui.DLayoutDirection;var Wr=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 Yr.VERTICAL},t.prototype.getCornerAdjust=function(){return!1},t.prototype.getMultiplicity=function(){return 1},t.prototype.getReverse=function(){return!1},t}(m),Xr=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Yr.VERTICAL},t.prototype.getWidth=function(){return"auto"},t}(Wr),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?984832: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 Ur=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?3026478:null},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getPaddingLeft=function(){return 16},t.prototype.getPaddingRight=function(){return 16},t.prototype.getCornerMask=function(){return f.ALL},t}(pr),jr=function(){r.set("DExpandableHeader",Ur),r.set("DExpandable",Kr)};const Jr=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,u,e,i){var o=this.getElementStylePointerEvent(t)+this.getElementStylePosition(t,u,e,i)+this.getElementStyleMargin(t)+this.getElementStyleText(t)+this.getElementStyleBackground(t)+this.getElementStyleBorder(t)+this.getElementStylePadding(t,r)+this.getElementStyleOutline(t);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(Jr.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,u){return"position: absolute;"+this.getElementStylePositionPosition(t,u)+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,u,e,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 hr.FOCUSED},t.prototype.getSelect=function(){return!1},t}(y),$r=function(){r.set("DHtmlElement",Zr)},nu=function(){r.set("DImage",pr)},tu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getDirection=function(){return Yr.HORIZONTAL},t.prototype.getHeight=function(){return"auto"},t}(Wr),ru=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return this.getLineHeight()},t}(tu),uu=function(){r.set("DInputAndLabel",ru)},eu=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}(tu),iu=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}(S),ou=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}(S),cu=function(){r.set("DInputBoolean",eu),r.set("DInputBooleanButtonOn",ou),r.set("DInputBooleanButtonOff",iu)},fu=function(){return null},au=function(n){return n},lu=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=h.brighten(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:null},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 au},t.prototype.getEditingValidator=function(){return fu},t.prototype.getSelect=function(){return!0},t.prototype.getElementStyleMargin=function(n){return"margin: 0.1em 0 0 0;"},t}(Zr),hu="d-theme-dark-input-element",su=function(n){var t=n.getElementsByClassName(hu);if(0<t.length)return t[0];var r=document.createElement("input");return r.setAttribute("spellcheck","false"),r.setAttribute("class",hu),n.appendChild(r),r},Du=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var u=document.createElement("div");return u.setAttribute("class",t),n.appendChild(u),u},du=function(n){return Du(n,"d-theme-dark-input-clipper")},mu=function(n){return Du(n,"d-theme-dark-input-before")},ku=function(n){return Du(n,"d-theme-dark-input-after")},Tu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getElementCreator=function(){return su},t.prototype.getClipperCreator=function(){return du},t.prototype.getBeforeCreator=function(){return mu},t.prototype.getAfterCreator=function(){return ku},t}(lu),pu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.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}(Tu),gu=function(n){var t=parseInt(n,10);return t==t?t:0},wu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return gu},t}(pu),bu=function(){r.set("DInputInteger",wu)},Iu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.RIGHT},t.prototype.getWidth=function(){return 60},t.prototype.getHeight=function(){return this.getLineHeight()},t}(bn),vu=function(){r.set("DInputLabel",Iu)},Cu=function(n){var t=parseFloat(n);return t==t?t:0},xu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getEditingUnformatter=function(){return Cu},t}(pu),yu=function(){r.set("DInputReal",xu)},Bu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(Tu);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 Su=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 I.BORDER},r.prototype.getImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 6},r}(Bu),Mu=function(){r.set("DInputSearch",Su)},_u=function(){r.set("DInputText",Bu)},Lu="d-theme-dark-input-text-area-element",Eu=function(n){var t=n.getElementsByClassName(Lu);if(0<t.length)return t[0];var r=document.createElement("textarea");return r.setAttribute("spellcheck","false"),r.setAttribute("class",Lu),n.appendChild(r),r},Fu=function(n,t){var r=n.getElementsByClassName(t);if(0<r.length)return r[0];var u=document.createElement("div");return u.setAttribute("class",t),n.appendChild(u),u},Pu=function(n){return Fu(n,"d-theme-dark-input-text-area-clipper")},Au=function(n){return Fu(n,"d-theme-dark-input-text-area-before")},zu=function(n){return Fu(n,"d-theme-dark-input-text-area-after")},Ru=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 v.NORMAL},t.prototype.getElementCreator=function(){return Eu},t.prototype.getClipperCreator=function(){return Pu},t.prototype.getBeforeCreator=function(){return Au},t.prototype.getAfterCreator=function(){return zu},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 v.NORMAL:t+="word-break: normal;";break;default:t+="word-break: break-all;"}return t},t}(lu),Hu=function(){r.set("DInputTextArea",Ru)},Nu=function(){uu(),cu(),bu(),vu(),yu(),Mu(),Hu(),_u()},Gu=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 a.BOTH},t.prototype.getInteractive=function(){return o.CHILDREN},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(m),Vu=function(){r.set("DLayout",Wr),r.set("DLayoutHorizontal",tu),r.set("DLayoutSpace",Gu),r.set("DLayoutVertical",Xr)};const Ou=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 Yu=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:Ou.OPEN_LINK,text:{value:this.getLabelOpenLink()}},{value:Ou.OPEN_LINK_IN_NEW_WINDOW,text:{value:this.getLabelOpenLinkInNewWindow()}},{value:Ou.COPY_LINK_ADDRESS,text:{value:this.getLabelCopyLinkAddress()}}]}},n.prototype.getLabelOpenLink=function(){return"Open"},n.prototype.getLabelOpenLinkInNewWindow=function(){return"Open in new window"},n.prototype.getLabelCopyLinkAddress=function(){return"Copy link address"},n}(),Wu=function(){r.set("DLink",Yu)},Xu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newStyle=function(){return new nt(null,!1,!0)},t}(tt),Ku=function(){r.set("DListItemAmbient",Xu),r.set("DListItem",tt),r.set("DList",Zn)},Uu=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.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),ju=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(t){return t.inDisabled?n.prototype.getColor.call(this,t):t.isActive?this.getColorActive(t):n.prototype.getColor.call(this,t)},t.prototype.getColorActive=function(n){return s.COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getWidth=function(){return"padding"},t.prototype.getTextAlignHorizontal=function(){return g.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}(pr),Ju=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}(ju),qu=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}(Ju);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 Qu=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 I.BORDER},r.prototype.getImageMarginHorizontal=function(){return 7},r}(qu),Zu=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return n.isActive?984832:null},t.prototype.getBackgroundAlpha=function(n){return n.isActive?.1:0},t.prototype.getMargin=function(){return 0},t.prototype.getWidth=function(){return"padding"},t.prototype.getHeight=function(){return"auto"},t.prototype.getCornerMask=function(){return f.ALL},t}(Xr),$u=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),ne=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}();ne.init();var te=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?ne.getImageOpened():ne.getImageClosed()},t.prototype.getImageAlignWith=function(){return I.BORDER},t.prototype.getImageMarginHorizontal=function(){return 7},t}(ju),re=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}(Qu);const ue=wcardinal.ui.DBaseState;var ee=function(t){function r(){var r=t.call(this)||this;return r._=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageSource=function(n){return n.is(ue.NEW_WINDOW)?this._.getImageSource(n):null},r.prototype.getImageTintAlpha=function(n){return n.isHovered?t.prototype.getImageTintAlpha.call(this,n):0},r.prototype.getImageAlignWith=function(){return I.BORDER},r.prototype.getImageAlignHorizontal=function(){return g.RIGHT},r}(qu),ie=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}(ee);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 oe=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 I.BORDER},r.prototype.getImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getImageMarginHorizontal=function(){return 12},r}(Ju),ce=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}(oe),fe=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}(ju),ae=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}(fe),le=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Gu),he=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}(le),se=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}(qu),De=function(){r.set("DMenu",Uu),r.set("DMenuItem",Ju),r.set("DMenuItemCheck",Qu),r.set("DMenuItemLink",ee),r.set("DMenuItemMenu",oe),r.set("DMenuItemSeparator",fe),r.set("DMenuItemSpace",le),r.set("DMenuItemText",qu),r.set("DMenuItemExpandableBody",$u),r.set("DMenuItemExpandableHeader",te),r.set("DMenuItemExpandableItemCheck",re),r.set("DMenuItemExpandableItemLink",ie),r.set("DMenuItemExpandableItemMenu",ce),r.set("DMenuItemExpandableItemSeparator",ae),r.set("DMenuItemExpandableItemSpace",he),r.set("DMenuItemExpandableItemText",se),r.set("DMenuItemExpandable",Zu)},de=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(){return s.BACKGROUND_COLOR_ON_BOARD},t.prototype.getBorderColor=function(n){return null},t.prototype.getHeight=function(){return 30},t.prototype.getMargin=function(){return 0},t.prototype.getPaddingLeft=function(){return 5},t.prototype.getPaddingRight=function(){return 5},t.prototype.getInteractive=function(){return o.BOTH},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusRoot=!0},t}(tu),me=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 g.LEFT},t.prototype.getTextStyleClipping=function(){return!1},t}(S),ke=function(){r.set("DMenuBarItem",me),r.set("DMenuBar",de),De()},Te=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}(Qn),pe=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),ge=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Qu),we=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Zu),be=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(re),Ie=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ie),ve=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ce),Ce=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ae),xe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(he),ye=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(se),Be=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(ee),Se=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(oe),Me=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(fe),_e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(le),Le=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(qu),Ee=function(){r.set("DMenuSided",Te),r.set("DMenuSidedContent",pe),r.set("DMenuSidedItemCheck",ge),r.set("DMenuSidedItemLink",Be),r.set("DMenuSidedItemMenu",Se),r.set("DMenuSidedItemSeparator",Me),r.set("DMenuSidedItemSpace",_e),r.set("DMenuSidedItemText",Le),r.set("DMenuSidedItemExpandable",we),r.set("DMenuSidedItemExpandableItemCheck",be),r.set("DMenuSidedItemExpandableItemLink",Ie),r.set("DMenuSidedItemExpandableItemMenu",ve),r.set("DMenuSidedItemExpandableItemSeparator",Ce),r.set("DMenuSidedItemExpandableItemSpace",xe),r.set("DMenuSidedItemExpandableItemText",ye)},Fe=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 g.CENTER},t.prototype.getInteractive=function(){return o.NONE},t.prototype.getAlpha=function(){return.25},t.prototype.getFontSize=function(){return 26},t.prototype.getImageTintAlpha=function(n){return.15},t.prototype.getImageAlignWith=function(){return I.TEXT},t.prototype.getImageAlignHorizontal=function(){return g.LEFT},t.prototype.getImageAlignVertical=function(){return b.MIDDLE},t}(y);t.add("note_erorr",48,48,'<g transform="translate(-3,3) scale(3,3)"><path d="M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z" fill="#fff"/></g>');var Pe=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.newTextValue=function(){return"Error"},r.prototype.getImageSource=function(n){return t.mappings.note_erorr},r}(Fe);t.add("note_no_items_found",48,48,'<g transform="translate(-3,3) scale(3,3)"><path d="M11 15h2v2h-2v-2zm0-8h2v6h-2V7zm.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 Ae=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.newTextValue=function(){return"No items found"},r.prototype.getImageSource=function(n){return t.mappings.note_no_items_found},r}(Fe);t.add("note_searching",48,48,'<g transform="translate(-3,3) scale(3,3)"><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 ze=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return i(r,n),r.prototype.newTextValue=function(){return"Searching"},r.prototype.getImageSource=function(n){return t.mappings.note_searching},r}(Fe),Re=function(){r.set("DNote",Fe),r.set("DNoteError",Pe),r.set("DNoteNoItemsFound",Ae),r.set("DNoteSearching",ze)},He=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}(tu),Ne=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}(_),Ge=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getWidth=function(){return"auto"},t}(tu);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 Ve=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(_),Oe=function(){r.set("DPagination",He),r.set("DPaginationNavigationButton",Ve),r.set("DPaginationDynamicButtons",Ge),r.set("DPaginationDotsButton",Ne)},Ye=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}(m),We=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}(m),Xe=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BORDER_COLOR=h.brighten(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}(m),Ke=function(){r.set("DScrollBar",We),r.set("DScrollBarThumb",Xe)},Ue=function(){r.set("DPane",Qn),r.set("DContent",Ye),Ke()};const je=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 Je=function(n){function r(){return n.call(this,s.BACKGROUND_COLOR_ON_BOARD)||this}return i(r,n),r.prototype.getSecondaryImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getSecondaryImageAlignWith=function(){return I.PADDING},r.prototype.getSecondaryImageMarginHorizontal=function(){return-20},r.prototype.getPaddingLeft=function(){return 25},r.prototype.getPaddingRight=function(){return 25},r.prototype.getSecondaryImageSource=function(n){return t.mappings.dropdown_mark},r}(B),qe=function(n){if(n){var t=n.text;if(je(t))return t;if(null!=t){var r=t(n.state);if(null!=r)return r}}return""},Qe=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return qe},t.prototype.newTextValue=function(){return null},t}(Je),Ze=function(n){if(n){for(var t="",r="",u=0,e=n.length;u<e;++u){var i=n[u],o=i.text;if(je(o))t+=r+o,r=", ";else if(null!=o){var c=o(i.state);null!=c&&(t+=r+c,r=", ")}}return t}return""},$e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextFormatter=function(){return Ze},t.prototype.newTextValue=function(){return[]},t}(Je),ni=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.newTextValue=function(){return""},t}(Je),ti=function(){r.set("DDropdown",ni)},ri=function(){r.set("DSelectMultiple",$e),r.set("DSelect",Qe),ti()},ui=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getInteractive=function(){return o.CHILDREN},t}(m),ei=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}(ui),ii=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 g.CENTER},t.prototype.getTextAlignVertical=function(){return b.MIDDLE},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isFocusable=!1},t}(x),oi=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=h.darken(n.BACKGROUND_COLOR_ACTIVE,.1),n.BACKGROUND_COLOR_ACTIVE_PRESSED=h.darken(n.BACKGROUND_COLOR_ACTIVE,.2),n.BACKGROUND_COLOR=s.WEAK_HIGHLIGHT_COLOR,n.BACKGROUND_COLOR_HOVERED=h.darken(n.BACKGROUND_COLOR,.1),n.BACKGROUND_COLOR_PRESSED=h.darken(n.BACKGROUND_COLOR,.2),n.BACKGROUND_COLOR_DISABLED=h.blend(n.BACKGROUND_COLOR,s.BACKGROUND_COLOR,.5),n}();t.add("slider_thumb",16,16,'<circle cx="8" cy="8" r="7.5" stroke="none" fill="#ffffff" />');var ci=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 oi.getBackgroundColor(n,!0)},r.prototype.getImageTintAlpha=function(n){return 1},r.prototype.getImageAlignHorizontal=function(){return g.CENTER},r}(S),fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return oi.getBackgroundColor(n)},t.prototype.getBorderColor=function(n){return null},t}(S),ai=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}(fi),li=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}(fi),hi=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 20},t.prototype.getBackgroundColor=function(n){return n.inDisabled?6579300:s.HIGHLIGHT_COLOR},t.prototype.getBorderColor=function(n){return null},t.prototype.getColor=function(n){return s.ACTIVE_COLOR},t.prototype.getAlpha=function(n){return n.inDisabled?.38:1},t.prototype.getTextAlignHorizontal=function(){return g.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),si=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}(ui),Di=function(){r.set("DSlider",ui),r.set("DSliderValue",hi),r.set("DSliderLabel",ii),r.set("DSliderThumb",ci),r.set("DSliderVertical",si),r.set("DSliderHorizontal",ei),r.set("DSliderTrack",fi),r.set("DSliderTrackVertical",li),r.set("DSliderTrackHorizontal",ai)},di=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}(Qn),mi=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}(m);const ki=wcardinal.ui.DTableState;var Ti=function(){function n(){}return n.getBackgroundColor=function(n){return n.inDisabled?n.is(ki.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_EVEN:this.BACKGROUND_COLOR_ODD: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(ki.FROZEN)?n.onAlternated?this.BACKGROUND_COLOR_EVEN:this.BACKGROUND_COLOR_ODD:null},n.getBackgroundAlpha=function(n){return 1},n.getBorderColor=function(n){return this.BORDER_COLOR},n.getBorderMask=function(n){return n.is(ki.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?6579300:s.HIGHLIGHT_COLOR},n.getHeight=function(){return"padding"},n.getCornerMask=function(){return f.ALL},n.BACKGROUND_COLOR_EVEN=s.BACKGROUND_COLOR_ON_BOARD,n.BACKGROUND_COLOR_ODD=h.brighten(s.BACKGROUND_COLOR_ON_BOARD,.02),n.BORDER_COLOR=s.BACKGROUND_COLOR_ON_BOARD,n}(),pi=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 Ti.getImageTintColor(n,!0)},n}(),gi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ti.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ti.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ti.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ti.getBorderMask(n)},t.prototype.getColor=function(n){return Ti.getColor(n)},t.prototype.getAlpha=function(n){return Ti.getAlpha(n)},t.prototype.getHeight=function(){return Ti.getHeight()},t.prototype.getCornerMask=function(){return Ti.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(S);pi.init();var wi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getImageTintColor=function(n){return pi.getImageTintColor(n)},t.prototype.getImageSource=function(n){return pi.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(gi);pi.init();var bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ti.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ti.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ti.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ti.getBorderMask(n)},t.prototype.getColor=function(n){return Ti.getColor(n)},t.prototype.getAlpha=function(n){return Ti.getAlpha(n)},t.prototype.getHeight=function(){return Ti.getHeight()},t.prototype.getCornerMask=function(){return Ti.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 pi.getImageTintColor(n)},t.prototype.getImageSource=function(n){return pi.getImageSource(n)},t}(ni),Ii=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ti.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ti.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ti.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ti.getBorderMask(n)},t.prototype.getColor=function(n){return Ti.getColor(n)},t.prototype.getAlpha=function(n){return Ti.getAlpha(n)},t.prototype.getHeight=function(){return Ti.getHeight()},t.prototype.getCornerMask=function(){return Ti.getCornerMask()},t.prototype.isSyncEnabled=function(){return!0},t.prototype.newTextValue=function(){return null},t}(S);pi.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 pi.getImageTintColor(n)},t.prototype.getImageSource=function(n){return pi.getImageSource(n)},t.prototype.isSyncEnabled=function(){return!1},t}(Ii),Ci=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ti.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ti.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ti.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ti.getBorderMask(n)},t.prototype.getColor=function(n){return Ti.getColor(n)},t.prototype.getAlpha=function(n){return Ti.getAlpha(n)},t.prototype.getHeight=function(){return Ti.getHeight()},t.prototype.getCornerMask=function(){return Ti.getCornerMask()},t.prototype.getImageTintColor=function(n){return Ti.getImageTintColor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t}(y),xi=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),yi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ti.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ti.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ti.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ti.getBorderMask(n)},t.prototype.getColor=function(n){return Ti.getColor(n)},t.prototype.getAlpha=function(n){return Ti.getAlpha(n)},t.prototype.getImageTintColor=function(n){return Ti.getImageTintColor(n)},t.prototype.getHeight=function(){return Ti.getHeight()},t.prototype.getCornerMask=function(){return Ti.getCornerMask()},t}(F),Bi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ti.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ti.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ti.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ti.getBorderMask(n)},t.prototype.getColor=function(n){return Ti.getColor(n)},t.prototype.getAlpha=function(n){return Ti.getAlpha(n)},t.prototype.getHeight=function(){return Ti.getHeight()},t.prototype.getCornerMask=function(){return Ti.getCornerMask()},t}(H),Si=function(n){return on.format(n)},Mi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ti.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ti.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ti.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ti.getBorderMask(n)},t.prototype.getColor=function(n){return Ti.getColor(n)},t.prototype.getAlpha=function(n){return Ti.getAlpha(n)},t.prototype.getHeight=function(){return Ti.getHeight()},t.prototype.getCornerMask=function(){return Ti.getCornerMask()},t.prototype.getTextFormatter=function(){return Si},t.prototype.newTextValue=function(){return new Date},t}(S),_i=function(n,t){return _n.format(n,t.getDatetimeMask())},Li=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ti.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ti.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ti.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ti.getBorderMask(n)},t.prototype.getColor=function(n){return Ti.getColor(n)},t.prototype.getAlpha=function(n){return Ti.getAlpha(n)},t.prototype.getHeight=function(){return Ti.getHeight()},t.prototype.getCornerMask=function(){return Ti.getCornerMask()},t.prototype.getTextFormatter=function(){return _i},t.prototype.newTextValue=function(){return new Date},t}(S),Ei=function(n){return String(Number(n)+1)},Fi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ti.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ti.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ti.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ti.getBorderMask(n)},t.prototype.getColor=function(n){return Ti.getColor(n)},t.prototype.getAlpha=function(n){return Ti.getAlpha(n)},t.prototype.getHeight=function(){return Ti.getHeight()},t.prototype.getCornerMask=function(){return Ti.getCornerMask()},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.getTextFormatter=function(){return Ei},t.prototype.newTextValue=function(){return 0},t}(y),Pi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.RIGHT},t.prototype.getBackgroundColor=function(n){return Ti.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ti.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ti.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ti.getBorderMask(n)},t.prototype.getColor=function(n){return Ti.getColor(n)},t.prototype.getAlpha=function(n){return Ti.getAlpha(n)},t.prototype.getHeight=function(){return Ti.getHeight()},t.prototype.getCornerMask=function(){return Ti.getCornerMask()},t}(wu),Ai=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getTextAlignHorizontal=function(){return g.RIGHT},t.prototype.getBackgroundColor=function(n){return Ti.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ti.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ti.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ti.getBorderMask(n)},t.prototype.getColor=function(n){return Ti.getColor(n)},t.prototype.getAlpha=function(n){return Ti.getAlpha(n)},t.prototype.getHeight=function(){return Ti.getHeight()},t.prototype.getCornerMask=function(){return Ti.getCornerMask()},t}(xu),zi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ti.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ti.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ti.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ti.getBorderMask(n)},t.prototype.getColor=function(n){return Ti.getColor(n)},t.prototype.getAlpha=function(n){return Ti.getAlpha(n)},t.prototype.getHeight=function(){return Ti.getHeight()},t.prototype.getCornerMask=function(){return Ti.getCornerMask()},t}(Bu),Ri=function(){function n(){}return n.init=function(){ne.init()},n.getImageSource=function(n){return n.is(ki.HAS_CHILDREN)?n.is(ki.OPENED)?ne.getImageOpened():ne.getImageClosed():null},n}();Ri.init();var Hi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getHeight=function(){return Ti.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}(m),Ni=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 Ti.getHeight()},t.prototype.getBackgroundColor=function(n){return Ti.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ti.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ti.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ti.getBorderMask(n)},t.prototype.getColor=function(n){return Ti.getColor(n)},t.prototype.getAlpha=function(n){return Ti.getAlpha(n)},t.prototype.getCornerMask=function(){return Ti.getCornerMask()},t.prototype.getPaddingLeft=function(){return 0},t}(Bu),Gi=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 Ti.getHeight()},t.prototype.getBackgroundColor=function(n){return Ti.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ti.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return null},t.prototype.getBorderMask=function(n){return Ti.getBorderMask(n)},t.prototype.getColor=function(n){return Ti.getColor(n)},t.prototype.getAlpha=function(n){return Ti.getAlpha(n)},t.prototype.getCornerMask=function(){return Ti.getCornerMask()},t.prototype.getImageAlignWith=function(){return I.BORDER},t.prototype.getImageAlignHorizontal=function(){return g.RIGHT},t.prototype.getImageSource=function(n){return Ri.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(B),Vi=function(t){function r(){var r=t.call(this)||this;return r._=n.getInstance().get("DLink"),r}return i(r,t),r.prototype.getImageTintColor=function(n){return Ti.getImageTintColor(n,!0)},r.prototype.getImageSource=function(n){return this._.getImageSource(n)},r}(xi),Oi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ti.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ti.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ti.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ti.getBorderMask(n)},t.prototype.getColor=function(n){return Ti.getColor(n)},t.prototype.getAlpha=function(n){return Ti.getAlpha(n)},t.prototype.getHeight=function(){return Ti.getHeight()},t.prototype.getCornerMask=function(){return Ti.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}(Qe),Yi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ti.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ti.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ti.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ti.getBorderMask(n)},t.prototype.getColor=function(n){return Ti.getColor(n)},t.prototype.getAlpha=function(n){return Ti.getAlpha(n)},t.prototype.getHeight=function(){return Ti.getHeight()},t.prototype.getCornerMask=function(){return Ti.getCornerMask()},t.prototype.getSecondaryImageSource=function(n){return null},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t}($e),Wi=function(n,t){return et.format(n,t.getDatetimeMask())},Xi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getBackgroundColor=function(n){return Ti.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return Ti.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return Ti.getBorderColor(n)},t.prototype.getBorderMask=function(n){return Ti.getBorderMask(n)},t.prototype.getColor=function(n){return Ti.getColor(n)},t.prototype.getAlpha=function(n){return Ti.getAlpha(n)},t.prototype.getHeight=function(){return Ti.getHeight()},t.prototype.getCornerMask=function(){return Ti.getCornerMask()},t.prototype.getTextFormatter=function(){return Wi},t.prototype.newTextValue=function(){return new Date},t}(S);Ri.init();var Ki=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 I.PADDING},t.prototype.getImageMarginHorizontal=function(){return-19},t.prototype.getImageSource=function(n){return Ri.getImageSource(n)},t.prototype.getImageTintColor=function(n){return this.getColor(n)},t.prototype.getImageTintAlpha=function(n){return.5*this.getAlpha(n)},t}(xi),Ui=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}(tu),ji=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=h.brighten(s.BACKGROUND_COLOR_ON_BOARD,.02),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}(Ui),Ji=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=h.brighten(s.BACKGROUND_COLOR_ON_BOARD,.02),t.BORDER_COLOR=h.darken(s.BACKGROUND_COLOR_ON_BOARD,.05),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}(Ui),qi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Ji);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 Qi=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.BACKGROUND_COLOR=h.brighten(s.BACKGROUND_COLOR_ON_BOARD,.02),t.BACKGROUND_COLOR_HOVERED=h.brighten(t.BACKGROUND_COLOR,.08),t.BACKGROUND_COLOR_PRESSED=h.brighten(t.BACKGROUND_COLOR,.32),t.BORDER_COLOR=h.darken(s.BACKGROUND_COLOR_ON_BOARD,.05),t}return i(r,n),r.prototype.getBackgroundColor=function(n){return n.inDisabled?n.is(ki.FROZEN)?this.BACKGROUND_COLOR:null:n.isPressed?this.BACKGROUND_COLOR_PRESSED:n.isHovered?this.BACKGROUND_COLOR_HOVERED:n.is(ki.FROZEN)?this.BACKGROUND_COLOR:null},r.prototype.getBackgroundAlpha=function(n){return 1},r.prototype.getBorderColor=function(n){return this.BORDER_COLOR},r.prototype.getBorderMask=function(n){return n.is(ki.END)?c.ALL:c.NOT_RIGHT},r.prototype.getTextAlignHorizontal=function(){return g.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(ki.CHECKABLE)?E.getImageTintColor(t):n.prototype.getSecondaryImageTintColor.call(this,t)},r.prototype.getSecondaryImageSource=function(n){return n.is(ki.CHECKABLE)?E.getImageSource(n):null},r.prototype.getSecondaryImageAlignHorizontal=function(){return g.LEFT},r.prototype.getSecondaryImageAlignVertical=function(){return b.MIDDLE},r.prototype.getSecondaryImageAlignWith=function(){return I.TEXT},r.prototype.getTertiaryImageSource=function(n){return n.is(ki.SORTED_ASCENDING)?t.mappings.sorted_ascending:n.is(ki.SORTED_DESCENDING)?t.mappings.sorted_descending:null},r.prototype.getTertiaryImageAlignHorizontal=function(){return g.RIGHT},r.prototype.getTertiaryImageAlignWith=function(){return I.BORDER},r.prototype.getCursor=function(n){return n.isActionable&&(n.is(ki.CHECKABLE)||n.is(ki.SORTABLE))?"pointer":""},r}(pr),Zi=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t}(Qi),$i=function(){r.set("DTableBodyCellActionDialog",wi),r.set("DTableBodyCellActionMenu",bi),r.set("DTableBodyCellActionPromise",vi),r.set("DTableBodyCellButton",xi),r.set("DTableBodyCellCheck",yi),r.set("DTableBodyCellColor",Bi),r.set("DTableBodyCellDate",Mi),r.set("DTableBodyCellDatetime",Li),r.set("DTableBodyCellIndex",Fi),r.set("DTableBodyCellInputInteger",Pi),r.set("DTableBodyCellInputReal",Ai),r.set("DTableBodyCellInputText",zi),r.set("DTableBodyCellInputTreeMarker",Gi),r.set("DTableBodyCellInputTreeInput",Ni),r.set("DTableBodyCellInputTree",Hi),r.set("DTableBodyCellLink",Vi),r.set("DTableBodyCellSelectDialog",gi),r.set("DTableBodyCellSelectMenu",Oi),r.set("DTableBodyCellSelectMultiple",Yi),r.set("DTableBodyCellSelectPromise",Ii),r.set("DTableBodyCellText",Ci),r.set("DTableBodyCellTree",Ki),r.set("DTableBodyCellTime",Xi),r.set("DTableBodyRow",ji),r.set("DTableBody",mi),r.set("DTableCategoryCell",Zi),r.set("DTableCategory",qi),r.set("DTableHeaderCell",Qi),r.set("DTableHeader",Ji),r.set("DTableRow",Ui),r.set("DTable",di),P(),j(),Mn(),An(),bu(),yu(),_u(),ut(),De()},no=function(){r.set("DText",bn)},to=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return i(t,n),t.prototype.getSecondaryImageSource=function(n){return Ri.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 I.PADDING},t.prototype.getSecondaryImageMarginHorizontal=function(){return-19},t}(nt),ro=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new to(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return s.BACKGROUND_COLOR_ON_BOARD},t}(Qn),uo=function(n){function t(){var t=n.call(this)||this;return t.M=t.newStyle(),t}return i(t,n),t.prototype.newStyle=function(){return new to(null,!0,!1)},t.prototype.getBackgroundColor=function(n){return this.M.getBackgroundColor(n)},t.prototype.getBackgroundAlpha=function(n){return this.M.getBackgroundAlpha(n)},t.prototype.getBorderColor=function(n){return this.M.getBorderColor(n)},t.prototype.getBorderMask=function(n){return this.M.getBorderMask(n)},t.prototype.getColor=function(n){return this.M.getColor(n)},t.prototype.getAlpha=function(n){return this.M.getAlpha(n)},t.prototype.getHeight=function(){return this.M.getHeight()},t.prototype.getCornerMask=function(){return this.M.getCornerMask()},t.prototype.getImageTintColor=function(n){return this.M.getImageTintColor(n)},t.prototype.getCursor=function(n){return this.M.getCursor(n)},t.prototype.getPaddingLeft=function(){return 10},t.prototype.getPaddingRight=function(){return 10},t.prototype.newTextValue=function(){},t.prototype.getWidth=function(){return"padding"},t.prototype.getLevelPadding=function(n){return 24+20*n-this.getPaddingLeft()},t.prototype.newState=function(t){n.prototype.newState.call(this,t),t.isDisabled=!0},t}(y),eo=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}(uo);Ri.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 this.M.getSecondaryImageSource(n)},t.prototype.getSecondaryImageTintColor=function(n){return this.M.getSecondaryImageTintColor(n)},t.prototype.getSecondaryImageTintAlpha=function(n){return this.M.getSecondaryImageTintAlpha(n)},t.prototype.getSecondaryImageAlignWith=function(){return this.M.getSecondaryImageAlignWith()},t.prototype.getSecondaryImageMarginHorizontal=function(){return this.M.getSecondaryImageMarginHorizontal()},t}(eo),oo=function(){r.set("DTree",ro),r.set("DTreeItemText",uo),r.set("DTreeItemButton",eo),r.set("DTreeItemNonEditable",io)};const co=wcardinal.ui.UtilGestureModifier;var fo=function(){function n(){}return n.prototype.isWheelZoomEnabled=function(){return!0},n.prototype.getWheelZoomSpeed=function(){return.004},n.prototype.getWheelZoomModifier=function(){return co.NOT_NONE},n.prototype.isWheelTranslationEnabled=function(){return!0},n.prototype.getWheelTranslationSpeed=function(){return 2.24},n.prototype.getWheelTranslationModifier=function(){return co.NONE},n.prototype.isDblClickZoomEnabled=function(){return!0},n.prototype.getDblClickZoomSpeed=function(){return 2},n.prototype.getDblClickZoomModifier=function(){return co.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 co.NONE},n.prototype.getGestureDuration=function(){return 1},n}(),ao=function(){r.set("DView",fo)},lo=function(){u(),k(),p(),lt(),Dt(),Rt(),Kt(),dr(),Or(),jr(),$r(),nu(),Nu(),Vu(),Wu(),Ku(),oo(),De(),ke(),Ee(),Re(),Oe(),Ue(),K(),nn(),Bn(),yn(),xn(),Ke(),ri(),Di(),$i(),no(),ao()},ho={__proto__:null,loadThemeDarkAll:lo,loadThemeDarkBase:k,loadThemeDark:u,loadThemeDarkBoard:p,loadThemeDarkButtonAll:lt,loadThemeDarkButtonAmbient:L,loadThemeDarkButtonCheck:P,loadThemeDarkButtonCheckRight:z,loadThemeDarkButtonColor:j,loadThemeDarkButtonColorGradient:rn,loadThemeDarkButtonDanger:en,loadThemeDarkButtonDate:Mn,loadThemeDarkButtonDatetime:An,loadThemeDarkButtonFile:Rn,loadThemeDarkButtonLink:Nn,loadThemeDarkButtonPrimary:Vn,loadThemeDarkButtonRadio:Yn,loadThemeDarkButtonRadioRight:Xn,loadThemeDarkButtonTime:at,loadThemeDarkButton:M,loadThemeDarkCanvasContainer:Dt,loadThemeDarkChart:Rt,loadThemeDarkDiagram:Kt,loadThemeDarkDiagramEditor:dr,loadThemeDarkDialogAll:Or,loadThemeDarkDialogColorGradient:tn,loadThemeDarkDialogColor:U,loadThemeDarkDialogCommand:kr,loadThemeDarkDialogConfirm:wr,loadThemeDarkDialogConfirmDelete:Ir,loadThemeDarkDialogConfirmDiscard:Cr,loadThemeDarkDialogDate:Sn,loadThemeDarkDialogDatetime:Pn,loadThemeDarkDialogInputBoolean:Br,loadThemeDarkDialogInputInteger:Mr,loadThemeDarkDialogInputReal:Lr,loadThemeDarkDialogInputText:Fr,loadThemeDarkDialogMessage:Ar,loadThemeDarkDialogProcessing:Nr,loadThemeDarkDialogSaveAs:Vr,loadThemeDarkDialogSelect:ut,loadThemeDarkDialogTime:ft,loadThemeDarkDialog:mr,loadThemeDarkDropdown:ti,loadThemeDarkExpandable:jr,loadThemeDarkHtmlElement:$r,loadThemeDarkImage:nu,loadThemeDarkInputAll:Nu,loadThemeDarkInputAndLabel:uu,loadThemeDarkInputBoolean:cu,loadThemeDarkInputInteger:bu,loadThemeDarkInputLabel:vu,loadThemeDarkInputReal:yu,loadThemeDarkInputSearch:Mu,loadThemeDarkInputTextArea:Hu,loadThemeDarkInputText:_u,loadThemeDarkLayout:Vu,loadThemeDarkLink:Wu,loadThemeDarkList:Ku,loadThemeDarkTree:oo,loadThemeDarkMenu:De,loadThemeDarkMenuBar:ke,loadThemeDarkMenuSided:Ee,loadThemeDarkNote:Re,loadThemeDarkPagination:Oe,loadThemeDarkPane:Ue,loadThemeDarkPickerColorGradient:nn,loadThemeDarkPickerColor:K,loadThemeDarkPickerDate:Bn,loadThemeDarkPickerDatetime:yn,loadThemeDarkPickerTime:xn,loadThemeDarkScrollBar:Ke,loadThemeDarkSelect:ri,loadThemeDarkShapeActionValue:Dr,loadThemeDarkShape:Xt,loadThemeDarkTable:$i,loadThemeDarkText:no,loadThemeDarkView:ao,loadThemeDarkSlider:Di,DThemeDarkAtlas:t,DThemeDarkBase:m,DThemeDarkBoard:T,DThemeDarkButton:S,DThemeDarkButtonAmbient:_,DThemeDarkButtonBase:B,DThemeDarkButtonCheck:F,DThemeDarkButtonCheckRight:A,DThemeDarkButtonChecks:E,DThemeDarkButtonColor:H,DThemeDarkButtonColorGradient:Q,DThemeDarkButtonDanger:un,DThemeDarkButtonDate:fn,DThemeDarkButtonDatetime:En,DThemeDarkButtonFile:zn,DThemeDarkButtonLink:Hn,DThemeDarkButtonPrimary:Gn,DThemeDarkButtonRadio:On,DThemeDarkButtonRadioRight:Wn,DThemeDarkButtonSecondary:Kn,DThemeDarkButtonTime:ot,DThemeDarkCanvas:ht,DThemeDarkCanvasContainer:st,DThemeDarkChart:dt,DThemeDarkChartAxisBase:wt,DThemeDarkChartAxisX:bt,DThemeDarkChartAxisXDatetime:It,DThemeDarkChartAxisY:vt,DThemeDarkChartCoordinateLinear:Ct,DThemeDarkChartCoordinateLog:xt,DThemeDarkChartLegend:yt,DThemeDarkChartLegendItem:Bt,DThemeDarkChartOverview:St,DThemeDarkChartPlotArea:Mt,DThemeDarkContent:Ye,DThemeDarkDiagram:Nt,DThemeDarkDiagramBase:Ht,DThemeDarkDiagramCanvas:Vt,DThemeDarkDiagramCanvasBase:Gt,DThemeDarkDiagramCanvasEditor:jt,DThemeDarkDiagramEditor:Jt,DThemeDarkDialog:V,DThemeDarkDialogColor:Y,DThemeDarkDialogColorGradient:Z,DThemeDarkDialogCommand:O,DThemeDarkDialogConfirm:Tr,DThemeDarkDialogConfirmDelete:br,DThemeDarkDialogConfirmDiscard:vr,DThemeDarkDialogConfirmMessage:gr,DThemeDarkDialogDate:an,DThemeDarkDialogDatetime:Fn,DThemeDarkDialogInputBoolean:yr,DThemeDarkDialogInputInteger:Sr,DThemeDarkDialogInputReal:_r,DThemeDarkDialogInputText:Er,DThemeDarkDialogInput:xr,DThemeDarkDialogMessage:Pr,DThemeDarkDialogProcessing:Rr,DThemeDarkDialogProcessingMessage:Hr,DThemeDarkDialogSaveAs:Gr,DThemeDarkDialogSelect:Jn,DThemeDarkDialogSelectList:$n,DThemeDarkDialogSelectListItem:rt,DThemeDarkDialogTime:ct,DThemeDarkDropdown:ni,DThemeDarkExpandable:Kr,DThemeDarkExpandableHeader:Ur,DThemeDarkFont:D,DThemeDarkHtmlElement:Zr,DThemeDarkImage:pr,DThemeDarkImageBase:y,DThemeDarkInputAndLabel:ru,DThemeDarkInputBooleanButtonOff:iu,DThemeDarkInputBooleanButtonOn:ou,DThemeDarkInputBoolean:eu,DThemeDarkInputInput:Tu,DThemeDarkInputInteger:wu,DThemeDarkInputLabel:Iu,DThemeDarkInputNumber:pu,DThemeDarkInputReal:xu,DThemeDarkInputSearch:Su,DThemeDarkInputTextArea:Ru,DThemeDarkInputText:Bu,DThemeDarkInput:lu,DThemeDarkLayoutHorizontal:tu,DThemeDarkLayoutSpace:Gu,DThemeDarkLayoutVertical:Xr,DThemeDarkLayout:Wr,DThemeDarkLink:Yu,DThemeDarkListItemAmbient:Xu,DThemeDarkListItem:tt,DThemeDarkListItems:nt,DThemeDarkList:Zn,DThemeDarkMenu:Uu,DThemeDarkMenuBar:de,DThemeDarkMenuBarItem:me,DThemeDarkMenuItemBase:ju,DThemeDarkMenuItemCheck:Qu,DThemeDarkMenuItemExpandableBody:$u,DThemeDarkMenuItemExpandableHeader:te,DThemeDarkMenuItemExpandableItemCheck:re,DThemeDarkMenuItemExpandableItemLink:ie,DThemeDarkMenuItemExpandableItemMenu:ce,DThemeDarkMenuItemExpandableItemSeparator:ae,DThemeDarkMenuItemExpandableItemSpace:he,DThemeDarkMenuItemExpandableItemText:se,DThemeDarkMenuItemExpandable:Zu,DThemeDarkMenuItemLink:ee,DThemeDarkMenuItemMenu:oe,DThemeDarkMenuItemSeparator:fe,DThemeDarkMenuItemSpace:le,DThemeDarkMenuItemText:qu,DThemeDarkMenuItem:Ju,DThemeDarkMenuSided:Te,DThemeDarkMenuSidedContent:pe,DThemeDarkMenuSidedItemCheck:ge,DThemeDarkMenuSidedItemExpandable:we,DThemeDarkMenuSidedItemExpandableItemCheck:be,DThemeDarkMenuSidedItemExpandableItemLink:Ie,DThemeDarkMenuSidedItemExpandableItemMenu:ve,DThemeDarkMenuSidedItemExpandableItemSeparator:Ce,DThemeDarkMenuSidedItemExpandableItemSpace:xe,DThemeDarkMenuSidedItemExpandableItemText:ye,DThemeDarkMenuSidedItemLink:Be,DThemeDarkMenuSidedItemMenu:Se,DThemeDarkMenuSidedItemSeparator:Me,DThemeDarkMenuSidedItemSpace:_e,DThemeDarkMenuSidedItemText:Le,DThemeDarkNoteError:Pe,DThemeDarkNoteNoItemsFound:Ae,DThemeDarkNoteSearching:ze,DThemeDarkNote:Fe,DThemeDarkPagination:He,DThemeDarkPaginationNavigationButton:Ve,DThemeDarkPaginationDynamicButtons:Ge,DThemeDarkPaginationDotsButton:Ne,DThemeDarkPane:Qn,DThemeDarkPickerColor:X,DThemeDarkPickerColorGradient:$,DThemeDarkPickerDate:Tn,DThemeDarkPickerDatetimeButtonBack:pn,DThemeDarkPickerDatetimeButtonDate:gn,DThemeDarkPickerDatetimeButtonNext:wn,DThemeDarkPickerDatetimeLabel:In,DThemeDarkPickerDatetimeLabelDate:vn,DThemeDarkPickerDatetimeSpace:Cn,DThemeDarkPickerDatetime:kn,DThemeDarkPickerTime:hn,DThemeDarkScrollBar:We,DThemeDarkScrollBarThumb:Xe,DThemeDarkSelectMultiple:$e,DThemeDarkSelect:Qe,DThemeDarkSlider:ui,DThemeDarkSliderHorizontal:ei,DThemeDarkSliderLabel:ii,DThemeDarkSliderThumb:ci,DThemeDarkSliderTrack:fi,DThemeDarkSliderTrackHorizontal:ai,DThemeDarkSliderTrackVertical:li,DThemeDarkSliderValue:hi,DThemeDarkSliderVertical:si,DThemeDarkTable:di,DThemeDarkTableBodyCellButton:xi,DThemeDarkTableBodyCellCheck:yi,DThemeDarkTableBodyCellColor:Bi,DThemeDarkTableBodyCellDate:Mi,DThemeDarkTableBodyCellDatetime:Li,DThemeDarkTableBodyCellIndex:Fi,DThemeDarkTableBodyCellInputInteger:Pi,DThemeDarkTableBodyCellInputReal:Ai,DThemeDarkTableBodyCellInputText:zi,DThemeDarkTableBodyCellLink:Vi,DThemeDarkTableBodyCellSelectDialog:gi,DThemeDarkTableBodyCellSelectMenu:Oi,DThemeDarkTableBodyCellSelectPromise:Ii,DThemeDarkTableBodyCellText:Ci,DThemeDarkTableBodyCellTime:Xi,DThemeDarkTableBodyCells:Ti,DThemeDarkTableBodyRow:ji,DThemeDarkTableBody:mi,DThemeDarkTableCategory:qi,DThemeDarkTableCategoryCell:Zi,DThemeDarkTableHeader:Ji,DThemeDarkTableHeaderCell:Qi,DThemeDarkTableRow:Ui,DThemeDarkText:bn,DThemeDarkTextBase:x,DThemeDarkTreeItemButton:eo,DThemeDarkTreeItemNonEditable:io,DThemeDarkTreeItemText:uo,DThemeDarkTreeItems:to,DThemeDarkTree:ro,DThemeDarkView:fo,DThemeDark:r,EThemeDarkShapeActionValue:sr,EThemeDarkShape:Wt};lo();var so=window;so.wcardinal=so.wcardinal||{};var Do=so.wcardinal.ui=so.wcardinal.ui||{},mo=ho;for(var ko in mo)Do[ko]=mo[ko]}();
|
|
10
10
|
//# sourceMappingURL=wcardinal-ui-theme-dark.min.js.map
|