@primestyleai/tryon 5.10.182 → 5.10.183
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/react/index.js
CHANGED
|
@@ -1202,6 +1202,10 @@ const ms = [
|
|
|
1202
1202
|
fitType: "bag",
|
|
1203
1203
|
pattern: /\b(handbag|handbags|bag|bags|tote|totes|shoulder bag|hobo bag|crossbody|clutch|satchel|backpack|backpacks|weekender|duffle|duffel|wallet|wallets|purse|purses|briefcase|belt bag|fanny pack|luggage|suitcase|suitcases|small leather goods|leather goods)\b/i
|
|
1204
1204
|
},
|
|
1205
|
+
{
|
|
1206
|
+
fitType: "apparel",
|
|
1207
|
+
pattern: /\b(shirt|shirts|t-shirt|tee|top|tops|dress|dresses|jacket|jackets|coat|coats|pants|trousers|jeans|skirt|skirts|shorts|suit|suits|tuxedo|tuxedos|blazer|blazers|hoodie|hoodies|sweater|sweaters|cardigan|cardigans|apparel|clothing|garment|garments)\b/i
|
|
1208
|
+
},
|
|
1205
1209
|
{
|
|
1206
1210
|
fitType: "belt",
|
|
1207
1211
|
pattern: /\b(belt|belts|waist belt)\b/i
|
|
@@ -1229,10 +1233,6 @@ const ms = [
|
|
|
1229
1233
|
{
|
|
1230
1234
|
fitType: "accessory",
|
|
1231
1235
|
pattern: /\b(accessory|accessories|jewelry|jewellery|brooch|brooches|scarf|scarves|glove|gloves)\b/i
|
|
1232
|
-
},
|
|
1233
|
-
{
|
|
1234
|
-
fitType: "apparel",
|
|
1235
|
-
pattern: /\b(shirt|shirts|t-shirt|tee|top|tops|dress|dresses|jacket|jackets|coat|coats|pants|trousers|jeans|skirt|skirts|shorts|suit|suits|tuxedo|tuxedos|blazer|blazers|hoodie|hoodies|sweater|sweaters|cardigan|cardigans|apparel|clothing|garment|garments)\b/i
|
|
1236
1236
|
}
|
|
1237
1237
|
];
|
|
1238
1238
|
function li(e) {
|
|
@@ -18378,7 +18378,7 @@ function Kc({
|
|
|
18378
18378
|
] }) }),
|
|
18379
18379
|
/* @__PURE__ */ o("div", { className: "ps-bpm-bottom", children: [
|
|
18380
18380
|
/* @__PURE__ */ A("button", { type: "button", className: "ps-bpm-next-btn", onClick: lo, children: s(G ? ce ? Y ? "Analyze My Size" : "Choose size" : "Choose brand" : "Analyze My Size") }),
|
|
18381
|
-
/* @__PURE__ */ A(
|
|
18381
|
+
!c && /* @__PURE__ */ A(
|
|
18382
18382
|
gt,
|
|
18383
18383
|
{
|
|
18384
18384
|
mode: "scan",
|
|
@@ -18430,7 +18430,9 @@ function Kc({
|
|
|
18430
18430
|
handlePhotoSelect: no,
|
|
18431
18431
|
handleRemovePhoto: At,
|
|
18432
18432
|
onAnalyze: lo,
|
|
18433
|
-
onSwitchToManual: () =>
|
|
18433
|
+
onSwitchToManual: () => {
|
|
18434
|
+
c || QA("basics");
|
|
18435
|
+
},
|
|
18434
18436
|
error: SA,
|
|
18435
18437
|
photoStepHeight: ae,
|
|
18436
18438
|
onPhotoStepHeightChange: Be,
|
|
@@ -18444,7 +18446,7 @@ function Kc({
|
|
|
18444
18446
|
photoStatus: Oe,
|
|
18445
18447
|
photoRejection: fe,
|
|
18446
18448
|
onClearRejection: () => CA(null),
|
|
18447
|
-
hideTabs:
|
|
18449
|
+
hideTabs: c,
|
|
18448
18450
|
t: s
|
|
18449
18451
|
}
|
|
18450
18452
|
),
|
|
@@ -19014,7 +19016,7 @@ function Kc({
|
|
|
19014
19016
|
)
|
|
19015
19017
|
] })
|
|
19016
19018
|
] }) : /* @__PURE__ */ o(iA, { children: [
|
|
19017
|
-
/* @__PURE__ */ o("div", { className: "ps-bp-photo-manual-switch", children: [
|
|
19019
|
+
!c && /* @__PURE__ */ o("div", { className: "ps-bp-photo-manual-switch", children: [
|
|
19018
19020
|
s("Prefer not to upload a photo?"),
|
|
19019
19021
|
" ",
|
|
19020
19022
|
/* @__PURE__ */ A(
|