@wcardinal/wcardinal-ui 0.442.0 → 0.444.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/wcardinal/ui/d-picker-color.d.ts +3 -0
- package/dist/types/wcardinal/ui/d-table-column-state.d.ts +4 -1
- package/dist/types/wcardinal/ui/d-table-state.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/common/new-svg-rounded-checkerboard.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/common/new-svg-rounded-rect.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-picker-color.d.ts +3 -0
- package/dist/types/wcardinal/ui/theme/dark/new-dark-svg-rounded-checkerboard.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-picker-color.d.ts +3 -0
- package/dist/types/wcardinal/ui/theme/white/new-white-svg-rounded-checkerboard.d.ts +1 -0
- package/dist/types/wcardinal/ui/util/index.d.ts +1 -0
- package/dist/types/wcardinal/ui/util/util-extract.d.ts +13 -2
- package/dist/types/wcardinal/ui/util/util-extractor-canvas.d.ts +18 -0
- package/dist/types/wcardinal/ui/util/util-extractor.d.ts +3 -2
- package/dist/wcardinal/ui/d-image-piece-impl.js +8 -0
- package/dist/wcardinal/ui/d-image-piece-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-picker-color.js +5 -4
- package/dist/wcardinal/ui/d-picker-color.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body.js +3 -2
- package/dist/wcardinal/ui/d-table-body.js.map +1 -1
- package/dist/wcardinal/ui/d-table-column-state.js.map +1 -1
- package/dist/wcardinal/ui/d-table-state.js +4 -0
- package/dist/wcardinal/ui/d-table-state.js.map +1 -1
- package/dist/wcardinal/ui/theme/common/new-svg-rounded-checkerboard.js +20 -0
- package/dist/wcardinal/ui/theme/common/new-svg-rounded-checkerboard.js.map +1 -0
- package/dist/wcardinal/ui/theme/common/new-svg-rounded-rect.js +15 -0
- package/dist/wcardinal/ui/theme/common/new-svg-rounded-rect.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-color-gradient.js +2 -5
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-color-gradient.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-color.js +3 -6
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-color.js +24 -35
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cells.js +7 -2
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cells.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/new-dark-svg-rounded-checkerboard.js +5 -0
- package/dist/wcardinal/ui/theme/dark/new-dark-svg-rounded-checkerboard.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-button-color-gradient.js +2 -5
- package/dist/wcardinal/ui/theme/white/d-theme-white-button-color-gradient.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-button-color.js +3 -6
- package/dist/wcardinal/ui/theme/white/d-theme-white-button-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-picker-color.js +24 -35
- package/dist/wcardinal/ui/theme/white/d-theme-white-picker-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cells.js +7 -2
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cells.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/new-white-svg-rounded-checkerboard.js +5 -0
- package/dist/wcardinal/ui/theme/white/new-white-svg-rounded-checkerboard.js.map +1 -0
- package/dist/wcardinal/ui/util/index.js +1 -0
- package/dist/wcardinal/ui/util/index.js.map +1 -1
- package/dist/wcardinal/ui/util/util-extract.js +34 -10
- package/dist/wcardinal/ui/util/util-extract.js.map +1 -1
- package/dist/wcardinal/ui/util/util-extractor-canvas.js +110 -0
- package/dist/wcardinal/ui/util/util-extractor-canvas.js.map +1 -0
- package/dist/wcardinal/ui/util/util-extractor.js +45 -20
- package/dist/wcardinal/ui/util/util-extractor.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark-en-us.js +71 -49
- package/dist/wcardinal-ui-theme-dark-en-us.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark-en-us.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark-ja-jp.js +71 -49
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +71 -49
- package/dist/wcardinal-ui-theme-dark.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-en-us.js +71 -49
- package/dist/wcardinal-ui-theme-white-en-us.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-en-us.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white-ja-jp.js +71 -49
- package/dist/wcardinal-ui-theme-white-ja-jp.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-ja-jp.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white.js +71 -49
- package/dist/wcardinal-ui-theme-white.min.js +2 -2
- package/dist/wcardinal-ui.cjs.js +313 -132
- package/dist/wcardinal-ui.js +207 -36
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.444.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -6008,16 +6008,27 @@
|
|
|
6008
6008
|
DThemes.setDefaultThemeClass(DThemeWhite);
|
|
6009
6009
|
};
|
|
6010
6010
|
|
|
6011
|
+
var newSvgRoundedRect = function (x, y, width, height, fill, stroke, strokeWidth, strokeOpacity) {
|
|
6012
|
+
var sw = strokeWidth !== null && strokeWidth !== void 0 ? strokeWidth : 0;
|
|
6013
|
+
var o = sw * 0.5;
|
|
6014
|
+
var r = Math.max(0, 3 - o);
|
|
6015
|
+
var w = width - sw - r - r;
|
|
6016
|
+
var h = height - sw - r - r;
|
|
6017
|
+
x += o + r;
|
|
6018
|
+
y += o;
|
|
6019
|
+
return ("<path d=\"M".concat(x, ",").concat(y, " h").concat(w, " a").concat(r, ",").concat(r, " 0 0 1 ").concat(r, ",").concat(r, " v").concat(h, " a").concat(r, ",").concat(r, " 0 0 1 -").concat(r, ",").concat(r, " h-").concat(w, " a").concat(r, ",").concat(r, " 0 0 1 -").concat(r, ",-").concat(r, " v-").concat(h, " a").concat(r, ",").concat(r, " 0 0 1 ").concat(r, ",-").concat(r, "z\" fill=\"").concat(fill, "\"") +
|
|
6020
|
+
(stroke ? " stroke=\"".concat(stroke, "\"") : "") +
|
|
6021
|
+
(strokeWidth != null ? " stroke-width=\"".concat(strokeWidth, "\"") : "") +
|
|
6022
|
+
(strokeOpacity != null ? " stroke-opacity=\"".concat(strokeOpacity, "\"") : "") +
|
|
6023
|
+
" />");
|
|
6024
|
+
};
|
|
6025
|
+
|
|
6011
6026
|
/*
|
|
6012
6027
|
* Copyright (C) 2019 Toshiba Corporation
|
|
6013
6028
|
* SPDX-License-Identifier: Apache-2.0
|
|
6014
6029
|
*/
|
|
6015
|
-
// Material Design icons by Google.
|
|
6016
|
-
// Apache license version 2.0.
|
|
6017
6030
|
/* eslint-disable prettier/prettier */
|
|
6018
|
-
DThemeWhiteAtlas.add("button_color_sample", 21, 21,
|
|
6019
|
-
"<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\"/>" +
|
|
6020
|
-
"</g>");
|
|
6031
|
+
DThemeWhiteAtlas.add("button_color_sample", 21, 21, newSvgRoundedRect(3, 3, 15, 15, "#fff", "#eee", 1));
|
|
6021
6032
|
/* eslint-enable prettier/prettier */
|
|
6022
6033
|
var formatter$8 = function (colorAndAlpha) {
|
|
6023
6034
|
return "#".concat(UtilRgb.toCode(colorAndAlpha.color), " A").concat(colorAndAlpha.alpha.toFixed(2));
|
|
@@ -6028,7 +6039,7 @@
|
|
|
6028
6039
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
6029
6040
|
}
|
|
6030
6041
|
DThemeWhiteButtonColor.prototype.getImageTintColor = function (state) {
|
|
6031
|
-
return
|
|
6042
|
+
return 0xffffff;
|
|
6032
6043
|
};
|
|
6033
6044
|
DThemeWhiteButtonColor.prototype.getImageSource = function (state) {
|
|
6034
6045
|
return DThemeWhiteAtlas.mappings.button_color_sample;
|
|
@@ -6059,25 +6070,35 @@
|
|
|
6059
6070
|
|
|
6060
6071
|
const DColorType = wcardinal.ui.DColorType;
|
|
6061
6072
|
|
|
6073
|
+
var isPatternInjected = false;
|
|
6074
|
+
var newSvgRoundedCheckerboard = function (width, height, color1, color2, stroke, strokeWidth, strokeOpacity) {
|
|
6075
|
+
var result = "";
|
|
6076
|
+
if (!isPatternInjected) {
|
|
6077
|
+
isPatternInjected = true;
|
|
6078
|
+
result =
|
|
6079
|
+
"<defs>" +
|
|
6080
|
+
"<pattern id=\"rounded-checkerboard-pattern\" patternUnits=\"userSpaceOnUse\" width=\"18\" height=\"18\">" +
|
|
6081
|
+
"<rect x=\"0\" y=\"0\" width=\"9\" height=\"9\" fill=\"".concat(color1, "\" />") +
|
|
6082
|
+
"<rect x=\"9\" y=\"0\" width=\"9\" height=\"9\" fill=\"".concat(color2, "\" />") +
|
|
6083
|
+
"<rect x=\"0\" y=\"9\" width=\"9\" height=\"9\" fill=\"".concat(color2, "\" />") +
|
|
6084
|
+
"<rect x=\"9\" y=\"9\" width=\"9\" height=\"9\" fill=\"".concat(color1, "\" />") +
|
|
6085
|
+
"</pattern>" +
|
|
6086
|
+
"</defs>";
|
|
6087
|
+
}
|
|
6088
|
+
result += newSvgRoundedRect(0, 0, width, height, "url(#rounded-checkerboard-pattern)", stroke, strokeWidth, strokeOpacity);
|
|
6089
|
+
return result;
|
|
6090
|
+
};
|
|
6091
|
+
|
|
6092
|
+
var newWhiteSvgRoundedCheckerboard = function (width, height, stroke, strokeWidth, strokeOpacity) {
|
|
6093
|
+
return newSvgRoundedCheckerboard(width, height, "#bfbfbf", "#a5a5a5", stroke, strokeWidth, strokeOpacity);
|
|
6094
|
+
};
|
|
6095
|
+
|
|
6062
6096
|
/*
|
|
6063
6097
|
* Copyright (C) 2019 Toshiba Corporation
|
|
6064
6098
|
* SPDX-License-Identifier: Apache-2.0
|
|
6065
6099
|
*/
|
|
6066
|
-
var makeCheckerboard = function (width, height) {
|
|
6067
|
-
var LIGHT = "#bfbfbf";
|
|
6068
|
-
var DARK = "#a5a5a5";
|
|
6069
|
-
var result = "<g>";
|
|
6070
|
-
for (var ih = 0; ih < height; ++ih) {
|
|
6071
|
-
for (var iw = 0; iw < width; ++iw) {
|
|
6072
|
-
var color = (iw + ih) % 2 === 0 ? LIGHT : DARK;
|
|
6073
|
-
result += "<rect x=\"".concat(9 * iw, "\" y=\"").concat(9 * ih, "\" width=\"9\" height=\"9\" fill=\"").concat(color, "\" />");
|
|
6074
|
-
}
|
|
6075
|
-
}
|
|
6076
|
-
result += "</g>";
|
|
6077
|
-
return result;
|
|
6078
|
-
};
|
|
6079
6100
|
/* eslint-disable prettier/prettier */
|
|
6080
|
-
DThemeWhiteAtlas.add("picker_color_main",
|
|
6101
|
+
DThemeWhiteAtlas.add("picker_color_main", 234, 162, "<g>" +
|
|
6081
6102
|
"<linearGradient id=\"fs7w3iusfdnb\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\">" +
|
|
6082
6103
|
"<stop stop-color=\"#FFFFFF\" stop-opacity=\"0\" offset=\"0\"/>" +
|
|
6083
6104
|
"<stop stop-color=\"#FFFFFF\" stop-opacity=\"1\" offset=\"1\"/>" +
|
|
@@ -6086,13 +6107,11 @@
|
|
|
6086
6107
|
"<stop stop-color=\"#000000\" stop-opacity=\"0\" offset=\"0\"/>" +
|
|
6087
6108
|
"<stop stop-color=\"#000000\" stop-opacity=\"1\" offset=\"1\"/>" +
|
|
6088
6109
|
"</linearGradient>" +
|
|
6089
|
-
|
|
6090
|
-
|
|
6091
|
-
"</g>"
|
|
6092
|
-
DThemeWhiteAtlas.add("picker_color_main_base",
|
|
6093
|
-
|
|
6094
|
-
"</g>", 1, 1, 234, 162);
|
|
6095
|
-
DThemeWhiteAtlas.add("picker_color_alpha_checkerboard", 234, 18, makeCheckerboard(26, 2));
|
|
6110
|
+
newSvgRoundedRect(0, 0, 234, 162, "url(#fs7w3iusfdnb)") +
|
|
6111
|
+
newSvgRoundedRect(0, 0, 234, 162, "url(#2rfcfe9874bw)") +
|
|
6112
|
+
"</g>");
|
|
6113
|
+
DThemeWhiteAtlas.add("picker_color_main_base", 234, 162, "<rect x=\"0\" y=\"0\" width=\"236\" height=\"164\" fill=\"#fff\" />");
|
|
6114
|
+
DThemeWhiteAtlas.add("picker_color_alpha_checkerboard", 234, 18, newWhiteSvgRoundedCheckerboard(234, 18));
|
|
6096
6115
|
DThemeWhiteAtlas.add("picker_color_alpha", 234, 18, "<g>" +
|
|
6097
6116
|
"<linearGradient id=\"s48afbuh44\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\">" +
|
|
6098
6117
|
"<stop stop-color=\"#FFFFFF\" stop-opacity=\"0\" offset=\"0\"/>" +
|
|
@@ -6110,20 +6129,15 @@
|
|
|
6110
6129
|
"<stop stop-color=\"#FF00FF\" offset=\"0.833\"/>" +
|
|
6111
6130
|
"<stop stop-color=\"#FF0000\" offset=\"1\"/>" +
|
|
6112
6131
|
"</linearGradient>" +
|
|
6113
|
-
|
|
6132
|
+
newSvgRoundedRect(0, 0, 234, 18, "url(#ni2rbisdf3)") +
|
|
6114
6133
|
"</g>");
|
|
6115
6134
|
DThemeWhiteAtlas.add("picker_color_base_pointer", 16.2, 31.8, "<rect x=\"4.5\" y=\"4.5\" width=\"7.2\" height=\"22.8\" stroke=\"#5f5f5f\" stroke-width=\"2.4\" fill=\"none\" />");
|
|
6116
6135
|
DThemeWhiteAtlas.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\" />" +
|
|
6117
6136
|
"<circle cx=\"12.9\" cy=\"12.9\" r=\"7.2\" stroke=\"#ffffff\" stroke-width=\"2.4\" fill=\"none\" />");
|
|
6118
|
-
DThemeWhiteAtlas.add("picker_color_recent_checkerboard",
|
|
6119
|
-
DThemeWhiteAtlas.add("picker_color_recent",
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
"</g>", 9, 9, 18, 18);
|
|
6123
|
-
DThemeWhiteAtlas.add("picker_color_sample_checkerboard", 45, 63, makeCheckerboard(5, 7));
|
|
6124
|
-
DThemeWhiteAtlas.add("picker_color_sample", 47, 65, "<g>" +
|
|
6125
|
-
"<rect x=\"0\" y=\"0\" width=\"47\" height=\"65\" fill=\"#fff\" />" +
|
|
6126
|
-
"</g>", 1, 1, 45, 63);
|
|
6137
|
+
DThemeWhiteAtlas.add("picker_color_recent_checkerboard", 18, 18, newWhiteSvgRoundedCheckerboard(18, 18));
|
|
6138
|
+
DThemeWhiteAtlas.add("picker_color_recent", 18, 18, newSvgRoundedRect(0, 0, 18, 18, "#fff", "#eee", 1));
|
|
6139
|
+
DThemeWhiteAtlas.add("picker_color_sample_checkerboard", 42, 66, newWhiteSvgRoundedCheckerboard(42, 66, "#fff", 1, 0));
|
|
6140
|
+
DThemeWhiteAtlas.add("picker_color_sample", 42, 66, newSvgRoundedRect(0, 0, 42, 66, "#fff", "#eee", 1));
|
|
6127
6141
|
DThemeWhiteAtlas.add("picker_color_anchor_outlined", 25.8, 25.8, "<circle cx=\"12.9\" cy=\"12.9\" r=\"8.4\" stroke=\"none\" fill=\"#ffffff\" />" +
|
|
6128
6142
|
"<circle cx=\"12.9\" cy=\"12.9\" r=\"9.6\" stroke=\"#5f5f5f\" stroke-width=\"2.4\" fill=\"none\" />");
|
|
6129
6143
|
DThemeWhiteAtlas.add("picker_color_anchor", 28.2, 28.2, "<circle cx=\"14.1\" cy=\"14.1\" r=\"6\" stroke=\"none\" fill=\"#ffffff\" />" +
|
|
@@ -6131,9 +6145,7 @@
|
|
|
6131
6145
|
DThemeWhiteAtlas.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\" />" +
|
|
6132
6146
|
"<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\" />" +
|
|
6133
6147
|
"<rect x=\"0.6\" y=\"24.6\" width=\"11.4375\" height=\"1.2\" rx=\"0.6\" ry=\"0.6\" stroke=\"none\" fill=\"#5f5f5f\" />");
|
|
6134
|
-
DThemeWhiteAtlas.add("picker_color_standard", 18, 18, "
|
|
6135
|
-
"<rect x=\"0\" y=\"0\" width=\"18\" height=\"18\" fill=\"#fff\" stroke-width=\"1\" stroke=\"#eee\" />" +
|
|
6136
|
-
"</g>");
|
|
6148
|
+
DThemeWhiteAtlas.add("picker_color_standard", 18, 18, newSvgRoundedRect(0, 0, 18, 18, "#fff", "#eee", 1));
|
|
6137
6149
|
/* eslint-enable prettier/prettier */
|
|
6138
6150
|
var DThemeWhitePickerColor = /** @class */ (function (_super) {
|
|
6139
6151
|
__extends(DThemeWhitePickerColor, _super);
|
|
@@ -6225,7 +6237,16 @@
|
|
|
6225
6237
|
return this.getBaseMargin();
|
|
6226
6238
|
};
|
|
6227
6239
|
DThemeWhitePickerColor.prototype.getInputLabelWidth = function () {
|
|
6228
|
-
return
|
|
6240
|
+
return 18;
|
|
6241
|
+
};
|
|
6242
|
+
DThemeWhitePickerColor.prototype.getSampleWidth = function () {
|
|
6243
|
+
return 42;
|
|
6244
|
+
};
|
|
6245
|
+
DThemeWhitePickerColor.prototype.getSampleHeight = function () {
|
|
6246
|
+
return 66;
|
|
6247
|
+
};
|
|
6248
|
+
DThemeWhitePickerColor.prototype.getSampleMargin = function () {
|
|
6249
|
+
return this.getBaseMargin();
|
|
6229
6250
|
};
|
|
6230
6251
|
DThemeWhitePickerColor.prototype.getSampleCheckerboardOldTexture = function () {
|
|
6231
6252
|
return DThemeWhiteAtlas.mappings.picker_color_sample_checkerboard;
|
|
@@ -6322,12 +6343,8 @@
|
|
|
6322
6343
|
* Copyright (C) 2019 Toshiba Corporation
|
|
6323
6344
|
* SPDX-License-Identifier: Apache-2.0
|
|
6324
6345
|
*/
|
|
6325
|
-
// Material Design icons by Google.
|
|
6326
|
-
// Apache license version 2.0.
|
|
6327
6346
|
/* eslint-disable prettier/prettier */
|
|
6328
|
-
DThemeWhiteAtlas.add("button_color_gradient_sample", 21, 21,
|
|
6329
|
-
"<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\"/>" +
|
|
6330
|
-
"</g>");
|
|
6347
|
+
DThemeWhiteAtlas.add("button_color_gradient_sample", 21, 21, newSvgRoundedRect(3, 3, 15, 15, "#fff", "#eee", 1));
|
|
6331
6348
|
/* eslint-enable prettier/prettier */
|
|
6332
6349
|
var formatter$7 = function () {
|
|
6333
6350
|
return "";
|
|
@@ -8424,8 +8441,13 @@
|
|
|
8424
8441
|
return DThemeWhiteConstants.COLOR;
|
|
8425
8442
|
};
|
|
8426
8443
|
DThemeWhiteTableBodyCells.getAlpha = function (state) {
|
|
8427
|
-
if (state.
|
|
8428
|
-
|
|
8444
|
+
if (state.in(DTableState.HAS_DATA)) {
|
|
8445
|
+
if (state.inEnabled) {
|
|
8446
|
+
return 1.0;
|
|
8447
|
+
}
|
|
8448
|
+
else {
|
|
8449
|
+
return 0.5;
|
|
8450
|
+
}
|
|
8429
8451
|
}
|
|
8430
8452
|
return 0;
|
|
8431
8453
|
};
|