@schibsted/pulse-sdk 8.0.0-alpha.10

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.
@@ -0,0 +1,13 @@
1
+ export * from '@schibsted/pulse-sdk-core';
2
+ export * from '@schibsted/tpaas-schemas';
3
+ import type { Builders, SDKConfigInput as CoreSDKConfigInput } from '@schibsted/pulse-sdk-core';
4
+ import CoreTracker from '@schibsted/pulse-sdk-core';
5
+ type RemoteConfig = CoreSDKConfigInput['remoteConfigurationUrl'];
6
+ export type SDKConfigInput = Omit<CoreSDKConfigInput, 'remoteConfigurationUrl' | 'fallbackCisBaseUrl' | 'fallbackCollectorBaseUrl' | 'schemaLocation'> & {
7
+ remoteConfigurationUrl?: RemoteConfig;
8
+ };
9
+ export declare class Tracker extends CoreTracker {
10
+ constructor(provider: string, input?: SDKConfigInput, builders?: Builders);
11
+ }
12
+ export default Tracker;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AAEzC,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAChG,OAAO,WAAW,MAAM,2BAA2B,CAAC;AAoBpD,KAAK,YAAY,GAAG,kBAAkB,CAAC,wBAAwB,CAAC,CAAC;AAEjE,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,kBAAkB,EAChB,wBAAwB,GACxB,oBAAoB,GACpB,0BAA0B,GAC1B,gBAAgB,CACnB,GAAG;IACF,sBAAsB,CAAC,EAAE,YAAY,CAAC;CACvC,CAAC;AAEF,qBAAa,OAAQ,SAAQ,WAAW;gBAC1B,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,cAAc,EAAE,QAAQ,CAAC,EAAE,QAAQ;CAc1E;AACD,eAAe,OAAO,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ var __importDefault = (this && this.__importDefault) || function (mod) {
17
+ return (mod && mod.__esModule) ? mod : { "default": mod };
18
+ };
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.Tracker = void 0;
21
+ __exportStar(require("@schibsted/pulse-sdk-core"), exports);
22
+ __exportStar(require("@schibsted/tpaas-schemas"), exports);
23
+ const pulse_sdk_core_1 = __importDefault(require("@schibsted/pulse-sdk-core"));
24
+ const collectorEndpoints = {
25
+ dev: 'https://collector.pulse-internal-dev.schibsted.io',
26
+ pre: 'https://collector.pulse-internal-pre.schibsted.io',
27
+ pro: 'https://dc.schibsted.io',
28
+ };
29
+ const CISEndpoints = {
30
+ dev: 'https://cis.pulse-internal-dev.schibsted.io',
31
+ pre: 'https://cis.pulse-internal-pre.schibsted.io',
32
+ pro: 'https://ncis.schibsted.com',
33
+ };
34
+ const remoteConfig = {
35
+ dev: 'https://sdkconfig.pulse-internal-dev.schibsted.io/js/config.json',
36
+ pre: 'https://sdkconfig.pulse-internal-pre.schibsted.io/js/config.json',
37
+ pro: 'https://sdkconfig.pulse.schibsted.io/js/config.json',
38
+ };
39
+ class Tracker extends pulse_sdk_core_1.default {
40
+ constructor(provider, input, builders) {
41
+ const deployStage = (input === null || input === void 0 ? void 0 : input.deployStage) || 'pro';
42
+ super(provider, Object.assign({ remoteConfigurationUrl: remoteConfig[deployStage], fallbackCisBaseUrl: CISEndpoints[deployStage], fallbackCollectorBaseUrl: collectorEndpoints[deployStage], schemaLocation: 'schema.schibsted.com' }, input), builders);
43
+ }
44
+ }
45
+ exports.Tracker = Tracker;
46
+ exports.default = Tracker;
47
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,2DAAyC;AAGzC,+EAAoD;AAEpD,MAAM,kBAAkB,GAAG;IACzB,GAAG,EAAE,mDAAmD;IACxD,GAAG,EAAE,mDAAmD;IACxD,GAAG,EAAE,yBAAyB;CAC/B,CAAC;AAEF,MAAM,YAAY,GAAG;IACnB,GAAG,EAAE,6CAA6C;IAClD,GAAG,EAAE,6CAA6C;IAClD,GAAG,EAAE,4BAA4B;CAClC,CAAC;AAEF,MAAM,YAAY,GAAG;IACnB,GAAG,EAAE,kEAAkE;IACvE,GAAG,EAAE,kEAAkE;IACvE,GAAG,EAAE,qDAAqD;CAC3D,CAAC;AAcF,MAAa,OAAQ,SAAQ,wBAAW;IACtC,YAAY,QAAgB,EAAE,KAAsB,EAAE,QAAmB;QACvE,MAAM,WAAW,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,WAAW,KAAI,KAAK,CAAC;QAChD,KAAK,CACH,QAAQ,kBAEN,sBAAsB,EAAE,YAAY,CAAC,WAAW,CAAC,EACjD,kBAAkB,EAAE,YAAY,CAAC,WAAW,CAAC,EAC7C,wBAAwB,EAAE,kBAAkB,CAAC,WAAW,CAAC,EACzD,cAAc,EAAE,sBAAsB,IACnC,KAAK,GAEV,QAAQ,CACT,CAAC;IACJ,CAAC;CACF;AAfD,0BAeC;AACD,kBAAe,OAAO,CAAC"}
@@ -0,0 +1,371 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ViewWidget = exports.ViewWeather = exports.ViewVideoPlayer = exports.ViewVideoAd = exports.ViewVideo = exports.ViewUIElement = exports.ViewTitle = exports.ViewTeaser = exports.ViewPage = exports.ViewOffer = exports.ViewNotification = exports.ViewLockedVideo = exports.ViewLockedAudio = exports.ViewLockedArticle = exports.ViewListing = exports.ViewLandingpage = exports.ViewFrontpage = exports.ViewForm = exports.ViewError = exports.ViewAudioPlayer = exports.ViewAudio = exports.ViewArticle = exports.ViewAdSlot = exports.LeaveWeather = exports.LeaveVideo = exports.LeaveTitle = exports.LeavePage = exports.LeaveLockedVideo = exports.LeaveLockedAudio = exports.LeaveLockedArticle = exports.LeaveListing = exports.LeaveLandingpage = exports.LeaveFrontpage = exports.LeaveError = exports.LeaveAudio = exports.LeaveArticle = exports.InternalProbe = exports.HealthViewUIElement = exports.HealthViewPage = exports.HealthEngagementUIElement = exports.HealthCompletedAction = exports.EngagementWidget = exports.EngagementVideoPlayer = exports.EngagementUIElement = exports.EngagementTeaser = exports.EngagementOffer = exports.EngagementNotification = exports.EngagementForm = exports.EngagementAudioPlayer = exports.AnonymousViewUIElement = void 0;
4
+ exports.CATALOG_VERSION = exports.WatchVideoPlayer = exports.WatchAudioPlayer = void 0;
5
+ exports.AnonymousViewUIElement = {
6
+ isAnonymous: true,
7
+ object: {
8
+ type: 'UIElement',
9
+ },
10
+ type: 'AnonymousView',
11
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/AnonymousViewUIElement.json',
12
+ };
13
+ exports.EngagementAudioPlayer = {
14
+ object: {
15
+ type: 'AudioPlayer',
16
+ },
17
+ type: 'Engagement',
18
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/EngagementAudioPlayer.json',
19
+ };
20
+ exports.EngagementForm = {
21
+ object: {
22
+ type: 'Form',
23
+ },
24
+ type: 'Engagement',
25
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/EngagementForm.json',
26
+ };
27
+ exports.EngagementNotification = {
28
+ object: {
29
+ type: 'Notification',
30
+ },
31
+ type: 'Engagement',
32
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/EngagementNotification.json',
33
+ };
34
+ exports.EngagementOffer = {
35
+ object: {
36
+ type: 'Offer',
37
+ },
38
+ type: 'Engagement',
39
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/EngagementOffer.json',
40
+ };
41
+ exports.EngagementTeaser = {
42
+ object: {
43
+ type: 'Teaser',
44
+ },
45
+ type: 'Engagement',
46
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/EngagementTeaser.json',
47
+ };
48
+ exports.EngagementUIElement = {
49
+ object: {
50
+ type: 'UIElement',
51
+ },
52
+ type: 'Engagement',
53
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/EngagementUIElement.json',
54
+ };
55
+ exports.EngagementVideoPlayer = {
56
+ object: {
57
+ type: 'VideoPlayer',
58
+ },
59
+ type: 'Engagement',
60
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/EngagementVideoPlayer.json',
61
+ };
62
+ exports.EngagementWidget = {
63
+ object: {
64
+ type: 'Widget',
65
+ },
66
+ type: 'Engagement',
67
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/EngagementWidget.json',
68
+ };
69
+ exports.HealthCompletedAction = {
70
+ object: {
71
+ type: 'Action',
72
+ },
73
+ type: 'HealthCompleted',
74
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/HealthCompletedAction.json',
75
+ };
76
+ exports.HealthEngagementUIElement = {
77
+ object: {
78
+ type: 'UIElement',
79
+ },
80
+ type: 'HealthEngagement',
81
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/HealthEngagementUIElement.json',
82
+ };
83
+ exports.HealthViewPage = {
84
+ object: {
85
+ type: 'Page',
86
+ },
87
+ type: 'HealthView',
88
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/HealthViewPage.json',
89
+ };
90
+ exports.HealthViewUIElement = {
91
+ object: {
92
+ type: 'UIElement',
93
+ },
94
+ type: 'HealthView',
95
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/HealthViewUIElement.json',
96
+ };
97
+ exports.InternalProbe = {
98
+ object: {
99
+ type: 'Probe',
100
+ },
101
+ type: 'Internal',
102
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/InternalProbe.json',
103
+ };
104
+ exports.LeaveArticle = {
105
+ object: {
106
+ type: 'Article',
107
+ },
108
+ type: 'Leave',
109
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/LeaveArticle.json',
110
+ };
111
+ exports.LeaveAudio = {
112
+ object: {
113
+ type: 'Audio',
114
+ },
115
+ type: 'Leave',
116
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/LeaveAudio.json',
117
+ };
118
+ exports.LeaveError = {
119
+ object: {
120
+ type: 'Error',
121
+ },
122
+ type: 'Leave',
123
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/LeaveError.json',
124
+ };
125
+ exports.LeaveFrontpage = {
126
+ object: {
127
+ type: 'Frontpage',
128
+ },
129
+ type: 'Leave',
130
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/LeaveFrontpage.json',
131
+ };
132
+ exports.LeaveLandingpage = {
133
+ object: {
134
+ type: 'Landingpage',
135
+ },
136
+ type: 'Leave',
137
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/LeaveLandingpage.json',
138
+ };
139
+ exports.LeaveListing = {
140
+ object: {
141
+ type: 'Listing',
142
+ },
143
+ type: 'Leave',
144
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/LeaveListing.json',
145
+ };
146
+ exports.LeaveLockedArticle = {
147
+ object: {
148
+ type: 'LockedArticle',
149
+ },
150
+ type: 'Leave',
151
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/LeaveLockedArticle.json',
152
+ };
153
+ exports.LeaveLockedAudio = {
154
+ object: {
155
+ type: 'LockedAudio',
156
+ },
157
+ type: 'Leave',
158
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/LeaveLockedAudio.json',
159
+ };
160
+ exports.LeaveLockedVideo = {
161
+ object: {
162
+ type: 'LockedVideo',
163
+ },
164
+ type: 'Leave',
165
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/LeaveLockedVideo.json',
166
+ };
167
+ exports.LeavePage = {
168
+ object: {
169
+ type: 'Page',
170
+ },
171
+ type: 'Leave',
172
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/LeavePage.json',
173
+ };
174
+ exports.LeaveTitle = {
175
+ object: {
176
+ type: 'Title',
177
+ },
178
+ type: 'Leave',
179
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/LeaveTitle.json',
180
+ };
181
+ exports.LeaveVideo = {
182
+ object: {
183
+ type: 'Video',
184
+ },
185
+ type: 'Leave',
186
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/LeaveVideo.json',
187
+ };
188
+ exports.LeaveWeather = {
189
+ object: {
190
+ type: 'Weather',
191
+ },
192
+ type: 'Leave',
193
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/LeaveWeather.json',
194
+ };
195
+ exports.ViewAdSlot = {
196
+ object: {
197
+ type: 'AdSlot',
198
+ },
199
+ type: 'View',
200
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewAdSlot.json',
201
+ };
202
+ exports.ViewArticle = {
203
+ object: {
204
+ type: 'Article',
205
+ },
206
+ type: 'View',
207
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewArticle.json',
208
+ };
209
+ exports.ViewAudio = {
210
+ object: {
211
+ type: 'Audio',
212
+ },
213
+ type: 'View',
214
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewAudio.json',
215
+ };
216
+ exports.ViewAudioPlayer = {
217
+ object: {
218
+ type: 'AudioPlayer',
219
+ },
220
+ type: 'View',
221
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewAudioPlayer.json',
222
+ };
223
+ exports.ViewError = {
224
+ object: {
225
+ type: 'Error',
226
+ },
227
+ type: 'View',
228
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewError.json',
229
+ };
230
+ exports.ViewForm = {
231
+ object: {
232
+ type: 'Form',
233
+ },
234
+ type: 'View',
235
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewForm.json',
236
+ };
237
+ exports.ViewFrontpage = {
238
+ object: {
239
+ type: 'Frontpage',
240
+ },
241
+ type: 'View',
242
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewFrontpage.json',
243
+ };
244
+ exports.ViewLandingpage = {
245
+ object: {
246
+ type: 'Landingpage',
247
+ },
248
+ type: 'View',
249
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewLandingpage.json',
250
+ };
251
+ exports.ViewListing = {
252
+ object: {
253
+ type: 'Listing',
254
+ },
255
+ type: 'View',
256
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewListing.json',
257
+ };
258
+ exports.ViewLockedArticle = {
259
+ object: {
260
+ type: 'LockedArticle',
261
+ },
262
+ type: 'View',
263
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewLockedArticle.json',
264
+ };
265
+ exports.ViewLockedAudio = {
266
+ object: {
267
+ type: 'LockedAudio',
268
+ },
269
+ type: 'View',
270
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewLockedAudio.json',
271
+ };
272
+ exports.ViewLockedVideo = {
273
+ object: {
274
+ type: 'LockedVideo',
275
+ },
276
+ type: 'View',
277
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewLockedVideo.json',
278
+ };
279
+ exports.ViewNotification = {
280
+ object: {
281
+ name: 'PushNotification',
282
+ type: 'Notification',
283
+ },
284
+ type: 'View',
285
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewNotification.json',
286
+ };
287
+ exports.ViewOffer = {
288
+ object: {
289
+ type: 'Offer',
290
+ },
291
+ type: 'View',
292
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewOffer.json',
293
+ };
294
+ exports.ViewPage = {
295
+ object: {
296
+ type: 'Page',
297
+ },
298
+ type: 'View',
299
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewPage.json',
300
+ };
301
+ exports.ViewTeaser = {
302
+ object: {
303
+ type: 'Teaser',
304
+ },
305
+ type: 'View',
306
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewTeaser.json',
307
+ };
308
+ exports.ViewTitle = {
309
+ object: {
310
+ type: 'Title',
311
+ },
312
+ type: 'View',
313
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewTitle.json',
314
+ };
315
+ exports.ViewUIElement = {
316
+ object: {
317
+ type: 'UIElement',
318
+ },
319
+ type: 'View',
320
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewUIElement.json',
321
+ };
322
+ exports.ViewVideo = {
323
+ object: {
324
+ type: 'Video',
325
+ },
326
+ type: 'View',
327
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewVideo.json',
328
+ };
329
+ exports.ViewVideoAd = {
330
+ object: {
331
+ type: 'VideoAd',
332
+ },
333
+ type: 'View',
334
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewVideoAd.json',
335
+ };
336
+ exports.ViewVideoPlayer = {
337
+ object: {
338
+ type: 'VideoPlayer',
339
+ },
340
+ type: 'View',
341
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewVideoPlayer.json',
342
+ };
343
+ exports.ViewWeather = {
344
+ object: {
345
+ type: 'Weather',
346
+ },
347
+ type: 'View',
348
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewWeather.json',
349
+ };
350
+ exports.ViewWidget = {
351
+ object: {
352
+ type: 'Widget',
353
+ },
354
+ type: 'View',
355
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/ViewWidget.json',
356
+ };
357
+ exports.WatchAudioPlayer = {
358
+ object: {
359
+ type: 'AudioPlayer',
360
+ },
361
+ type: 'Watch',
362
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/WatchAudioPlayer.json',
363
+ };
364
+ exports.WatchVideoPlayer = {
365
+ object: {
366
+ type: 'VideoPlayer',
367
+ },
368
+ type: 'Watch',
369
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.14/schemas/WatchVideoPlayer.json',
370
+ };
371
+ exports.CATALOG_VERSION = '1.0.14';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./constants"), exports);