@unchainedshop/admin-ui 4.0.33 → 4.0.34
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/express.js +5 -1
- package/dist/fastify.js +12 -7
- package/out/403/index.html +2 -2
- package/out/404/index.html +2 -2
- package/out/404.html +2 -2
- package/out/423/index.html +2 -2
- package/out/500/index.html +2 -2
- package/out/_next/static/chunks/1513-deb1d149ebbf1899.js +1 -0
- package/out/_next/static/chunks/3767-56c6d0e6fd9efc0a.js +1 -0
- package/out/_next/static/chunks/4497-621e0a3654954056.js +1 -0
- package/out/_next/static/chunks/801-acea05bbe0f6689f.js +1 -0
- package/out/_next/static/chunks/9386-b68c2e0323faa464.js +1 -0
- package/out/_next/static/chunks/pages/{_app-a243ecc647115025.js → _app-b9d32e939f08e52c.js} +2 -2
- package/out/_next/static/chunks/pages/enrollments/EnrollmentDetailPage-6b53bfeea2e08a41.js +1 -0
- package/out/_next/static/chunks/pages/enrollments-8b3d1a71b3c4cbc2.js +1 -0
- package/out/_next/static/chunks/pages/events/EventDetailPage-4fdfc5ab602544d9.js +1 -0
- package/out/_next/static/chunks/pages/events-b0a4065ba4b17fe1.js +1 -0
- package/out/_next/static/chunks/pages/orders/OrderDetailPage-3fb637f26d3c695e.js +1 -0
- package/out/_next/static/chunks/pages/orders-b256d0de44978dc4.js +1 -0
- package/out/_next/static/chunks/pages/works/WorkDetailPage-22691911c6a10625.js +1 -0
- package/out/_next/static/chunks/pages/works-2ac76f87ad37da65.js +1 -0
- package/out/_next/static/{uJPVoeFs_TEhMiEIquNOX → s-5cpM1Agoud9ipZa4F1a}/_buildManifest.js +1 -1
- package/out/_offline/index.html +2 -2
- package/out/account/forgot-password/index.html +2 -2
- package/out/account/index.html +2 -2
- package/out/assortments/AssortmentDetailPage/index.html +2 -2
- package/out/assortments/index.html +2 -2
- package/out/assortments/new/index.html +2 -2
- package/out/copilot/index.html +2 -2
- package/out/country/CountryDetailPage/index.html +2 -2
- package/out/country/index.html +2 -2
- package/out/country/new/index.html +2 -2
- package/out/currency/CurrencyDetailPage/index.html +2 -2
- package/out/currency/index.html +2 -2
- package/out/currency/new/index.html +2 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
- package/out/delivery-provider/index.html +2 -2
- package/out/delivery-provider/new/index.html +2 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
- package/out/enrollments/index.html +2 -2
- package/out/events/EventDetailPage/index.html +2 -2
- package/out/events/index.html +2 -2
- package/out/external/index.html +2 -2
- package/out/filters/FilterDetailPage/index.html +2 -2
- package/out/filters/index.html +2 -2
- package/out/filters/new/index.html +2 -2
- package/out/index.html +2 -2
- package/out/install/index.html +2 -2
- package/out/language/LanguageDetailPage/index.html +2 -2
- package/out/language/index.html +2 -2
- package/out/language/new/index.html +2 -2
- package/out/log-in/index.html +2 -2
- package/out/orders/OrderDetailPage/index.html +2 -2
- package/out/orders/index.html +2 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
- package/out/payment-provider/index.html +2 -2
- package/out/payment-provider/new/index.html +2 -2
- package/out/products/ProductDetailPage/index.html +2 -2
- package/out/products/index.html +2 -2
- package/out/products/new/index.html +2 -2
- package/out/quotations/QuotationDetailPage/index.html +2 -2
- package/out/quotations/index.html +2 -2
- package/out/reset-password/index.html +2 -2
- package/out/sign-up/index.html +2 -2
- package/out/styleguide/index.html +2 -2
- package/out/tokens/TokenDetailPage/index.html +2 -2
- package/out/tokens/index.html +2 -2
- package/out/users/UserDetailPage/index.html +2 -2
- package/out/users/index.html +2 -2
- package/out/users/new/index.html +2 -2
- package/out/verify-email/index.html +2 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
- package/out/warehousing-provider/index.html +2 -2
- package/out/warehousing-provider/new/index.html +2 -2
- package/out/works/WorkDetailPage/index.html +2 -2
- package/out/works/index.html +2 -2
- package/out/works/management/index.html +2 -2
- package/package.json +7 -7
- package/out/_next/static/chunks/1513-e2f5c44e59609425.js +0 -1
- package/out/_next/static/chunks/3767-831c3cebeacddbbc.js +0 -1
- package/out/_next/static/chunks/4497-9cc5436a013736f2.js +0 -1
- package/out/_next/static/chunks/5160-01a133d6adce9be6.js +0 -1
- package/out/_next/static/chunks/7496-2dcf0668c03734c1.js +0 -1
- package/out/_next/static/chunks/pages/enrollments/EnrollmentDetailPage-ea63ff9354c0b6ce.js +0 -1
- package/out/_next/static/chunks/pages/enrollments-eecae8c24df8707f.js +0 -1
- package/out/_next/static/chunks/pages/events/EventDetailPage-a010717ce569bbf2.js +0 -1
- package/out/_next/static/chunks/pages/events-31a7a601aa215cc0.js +0 -1
- package/out/_next/static/chunks/pages/orders/OrderDetailPage-fd1fb561ded2da1f.js +0 -1
- package/out/_next/static/chunks/pages/orders-a6dfb8a603a10b29.js +0 -1
- package/out/_next/static/chunks/pages/works/WorkDetailPage-2c5e05a7a0ce6591.js +0 -1
- package/out/_next/static/chunks/pages/works-64219c7e68fb724a.js +0 -1
- /package/out/_next/static/{uJPVoeFs_TEhMiEIquNOX → s-5cpM1Agoud9ipZa4F1a}/_ssgManifest.js +0 -0
package/dist/express.js
CHANGED
|
@@ -54,6 +54,7 @@ const setupMCPChatHandler = (chatConfiguration) => {
|
|
|
54
54
|
if (req.method === 'GET') {
|
|
55
55
|
res.status(200).json({
|
|
56
56
|
tools: (0, normalizeToolsIndex_1.default)(tools),
|
|
57
|
+
cached: false,
|
|
57
58
|
});
|
|
58
59
|
return;
|
|
59
60
|
}
|
|
@@ -63,7 +64,10 @@ const setupMCPChatHandler = (chatConfiguration) => {
|
|
|
63
64
|
...restChatConfig,
|
|
64
65
|
system,
|
|
65
66
|
model,
|
|
66
|
-
messages: (0, ai_1.convertToModelMessages)(messages, {
|
|
67
|
+
messages: (0, ai_1.convertToModelMessages)(messages, {
|
|
68
|
+
tools,
|
|
69
|
+
ignoreIncompleteToolCalls: true,
|
|
70
|
+
}),
|
|
67
71
|
tools,
|
|
68
72
|
onFinish: async () => {
|
|
69
73
|
await client?.close();
|
package/dist/fastify.js
CHANGED
|
@@ -58,26 +58,31 @@ const setupMCPChatHandler = (chatConfiguration) => {
|
|
|
58
58
|
if (req.method === 'GET') {
|
|
59
59
|
return res.status(200).send({
|
|
60
60
|
tools: (0, normalizeToolsIndex_1.default)(tools),
|
|
61
|
+
cached: false,
|
|
61
62
|
});
|
|
62
63
|
}
|
|
63
64
|
const { messages } = req.body;
|
|
64
65
|
const result = (0, ai_1.streamText)({
|
|
65
66
|
stopWhen: (0, ai_1.stepCountIs)(10),
|
|
66
67
|
...restChatConfig,
|
|
67
|
-
messages: (0, ai_1.convertToModelMessages)(messages, {
|
|
68
|
+
messages: (0, ai_1.convertToModelMessages)(messages, {
|
|
69
|
+
tools,
|
|
70
|
+
ignoreIncompleteToolCalls: true,
|
|
71
|
+
}),
|
|
68
72
|
system,
|
|
69
73
|
tools,
|
|
70
74
|
onFinish: async () => {
|
|
71
75
|
await client?.close();
|
|
72
76
|
},
|
|
73
77
|
});
|
|
74
|
-
res.
|
|
75
|
-
|
|
76
|
-
|
|
78
|
+
return res.send(result.toUIMessageStreamResponse({
|
|
79
|
+
onError: utils_1.errorHandler,
|
|
80
|
+
}));
|
|
77
81
|
}
|
|
78
|
-
catch (
|
|
79
|
-
|
|
80
|
-
|
|
82
|
+
catch (err) {
|
|
83
|
+
await client?.close();
|
|
84
|
+
res.status(500);
|
|
85
|
+
return res.send(JSON.stringify({ error: (0, utils_1.errorHandler)(err) }));
|
|
81
86
|
}
|
|
82
87
|
};
|
|
83
88
|
return mcpChatHandler;
|
package/out/403/index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="h-full"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Unchained: Admin UI</title><meta name="og:description-0-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="og:site_name-1-Admin UI" content="Admin UI"/><meta name="og:url-2-https://unchained.shop" content="https://unchained.shop"/><meta name="og:image-3-/icons/manifest-icon-512.maskable.png" content="/icons/manifest-icon-512.maskable.png"/><meta name="og:type-4-website" content="website"/><meta name="og:title-5-Unchained Admin UI" content="Unchained Admin UI"/><meta name="twitter:image-6-/icons/manifest-icon-192.maskable.png" content="/icons/manifest-icon-192.maskable.png"/><meta name="twitter:creator-7-@unchainedshop" content="@unchainedshop"/><meta name="twitter:description-8-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="twitter:card-9-summary" content="summary"/><meta name="twitter:url-10-https://unchained.shop" content="https://unchained.shop"/><meta name="twitter:title-11-Unchained Admin UI" content="Unchained Admin UI"/><meta name="application-name-12-Unchained Admin UI" content="Unchained Admin UI"/><meta name="apple-mobile-web-app-capable-13-yes" content="yes"/><meta name="apple-mobile-web-app-status-bar-style-14-default" content="default"/><meta name="apple-mobile-web-app-title-15-Admin UI" content="Admin UI"/><meta name="description-16-Unchained e-commerce shop admin control" content="Unchained e-commerce shop admin control"/><meta name="format-detection-17-telephone=no" content="telephone=no"/><meta name="mobile-web-app-capable-18-yes" content="yes"/><meta name="msapplication-config-19-/icons/browserconfig.xml" content="/icons/browserconfig.xml"/><meta name="msapplication-TileColor-20-#537bd8" content="#537bd8"/><meta name="msapplication-tap-highlight-21-no" content="no"/><meta name="theme-color-22-#537bd8" content="#537bd8"/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="icon" type="image/png" sizes="196x196" href="/icons/favicon-196.png"/><link rel="apple-touch-icon" href="/icons/apple-icon-180.png"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-2732.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2732-2048.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2388-1668.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1536-2048.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-1536.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1668-2224.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2224-1668.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1620-2160.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2160-1620.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1284-2778.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2778-1284.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1170-2532.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2532-1170.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1125-2436.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2436-1125.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2688.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2688-1242.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-828-1792.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1792-828.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2208.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2208-1242.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-750-1334.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1334-750.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-640-1136.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1136-640.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="preload" href="/_next/static/css/c040c6b3325bf704.css" as="style"/><script src="/admin-ui-permissions.js?v=4.0.
|
|
1
|
+
<!DOCTYPE html><html class="h-full"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Unchained: Admin UI</title><meta name="og:description-0-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="og:site_name-1-Admin UI" content="Admin UI"/><meta name="og:url-2-https://unchained.shop" content="https://unchained.shop"/><meta name="og:image-3-/icons/manifest-icon-512.maskable.png" content="/icons/manifest-icon-512.maskable.png"/><meta name="og:type-4-website" content="website"/><meta name="og:title-5-Unchained Admin UI" content="Unchained Admin UI"/><meta name="twitter:image-6-/icons/manifest-icon-192.maskable.png" content="/icons/manifest-icon-192.maskable.png"/><meta name="twitter:creator-7-@unchainedshop" content="@unchainedshop"/><meta name="twitter:description-8-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="twitter:card-9-summary" content="summary"/><meta name="twitter:url-10-https://unchained.shop" content="https://unchained.shop"/><meta name="twitter:title-11-Unchained Admin UI" content="Unchained Admin UI"/><meta name="application-name-12-Unchained Admin UI" content="Unchained Admin UI"/><meta name="apple-mobile-web-app-capable-13-yes" content="yes"/><meta name="apple-mobile-web-app-status-bar-style-14-default" content="default"/><meta name="apple-mobile-web-app-title-15-Admin UI" content="Admin UI"/><meta name="description-16-Unchained e-commerce shop admin control" content="Unchained e-commerce shop admin control"/><meta name="format-detection-17-telephone=no" content="telephone=no"/><meta name="mobile-web-app-capable-18-yes" content="yes"/><meta name="msapplication-config-19-/icons/browserconfig.xml" content="/icons/browserconfig.xml"/><meta name="msapplication-TileColor-20-#537bd8" content="#537bd8"/><meta name="msapplication-tap-highlight-21-no" content="no"/><meta name="theme-color-22-#537bd8" content="#537bd8"/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="icon" type="image/png" sizes="196x196" href="/icons/favicon-196.png"/><link rel="apple-touch-icon" href="/icons/apple-icon-180.png"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-2732.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2732-2048.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2388-1668.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1536-2048.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-1536.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1668-2224.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2224-1668.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1620-2160.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2160-1620.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1284-2778.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2778-1284.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1170-2532.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2532-1170.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1125-2436.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2436-1125.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2688.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2688-1242.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-828-1792.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1792-828.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2208.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2208-1242.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-750-1334.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1334-750.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-640-1136.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1136-640.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="preload" href="/_next/static/css/c040c6b3325bf704.css" as="style"/><script src="/admin-ui-permissions.js?v=4.0.34" id="role-config-script"></script><link rel="stylesheet" href="/_next/static/css/c040c6b3325bf704.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-088efe37e04a6f62.js" defer=""></script><script src="/_next/static/chunks/framework-1548034a53843b9f.js" defer=""></script><script src="/_next/static/chunks/main-292286a778fb9ddd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b9d32e939f08e52c.js" defer=""></script><script src="/_next/static/chunks/pages/403-add71fa39e657922.js" defer=""></script><script src="/_next/static/s-5cpM1Agoud9ipZa4F1a/_buildManifest.js" defer=""></script><script src="/_next/static/s-5cpM1Agoud9ipZa4F1a/_ssgManifest.js" defer=""></script></head><body class="h-full bg-slate-50 dark:bg-slate-950 dark:text-slate-200"><noscript>
|
|
2
2
|
<!--
|
|
3
3
|
_____ _____ _____ _____ _____ _____ _____ _____ ____
|
|
4
4
|
| | | | | | | | _ | | | | __| \
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
- Technology, Engineering & Design by Unchained Commerce GmbH - https://unchained.shop
|
|
9
9
|
|
|
10
10
|
-->
|
|
11
|
-
</noscript><div id="__next"><section class="Toastify" aria-live="polite" aria-atomic="false" aria-relevant="additions text" aria-label="Notifications Alt+T"></section><div class="my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5"><div class="flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200"><svg fill="none" class="h-6 w-6 animate-spin" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z" fill="currentColor" fill-rule="evenodd"></path></svg><div>Loading ...</div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"componentName":"m"},"page":"/403","query":{},"buildId":"
|
|
11
|
+
</noscript><div id="__next"><section class="Toastify" aria-live="polite" aria-atomic="false" aria-relevant="additions text" aria-label="Notifications Alt+T"></section><div class="my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5"><div class="flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200"><svg fill="none" class="h-6 w-6 animate-spin" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z" fill="currentColor" fill-rule="evenodd"></path></svg><div>Loading ...</div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"componentName":"m"},"page":"/403","query":{},"buildId":"s-5cpM1Agoud9ipZa4F1a","nextExport":true,"isFallback":false,"appGip":true,"scriptLoader":[]}</script></body></html>
|
package/out/404/index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="h-full"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Unchained: Admin UI</title><meta name="og:description-0-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="og:site_name-1-Admin UI" content="Admin UI"/><meta name="og:url-2-https://unchained.shop" content="https://unchained.shop"/><meta name="og:image-3-/icons/manifest-icon-512.maskable.png" content="/icons/manifest-icon-512.maskable.png"/><meta name="og:type-4-website" content="website"/><meta name="og:title-5-Unchained Admin UI" content="Unchained Admin UI"/><meta name="twitter:image-6-/icons/manifest-icon-192.maskable.png" content="/icons/manifest-icon-192.maskable.png"/><meta name="twitter:creator-7-@unchainedshop" content="@unchainedshop"/><meta name="twitter:description-8-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="twitter:card-9-summary" content="summary"/><meta name="twitter:url-10-https://unchained.shop" content="https://unchained.shop"/><meta name="twitter:title-11-Unchained Admin UI" content="Unchained Admin UI"/><meta name="application-name-12-Unchained Admin UI" content="Unchained Admin UI"/><meta name="apple-mobile-web-app-capable-13-yes" content="yes"/><meta name="apple-mobile-web-app-status-bar-style-14-default" content="default"/><meta name="apple-mobile-web-app-title-15-Admin UI" content="Admin UI"/><meta name="description-16-Unchained e-commerce shop admin control" content="Unchained e-commerce shop admin control"/><meta name="format-detection-17-telephone=no" content="telephone=no"/><meta name="mobile-web-app-capable-18-yes" content="yes"/><meta name="msapplication-config-19-/icons/browserconfig.xml" content="/icons/browserconfig.xml"/><meta name="msapplication-TileColor-20-#537bd8" content="#537bd8"/><meta name="msapplication-tap-highlight-21-no" content="no"/><meta name="theme-color-22-#537bd8" content="#537bd8"/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="icon" type="image/png" sizes="196x196" href="/icons/favicon-196.png"/><link rel="apple-touch-icon" href="/icons/apple-icon-180.png"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-2732.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2732-2048.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2388-1668.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1536-2048.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-1536.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1668-2224.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2224-1668.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1620-2160.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2160-1620.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1284-2778.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2778-1284.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1170-2532.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2532-1170.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1125-2436.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2436-1125.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2688.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2688-1242.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-828-1792.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1792-828.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2208.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2208-1242.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-750-1334.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1334-750.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-640-1136.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1136-640.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="preload" href="/_next/static/css/c040c6b3325bf704.css" as="style"/><script src="/admin-ui-permissions.js?v=4.0.
|
|
1
|
+
<!DOCTYPE html><html class="h-full"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Unchained: Admin UI</title><meta name="og:description-0-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="og:site_name-1-Admin UI" content="Admin UI"/><meta name="og:url-2-https://unchained.shop" content="https://unchained.shop"/><meta name="og:image-3-/icons/manifest-icon-512.maskable.png" content="/icons/manifest-icon-512.maskable.png"/><meta name="og:type-4-website" content="website"/><meta name="og:title-5-Unchained Admin UI" content="Unchained Admin UI"/><meta name="twitter:image-6-/icons/manifest-icon-192.maskable.png" content="/icons/manifest-icon-192.maskable.png"/><meta name="twitter:creator-7-@unchainedshop" content="@unchainedshop"/><meta name="twitter:description-8-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="twitter:card-9-summary" content="summary"/><meta name="twitter:url-10-https://unchained.shop" content="https://unchained.shop"/><meta name="twitter:title-11-Unchained Admin UI" content="Unchained Admin UI"/><meta name="application-name-12-Unchained Admin UI" content="Unchained Admin UI"/><meta name="apple-mobile-web-app-capable-13-yes" content="yes"/><meta name="apple-mobile-web-app-status-bar-style-14-default" content="default"/><meta name="apple-mobile-web-app-title-15-Admin UI" content="Admin UI"/><meta name="description-16-Unchained e-commerce shop admin control" content="Unchained e-commerce shop admin control"/><meta name="format-detection-17-telephone=no" content="telephone=no"/><meta name="mobile-web-app-capable-18-yes" content="yes"/><meta name="msapplication-config-19-/icons/browserconfig.xml" content="/icons/browserconfig.xml"/><meta name="msapplication-TileColor-20-#537bd8" content="#537bd8"/><meta name="msapplication-tap-highlight-21-no" content="no"/><meta name="theme-color-22-#537bd8" content="#537bd8"/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="icon" type="image/png" sizes="196x196" href="/icons/favicon-196.png"/><link rel="apple-touch-icon" href="/icons/apple-icon-180.png"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-2732.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2732-2048.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2388-1668.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1536-2048.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-1536.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1668-2224.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2224-1668.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1620-2160.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2160-1620.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1284-2778.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2778-1284.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1170-2532.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2532-1170.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1125-2436.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2436-1125.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2688.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2688-1242.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-828-1792.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1792-828.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2208.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2208-1242.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-750-1334.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1334-750.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-640-1136.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1136-640.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="preload" href="/_next/static/css/c040c6b3325bf704.css" as="style"/><script src="/admin-ui-permissions.js?v=4.0.34" id="role-config-script"></script><link rel="stylesheet" href="/_next/static/css/c040c6b3325bf704.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-088efe37e04a6f62.js" defer=""></script><script src="/_next/static/chunks/framework-1548034a53843b9f.js" defer=""></script><script src="/_next/static/chunks/main-292286a778fb9ddd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b9d32e939f08e52c.js" defer=""></script><script src="/_next/static/chunks/pages/404-fd156a1aa17e1e7c.js" defer=""></script><script src="/_next/static/s-5cpM1Agoud9ipZa4F1a/_buildManifest.js" defer=""></script><script src="/_next/static/s-5cpM1Agoud9ipZa4F1a/_ssgManifest.js" defer=""></script></head><body class="h-full bg-slate-50 dark:bg-slate-950 dark:text-slate-200"><noscript>
|
|
2
2
|
<!--
|
|
3
3
|
_____ _____ _____ _____ _____ _____ _____ _____ ____
|
|
4
4
|
| | | | | | | | _ | | | | __| \
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
- Technology, Engineering & Design by Unchained Commerce GmbH - https://unchained.shop
|
|
9
9
|
|
|
10
10
|
-->
|
|
11
|
-
</noscript><div id="__next"><section class="Toastify" aria-live="polite" aria-atomic="false" aria-relevant="additions text" aria-label="Notifications Alt+T"></section><div class="my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5"><div class="flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200"><svg fill="none" class="h-6 w-6 animate-spin" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z" fill="currentColor" fill-rule="evenodd"></path></svg><div>Loading ...</div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"componentName":"i"},"page":"/404","query":{},"buildId":"
|
|
11
|
+
</noscript><div id="__next"><section class="Toastify" aria-live="polite" aria-atomic="false" aria-relevant="additions text" aria-label="Notifications Alt+T"></section><div class="my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5"><div class="flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200"><svg fill="none" class="h-6 w-6 animate-spin" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z" fill="currentColor" fill-rule="evenodd"></path></svg><div>Loading ...</div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"componentName":"i"},"page":"/404","query":{},"buildId":"s-5cpM1Agoud9ipZa4F1a","nextExport":true,"isFallback":false,"appGip":true,"scriptLoader":[]}</script></body></html>
|
package/out/404.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="h-full"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Unchained: Admin UI</title><meta name="og:description-0-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="og:site_name-1-Admin UI" content="Admin UI"/><meta name="og:url-2-https://unchained.shop" content="https://unchained.shop"/><meta name="og:image-3-/icons/manifest-icon-512.maskable.png" content="/icons/manifest-icon-512.maskable.png"/><meta name="og:type-4-website" content="website"/><meta name="og:title-5-Unchained Admin UI" content="Unchained Admin UI"/><meta name="twitter:image-6-/icons/manifest-icon-192.maskable.png" content="/icons/manifest-icon-192.maskable.png"/><meta name="twitter:creator-7-@unchainedshop" content="@unchainedshop"/><meta name="twitter:description-8-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="twitter:card-9-summary" content="summary"/><meta name="twitter:url-10-https://unchained.shop" content="https://unchained.shop"/><meta name="twitter:title-11-Unchained Admin UI" content="Unchained Admin UI"/><meta name="application-name-12-Unchained Admin UI" content="Unchained Admin UI"/><meta name="apple-mobile-web-app-capable-13-yes" content="yes"/><meta name="apple-mobile-web-app-status-bar-style-14-default" content="default"/><meta name="apple-mobile-web-app-title-15-Admin UI" content="Admin UI"/><meta name="description-16-Unchained e-commerce shop admin control" content="Unchained e-commerce shop admin control"/><meta name="format-detection-17-telephone=no" content="telephone=no"/><meta name="mobile-web-app-capable-18-yes" content="yes"/><meta name="msapplication-config-19-/icons/browserconfig.xml" content="/icons/browserconfig.xml"/><meta name="msapplication-TileColor-20-#537bd8" content="#537bd8"/><meta name="msapplication-tap-highlight-21-no" content="no"/><meta name="theme-color-22-#537bd8" content="#537bd8"/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="icon" type="image/png" sizes="196x196" href="/icons/favicon-196.png"/><link rel="apple-touch-icon" href="/icons/apple-icon-180.png"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-2732.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2732-2048.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2388-1668.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1536-2048.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-1536.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1668-2224.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2224-1668.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1620-2160.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2160-1620.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1284-2778.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2778-1284.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1170-2532.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2532-1170.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1125-2436.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2436-1125.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2688.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2688-1242.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-828-1792.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1792-828.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2208.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2208-1242.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-750-1334.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1334-750.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-640-1136.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1136-640.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="preload" href="/_next/static/css/c040c6b3325bf704.css" as="style"/><script src="/admin-ui-permissions.js?v=4.0.
|
|
1
|
+
<!DOCTYPE html><html class="h-full"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Unchained: Admin UI</title><meta name="og:description-0-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="og:site_name-1-Admin UI" content="Admin UI"/><meta name="og:url-2-https://unchained.shop" content="https://unchained.shop"/><meta name="og:image-3-/icons/manifest-icon-512.maskable.png" content="/icons/manifest-icon-512.maskable.png"/><meta name="og:type-4-website" content="website"/><meta name="og:title-5-Unchained Admin UI" content="Unchained Admin UI"/><meta name="twitter:image-6-/icons/manifest-icon-192.maskable.png" content="/icons/manifest-icon-192.maskable.png"/><meta name="twitter:creator-7-@unchainedshop" content="@unchainedshop"/><meta name="twitter:description-8-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="twitter:card-9-summary" content="summary"/><meta name="twitter:url-10-https://unchained.shop" content="https://unchained.shop"/><meta name="twitter:title-11-Unchained Admin UI" content="Unchained Admin UI"/><meta name="application-name-12-Unchained Admin UI" content="Unchained Admin UI"/><meta name="apple-mobile-web-app-capable-13-yes" content="yes"/><meta name="apple-mobile-web-app-status-bar-style-14-default" content="default"/><meta name="apple-mobile-web-app-title-15-Admin UI" content="Admin UI"/><meta name="description-16-Unchained e-commerce shop admin control" content="Unchained e-commerce shop admin control"/><meta name="format-detection-17-telephone=no" content="telephone=no"/><meta name="mobile-web-app-capable-18-yes" content="yes"/><meta name="msapplication-config-19-/icons/browserconfig.xml" content="/icons/browserconfig.xml"/><meta name="msapplication-TileColor-20-#537bd8" content="#537bd8"/><meta name="msapplication-tap-highlight-21-no" content="no"/><meta name="theme-color-22-#537bd8" content="#537bd8"/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="icon" type="image/png" sizes="196x196" href="/icons/favicon-196.png"/><link rel="apple-touch-icon" href="/icons/apple-icon-180.png"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-2732.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2732-2048.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2388-1668.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1536-2048.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-1536.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1668-2224.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2224-1668.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1620-2160.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2160-1620.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1284-2778.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2778-1284.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1170-2532.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2532-1170.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1125-2436.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2436-1125.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2688.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2688-1242.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-828-1792.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1792-828.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2208.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2208-1242.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-750-1334.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1334-750.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-640-1136.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1136-640.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="preload" href="/_next/static/css/c040c6b3325bf704.css" as="style"/><script src="/admin-ui-permissions.js?v=4.0.34" id="role-config-script"></script><link rel="stylesheet" href="/_next/static/css/c040c6b3325bf704.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-088efe37e04a6f62.js" defer=""></script><script src="/_next/static/chunks/framework-1548034a53843b9f.js" defer=""></script><script src="/_next/static/chunks/main-292286a778fb9ddd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b9d32e939f08e52c.js" defer=""></script><script src="/_next/static/chunks/pages/404-fd156a1aa17e1e7c.js" defer=""></script><script src="/_next/static/s-5cpM1Agoud9ipZa4F1a/_buildManifest.js" defer=""></script><script src="/_next/static/s-5cpM1Agoud9ipZa4F1a/_ssgManifest.js" defer=""></script></head><body class="h-full bg-slate-50 dark:bg-slate-950 dark:text-slate-200"><noscript>
|
|
2
2
|
<!--
|
|
3
3
|
_____ _____ _____ _____ _____ _____ _____ _____ ____
|
|
4
4
|
| | | | | | | | _ | | | | __| \
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
- Technology, Engineering & Design by Unchained Commerce GmbH - https://unchained.shop
|
|
9
9
|
|
|
10
10
|
-->
|
|
11
|
-
</noscript><div id="__next"><section class="Toastify" aria-live="polite" aria-atomic="false" aria-relevant="additions text" aria-label="Notifications Alt+T"></section><div class="my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5"><div class="flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200"><svg fill="none" class="h-6 w-6 animate-spin" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z" fill="currentColor" fill-rule="evenodd"></path></svg><div>Loading ...</div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"componentName":"i"},"page":"/404","query":{},"buildId":"
|
|
11
|
+
</noscript><div id="__next"><section class="Toastify" aria-live="polite" aria-atomic="false" aria-relevant="additions text" aria-label="Notifications Alt+T"></section><div class="my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5"><div class="flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200"><svg fill="none" class="h-6 w-6 animate-spin" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z" fill="currentColor" fill-rule="evenodd"></path></svg><div>Loading ...</div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"componentName":"i"},"page":"/404","query":{},"buildId":"s-5cpM1Agoud9ipZa4F1a","nextExport":true,"isFallback":false,"appGip":true,"scriptLoader":[]}</script></body></html>
|
package/out/423/index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="h-full"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Unchained: Admin UI</title><meta name="og:description-0-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="og:site_name-1-Admin UI" content="Admin UI"/><meta name="og:url-2-https://unchained.shop" content="https://unchained.shop"/><meta name="og:image-3-/icons/manifest-icon-512.maskable.png" content="/icons/manifest-icon-512.maskable.png"/><meta name="og:type-4-website" content="website"/><meta name="og:title-5-Unchained Admin UI" content="Unchained Admin UI"/><meta name="twitter:image-6-/icons/manifest-icon-192.maskable.png" content="/icons/manifest-icon-192.maskable.png"/><meta name="twitter:creator-7-@unchainedshop" content="@unchainedshop"/><meta name="twitter:description-8-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="twitter:card-9-summary" content="summary"/><meta name="twitter:url-10-https://unchained.shop" content="https://unchained.shop"/><meta name="twitter:title-11-Unchained Admin UI" content="Unchained Admin UI"/><meta name="application-name-12-Unchained Admin UI" content="Unchained Admin UI"/><meta name="apple-mobile-web-app-capable-13-yes" content="yes"/><meta name="apple-mobile-web-app-status-bar-style-14-default" content="default"/><meta name="apple-mobile-web-app-title-15-Admin UI" content="Admin UI"/><meta name="description-16-Unchained e-commerce shop admin control" content="Unchained e-commerce shop admin control"/><meta name="format-detection-17-telephone=no" content="telephone=no"/><meta name="mobile-web-app-capable-18-yes" content="yes"/><meta name="msapplication-config-19-/icons/browserconfig.xml" content="/icons/browserconfig.xml"/><meta name="msapplication-TileColor-20-#537bd8" content="#537bd8"/><meta name="msapplication-tap-highlight-21-no" content="no"/><meta name="theme-color-22-#537bd8" content="#537bd8"/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="icon" type="image/png" sizes="196x196" href="/icons/favicon-196.png"/><link rel="apple-touch-icon" href="/icons/apple-icon-180.png"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-2732.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2732-2048.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2388-1668.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1536-2048.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-1536.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1668-2224.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2224-1668.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1620-2160.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2160-1620.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1284-2778.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2778-1284.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1170-2532.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2532-1170.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1125-2436.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2436-1125.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2688.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2688-1242.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-828-1792.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1792-828.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2208.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2208-1242.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-750-1334.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1334-750.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-640-1136.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1136-640.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="preload" href="/_next/static/css/c040c6b3325bf704.css" as="style"/><script src="/admin-ui-permissions.js?v=4.0.
|
|
1
|
+
<!DOCTYPE html><html class="h-full"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Unchained: Admin UI</title><meta name="og:description-0-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="og:site_name-1-Admin UI" content="Admin UI"/><meta name="og:url-2-https://unchained.shop" content="https://unchained.shop"/><meta name="og:image-3-/icons/manifest-icon-512.maskable.png" content="/icons/manifest-icon-512.maskable.png"/><meta name="og:type-4-website" content="website"/><meta name="og:title-5-Unchained Admin UI" content="Unchained Admin UI"/><meta name="twitter:image-6-/icons/manifest-icon-192.maskable.png" content="/icons/manifest-icon-192.maskable.png"/><meta name="twitter:creator-7-@unchainedshop" content="@unchainedshop"/><meta name="twitter:description-8-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="twitter:card-9-summary" content="summary"/><meta name="twitter:url-10-https://unchained.shop" content="https://unchained.shop"/><meta name="twitter:title-11-Unchained Admin UI" content="Unchained Admin UI"/><meta name="application-name-12-Unchained Admin UI" content="Unchained Admin UI"/><meta name="apple-mobile-web-app-capable-13-yes" content="yes"/><meta name="apple-mobile-web-app-status-bar-style-14-default" content="default"/><meta name="apple-mobile-web-app-title-15-Admin UI" content="Admin UI"/><meta name="description-16-Unchained e-commerce shop admin control" content="Unchained e-commerce shop admin control"/><meta name="format-detection-17-telephone=no" content="telephone=no"/><meta name="mobile-web-app-capable-18-yes" content="yes"/><meta name="msapplication-config-19-/icons/browserconfig.xml" content="/icons/browserconfig.xml"/><meta name="msapplication-TileColor-20-#537bd8" content="#537bd8"/><meta name="msapplication-tap-highlight-21-no" content="no"/><meta name="theme-color-22-#537bd8" content="#537bd8"/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="icon" type="image/png" sizes="196x196" href="/icons/favicon-196.png"/><link rel="apple-touch-icon" href="/icons/apple-icon-180.png"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-2732.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2732-2048.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2388-1668.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1536-2048.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-1536.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1668-2224.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2224-1668.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1620-2160.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2160-1620.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1284-2778.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2778-1284.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1170-2532.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2532-1170.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1125-2436.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2436-1125.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2688.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2688-1242.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-828-1792.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1792-828.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2208.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2208-1242.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-750-1334.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1334-750.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-640-1136.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1136-640.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="preload" href="/_next/static/css/c040c6b3325bf704.css" as="style"/><script src="/admin-ui-permissions.js?v=4.0.34" id="role-config-script"></script><link rel="stylesheet" href="/_next/static/css/c040c6b3325bf704.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-088efe37e04a6f62.js" defer=""></script><script src="/_next/static/chunks/framework-1548034a53843b9f.js" defer=""></script><script src="/_next/static/chunks/main-292286a778fb9ddd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b9d32e939f08e52c.js" defer=""></script><script src="/_next/static/chunks/pages/423-758c63362dcdb6cf.js" defer=""></script><script src="/_next/static/s-5cpM1Agoud9ipZa4F1a/_buildManifest.js" defer=""></script><script src="/_next/static/s-5cpM1Agoud9ipZa4F1a/_ssgManifest.js" defer=""></script></head><body class="h-full bg-slate-50 dark:bg-slate-950 dark:text-slate-200"><noscript>
|
|
2
2
|
<!--
|
|
3
3
|
_____ _____ _____ _____ _____ _____ _____ _____ ____
|
|
4
4
|
| | | | | | | | _ | | | | __| \
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
- Technology, Engineering & Design by Unchained Commerce GmbH - https://unchained.shop
|
|
9
9
|
|
|
10
10
|
-->
|
|
11
|
-
</noscript><div id="__next"><section class="Toastify" aria-live="polite" aria-atomic="false" aria-relevant="additions text" aria-label="Notifications Alt+T"></section><div class="my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5"><div class="flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200"><svg fill="none" class="h-6 w-6 animate-spin" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z" fill="currentColor" fill-rule="evenodd"></path></svg><div>Loading ...</div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"componentName":"p"},"page":"/423","query":{},"buildId":"
|
|
11
|
+
</noscript><div id="__next"><section class="Toastify" aria-live="polite" aria-atomic="false" aria-relevant="additions text" aria-label="Notifications Alt+T"></section><div class="my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5"><div class="flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200"><svg fill="none" class="h-6 w-6 animate-spin" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z" fill="currentColor" fill-rule="evenodd"></path></svg><div>Loading ...</div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"componentName":"p"},"page":"/423","query":{},"buildId":"s-5cpM1Agoud9ipZa4F1a","nextExport":true,"isFallback":false,"appGip":true,"scriptLoader":[]}</script></body></html>
|
package/out/500/index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="h-full"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Unchained: Admin UI</title><meta name="og:description-0-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="og:site_name-1-Admin UI" content="Admin UI"/><meta name="og:url-2-https://unchained.shop" content="https://unchained.shop"/><meta name="og:image-3-/icons/manifest-icon-512.maskable.png" content="/icons/manifest-icon-512.maskable.png"/><meta name="og:type-4-website" content="website"/><meta name="og:title-5-Unchained Admin UI" content="Unchained Admin UI"/><meta name="twitter:image-6-/icons/manifest-icon-192.maskable.png" content="/icons/manifest-icon-192.maskable.png"/><meta name="twitter:creator-7-@unchainedshop" content="@unchainedshop"/><meta name="twitter:description-8-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="twitter:card-9-summary" content="summary"/><meta name="twitter:url-10-https://unchained.shop" content="https://unchained.shop"/><meta name="twitter:title-11-Unchained Admin UI" content="Unchained Admin UI"/><meta name="application-name-12-Unchained Admin UI" content="Unchained Admin UI"/><meta name="apple-mobile-web-app-capable-13-yes" content="yes"/><meta name="apple-mobile-web-app-status-bar-style-14-default" content="default"/><meta name="apple-mobile-web-app-title-15-Admin UI" content="Admin UI"/><meta name="description-16-Unchained e-commerce shop admin control" content="Unchained e-commerce shop admin control"/><meta name="format-detection-17-telephone=no" content="telephone=no"/><meta name="mobile-web-app-capable-18-yes" content="yes"/><meta name="msapplication-config-19-/icons/browserconfig.xml" content="/icons/browserconfig.xml"/><meta name="msapplication-TileColor-20-#537bd8" content="#537bd8"/><meta name="msapplication-tap-highlight-21-no" content="no"/><meta name="theme-color-22-#537bd8" content="#537bd8"/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="icon" type="image/png" sizes="196x196" href="/icons/favicon-196.png"/><link rel="apple-touch-icon" href="/icons/apple-icon-180.png"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-2732.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2732-2048.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2388-1668.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1536-2048.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-1536.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1668-2224.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2224-1668.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1620-2160.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2160-1620.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1284-2778.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2778-1284.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1170-2532.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2532-1170.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1125-2436.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2436-1125.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2688.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2688-1242.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-828-1792.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1792-828.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2208.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2208-1242.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-750-1334.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1334-750.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-640-1136.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1136-640.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="preload" href="/_next/static/css/c040c6b3325bf704.css" as="style"/><script src="/admin-ui-permissions.js?v=4.0.
|
|
1
|
+
<!DOCTYPE html><html class="h-full"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Unchained: Admin UI</title><meta name="og:description-0-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="og:site_name-1-Admin UI" content="Admin UI"/><meta name="og:url-2-https://unchained.shop" content="https://unchained.shop"/><meta name="og:image-3-/icons/manifest-icon-512.maskable.png" content="/icons/manifest-icon-512.maskable.png"/><meta name="og:type-4-website" content="website"/><meta name="og:title-5-Unchained Admin UI" content="Unchained Admin UI"/><meta name="twitter:image-6-/icons/manifest-icon-192.maskable.png" content="/icons/manifest-icon-192.maskable.png"/><meta name="twitter:creator-7-@unchainedshop" content="@unchainedshop"/><meta name="twitter:description-8-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="twitter:card-9-summary" content="summary"/><meta name="twitter:url-10-https://unchained.shop" content="https://unchained.shop"/><meta name="twitter:title-11-Unchained Admin UI" content="Unchained Admin UI"/><meta name="application-name-12-Unchained Admin UI" content="Unchained Admin UI"/><meta name="apple-mobile-web-app-capable-13-yes" content="yes"/><meta name="apple-mobile-web-app-status-bar-style-14-default" content="default"/><meta name="apple-mobile-web-app-title-15-Admin UI" content="Admin UI"/><meta name="description-16-Unchained e-commerce shop admin control" content="Unchained e-commerce shop admin control"/><meta name="format-detection-17-telephone=no" content="telephone=no"/><meta name="mobile-web-app-capable-18-yes" content="yes"/><meta name="msapplication-config-19-/icons/browserconfig.xml" content="/icons/browserconfig.xml"/><meta name="msapplication-TileColor-20-#537bd8" content="#537bd8"/><meta name="msapplication-tap-highlight-21-no" content="no"/><meta name="theme-color-22-#537bd8" content="#537bd8"/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="icon" type="image/png" sizes="196x196" href="/icons/favicon-196.png"/><link rel="apple-touch-icon" href="/icons/apple-icon-180.png"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-2732.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2732-2048.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2388-1668.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1536-2048.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-1536.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1668-2224.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2224-1668.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1620-2160.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2160-1620.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1284-2778.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2778-1284.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1170-2532.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2532-1170.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1125-2436.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2436-1125.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2688.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2688-1242.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-828-1792.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1792-828.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2208.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2208-1242.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-750-1334.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1334-750.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-640-1136.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1136-640.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="preload" href="/_next/static/css/c040c6b3325bf704.css" as="style"/><script src="/admin-ui-permissions.js?v=4.0.34" id="role-config-script"></script><link rel="stylesheet" href="/_next/static/css/c040c6b3325bf704.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-088efe37e04a6f62.js" defer=""></script><script src="/_next/static/chunks/framework-1548034a53843b9f.js" defer=""></script><script src="/_next/static/chunks/main-292286a778fb9ddd.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b9d32e939f08e52c.js" defer=""></script><script src="/_next/static/chunks/pages/500-30b2ea00367cf5a3.js" defer=""></script><script src="/_next/static/s-5cpM1Agoud9ipZa4F1a/_buildManifest.js" defer=""></script><script src="/_next/static/s-5cpM1Agoud9ipZa4F1a/_ssgManifest.js" defer=""></script></head><body class="h-full bg-slate-50 dark:bg-slate-950 dark:text-slate-200"><noscript>
|
|
2
2
|
<!--
|
|
3
3
|
_____ _____ _____ _____ _____ _____ _____ _____ ____
|
|
4
4
|
| | | | | | | | _ | | | | __| \
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
- Technology, Engineering & Design by Unchained Commerce GmbH - https://unchained.shop
|
|
9
9
|
|
|
10
10
|
-->
|
|
11
|
-
</noscript><div id="__next"><section class="Toastify" aria-live="polite" aria-atomic="false" aria-relevant="additions text" aria-label="Notifications Alt+T"></section><div class="my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5"><div class="flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200"><svg fill="none" class="h-6 w-6 animate-spin" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z" fill="currentColor" fill-rule="evenodd"></path></svg><div>Loading ...</div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"componentName":"f"},"page":"/500","query":{},"buildId":"
|
|
11
|
+
</noscript><div id="__next"><section class="Toastify" aria-live="polite" aria-atomic="false" aria-relevant="additions text" aria-label="Notifications Alt+T"></section><div class="my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5"><div class="flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200"><svg fill="none" class="h-6 w-6 animate-spin" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z" fill="currentColor" fill-rule="evenodd"></path></svg><div>Loading ...</div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"componentName":"f"},"page":"/500","query":{},"buildId":"s-5cpM1Agoud9ipZa4F1a","nextExport":true,"isFallback":false,"appGip":true,"scriptLoader":[]}</script></body></html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1513],{9964:(e,n,t)=>{t.d(n,{A:()=>r});var l=t(37876),s=t(77742);let r=e=>{let{onOkClick:n,onCancelClick:t,okText:r=null,cancelText:a=null,headerText:d=null,message:i=null,icon:o=null,close:u=null}=e,{formatMessage:c}=(0,s.A)();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"sm:flex sm:items-start",children:[o||(0,l.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,l.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,l.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,l.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:d||c({id:"warning",defaultMessage:"Warning!"})}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:i||c({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,l.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,l.jsx)("button",{id:"danger_continue",onClick:n,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm",children:r||c({id:"continue",defaultMessage:"Continue"})}),(0,l.jsx)("button",{id:"danger_cancel",onClick:t||u,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:a||c({id:"cancel",defaultMessage:"Cancel"})})]})]})}},11979:(e,n,t)=>{t.d(n,{Ay:()=>r,dF:()=>s,id:()=>l});let l=e=>{if(!e)return null;let n=null==e?void 0:e.split("_id_");return null==n?void 0:n.pop()},s=e=>{if(!e)return null;let[n]=(null==e?void 0:e.split("_id_"))||[];return n},r=e=>{var n;let{_id:t,texts:l}=e;return"".concat((null==l||null==(n=l.slug)?void 0:n.split("/").join(""))||"","_id_").concat(t)}},32200:(e,n,t)=>{t.d(n,{A:()=>i});var l=t(96427),s=t(79350),r=t(18885);function a(){let e=(0,l._)(['\n query DeliveryProvidersType {\n deliveryProviderType: __type(name: "DeliveryProviderType") {\n options: enumValues {\n value: name\n label: description\n }\n }\n }\n']);return a=function(){return e},e}let d=(0,s.J1)(a()),i=()=>{var e;let{data:n,loading:t,error:l}=(0,r.I)(d);return{deliveryProviderType:(null==n||null==(e=n.deliveryProviderType)?void 0:e.options)||[],loading:t,error:l}}},37986:(e,n,t)=>{t.d(n,{A:()=>a});var l=t(37876),s=t(88062),r=t(77742);let a=e=>{let{onClick:n,text:t=null,Icon:a=null}=e,{formatMessage:d}=(0,r.A)();return(0,l.jsxs)("button",{type:"button",onClick:n,"aria-describedby":"header-delete-button",className:"inline-flex items-center gap-2 justify-center rounded-md border border-rose-500 px-4 py-2 text-sm font-medium leading-5 text-rose-600 dark:text-rose-200 shadow-sm hover:border-rose-600 hover:bg-rose-600 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 h-[38px]",children:[(0,l.jsx)("span",{children:a||(0,l.jsx)(s.A,{className:"h-5 w-5"})}),t||d({id:"delete",defaultMessage:"Delete"})]})}},43221:(e,n,t)=>{t.d(n,{A:()=>i});var l=t(96427),s=t(79350),r=t(18885);function a(){let e=(0,l._)(['\n query PaymentProvidersType {\n paymentProviderType: __type(name: "PaymentProviderType") {\n options: enumValues {\n value: name\n label: description\n }\n }\n }\n']);return a=function(){return e},e}let d=(0,s.J1)(a()),i=()=>{var e;let{data:n,loading:t,error:l}=(0,r.I)(d);return{paymentProviderType:(null==n||null==(e=n.paymentProviderType)?void 0:e.options)||[],loading:t,error:l}}},81513:(e,n,t)=>{t.r(n),t.d(n,{default:()=>em});var l=t(37876),s=t(89099),r=t(77742),a=t(89848),d=t(48010),i=t(47340),o=t(96427),u=t(79350),c=t(18885),m=t(35937);function x(){let e=(0,o._)(["\n fragment OrderDetailFragment on Order {\n _id\n totalTax: total(category: TAXES) {\n amount\n currencyCode\n }\n itemsTotal: total(category: ITEMS) {\n amount\n currencyCode\n }\n totalDiscount: total(category: DISCOUNTS) {\n amount\n currencyCode\n }\n\n totalPayment: total(category: PAYMENT) {\n amount\n currencyCode\n }\n totalDelivery: total(category: DELIVERY) {\n amount\n currencyCode\n }\n\n user {\n _id\n username\n isGuest\n avatar {\n _id\n url\n }\n profile {\n displayName\n address {\n firstName\n lastName\n }\n }\n }\n discounts {\n _id\n trigger\n code\n interface {\n _id\n label\n version\n }\n total {\n amount\n currencyCode\n isTaxable\n isNetPrice\n }\n discounted {\n _id\n orderDiscount {\n _id\n total {\n amount\n currencyCode\n isTaxable\n isNetPrice\n }\n }\n total {\n amount\n currencyCode\n isTaxable\n isNetPrice\n }\n }\n }\n payment {\n _id\n provider {\n _id\n type\n interface {\n _id\n label\n version\n }\n }\n status\n fee {\n currencyCode\n amount\n }\n paid\n }\n delivery {\n _id\n status\n provider {\n _id\n type\n interface {\n _id\n label\n version\n }\n }\n\n delivered\n }\n\n orderNumber\n status\n created\n updated\n ordered\n\n confirmed\n fullfilled\n contact {\n telNumber\n emailAddress\n }\n country {\n _id\n isoCode\n flagEmoji\n name\n }\n currency {\n _id\n isoCode\n isActive\n }\n billingAddress {\n firstName\n lastName\n company\n addressLine\n addressLine2\n postalCode\n countryCode\n regionCode\n city\n }\n delivery {\n _id\n ... on OrderDeliveryShipping {\n address {\n firstName\n lastName\n company\n addressLine\n addressLine2\n postalCode\n countryCode\n regionCode\n city\n }\n }\n provider {\n _id\n created\n updated\n deleted\n type\n configuration\n interface {\n _id\n label\n version\n }\n }\n status\n delivered\n fee {\n isTaxable\n isNetPrice\n amount\n currencyCode\n }\n discounts {\n _id\n orderDiscount {\n _id\n trigger\n code\n order {\n _id\n orderNumber\n }\n interface {\n _id\n label\n version\n }\n total {\n isTaxable\n isNetPrice\n amount\n currencyCode\n }\n discounted {\n _id\n orderDiscount {\n _id\n trigger\n code\n order {\n _id\n orderNumber\n }\n interface {\n _id\n label\n version\n }\n total {\n isTaxable\n isNetPrice\n amount\n currencyCode\n }\n }\n }\n }\n }\n\n delivered\n }\n total {\n isTaxable\n isTaxable\n amount\n currencyCode\n }\n items {\n _id\n product {\n _id\n texts {\n _id\n slug\n brand\n vendor\n title\n subtitle\n }\n media {\n _id\n file {\n _id\n url\n }\n }\n }\n quantity\n\n unitPrice {\n amount\n isTaxable\n isNetPrice\n currencyCode\n }\n total {\n amount\n isTaxable\n isNetPrice\n currencyCode\n }\n }\n }\n"]);return x=function(){return e},e}let v=(0,u.J1)(x());function f(){let e=(0,o._)(["\n query Order($orderId: ID!) {\n order(orderId: $orderId) {\n ...OrderDetailFragment\n ","\n }\n }\n ","\n"]);return f=function(){return e},e}let h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,u.J1)(f(),e,v)};var p=t(48230),y=t.n(p),g=t(38852),b=t(11979),j=t(64241);let N=e=>{var n,t,s,a,d,i,o,u,c,m,x;let{item:v}=e,{formatMessage:f}=(0,r.A)(),{formatPrice:h}=(0,g.Ab)();return(0,l.jsx)(y(),{href:"/products?slug=".concat((0,b.Ay)(v.product)),children:(0,l.jsx)("div",{className:"space-y-8",children:(0,l.jsxs)("div",{className:"flex items-center flex-wrap",children:[(0,l.jsx)("div",{className:"flex shrink-0 overflow-hidden rounded-lg sm:mx-0 ",children:(null==(t=v.product)||null==(n=t.media)?void 0:n.length)?(0,l.jsx)(j.A,{src:"".concat(null==(s=v.product)?void 0:s.media[0].file.url),alt:(null==v||null==(d=v.product)||null==(a=d.texts)?void 0:a.title)||(null==v||null==(o=v.product)||null==(i=o.texts)?void 0:i.subtitle),className:"object-cover object-center",width:80,height:80}):null}),(0,l.jsxs)("div",{className:"flex flex-col justify-center sm:mt-0 ml-3 sm:flex-auto",children:[(0,l.jsx)("h3",{className:"text-base text-slate-900 dark:text-slate-200 truncate",dangerouslySetInnerHTML:{__html:(null==v||null==(c=v.product)||null==(u=c.texts)?void 0:u.title)||(null==v||null==(x=v.product)||null==(m=x.texts)?void 0:m.subtitle)}}),(0,l.jsx)("div",{className:"mt-1 text-sm dark:text-slate-400",children:h(null==v?void 0:v.unitPrice)}),(0,l.jsxs)("div",{className:"mt-1 text-sm dark:text-slate-400",children:[f({id:"item_quantity",defaultMessage:"Quantity:"}),(0,l.jsx)("span",{className:"ml-1",children:null==v?void 0:v.quantity})]})]})]})})})},_=e=>{let{order:n}=e,{formatMessage:t}=(0,r.A)(),{formatPrice:s}=(0,g.Ab)(),a=(null==n?void 0:n.status)==="OPEN"||!(null==n?void 0:n.orderNumber);return(0,l.jsx)("div",{"aria-labelledby":"summary-heading",children:(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex items-center justify-between pb-3 text-xl",children:[(0,l.jsx)("dt",{className:"",children:t({id:"order_total",defaultMessage:"Order total"})}),(0,l.jsx)("dd",{className:"",children:s(null==n?void 0:n.total)})]}),!a&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("dt",{className:"text-slate-600 dark:text-slate-400",children:t({id:"discount",defaultMessage:"Discount"})}),(0,l.jsx)("dd",{className:"",children:s(null==n?void 0:n.totalDiscount)})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("dt",{className:"text-slate-600 dark:text-slate-400",children:t({id:"shipping",defaultMessage:"Shipping"})}),(0,l.jsx)("dd",{className:"",children:s(null==n?void 0:n.totalDelivery)})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("dt",{className:"text-slate-600 dark:text-slate-400",children:t({id:"tax",defaultMessage:"Tax"})}),(0,l.jsx)("dd",{className:"",children:s(null==n?void 0:n.totalTax)})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("dt",{className:"text-slate-600 dark:text-slate-400",children:t({id:"order_payment_fees",defaultMessage:"Fees"})}),(0,l.jsx)("dd",{className:"",children:s(null==n?void 0:n.totalPayment)})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("dt",{className:"text-slate-600 dark:text-slate-400",children:t({id:"subtotal",defaultMessage:"Subtotal"})}),(0,l.jsx)("dd",{className:"",children:s(null==n?void 0:n.itemsTotal)})]})]})]})})};var k=t(91459),A=t(86029),w=t(73930),C=t(53588);function M(){let e=(0,o._)(["\n mutation PayOrder($orderId: ID!) {\n payOrder(orderId: $orderId) {\n _id\n }\n }\n"]);return M=function(){return e},e}let T=(0,u.J1)(M());var I=t(43221);function O(){let e=(0,o._)(['\n query OrderPaymentStatus {\n paymentStatusTypes: __type(name: "OrderPaymentStatus") {\n options: enumValues {\n value: name\n label: description\n }\n }\n }\n']);return O=function(){return e},e}let P=(0,u.J1)(O());var D=t(13204);let E=e=>{let{enumType:n,currentType:t,label:s,component:a=null}=e,{formatMessage:d}=(0,r.A)();return a||(0,l.jsx)("span",{title:s,className:"".concat(t===n?"border-slate-300 bg-slate-200 text-slate-950 dark:bg-slate-800 dark:text-slate-200":"opacity-10 dark:bg-slate-900 "," mr-2 mb-2 inline-flex items-center rounded-md border border-slate-300 bg-white px-2 py-1 text-sm uppercase dark:border-slate-700 dark:bg-slate-800 dark:text-slate-200 transition-colors duration-200 ease-in-out hover:bg-slate-100 dark:hover:bg-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-slate-800"),children:(e=>{switch(e){case"INVOICE":return d({id:"invoice",defaultMessage:"INVOICE"});case"SHIPPING":return d({id:"shipping_method",defaultMessage:"SHIPPING"});case"OPEN":return d({id:"open",defaultMessage:"OPEN"});case"DELIVERED":return d({id:"delivered",defaultMessage:"Delivered"}).toUpperCase();case"PAID":return d({id:"paid",defaultMessage:"Paid"}).toUpperCase();default:return e}})(n)})},S=e=>{var n,t,s,d,i,o;let{order:u}=e,{paymentProviderType:m}=(0,I.A)(),{paymentStatusTypes:x}=(()=>{var e;let{data:n,loading:t,error:l}=(0,c.I)(P);return{paymentStatusTypes:(null==n||null==(e=n.paymentStatusTypes)?void 0:e.options)||[],loading:t,error:l}})(),{formatDateTime:v}=(0,D.A)(),{formatPrice:f}=(0,g.Ab)(),{formatMessage:h}=(0,r.A)(),{setModal:p}=(0,w.A)(),{payOrder:b}=(()=>{let[e]=(0,C.n)(T);return{payOrder:async n=>{let{orderId:t}=n;return e({variables:{orderId:t},refetchQueries:["Order"]})}}})(),j=async()=>{await p((0,l.jsx)(A.A,{buttonText:h({id:"pay",defaultMessage:"Mark paid"}),message:h({id:"mark_as_paid_question",defaultMessage:"This will change the order payment status to Paid."}),headerText:h({id:"mark_as_paid_question_header",defaultMessage:"Mark as paid?"}),onOkClick:async()=>{p(""),await b({orderId:u._id}),a.oR.success(h({id:"order_paid",defaultMessage:"Order payed successfully"}))}}))};return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,l.jsx)("h2",{className:"pt-4 text-2xl text-slate-900 dark:text-slate-200",children:h({id:"payment",defaultMessage:"Payment"})}),(null==u||null==(t=u.payment)||null==(n=t.fee)?void 0:n.currencyCode)&&(0,l.jsx)("span",{className:"block",children:f(u.payment.fee)}),(null==u||null==(s=u.payment)?void 0:s.paid)&&(0,l.jsx)("span",{className:"font-mono",children:v(u.payment.paid,{timeStyle:"short",dateStyle:"medium"})})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"mb-5 block text-xs font-mono",children:(null==u||null==(d=u.payment)?void 0:d.provider)&&(0,l.jsx)(y(),{href:"/payment-provider?paymentProviderId=".concat(u.payment.provider._id),className:"text-slate-500 dark:text-slate-300 hover:text-slate-800 dark:hover:text-slate-600",children:(0,g.SS)(null==(o=u.payment)||null==(i=o.provider)?void 0:i.interface)})}),(0,l.jsx)("div",{className:"mt-3 text-sm text-slate-500 dark:text-slate-200",children:h({id:"method",defaultMessage:"Method"})}),(0,l.jsx)("span",{className:"mr-2 block rounded-full py-1 text-xs font-semibold leading-5",children:[...m].sort((e,n)=>{var t,l,s,r;return e.value===(null==(l=u.payment)||null==(t=l.provider)?void 0:t.type)?-1:+(n.value===(null==(r=u.payment)||null==(s=r.provider)?void 0:s.type))}).map(e=>{var n,t;return(0,l.jsx)(E,{enumType:e.value,currentType:null==(t=u.payment)||null==(n=t.provider)?void 0:n.type,label:e.label},e.value)})}),(0,l.jsx)("div",{className:"mt-3 text-sm text-slate-500 dark:text-slate-200",children:h({id:"delivery_status",defaultMessage:"Status"})}),(0,l.jsx)("span",{className:"mr-2 block rounded-full py-1 text-xs font-semibold leading-5",children:[...x].sort((e,n)=>{var t,l;return e.value===(null==(t=u.payment)?void 0:t.status)?-1:+(n.value===(null==(l=u.payment)?void 0:l.status))}).map(e=>{var n;return(0,l.jsx)(E,{enumType:e.value,currentType:null==(n=u.payment)?void 0:n.status,label:e.label,component:"OPEN"===u.payment.status&&"PAID"===e.value&&(0,l.jsxs)("button",{id:"pay",type:"button",onClick:j,className:"cursor-pointer my-2 mr-2 inline-flex h-full items-center justify-center rounded-sm border border-transparent bg-slate-800 dark:bg-slate-600 py-1 px-2 text-xs font-semibold text-white shadow-xs hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-700 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,l.jsx)("span",{className:"mr-1",children:(0,l.jsx)(k.A,{className:"inline-block h-3 w-3 text-white"})}),h({id:"mark_as_paid",defaultMessage:"Mark as Paid"})]})},e.value)})})]})]})};var L=t(32200);function R(){let e=(0,o._)(['\n query OrderDeliveryStatus {\n deliveryStatusType: __type(name: "OrderDeliveryStatus") {\n options: enumValues {\n value: name\n label: description\n }\n }\n }\n']);return R=function(){return e},e}let F=(0,u.J1)(R());function J(){let e=(0,o._)(["\n mutation DeliverOrder($orderId: ID!) {\n deliverOrder(orderId: $orderId) {\n _id\n }\n }\n"]);return J=function(){return e},e}let q=(0,u.J1)(J()),$=e=>{var n,t,s,d,i,o,u;let{order:m}=e,{deliveryProviderType:x}=(0,L.A)(),{setModal:v}=(0,w.A)(),{deliveryStatusType:f}=(()=>{var e;let{data:n,loading:t,error:l}=(0,c.I)(F);return{deliveryStatusType:(null==n||null==(e=n.deliveryStatusType)?void 0:e.options)||[],loading:t,error:l}})(),{deliverOrder:h}=(()=>{let[e]=(0,C.n)(q);return{deliverOrder:async n=>{let{orderId:t}=n;return e({variables:{orderId:t},refetchQueries:["Order"]})}}})(),{formatPrice:p}=(0,g.Ab)(),{formatMessage:b}=(0,r.A)(),{formatDateTime:j}=(0,D.A)(),N=async()=>{await v((0,l.jsx)(A.A,{buttonText:b({id:"delivered",defaultMessage:"Delivered"}),message:b({id:"mark_as_delivered_message",defaultMessage:"This will change the order delivery status to delivered"}),headerText:b({id:"mark_as_delivered_question",defaultMessage:"Mark as delivered ?"}),onOkClick:async()=>{v(""),await h({orderId:m._id}),a.oR.success(b({id:"order__marked_delivered",defaultMessage:"Order marked as delivered successfully"}))}}))};return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,l.jsx)("h2",{className:"pt-4 text-2xl",children:b({id:"delivery",defaultMessage:"Delivery"})}),(null==m||null==(t=m.delivery)||null==(n=t.fee)?void 0:n.currencyCode)&&(0,l.jsx)("span",{className:"block",children:p(m.delivery.fee)}),(null==m||null==(s=m.delivery)?void 0:s.delivered)&&(0,l.jsx)("span",{className:"font-mono",children:j(m.delivery.delivered,{timeStyle:"short",dateStyle:"medium"})})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"mb-5 block font-mono text-xs",children:(null==m?void 0:m.delivery)&&(0,l.jsx)(y(),{href:"/delivery-provider?deliveryProviderId=".concat(null==m||null==(i=m.delivery)||null==(d=i.provider)?void 0:d._id),className:"text-slate-500 dark:text-slate-300 hover:text-slate-800 dark:hover:text-slate-600",children:(0,g.SS)(null==m||null==(u=m.delivery)||null==(o=u.provider)?void 0:o.interface)})}),(0,l.jsx)("div",{className:"mt-3 text-sm text-slate-500 dark:text-slate-200",children:b({id:"method",defaultMessage:"Method"})}),(0,l.jsx)("span",{className:"mr-2 block rounded-full py-1 text-xs font-semibold leading-5",children:[...x].sort((e,n)=>{var t,l,s,r;return e.value===(null==m||null==(l=m.delivery)||null==(t=l.provider)?void 0:t.type)?-1:+(n.value===(null==m||null==(r=m.delivery)||null==(s=r.provider)?void 0:s.type))}).map(e=>{var n,t;return(0,l.jsx)(E,{enumType:e.value,currentType:null==m||null==(t=m.delivery)||null==(n=t.provider)?void 0:n.type,label:e.label},e.value)})}),(0,l.jsx)("div",{className:"mt-3 text-sm text-slate-500 dark:text-slate-200",children:b({id:"status",defaultMessage:"Status"})}),(0,l.jsx)("span",{className:"mr-2 block rounded-full py-1 text-xs font-semibold leading-5",children:[...f].sort((e,n)=>{var t,l;return e.value===(null==m||null==(t=m.delivery)?void 0:t.status)?-1:+(n.value===(null==m||null==(l=m.delivery)?void 0:l.status))}).map(e=>{var n,t;return(0,l.jsx)(E,{enumType:e.value,currentType:null==m||null==(n=m.delivery)?void 0:n.status,label:e.label,component:(null==m||null==(t=m.delivery)?void 0:t.status)==="OPEN"&&"DELIVERED"===e.value&&(0,l.jsxs)("button",{id:"deliver",type:"button",onClick:N,className:"my-2 mr-2 inline-flex h-full items-center justify-center rounded-sm border border-slate-300 border-transparent bg-slate-800 dark:bg-slate-600 py-1 px-2 text-xs font-semibold text-white shadow-xs hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-700 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,l.jsx)("span",{className:"mr-1",children:(0,l.jsx)(k.A,{className:"inline-block h-3 w-3 text-white"})}),b({id:"mark_as_delivered",defaultMessage:"Mark as delivered"})]})},e.value)})})]})]})};var V=t(3887),G=t(71169);let Q=e=>{var n,t,s,a,d,i,o,u,c,m,x,v,f;let{order:h}=e,{formatMessage:p}=(0,r.A)(),y=(null==h||null==(n=h.delivery)?void 0:n.address)||(null==h?void 0:h.billingAddress);return(0,l.jsxs)("section",{"aria-labelledby":"addresses-heading",className:"lg:grid lg:grid-cols-2 flex flex-col gap-8",children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"mb-2 text-xl dark:text-slate-400 flex items-center gap-2",children:[(0,l.jsx)(V.A,{className:"h-5 w-5"}),p({id:"billing_address",defaultMessage:"Billing address"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"block",children:(null==h||null==(t=h.billingAddress)?void 0:t.firstName)&&(null==h||null==(s=h.billingAddress)?void 0:s.lastName)?"".concat(null==h||null==(a=h.billingAddress)?void 0:a.firstName," ").concat(null==h||null==(d=h.billingAddress)?void 0:d.lastName):(null==h||null==(i=h.billingAddress)?void 0:i.firstName)||(null==h||null==(o=h.billingAddress)?void 0:o.lastName)||""}),(0,l.jsx)("span",{className:"block",children:null==h||null==(u=h.billingAddress)?void 0:u.addressLine}),(null==h||null==(c=h.billingAddress)?void 0:c.addressLine2)&&(0,l.jsx)("span",{className:"block",children:h.billingAddress.addressLine2}),(0,l.jsx)("span",{children:null==h||null==(m=h.billingAddress)?void 0:m.postalCode}),"\xa0",(0,l.jsx)("span",{children:null==h||null==(x=h.billingAddress)?void 0:x.city}),(0,l.jsx)("span",{className:"block",children:(null==h||null==(v=h.country)?void 0:v.name)&&(0,l.jsxs)(l.Fragment,{children:[h.country.name," ",(0,l.jsx)("span",{className:"inline-block grayscale hover:grayscale-0 transition-all text-xl",children:h.country.flagEmoji})]})})]})]}),(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"mb-2 text-xl dark:text-slate-400 flex items-center gap-2",children:[(0,l.jsx)(G.A,{className:"h-5 w-5"}),p({id:"delivery_address",defaultMessage:"Delivery address"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"block",children:(null==y?void 0:y.firstName)&&(null==y?void 0:y.lastName)?"".concat(y.firstName," ").concat(y.lastName):(null==y?void 0:y.firstName)||(null==y?void 0:y.lastName)||""}),(0,l.jsx)("span",{className:"block",children:null==y?void 0:y.addressLine}),(null==y?void 0:y.addressLine2)&&(0,l.jsx)("span",{className:"block",children:y.addressLine2}),(0,l.jsx)("span",{children:null==y?void 0:y.postalCode}),"\xa0",(0,l.jsx)("span",{children:null==y?void 0:y.city}),(0,l.jsx)("span",{className:"block",children:(null==h||null==(f=h.country)?void 0:f.name)&&(0,l.jsxs)(l.Fragment,{children:[h.country.name," ",(0,l.jsx)("span",{className:"inline-block grayscale hover:grayscale-0 transition-all text-xl",children:h.country.flagEmoji})]})})]})]})]})};var U=t(14232),B=t(75347),H=t(16461),W=t(85717);let Y={SYSTEM:"teal",USER:"indigo"},z=e=>{var n,t;let{discounts:s}=e,{formatMessage:a}=(0,r.A)(),{formatPrice:d}=(0,g.Ab)();return(0,l.jsxs)("div",{className:"flex flex-auto flex-col",children:[(0,l.jsx)("h2",{className:"text-2xl",children:a({id:"discount_information",defaultMessage:"Discounts"})}),(0,l.jsx)("div",{className:"mt-2",children:(null==s?void 0:s.length)?(0,l.jsxs)(B.A,{className:"min-w-full ",children:[null==(n=s||[])?void 0:n.map(e=>(0,l.jsxs)(B.A.Row,{header:!0,children:[(0,l.jsx)(B.A.Cell,{children:a({id:"code",defaultMessage:"Code"})}),(0,l.jsx)(B.A.Cell,{children:a({id:"discount_amount",defaultMessage:"Discount Amount"})})]},e._id)),null==(t=s||[])?void 0:t.map(e=>(0,l.jsx)(U.Fragment,{children:(0,l.jsxs)(B.A.Row,{children:[(0,l.jsx)(B.A.Cell,{children:(0,l.jsxs)("div",{className:"flex items-center text-sm text-slate-900",children:[e.code?e.code:"n/a",(0,l.jsx)("span",{className:"mr-2 inline-block rounded-full py-1 text-xs font-semibold leading-5",children:(0,l.jsx)(H.A,{text:e.trigger,color:Y[e.trigger],square:!0})})]})}),(0,l.jsx)(B.A.Cell,{children:(0,l.jsx)("div",{className:"flex items-center text-sm text-slate-900",children:d(e.total)})})]})},e._id))]}):(0,l.jsx)(W.A,{message:a({id:"discounts",defaultMessage:"Discounts"})})})]})};function X(){let e=(0,o._)(['\n query OrderStatus {\n orderStatusType: __type(name: "OrderStatus") {\n options: enumValues {\n value: name\n label: description\n }\n }\n }\n']);return X=function(){return e},e}let K=(0,u.J1)(X());function Z(){let e=(0,o._)(["\n mutation ConfirmOrder($orderId: ID!) {\n confirmOrder(orderId: $orderId) {\n _id\n }\n }\n"]);return Z=function(){return e},e}let ee=(0,u.J1)(Z());var en=t(83955),et=t(68184);let el=e=>{var n,t,s,a,d;let{order:i}=e,{formatMessage:o,locale:u}=(0,r.A)(),{formatDateTime:c}=(0,D.A)();if(!i)return null;let m=(null==i?void 0:i.status)==="OPEN"||!(null==i?void 0:i.orderNumber);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex justify-between items-baseline flex-wrap mb-10",children:[(0,l.jsx)("div",{className:"flex items-center justify-between gap-5 flex-wrap",children:(0,l.jsx)("h2",{className:"text-2xl font-medium text-slate-900 dark:text-slate-200 sm:truncate sm:text-3xl lg:text-4xl xl:text-5xl",children:m?(0,l.jsxs)(l.Fragment,{children:[o({id:"cart",defaultMessage:"Cart"})," ".concat(i._id)]}):(0,l.jsxs)(l.Fragment,{children:[o({id:"order_number",defaultMessage:"Order #"}),(null==i?void 0:i.orderNumber)?"".concat(i.orderNumber):""]})})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"mr-1 text-slate-400 dark:text-slate-500",children:o(m?{id:"cart_created",defaultMessage:"Warenkorb erstellt"}:{id:"order_placed",defaultMessage:"Order placed"})}),m?c(i.created):(null==i?void 0:i.ordered)?c(i.ordered):null]})]}),!m&&(0,l.jsx)(et.A,{user:null==i?void 0:i.user,contact:null==i?void 0:i.contact}),m&&(null==i?void 0:i.user)&&(0,l.jsx)("div",{className:"mt-5",children:(0,l.jsx)("span",{className:"text-lg text-slate-600 dark:text-slate-400",children:(null==(n=i.user.profile)?void 0:n.displayName)||((null==(s=i.user.profile)||null==(t=s.address)?void 0:t.firstName)&&(null==(d=i.user.profile)||null==(a=d.address)?void 0:a.lastName)?"".concat(i.user.profile.address.firstName," ").concat(i.user.profile.address.lastName):i.user.username)||"Guest"})})]})};function es(){let e=(0,o._)(["\n mutation RejectOrder($orderId: ID!) {\n rejectOrder(orderId: $orderId) {\n _id\n }\n }\n"]);return es=function(){return e},e}let er=(0,u.J1)(es());var ea=t(9964);let ed=e=>{let{order:n}=e,{formatMessage:t}=(0,r.A)(),{setModal:s}=(0,w.A)(),{confirmOrder:d}=(()=>{let[e]=(0,C.n)(ee);return{confirmOrder:async n=>{let{orderId:t}=n;return e({variables:{orderId:t},refetchQueries:["Order"]})}}})(),{rejectOrder:i}=(()=>{let[e]=(0,C.n)(er);return{rejectOrder:async n=>{let{orderId:t}=n;return e({variables:{orderId:t},refetchQueries:["Order"]})}}})(),{orderStatusType:o}=(()=>{var e;let{data:n,loading:t,error:l}=(0,c.I)(K);return{orderStatusType:(null==n||null==(e=n.orderStatusType)?void 0:e.options)||[],loading:t,error:l}})();if(!n)return null;let u=(null==n?void 0:n.status)==="OPEN"||!(null==n?void 0:n.orderNumber),m=async()=>{await s((0,l.jsx)(A.A,{buttonText:t({id:"confirm_order_alert_button",defaultMessage:"Confirm"}),headerText:t({id:"confirm_order_alert_header",defaultMessage:"Confirm order?"}),message:t({id:"confirm_order_alert_message",defaultMessage:"This will mark order as confirmed"}),onOkClick:async()=>{s(""),await d({orderId:n._id}),a.oR.success(t({id:"order_confirmed_success",defaultMessage:"Order confirmed successfully"}))}}))},x=async()=>{await s((0,l.jsx)(ea.A,{onCancelClick:async()=>s(""),okText:t({id:"reject_order_alert_button",defaultMessage:"Reject"}),headerText:t({id:"reject_order_alert_header",defaultMessage:"Reject order?"}),onOkClick:async()=>{s(""),await i({orderId:n._id}),a.oR.success(t({id:"order_reject_success",defaultMessage:"Order rejected successfully"}))}}))},v={OPEN:{id:1,content:"created",visible:!0},PENDING:{id:2,content:"ordered",Component:(e=>(null==e?void 0:e.status)==="PENDING")(n)&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{id:"confirm_order",onClick:m,type:"button",className:"bg-white-300 relative -ml-px inline-flex items-center space-x-2 rounded-md border border-slate-900 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 px-2 py-1 text-sm font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 dark:focus:border-slate-400 focus:outline-hidden focus:ring-0 focus:ring-slate-800 dark:focus:ring-slate-400",children:t({id:"confirm_order",defaultMessage:"Confirm order"})}),(0,l.jsx)("button",{id:"reject_order",onClick:x,type:"button",className:"bg-white-300 relative -ml-px inline-flex items-center space-x-2 rounded-md border border-rose-500 bg-rose-500 px-2 py-1 text-sm font-medium text-white hover:bg-rose-700 focus:border-rose-400 focus:outline-hidden focus:ring-0 focus:ring-rose-400",children:t({id:"reject_order",defaultMessage:"Reject order"})})]}),visible:!0},REJECTED:{id:3,content:"rejected",visible:(null==n?void 0:n.status)==="REJECTED"},CONFIRMED:{id:4,content:"confirmed",visible:(null==n?void 0:n.status)!=="REJECTED"},FULLFILLED:{id:5,content:"fullfilled",visible:(null==n?void 0:n.status)!=="REJECTED"}};return(0,l.jsxs)("div",{className:"space-y-4 lg:gap-10 dark:text-slate-200",children:[(0,l.jsx)("div",{children:(0,l.jsx)(el,{order:n})}),!u&&(0,l.jsx)("div",{className:"mt-10",children:(0,l.jsx)(Q,{order:n})}),(0,l.jsxs)("div",{className:"mt-20 lg:grid lg:grid-cols-2 lg:gap-10",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"mb-6 text-xl dark:text-slate-400",children:t({id:"items_purchased",defaultMessage:"Items purchased"})}),(0,l.jsx)("div",{className:"flex gap-5 flex-col",children:null==n?void 0:n.items.map(e=>(0,l.jsx)(N,{item:e},e._id))})]}),(0,l.jsx)("div",{children:(0,l.jsx)(_,{order:n})})]}),(0,l.jsx)("div",{className:"mt-20",children:(0,l.jsx)(en.A,{data:n,statusTypes:o,timeline:v})}),!u&&(0,l.jsxs)("div",{className:"mt-10 lg:mt-30 lg:grid lg:grid-cols-2 xl:grid-cols-3 lg:gap-10",children:[(0,l.jsx)($,{order:n}),(0,l.jsx)(S,{order:n}),(0,l.jsx)(z,{discounts:null==n?void 0:n.discounts})]})]})};function ei(){let e=(0,o._)(["\n mutation RemoveOrder($orderId: ID!) {\n removeOrder(orderId: $orderId) {\n _id\n }\n }\n"]);return ei=function(){return e},e}let eo=(0,u.J1)(ei());var eu=t(37986),ec=t(30893);let em=e=>{let{orderId:n}=e,{formatMessage:t}=(0,r.A)(),{setModal:o}=(0,w.A)(),{removeOrder:u}=(()=>{let[e]=(0,C.n)(eo);return{removeOrder:async n=>{let{orderId:t}=n;return e({variables:{orderId:t},refetchQueries:["Order"]})}}})(),x=(0,s.useRouter)(),{hasRole:v}=(0,ec.A)(),{order:f,loading:p}=(e=>{let{orderId:n=null}=e,{customProperties:t}=(0,m.A)(),{data:l,loading:s,error:r}=(0,c.I)(h(null==t?void 0:t.Order),{skip:!n,variables:{orderId:n}});return{order:null==l?void 0:l.order,loading:s,error:r}})({orderId:n}),y=async()=>{await o((0,l.jsx)(ea.A,{message:t({id:"delete_order_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this order? "}),onCancelClick:async()=>o(""),onOkClick:async()=>{o(""),await u({orderId:n}),a.oR.success(t({id:"order_deleted",defaultMessage:"Order deleted successfully"})),x.push("/orders")},okText:t({id:"delete_order",defaultMessage:"Delete order"})}))};return(0,l.jsxs)("div",{className:"mt-5 max-w-full",children:[(0,l.jsx)(d.A,{currentPageTitle:(null==f?void 0:f.orderNumber)?"#".concat(null==f?void 0:f.orderNumber):""}),(0,l.jsx)("div",{className:"items-center flex min-w-full justify-end gap-3 flex-wrap",children:f&&"OPEN"===f.status&&v("removeOrder")?(0,l.jsx)(eu.A,{onClick:y}):null}),p?(0,l.jsx)(i.A,{}):(0,l.jsx)(ed,{order:f})]})}},86029:(e,n,t)=>{t.d(n,{A:()=>r});var l=t(37876),s=t(83979);let r=e=>{let{onOkClick:n,buttonText:t,headerText:r,message:a,icon:d=null}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{children:[d||(0,l.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-emerald-100 dark:bg-emerald-900/30",children:(0,l.jsx)(s.A,{className:"h-6 w-6 text-emerald-600 dark:text-emerald-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"})}),(0,l.jsxs)("div",{className:"mt-3 text-center sm:mt-5",children:[(0,l.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:r}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:a})})]})]}),(0,l.jsx)("div",{className:"mt-5 sm:mt-6",children:(0,l.jsx)("button",{id:"alert_ok",onClick:n,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2 sm:text-sm",children:t})})]})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3767],{9964:(e,t,s)=>{s.d(t,{A:()=>a});var r=s(37876),l=s(77742);let a=e=>{let{onOkClick:t,onCancelClick:s,okText:a=null,cancelText:n=null,headerText:d=null,message:i=null,icon:o=null,close:u=null}=e,{formatMessage:c}=(0,l.A)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"sm:flex sm:items-start",children:[o||(0,r.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,r.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,r.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,r.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:d||c({id:"warning",defaultMessage:"Warning!"})}),(0,r.jsx)("div",{className:"mt-2",children:(0,r.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:i||c({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,r.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,r.jsx)("button",{id:"danger_continue",onClick:t,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm",children:a||c({id:"continue",defaultMessage:"Continue"})}),(0,r.jsx)("button",{id:"danger_cancel",onClick:s||u,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:n||c({id:"cancel",defaultMessage:"Cancel"})})]})]})}},13204:(e,t,s)=>{s.d(t,{A:()=>n});var r=s(82537),l=s(88388),a=s(77742);let n=()=>{let{locale:e}=(0,a.A)();return{formatDateTime:function(t){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t||!Date.parse(t))return"n/a";try{let r=e||"undefined"!=typeof navigator&&navigator.language||"de-ch";return Intl.DateTimeFormat(r,s).format(new Date(t).getTime())}catch(e){return Intl.DateTimeFormat("default",{year:"numeric",month:"short",day:"numeric"}).format(new Date(t).getTime())}},getDateFormatPattern:()=>{let t=e||"undefined"!=typeof navigator&&navigator.language||"de-ch";return new Intl.DateTimeFormat(t).formatToParts(new Date).map(e=>{switch(e.type){case"day":return"d".repeat(e.value.length);case"month":return"M".repeat(e.value.length);case"year":return"y".repeat(e.value.length);case"literal":return e.value;default:return"dd.mm.yyyy"}}).join("")},parseDate:e=>(0,r.GP)((0,l.uk)(e,Intl.DateTimeFormat().resolvedOptions().timeZone),"yyyy-MM-dd")}}},23379:(e,t,s)=>{s.d(t,{A:()=>l});var r=s(37876);let l=e=>{var t,s;let{work:l,children:a=null}=e;return(null==l?void 0:l.original)?(null==l||null==(t=l.original)?void 0:t.retries)===(null==l?void 0:l.retries)?(0,r.jsxs)("span",{children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-3 h-3 inline-block text-slate-500 mr-2",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),a]}):(0,r.jsx)("span",{children:(0,r.jsxs)("span",{children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-3 h-3 inline-block text-slate-500 mr-2",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),a,(0,r.jsx)("span",{className:"text-rose-400 text-sm ml-2",children:"".concat(null==l?void 0:l.retries," / ").concat(null==l||null==(s=l.original)?void 0:s.retries)})]})}):a}},23767:(e,t,s)=>{s.r(t),s.d(t,{default:()=>E});var r=s(37876),l=s(89099),a=s(77742),n=s(89848),d=s(48230),i=s.n(d),o=s(14232),u=s(16461),c=s(13204),m=s(18378),x=s(82025),h=s(80210),f=s(60381),v=s(23379);let g=e=>{var t,s,l,n,d;let{work:g}=e,{formatMessage:w}=(0,a.A)(),{formatDateTime:k}=(0,c.A)(),{getDuration:p,getScheduledTime:b}=(0,h.A)(),[,j]=(0,o.useState)(null);(0,o.useEffect)(()=>{let e=null;return g&&("NEW"===g.status||"ALLOCATED"===g.status)&&(e=setInterval(()=>j(Date.now()),1e3)),()=>{clearInterval(e)}},[null==g?void 0:g.status]);let N={timeStyle:"medium",dateStyle:"long"};return(0,r.jsx)("div",{className:"rounded-xl xl:-mx-8 mt-10 p-2 sm:p-6 lg:p-8 ".concat((0,m.IL)(null==g?void 0:g.status)),children:(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-2 auto-rows-max",children:[(0,r.jsxs)("div",{className:"max-h-fit col-span-2 rounded-lg border border-slate-300 dark:border-slate-800 bg-white dark:bg-slate-900 p-4 shadow-md dark:shadow-none sm:p-6 lg:col-span-1 lg:p-8",children:[(0,r.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,r.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:w({id:"work_type",defaultMessage:"Work type"})}),(0,r.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:null==g?void 0:g.type})]}),(0,r.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,r.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:w({id:"work_status",defaultMessage:"Work Status"})}),(0,r.jsx)(u.A,{text:null==g?void 0:g.status,color:m.tV[null==g?void 0:g.status]})]}),(0,r.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,r.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:w({id:"work_priority",defaultMessage:"Priority"})}),(0,r.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm ",children:null==g?void 0:g.priority})]}),(0,r.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,r.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:w({id:"work_retries",defaultMessage:"Retries"})}),(0,r.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:(0,r.jsx)(v.A,{work:g})})]}),(0,r.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,r.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:w({id:"worker",defaultMessage:"Worker"})}),(0,r.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:(null==g?void 0:g.worker)?(0,r.jsx)(u.A,{text:w({id:"worker_dynamic",defaultMessage:"{worker}"},{worker:null==g?void 0:g.worker}),color:"purple"}):"n/a"})]}),(null==g?void 0:g.retries)||(null==g?void 0:g.original)?(0,r.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,r.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:w({id:"work_original",defaultMessage:"Original Work"})}),(0,r.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:(0,r.jsx)(i(),{href:"/works?workerId=".concat(null==g||null==(t=g.original)?void 0:t._id),className:"text-slate-900 dark:text-slate-300",children:null==g||null==(s=g.original)?void 0:s._id})})]}):""]}),(0,r.jsx)("div",{className:"col-span-2 rounded-lg border border-slate-300 dark:border-slate-800 bg-white dark:bg-slate-900 p-4 shadow-md dark:shadow-none sm:p-6 lg:col-span-1 lg:p-8",children:(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-5",children:[(0,r.jsxs)("div",{className:"sm:col-span-1",children:[(0,r.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:w({id:"work_created",defaultMessage:"Created"})}),(0,r.jsx)("div",{className:"flex text-sm",children:k(null==g?void 0:g.created,N)})]}),(0,r.jsxs)("div",{className:"sm:col-span-1",children:[(0,r.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:w({id:"work_scheduled",defaultMessage:"Scheduled"})}),(0,r.jsx)("div",{className:"flex text-sm w-100",children:(0,r.jsx)(f.A,{text:k(null==g?void 0:g.scheduled,N),children:b(g)})})]}),(0,r.jsxs)("div",{className:"sm:col-span-1",children:[(0,r.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:w({id:"work_started",defaultMessage:"Started"})}),(0,r.jsx)("div",{className:"flex text-sm",children:k(null==g?void 0:g.started,N)})]}),(0,r.jsxs)("div",{className:"sm:col-span-1",children:[(0,r.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:w({id:"work_finished",defaultMessage:"Finished"})}),(0,r.jsx)("div",{className:"flex text-sm",children:k(null==g?void 0:g.finished,N)})]}),(0,r.jsxs)("div",{className:"sm:col-span-1",children:[(0,r.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:w({id:"duration",defaultMessage:"Duration"})}),(0,r.jsx)("div",{className:"flex text-sm",children:p(g)})]}),(null==g?void 0:g.deleted)&&(0,r.jsxs)("div",{className:"sm:col-span-1",children:[(0,r.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:w({id:"deleted",defaultMessage:"Deleted"})}),(0,r.jsx)("div",{className:"flex text-sm",children:k(null==g?void 0:g.deleted,N)})]})]})}),(null==g?void 0:g.error)&&(0,r.jsxs)("div",{className:"rounded-lg shadow-md dark:shadow-none border-2 border-rose-300 dark:border-rose-800 col-span-2 lg:col-span-2 order-first overflow-hidden bg-rose-100 dark:bg-rose-800",children:[(0,r.jsx)("div",{className:"px-4 py-5 sm:px-6 border-b border-rose-300 dark:border-rose-800",children:(0,r.jsxs)("h3",{className:"text-lg font-medium leading-6 text-rose-700 dark:text-rose-300 flex items-center gap-2",children:[(0,r.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),w({id:"error",defaultMessage:"Error"})]})}),(0,r.jsx)("div",{className:"bg-rose-50 dark:bg-rose-950",children:(0,r.jsx)(x.A,{value:decodeURI(JSON.stringify(g.error,null,2)),disabled:!0,className:"block border-none w-full max-w-full resize-none sm:text-sm text-rose-900 dark:text-rose-100"})})]}),(null==g?void 0:g.input)&&(0,r.jsxs)("div",{className:"overflow-hidden rounded-lg border border-slate-300 dark:border-slate-800 col-span-2 shadow-md dark:shadow-none bg-white dark:bg-slate-900 lg:col-span-1",children:[(0,r.jsx)("div",{className:"px-4 py-5 sm:px-6",children:(0,r.jsx)("h3",{className:"text-lg font-medium leading-6 text-slate-900 dark:text-slate-500",children:w({id:"input",defaultMessage:"Input"})})}),(0,r.jsx)(x.A,{value:JSON.stringify(g.input,null,2),disabled:!0,className:"block w-full max-w-full resize-none sm:text-sm"})]}),(null==g?void 0:g.result)&&(0,r.jsxs)("div",{className:"overflow-hidden rounded-lg shadow-md dark:shadow-none border border-slate-300 dark:border-slate-800 col-span-2 bg-white dark:bg-slate-900 lg:col-span-1",children:[(0,r.jsxs)("div",{className:"px-4 py-5 sm:px-6 flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"text-lg font-medium leading-6 text-slate-900 dark:text-slate-500",children:w({id:"result",defaultMessage:"Result"})}),(null==g?void 0:g.type)==="BULK_IMPORT"&&(null==g||null==(l=g.result)?void 0:l.created)&&(0,r.jsx)("span",{className:"text-sm text-slate-600 dark:text-slate-400",children:w({id:"items_created",defaultMessage:"{count} items created"},{count:g.result.created.length})})]}),(0,r.jsx)(x.A,{value:JSON.stringify(g.result,null,2),disabled:!0,className:"block w-full max-w-full resize-none sm:text-sm ".concat((null==g?void 0:g.type)==="BULK_IMPORT"&&(null==g||null==(d=g.result)||null==(n=d.created)?void 0:n.length)>50?"max-h-96 overflow-y-auto":"")})]})]})})};var w=s(96427),k=s(79350),p=s(18885),b=s(35937),j=s(67810);function N(){let e=(0,w._)(["\n query Work($workId: ID!) {\n work(workId: $workId) {\n ...WorkFragment\n ","\n input\n result\n error\n priority\n worker\n retries\n original {\n _id\n }\n timeout\n }\n }\n ","\n"]);return N=function(){return e},e}let y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,k.J1)(N(),e,j.A)};var M=s(53588);function A(){let e=(0,w._)(["\n mutation RemoveWork($workId: ID!) {\n removeWork(workId: $workId) {\n _id\n }\n }\n"]);return A=function(){return e},e}let _=(0,k.J1)(A());var I=s(62107),W=s(47340),D=s(36050),C=s(48010),T=s(9964),L=s(73930),S=s(37986),$=s(48801),F=s(37795);let E=e=>{let{workerId:t}=e,{formatMessage:s}=(0,a.A)(),{query:d,push:i}=(0,l.useRouter)(),{work:u,loading:c}=(e=>{let{workId:t=null,...s}=e,{customProperties:r}=(0,b.A)(),{data:l,loading:a,error:n}=(0,p.I)(y(null==r?void 0:r.Work),{skip:!t,variables:{workId:t},...s});return{work:null==l?void 0:l.work,loading:a,error:n}})({workId:t,pollInterval:2e3}),{setModal:m}=(0,L.A)(),{removeWork:x}=(()=>{let[e]=(0,M.n)(_);return{removeWork:async t=>{let{workId:s}=t;return e({variables:{workId:s},refetchQueries:["WorkQueue"]})}}})(),{addWork:h}=(0,I.A)(),f=(0,o.useCallback)(async()=>{let{data:e}=await h({...u,scheduled:null,originalWorkId:null==u?void 0:u._id});i("/works?workerId=".concat(e.addWork._id))},[u]),v=async()=>{await m((0,r.jsx)(T.A,{onCancelClick:()=>m(""),message:s({id:"delete_work_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this work? "}),onOkClick:async()=>{m(""),await x({workId:t}),n.oR.success(s({id:"work_deleted",defaultMessage:"Work deleted successfully"}))},okText:s({id:"delete_work",defaultMessage:"Delete work"})}))};return(0,r.jsxs)("div",{className:"mt-5 max-w-full",children:[(0,r.jsx)(C.A,{}),(0,r.jsxs)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:[(0,r.jsx)(D.A,{headerText:s({id:"work_detail",defaultMessage:"Work Detail"}),title:s({id:"work_detail_title",defaultMessage:"Work {id}"},{id:null==u?void 0:u._id})}),(e=>e&&((null==e?void 0:e.status)===F.Fh.Failed||(null==e?void 0:e.status)===F.Fh.Success))(u)?(0,r.jsxs)("button",{type:"button","aria-describedby":"header-delete-button",className:"my-auto flex items-center justify-center rounded-sm border-1 border-emerald-600 px-3 py-2 text-sm font-semibold text-emerald-600 shadow-xs hover:border-emerald-800 hover:bg-emerald-700 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-emerald-700 focus:ring-offset-2",onClick:f,children:[(0,r.jsx)("span",{className:"pr-1",children:(0,r.jsx)($.A,{className:"h-5 w-5"})}),s({id:"retry-work",defaultMessage:"Retry"})]}):null,u&&(e=>e===F.Fh.New||e===F.Fh.Allocated)(null==u?void 0:u.status)?(0,r.jsx)(S.A,{onClick:v}):null]}),c?(0,r.jsx)(W.A,{}):(0,r.jsx)(g,{work:u})]})}},37986:(e,t,s)=>{s.d(t,{A:()=>n});var r=s(37876),l=s(88062),a=s(77742);let n=e=>{let{onClick:t,text:s=null,Icon:n=null}=e,{formatMessage:d}=(0,a.A)();return(0,r.jsxs)("button",{type:"button",onClick:t,"aria-describedby":"header-delete-button",className:"inline-flex items-center gap-2 justify-center rounded-md border border-rose-500 px-4 py-2 text-sm font-medium leading-5 text-rose-600 dark:text-rose-200 shadow-sm hover:border-rose-600 hover:bg-rose-600 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 h-[38px]",children:[(0,r.jsx)("span",{children:n||(0,r.jsx)(l.A,{className:"h-5 w-5"})}),s||d({id:"delete",defaultMessage:"Delete"})]})}},60381:(e,t,s)=>{s.d(t,{A:()=>a});var r=s(37876),l=s(14232);let a=e=>{let{text:t,children:s}=e,[a,n]=(0,l.useState)(!1);return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{onMouseEnter:()=>{n(!0)},onMouseLeave:()=>{n(!1)},children:s}),a&&(0,r.jsx)("div",{className:"tooltip absolute p-2 bg-slate-700 text-white rounded-lg whitespace-nowrap",children:t})]})}},62107:(e,t,s)=>{s.d(t,{A:()=>i});var r=s(96427),l=s(79350),a=s(53588);function n(){let e=(0,r._)(["\n mutation AddWork(\n $type: WorkType!\n $priority: Int! = 0\n $input: JSON\n $originalWorkId: ID\n $scheduled: Timestamp\n $retries: Int! = 20\n ) {\n addWork(\n type: $type\n priority: $priority\n input: $input\n originalWorkId: $originalWorkId\n scheduled: $scheduled\n retries: $retries\n ) {\n _id\n }\n }\n"]);return n=function(){return e},e}let d=(0,l.J1)(n()),i=()=>{let[e]=(0,a.n)(d);return{addWork:async t=>{let{type:s,priority:r,input:l,originalWorkId:a,scheduled:n=null,retries:d}=t;return e({variables:{type:s,priority:r,input:l,originalWorkId:a,scheduled:n,retries:d},refetchQueries:["WorkQueue"]})}}}},67810:(e,t,s)=>{s.d(t,{A:()=>a});var r=s(96427);function l(){let e=(0,r._)(["\n fragment WorkFragment on Work {\n _id\n type\n scheduled\n status\n started\n success\n finished\n created\n deleted\n retries\n original {\n _id\n retries\n }\n }\n"]);return l=function(){return e},e}let a=(0,s(79350).J1)(l())},73930:(e,t,s)=>{s.d(t,{A:()=>a});var r=s(14232),l=s(56557);let a=()=>(0,r.useContext)(l.A)},80210:(e,t,s)=>{s.d(t,{A:()=>a});var r=s(68977),l=s(46755);let a=()=>({getScheduledTime:e=>{if(!e)return null;let{scheduled:t,status:s,started:l}=e;if("FAILED"===s||"SUCCESS"===s||"DELETED"===s)return null;let a=new Date(t).getTime();return"ALLOCATED"!==s&&("NEW"!==s||l)?null:(0,r.B)(a,{addSuffix:!0})},getDuration:e=>{if(!e)return null;let{started:t,finished:s}=e,r=new Date().getTime();if(!t)return null;let a=null;return a=t&&!s?r-new Date(t).getTime():new Date(s).getTime()-new Date(t).getTime(),(0,l.a)({hours:Number(Math.floor(a/1e3/60/60)%24),minutes:Number(Math.floor(a/1e3/60)%60),seconds:Number(Math.ceil(a/1e3)%60)},{zero:!1})}})},82025:(e,t,s)=>{s.d(t,{A:()=>n});var r=s(37876),l=s(15039),a=s.n(l);let n=e=>{var t;let{value:s,className:l,onChange:n=()=>{},...d}=e;return(0,r.jsx)("textarea",{className:a()("text-black dark:bg-slate-900 dark:text-slate-200 border-transparent border-t border-t-slate-200 dark:border-t-slate-800",l),value:s,onChange:n,rows:Math.max(((null==(t=s||" ")?void 0:t.split(" "))||[]).length/2,7),...d})}}}]);
|