@shapediver/viewer.shared.services 3.16.8 → 3.16.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/converter/Converter.d.ts +77 -77
  2. package/dist/converter/Converter.js +424 -424
  3. package/dist/converter/Converter.js.map +1 -1
  4. package/dist/dom-event-engine/DomEventEngine.d.ts +56 -56
  5. package/dist/dom-event-engine/DomEventEngine.js +275 -275
  6. package/dist/dom-event-engine/DomEventEngine.js.map +1 -1
  7. package/dist/dom-event-engine/IDomEventListener.d.ts +10 -10
  8. package/dist/dom-event-engine/IDomEventListener.js +2 -2
  9. package/dist/event-engine/EventEngine.d.ts +35 -35
  10. package/dist/event-engine/EventEngine.js +107 -107
  11. package/dist/event-engine/EventEngine.js.map +1 -1
  12. package/dist/event-engine/interfaces/ICallback.d.ts +4 -4
  13. package/dist/event-engine/interfaces/ICallback.js +2 -2
  14. package/dist/event-engine/interfaces/IListener.d.ts +5 -5
  15. package/dist/event-engine/interfaces/IListener.js +2 -2
  16. package/dist/http-client/HttpClient.d.ts +106 -106
  17. package/dist/http-client/HttpClient.js +375 -375
  18. package/dist/http-client/HttpClient.js.map +1 -1
  19. package/dist/http-client/HttpResponse.d.ts +5 -5
  20. package/dist/http-client/HttpResponse.js +2 -2
  21. package/dist/index.d.ts +43 -43
  22. package/dist/index.js +102 -102
  23. package/dist/input-validator/InputValidator.d.ts +10 -10
  24. package/dist/input-validator/InputValidator.d.ts.map +1 -1
  25. package/dist/input-validator/InputValidator.js +169 -169
  26. package/dist/input-validator/InputValidator.js.map +1 -1
  27. package/dist/logger/ErrorTypeGuards.d.ts +41 -41
  28. package/dist/logger/ErrorTypeGuards.js +158 -159
  29. package/dist/logger/ErrorTypeGuards.js.map +1 -1
  30. package/dist/logger/Logger.d.ts +63 -63
  31. package/dist/logger/Logger.js +179 -179
  32. package/dist/logger/Logger.js.map +1 -1
  33. package/dist/logger/ShapeDiverBackendErrors.d.ts +14 -14
  34. package/dist/logger/ShapeDiverBackendErrors.js +28 -28
  35. package/dist/logger/ShapeDiverError.d.ts +33 -33
  36. package/dist/logger/ShapeDiverError.js +43 -43
  37. package/dist/logger/ShapeDiverError.js.map +1 -1
  38. package/dist/logger/ShapeDiverViewerErrors.d.ts +87 -87
  39. package/dist/logger/ShapeDiverViewerErrors.d.ts.map +1 -1
  40. package/dist/logger/ShapeDiverViewerErrors.js +119 -119
  41. package/dist/logger/ShapeDiverViewerErrors.js.map +1 -1
  42. package/dist/parameter-utils/ParameterUtils.d.ts +3 -3
  43. package/dist/parameter-utils/ParameterUtils.d.ts.map +1 -1
  44. package/dist/parameter-utils/ParameterUtils.js +161 -161
  45. package/dist/parameter-utils/ParameterUtils.js.map +1 -1
  46. package/dist/performance-evaluator/PerformanceEvaluator.d.ts +65 -65
  47. package/dist/performance-evaluator/PerformanceEvaluator.js +125 -125
  48. package/dist/settings-engine/SettingsEngine.d.ts +43 -43
  49. package/dist/settings-engine/SettingsEngine.d.ts.map +1 -1
  50. package/dist/settings-engine/SettingsEngine.js +162 -162
  51. package/dist/settings-engine/SettingsEngine.js.map +1 -1
  52. package/dist/settings-engine/defaults/Defaults.d.ts +2 -2
  53. package/dist/settings-engine/defaults/Defaults.js +102 -102
  54. package/dist/settings-engine/defaults/FurnitureDefaults.d.ts +2 -2
  55. package/dist/settings-engine/defaults/FurnitureDefaults.js +158 -158
  56. package/dist/settings-engine/defaults/HighPerformanceDefaults.d.ts +2 -2
  57. package/dist/settings-engine/defaults/HighPerformanceDefaults.js +114 -114
  58. package/dist/settings-engine/defaults/JewelryDefaults.d.ts +2 -2
  59. package/dist/settings-engine/defaults/JewelryDefaults.js +91 -91
  60. package/dist/settings-engine/defaults/MedicalDefaults.d.ts +2 -2
  61. package/dist/settings-engine/defaults/MedicalDefaults.js +102 -102
  62. package/dist/settings-engine/defaults/TwoDimensionalDefaults.d.ts +2 -2
  63. package/dist/settings-engine/defaults/TwoDimensionalDefaults.js +83 -83
  64. package/dist/state-engine/ISessionGlobalAccessObjectDefinition.d.ts +21 -21
  65. package/dist/state-engine/ISessionGlobalAccessObjectDefinition.js +2 -2
  66. package/dist/state-engine/IViewportGlobalAccessObjectDefinition.d.ts +33 -33
  67. package/dist/state-engine/IViewportGlobalAccessObjectDefinition.js +2 -2
  68. package/dist/state-engine/StateEngine.d.ts +18 -18
  69. package/dist/state-engine/StateEngine.js +32 -32
  70. package/dist/state-engine/StatePromise.d.ts +13 -13
  71. package/dist/state-engine/StatePromise.js +55 -55
  72. package/dist/system-info/SystemInfo.d.ts +57 -57
  73. package/dist/system-info/SystemInfo.js +127 -127
  74. package/dist/system-info/SystemInfo.js.map +1 -1
  75. package/dist/type-check/TypeChecker.d.ts +6 -6
  76. package/dist/type-check/TypeChecker.js +19 -19
  77. package/dist/utilities/ObservableArray.d.ts +25 -25
  78. package/dist/utilities/ObservableArray.d.ts.map +1 -1
  79. package/dist/utilities/ObservableArray.js +64 -64
  80. package/dist/utilities/ObservableArray.js.map +1 -1
  81. package/dist/utilities/base64.d.ts +2 -2
  82. package/dist/utilities/base64.d.ts.map +1 -1
  83. package/dist/utilities/base64.js +21 -21
  84. package/dist/utilities/base64.js.map +1 -1
  85. package/dist/utilities/hashCreator.d.ts +7 -7
  86. package/dist/utilities/hashCreator.d.ts.map +1 -1
  87. package/dist/utilities/hashCreator.js +29 -29
  88. package/dist/utilities/hashCreator.js.map +1 -1
  89. package/dist/utilities/numberCleaner.d.ts +1 -1
  90. package/dist/utilities/numberCleaner.d.ts.map +1 -1
  91. package/dist/utilities/numberCleaner.js +8 -8
  92. package/dist/uuid-generator/UuidGenerator.d.ts +28 -28
  93. package/dist/uuid-generator/UuidGenerator.js +46 -46
  94. package/package.json +6 -6
@@ -1,159 +1,159 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FurnitureDefaults = void 0;
4
- const FurnitureDefaults = () => {
5
- const s = {
6
- build_date: "",
7
- build_version: "",
8
- configuration: {},
9
- settings_version: "",
10
- ar: {
11
- enable: true,
12
- autoScaling: true,
13
- },
14
- camera: {
15
- cameraId: "",
16
- cameras: {},
17
- loadDefaultCameras: true,
18
- },
19
- environment: {
20
- clearAlpha: 1.0,
21
- clearColor: "#ffffff",
22
- map: "furniture_studio",
23
- mapAsBackground: true,
24
- mapResolution: "1024",
25
- rotation: { x: 0, y: 0, z: 0, w: 1 },
26
- intensity: 1,
27
- blurriness: 0.4,
28
- },
29
- environmentGeometry: {
30
- gridColor: "#44444426",
31
- gridVisibility: false,
32
- groundPlaneColor: "#101012ff",
33
- groundPlaneVisibility: false,
34
- groundPlaneShadowColor: "#3f3f3fff",
35
- groundPlaneShadowVisibility: true,
36
- contactShadowBlur: 2.5,
37
- contactShadowHeight: 0.25,
38
- contactShadowDarkness: 1,
39
- contactShadowVisibility: true,
40
- contactShadowOpacity: 1,
41
- },
42
- general: {
43
- transformation: {
44
- scale: { x: 1, y: 1, z: 1 },
45
- translation: { x: 0, y: 0, z: 0 },
46
- rotation: { x: 0, y: 0, z: 0 },
47
- },
48
- blurWhenBusy: true,
49
- pointSize: 1.0,
50
- showMessages: true,
51
- },
52
- light: {
53
- lightSceneId: "standard",
54
- lightScenes: {
55
- standard: {
56
- name: "standard",
57
- lights: {
58
- directional0: {
59
- name: "directional0",
60
- type: "directional",
61
- properties: {
62
- color: "#fff4e1ff",
63
- intensity: 0.75,
64
- direction: {
65
- x: 0.5774000287055969,
66
- y: -0.5774000287055969,
67
- z: 0.5774000287055969,
68
- },
69
- castShadow: true,
70
- shadowMapResolution: 1024,
71
- shadowMapBias: -0.003,
72
- },
73
- order: 0,
74
- },
75
- directional1: {
76
- name: "directional1",
77
- type: "directional",
78
- properties: {
79
- color: "#fff4e1ff",
80
- intensity: 2.75,
81
- direction: {
82
- x: -0.35,
83
- y: -0.35,
84
- z: 0.75,
85
- },
86
- castShadow: true,
87
- shadowMapResolution: 1024,
88
- shadowMapBias: -0.003,
89
- },
90
- order: 0,
91
- },
92
- directional_front: {
93
- name: "directional_front",
94
- type: "directional",
95
- properties: {
96
- color: "#dbf5ff",
97
- intensity: 0.25,
98
- direction: {
99
- x: 0,
100
- y: -1,
101
- z: 0.75,
102
- },
103
- castShadow: true,
104
- shadowMapResolution: 1024,
105
- shadowMapBias: -0.003,
106
- },
107
- },
108
- },
109
- },
110
- },
111
- },
112
- postprocessing: {
113
- antiAliasingTechnique: "smaa",
114
- antiAliasingTechniqueMobile: "fxaa",
115
- enablePostProcessingOnMobile: true,
116
- ssaaSampleLevel: 2,
117
- effects: [
118
- {
119
- properties: {
120
- resolutionScale: 1,
121
- spp: 16,
122
- distance: 1,
123
- distanceIntensity: 1,
124
- intensity: 3.5,
125
- color: "#000000",
126
- iterations: 1,
127
- radius: 12,
128
- rings: 11,
129
- lumaPhi: 10,
130
- depthPhi: 2,
131
- normalPhi: 3.25,
132
- samples: 16,
133
- },
134
- type: "ssao",
135
- },
136
- ],
137
- },
138
- rendering: {
139
- automaticColorAdjustment: true,
140
- beautyRenderDelay: 50,
141
- beautyRenderBlendingDuration: 1500,
142
- lights: true,
143
- outputEncoding: "srgb",
144
- physicallyCorrectLights: true,
145
- shadows: true,
146
- softShadows: true,
147
- textureEncoding: "srgb",
148
- toneMapping: "aces_filmic",
149
- toneMappingExposure: 1,
150
- },
151
- session: {},
152
- material: {
153
- defaultMaterialColor: "#199b9bff",
154
- },
155
- };
156
- return s;
157
- };
158
- exports.FurnitureDefaults = FurnitureDefaults;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FurnitureDefaults = void 0;
4
+ const FurnitureDefaults = () => {
5
+ const s = {
6
+ build_date: "",
7
+ build_version: "",
8
+ configuration: {},
9
+ settings_version: "",
10
+ ar: {
11
+ enable: true,
12
+ autoScaling: true,
13
+ },
14
+ camera: {
15
+ cameraId: "",
16
+ cameras: {},
17
+ loadDefaultCameras: true,
18
+ },
19
+ environment: {
20
+ clearAlpha: 1.0,
21
+ clearColor: "#ffffff",
22
+ map: "furniture_studio",
23
+ mapAsBackground: true,
24
+ mapResolution: "1024",
25
+ rotation: { x: 0, y: 0, z: 0, w: 1 },
26
+ intensity: 1,
27
+ blurriness: 0.4,
28
+ },
29
+ environmentGeometry: {
30
+ gridColor: "#44444426",
31
+ gridVisibility: false,
32
+ groundPlaneColor: "#101012ff",
33
+ groundPlaneVisibility: false,
34
+ groundPlaneShadowColor: "#3f3f3fff",
35
+ groundPlaneShadowVisibility: true,
36
+ contactShadowBlur: 2.5,
37
+ contactShadowHeight: 0.25,
38
+ contactShadowDarkness: 1,
39
+ contactShadowVisibility: true,
40
+ contactShadowOpacity: 1,
41
+ },
42
+ general: {
43
+ transformation: {
44
+ scale: { x: 1, y: 1, z: 1 },
45
+ translation: { x: 0, y: 0, z: 0 },
46
+ rotation: { x: 0, y: 0, z: 0 },
47
+ },
48
+ blurWhenBusy: true,
49
+ pointSize: 1.0,
50
+ showMessages: true,
51
+ },
52
+ light: {
53
+ lightSceneId: "standard",
54
+ lightScenes: {
55
+ standard: {
56
+ name: "standard",
57
+ lights: {
58
+ directional0: {
59
+ name: "directional0",
60
+ type: "directional",
61
+ properties: {
62
+ color: "#fff4e1ff",
63
+ intensity: 0.75,
64
+ direction: {
65
+ x: 0.5774000287055969,
66
+ y: -0.5774000287055969,
67
+ z: 0.5774000287055969,
68
+ },
69
+ castShadow: true,
70
+ shadowMapResolution: 1024,
71
+ shadowMapBias: -0.003,
72
+ },
73
+ order: 0,
74
+ },
75
+ directional1: {
76
+ name: "directional1",
77
+ type: "directional",
78
+ properties: {
79
+ color: "#fff4e1ff",
80
+ intensity: 2.75,
81
+ direction: {
82
+ x: -0.35,
83
+ y: -0.35,
84
+ z: 0.75,
85
+ },
86
+ castShadow: true,
87
+ shadowMapResolution: 1024,
88
+ shadowMapBias: -0.003,
89
+ },
90
+ order: 0,
91
+ },
92
+ directional_front: {
93
+ name: "directional_front",
94
+ type: "directional",
95
+ properties: {
96
+ color: "#dbf5ff",
97
+ intensity: 0.25,
98
+ direction: {
99
+ x: 0,
100
+ y: -1,
101
+ z: 0.75,
102
+ },
103
+ castShadow: true,
104
+ shadowMapResolution: 1024,
105
+ shadowMapBias: -0.003,
106
+ },
107
+ },
108
+ },
109
+ },
110
+ },
111
+ },
112
+ postprocessing: {
113
+ antiAliasingTechnique: "smaa",
114
+ antiAliasingTechniqueMobile: "fxaa",
115
+ enablePostProcessingOnMobile: true,
116
+ ssaaSampleLevel: 2,
117
+ effects: [
118
+ {
119
+ properties: {
120
+ resolutionScale: 1,
121
+ spp: 16,
122
+ distance: 1,
123
+ distanceIntensity: 1,
124
+ intensity: 3.5,
125
+ color: "#000000",
126
+ iterations: 1,
127
+ radius: 12,
128
+ rings: 11,
129
+ lumaPhi: 10,
130
+ depthPhi: 2,
131
+ normalPhi: 3.25,
132
+ samples: 16,
133
+ },
134
+ type: "ssao",
135
+ },
136
+ ],
137
+ },
138
+ rendering: {
139
+ automaticColorAdjustment: true,
140
+ beautyRenderDelay: 50,
141
+ beautyRenderBlendingDuration: 1500,
142
+ lights: true,
143
+ outputEncoding: "srgb",
144
+ physicallyCorrectLights: true,
145
+ shadows: true,
146
+ softShadows: true,
147
+ textureEncoding: "srgb",
148
+ toneMapping: "aces_filmic",
149
+ toneMappingExposure: 1,
150
+ },
151
+ session: {},
152
+ material: {
153
+ defaultMaterialColor: "#199b9bff",
154
+ },
155
+ };
156
+ return s;
157
+ };
158
+ exports.FurnitureDefaults = FurnitureDefaults;
159
159
  //# sourceMappingURL=FurnitureDefaults.js.map
@@ -1,3 +1,3 @@
1
- import { ISettings } from "@shapediver/viewer.settings";
2
- export declare const HighPerformanceDefaults: () => ISettings;
1
+ import { ISettings } from "@shapediver/viewer.settings";
2
+ export declare const HighPerformanceDefaults: () => ISettings;
3
3
  //# sourceMappingURL=HighPerformanceDefaults.d.ts.map
@@ -1,115 +1,115 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HighPerformanceDefaults = void 0;
4
- const HighPerformanceDefaults = () => {
5
- const s = {
6
- build_date: "",
7
- build_version: "",
8
- configuration: {},
9
- settings_version: "7.0",
10
- ar: {
11
- enable: true,
12
- autoScaling: true,
13
- },
14
- camera: {
15
- cameraId: "",
16
- cameras: {},
17
- loadDefaultCameras: true,
18
- },
19
- environment: {
20
- clearAlpha: 1.0,
21
- clearColor: "#ffffff",
22
- map: "null",
23
- mapAsBackground: false,
24
- mapResolution: "1024",
25
- rotation: { x: 0, y: 0, z: 0, w: 1 },
26
- intensity: 1,
27
- blurriness: 0,
28
- },
29
- environmentGeometry: {
30
- gridColor: "#44444426",
31
- gridVisibility: false,
32
- groundPlaneColor: "#636363ff",
33
- groundPlaneVisibility: false,
34
- groundPlaneShadowColor: "#d3d3d3ff",
35
- groundPlaneShadowVisibility: false,
36
- contactShadowBlur: 1.5,
37
- contactShadowHeight: 0.25,
38
- contactShadowDarkness: 2.5,
39
- contactShadowVisibility: false,
40
- contactShadowOpacity: 1,
41
- },
42
- general: {
43
- transformation: {
44
- scale: { x: 1, y: 1, z: 1 },
45
- translation: { x: 0, y: 0, z: 0 },
46
- rotation: { x: 0, y: 0, z: 0 },
47
- },
48
- blurWhenBusy: true,
49
- pointSize: 1.0,
50
- showMessages: true,
51
- },
52
- light: {
53
- lightSceneId: "standard",
54
- lightScenes: {
55
- standard: {
56
- name: "standard",
57
- lights: {
58
- directional0: {
59
- name: "directional0",
60
- type: "directional",
61
- properties: {
62
- color: "#fff4e1ff",
63
- intensity: 1.5,
64
- direction: {
65
- x: 0.5774000287055969,
66
- y: -0.5774000287055969,
67
- z: 0.5774000287055969,
68
- },
69
- castShadow: false,
70
- },
71
- order: 0,
72
- },
73
- ambient0: {
74
- name: "ambient0",
75
- type: "ambient",
76
- properties: {
77
- color: "#ffffff",
78
- intensity: 1,
79
- },
80
- order: 1,
81
- },
82
- },
83
- },
84
- },
85
- },
86
- postprocessing: {
87
- antiAliasingTechnique: "fxaa",
88
- antiAliasingTechniqueMobile: "fxaa",
89
- enablePostProcessingOnMobile: false,
90
- ssaaSampleLevel: 2,
91
- effects: [],
92
- },
93
- rendering: {
94
- automaticColorAdjustment: true,
95
- beautyRenderDelay: 50,
96
- beautyRenderBlendingDuration: 1500,
97
- lights: true,
98
- outputEncoding: "srgb",
99
- physicallyCorrectLights: true,
100
- shadows: false,
101
- softShadows: false,
102
- textureEncoding: "srgb",
103
- toneMapping: "none",
104
- toneMappingExposure: 1,
105
- },
106
- session: {},
107
- material: {
108
- defaultMaterialColor: "#199b9bff",
109
- materialOverrideType: "lambert",
110
- },
111
- };
112
- return s;
113
- };
114
- exports.HighPerformanceDefaults = HighPerformanceDefaults;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HighPerformanceDefaults = void 0;
4
+ const HighPerformanceDefaults = () => {
5
+ const s = {
6
+ build_date: "",
7
+ build_version: "",
8
+ configuration: {},
9
+ settings_version: "7.0",
10
+ ar: {
11
+ enable: true,
12
+ autoScaling: true,
13
+ },
14
+ camera: {
15
+ cameraId: "",
16
+ cameras: {},
17
+ loadDefaultCameras: true,
18
+ },
19
+ environment: {
20
+ clearAlpha: 1.0,
21
+ clearColor: "#ffffff",
22
+ map: "null",
23
+ mapAsBackground: false,
24
+ mapResolution: "1024",
25
+ rotation: { x: 0, y: 0, z: 0, w: 1 },
26
+ intensity: 1,
27
+ blurriness: 0,
28
+ },
29
+ environmentGeometry: {
30
+ gridColor: "#44444426",
31
+ gridVisibility: false,
32
+ groundPlaneColor: "#636363ff",
33
+ groundPlaneVisibility: false,
34
+ groundPlaneShadowColor: "#d3d3d3ff",
35
+ groundPlaneShadowVisibility: false,
36
+ contactShadowBlur: 1.5,
37
+ contactShadowHeight: 0.25,
38
+ contactShadowDarkness: 2.5,
39
+ contactShadowVisibility: false,
40
+ contactShadowOpacity: 1,
41
+ },
42
+ general: {
43
+ transformation: {
44
+ scale: { x: 1, y: 1, z: 1 },
45
+ translation: { x: 0, y: 0, z: 0 },
46
+ rotation: { x: 0, y: 0, z: 0 },
47
+ },
48
+ blurWhenBusy: true,
49
+ pointSize: 1.0,
50
+ showMessages: true,
51
+ },
52
+ light: {
53
+ lightSceneId: "standard",
54
+ lightScenes: {
55
+ standard: {
56
+ name: "standard",
57
+ lights: {
58
+ directional0: {
59
+ name: "directional0",
60
+ type: "directional",
61
+ properties: {
62
+ color: "#fff4e1ff",
63
+ intensity: 1.5,
64
+ direction: {
65
+ x: 0.5774000287055969,
66
+ y: -0.5774000287055969,
67
+ z: 0.5774000287055969,
68
+ },
69
+ castShadow: false,
70
+ },
71
+ order: 0,
72
+ },
73
+ ambient0: {
74
+ name: "ambient0",
75
+ type: "ambient",
76
+ properties: {
77
+ color: "#ffffff",
78
+ intensity: 1,
79
+ },
80
+ order: 1,
81
+ },
82
+ },
83
+ },
84
+ },
85
+ },
86
+ postprocessing: {
87
+ antiAliasingTechnique: "fxaa",
88
+ antiAliasingTechniqueMobile: "fxaa",
89
+ enablePostProcessingOnMobile: false,
90
+ ssaaSampleLevel: 2,
91
+ effects: [],
92
+ },
93
+ rendering: {
94
+ automaticColorAdjustment: true,
95
+ beautyRenderDelay: 50,
96
+ beautyRenderBlendingDuration: 1500,
97
+ lights: true,
98
+ outputEncoding: "srgb",
99
+ physicallyCorrectLights: true,
100
+ shadows: false,
101
+ softShadows: false,
102
+ textureEncoding: "srgb",
103
+ toneMapping: "none",
104
+ toneMappingExposure: 1,
105
+ },
106
+ session: {},
107
+ material: {
108
+ defaultMaterialColor: "#199b9bff",
109
+ materialOverrideType: "lambert",
110
+ },
111
+ };
112
+ return s;
113
+ };
114
+ exports.HighPerformanceDefaults = HighPerformanceDefaults;
115
115
  //# sourceMappingURL=HighPerformanceDefaults.js.map
@@ -1,3 +1,3 @@
1
- import { ISettings } from "@shapediver/viewer.settings";
2
- export declare const JewelryDefaults: () => ISettings;
1
+ import { ISettings } from "@shapediver/viewer.settings";
2
+ export declare const JewelryDefaults: () => ISettings;
3
3
  //# sourceMappingURL=JewelryDefaults.d.ts.map