scandit-capacitor-datacapture-core 6.14.1 → 6.15.0-beta.2
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/ScanditCapacitorDatacaptureCore.podspec +2 -2
- package/android/build.gradle +5 -5
- package/android/src/main/java/com/scandit/capacitor/datacapture/core/ScanditCaptureCoreNative.kt +45 -71
- package/dist/esm/definitions.d.ts +3 -0
- package/dist/esm/ts/DataCaptureVersion.js +1 -1
- package/dist/esm/ts/DataCaptureVersion.js.map +1 -1
- package/dist/esm/web.d.ts +3 -5
- package/dist/esm/web.js +8 -12
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.js +79 -81
- package/dist/plugin.js.map +1 -1
- package/ios/Plugin/ScanditCaptureCore.swift +1 -1
- package/ios/ScanditCaptureCorePlugin.xcodeproj/project.pbxproj +4 -0
- package/package.json +8 -5
|
@@ -11,9 +11,9 @@ Pod::Spec.new do |s|
|
|
|
11
11
|
s.author = package['author']
|
|
12
12
|
s.source = { :git => package['homepage'], :tag => s.version.to_s }
|
|
13
13
|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
|
|
14
|
-
s.ios.deployment_target = '
|
|
14
|
+
s.ios.deployment_target = '13.0'
|
|
15
15
|
s.dependency 'Capacitor'
|
|
16
16
|
s.swift_version = '5.1'
|
|
17
17
|
|
|
18
|
-
s.dependency 'ScanditCaptureCore', '= 6.
|
|
18
|
+
s.dependency 'ScanditCaptureCore', '= 6.15.0-beta.2'
|
|
19
19
|
end
|
package/android/build.gradle
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
ext {
|
|
2
2
|
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.3.1'
|
|
3
|
-
androidxCoreVersion = project.hasProperty('androidxCoreVersion') ? rootProject.ext.androidxCoreVersion : '1.
|
|
3
|
+
androidxCoreVersion = project.hasProperty('androidxCoreVersion') ? rootProject.ext.androidxCoreVersion : '1.6.0'
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
buildscript {
|
|
7
7
|
ext {
|
|
8
|
-
sdk_version = "6.
|
|
8
|
+
sdk_version = "6.15.0-beta.2"
|
|
9
9
|
kotlin_version = "1.5.31"
|
|
10
|
-
agp_version = "7.
|
|
10
|
+
agp_version = "7.2.1"
|
|
11
11
|
}
|
|
12
12
|
repositories {
|
|
13
13
|
google()
|
|
@@ -23,10 +23,10 @@ apply plugin: 'com.android.library'
|
|
|
23
23
|
apply plugin: 'kotlin-android'
|
|
24
24
|
|
|
25
25
|
android {
|
|
26
|
-
compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion :
|
|
26
|
+
compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 32
|
|
27
27
|
defaultConfig {
|
|
28
28
|
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 21
|
|
29
|
-
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion :
|
|
29
|
+
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 32
|
|
30
30
|
versionCode 1
|
|
31
31
|
versionName "1.0"
|
|
32
32
|
}
|
package/android/src/main/java/com/scandit/capacitor/datacapture/core/ScanditCaptureCoreNative.kt
CHANGED
|
@@ -1,36 +1,21 @@
|
|
|
1
1
|
package com.scandit.capacitor.datacapture.core
|
|
2
2
|
|
|
3
3
|
import android.Manifest
|
|
4
|
-
import android.content.pm.PackageManager
|
|
5
4
|
import android.util.Log
|
|
6
|
-
import com.getcapacitor
|
|
7
|
-
import com.getcapacitor.
|
|
8
|
-
import com.getcapacitor.
|
|
9
|
-
import com.getcapacitor.
|
|
10
|
-
import com.getcapacitor.PluginMethod
|
|
5
|
+
import com.getcapacitor.*
|
|
6
|
+
import com.getcapacitor.annotation.CapacitorPlugin
|
|
7
|
+
import com.getcapacitor.annotation.Permission
|
|
8
|
+
import com.getcapacitor.annotation.PermissionCallback
|
|
11
9
|
import com.scandit.capacitor.datacapture.core.communication.CameraPermissionGrantedListener
|
|
12
10
|
import com.scandit.capacitor.datacapture.core.communication.ComponentDeserializersProvider
|
|
13
11
|
import com.scandit.capacitor.datacapture.core.communication.ModeDeserializersProvider
|
|
14
12
|
import com.scandit.capacitor.datacapture.core.data.ResizeAndMoveInfo
|
|
15
13
|
import com.scandit.capacitor.datacapture.core.data.SerializablePoint
|
|
16
14
|
import com.scandit.capacitor.datacapture.core.data.SerializableViewState
|
|
17
|
-
import com.scandit.capacitor.datacapture.core.data.defaults
|
|
18
|
-
import com.scandit.capacitor.datacapture.core.data.defaults.SerializableBrushDefaults
|
|
19
|
-
import com.scandit.capacitor.datacapture.core.data.defaults.SerializableCameraDefaults
|
|
20
|
-
import com.scandit.capacitor.datacapture.core.data.defaults.SerializableCameraSettingsDefault
|
|
21
|
-
import com.scandit.capacitor.datacapture.core.data.defaults.SerializableCoreDefaults
|
|
22
|
-
import com.scandit.capacitor.datacapture.core.data.defaults.SerializableDataCaptureViewDefaults
|
|
23
|
-
import com.scandit.capacitor.datacapture.core.data.defaults.SerializableLaserlineViewfinderDefaults
|
|
24
|
-
import com.scandit.capacitor.datacapture.core.data.defaults.SerializableRectangularViewfinderDefaults
|
|
15
|
+
import com.scandit.capacitor.datacapture.core.data.defaults.*
|
|
25
16
|
import com.scandit.capacitor.datacapture.core.deserializers.Deserializers
|
|
26
17
|
import com.scandit.capacitor.datacapture.core.deserializers.DeserializersProvider
|
|
27
|
-
import com.scandit.capacitor.datacapture.core.errors
|
|
28
|
-
import com.scandit.capacitor.datacapture.core.errors.ContextDeserializationError
|
|
29
|
-
import com.scandit.capacitor.datacapture.core.errors.JsonParseError
|
|
30
|
-
import com.scandit.capacitor.datacapture.core.errors.NoCameraAvailableError
|
|
31
|
-
import com.scandit.capacitor.datacapture.core.errors.NoCameraWithPositionError
|
|
32
|
-
import com.scandit.capacitor.datacapture.core.errors.NoViewToConvertPointError
|
|
33
|
-
import com.scandit.capacitor.datacapture.core.errors.NoViewToConvertQuadrilateralError
|
|
18
|
+
import com.scandit.capacitor.datacapture.core.errors.*
|
|
34
19
|
import com.scandit.capacitor.datacapture.core.handlers.DataCaptureComponentsHandler
|
|
35
20
|
import com.scandit.capacitor.datacapture.core.handlers.DataCaptureContextHandler
|
|
36
21
|
import com.scandit.capacitor.datacapture.core.handlers.DataCaptureViewHandler
|
|
@@ -46,17 +31,9 @@ import com.scandit.datacapture.core.common.geometry.QuadrilateralDeserializer
|
|
|
46
31
|
import com.scandit.datacapture.core.common.geometry.toJson
|
|
47
32
|
import com.scandit.datacapture.core.component.serialization.DataCaptureComponentDeserializer
|
|
48
33
|
import com.scandit.datacapture.core.json.JsonValue
|
|
49
|
-
import com.scandit.datacapture.core.source
|
|
50
|
-
import com.scandit.datacapture.core.source.CameraPosition
|
|
51
|
-
import com.scandit.datacapture.core.source.CameraPositionDeserializer
|
|
52
|
-
import com.scandit.datacapture.core.source.CameraSettings
|
|
53
|
-
import com.scandit.datacapture.core.source.FrameSource
|
|
54
|
-
import com.scandit.datacapture.core.source.FrameSourceState
|
|
55
|
-
import com.scandit.datacapture.core.source.FrameSourceStateDeserializer
|
|
56
|
-
import com.scandit.datacapture.core.source.TorchStateDeserializer
|
|
34
|
+
import com.scandit.datacapture.core.source.*
|
|
57
35
|
import com.scandit.datacapture.core.source.serialization.FrameSourceDeserializer
|
|
58
36
|
import com.scandit.datacapture.core.source.serialization.FrameSourceDeserializerListener
|
|
59
|
-
import com.scandit.datacapture.core.source.toJson
|
|
60
37
|
import com.scandit.datacapture.core.ui.DataCaptureView
|
|
61
38
|
import com.scandit.datacapture.core.ui.DataCaptureViewListener
|
|
62
39
|
import com.scandit.datacapture.core.ui.style.Brush
|
|
@@ -66,14 +43,11 @@ import com.scandit.datacapture.core.ui.viewfinder.RectangularViewfinder
|
|
|
66
43
|
import org.json.JSONArray
|
|
67
44
|
import org.json.JSONException
|
|
68
45
|
import org.json.JSONObject
|
|
69
|
-
import java.util.concurrent.atomic.AtomicBoolean
|
|
70
46
|
|
|
71
|
-
@
|
|
72
|
-
|
|
73
|
-
ScanditCaptureCoreNative.CODE_CAMERA_PERMISSIONS
|
|
74
|
-
],
|
|
47
|
+
@CapacitorPlugin(
|
|
48
|
+
name = "ScanditCaptureCoreNative",
|
|
75
49
|
permissions = [
|
|
76
|
-
Manifest.permission.CAMERA
|
|
50
|
+
Permission(strings = [Manifest.permission.CAMERA], alias = "camera")
|
|
77
51
|
]
|
|
78
52
|
)
|
|
79
53
|
class ScanditCaptureCoreNative :
|
|
@@ -85,8 +59,6 @@ class ScanditCaptureCoreNative :
|
|
|
85
59
|
FrameSourceDeserializerListener {
|
|
86
60
|
|
|
87
61
|
companion object {
|
|
88
|
-
const val CODE_CAMERA_PERMISSIONS = 200
|
|
89
|
-
|
|
90
62
|
private const val ACTION_STATUS_CHANGED = "didChangeStatus"
|
|
91
63
|
private const val ACTION_CONTEXT_OBSERVATION_STARTED = "didStartObservingContext"
|
|
92
64
|
private const val ACTION_VIEW_SIZE_CHANGED = "didChangeSizeOrientation"
|
|
@@ -94,15 +66,13 @@ class ScanditCaptureCoreNative :
|
|
|
94
66
|
private val SCANDIT_PLUGINS = listOf(
|
|
95
67
|
"ScanditBarcodeNative",
|
|
96
68
|
"ScanditParserNative",
|
|
69
|
+
"ScanditIdNative",
|
|
97
70
|
"ScanditTextNative"
|
|
98
71
|
)
|
|
99
72
|
}
|
|
100
73
|
|
|
101
74
|
private val uiWorker = UiWorker()
|
|
102
75
|
|
|
103
|
-
private val cameraPermissionsGranted: AtomicBoolean = AtomicBoolean(false)
|
|
104
|
-
private val cameraPermissionsRequested: AtomicBoolean = AtomicBoolean(false)
|
|
105
|
-
|
|
106
76
|
private val captureContextHandler = DataCaptureContextHandler(this)
|
|
107
77
|
private val captureComponentsHandler = DataCaptureComponentsHandler()
|
|
108
78
|
private val captureViewHandler = DataCaptureViewHandler(this, uiWorker)
|
|
@@ -160,7 +130,6 @@ class ScanditCaptureCoreNative :
|
|
|
160
130
|
}
|
|
161
131
|
|
|
162
132
|
captureViewHandler.attachWebView(bridge.webView, bridge.activity)
|
|
163
|
-
checkOrRequestCameraPermission()
|
|
164
133
|
}
|
|
165
134
|
|
|
166
135
|
private fun retrieveAllModeDeserializers(): List<DataCaptureModeDeserializer> =
|
|
@@ -176,44 +145,41 @@ class ScanditCaptureCoreNative :
|
|
|
176
145
|
.flatten()
|
|
177
146
|
|
|
178
147
|
private fun checkCameraPermission(): Boolean {
|
|
179
|
-
|
|
180
|
-
if (hasPermission) {
|
|
181
|
-
cameraPermissionsGranted.set(true)
|
|
182
|
-
cameraPermissionsRequested.set(false)
|
|
183
|
-
}
|
|
184
|
-
return hasPermission
|
|
148
|
+
return getPermissionState("camera") == PermissionState.GRANTED
|
|
185
149
|
}
|
|
186
150
|
|
|
187
|
-
private fun
|
|
188
|
-
if (
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
),
|
|
193
|
-
CODE_CAMERA_PERMISSIONS
|
|
194
|
-
)
|
|
151
|
+
private fun checkOrRequestInitialCameraPermission(call: PluginCall) {
|
|
152
|
+
if (getPermissionState("camera") != PermissionState.GRANTED) {
|
|
153
|
+
requestPermissionForAlias("camera", call, "initialCameraPermsCallback")
|
|
154
|
+
} else {
|
|
155
|
+
initializeContextFromJson(call)
|
|
195
156
|
}
|
|
196
157
|
}
|
|
197
158
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
159
|
+
private fun checkOrRequestUpdateCameraPermission(call: PluginCall) {
|
|
160
|
+
if (getPermissionState("camera") != PermissionState.GRANTED) {
|
|
161
|
+
requestPermissionForAlias("camera", call, "updateCameraPermsCallback")
|
|
162
|
+
} else {
|
|
163
|
+
updateContext(call)
|
|
164
|
+
}
|
|
165
|
+
}
|
|
204
166
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
167
|
+
@Suppress("unused")
|
|
168
|
+
@PermissionCallback
|
|
169
|
+
private fun initialCameraPermsCallback(call: PluginCall) {
|
|
170
|
+
if (getPermissionState("camera") == PermissionState.GRANTED) {
|
|
171
|
+
notifyCameraPermissionGrantedToPlugins()
|
|
210
172
|
}
|
|
173
|
+
initializeContextFromJson(call)
|
|
174
|
+
}
|
|
211
175
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
176
|
+
@Suppress("unused")
|
|
177
|
+
@PermissionCallback
|
|
178
|
+
private fun updateCameraPermsCallback(call: PluginCall) {
|
|
179
|
+
if (getPermissionState("camera") == PermissionState.GRANTED) {
|
|
215
180
|
notifyCameraPermissionGrantedToPlugins()
|
|
216
181
|
}
|
|
182
|
+
updateContext(call)
|
|
217
183
|
}
|
|
218
184
|
|
|
219
185
|
private fun notifyCameraPermissionGrantedToPlugins() {
|
|
@@ -326,7 +292,11 @@ class ScanditCaptureCoreNative :
|
|
|
326
292
|
//region DataCaptureContextProxy
|
|
327
293
|
@PluginMethod
|
|
328
294
|
override fun contextFromJSON(call: PluginCall) {
|
|
329
|
-
|
|
295
|
+
checkOrRequestInitialCameraPermission(call)
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
private fun initializeContextFromJson(call: PluginCall) {
|
|
299
|
+
try {
|
|
330
300
|
val jsonString = call.data.getString("context")
|
|
331
301
|
?: return call.reject("Empty strings are not allowed.")
|
|
332
302
|
val deserializationResult = deserializers.dataCaptureContextDeserializer
|
|
@@ -358,6 +328,10 @@ class ScanditCaptureCoreNative :
|
|
|
358
328
|
|
|
359
329
|
@PluginMethod
|
|
360
330
|
override fun updateContextFromJSON(call: PluginCall) {
|
|
331
|
+
checkOrRequestUpdateCameraPermission(call)
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
private fun updateContext(call: PluginCall) {
|
|
361
335
|
try {
|
|
362
336
|
if (captureContextHandler.dataCaptureContext == null) {
|
|
363
337
|
captureContextHandler.attachDataCaptureContext(
|
|
@@ -2,6 +2,8 @@ export declare type Optional<T> = T | null;
|
|
|
2
2
|
export interface ScanditCaptureCorePluginInterface {
|
|
3
3
|
initializePlugins(): Promise<any>;
|
|
4
4
|
}
|
|
5
|
+
|
|
6
|
+
export const ScanditCaptureCorePlugin: ScanditCaptureCorePluginInterface;
|
|
5
7
|
declare module Scandit {
|
|
6
8
|
|
|
7
9
|
export enum FrameSourceState {
|
|
@@ -1022,3 +1024,4 @@ export class VolumeButtonObserver {
|
|
|
1022
1024
|
}
|
|
1023
1025
|
|
|
1024
1026
|
}
|
|
1027
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataCaptureVersion.js","sourceRoot":"","sources":["../../../src/ts/DataCaptureVersion.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,kBAAkB;IACpB,MAAM,KAAK,aAAa;QAC3B,OAAO,
|
|
1
|
+
{"version":3,"file":"DataCaptureVersion.js","sourceRoot":"","sources":["../../../src/ts/DataCaptureVersion.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,kBAAkB;IACpB,MAAM,KAAK,aAAa;QAC3B,OAAO,eAAe,CAAC;IAC3B,CAAC;CACJ"}
|
package/dist/esm/web.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { WebPlugin } from '@capacitor/core';
|
|
2
1
|
import { ScanditCaptureCorePluginInterface } from './definitions';
|
|
3
|
-
export
|
|
4
|
-
|
|
2
|
+
export * from './definitions';
|
|
3
|
+
export declare class ScanditCaptureCorePluginImplementation implements ScanditCaptureCorePluginInterface {
|
|
5
4
|
initializePlugins(): Promise<any>;
|
|
6
5
|
}
|
|
7
|
-
declare const
|
|
8
|
-
export { scanditCaptureCore };
|
|
6
|
+
export declare const ScanditCaptureCorePlugin: ScanditCaptureCorePluginImplementation;
|
package/dist/esm/web.js
CHANGED
|
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
10
|
+
import { registerPlugin } from '@capacitor/core';
|
|
11
11
|
import { getDefaults } from './ts/Capacitor/Capacitor';
|
|
12
12
|
import { Color, Direction, MarginsWithUnit, MeasureUnit, NumberWithUnit, Orientation, Point, PointWithUnit, Quadrilateral, Rect, RectWithUnit, Size, SizeWithAspect, SizeWithUnit, SizeWithUnitAndAspect, SizingMode, } from './ts/Common';
|
|
13
13
|
import { RadiusLocationSelection, RectangularLocationSelection, } from './ts/LocationSelection';
|
|
@@ -23,13 +23,7 @@ import { DataCaptureVersion, } from './ts/DataCaptureVersion';
|
|
|
23
23
|
import { NoneLocationSelection, } from './ts/LocationSelection';
|
|
24
24
|
import { VolumeButtonObserver, } from './ts/VolumeButtonObserver';
|
|
25
25
|
const corePluginName = 'ScanditCaptureCorePlugin';
|
|
26
|
-
export class
|
|
27
|
-
constructor() {
|
|
28
|
-
super({
|
|
29
|
-
name: corePluginName,
|
|
30
|
-
platforms: ['ios', 'android'],
|
|
31
|
-
});
|
|
32
|
-
}
|
|
26
|
+
export class ScanditCaptureCorePluginImplementation {
|
|
33
27
|
initializePlugins() {
|
|
34
28
|
return __awaiter(this, void 0, void 0, function* () {
|
|
35
29
|
let api = {
|
|
@@ -96,8 +90,10 @@ export class ScanditCaptureCorePlugin extends WebPlugin {
|
|
|
96
90
|
});
|
|
97
91
|
}
|
|
98
92
|
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
93
|
+
registerPlugin(corePluginName, {
|
|
94
|
+
android: () => new ScanditCaptureCorePluginImplementation(),
|
|
95
|
+
ios: () => new ScanditCaptureCorePluginImplementation(),
|
|
96
|
+
});
|
|
97
|
+
// tslint:disable-next-line:variable-name
|
|
98
|
+
export const ScanditCaptureCorePlugin = new ScanditCaptureCorePluginImplementation();
|
|
103
99
|
//# sourceMappingURL=web.js.map
|
package/dist/esm/web.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAIvD,OAAO,EACH,KAAK,EACL,SAAS,EACT,eAAe,EACf,WAAW,EACX,cAAc,EACd,WAAW,EACX,KAAK,EACL,aAAa,EACb,aAAa,EACb,IAAI,EACJ,YAAY,EACZ,IAAI,EACJ,cAAc,EACd,YAAY,EACZ,qBAAqB,EACrB,UAAU,GACb,MAAM,aAAa,CAAC;AAErB,OAAO,EACH,uBAAuB,EACvB,4BAA4B,GAC/B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACH,eAAe,EACf,KAAK,EACL,mBAAmB,EACnB,YAAY,EACZ,qBAAqB,GACxB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACH,wBAAwB,EACxB,8BAA8B,EAC9B,8BAA8B,EAC9B,0BAA0B,GAC7B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACH,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,eAAe,GAClB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACH,QAAQ,EACR,KAAK,EACL,SAAS,GACZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAEzF,OAAO,EACH,MAAM,EACN,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,GACpB,MAA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