@subiz/widget-v4 4.1.70 → 4.1.72

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 (85) hide show
  1. package/app.js +0 -42
  2. package/assets/less/widget.less +6 -5
  3. package/assets/less/widget_header.less +5 -3
  4. package/compiled_src/chatbox/AgentsAvatar.js +102 -108
  5. package/compiled_src/chatbox/AudioAttachments.js +25 -32
  6. package/compiled_src/chatbox/ButtonAttachments.js +16 -23
  7. package/compiled_src/chatbox/Buttons.js +36 -43
  8. package/compiled_src/chatbox/ChatButton.js +5 -1
  9. package/compiled_src/chatbox/Event.js +19 -3
  10. package/compiled_src/chatbox/InfoMessage.js +2 -1
  11. package/compiled_src/chatbox/OrderAttachments.js +102 -6
  12. package/compiled_src/chatbox/PoweredBy.js +20 -27
  13. package/compiled_src/chatbox/Rating.js +1 -1
  14. package/compiled_src/chatbox/TextMessage.js +0 -14
  15. package/compiled_src/chatbox/VideoAttachments.js +1 -0
  16. package/compiled_src/chatbox/Widget.js +21 -21
  17. package/compiled_src/chatbox/time.js +46 -28
  18. package/compiled_src/lib.js +2 -2
  19. package/compiled_src/order/icon.js +2 -2
  20. package/compiled_src/order/index.js +2 -2
  21. package/compiled_src/plugin.js +2 -4
  22. package/compiled_src/store/api.js +1 -16
  23. package/compiled_src/store/store.js +1 -4
  24. package/compiled_src/util/common.js +12 -494
  25. package/compiled_src/util/index.js +0 -2
  26. package/dist/127.js +273 -0
  27. package/dist/132.js +2 -2
  28. package/dist/185.js +1885 -0
  29. package/dist/18eaf7ad0c6.127.js +1 -0
  30. package/dist/{18e74ca84ff.132.js → 18eaf7ad0c6.132.js} +1 -1
  31. package/dist/18eaf7ad0c6.185.js +1 -0
  32. package/dist/18eaf7ad0c6.278.js +1 -0
  33. package/dist/{18e74ca84ff.490.js → 18eaf7ad0c6.490.js} +1 -1
  34. package/dist/{18e74ca84ff.74.js → 18eaf7ad0c6.74.js} +1 -1
  35. package/dist/18eaf7ad0c6.app.js +1 -0
  36. package/dist/{18e74ca84ff.index.html → 18eaf7ad0c6.index.html} +1 -1
  37. package/dist/{18e74ca84ff.library.html → 18eaf7ad0c6.library.html} +1 -1
  38. package/dist/18eaf7ad0c6.library.js +1 -0
  39. package/dist/{18e74ca84ff.preview.html → 18eaf7ad0c6.preview.html} +1 -1
  40. package/dist/18eaf7ad0c6.preview.js +1 -0
  41. package/dist/18eaf7ad0c6.screenshoot.js +1 -0
  42. package/dist/18eaf7ad0c6.webview.js +1 -0
  43. package/dist/278.js +1 -1
  44. package/dist/490.js +1 -1
  45. package/dist/74.js +1 -1
  46. package/dist/HASH +1 -1
  47. package/dist/screenshoot.html +1 -1
  48. package/dist/screenshoot.js +4740 -627
  49. package/inject.js +3 -3
  50. package/package.json +6 -6
  51. package/src/chatbox/AgentsAvatar.js +118 -134
  52. package/src/chatbox/AudioAttachments.js +19 -26
  53. package/src/chatbox/ButtonAttachments.js +13 -20
  54. package/src/chatbox/Buttons.js +29 -37
  55. package/src/chatbox/ChatButton.js +6 -1
  56. package/src/chatbox/Event.js +22 -3
  57. package/src/chatbox/InfoMessage.js +11 -11
  58. package/src/chatbox/OrderAttachments.js +118 -5
  59. package/src/chatbox/PoweredBy.js +14 -22
  60. package/src/chatbox/Rating.js +1 -1
  61. package/src/chatbox/TextMessage.js +0 -14
  62. package/src/chatbox/VideoAttachments.js +1 -1
  63. package/src/chatbox/Widget.js +16 -20
  64. package/src/chatbox/time.js +54 -24
  65. package/src/lib.js +2 -2
  66. package/src/order/icon.js +2 -2
  67. package/src/order/index.js +2 -2
  68. package/src/plugin.js +4 -3
  69. package/src/store/api.js +1 -14
  70. package/src/store/store.js +1 -9
  71. package/src/util/common.js +13 -215
  72. package/src/util/index.js +0 -3
  73. package/compiled_src/util/order.js +0 -112
  74. package/dist/18e74ca84ff.278.js +0 -1
  75. package/dist/18e74ca84ff.497.js +0 -1
  76. package/dist/18e74ca84ff.app.js +0 -1
  77. package/dist/18e74ca84ff.library.js +0 -1
  78. package/dist/18e74ca84ff.preview.js +0 -1
  79. package/dist/18e74ca84ff.screenshoot.js +0 -1
  80. package/dist/18e74ca84ff.webview.js +0 -1
  81. package/dist/497.js +0 -6721
  82. package/src/util/order.js +0 -120
  83. /package/dist/{18e74ca84ff.27.js → 18eaf7ad0c6.27.js} +0 -0
  84. /package/dist/{18e74ca84ff.459.js → 18eaf7ad0c6.459.js} +0 -0
  85. /package/dist/{18e74ca84ff.997.js → 18eaf7ad0c6.997.js} +0 -0
@@ -86,26 +86,7 @@ var clearTimeout = exports.clearTimeout = f.contentWindow.clearTimeout.bind(f.co
86
86
  var XMLHttpRequest = exports.XMLHttpRequest = f.contentWindow.XMLHttpRequest;
87
87
  function convoOfEv(ev) {
88
88
  if (!ev) return '';
89
- switch (ev.type) {
90
- case 'conversation_state_updated':
91
- case 'conversation_joined':
92
- case 'conversation_invited':
93
- case 'conversation_left':
94
- case 'conversation_tagged':
95
- case 'conversation_untagged':
96
- case 'conversation_typing':
97
- case 'conversation_rating_requested':
98
- case 'conversation_rated':
99
- return op.get(ev, 'data.conversation.id');
100
- case 'message_sent':
101
- case 'message_updated':
102
- case 'message_pong':
103
- return op.get(ev, 'data.message.conversation_id');
104
- case 'ticket_updated':
105
- return op.get(ev, 'data.ticket.conversation_id');
106
- default:
107
- return '';
108
- }
89
+ return op.get(ev, 'data.conversation.id', op.get(ev, 'data.message.conversation_id'));
109
90
  }
110
91
  function convoToEv(convoid, ev) {
111
92
  if (!ev) return '';
@@ -619,20 +600,6 @@ function browserName() {
619
600
  if (isBlink) return 'blink';
620
601
  return 'unknown';
621
602
  }
622
- function osName() {
623
- var OSName = 'Unknown';
624
- if (window.navigator.userAgent.indexOf('Windows NT 10.0') != -1) OSName = 'Windows 10';
625
- if (window.navigator.userAgent.indexOf('Windows NT 6.3') != -1) OSName = 'Windows 8.1';
626
- if (window.navigator.userAgent.indexOf('Windows NT 6.2') != -1) OSName = 'Windows 8';
627
- if (window.navigator.userAgent.indexOf('Windows NT 6.1') != -1) OSName = 'Windows 7';
628
- if (window.navigator.userAgent.indexOf('Windows NT 6.0') != -1) OSName = 'Windows Vista';
629
- if (window.navigator.userAgent.indexOf('Windows NT 5.1') != -1) OSName = 'Windows XP';
630
- if (window.navigator.userAgent.indexOf('Windows NT 5.0') != -1) OSName = 'Windows 2000';
631
- if (window.navigator.userAgent.indexOf('Mac') != -1) OSName = 'Mac/iOS';
632
- if (window.navigator.userAgent.indexOf('X11') != -1) OSName = 'UNIX';
633
- if (window.navigator.userAgent.indexOf('Linux') != -1) OSName = 'Linux';
634
- return OSName;
635
- }
636
603
  function check_frequently(freq, lastrun, store) {
637
604
  if (!lastrun) return true;
638
605
  if (op.get(freq, 'once_per_user')) return false;
@@ -899,7 +866,7 @@ function diffYear(a, b, tzoffset) {
899
866
  function sameDay(a, b, tzoffset) {
900
867
  return diffDay(a, b, tzoffset) === 0;
901
868
  }
902
- function shortTime(utcms, tzoffset, now) {
869
+ function shortTime(utcms, tzoffset, now, forcelocale) {
903
870
  var machineoffsetmin = -new Date().getTimezoneOffset();
904
871
  var offsetmin = machineoffsetmin;
905
872
  if (tzoffset) offsetmin = offsetToMin(tzoffset);
@@ -910,6 +877,7 @@ function shortTime(utcms, tzoffset, now) {
910
877
  let tzhour = tztime.getHours();
911
878
  let tzmin = tztime.getMinutes();
912
879
  let locale = op.get(navigator, 'languages.0', 'en-US');
880
+ if (forcelocale) locale = forcelocale;
913
881
  let tzdddd = tztime.toLocaleDateString(locale, {
914
882
  weekday: 'long'
915
883
  });
@@ -923,7 +891,15 @@ function shortTime(utcms, tzoffset, now) {
923
891
  if (tzmin < 10) tzmin = '0' + tzmin;
924
892
  if (sameDay(time, now, tzoffset)) return tzhour + ':' + tzmin;
925
893
  if (diffDay(time, now, tzoffset) <= 5) return tzdddd + ', ' + tzhour + ':' + tzmin;
926
- if (diffYear(time, now, tzoffset) === 0) return tzmonthname + ' ' + tzdate + ', ' + tzhour + ':' + tzmin;
894
+ if (diffYear(time, now, tzoffset) === 0) {
895
+ if (locale === 'vi-VN') {
896
+ return tzdate + ' ' + tzmonthname + ', ' + tzhour + ':' + tzmin;
897
+ }
898
+ return tzmonthname + ' ' + tzdate + ', ' + tzhour + ':' + tzmin;
899
+ }
900
+ if (locale === 'vi-VN') {
901
+ return tzdate + '/' + tzmonth + '/' + tzyear + ', ' + tzhour + ':' + tzmin;
902
+ }
927
903
  return tzyear + '/' + tzmonth + '/' + tzdate + ', ' + tzhour + ':' + tzmin;
928
904
  }
929
905
  function unixSec(t) {
@@ -1024,467 +1000,9 @@ function scrollIntoViewIfNeeded($ele) {
1024
1000
  }
1025
1001
  }
1026
1002
  const ALL_CURRENCIES = [{
1027
- code: 'AFN',
1028
- symbol: '؋'
1029
- }, {
1030
- code: 'EUR',
1031
- symbol: '€'
1032
- }, {
1033
- code: 'ALL',
1034
- symbol: 'Lek'
1035
- }, {
1036
- code: 'DZD'
1037
- }, {
1038
1003
  code: 'USD',
1039
1004
  symbol: '$'
1040
- }, {
1041
- code: 'AOA'
1042
- }, {
1043
- code: 'XCD',
1044
- symbol: '$'
1045
- }, {
1046
- code: 'ARS',
1047
- symbol: '$'
1048
- }, {
1049
- code: 'AMD'
1050
- }, {
1051
- code: 'AWG',
1052
- symbol: 'ƒ'
1053
- }, {
1054
- code: 'AUD',
1055
- symbol: '$'
1056
- }, {
1057
- code: 'AZN',
1058
- symbol: '₼'
1059
- }, {
1060
- code: 'BSD',
1061
- symbol: '$'
1062
- }, {
1063
- code: 'BHD'
1064
- }, {
1065
- code: 'BDT'
1066
- }, {
1067
- code: 'BBD',
1068
- symbol: '$'
1069
- }, {
1070
- code: 'BYN',
1071
- symbol: 'Br'
1072
- }, {
1073
- code: 'BZD',
1074
- symbol: 'BZ$'
1075
- }, {
1076
- code: 'XOF'
1077
- }, {
1078
- code: 'BMD',
1079
- symbol: '$'
1080
- }, {
1081
- code: 'INR',
1082
- symbol: '₹'
1083
- }, {
1084
- code: 'BTN'
1085
- }, {
1086
- code: 'BOB',
1087
- symbol: '$b'
1088
- }, {
1089
- code: 'BOV'
1090
- }, {
1091
- code: 'BAM',
1092
- symbol: 'KM'
1093
- }, {
1094
- code: 'BWP',
1095
- symbol: 'P'
1096
- }, {
1097
- code: 'NOK',
1098
- symbol: 'kr'
1099
- }, {
1100
- code: 'BRL',
1101
- symbol: 'R$'
1102
- }, {
1103
- code: 'BND',
1104
- symbol: '$'
1105
- }, {
1106
- code: 'BGN',
1107
- symbol: 'лв'
1108
- }, {
1109
- code: 'BIF'
1110
- }, {
1111
- code: 'CVE'
1112
- }, {
1113
- code: 'KHR',
1114
- symbol: '៛'
1115
- }, {
1116
- code: 'XAF'
1117
- }, {
1118
- code: 'CAD',
1119
- symbol: '$'
1120
- }, {
1121
- code: 'KYD',
1122
- symbol: '$'
1123
- }, {
1124
- code: 'CLP',
1125
- symbol: '$'
1126
- }, {
1127
- code: 'CLF'
1128
- }, {
1129
- code: 'CNY',
1130
- symbol: '¥'
1131
- }, {
1132
- code: 'COP',
1133
- symbol: '$'
1134
- }, {
1135
- code: 'COU'
1136
- }, {
1137
- code: 'KMF'
1138
- }, {
1139
- code: 'CDF'
1140
- }, {
1141
- code: 'NZD',
1142
- symbol: '$'
1143
- }, {
1144
- code: 'CRC',
1145
- symbol: '₡'
1146
- }, {
1147
- code: 'HRK',
1148
- symbol: 'kn'
1149
- }, {
1150
- code: 'CUP',
1151
- symbol: '₱'
1152
- }, {
1153
- code: 'CUC'
1154
- }, {
1155
- code: 'ANG',
1156
- symbol: 'ƒ'
1157
- }, {
1158
- code: 'CZK',
1159
- symbol: 'Kč'
1160
- }, {
1161
- code: 'DKK',
1162
- symbol: 'kr'
1163
- }, {
1164
- code: 'DJF'
1165
- }, {
1166
- code: 'DOP',
1167
- symbol: 'RD$'
1168
- }, {
1169
- code: 'EGP',
1170
- symbol: '£'
1171
- }, {
1172
- code: 'SVC',
1173
- symbol: '$'
1174
- }, {
1175
- code: 'ERN'
1176
- }, {
1177
- code: 'SZL'
1178
- }, {
1179
- code: 'ETB'
1180
- }, {
1181
- code: 'FKP',
1182
- symbol: '£'
1183
- }, {
1184
- code: 'FJD',
1185
- symbol: '$'
1186
- }, {
1187
- code: 'XPF'
1188
- }, {
1189
- code: 'GMD'
1190
- }, {
1191
- code: 'GEL'
1192
- }, {
1193
- code: 'GHS',
1194
- symbol: '¢'
1195
- }, {
1196
- code: 'GIP',
1197
- symbol: '£'
1198
- }, {
1199
- code: 'GTQ',
1200
- symbol: 'Q'
1201
- }, {
1202
- code: 'GBP',
1203
- symbol: '£'
1204
- }, {
1205
- code: 'GNF'
1206
- }, {
1207
- code: 'GYD',
1208
- symbol: '$'
1209
- }, {
1210
- code: 'HTG'
1211
- }, {
1212
- code: 'HNL',
1213
- symbol: 'L'
1214
- }, {
1215
- code: 'HKD',
1216
- symbol: '$'
1217
- }, {
1218
- code: 'HUF',
1219
- symbol: 'Ft'
1220
- }, {
1221
- code: 'ISK',
1222
- symbol: 'kr'
1223
- }, {
1224
- code: 'IDR',
1225
- symbol: 'Rp'
1226
- }, {
1227
- code: 'XDR'
1228
- }, {
1229
- code: 'IRR',
1230
- symbol: '﷼'
1231
- }, {
1232
- code: 'IQD'
1233
- }, {
1234
- code: 'ILS',
1235
- symbol: '₪'
1236
- }, {
1237
- code: 'JMD',
1238
- symbol: 'J$'
1239
- }, {
1240
- code: 'JPY',
1241
- symbol: '¥'
1242
- }, {
1243
- code: 'JOD'
1244
- }, {
1245
- code: 'KZT',
1246
- symbol: 'лв'
1247
- }, {
1248
- code: 'KES'
1249
- }, {
1250
- code: 'KPW',
1251
- symbol: '₩'
1252
- }, {
1253
- code: 'KRW',
1254
- symbol: '₩'
1255
- }, {
1256
- code: 'KWD'
1257
- }, {
1258
- code: 'KGS',
1259
- symbol: 'лв'
1260
- }, {
1261
- code: 'LAK',
1262
- symbol: '₭'
1263
- }, {
1264
- code: 'LBP',
1265
- symbol: '£'
1266
- }, {
1267
- code: 'LSL'
1268
- }, {
1269
- code: 'ZAR',
1270
- symbol: 'R'
1271
- }, {
1272
- code: 'LRD',
1273
- symbol: '$'
1274
- }, {
1275
- code: 'LYD'
1276
- }, {
1277
- code: 'CHF',
1278
- symbol: 'CHF'
1279
- }, {
1280
- code: 'MOP'
1281
- }, {
1282
- code: 'MKD',
1283
- symbol: 'ден'
1284
- }, {
1285
- code: 'MGA'
1286
- }, {
1287
- code: 'MWK'
1288
- }, {
1289
- code: 'MYR',
1290
- symbol: 'RM'
1291
- }, {
1292
- code: 'MVR'
1293
- }, {
1294
- code: 'MRU'
1295
- }, {
1296
- code: 'MUR',
1297
- symbol: '₨'
1298
- }, {
1299
- code: 'XUA'
1300
- }, {
1301
- code: 'MXN',
1302
- symbol: '$'
1303
- }, {
1304
- code: 'MXV'
1305
- }, {
1306
- code: 'MDL'
1307
- }, {
1308
- code: 'MNT',
1309
- symbol: '₮'
1310
- }, {
1311
- code: 'MAD'
1312
- }, {
1313
- code: 'MZN',
1314
- symbol: 'MT'
1315
- }, {
1316
- code: 'MMK'
1317
- }, {
1318
- code: 'NAD',
1319
- symbol: '$'
1320
- }, {
1321
- code: 'NPR',
1322
- symbol: '₨'
1323
- }, {
1324
- code: 'NIO',
1325
- symbol: 'C$'
1326
- }, {
1327
- code: 'NGN',
1328
- symbol: '₦'
1329
- }, {
1330
- code: 'OMR',
1331
- symbol: '﷼'
1332
- }, {
1333
- code: 'PKR',
1334
- symbol: '₨'
1335
- }, {
1336
- code: 'PAB',
1337
- symbol: 'B/.'
1338
- }, {
1339
- code: 'PGK'
1340
- }, {
1341
- code: 'PYG',
1342
- symbol: 'Gs'
1343
- }, {
1344
- code: 'PEN',
1345
- symbol: 'S/.'
1346
- }, {
1347
- code: 'PHP',
1348
- symbol: '₱'
1349
- }, {
1350
- code: 'PLN',
1351
- symbol: 'zł'
1352
- }, {
1353
- code: 'QAR',
1354
- symbol: '﷼'
1355
- }, {
1356
- code: 'RON',
1357
- symbol: 'lei'
1358
- }, {
1359
- code: 'RUB',
1360
- symbol: '₽'
1361
- }, {
1362
- code: 'RWF'
1363
- }, {
1364
- code: 'SHP',
1365
- symbol: '£'
1366
- }, {
1367
- code: 'WST'
1368
- }, {
1369
- code: 'STN'
1370
- }, {
1371
- code: 'SAR',
1372
- symbol: '﷼'
1373
- }, {
1374
- code: 'RSD',
1375
- symbol: 'Дин.'
1376
- }, {
1377
- code: 'SCR',
1378
- symbol: '₨'
1379
- }, {
1380
- code: 'SLL'
1381
- }, {
1382
- code: 'SGD',
1383
- symbol: '$'
1384
- }, {
1385
- code: 'XSU'
1386
- }, {
1387
- code: 'SBD',
1388
- symbol: '$'
1389
- }, {
1390
- code: 'SOS',
1391
- symbol: 'S'
1392
- }, {
1393
- code: 'SSP'
1394
- }, {
1395
- code: 'LKR',
1396
- symbol: '₨'
1397
- }, {
1398
- code: 'SDG'
1399
- }, {
1400
- code: 'SRD',
1401
- symbol: '$'
1402
- }, {
1403
- code: 'SEK',
1404
- symbol: 'kr'
1405
- }, {
1406
- code: 'CHE'
1407
- }, {
1408
- code: 'CHW'
1409
- }, {
1410
- code: 'SYP',
1411
- symbol: '£'
1412
- }, {
1413
- code: 'TWD',
1414
- symbol: 'NT$'
1415
- }, {
1416
- code: 'TJS'
1417
- }, {
1418
- code: 'TZS'
1419
- }, {
1420
- code: 'THB',
1421
- symbol: '฿'
1422
- }, {
1423
- code: 'TOP'
1424
- }, {
1425
- code: 'TTD',
1426
- symbol: 'TT$'
1427
- }, {
1428
- code: 'TND'
1429
- }, {
1430
- code: 'TRY',
1431
- symbol: '₺'
1432
- }, {
1433
- code: 'TMT'
1434
- }, {
1435
- code: 'UGX'
1436
- }, {
1437
- code: 'UAH',
1438
- symbol: '₴'
1439
- }, {
1440
- code: 'AED',
1441
- symbol: ' د.إ'
1442
- }, {
1443
- code: 'USN'
1444
- }, {
1445
- code: 'UYU',
1446
- symbol: '$U'
1447
- }, {
1448
- code: 'UYI'
1449
- }, {
1450
- code: 'UYW'
1451
- }, {
1452
- code: 'UZS',
1453
- symbol: 'лв'
1454
- }, {
1455
- code: 'VUV'
1456
- }, {
1457
- code: 'VES'
1458
- }, {
1459
- code: 'VED'
1460
1005
  }, {
1461
1006
  code: 'VND',
1462
1007
  symbol: '₫'
1463
- }, {
1464
- code: 'YER',
1465
- symbol: '﷼'
1466
- }, {
1467
- code: 'ZMW'
1468
- }, {
1469
- code: 'ZWL'
1470
- }, {
1471
- code: 'XBA'
1472
- }, {
1473
- code: 'XBB'
1474
- }, {
1475
- code: 'XBC'
1476
- }, {
1477
- code: 'XBD'
1478
- }, {
1479
- code: 'XTS'
1480
- }, {
1481
- code: 'XXX'
1482
- }, {
1483
- code: 'XAU'
1484
- }, {
1485
- code: 'XPD'
1486
- }, {
1487
- code: 'XPT'
1488
- }, {
1489
- code: 'XAG'
1490
1008
  }];
@@ -7,7 +7,6 @@ exports.default = void 0;
7
7
  var common = _interopRequireWildcard(require("./common.js"));
8
8
  var extractor = _interopRequireWildcard(require("./extractor.js"));
9
9
  var campaign = _interopRequireWildcard(require("./campaign.js"));
10
- var order = _interopRequireWildcard(require("./order.js"));
11
10
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
12
11
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
13
12
  var sb = {};
@@ -20,5 +19,4 @@ sb.set = op.set;
20
19
  sb.Pubsub = require('./pubsub.js').default;
21
20
  sb = Object.assign(sb, extractor);
22
21
  sb = Object.assign(sb, campaign);
23
- sb = Object.assign(sb, order);
24
22
  var _default = exports.default = sb;