New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@artaio/arta-browser

Package Overview
Dependencies
Maintainers
0
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@artaio/arta-browser - npm Package Compare versions

Comparing version 2.15.1 to 2.16.0-clean-undefined-null-propsaa061c1ef3f43fb25615273ce38dbee6d9d9d74f

dist/components/SelectTrackingShipment/index.d.ts

13

dist/components/Date/SimpleDate.js
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -23,4 +12,4 @@ exports.SimpleDate = void 0;

: '';
return ((0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__status__date" }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__status__date__content" }, { children: finalDate })) })));
return ((0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__status__date", children: (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__status__date__content", children: finalDate }) }));
};
exports.SimpleDate = SimpleDate;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -53,8 +42,8 @@ exports.Destination = exports.defaultDestinationConfig = void 0;

};
return ((0, jsx_runtime_1.jsxs)("div", __assign({ className: "artajs__modal__form" }, { children: [(0, jsx_runtime_1.jsx)("p", __assign({ class: "artajs__modal__form__row__context" }, { children: textConfig.descriptionLabel })), (0, jsx_runtime_1.jsx)("p", __assign({ class: "artajs__modal__form__row__location" }, { children: parsedOrigin ? ((0, jsx_runtime_1.jsxs)("span", { children: [(0, jsx_runtime_1.jsx)("strong", __assign({ class: "artajs__modal__capitalize" }, { children: parsedOrigin })), ' ', (0, jsx_runtime_1.jsx)("span", __assign({ class: "artajs__modal__form__light" }, { children: textConfig.detailOriginLabel }))] })) : ((0, jsx_runtime_1.jsx)("span", { children: "..." })) })), (0, jsx_runtime_1.jsxs)("form", __assign({ onSubmit: onFormSubmit }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: "artajs__modal__form__row" }, { children: [(0, jsx_runtime_1.jsx)("strong", __assign({ className: "artajs__modal__form__label" }, { children: textConfig.countryLabel })), (0, jsx_runtime_1.jsx)("label", __assign({ class: "artajs__modal__textfield__outlined ".concat(isDestinationError
return ((0, jsx_runtime_1.jsxs)("div", { className: "artajs__modal__form", children: [(0, jsx_runtime_1.jsx)("p", { class: "artajs__modal__form__row__context", children: textConfig.descriptionLabel }), (0, jsx_runtime_1.jsx)("p", { class: "artajs__modal__form__row__location", children: parsedOrigin ? ((0, jsx_runtime_1.jsxs)("span", { children: [(0, jsx_runtime_1.jsx)("strong", { class: "artajs__modal__capitalize", children: parsedOrigin }), ' ', (0, jsx_runtime_1.jsx)("span", { class: "artajs__modal__form__light", children: textConfig.detailOriginLabel })] })) : ((0, jsx_runtime_1.jsx)("span", { children: "..." })) }), (0, jsx_runtime_1.jsxs)("form", { onSubmit: onFormSubmit, children: [(0, jsx_runtime_1.jsxs)("div", { className: "artajs__modal__form__row", children: [(0, jsx_runtime_1.jsx)("strong", { className: "artajs__modal__form__label", children: textConfig.countryLabel }), (0, jsx_runtime_1.jsx)("label", { class: "artajs__modal__textfield__outlined ".concat(isDestinationError
? 'artajs__modal__textfield__outlined__error'
: ''), for: "country" }, { children: (0, jsx_runtime_1.jsx)("select", __assign({ id: "country", onChange: onCountryChange, value: country }, { children: countries_1.countries.map(function (c) { return ((0, jsx_runtime_1.jsx)("option", __assign({ value: c.code }, { children: c.name }), c.code)); }) })) }))] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: "artajs__modal__form__row" }, { children: [(0, jsx_runtime_1.jsx)("strong", __assign({ className: "artajs__modal__form__label" }, { children: isWithoutPostal ? textConfig.cityLabel : textConfig.zipLabel })), (0, jsx_runtime_1.jsx)("label", __assign({ class: "artajs__modal__textfield__outlined ".concat(isDestinationError
: ''), for: "country", children: (0, jsx_runtime_1.jsx)("select", { id: "country", onChange: onCountryChange, value: country, children: countries_1.countries.map(function (c) { return ((0, jsx_runtime_1.jsx)("option", { value: c.code, children: c.name }, c.code)); }) }) })] }), (0, jsx_runtime_1.jsxs)("div", { className: "artajs__modal__form__row", children: [(0, jsx_runtime_1.jsx)("strong", { className: "artajs__modal__form__label", children: isWithoutPostal ? textConfig.cityLabel : textConfig.zipLabel }), (0, jsx_runtime_1.jsx)("label", { class: "artajs__modal__textfield__outlined ".concat(isDestinationError
? 'artajs__modal__textfield__outlined__error'
: ''), for: "postal_code" }, { children: (0, jsx_runtime_1.jsx)("input", { id: "postal_code", onInput: onPostalCodeInput, placeholder: "", type: "text", value: postalCode }) }))] })), (0, jsx_runtime_1.jsx)("div", __assign({ className: "artajs__modal__form__row" }, { children: (0, jsx_runtime_1.jsx)("button", __assign({ disabled: !enabled || postalCode === '' ? true : false, type: "submit" }, { children: textConfig.buttonText })) }))] }))] })));
: ''), for: "postal_code", children: (0, jsx_runtime_1.jsx)("input", { id: "postal_code", onInput: onPostalCodeInput, placeholder: "", type: "text", value: postalCode }) })] }), (0, jsx_runtime_1.jsx)("div", { className: "artajs__modal__form__row", children: (0, jsx_runtime_1.jsx)("button", { disabled: !enabled || postalCode === '' ? true : false, type: "submit", children: textConfig.buttonText }) })] })] }));
};
exports.Destination = Destination;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -33,4 +22,4 @@ exports.Disqualified = exports.defaultDisqualifiedConfig = void 0;

var parsedDestination = (0, helper_1.parseEstimatedLocation)(quoteRequest.destination);
return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__modal__quotes" }, { children: [(0, jsx_runtime_1.jsx)("p", __assign({ class: "artajs__modal__quotes__context" }, { children: textConfig.shipFromLabel })), (0, jsx_runtime_1.jsx)("p", __assign({ class: "artajs__modal__quotes__origin" }, { children: (0, jsx_runtime_1.jsxs)("span", { children: [(0, jsx_runtime_1.jsx)("strong", __assign({ class: "artajs__modal__capitalize" }, { children: parsedOrigin })), ' ', (0, jsx_runtime_1.jsx)("span", __assign({ class: "artajs__modal__quotes__light" }, { children: textConfig.detailOriginLabel }))] }) })), (0, jsx_runtime_1.jsxs)("p", __assign({ class: "artajs__modal__quotes__destination" }, { children: [(0, jsx_runtime_1.jsx)("span", __assign({ class: "artajs__modal__quotes__small" }, { children: textConfig.shipToLabel })), ' ', (0, jsx_runtime_1.jsxs)("span", { children: [(0, jsx_runtime_1.jsx)("strong", __assign({ class: "artajs__modal__capitalize" }, { children: parsedDestination })), ' ', (0, jsx_runtime_1.jsx)("span", __assign({ class: "artajs__modal__quotes__light" }, { children: textConfig.detailDestinationLabel }))] })] })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__modal__quotes__box" }, { children: (0, jsx_runtime_1.jsxs)("p", __assign({ class: "artajs__modal__quotes__disqualified" }, { children: [textConfig.emailHeaderLabel + ' ', (0, jsx_runtime_1.jsx)("a", __assign({ class: "artajs__modal__quotes__box__link", href: "mailto:".concat(textConfig.contactEmail) }, { children: textConfig.contactEmail })), ' ' + textConfig.emailFooterLabel] })) })), (0, jsx_runtime_1.jsx)("p", __assign({ class: "artajs__modal__quotes__change" }, { children: (0, jsx_runtime_1.jsxs)("a", __assign({ onClick: onChangeDestination, href: "#" }, { children: [(0, jsx_runtime_1.jsx)("svg", __assign({ height: "12", id: "chevron-left", viewBox: "0 0 32 32", width: "12", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsx)("path", { d: "M20 1 L24 5 L14 16 L24 27 L20 31 L6 16 z" }) })), textConfig.returnLinkLabel] })) }))] })));
return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__modal__quotes", children: [(0, jsx_runtime_1.jsx)("p", { class: "artajs__modal__quotes__context", children: textConfig.shipFromLabel }), (0, jsx_runtime_1.jsx)("p", { class: "artajs__modal__quotes__origin", children: (0, jsx_runtime_1.jsxs)("span", { children: [(0, jsx_runtime_1.jsx)("strong", { class: "artajs__modal__capitalize", children: parsedOrigin }), ' ', (0, jsx_runtime_1.jsx)("span", { class: "artajs__modal__quotes__light", children: textConfig.detailOriginLabel })] }) }), (0, jsx_runtime_1.jsxs)("p", { class: "artajs__modal__quotes__destination", children: [(0, jsx_runtime_1.jsx)("span", { class: "artajs__modal__quotes__small", children: textConfig.shipToLabel }), ' ', (0, jsx_runtime_1.jsxs)("span", { children: [(0, jsx_runtime_1.jsx)("strong", { class: "artajs__modal__capitalize", children: parsedDestination }), ' ', (0, jsx_runtime_1.jsx)("span", { class: "artajs__modal__quotes__light", children: textConfig.detailDestinationLabel })] })] }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__modal__quotes__box", children: (0, jsx_runtime_1.jsxs)("p", { class: "artajs__modal__quotes__disqualified", children: [textConfig.emailHeaderLabel + ' ', (0, jsx_runtime_1.jsx)("a", { class: "artajs__modal__quotes__box__link", href: "mailto:".concat(textConfig.contactEmail), children: textConfig.contactEmail }), ' ' + textConfig.emailFooterLabel] }) }), (0, jsx_runtime_1.jsx)("p", { class: "artajs__modal__quotes__change", children: (0, jsx_runtime_1.jsxs)("a", { onClick: onChangeDestination, href: "#", children: [(0, jsx_runtime_1.jsx)("svg", { height: "12", id: "chevron-left", viewBox: "0 0 32 32", width: "12", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("path", { d: "M20 1 L24 5 L14 16 L24 27 L20 31 L6 16 z" }) }), textConfig.returnLinkLabel] }) })] }));
};
exports.Disqualified = Disqualified;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -17,4 +6,4 @@ exports.DrawerFooter = void 0;

var DrawerFooter = function () {
return ((0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__footer__wrapper" }, { children: (0, jsx_runtime_1.jsx)("a", __assign({ href: "https://arta.io/" }, { children: (0, jsx_runtime_1.jsxs)("button", __assign({ class: "artajs__tracking__footer__content" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__footer__powered__by__text" }, { children: "Powered by" })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__footer__powered__by__logo" }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__footer__powered__by__logo" }, { children: (0, jsx_runtime_1.jsxs)("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "50", height: "16", viewBox: "0 0 50 16", fill: "none" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M9.47431 10.2038C9.3445 10.2073 9.2089 10.2084 9.06867 10.2107C7.86333 10.2256 6.68118 10.3312 5.51641 10.6571C4.51157 10.9383 3.66668 11.4087 3.03388 12.2476C2.98173 12.3187 2.92957 12.3945 2.87974 12.4714C2.85424 12.5104 2.8299 12.5482 2.80556 12.5861C2.48453 13.0968 2.22491 13.643 2.22491 13.643C1.96994 14.2512 1.50171 14.973 0.918749 15.3987C0.769241 15.5066 0.846892 15.7384 1.03117 15.7384H3.51601C3.68522 15.7384 3.77562 15.533 3.65277 15.4182C3.35492 15.1394 3.24945 14.81 3.16948 14.3349C3.05126 13.6361 3.43604 12.9005 3.87993 12.3841C4.39799 11.7805 5.07831 11.4638 5.83976 11.2642C5.88496 11.2527 5.93016 11.2412 5.97536 11.2297C6.99642 10.9796 8.02791 10.8981 9.07562 10.8866C9.21818 10.8843 9.35609 10.8832 9.48938 10.8797C9.67829 10.8751 9.82664 10.7202 9.822 10.5332C9.81737 10.3461 9.66206 10.1992 9.47199 10.2038H9.47431Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { d: "M17.0679 15.7384H11.3322C11.1618 15.7384 11.0749 15.533 11.1977 15.4171C11.4886 15.1485 11.6428 14.7308 11.6428 14.2317C11.6428 13.7325 11.484 13.0187 11.1421 12.1202L10.6889 10.905L10.4166 10.2084H10.4154C10.3864 10.112 9.42913 7.0619 8.36635 4.33651C7.71037 2.6462 6.92111 0.662124 6.49113 0.39934C6.44708 0.3718 6.41 0.340816 6.38102 0.307538C6.27324 0.187047 6.36248 0 6.52474 0H10.8025C10.901 0 10.9845 0.0757369 10.9903 0.175572C11.0239 0.728681 11.2116 1.42064 11.6196 2.49588L12.3474 4.33537L15.3445 11.9137C16.0492 13.7176 16.558 14.8639 17.1873 15.4033C17.3218 15.5192 17.2441 15.7361 17.0668 15.7361L17.0679 15.7384Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { d: "M26.1566 4.79778C24.862 4.79778 24.038 5.36351 23.5767 5.83285C23.4562 5.95449 23.5895 6.15186 23.7506 6.09219C23.9708 6.00957 24.2269 5.95564 24.483 5.99121C25.2271 6.09449 25.139 6.63842 25.3175 7.18579C25.5296 7.83299 26.0326 8.30233 26.8671 8.30233C27.7757 8.30233 28.5128 7.58283 28.5128 6.67284C28.5128 5.86154 27.8696 4.79663 26.1578 4.79663L26.1566 4.79778Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { d: "M24.1203 15.3838C23.8711 15.2254 23.1746 14.6229 23.1746 12.8489V6.82777C23.1746 5.78352 22.3193 4.93665 21.2646 4.93665H19.6351H18.7855C18.6847 4.93665 18.6024 5.01812 18.6024 5.11795V5.12943C18.6024 5.19254 18.636 5.24992 18.6893 5.28435C18.9385 5.44271 19.6351 6.04516 19.6351 7.81924V12.85C19.6351 14.6229 18.9374 15.2254 18.6893 15.3849C18.636 15.4193 18.6024 15.4767 18.6024 15.5398V15.5513C18.6024 15.6511 18.6847 15.7326 18.7855 15.7326H19.6351H23.1746H24.0241C24.1249 15.7326 24.2072 15.6511 24.2072 15.5513V15.5398C24.2072 15.4767 24.1736 15.4193 24.1203 15.3849V15.3838Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { d: "M36.5723 4.93205H34.223V4.80008V1.73618C34.223 1.56979 34.0051 1.50438 33.9124 1.64323C33.2646 2.60945 31.6849 4.68418 29.9476 4.91254C29.7691 4.93549 29.6393 5.09156 29.6393 5.27057C29.6393 5.47024 29.8027 5.63319 30.0055 5.63319H30.6835C30.6835 7.40498 30.6835 11.4638 30.6835 12.9579C30.6835 14.8938 31.8587 16 33.5786 16C34.9022 16 35.8259 15.238 36.3011 14.7205C36.4147 14.5965 36.3092 14.398 36.1423 14.4221C35.2962 14.5495 34.223 14.1169 34.223 12.6721V5.6309H36.5978C36.7855 5.6309 36.9385 5.47942 36.9385 5.29352C36.9385 5.09385 36.7751 4.9309 36.5723 4.9309V4.93205Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { d: "M43.9341 9.52567C44.1022 9.39256 43.9515 9.13092 43.751 9.20551C41.797 9.93534 38.2853 11.5453 38.2853 13.6832C38.2853 15.5433 39.9229 15.9977 40.9567 15.9977C42.869 15.9977 43.8113 15.0005 44.1659 14.4945C44.2447 14.382 44.1624 14.2305 44.0257 14.234C43.3952 14.2546 42.0369 14.1055 42.0369 12.4312C42.0369 11.2688 43.0811 10.2016 43.9341 9.52453V9.52567Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { d: "M49.0741 15.3677C48.825 15.2093 48.1284 14.6069 48.1284 12.8328V8.46643C48.1284 6.49612 46.3923 4.76794 43.474 4.76794C39.8846 4.76794 38.7848 6.26662 38.4069 6.94137C37.569 8.43889 38.2087 9.49462 38.9227 9.89052C39.6366 10.2864 40.7191 10.042 41.1595 9.25479C41.5536 8.5502 41.3635 7.68382 40.7492 7.19612C40.7492 7.19612 40.7492 7.19382 40.7469 7.19267C40.5823 7.063 39.9739 6.50186 40.3077 6.00154C40.5974 5.56777 41.1977 5.31073 42.0936 5.31073C43.9712 5.31073 44.5878 7.45546 44.5878 9.0138V13.822C44.5878 14.8662 45.4431 15.7131 46.4977 15.7131H48.1273H48.9768C49.0776 15.7131 49.1599 15.6316 49.1599 15.5318V15.5203C49.1599 15.4572 49.1263 15.3998 49.073 15.3654L49.0741 15.3677Z", fill: "currentColor" })] })) })) }))] })) })) })));
return ((0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__footer__wrapper", children: (0, jsx_runtime_1.jsx)("a", { href: "https://arta.io/", children: (0, jsx_runtime_1.jsxs)("button", { class: "artajs__tracking__footer__content", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__footer__powered__by__text", children: "Powered by" }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__footer__powered__by__logo", children: (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__footer__powered__by__logo", children: (0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "50", height: "16", viewBox: "0 0 50 16", fill: "none", children: [(0, jsx_runtime_1.jsx)("path", { d: "M9.47431 10.2038C9.3445 10.2073 9.2089 10.2084 9.06867 10.2107C7.86333 10.2256 6.68118 10.3312 5.51641 10.6571C4.51157 10.9383 3.66668 11.4087 3.03388 12.2476C2.98173 12.3187 2.92957 12.3945 2.87974 12.4714C2.85424 12.5104 2.8299 12.5482 2.80556 12.5861C2.48453 13.0968 2.22491 13.643 2.22491 13.643C1.96994 14.2512 1.50171 14.973 0.918749 15.3987C0.769241 15.5066 0.846892 15.7384 1.03117 15.7384H3.51601C3.68522 15.7384 3.77562 15.533 3.65277 15.4182C3.35492 15.1394 3.24945 14.81 3.16948 14.3349C3.05126 13.6361 3.43604 12.9005 3.87993 12.3841C4.39799 11.7805 5.07831 11.4638 5.83976 11.2642C5.88496 11.2527 5.93016 11.2412 5.97536 11.2297C6.99642 10.9796 8.02791 10.8981 9.07562 10.8866C9.21818 10.8843 9.35609 10.8832 9.48938 10.8797C9.67829 10.8751 9.82664 10.7202 9.822 10.5332C9.81737 10.3461 9.66206 10.1992 9.47199 10.2038H9.47431Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { d: "M17.0679 15.7384H11.3322C11.1618 15.7384 11.0749 15.533 11.1977 15.4171C11.4886 15.1485 11.6428 14.7308 11.6428 14.2317C11.6428 13.7325 11.484 13.0187 11.1421 12.1202L10.6889 10.905L10.4166 10.2084H10.4154C10.3864 10.112 9.42913 7.0619 8.36635 4.33651C7.71037 2.6462 6.92111 0.662124 6.49113 0.39934C6.44708 0.3718 6.41 0.340816 6.38102 0.307538C6.27324 0.187047 6.36248 0 6.52474 0H10.8025C10.901 0 10.9845 0.0757369 10.9903 0.175572C11.0239 0.728681 11.2116 1.42064 11.6196 2.49588L12.3474 4.33537L15.3445 11.9137C16.0492 13.7176 16.558 14.8639 17.1873 15.4033C17.3218 15.5192 17.2441 15.7361 17.0668 15.7361L17.0679 15.7384Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { d: "M26.1566 4.79778C24.862 4.79778 24.038 5.36351 23.5767 5.83285C23.4562 5.95449 23.5895 6.15186 23.7506 6.09219C23.9708 6.00957 24.2269 5.95564 24.483 5.99121C25.2271 6.09449 25.139 6.63842 25.3175 7.18579C25.5296 7.83299 26.0326 8.30233 26.8671 8.30233C27.7757 8.30233 28.5128 7.58283 28.5128 6.67284C28.5128 5.86154 27.8696 4.79663 26.1578 4.79663L26.1566 4.79778Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { d: "M24.1203 15.3838C23.8711 15.2254 23.1746 14.6229 23.1746 12.8489V6.82777C23.1746 5.78352 22.3193 4.93665 21.2646 4.93665H19.6351H18.7855C18.6847 4.93665 18.6024 5.01812 18.6024 5.11795V5.12943C18.6024 5.19254 18.636 5.24992 18.6893 5.28435C18.9385 5.44271 19.6351 6.04516 19.6351 7.81924V12.85C19.6351 14.6229 18.9374 15.2254 18.6893 15.3849C18.636 15.4193 18.6024 15.4767 18.6024 15.5398V15.5513C18.6024 15.6511 18.6847 15.7326 18.7855 15.7326H19.6351H23.1746H24.0241C24.1249 15.7326 24.2072 15.6511 24.2072 15.5513V15.5398C24.2072 15.4767 24.1736 15.4193 24.1203 15.3849V15.3838Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { d: "M36.5723 4.93205H34.223V4.80008V1.73618C34.223 1.56979 34.0051 1.50438 33.9124 1.64323C33.2646 2.60945 31.6849 4.68418 29.9476 4.91254C29.7691 4.93549 29.6393 5.09156 29.6393 5.27057C29.6393 5.47024 29.8027 5.63319 30.0055 5.63319H30.6835C30.6835 7.40498 30.6835 11.4638 30.6835 12.9579C30.6835 14.8938 31.8587 16 33.5786 16C34.9022 16 35.8259 15.238 36.3011 14.7205C36.4147 14.5965 36.3092 14.398 36.1423 14.4221C35.2962 14.5495 34.223 14.1169 34.223 12.6721V5.6309H36.5978C36.7855 5.6309 36.9385 5.47942 36.9385 5.29352C36.9385 5.09385 36.7751 4.9309 36.5723 4.9309V4.93205Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { d: "M43.9341 9.52567C44.1022 9.39256 43.9515 9.13092 43.751 9.20551C41.797 9.93534 38.2853 11.5453 38.2853 13.6832C38.2853 15.5433 39.9229 15.9977 40.9567 15.9977C42.869 15.9977 43.8113 15.0005 44.1659 14.4945C44.2447 14.382 44.1624 14.2305 44.0257 14.234C43.3952 14.2546 42.0369 14.1055 42.0369 12.4312C42.0369 11.2688 43.0811 10.2016 43.9341 9.52453V9.52567Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { d: "M49.0741 15.3677C48.825 15.2093 48.1284 14.6069 48.1284 12.8328V8.46643C48.1284 6.49612 46.3923 4.76794 43.474 4.76794C39.8846 4.76794 38.7848 6.26662 38.4069 6.94137C37.569 8.43889 38.2087 9.49462 38.9227 9.89052C39.6366 10.2864 40.7191 10.042 41.1595 9.25479C41.5536 8.5502 41.3635 7.68382 40.7492 7.19612C40.7492 7.19612 40.7492 7.19382 40.7469 7.19267C40.5823 7.063 39.9739 6.50186 40.3077 6.00154C40.5974 5.56777 41.1977 5.31073 42.0936 5.31073C43.9712 5.31073 44.5878 7.45546 44.5878 9.0138V13.822C44.5878 14.8662 45.4431 15.7131 46.4977 15.7131H48.1273H48.9768C49.0776 15.7131 49.1599 15.6316 49.1599 15.5318V15.5203C49.1599 15.4572 49.1263 15.3998 49.073 15.3654L49.0741 15.3677Z", fill: "currentColor" })] }) }) })] }) }) }));
};
exports.DrawerFooter = DrawerFooter;

@@ -0,6 +1,11 @@

import { TrackingConfig } from '../../trackingConfig';
import type { Shipment } from '../TrackingDrawer';
interface HeaderOpts {
onClose: (e: any) => void;
title: string;
setSelectedShipment: (shipment: Shipment | null) => void;
multiple: boolean;
config: TrackingConfig;
}
export declare const DrawerHeader: ({ onClose, title }: HeaderOpts) => import("preact").JSX.Element;
export declare const DrawerHeader: ({ onClose, title, setSelectedShipment, multiple, config, }: HeaderOpts) => import("preact").JSX.Element;
export {};
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -17,5 +6,8 @@ exports.DrawerHeader = void 0;

var DrawerHeader = function (_a) {
var onClose = _a.onClose, title = _a.title;
return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__header" }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__header__title" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__header__text" }, { children: title })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__header__icon" }, { children: (0, jsx_runtime_1.jsx)("a", __assign({ onClick: onClose, href: "#" }, { children: (0, jsx_runtime_1.jsxs)("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("line", { x1: "6.70711", y1: "6.29289", x2: "18.0208", y2: "17.6066", "stroke-width": "2" }), (0, jsx_runtime_1.jsx)("line", { x1: "6.29289", y1: "17.6066", x2: "17.6066", y2: "6.29291", "stroke-width": "2" })] })) })) }))] })), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__header__line" })] })));
var onClose = _a.onClose, title = _a.title, setSelectedShipment = _a.setSelectedShipment, multiple = _a.multiple, config = _a.config;
return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__header", children: [(0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__header__title", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__header__text", children: title }), multiple && ((0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__button__container", children: (0, jsx_runtime_1.jsx)("button", { onClick: function (e) {
e.preventDefault();
setSelectedShipment(null);
}, class: "artajs__tracking__button", children: config.text.viewShipmentsListLabel }) })), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__header__icon", children: (0, jsx_runtime_1.jsx)("a", { onClick: onClose, href: "#", children: (0, jsx_runtime_1.jsxs)("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("line", { x1: "6.70711", y1: "6.29289", x2: "18.0208", y2: "17.6066", "stroke-width": "2" }), (0, jsx_runtime_1.jsx)("line", { x1: "6.29289", y1: "17.6066", x2: "17.6066", y2: "6.29291", "stroke-width": "2" })] }) }) })] }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__header__line" })] }));
};
exports.DrawerHeader = DrawerHeader;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -17,4 +6,4 @@ exports.DrawerInsurance = void 0;

var DrawerInsurance = function () {
return ((0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__insurance__wrapper" }, { children: (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__insurance__content" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__insurance__title" }, { children: "Covered by" })), (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__insurance__body" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__insurance__body__icon" }, { children: (0, jsx_runtime_1.jsxs)("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "18", height: "20", viewBox: "0 0 18 20", fill: "none" }, { children: [(0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.4585 3.17259L12.4584 3.17258C12.0502 2.95409 11.5803 2.70261 11.0381 2.44955C10.1881 2.05287 9.45319 1.80278 9.00011 1.80278L9.00011 0.00291653C9.89693 0.00291653 10.9619 0.427777 11.7992 0.818545C12.3701 1.08495 12.9716 1.40556 13.4117 1.64019C13.6166 1.7494 13.7865 1.83998 13.9022 1.89779C14.003 1.9482 14.1124 2.00373 14.2286 2.06266L14.2288 2.06278C14.6645 2.28384 15.1945 2.55273 15.717 2.77861C16.0461 2.92087 16.3449 3.03378 16.5901 3.10205C16.7893 3.15752 16.8906 3.16514 16.9202 3.16737C16.932 3.16826 16.9324 3.16829 16.923 3.17016C17.1861 3.11754 17.459 3.18506 17.6672 3.35431C17.8754 3.52356 17.9972 3.77688 17.9994 4.04518C18.0188 6.39014 17.5547 9.79083 16.2436 12.6406C14.9324 15.4907 12.6555 18.0016 9.00007 18.0016L9.00007 16.2017C11.6443 16.2017 13.4356 14.4379 14.6085 11.8884C15.6437 9.63826 16.1048 6.94108 16.1866 4.85739C16.1595 4.8503 16.1331 4.84313 16.1073 4.83596C15.7495 4.73633 15.3661 4.58777 15.0028 4.43072C14.4231 4.18013 13.8253 3.8766 13.3886 3.6549L13.3885 3.65486C13.2807 3.60012 13.1827 3.55037 13.0973 3.50764C12.9029 3.41049 12.6907 3.29688 12.4585 3.17259ZM4.90275 3.5057C5.09706 3.40855 5.30934 3.29493 5.54157 3.17064C5.94979 2.95215 6.41965 2.70067 6.96192 2.44761C7.81192 2.05093 8.54681 1.80084 8.99989 1.80084L8.99989 0.000976169C8.10307 0.000976169 7.03812 0.425837 6.20077 0.816605C5.62991 1.08301 5.02844 1.40362 4.58827 1.63825C4.38339 1.74746 4.21346 1.83804 4.09782 1.89585C3.99694 1.94629 3.88742 2.00186 3.77119 2.06083C3.33549 2.2819 2.80554 2.55079 2.28302 2.77667C1.95394 2.91893 1.65506 3.03184 1.40987 3.10011C1.21066 3.15558 1.1094 3.1632 1.0798 3.16543C1.06797 3.16632 1.06759 3.16634 1.07697 3.16822C0.813873 3.1156 0.541015 3.18312 0.332817 3.35237C0.124618 3.52162 0.00279792 3.77494 0.000579657 4.04324C-0.0188067 6.3882 0.445274 9.78889 1.75635 12.6387C3.06757 15.4888 5.34455 17.9997 8.99993 17.9997L8.99993 16.1998C6.35574 16.1998 4.5644 14.436 3.39148 11.8865C2.35629 9.63632 1.8952 6.93914 1.81336 4.85545C1.84046 4.84836 1.86692 4.84119 1.89268 4.83402C2.25046 4.73439 2.63391 4.58583 2.99721 4.42878C3.57689 4.17819 4.17474 3.87466 4.61142 3.65296C4.71926 3.5982 4.81727 3.54844 4.90275 3.5057Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.649 5.55151C13.0625 5.8272 13.1743 6.38595 12.8986 6.79949L9.29884 12.1991C9.03238 12.5988 8.49896 12.7187 8.08704 12.4716L5.8372 11.1217C5.41101 10.866 5.27281 10.3132 5.52853 9.88699C5.78424 9.4608 6.33704 9.3226 6.76323 9.57831L8.27725 10.4867L11.401 5.8011C11.6767 5.38756 12.2354 5.27581 12.649 5.55151Z", fill: "currentColor" })] })) })), (0, jsx_runtime_1.jsx)("a", __assign({ href: "https://www.arta.io/insurance", target: "_blank", class: "artajs__tracking__insurance__body__icon__text" }, { children: "Arta Shipping Protection" }))] }))] })) })));
return ((0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__insurance__wrapper", children: (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__insurance__content", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__insurance__title", children: "Covered by" }), (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__insurance__body", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__insurance__body__icon", children: (0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "20", viewBox: "0 0 18 20", fill: "none", children: [(0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.4585 3.17259L12.4584 3.17258C12.0502 2.95409 11.5803 2.70261 11.0381 2.44955C10.1881 2.05287 9.45319 1.80278 9.00011 1.80278L9.00011 0.00291653C9.89693 0.00291653 10.9619 0.427777 11.7992 0.818545C12.3701 1.08495 12.9716 1.40556 13.4117 1.64019C13.6166 1.7494 13.7865 1.83998 13.9022 1.89779C14.003 1.9482 14.1124 2.00373 14.2286 2.06266L14.2288 2.06278C14.6645 2.28384 15.1945 2.55273 15.717 2.77861C16.0461 2.92087 16.3449 3.03378 16.5901 3.10205C16.7893 3.15752 16.8906 3.16514 16.9202 3.16737C16.932 3.16826 16.9324 3.16829 16.923 3.17016C17.1861 3.11754 17.459 3.18506 17.6672 3.35431C17.8754 3.52356 17.9972 3.77688 17.9994 4.04518C18.0188 6.39014 17.5547 9.79083 16.2436 12.6406C14.9324 15.4907 12.6555 18.0016 9.00007 18.0016L9.00007 16.2017C11.6443 16.2017 13.4356 14.4379 14.6085 11.8884C15.6437 9.63826 16.1048 6.94108 16.1866 4.85739C16.1595 4.8503 16.1331 4.84313 16.1073 4.83596C15.7495 4.73633 15.3661 4.58777 15.0028 4.43072C14.4231 4.18013 13.8253 3.8766 13.3886 3.6549L13.3885 3.65486C13.2807 3.60012 13.1827 3.55037 13.0973 3.50764C12.9029 3.41049 12.6907 3.29688 12.4585 3.17259ZM4.90275 3.5057C5.09706 3.40855 5.30934 3.29493 5.54157 3.17064C5.94979 2.95215 6.41965 2.70067 6.96192 2.44761C7.81192 2.05093 8.54681 1.80084 8.99989 1.80084L8.99989 0.000976169C8.10307 0.000976169 7.03812 0.425837 6.20077 0.816605C5.62991 1.08301 5.02844 1.40362 4.58827 1.63825C4.38339 1.74746 4.21346 1.83804 4.09782 1.89585C3.99694 1.94629 3.88742 2.00186 3.77119 2.06083C3.33549 2.2819 2.80554 2.55079 2.28302 2.77667C1.95394 2.91893 1.65506 3.03184 1.40987 3.10011C1.21066 3.15558 1.1094 3.1632 1.0798 3.16543C1.06797 3.16632 1.06759 3.16634 1.07697 3.16822C0.813873 3.1156 0.541015 3.18312 0.332817 3.35237C0.124618 3.52162 0.00279792 3.77494 0.000579657 4.04324C-0.0188067 6.3882 0.445274 9.78889 1.75635 12.6387C3.06757 15.4888 5.34455 17.9997 8.99993 17.9997L8.99993 16.1998C6.35574 16.1998 4.5644 14.436 3.39148 11.8865C2.35629 9.63632 1.8952 6.93914 1.81336 4.85545C1.84046 4.84836 1.86692 4.84119 1.89268 4.83402C2.25046 4.73439 2.63391 4.58583 2.99721 4.42878C3.57689 4.17819 4.17474 3.87466 4.61142 3.65296C4.71926 3.5982 4.81727 3.54844 4.90275 3.5057Z", fill: "currentColor" }), (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.649 5.55151C13.0625 5.8272 13.1743 6.38595 12.8986 6.79949L9.29884 12.1991C9.03238 12.5988 8.49896 12.7187 8.08704 12.4716L5.8372 11.1217C5.41101 10.866 5.27281 10.3132 5.52853 9.88699C5.78424 9.4608 6.33704 9.3226 6.76323 9.57831L8.27725 10.4867L11.401 5.8011C11.6767 5.38756 12.2354 5.27581 12.649 5.55151Z", fill: "currentColor" })] }) }), (0, jsx_runtime_1.jsx)("a", { href: "https://www.arta.io/insurance", target: "_blank", class: "artajs__tracking__insurance__body__icon__text", children: "Arta Shipping Protection" })] })] }) }));
};
exports.DrawerInsurance = DrawerInsurance;
export declare const Footer: ({ absolute }: {
absolute?: boolean | undefined;
absolute?: boolean;
}) => import("preact").JSX.Element;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,4 +7,4 @@ exports.Footer = void 0;

var absolute = _a.absolute;
return ((0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__modal__footer", style: { position: absolute ? 'absolute' : undefined } }, { children: (0, jsx_runtime_1.jsx)("a", __assign({ href: "https://arta.io/" }, { children: (0, jsx_runtime_1.jsxs)("button", __assign({ class: "artajs__modal__footer__link" }, { children: [(0, jsx_runtime_1.jsx)("p", { children: "Powered by" }), (0, jsx_runtime_1.jsxs)("svg", __assign({ width: "48", height: "16", viewBox: "0 0 162 55", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M28.9479 35.0757C28.5127 35.0875 28.0581 35.0915 27.5879 35.0993C23.5469 35.1506 19.5835 35.5135 15.6785 36.6338C12.3096 37.6002 9.47698 39.2175 7.35542 42.1011C7.18057 42.3456 7.00572 42.606 6.83863 42.8703C6.75315 43.0044 6.67155 43.1346 6.58995 43.2647C5.51363 45.0201 4.64325 46.8977 4.64325 46.8977C3.78841 48.9884 2.21861 51.4696 0.264131 52.933C-0.237117 53.3038 0.0232212 54.1006 0.641038 54.1006H8.97185C9.53915 54.1006 9.84223 53.3946 9.43036 53.0001C8.43175 52.0415 8.07815 50.9094 7.81004 49.2764C7.41371 46.8741 8.70374 44.3456 10.1919 42.5705C11.9288 40.4956 14.2097 39.4069 16.7626 38.7205C16.9141 38.6811 17.0656 38.6416 17.2172 38.6022C20.6404 37.7422 24.0986 37.4622 27.6113 37.4227C28.0892 37.4148 28.5516 37.4109 28.9984 37.3991C29.6318 37.3833 30.1292 36.8508 30.1136 36.2078C30.0981 35.5648 29.5774 35.0599 28.9402 35.0757H28.9479Z" }), (0, jsx_runtime_1.jsx)("path", { d: "M54.4065 54.1006H35.1765C34.6053 54.1006 34.3139 53.3945 34.7258 52.9961C35.7011 52.0731 36.2179 50.6372 36.2179 48.9213C36.2179 47.2054 35.6855 44.7519 34.5393 41.6632L33.02 37.4858L32.1069 35.0914H32.103C32.0058 34.7601 28.7963 24.2753 25.2332 14.9068C23.0339 9.09632 20.3878 2.27605 18.9462 1.37273C18.7985 1.27806 18.6742 1.17156 18.5771 1.05716C18.2157 0.642975 18.5149 0 19.0589 0H33.4008C33.731 0 34.0108 0.260346 34.0302 0.603529C34.1429 2.50484 34.7724 4.88345 36.1401 8.57958L38.5803 14.9028L48.6286 40.9532C50.9911 47.1541 52.6969 51.0948 54.8068 52.9488C55.2575 53.3472 54.9972 54.0927 54.4027 54.0927L54.4065 54.1006Z", fill: "#5BB988" }), (0, jsx_runtime_1.jsx)("path", { d: "M84.8778 16.4925C80.5376 16.4925 77.7749 18.4372 76.2284 20.0505C75.8243 20.4687 76.2711 21.1471 76.8112 20.942C77.5495 20.658 78.4082 20.4726 79.267 20.5949C81.7616 20.9499 81.4662 22.8197 82.0646 24.7013C82.7757 26.926 84.4621 28.5394 87.2597 28.5394C90.3061 28.5394 92.7773 26.0661 92.7773 22.938C92.7773 20.1491 90.6208 16.4885 84.8817 16.4885L84.8778 16.4925Z", fill: "#5BB988" }), (0, jsx_runtime_1.jsx)("path", { d: "M78.0508 52.8818C77.2154 52.3374 74.8801 50.2665 74.8801 44.1681V23.4706C74.8801 19.881 72.0125 16.9698 68.4766 16.9698H63.0134H60.1652C59.8272 16.9698 59.5513 17.2499 59.5513 17.5931V17.6325C59.5513 17.8495 59.664 18.0467 59.8427 18.1651C60.6781 18.7094 63.0134 20.7804 63.0134 26.8788V44.172C63.0134 50.2665 60.6742 52.3374 59.8427 52.8857C59.664 53.0041 59.5513 53.2013 59.5513 53.4182V53.4577C59.5513 53.8009 59.8272 54.0809 60.1652 54.0809H63.0134H74.8801H77.7283C78.0663 54.0809 78.3422 53.8009 78.3422 53.4577V53.4182C78.3422 53.2013 78.2295 53.0041 78.0508 52.8857V52.8818Z", fill: "#5BB988" }), (0, jsx_runtime_1.jsx)("path", { d: "M119.798 16.9541H111.922V16.5004V5.96827C111.922 5.39629 111.191 5.17145 110.881 5.64875C108.708 8.97013 103.412 16.102 97.5878 16.887C96.9894 16.9659 96.5542 17.5024 96.5542 18.1177C96.5542 18.8041 97.1021 19.3642 97.7821 19.3642H100.055C100.055 25.4548 100.055 39.4069 100.055 44.5428C100.055 51.1974 103.995 55 109.761 55C114.199 55 117.296 52.3808 118.889 50.6018C119.27 50.1758 118.916 49.4933 118.357 49.5762C115.52 50.014 111.922 48.5269 111.922 43.5606V19.3563H119.884C120.513 19.3563 121.026 18.8357 121.026 18.1966C121.026 17.5103 120.478 16.9501 119.798 16.9501V16.9541Z", fill: "#5BB988" }), (0, jsx_runtime_1.jsx)("path", { d: "M144.48 32.7444C145.043 32.2869 144.538 31.3875 143.866 31.6439C137.315 34.1527 125.541 39.687 125.541 47.0358C125.541 53.4301 131.031 54.9922 134.497 54.9922C140.909 54.9922 144.068 51.5643 145.257 49.8247C145.521 49.4381 145.245 48.9174 144.787 48.9293C142.673 49.0003 138.119 48.4875 138.119 42.7323C138.119 38.7363 141.62 35.0678 144.48 32.7405V32.7444Z", fill: "#5BB988" }), (0, jsx_runtime_1.jsx)("path", { d: "M161.713 52.8266C160.877 52.2822 158.542 50.2113 158.542 44.1129V29.1036C158.542 22.3306 152.721 16.39 142.937 16.39C130.903 16.39 127.216 21.5417 125.949 23.8611C123.14 29.0089 125.285 32.638 127.678 33.9989C130.072 35.3598 133.701 34.5195 135.177 31.8135C136.499 29.3915 135.861 26.4133 133.802 24.7369C133.802 24.7369 133.802 24.729 133.794 24.725C133.242 24.2793 131.202 22.3504 132.322 20.6305C133.293 19.1394 135.306 18.2558 138.309 18.2558C144.604 18.2558 146.671 25.6283 146.671 30.9852V47.5132C146.671 51.1028 149.539 54.0139 153.075 54.0139H158.538H161.386C161.724 54.0139 162 53.7339 162 53.3907V53.3512C162 53.1343 161.887 52.937 161.709 52.8187L161.713 52.8266Z", fill: "#5BB988" })] }))] })) })) })));
return ((0, jsx_runtime_1.jsx)("div", { class: "artajs__modal__footer", style: { position: absolute ? 'absolute' : undefined }, children: (0, jsx_runtime_1.jsx)("a", { href: "https://arta.io/", children: (0, jsx_runtime_1.jsxs)("button", { class: "artajs__modal__footer__link", children: [(0, jsx_runtime_1.jsx)("p", { children: "Powered by" }), (0, jsx_runtime_1.jsxs)("svg", { width: "48", height: "16", viewBox: "0 0 162 55", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("path", { d: "M28.9479 35.0757C28.5127 35.0875 28.0581 35.0915 27.5879 35.0993C23.5469 35.1506 19.5835 35.5135 15.6785 36.6338C12.3096 37.6002 9.47698 39.2175 7.35542 42.1011C7.18057 42.3456 7.00572 42.606 6.83863 42.8703C6.75315 43.0044 6.67155 43.1346 6.58995 43.2647C5.51363 45.0201 4.64325 46.8977 4.64325 46.8977C3.78841 48.9884 2.21861 51.4696 0.264131 52.933C-0.237117 53.3038 0.0232212 54.1006 0.641038 54.1006H8.97185C9.53915 54.1006 9.84223 53.3946 9.43036 53.0001C8.43175 52.0415 8.07815 50.9094 7.81004 49.2764C7.41371 46.8741 8.70374 44.3456 10.1919 42.5705C11.9288 40.4956 14.2097 39.4069 16.7626 38.7205C16.9141 38.6811 17.0656 38.6416 17.2172 38.6022C20.6404 37.7422 24.0986 37.4622 27.6113 37.4227C28.0892 37.4148 28.5516 37.4109 28.9984 37.3991C29.6318 37.3833 30.1292 36.8508 30.1136 36.2078C30.0981 35.5648 29.5774 35.0599 28.9402 35.0757H28.9479Z" }), (0, jsx_runtime_1.jsx)("path", { d: "M54.4065 54.1006H35.1765C34.6053 54.1006 34.3139 53.3945 34.7258 52.9961C35.7011 52.0731 36.2179 50.6372 36.2179 48.9213C36.2179 47.2054 35.6855 44.7519 34.5393 41.6632L33.02 37.4858L32.1069 35.0914H32.103C32.0058 34.7601 28.7963 24.2753 25.2332 14.9068C23.0339 9.09632 20.3878 2.27605 18.9462 1.37273C18.7985 1.27806 18.6742 1.17156 18.5771 1.05716C18.2157 0.642975 18.5149 0 19.0589 0H33.4008C33.731 0 34.0108 0.260346 34.0302 0.603529C34.1429 2.50484 34.7724 4.88345 36.1401 8.57958L38.5803 14.9028L48.6286 40.9532C50.9911 47.1541 52.6969 51.0948 54.8068 52.9488C55.2575 53.3472 54.9972 54.0927 54.4027 54.0927L54.4065 54.1006Z", fill: "#5BB988" }), (0, jsx_runtime_1.jsx)("path", { d: "M84.8778 16.4925C80.5376 16.4925 77.7749 18.4372 76.2284 20.0505C75.8243 20.4687 76.2711 21.1471 76.8112 20.942C77.5495 20.658 78.4082 20.4726 79.267 20.5949C81.7616 20.9499 81.4662 22.8197 82.0646 24.7013C82.7757 26.926 84.4621 28.5394 87.2597 28.5394C90.3061 28.5394 92.7773 26.0661 92.7773 22.938C92.7773 20.1491 90.6208 16.4885 84.8817 16.4885L84.8778 16.4925Z", fill: "#5BB988" }), (0, jsx_runtime_1.jsx)("path", { d: "M78.0508 52.8818C77.2154 52.3374 74.8801 50.2665 74.8801 44.1681V23.4706C74.8801 19.881 72.0125 16.9698 68.4766 16.9698H63.0134H60.1652C59.8272 16.9698 59.5513 17.2499 59.5513 17.5931V17.6325C59.5513 17.8495 59.664 18.0467 59.8427 18.1651C60.6781 18.7094 63.0134 20.7804 63.0134 26.8788V44.172C63.0134 50.2665 60.6742 52.3374 59.8427 52.8857C59.664 53.0041 59.5513 53.2013 59.5513 53.4182V53.4577C59.5513 53.8009 59.8272 54.0809 60.1652 54.0809H63.0134H74.8801H77.7283C78.0663 54.0809 78.3422 53.8009 78.3422 53.4577V53.4182C78.3422 53.2013 78.2295 53.0041 78.0508 52.8857V52.8818Z", fill: "#5BB988" }), (0, jsx_runtime_1.jsx)("path", { d: "M119.798 16.9541H111.922V16.5004V5.96827C111.922 5.39629 111.191 5.17145 110.881 5.64875C108.708 8.97013 103.412 16.102 97.5878 16.887C96.9894 16.9659 96.5542 17.5024 96.5542 18.1177C96.5542 18.8041 97.1021 19.3642 97.7821 19.3642H100.055C100.055 25.4548 100.055 39.4069 100.055 44.5428C100.055 51.1974 103.995 55 109.761 55C114.199 55 117.296 52.3808 118.889 50.6018C119.27 50.1758 118.916 49.4933 118.357 49.5762C115.52 50.014 111.922 48.5269 111.922 43.5606V19.3563H119.884C120.513 19.3563 121.026 18.8357 121.026 18.1966C121.026 17.5103 120.478 16.9501 119.798 16.9501V16.9541Z", fill: "#5BB988" }), (0, jsx_runtime_1.jsx)("path", { d: "M144.48 32.7444C145.043 32.2869 144.538 31.3875 143.866 31.6439C137.315 34.1527 125.541 39.687 125.541 47.0358C125.541 53.4301 131.031 54.9922 134.497 54.9922C140.909 54.9922 144.068 51.5643 145.257 49.8247C145.521 49.4381 145.245 48.9174 144.787 48.9293C142.673 49.0003 138.119 48.4875 138.119 42.7323C138.119 38.7363 141.62 35.0678 144.48 32.7405V32.7444Z", fill: "#5BB988" }), (0, jsx_runtime_1.jsx)("path", { d: "M161.713 52.8266C160.877 52.2822 158.542 50.2113 158.542 44.1129V29.1036C158.542 22.3306 152.721 16.39 142.937 16.39C130.903 16.39 127.216 21.5417 125.949 23.8611C123.14 29.0089 125.285 32.638 127.678 33.9989C130.072 35.3598 133.701 34.5195 135.177 31.8135C136.499 29.3915 135.861 26.4133 133.802 24.7369C133.802 24.7369 133.802 24.729 133.794 24.725C133.242 24.2793 131.202 22.3504 132.322 20.6305C133.293 19.1394 135.306 18.2558 138.309 18.2558C144.604 18.2558 146.671 25.6283 146.671 30.9852V47.5132C146.671 51.1028 149.539 54.0139 153.075 54.0139H158.538H161.386C161.724 54.0139 162 53.7339 162 53.3907V53.3512C162 53.1343 161.887 52.937 161.709 52.8187L161.713 52.8266Z", fill: "#5BB988" })] })] }) }) }));
};
exports.Footer = Footer;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,4 +7,4 @@ exports.Header = void 0;

var onClose = _a.onClose, title = _a.title, lineColor = _a.lineColor;
return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__modal__header" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: "artajs__modal__header__cta" }, { children: title })), (0, jsx_runtime_1.jsx)("div", __assign({ className: "artajs__modal__header__close" }, { children: (0, jsx_runtime_1.jsx)("a", __assign({ onClick: onClose, href: "#" }, { children: (0, jsx_runtime_1.jsxs)("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("line", { x1: "6.70711", y1: "6.29289", x2: "18.0208", y2: "17.6066", "stroke-width": "2" }), (0, jsx_runtime_1.jsx)("line", { x1: "6.29289", y1: "17.6066", x2: "17.6066", y2: "6.29291", "stroke-width": "2" })] })) })) }))] })), (0, jsx_runtime_1.jsx)("svg", __assign({ class: "artajs__modal__header__divider", width: "100%", height: "5" }, { children: (0, jsx_runtime_1.jsx)("line", { x1: "0", y1: "5", x2: "100%", y2: "5", style: "stroke: ".concat(lineColor, " ; stroke-width: 1;") }) }))] }));
return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", { class: "artajs__modal__header", children: [(0, jsx_runtime_1.jsx)("div", { className: "artajs__modal__header__cta", children: title }), (0, jsx_runtime_1.jsx)("div", { className: "artajs__modal__header__close", children: (0, jsx_runtime_1.jsx)("a", { onClick: onClose, href: "#", children: (0, jsx_runtime_1.jsxs)("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("line", { x1: "6.70711", y1: "6.29289", x2: "18.0208", y2: "17.6066", "stroke-width": "2" }), (0, jsx_runtime_1.jsx)("line", { x1: "6.29289", y1: "17.6066", x2: "17.6066", y2: "6.29291", "stroke-width": "2" })] }) }) })] }), (0, jsx_runtime_1.jsx)("svg", { class: "artajs__modal__header__divider", width: "100%", height: "5", children: (0, jsx_runtime_1.jsx)("line", { x1: "0", y1: "5", x2: "100%", y2: "5", style: "stroke: ".concat(lineColor, " ; stroke-width: 1;") }) })] }));
};
exports.Header = Header;

@@ -23,4 +23,4 @@ "use strict";

var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }

@@ -130,6 +130,6 @@ function step(op) {

}, [destination]);
return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs" }, { children: [position === 'center' && (0, jsx_runtime_1.jsx)("div", { class: "artajs__modal__backdrop" }), (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__modal artajs__modal__".concat(position), style: style }, { children: [(0, jsx_runtime_1.jsx)(Header_1.Header, { onClose: onClose, title: config.text.header.title, lineColor: config.style.color.border }), status === ModalStatus_1.ModalStatus.LOADING && ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Loading_1.Loading, {}), (0, jsx_runtime_1.jsx)(Footer_1.Footer, { absolute: true })] })), status === ModalStatus_1.ModalStatus.OPEN && ((0, jsx_runtime_1.jsx)(Destination_1.Destination, { parsedOrigin: parsedOrigin, textConfig: (0, helper_1.getDestinationConfig)(config), setDestination: setDestination })), status === ModalStatus_1.ModalStatus.QUOTED && quoteRequest && ((0, jsx_runtime_1.jsx)(Quotes_1.Quotes, { quoteRequest: quoteRequest, showCostRange: config.style.pricingDisplay === 'range', textConfig: (0, helper_1.getQuoteConfig)(config), setStatus: setStatus })), status === ModalStatus_1.ModalStatus.DISQUALIFIED && quoteRequest && ((0, jsx_runtime_1.jsx)(Disqualified_1.Disqualified, { quoteRequest: quoteRequest, textConfig: (0, helper_1.getDisqualifiedConfig)(config), setStatus: setStatus })), status !== ModalStatus_1.ModalStatus.LOADING && (0, jsx_runtime_1.jsx)(Footer_1.Footer, {}), errors && errors.length > 0 && ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__modal__error__container" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__modal__error" }, { children: errors.map(function (error, i) {
return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)("div", { class: "artajs", children: [position === 'center' && (0, jsx_runtime_1.jsx)("div", { class: "artajs__modal__backdrop" }), (0, jsx_runtime_1.jsxs)("div", { class: "artajs__modal artajs__modal__".concat(position), style: style, children: [(0, jsx_runtime_1.jsx)(Header_1.Header, { onClose: onClose, title: config.text.header.title, lineColor: config.style.color.border }), status === ModalStatus_1.ModalStatus.LOADING && ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Loading_1.Loading, {}), (0, jsx_runtime_1.jsx)(Footer_1.Footer, { absolute: true })] })), status === ModalStatus_1.ModalStatus.OPEN && ((0, jsx_runtime_1.jsx)(Destination_1.Destination, { parsedOrigin: parsedOrigin, textConfig: (0, helper_1.getDestinationConfig)(config), setDestination: setDestination })), status === ModalStatus_1.ModalStatus.QUOTED && quoteRequest && ((0, jsx_runtime_1.jsx)(Quotes_1.Quotes, { quoteRequest: quoteRequest, showCostRange: config.style.pricingDisplay === 'range', textConfig: (0, helper_1.getQuoteConfig)(config), setStatus: setStatus })), status === ModalStatus_1.ModalStatus.DISQUALIFIED && quoteRequest && ((0, jsx_runtime_1.jsx)(Disqualified_1.Disqualified, { quoteRequest: quoteRequest, textConfig: (0, helper_1.getDisqualifiedConfig)(config), setStatus: setStatus })), status !== ModalStatus_1.ModalStatus.LOADING && (0, jsx_runtime_1.jsx)(Footer_1.Footer, {}), errors && errors.length > 0 && ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__modal__error__container", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__modal__error", children: errors.map(function (error, i) {
return (0, jsx_runtime_1.jsx)("span", { children: error }, "arta-error-".concat(i));
}) })), (0, jsx_runtime_1.jsx)("div", __assign({ className: "artajs__modal__error__close" }, { children: (0, jsx_runtime_1.jsx)("a", __assign({ onClick: function () { return setErrors([]); }, href: "#" }, { children: (0, jsx_runtime_1.jsxs)("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("line", { x1: "6.70711", y1: "6.29289", x2: "18.0208", y2: "17.6066", "stroke-width": "2" }), (0, jsx_runtime_1.jsx)("line", { x1: "6.29289", y1: "17.6066", x2: "17.6066", y2: "6.29291", "stroke-width": "2" })] })) })) }))] })))] }))] })) }));
}) }), (0, jsx_runtime_1.jsx)("div", { className: "artajs__modal__error__close", children: (0, jsx_runtime_1.jsx)("a", { onClick: function () { return setErrors([]); }, href: "#", children: (0, jsx_runtime_1.jsxs)("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("line", { x1: "6.70711", y1: "6.29289", x2: "18.0208", y2: "17.6066", "stroke-width": "2" }), (0, jsx_runtime_1.jsx)("line", { x1: "6.29289", y1: "17.6066", x2: "17.6066", y2: "6.29291", "stroke-width": "2" })] }) }) })] }))] })] }) }));
};
exports.Modal = Modal;
import type { TrackingConfig } from '../../trackingConfig';
import type { Shipment } from '../TrackingDrawer';
import type { ArtaObject, Shipment } from '../TrackingDrawer';
export interface PackingsProps {

@@ -10,2 +10,3 @@ shipment: Shipment;

}
export declare const objectDetailTitle: (obj: ArtaObject, config: TrackingConfig) => string;
export declare const Package: ({ config, shipment, pkg, title, setPackageId, }: PackingsProps) => import("preact").JSX.Element;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Package = void 0;
exports.Package = exports.objectDetailTitle = void 0;
var jsx_runtime_1 = require("preact/jsx-runtime");
var Pill_1 = require("../Pill");
var objectDetailTitle = function (obj, config) {
var _a, _b, _c;
if (((_a = obj.details) === null || _a === void 0 ? void 0 : _a.title) == null &&
((_b = obj.details) === null || _b === void 0 ? void 0 : _b.creator) == null &&
((_c = obj.details) === null || _c === void 0 ? void 0 : _c.creation_date) == null) {
return config.text.noObjectDetailsTitle;
}
var formattedString = '';
if (obj.details.title && obj.details.creator) {
formattedString = "".concat(obj.details.title, ": ").concat(obj.details.creator);
}
else if (obj.details.title) {
formattedString = obj.details.title;
}
else if (obj.details.creator) {
formattedString = obj.details.creator;
}
if (obj.details.creation_date) {
formattedString +=
(formattedString ? ', ' : '') + obj.details.creation_date;
}
return formattedString;
};
exports.objectDetailTitle = objectDetailTitle;
var Package = function (_a) {
var config = _a.config, shipment = _a.shipment, pkg = _a.pkg, title = _a.title, setPackageId = _a.setPackageId;
var pkgTracking = shipment.tracking.find(function (t) { return t.package_id === pkg.id; });
var objectDetailTitle = function (obj) {
var _a, _b, _c;
if (((_a = obj.details) === null || _a === void 0 ? void 0 : _a.title) == null &&
((_b = obj.details) === null || _b === void 0 ? void 0 : _b.creator) == null &&
((_c = obj.details) === null || _c === void 0 ? void 0 : _c.creation_date) == null) {
return config.text.noObjectDetailsTitle;
}
var formattedString = '';
if (obj.details.title && obj.details.creator) {
formattedString = "".concat(obj.details.title, ": ").concat(obj.details.creator);
}
else if (obj.details.title) {
formattedString = obj.details.title;
}
else if (obj.details.creator) {
formattedString = obj.details.creator;
}
if (obj.details.creation_date) {
formattedString +=
(formattedString ? ', ' : '') + obj.details.creation_date;
}
return formattedString;
};
return ((0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__packings__wrapper" }, { children: (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__packings__spacer" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__packings__spacer" }, { children: (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__packings__header" }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__packings__header__top" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__header__text" }, { children: title })), (0, jsx_runtime_1.jsx)(Pill_1.Pill, { config: config, pkg: pkg })] })), (pkgTracking === null || pkgTracking === void 0 ? void 0 : pkgTracking.carrier_name) && pkgTracking.tracking_number && ((0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__packings__header__body" }, { children: pkgTracking.url ? ((0, jsx_runtime_1.jsxs)("div", __assign({ onClick: function (e) {
return ((0, jsx_runtime_1.jsx)("div", { class: "artajs__packings__wrapper", children: (0, jsx_runtime_1.jsxs)("div", { class: "artajs__packings__spacer", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__packings__spacer", children: (0, jsx_runtime_1.jsxs)("div", { class: "artajs__packings__header", children: [(0, jsx_runtime_1.jsxs)("div", { class: "artajs__packings__header__top", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__header__text", children: title }), (0, jsx_runtime_1.jsx)(Pill_1.Pill, { config: config, status: pkg.status })] }), (pkgTracking === null || pkgTracking === void 0 ? void 0 : pkgTracking.carrier_name) && pkgTracking.tracking_number && ((0, jsx_runtime_1.jsx)("div", { class: "artajs__packings__header__body", children: pkgTracking.url ? ((0, jsx_runtime_1.jsxs)("div", { onClick: function (e) {
e.preventDefault();

@@ -52,7 +42,7 @@ if (pkgTracking.url == null) {

window.open(url, '_blank');
}, className: "artajs__packings__text__regular__underline" }, { children: [pkgTracking.carrier_name, " - ", pkgTracking.tracking_number] }))) : ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__step__text__primary" }, { children: [pkgTracking.carrier_name, " - ", pkgTracking.tracking_number] }))) }))), pkg.package_events_count > 0 && ((0, jsx_runtime_1.jsx)("div", __assign({ onClick: function (e) {
}, className: "artajs__packings__text__regular__underline", children: [pkgTracking.carrier_name, " - ", pkgTracking.tracking_number] })) : ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__step__text__primary", children: [pkgTracking.carrier_name, " - ", pkgTracking.tracking_number] })) })), pkg.package_events_count > 0 && ((0, jsx_runtime_1.jsx)("div", { onClick: function (e) {
e.preventDefault();
setPackageId(pkg.id);
}, class: "artajs__packings__header__body" }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__packings__text__small__underline" }, { children: config.text.packageHistoryLabel })) })))] })) })), (0, jsx_runtime_1.jsx)("div", { class: "artajs__packings__line" }), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__packings__item" }, { children: pkg.objects.map(function (obj) { return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__packings__item__content" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__title" }, { children: objectDetailTitle(obj) })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__subtype" }, { children: obj.subtype_name }))] }))); }) }))] })) })));
}, class: "artajs__packings__header__body", children: (0, jsx_runtime_1.jsx)("div", { class: "artajs__packings__text__small__underline", children: config.text.packageHistoryLabel }) }))] }) }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__packings__line" }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__packings__item", children: pkg.objects.map(function (obj) { return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__packings__item__content", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__title", children: (0, exports.objectDetailTitle)(obj, config) }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__subtype", children: obj.subtype_name })] })); }) })] }) }));
};
exports.Package = Package;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

@@ -23,4 +12,4 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }

var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }

@@ -104,8 +93,8 @@ function step(op) {

}, [packageId]);
return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__events__wrapper" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ onClick: function (e) {
return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__events__wrapper", children: [(0, jsx_runtime_1.jsx)("div", { onClick: function (e) {
e.preventDefault();
setPackageId(null);
}, class: "artajs__tracking__events__return" }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__events__return__text" }, { children: config.text.packageIdReturnLabel })) })), (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__events__header" }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__events__header__title" }, { children: [config.text.packageLabel, " #", packageIdx + 1, ' ', config.text.historyLabel] })), (pkgTracking === null || pkgTracking === void 0 ? void 0 : pkgTracking.carrier_name) &&
}, class: "artajs__tracking__events__return", children: (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__events__return__text", children: config.text.packageIdReturnLabel }) }), (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__events__header", children: [(0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__events__header__title", children: [config.text.packageLabel, " #", packageIdx + 1, ' ', config.text.historyLabel] }), (pkgTracking === null || pkgTracking === void 0 ? void 0 : pkgTracking.carrier_name) &&
pkgTracking.tracking_number &&
(pkgTracking.url ? ((0, jsx_runtime_1.jsxs)("div", __assign({ onClick: function (e) {
(pkgTracking.url ? ((0, jsx_runtime_1.jsxs)("div", { onClick: function (e) {
e.preventDefault();

@@ -119,16 +108,16 @@ if (pkgTracking.url == null) {

window.open(url, '_blank');
}, className: "artajs__packings__text__regular__underline" }, { children: [pkgTracking.carrier_name, " - ", pkgTracking.tracking_number] }))) : ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__step__text__primary" }, { children: [pkgTracking.carrier_name, " - ", pkgTracking.tracking_number] }))))] })), groupedEventHistory ? ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__events__body" }, { children: [Object.values(groupedEventHistory).map(function (events, idx) {
return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__events__group" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__events__date" }, { children: formatDate(events[0].datetime, config) })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__events__group__item" }, { children: events.map(function (event, idx2) {
}, className: "artajs__packings__text__regular__underline", children: [pkgTracking.carrier_name, " - ", pkgTracking.tracking_number] })) : ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__step__text__primary", children: [pkgTracking.carrier_name, " - ", pkgTracking.tracking_number] })))] }), groupedEventHistory ? ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__events__body", children: [Object.values(groupedEventHistory).map(function (events, idx) {
return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__events__group", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__events__date", children: formatDate(events[0].datetime, config) }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__events__group__item", children: events.map(function (event, idx2) {
var _a;
return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__events__group__content" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: idx === 0 && idx2 === 0
return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__events__group__content", children: [(0, jsx_runtime_1.jsx)("div", { class: idx === 0 && idx2 === 0
? 'artajs__tracking__events__group__number__primary'
: 'artajs__tracking__events__group__number__secondary' }, { children: counter-- })), (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__events__group__divider" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__events__round" }, { children: idx === 0 && idx2 === 0 ? ((0, jsx_runtime_1.jsx)("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", fill: "none" }, { children: (0, jsx_runtime_1.jsx)("circle", { cx: "15", cy: "15", r: "7.5", fill: config.style.color.iconPrimary }) }))) : ((0, jsx_runtime_1.jsx)("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", fill: "none" }, { children: (0, jsx_runtime_1.jsx)("circle", { cx: "15", cy: "15", r: "7", fill: "none", stroke: config.style.color.iconTertiary, "stroke-width": "2" }) }))) })), (0, jsx_runtime_1.jsx)("hr", { class: "artajs__tracking__events__vertical", style: "0 auto" })] })), (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__events__group__summary" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: idx === 0 && idx2 === 0
: 'artajs__tracking__events__group__number__secondary', children: counter-- }), (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__events__group__divider", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__events__round", children: idx === 0 && idx2 === 0 ? ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", children: (0, jsx_runtime_1.jsx)("circle", { cx: "15", cy: "15", r: "7.5", fill: config.style.color.iconPrimary }) })) : ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", children: (0, jsx_runtime_1.jsx)("circle", { cx: "15", cy: "15", r: "7", fill: "none", stroke: config.style.color.iconTertiary, "stroke-width": "2" }) })) }), (0, jsx_runtime_1.jsx)("hr", { class: "artajs__tracking__events__vertical", style: "0 auto" })] }), (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__events__group__summary", children: [(0, jsx_runtime_1.jsx)("div", { class: idx === 0 && idx2 === 0
? 'artajs__tracking__events__group__location'
: 'artajs__tracking__events__group__location__secondary' }, { children: (_a = cleanLocationString(event.location)) !== null && _a !== void 0 ? _a : config.text.unknownLocation })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__events__group__time" }, { children: new Date(event.datetime).toLocaleTimeString([], {
: 'artajs__tracking__events__group__location__secondary', children: (_a = cleanLocationString(event.location)) !== null && _a !== void 0 ? _a : config.text.unknownLocation }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__events__group__time", children: new Date(event.datetime).toLocaleTimeString([], {
hour: 'numeric',
minute: '2-digit',
}) })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__events__group__description" }, { children: event.summary }))] }))] })));
}) }))] })));
}), (0, jsx_runtime_1.jsx)(DrawerFooter_1.DrawerFooter, {})] }))) : ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__body" }, { children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__drawer__loading" }), (0, jsx_runtime_1.jsx)(DrawerFooter_1.DrawerFooter, {})] })))] })));
}) }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__events__group__description", children: event.summary })] })] }));
}) })] }));
}), (0, jsx_runtime_1.jsx)(DrawerFooter_1.DrawerFooter, {})] })) : ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__body", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__drawer__loading" }), (0, jsx_runtime_1.jsx)(DrawerFooter_1.DrawerFooter, {})] }))] }));
};
exports.PackageEvents = PackageEvents;
import type { TrackingConfig } from '../../trackingConfig';
import type { ArtaPackage } from '../TrackingDrawer';
import type { ArtaPackage, Shipment } from '../TrackingDrawer';
interface PillProps {
config: TrackingConfig;
pkg: ArtaPackage;
status: ArtaPackage['status'] | Shipment['status'];
}
export declare const Pill: ({ config, pkg }: PillProps) => import("preact").JSX.Element;
export declare const Pill: ({ config, status }: PillProps) => import("preact").JSX.Element;
export {};
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -17,5 +6,6 @@ exports.Pill = void 0;

var Pill = function (_a) {
var config = _a.config, pkg = _a.pkg;
return ((0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__pill__wrapper" }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__pill__round", style: { background: config.pill[pkg.status].backgroundColor } }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__pill__text", style: { color: config.pill[pkg.status].textColor } }, { children: config.pill[pkg.status].text })) })) })));
var config = _a.config, status = _a.status;
var pillStatus = status === 'in_transit' ? 'transit' : status;
return ((0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__pill__wrapper", children: (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__pill__round", style: { background: config.pill[pillStatus].backgroundColor }, children: (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__pill__text", style: { color: config.pill[pillStatus].textColor }, children: config.pill[pillStatus].text }) }) }));
};
exports.Pill = Pill;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -48,8 +37,8 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

var parsedDestination = (0, helper_1.parseEstimatedLocation)(quoteRequest.destination);
return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__modal__quotes" }, { children: [(0, jsx_runtime_1.jsx)("p", __assign({ class: "artajs__modal__quotes__context" }, { children: textConfig.shipFromLabel })), (0, jsx_runtime_1.jsx)("p", __assign({ class: "artajs__modal__quotes__origin" }, { children: (0, jsx_runtime_1.jsxs)("span", { children: [(0, jsx_runtime_1.jsx)("strong", __assign({ class: "artajs__modal__capitalize" }, { children: parsedOrigin })), ' ', (0, jsx_runtime_1.jsx)("span", __assign({ class: "artajs__modal__quotes__light" }, { children: textConfig.detailOriginLabel }))] }) })), (0, jsx_runtime_1.jsxs)("p", __assign({ class: "artajs__modal__quotes__destination" }, { children: [(0, jsx_runtime_1.jsx)("span", __assign({ class: "artajs__modal__quotes__small" }, { children: textConfig.shipToLabel })), ' ', parsedDestination ? ((0, jsx_runtime_1.jsxs)("span", { children: [(0, jsx_runtime_1.jsx)("strong", __assign({ class: "artajs__modal__capitalize" }, { children: parsedDestination })), ' ', (0, jsx_runtime_1.jsx)("span", __assign({ class: "artajs__modal__quotes__light" }, { children: textConfig.detailDestinationLabel }))] })) : ((0, jsx_runtime_1.jsx)("span", { children: "..." }))] })), showCostRange && quotes.length > 1 ? ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__modal__quotes__box ".concat(!isInternational ? 'artajs__modal__quotes__box__padding__y' : '') }, { children: [(0, jsx_runtime_1.jsx)("p", __assign({ class: "artajs__modal__quotes__context" }, { children: textConfig.rangeLabel })), (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__modal__quotes__price" }, { children: [(0, jsx_runtime_1.jsxs)("strong", __assign({ class: "artajs__modal__quotes__price__amount" }, { children: [currencySymbol, Math.round(quotes[0].total), " - ", currencySymbol, Math.round(quotes[quotes.length - 1].total)] })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__modal__quotes__price__currency_code" }, { children: quoteRequest.currency }))] })), isInternational && ((0, jsx_runtime_1.jsx)("p", __assign({ class: "artajs__modal__quotes__disclaimer" }, { children: hasInsurance
return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__modal__quotes", children: [(0, jsx_runtime_1.jsx)("p", { class: "artajs__modal__quotes__context", children: textConfig.shipFromLabel }), (0, jsx_runtime_1.jsx)("p", { class: "artajs__modal__quotes__origin", children: (0, jsx_runtime_1.jsxs)("span", { children: [(0, jsx_runtime_1.jsx)("strong", { class: "artajs__modal__capitalize", children: parsedOrigin }), ' ', (0, jsx_runtime_1.jsx)("span", { class: "artajs__modal__quotes__light", children: textConfig.detailOriginLabel })] }) }), (0, jsx_runtime_1.jsxs)("p", { class: "artajs__modal__quotes__destination", children: [(0, jsx_runtime_1.jsx)("span", { class: "artajs__modal__quotes__small", children: textConfig.shipToLabel }), ' ', parsedDestination ? ((0, jsx_runtime_1.jsxs)("span", { children: [(0, jsx_runtime_1.jsx)("strong", { class: "artajs__modal__capitalize", children: parsedDestination }), ' ', (0, jsx_runtime_1.jsx)("span", { class: "artajs__modal__quotes__light", children: textConfig.detailDestinationLabel })] })) : ((0, jsx_runtime_1.jsx)("span", { children: "..." }))] }), showCostRange && quotes.length > 1 ? ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__modal__quotes__box ".concat(!isInternational ? 'artajs__modal__quotes__box__padding__y' : ''), children: [(0, jsx_runtime_1.jsx)("p", { class: "artajs__modal__quotes__context", children: textConfig.rangeLabel }), (0, jsx_runtime_1.jsxs)("div", { class: "artajs__modal__quotes__price", children: [(0, jsx_runtime_1.jsxs)("strong", { class: "artajs__modal__quotes__price__amount", children: [currencySymbol, Math.round(quotes[0].total), " - ", currencySymbol, Math.round(quotes[quotes.length - 1].total)] }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__modal__quotes__price__currency_code", children: quoteRequest.currency })] }), isInternational && ((0, jsx_runtime_1.jsx)("p", { class: "artajs__modal__quotes__disclaimer", children: hasInsurance
? "".concat(textConfig.artaInsuranceLabel, " ").concat(textConfig.disclaimerLabel)
: textConfig.disclaimerLabel })))] }))) : ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__modal__quotes__box ".concat(!isInternational ? 'artajs__modal__quotes__box__padding__y' : '') }, { children: [(0, jsx_runtime_1.jsx)("p", __assign({ class: "artajs__modal__quotes__context" }, { children: textConfig.startsAtLabel })), (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__modal__quotes__price" }, { children: [(0, jsx_runtime_1.jsxs)("strong", __assign({ class: "artajs__modal__quotes__price__amount" }, { children: [currencySymbol, Math.round(quotes[0].total)] })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__modal__quotes__price__currency_code" }, { children: quoteRequest.currency }))] })), isInternational && ((0, jsx_runtime_1.jsx)("p", __assign({ class: "artajs__modal__quotes__disclaimer" }, { children: hasInsurance
: textConfig.disclaimerLabel }))] })) : ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__modal__quotes__box ".concat(!isInternational ? 'artajs__modal__quotes__box__padding__y' : ''), children: [(0, jsx_runtime_1.jsx)("p", { class: "artajs__modal__quotes__context", children: textConfig.startsAtLabel }), (0, jsx_runtime_1.jsxs)("div", { class: "artajs__modal__quotes__price", children: [(0, jsx_runtime_1.jsxs)("strong", { class: "artajs__modal__quotes__price__amount", children: [currencySymbol, Math.round(quotes[0].total)] }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__modal__quotes__price__currency_code", children: quoteRequest.currency })] }), isInternational && ((0, jsx_runtime_1.jsx)("p", { class: "artajs__modal__quotes__disclaimer", children: hasInsurance
? "".concat(textConfig.artaInsuranceLabel, " ").concat(textConfig.disclaimerLabel)
: textConfig.disclaimerLabel })))] }))), (0, jsx_runtime_1.jsx)("p", __assign({ class: "artajs__modal__quotes__change" }, { children: (0, jsx_runtime_1.jsxs)("a", __assign({ onClick: onChangeDestination, href: "#" }, { children: [(0, jsx_runtime_1.jsx)("svg", __assign({ height: "12", id: "chevron-left", viewBox: "0 0 32 32", width: "12", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsx)("path", { d: "M20 1 L24 5 L14 16 L24 27 L20 31 L6 16 z" }) })), textConfig.returnLinkLabel] })) }))] })));
: textConfig.disclaimerLabel }))] })), (0, jsx_runtime_1.jsx)("p", { class: "artajs__modal__quotes__change", children: (0, jsx_runtime_1.jsxs)("a", { onClick: onChangeDestination, href: "#", children: [(0, jsx_runtime_1.jsx)("svg", { height: "12", id: "chevron-left", viewBox: "0 0 32 32", width: "12", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("path", { d: "M20 1 L24 5 L14 16 L24 27 L20 31 L6 16 z" }) }), textConfig.returnLinkLabel] }) })] }));
};
exports.Quotes = Quotes;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,4 +7,4 @@ exports.HexagonAlertBase = void 0;

var config = _a.config;
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: "25", height: "24", viewBox: "0 0 25 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("g", __assign({ "clip-path": "url(#clip0_771_16196)" }, { children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.376 0.0381743C7.3232 0.0570143 7.22823 0.112862 7.16494 0.162278C7.07775 0.23039 2.42742 5.02439 0.832448 6.6904C0.652016 6.87887 0.58976 6.96203 0.550448 7.0671L0.5 7.20196V12.0002V16.7984L0.550448 16.9332C0.58976 17.0383 0.65204 17.1215 0.832448 17.31C2.41086 18.959 7.0777 23.7699 7.16494 23.8379C7.39042 24.0138 6.94273 24.0002 12.5 24.0002C18.0573 24.0002 17.6097 24.0138 17.835 23.8379C17.8982 23.7886 19.1553 22.5008 20.6284 20.9762C24.6688 16.7948 24.3914 17.0875 24.4408 16.9533C24.4645 16.8889 24.4929 16.8259 24.504 16.8134C24.5295 16.7843 24.5305 7.14529 24.505 7.16104C24.4946 7.16749 24.467 7.11894 24.4436 7.05313C24.3948 6.91571 24.6922 7.22982 20.6284 3.02416C19.1553 1.49956 17.8982 0.211766 17.835 0.162422C17.6096 -0.0135457 18.0592 -5.76989e-05 12.4897 0.0020543C8.20887 0.0036623 7.45791 0.0089663 7.376 0.0381743ZM4.97 4.57581L2.012 7.63698V12.0002V16.3633L4.97 19.4246L7.928 22.4858L12.5 22.4857L17.072 22.4857L20.03 19.4245L22.988 16.3633V12.0003V7.63725L20.03 4.57597L17.072 1.5147L12.5 1.51468L7.928 1.51465L4.97 4.57581ZM12.3079 4.36516C12.1147 4.42849 11.9121 4.59414 11.82 4.76416L11.768 4.86016L11.7617 9.18945L11.7555 13.5187L11.8122 13.6425C11.8935 13.8201 12.0023 13.9324 12.1757 14.0178C12.5594 14.2067 13.0052 14.0415 13.1878 13.6425L13.2445 13.5187L13.2383 9.18945C13.2323 5.04198 13.2302 4.85677 13.188 4.77942C13.1158 4.64718 12.9541 4.48801 12.825 4.42225C12.6958 4.35647 12.4254 4.32661 12.3079 4.36516ZM0.51176 12.0002C0.51176 14.66 0.514568 15.7481 0.518 14.4182C0.521432 13.0883 0.521432 10.9121 0.518 9.58216C0.514568 8.25227 0.51176 9.34036 0.51176 12.0002ZM12.1583 15.6468C11.7841 15.7664 11.4657 16.1168 11.3963 16.4854C11.3213 16.8838 11.431 17.2446 11.7119 17.5237C12.1498 17.959 12.8502 17.959 13.2881 17.5237C13.8085 17.0066 13.7181 16.1648 13.0997 15.7679C12.8413 15.6021 12.4539 15.5523 12.1583 15.6468Z", fill: config.style.color.exceptionIcon }) })), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", __assign({ id: "clip0_771_16196" }, { children: (0, jsx_runtime_1.jsx)("rect", { width: "24", height: "24", fill: config.style.color.background, transform: "translate(0.5)" }) })) })] })));
return ((0, jsx_runtime_1.jsxs)("svg", { width: "25", height: "24", viewBox: "0 0 25 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("g", { "clip-path": "url(#clip0_771_16196)", children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.376 0.0381743C7.3232 0.0570143 7.22823 0.112862 7.16494 0.162278C7.07775 0.23039 2.42742 5.02439 0.832448 6.6904C0.652016 6.87887 0.58976 6.96203 0.550448 7.0671L0.5 7.20196V12.0002V16.7984L0.550448 16.9332C0.58976 17.0383 0.65204 17.1215 0.832448 17.31C2.41086 18.959 7.0777 23.7699 7.16494 23.8379C7.39042 24.0138 6.94273 24.0002 12.5 24.0002C18.0573 24.0002 17.6097 24.0138 17.835 23.8379C17.8982 23.7886 19.1553 22.5008 20.6284 20.9762C24.6688 16.7948 24.3914 17.0875 24.4408 16.9533C24.4645 16.8889 24.4929 16.8259 24.504 16.8134C24.5295 16.7843 24.5305 7.14529 24.505 7.16104C24.4946 7.16749 24.467 7.11894 24.4436 7.05313C24.3948 6.91571 24.6922 7.22982 20.6284 3.02416C19.1553 1.49956 17.8982 0.211766 17.835 0.162422C17.6096 -0.0135457 18.0592 -5.76989e-05 12.4897 0.0020543C8.20887 0.0036623 7.45791 0.0089663 7.376 0.0381743ZM4.97 4.57581L2.012 7.63698V12.0002V16.3633L4.97 19.4246L7.928 22.4858L12.5 22.4857L17.072 22.4857L20.03 19.4245L22.988 16.3633V12.0003V7.63725L20.03 4.57597L17.072 1.5147L12.5 1.51468L7.928 1.51465L4.97 4.57581ZM12.3079 4.36516C12.1147 4.42849 11.9121 4.59414 11.82 4.76416L11.768 4.86016L11.7617 9.18945L11.7555 13.5187L11.8122 13.6425C11.8935 13.8201 12.0023 13.9324 12.1757 14.0178C12.5594 14.2067 13.0052 14.0415 13.1878 13.6425L13.2445 13.5187L13.2383 9.18945C13.2323 5.04198 13.2302 4.85677 13.188 4.77942C13.1158 4.64718 12.9541 4.48801 12.825 4.42225C12.6958 4.35647 12.4254 4.32661 12.3079 4.36516ZM0.51176 12.0002C0.51176 14.66 0.514568 15.7481 0.518 14.4182C0.521432 13.0883 0.521432 10.9121 0.518 9.58216C0.514568 8.25227 0.51176 9.34036 0.51176 12.0002ZM12.1583 15.6468C11.7841 15.7664 11.4657 16.1168 11.3963 16.4854C11.3213 16.8838 11.431 17.2446 11.7119 17.5237C12.1498 17.959 12.8502 17.959 13.2881 17.5237C13.8085 17.0066 13.7181 16.1648 13.0997 15.7679C12.8413 15.6021 12.4539 15.5523 12.1583 15.6468Z", fill: config.style.color.exceptionIcon }) }), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", { id: "clip0_771_16196", children: (0, jsx_runtime_1.jsx)("rect", { width: "24", height: "24", fill: config.style.color.background, transform: "translate(0.5)" }) }) })] }));
};
exports.HexagonAlertBase = HexagonAlertBase;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,4 +7,4 @@ exports.HexagonPauseBase = void 0;

var config = _a.config;
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", focusable: "false" }, { children: [(0, jsx_runtime_1.jsx)("g", __assign({ "clip-path": "url(#arta__clip0_3203_12005)" }, { children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.98543 0.848012C7.08937 0.775388 7.19706 0.730258 7.31357 0.710511C7.33823 0.706325 9.46008 0.703493 12.0288 0.704213L16.6992 0.705519L16.7696 0.727359C16.8548 0.753826 16.9394 0.795452 17.0144 0.847916C17.0746 0.889964 23.081 7.09356 23.1485 7.18337C23.1999 7.25175 23.2467 7.34747 23.2727 7.43713L23.2944 7.51192V11.9999V16.4879L23.2727 16.5627C23.2467 16.6524 23.1999 16.7481 23.1484 16.8165C23.0808 16.9066 17.0749 23.1097 17.0146 23.1518C16.9361 23.2067 16.8521 23.2472 16.7645 23.2726L16.6896 23.2943H12H7.3104L7.23553 23.2726C7.14785 23.2472 7.06389 23.2067 6.98535 23.1518C6.92485 23.1095 0.919591 16.9071 0.851738 16.8168C0.800138 16.7481 0.753299 16.6525 0.727274 16.5627L0.705597 16.4879V11.9999V7.51192L0.727274 7.43713C0.753271 7.34744 0.800128 7.25175 0.851575 7.18329C0.919235 7.09325 6.9251 0.890165 6.98543 0.848012ZM2.208 7.9319L4.9752 5.07005L7.7424 2.20821L12 2.20823L16.2576 2.20825L19.0248 5.0701L21.792 7.93195V11.9999V16.0679L19.0248 18.9298L16.2576 21.7916L12 21.7916L7.7424 21.7916L4.9752 18.9298L2.208 16.068V12V7.9319ZM12.9231 7.30784C12.9231 6.79804 12.5098 6.38477 12 6.38477C11.4902 6.38477 11.0769 6.79804 11.0769 7.30784V11.9232C11.0769 12.433 11.4902 12.8463 12 12.8463C12.5098 12.8463 12.9231 12.433 12.9231 11.9232V7.30784ZM12 15.6925C11.4902 15.6925 11.0769 16.1057 11.0769 16.6155V16.6254C11.0769 17.1352 11.4902 17.5485 12 17.5485H12.0098C12.5196 17.5485 12.9329 17.1352 12.9329 16.6254V16.6155C12.9329 16.1057 12.5196 15.6925 12.0098 15.6925H12Z", fill: config.style.color.exceptionIcon }) })), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", __assign({ id: "arta__clip0_3203_12005" }, { children: (0, jsx_runtime_1.jsx)("rect", { width: "24", height: "24", fill: config.style.color.background }) })) })] })));
return ((0, jsx_runtime_1.jsxs)("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", focusable: "false", children: [(0, jsx_runtime_1.jsx)("g", { "clip-path": "url(#arta__clip0_3203_12005)", children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.98543 0.848012C7.08937 0.775388 7.19706 0.730258 7.31357 0.710511C7.33823 0.706325 9.46008 0.703493 12.0288 0.704213L16.6992 0.705519L16.7696 0.727359C16.8548 0.753826 16.9394 0.795452 17.0144 0.847916C17.0746 0.889964 23.081 7.09356 23.1485 7.18337C23.1999 7.25175 23.2467 7.34747 23.2727 7.43713L23.2944 7.51192V11.9999V16.4879L23.2727 16.5627C23.2467 16.6524 23.1999 16.7481 23.1484 16.8165C23.0808 16.9066 17.0749 23.1097 17.0146 23.1518C16.9361 23.2067 16.8521 23.2472 16.7645 23.2726L16.6896 23.2943H12H7.3104L7.23553 23.2726C7.14785 23.2472 7.06389 23.2067 6.98535 23.1518C6.92485 23.1095 0.919591 16.9071 0.851738 16.8168C0.800138 16.7481 0.753299 16.6525 0.727274 16.5627L0.705597 16.4879V11.9999V7.51192L0.727274 7.43713C0.753271 7.34744 0.800128 7.25175 0.851575 7.18329C0.919235 7.09325 6.9251 0.890165 6.98543 0.848012ZM2.208 7.9319L4.9752 5.07005L7.7424 2.20821L12 2.20823L16.2576 2.20825L19.0248 5.0701L21.792 7.93195V11.9999V16.0679L19.0248 18.9298L16.2576 21.7916L12 21.7916L7.7424 21.7916L4.9752 18.9298L2.208 16.068V12V7.9319ZM12.9231 7.30784C12.9231 6.79804 12.5098 6.38477 12 6.38477C11.4902 6.38477 11.0769 6.79804 11.0769 7.30784V11.9232C11.0769 12.433 11.4902 12.8463 12 12.8463C12.5098 12.8463 12.9231 12.433 12.9231 11.9232V7.30784ZM12 15.6925C11.4902 15.6925 11.0769 16.1057 11.0769 16.6155V16.6254C11.0769 17.1352 11.4902 17.5485 12 17.5485H12.0098C12.5196 17.5485 12.9329 17.1352 12.9329 16.6254V16.6155C12.9329 16.1057 12.5196 15.6925 12.0098 15.6925H12Z", fill: config.style.color.exceptionIcon }) }), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", { id: "arta__clip0_3203_12005", children: (0, jsx_runtime_1.jsx)("rect", { width: "24", height: "24", fill: config.style.color.background }) }) })] }));
};
exports.HexagonPauseBase = HexagonPauseBase;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,4 +7,4 @@ exports.HexagonStopBase = void 0;

var config = _a.config;
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", focusable: "false" }, { children: [(0, jsx_runtime_1.jsx)("g", __assign({ "clip-path": "url(#arta__clip0_3203_12006)" }, { children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.98543 0.848012C7.08937 0.775388 7.19706 0.730258 7.31357 0.710511C7.33823 0.706325 9.46008 0.703493 12.0288 0.704213L16.6992 0.705519L16.7696 0.727359C16.8548 0.753826 16.9394 0.795452 17.0144 0.847916C17.0746 0.889964 23.081 7.09356 23.1485 7.18337C23.1999 7.25175 23.2467 7.34747 23.2727 7.43713L23.2944 7.51192V11.9999V16.4879L23.2727 16.5627C23.2467 16.6524 23.1999 16.7481 23.1484 16.8165C23.0808 16.9066 17.0749 23.1097 17.0146 23.1518C16.9361 23.2067 16.8521 23.2472 16.7645 23.2726L16.6896 23.2943H12H7.3104L7.23553 23.2726C7.14785 23.2472 7.06389 23.2067 6.98535 23.1518C6.92485 23.1095 0.919591 16.9071 0.851738 16.8168C0.800138 16.7481 0.753299 16.6525 0.727274 16.5627L0.705597 16.4879V11.9999V7.51192L0.727274 7.43713C0.753271 7.34744 0.800128 7.25175 0.851575 7.18329C0.919235 7.09325 6.9251 0.890165 6.98543 0.848012ZM2.208 7.9319L4.9752 5.07005L7.7424 2.20821L12 2.20823L16.2576 2.20825L19.0248 5.0701L21.792 7.93195V11.9999V16.0679L19.0248 18.9298L16.2576 21.7916L12 21.7916L7.7424 21.7916L4.9752 18.9298L2.208 16.068V12V7.9319ZM7 11C6.44772 11 6 11.4477 6 12C6 12.5523 6.44771 13 7 13H17C17.5523 13 18 12.5523 18 12C18 11.4477 17.5523 11 17 11H7Z", fill: config.style.color.exceptionIcon }) })), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", __assign({ id: "arta__clip0_3203_12006" }, { children: (0, jsx_runtime_1.jsx)("rect", { width: "24", height: "24", fill: config.style.color.background }) })) })] })));
return ((0, jsx_runtime_1.jsxs)("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", focusable: "false", children: [(0, jsx_runtime_1.jsx)("g", { "clip-path": "url(#arta__clip0_3203_12006)", children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.98543 0.848012C7.08937 0.775388 7.19706 0.730258 7.31357 0.710511C7.33823 0.706325 9.46008 0.703493 12.0288 0.704213L16.6992 0.705519L16.7696 0.727359C16.8548 0.753826 16.9394 0.795452 17.0144 0.847916C17.0746 0.889964 23.081 7.09356 23.1485 7.18337C23.1999 7.25175 23.2467 7.34747 23.2727 7.43713L23.2944 7.51192V11.9999V16.4879L23.2727 16.5627C23.2467 16.6524 23.1999 16.7481 23.1484 16.8165C23.0808 16.9066 17.0749 23.1097 17.0146 23.1518C16.9361 23.2067 16.8521 23.2472 16.7645 23.2726L16.6896 23.2943H12H7.3104L7.23553 23.2726C7.14785 23.2472 7.06389 23.2067 6.98535 23.1518C6.92485 23.1095 0.919591 16.9071 0.851738 16.8168C0.800138 16.7481 0.753299 16.6525 0.727274 16.5627L0.705597 16.4879V11.9999V7.51192L0.727274 7.43713C0.753271 7.34744 0.800128 7.25175 0.851575 7.18329C0.919235 7.09325 6.9251 0.890165 6.98543 0.848012ZM2.208 7.9319L4.9752 5.07005L7.7424 2.20821L12 2.20823L16.2576 2.20825L19.0248 5.0701L21.792 7.93195V11.9999V16.0679L19.0248 18.9298L16.2576 21.7916L12 21.7916L7.7424 21.7916L4.9752 18.9298L2.208 16.068V12V7.9319ZM7 11C6.44772 11 6 11.4477 6 12C6 12.5523 6.44771 13 7 13H17C17.5523 13 18 12.5523 18 12C18 11.4477 17.5523 11 17 11H7Z", fill: config.style.color.exceptionIcon }) }), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", { id: "arta__clip0_3203_12006", children: (0, jsx_runtime_1.jsx)("rect", { width: "24", height: "24", fill: config.style.color.background }) }) })] }));
};
exports.HexagonStopBase = HexagonStopBase;
import { TrackingConfig } from '../../trackingConfig';
import { Shipment } from '../TrackingDrawer';
import { ArtaShipmentException, Shipment } from '../TrackingDrawer';
interface ShipmentExceptionProps {

@@ -7,3 +7,6 @@ config: TrackingConfig;

}
export declare function groupExceptions(shipment: Shipment): Record<string, ArtaShipmentException[]>;
export declare function getTopPriorityExceptions(groupedExceptions: Record<string, ArtaShipmentException[]> | null): ArtaShipmentException[];
export declare function getExceptionMessage(config: TrackingConfig, topPriorityExceptions: ArtaShipmentException[], shipment: Shipment): string | null;
export declare const ShipmentException: ({ config, shipment, }: ShipmentExceptionProps) => import("preact").JSX.Element;
export {};
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ShipmentException = void 0;
exports.groupExceptions = groupExceptions;
exports.getTopPriorityExceptions = getTopPriorityExceptions;
exports.getExceptionMessage = getExceptionMessage;
var jsx_runtime_1 = require("preact/jsx-runtime");

@@ -95,4 +87,4 @@ var ExceptionIcon_1 = require("./icons/ExceptionIcon");

}
return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__exception__wrapper" }, { children: [(0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(ExceptionIcon_1.ExceptionIcon, { config: config, currentException: currentException }) }), (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__exception__content" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__exception__title" }, { children: expcetionMessage })), (0, jsx_runtime_1.jsx)("a", __assign({ href: "mailto:".concat(config.navigation.shipmentExceptionMailTo), class: "artajs__tracking__exception__cta" }, { children: config.text.shipmentExceptionCTA }))] }))] })));
return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__exception__wrapper", children: [(0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(ExceptionIcon_1.ExceptionIcon, { config: config, currentException: currentException }) }), (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__exception__content", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__exception__title", children: expcetionMessage }), (0, jsx_runtime_1.jsx)("a", { href: "mailto:".concat(config.navigation.shipmentExceptionMailTo), class: "artajs__tracking__exception__cta", children: config.text.shipmentExceptionCTA })] })] }));
};
exports.ShipmentException = ShipmentException;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -27,4 +16,4 @@ exports.ShipToFrom = void 0;

};
return ((0, jsx_runtime_1.jsx)("div", __assign({ class: "artajas__tracking__location__wrapper" }, { children: (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__location" }, { children: [shipment.origin && ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__location__item" }, { children: [(0, jsx_runtime_1.jsx)("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.6545 0.212093C10.0285 0.277632 8.45344 0.840471 7.14725 1.82269C6.64673 2.19908 6.16259 2.66223 5.75607 3.15359C4.57861 4.57675 3.91704 6.41416 3.91687 8.2617C3.9167 10.0106 5.03372 12.9106 7.32097 17.0994C8.29574 18.8846 9.50182 20.9201 10.7612 22.9056C11.0118 23.3007 11.0523 23.3575 11.15 23.4511C11.3223 23.6164 11.5418 23.73 11.7772 23.7758C11.8898 23.7977 12.1103 23.7977 12.2229 23.7758C12.4566 23.7303 12.6769 23.6168 12.8474 23.454C12.9467 23.3591 12.9798 23.3128 13.2295 22.9199C14.3764 21.1152 15.5885 19.0784 16.5143 17.4C18.6669 13.4975 19.8454 10.641 20.0492 8.83199C20.0967 8.4102 20.092 7.94252 20.0348 7.40639C19.8826 5.97867 19.338 4.59831 18.4715 3.44373C18.0817 2.92428 17.6025 2.42594 17.0929 2.00995C16.0322 1.14425 14.733 0.553364 13.3825 0.322455C12.8067 0.224016 12.2464 0.188227 11.6545 0.212093ZM11.5061 1.69517C10.4115 1.78027 9.37908 2.1223 8.45765 2.70509C7.668 3.20453 6.93875 3.93035 6.43475 4.71845C5.90998 5.53904 5.57394 6.45728 5.44803 7.41464C5.39709 7.80194 5.37736 8.33101 5.40392 8.59679C5.558 10.1383 6.64765 12.7918 8.58523 16.344C9.29046 17.6369 10.1355 19.0922 11.024 20.544C11.5111 21.3399 11.9875 22.0992 11.9998 22.0992C12.0163 22.0992 12.7806 20.871 13.3172 19.9824C16.3487 14.9624 18.2047 11.0422 18.5521 8.92546C18.5951 8.66375 18.6072 8.50937 18.6063 8.23199C18.6026 6.99368 18.242 5.77655 17.5654 4.71845C17.0616 3.93074 16.3331 3.20565 15.5425 2.70517C14.6148 2.11789 13.5841 1.77834 12.4753 1.69462C12.2406 1.67691 11.7373 1.6772 11.5061 1.69517ZM11.8273 4.61888C10.7362 4.66386 9.7063 5.21285 9.04803 6.10026C8.76152 6.4865 8.56236 6.90406 8.44338 7.36799C8.37607 7.63043 8.34933 7.80522 8.33226 8.09453C8.31509 8.38522 8.3379 8.70955 8.39626 9.00479C8.69014 10.4916 9.88912 11.6582 11.3809 11.9087C11.6099 11.9472 11.7333 11.9568 12.0001 11.9568C12.2668 11.9568 12.3902 11.9472 12.6193 11.9087C14.1102 11.6583 15.3121 10.4889 15.604 9.00476C15.7403 8.31169 15.6729 7.57052 15.4153 6.93119C15.0728 6.08074 14.4552 5.40961 13.6369 4.99847C13.19 4.77398 12.6706 4.63768 12.2017 4.62185C12.1198 4.61909 12.0399 4.61573 12.0241 4.61438C12.0082 4.61305 11.9197 4.61507 11.8273 4.61888ZM11.7605 6.09741C11.2731 6.14831 10.7989 6.37645 10.4451 6.73028C10.1157 7.05968 9.91081 7.4563 9.82556 7.92959C9.80344 8.05238 9.79536 8.38481 9.81106 8.52687C9.85798 8.95181 10.0364 9.37132 10.3082 9.69599C10.662 10.1185 11.1466 10.3882 11.6977 10.4694C11.8548 10.4925 12.1453 10.4925 12.3025 10.4694C12.9346 10.3763 13.4818 10.032 13.835 9.50516C13.9687 9.30577 14.0973 9.00469 14.1496 8.76893C14.1961 8.55936 14.2126 8.24868 14.1884 8.03999C14.0686 7.00877 13.2506 6.20012 12.2222 6.09641C12.1065 6.08475 11.8771 6.08525 11.7605 6.09741Z", fill: config.style.color.iconPrimary }) })), (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__location__text__wrapper" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__location__text__header" }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__top__date__day" }, { children: config.text.shipsFromLabel })) })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__status__date__content" }, { children: formatAddress(shipment.origin) }))] }))] }))), shipment.destination && ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__location__item" }, { children: [(0, jsx_runtime_1.jsx)("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.6545 0.212093C10.0285 0.277632 8.45344 0.840471 7.14725 1.82269C6.64673 2.19908 6.16259 2.66223 5.75607 3.15359C4.57861 4.57675 3.91704 6.41416 3.91687 8.2617C3.9167 10.0106 5.03372 12.9106 7.32097 17.0994C8.29574 18.8846 9.50182 20.9201 10.7612 22.9056C11.0118 23.3007 11.0523 23.3575 11.15 23.4511C11.3223 23.6164 11.5418 23.73 11.7772 23.7758C11.8898 23.7977 12.1103 23.7977 12.2229 23.7758C12.4566 23.7303 12.6769 23.6168 12.8474 23.454C12.9467 23.3591 12.9798 23.3128 13.2295 22.9199C14.3764 21.1152 15.5885 19.0784 16.5143 17.4C18.6669 13.4975 19.8454 10.641 20.0492 8.83199C20.0967 8.4102 20.092 7.94252 20.0348 7.40639C19.8826 5.97867 19.338 4.59831 18.4715 3.44373C18.0817 2.92428 17.6025 2.42594 17.0929 2.00995C16.0322 1.14425 14.733 0.553364 13.3825 0.322455C12.8067 0.224016 12.2464 0.188227 11.6545 0.212093ZM11.5061 1.69517C10.4115 1.78027 9.37908 2.1223 8.45765 2.70509C7.668 3.20453 6.93875 3.93035 6.43475 4.71845C5.90998 5.53904 5.57394 6.45728 5.44803 7.41464C5.39709 7.80194 5.37736 8.33101 5.40392 8.59679C5.558 10.1383 6.64765 12.7918 8.58523 16.344C9.29046 17.6369 10.1355 19.0922 11.024 20.544C11.5111 21.3399 11.9875 22.0992 11.9998 22.0992C12.0163 22.0992 12.7806 20.871 13.3172 19.9824C16.3487 14.9624 18.2047 11.0422 18.5521 8.92546C18.5951 8.66375 18.6072 8.50937 18.6063 8.23199C18.6026 6.99368 18.242 5.77655 17.5654 4.71845C17.0616 3.93074 16.3331 3.20565 15.5425 2.70517C14.6148 2.11789 13.5841 1.77834 12.4753 1.69462C12.2406 1.67691 11.7373 1.6772 11.5061 1.69517ZM11.8273 4.61888C10.7362 4.66386 9.7063 5.21285 9.04803 6.10026C8.76152 6.4865 8.56236 6.90406 8.44338 7.36799C8.37607 7.63043 8.34933 7.80522 8.33226 8.09453C8.31509 8.38522 8.3379 8.70955 8.39626 9.00479C8.69014 10.4916 9.88912 11.6582 11.3809 11.9087C11.6099 11.9472 11.7333 11.9568 12.0001 11.9568C12.2668 11.9568 12.3902 11.9472 12.6193 11.9087C14.1102 11.6583 15.3121 10.4889 15.604 9.00476C15.7403 8.31169 15.6729 7.57052 15.4153 6.93119C15.0728 6.08074 14.4552 5.40961 13.6369 4.99847C13.19 4.77398 12.6706 4.63768 12.2017 4.62185C12.1198 4.61909 12.0399 4.61573 12.0241 4.61438C12.0082 4.61305 11.9197 4.61507 11.8273 4.61888ZM11.7605 6.09741C11.2731 6.14831 10.7989 6.37645 10.4451 6.73028C10.1157 7.05968 9.91081 7.4563 9.82556 7.92959C9.80344 8.05238 9.79536 8.38481 9.81106 8.52687C9.85798 8.95181 10.0364 9.37132 10.3082 9.69599C10.662 10.1185 11.1466 10.3882 11.6977 10.4694C11.8548 10.4925 12.1453 10.4925 12.3025 10.4694C12.9346 10.3763 13.4818 10.032 13.835 9.50516C13.9687 9.30577 14.0973 9.00469 14.1496 8.76893C14.1961 8.55936 14.2126 8.24868 14.1884 8.03999C14.0686 7.00877 13.2506 6.20012 12.2222 6.09641C12.1065 6.08475 11.8771 6.08525 11.7605 6.09741Z", fill: config.style.color.iconPrimary }) })), (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__location__text__wrapper" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__location__text__header" }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__top__date__day" }, { children: config.text.shipsToLabel })) })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__status__date__content" }, { children: formatAddress(shipment.destination) }))] }))] })))] })) })));
return ((0, jsx_runtime_1.jsx)("div", { class: "artajas__tracking__location__wrapper", children: (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__location", children: [shipment.origin && ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__location__item", children: [(0, jsx_runtime_1.jsx)("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.6545 0.212093C10.0285 0.277632 8.45344 0.840471 7.14725 1.82269C6.64673 2.19908 6.16259 2.66223 5.75607 3.15359C4.57861 4.57675 3.91704 6.41416 3.91687 8.2617C3.9167 10.0106 5.03372 12.9106 7.32097 17.0994C8.29574 18.8846 9.50182 20.9201 10.7612 22.9056C11.0118 23.3007 11.0523 23.3575 11.15 23.4511C11.3223 23.6164 11.5418 23.73 11.7772 23.7758C11.8898 23.7977 12.1103 23.7977 12.2229 23.7758C12.4566 23.7303 12.6769 23.6168 12.8474 23.454C12.9467 23.3591 12.9798 23.3128 13.2295 22.9199C14.3764 21.1152 15.5885 19.0784 16.5143 17.4C18.6669 13.4975 19.8454 10.641 20.0492 8.83199C20.0967 8.4102 20.092 7.94252 20.0348 7.40639C19.8826 5.97867 19.338 4.59831 18.4715 3.44373C18.0817 2.92428 17.6025 2.42594 17.0929 2.00995C16.0322 1.14425 14.733 0.553364 13.3825 0.322455C12.8067 0.224016 12.2464 0.188227 11.6545 0.212093ZM11.5061 1.69517C10.4115 1.78027 9.37908 2.1223 8.45765 2.70509C7.668 3.20453 6.93875 3.93035 6.43475 4.71845C5.90998 5.53904 5.57394 6.45728 5.44803 7.41464C5.39709 7.80194 5.37736 8.33101 5.40392 8.59679C5.558 10.1383 6.64765 12.7918 8.58523 16.344C9.29046 17.6369 10.1355 19.0922 11.024 20.544C11.5111 21.3399 11.9875 22.0992 11.9998 22.0992C12.0163 22.0992 12.7806 20.871 13.3172 19.9824C16.3487 14.9624 18.2047 11.0422 18.5521 8.92546C18.5951 8.66375 18.6072 8.50937 18.6063 8.23199C18.6026 6.99368 18.242 5.77655 17.5654 4.71845C17.0616 3.93074 16.3331 3.20565 15.5425 2.70517C14.6148 2.11789 13.5841 1.77834 12.4753 1.69462C12.2406 1.67691 11.7373 1.6772 11.5061 1.69517ZM11.8273 4.61888C10.7362 4.66386 9.7063 5.21285 9.04803 6.10026C8.76152 6.4865 8.56236 6.90406 8.44338 7.36799C8.37607 7.63043 8.34933 7.80522 8.33226 8.09453C8.31509 8.38522 8.3379 8.70955 8.39626 9.00479C8.69014 10.4916 9.88912 11.6582 11.3809 11.9087C11.6099 11.9472 11.7333 11.9568 12.0001 11.9568C12.2668 11.9568 12.3902 11.9472 12.6193 11.9087C14.1102 11.6583 15.3121 10.4889 15.604 9.00476C15.7403 8.31169 15.6729 7.57052 15.4153 6.93119C15.0728 6.08074 14.4552 5.40961 13.6369 4.99847C13.19 4.77398 12.6706 4.63768 12.2017 4.62185C12.1198 4.61909 12.0399 4.61573 12.0241 4.61438C12.0082 4.61305 11.9197 4.61507 11.8273 4.61888ZM11.7605 6.09741C11.2731 6.14831 10.7989 6.37645 10.4451 6.73028C10.1157 7.05968 9.91081 7.4563 9.82556 7.92959C9.80344 8.05238 9.79536 8.38481 9.81106 8.52687C9.85798 8.95181 10.0364 9.37132 10.3082 9.69599C10.662 10.1185 11.1466 10.3882 11.6977 10.4694C11.8548 10.4925 12.1453 10.4925 12.3025 10.4694C12.9346 10.3763 13.4818 10.032 13.835 9.50516C13.9687 9.30577 14.0973 9.00469 14.1496 8.76893C14.1961 8.55936 14.2126 8.24868 14.1884 8.03999C14.0686 7.00877 13.2506 6.20012 12.2222 6.09641C12.1065 6.08475 11.8771 6.08525 11.7605 6.09741Z", fill: config.style.color.iconPrimary }) }), (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__location__text__wrapper", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__location__text__header", children: (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__location__text__header__label", children: config.text.shipsFromLabel }) }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__location__text__content", children: formatAddress(shipment.origin) })] })] })), shipment.destination && ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__location__item", children: [(0, jsx_runtime_1.jsx)("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.6545 0.212093C10.0285 0.277632 8.45344 0.840471 7.14725 1.82269C6.64673 2.19908 6.16259 2.66223 5.75607 3.15359C4.57861 4.57675 3.91704 6.41416 3.91687 8.2617C3.9167 10.0106 5.03372 12.9106 7.32097 17.0994C8.29574 18.8846 9.50182 20.9201 10.7612 22.9056C11.0118 23.3007 11.0523 23.3575 11.15 23.4511C11.3223 23.6164 11.5418 23.73 11.7772 23.7758C11.8898 23.7977 12.1103 23.7977 12.2229 23.7758C12.4566 23.7303 12.6769 23.6168 12.8474 23.454C12.9467 23.3591 12.9798 23.3128 13.2295 22.9199C14.3764 21.1152 15.5885 19.0784 16.5143 17.4C18.6669 13.4975 19.8454 10.641 20.0492 8.83199C20.0967 8.4102 20.092 7.94252 20.0348 7.40639C19.8826 5.97867 19.338 4.59831 18.4715 3.44373C18.0817 2.92428 17.6025 2.42594 17.0929 2.00995C16.0322 1.14425 14.733 0.553364 13.3825 0.322455C12.8067 0.224016 12.2464 0.188227 11.6545 0.212093ZM11.5061 1.69517C10.4115 1.78027 9.37908 2.1223 8.45765 2.70509C7.668 3.20453 6.93875 3.93035 6.43475 4.71845C5.90998 5.53904 5.57394 6.45728 5.44803 7.41464C5.39709 7.80194 5.37736 8.33101 5.40392 8.59679C5.558 10.1383 6.64765 12.7918 8.58523 16.344C9.29046 17.6369 10.1355 19.0922 11.024 20.544C11.5111 21.3399 11.9875 22.0992 11.9998 22.0992C12.0163 22.0992 12.7806 20.871 13.3172 19.9824C16.3487 14.9624 18.2047 11.0422 18.5521 8.92546C18.5951 8.66375 18.6072 8.50937 18.6063 8.23199C18.6026 6.99368 18.242 5.77655 17.5654 4.71845C17.0616 3.93074 16.3331 3.20565 15.5425 2.70517C14.6148 2.11789 13.5841 1.77834 12.4753 1.69462C12.2406 1.67691 11.7373 1.6772 11.5061 1.69517ZM11.8273 4.61888C10.7362 4.66386 9.7063 5.21285 9.04803 6.10026C8.76152 6.4865 8.56236 6.90406 8.44338 7.36799C8.37607 7.63043 8.34933 7.80522 8.33226 8.09453C8.31509 8.38522 8.3379 8.70955 8.39626 9.00479C8.69014 10.4916 9.88912 11.6582 11.3809 11.9087C11.6099 11.9472 11.7333 11.9568 12.0001 11.9568C12.2668 11.9568 12.3902 11.9472 12.6193 11.9087C14.1102 11.6583 15.3121 10.4889 15.604 9.00476C15.7403 8.31169 15.6729 7.57052 15.4153 6.93119C15.0728 6.08074 14.4552 5.40961 13.6369 4.99847C13.19 4.77398 12.6706 4.63768 12.2017 4.62185C12.1198 4.61909 12.0399 4.61573 12.0241 4.61438C12.0082 4.61305 11.9197 4.61507 11.8273 4.61888ZM11.7605 6.09741C11.2731 6.14831 10.7989 6.37645 10.4451 6.73028C10.1157 7.05968 9.91081 7.4563 9.82556 7.92959C9.80344 8.05238 9.79536 8.38481 9.81106 8.52687C9.85798 8.95181 10.0364 9.37132 10.3082 9.69599C10.662 10.1185 11.1466 10.3882 11.6977 10.4694C11.8548 10.4925 12.1453 10.4925 12.3025 10.4694C12.9346 10.3763 13.4818 10.032 13.835 9.50516C13.9687 9.30577 14.0973 9.00469 14.1496 8.76893C14.1961 8.55936 14.2126 8.24868 14.1884 8.03999C14.0686 7.00877 13.2506 6.20012 12.2222 6.09641C12.1065 6.08475 11.8771 6.08525 11.7605 6.09741Z", fill: config.style.color.iconPrimary }) }), (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__location__text__wrapper", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__location__text__header", children: (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__location__text__header__label", children: config.text.shipsToLabel }) }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__location__text__content", children: formatAddress(shipment.destination) })] })] }))] }) }));
};
exports.ShipToFrom = ShipToFrom;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,4 +7,4 @@ exports.Summary = void 0;

var config = _a.config, shipment = _a.shipment;
return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__summary__wrapper" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__summary__content" }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__summary__title" }, { children: shipment.shortcode })) })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__summary__date" }, { children: "".concat(config.text.bookedLabel).concat(new Date(shipment.created_at).toLocaleString()) }))] })));
return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__summary__wrapper", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__summary__content", children: (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__summary__title", children: shipment.shortcode }) }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__summary__date", children: "".concat(config.text.bookedLabel).concat(new Date(shipment.created_at).toLocaleString()) })] }));
};
exports.Summary = Summary;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -24,4 +13,4 @@ exports.CheckedStep = void 0;

: '';
return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__step" }, { children: [(0, jsx_runtime_1.jsx)("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, { children: (0, jsx_runtime_1.jsx)("circle", { cx: "12", cy: "12", r: "6", fill: config.style.color.iconPrimary }) })), (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__status__text__wrapper" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__step__text__primary" }, { children: text })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__status__date" }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__status__date__secondary" }, { children: finalDate })) }))] }))] })));
return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__step", children: [(0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: (0, jsx_runtime_1.jsx)("circle", { cx: "12", cy: "12", r: "6", fill: config.style.color.iconPrimary }) }), (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__status__text__wrapper", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__step__text__primary", children: text }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__status__date", children: (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__status__date__secondary", children: finalDate }) })] })] }));
};
exports.CheckedStep = CheckedStep;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,4 +7,4 @@ exports.CheckedSteps = void 0;

var config = _a.config;
return ((0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__triple__dots" }, { children: (0, jsx_runtime_1.jsxs)("svg", __assign({ width: "29", height: "26", viewBox: "0 0 29 26", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("circle", { cx: "2.33325", cy: "24", r: "2", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("circle", { cx: "10.3333", cy: "24", r: "2", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("circle", { cx: "18.3333", cy: "24", r: "2", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("circle", { cx: "26.3333", cy: "24", r: "2", fill: config.style.color.iconPrimary })] })) })));
return ((0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__triple__dots", children: (0, jsx_runtime_1.jsxs)("svg", { width: "29", height: "26", viewBox: "0 0 29 26", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("circle", { cx: "2.33325", cy: "24", r: "2", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("circle", { cx: "10.3333", cy: "24", r: "2", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("circle", { cx: "18.3333", cy: "24", r: "2", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("circle", { cx: "26.3333", cy: "24", r: "2", fill: config.style.color.iconPrimary })] }) }));
};
exports.CheckedSteps = CheckedSteps;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -19,4 +8,4 @@ exports.CancelledIcon = void 0;

var config = _a.config;
return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__default__step__icon" }, { children: [(0, jsx_runtime_1.jsx)(CancelledIconBase_1.CancelledIconBase, { config: config }), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__status__text__large" }, { children: config.text.cancelledLabel }))] })));
return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__default__step__icon", children: [(0, jsx_runtime_1.jsx)(CancelledIconBase_1.CancelledIconBase, { config: config }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__status__text__large", children: config.text.cancelledLabel })] }));
};
exports.CancelledIcon = CancelledIcon;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -20,4 +9,4 @@ exports.CollectedIcon = void 0;

var config = _a.config, shipment = _a.shipment;
return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__default__step__icon" }, { children: [(0, jsx_runtime_1.jsx)(CollectedIconBase_1.CollectedIconBase, { config: config }), (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__status__text__wrapper" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__status__text__large" }, { children: config.text.collectedLabel })), (0, jsx_runtime_1.jsx)(SimpleDate_1.SimpleDate, { date: shipment.collected_at, dateConfig: config.text.dates })] }))] })));
return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__default__step__icon", children: [(0, jsx_runtime_1.jsx)(CollectedIconBase_1.CollectedIconBase, { config: config }), (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__status__text__wrapper", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__status__text__large", children: config.text.collectedLabel }), (0, jsx_runtime_1.jsx)(SimpleDate_1.SimpleDate, { date: shipment.collected_at, dateConfig: config.text.dates })] })] }));
};
exports.CollectedIcon = CollectedIcon;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -20,4 +9,4 @@ exports.CompletedIcon = void 0;

var config = _a.config, shipment = _a.shipment;
return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__default__step__icon" }, { children: [(0, jsx_runtime_1.jsx)(CompletedIconBase_1.CompletedIconBase, { config: config }), (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__status__text__wrapper" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__status__text__large" }, { children: config.text.completedLabel })), (0, jsx_runtime_1.jsx)(SimpleDate_1.SimpleDate, { date: shipment.completed_at, dateConfig: config.text.dates })] }))] })));
return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__default__step__icon", children: [(0, jsx_runtime_1.jsx)(CompletedIconBase_1.CompletedIconBase, { config: config }), (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__status__text__wrapper", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__status__text__large", children: config.text.completedLabel }), (0, jsx_runtime_1.jsx)(SimpleDate_1.SimpleDate, { date: shipment.completed_at, dateConfig: config.text.dates })] })] }));
};
exports.CompletedIcon = CompletedIcon;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -20,4 +9,4 @@ exports.ConfirmedIcon = void 0;

var config = _a.config, shipment = _a.shipment;
return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__default__step__icon" }, { children: [(0, jsx_runtime_1.jsx)(ConfirmedIconBase_1.ConfirmedIconBase, { config: config }), (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__status__text__wrapper" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__status__text__large" }, { children: config.text.confirmedLabel })), (0, jsx_runtime_1.jsx)(SimpleDate_1.SimpleDate, { date: shipment.confirmed_at, dateConfig: config.text.dates })] }))] })));
return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__default__step__icon", children: [(0, jsx_runtime_1.jsx)(ConfirmedIconBase_1.ConfirmedIconBase, { config: config }), (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__status__text__wrapper", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__status__text__large", children: config.text.confirmedLabel }), (0, jsx_runtime_1.jsx)(SimpleDate_1.SimpleDate, { date: shipment.confirmed_at, dateConfig: config.text.dates })] })] }));
};
exports.ConfirmedIcon = ConfirmedIcon;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -20,4 +9,4 @@ exports.InTransitIcon = void 0;

var config = _a.config, shipment = _a.shipment;
return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__default__step__icon" }, { children: [(0, jsx_runtime_1.jsx)(InTransitIconBase_1.InTransitIconBase, { config: config }), (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__status__text__wrapper" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__status__text__large" }, { children: config.text.inTransitLabel })), (0, jsx_runtime_1.jsx)(SimpleDate_1.SimpleDate, { date: shipment.in_transit_at, dateConfig: config.text.dates })] }))] })));
return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__default__step__icon", children: [(0, jsx_runtime_1.jsx)(InTransitIconBase_1.InTransitIconBase, { config: config }), (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__status__text__wrapper", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__status__text__large", children: config.text.inTransitLabel }), (0, jsx_runtime_1.jsx)(SimpleDate_1.SimpleDate, { date: shipment.in_transit_at, dateConfig: config.text.dates })] })] }));
};
exports.InTransitIcon = InTransitIcon;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -19,4 +8,4 @@ exports.PendingIcon = void 0;

var config = _a.config;
return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__default__step__icon" }, { children: [(0, jsx_runtime_1.jsx)(PendingIconBase_1.PendingIconBase, { config: config }), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__status__text__large" }, { children: config.text.pendingLabel }))] })));
return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__default__step__icon", children: [(0, jsx_runtime_1.jsx)(PendingIconBase_1.PendingIconBase, { config: config }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__status__text__large", children: config.text.pendingLabel })] }));
};
exports.PendingIcon = PendingIcon;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,4 +7,4 @@ exports.EmptyStep = void 0;

var stroke = _a.stroke, text = _a.text;
return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__step" }, { children: [(0, jsx_runtime_1.jsx)("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, { children: (0, jsx_runtime_1.jsx)("circle", { cx: "12", cy: "12", r: "5.5", fill: "none", stroke: stroke, "stroke-width": "2" }) })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__step__text__secondary" }, { children: text }))] })));
return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__step", children: [(0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: (0, jsx_runtime_1.jsx)("circle", { cx: "12", cy: "12", r: "5.5", fill: "none", stroke: stroke, "stroke-width": "2" }) }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__step__text__secondary", children: text })] }));
};
exports.EmptyStep = EmptyStep;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,4 +7,4 @@ exports.CancelledIconBase = void 0;

var config = _a.config;
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24Z", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M15.565 15.0418C15.4496 15.0828 15.3661 15.1348 15.2636 15.2295C14.9851 15.4868 14.9213 15.8841 15.1007 16.2436C15.132 16.3062 16.2367 17.4241 18.9766 20.1655L22.8088 23.9999L18.9766 27.8342C16.2367 30.5757 15.132 31.6936 15.1007 31.7562C14.96 32.0381 14.9689 32.3795 15.1228 32.6042C15.3873 32.9903 15.8268 33.1057 16.2427 32.8981C16.3053 32.8669 17.4232 31.7621 20.1646 29.0223L23.999 25.1901L27.8334 29.0223C30.5748 31.7621 31.6927 32.8669 31.7553 32.8981C32.0484 33.0444 32.3791 33.0304 32.6222 32.8615C32.9921 32.6046 33.1014 32.1653 32.8973 31.7562C32.866 31.6936 31.7613 30.5757 29.0214 27.8342L25.1892 23.9999L29.0214 20.1655C31.7613 17.4241 32.866 16.3062 32.8973 16.2436C33.0435 15.9505 33.0295 15.6198 32.8606 15.3767C32.6037 15.0068 32.1644 14.8975 31.7553 15.1016C31.6927 15.1329 30.5748 16.2376 27.8334 18.9775L23.999 22.8096L20.1646 18.9775C17.4232 16.2376 16.3053 15.1329 16.2427 15.1016C16.0275 14.9942 15.7642 14.971 15.565 15.0418Z", fill: config.style.color.iconSecondary })] })));
return ((0, jsx_runtime_1.jsxs)("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("path", { d: "M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24Z", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M15.565 15.0418C15.4496 15.0828 15.3661 15.1348 15.2636 15.2295C14.9851 15.4868 14.9213 15.8841 15.1007 16.2436C15.132 16.3062 16.2367 17.4241 18.9766 20.1655L22.8088 23.9999L18.9766 27.8342C16.2367 30.5757 15.132 31.6936 15.1007 31.7562C14.96 32.0381 14.9689 32.3795 15.1228 32.6042C15.3873 32.9903 15.8268 33.1057 16.2427 32.8981C16.3053 32.8669 17.4232 31.7621 20.1646 29.0223L23.999 25.1901L27.8334 29.0223C30.5748 31.7621 31.6927 32.8669 31.7553 32.8981C32.0484 33.0444 32.3791 33.0304 32.6222 32.8615C32.9921 32.6046 33.1014 32.1653 32.8973 31.7562C32.866 31.6936 31.7613 30.5757 29.0214 27.8342L25.1892 23.9999L29.0214 20.1655C31.7613 17.4241 32.866 16.3062 32.8973 16.2436C33.0435 15.9505 33.0295 15.6198 32.8606 15.3767C32.6037 15.0068 32.1644 14.8975 31.7553 15.1016C31.6927 15.1329 30.5748 16.2376 27.8334 18.9775L23.999 22.8096L20.1646 18.9775C17.4232 16.2376 16.3053 15.1329 16.2427 15.1016C16.0275 14.9942 15.7642 14.971 15.565 15.0418Z", fill: config.style.color.iconSecondary })] }));
};
exports.CancelledIconBase = CancelledIconBase;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,4 +7,4 @@ exports.CollectedIconBase = void 0;

var config = _a.config;
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24Z", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M27.6167 12.7334C27.5465 12.7558 27.0552 13.0677 26.3552 13.5341C25.1446 14.3406 25.095 14.3805 25.0042 14.6195C24.9596 14.737 24.9579 14.8247 24.9592 16.9905C24.9599 18.2274 24.9697 19.2714 24.9809 19.3105C25.0416 19.522 25.1997 19.7127 25.4037 19.8202C25.5087 19.8756 25.5521 19.8835 25.7517 19.8838C25.9429 19.8841 25.9981 19.8751 26.0942 19.8278C26.2301 19.7608 26.4074 19.59 26.4716 19.4642C26.5579 19.2952 26.5673 19.1082 26.5675 17.5651L26.5677 16.0621L28.56 16.8091L30.5523 17.5562L30.5454 23.6162C30.5377 30.4671 30.5596 29.7724 30.3369 30.2282C30.1986 30.5112 29.9983 30.7594 29.7705 30.93C29.6827 30.9958 28.4861 31.6744 27.1113 32.4381C25.6091 33.2725 24.5727 33.8624 24.514 33.9164C24.4603 33.9659 24.3847 34.0634 24.346 34.1332C24.2814 34.2499 24.2757 34.2796 24.2757 34.5002C24.2757 34.7735 24.3103 34.8657 24.4839 35.054C24.6702 35.2561 25.0186 35.3531 25.2731 35.2738C25.399 35.2345 30.2741 32.5307 30.5637 32.3395C31.337 31.829 31.8696 31.0344 32.0916 30.0602L32.1463 29.8202L32.1534 23.6256L32.1606 17.4311L33.0404 16.8456C33.5243 16.5236 33.9714 16.2093 34.0339 16.1471C34.1931 15.9886 34.2545 15.818 34.2435 15.5642C34.2333 15.3297 34.1722 15.191 34.0055 15.0243C33.81 14.8288 33.4913 14.7528 33.2133 14.8354C33.1513 14.8539 32.7238 15.122 32.1787 15.4844L31.2497 16.102L29.376 15.3994L27.5023 14.6967L27.9586 14.3926C28.3043 14.1622 28.4353 14.0608 28.4987 13.9743C28.7928 13.5735 28.6556 13.0089 28.2109 12.79C28.0231 12.6975 27.7963 12.6759 27.6167 12.7334ZM20.4957 19.0247C20.331 19.052 20.0555 19.1338 19.9135 19.1976C19.6251 19.327 15.0875 21.6517 14.9065 21.7628C14.6523 21.9188 14.4719 22.0765 14.2903 22.3014C14.0954 22.5428 13.8935 22.946 13.8182 23.2442L13.7637 23.4602V26.4362C13.7637 29.2485 13.7661 29.4227 13.8081 29.6042C13.9452 30.1958 14.3354 30.7671 14.8197 31.0851C15.0098 31.21 19.8121 33.6696 20.0157 33.7463C20.4832 33.9226 20.9909 33.9457 21.485 33.813C21.5869 33.7857 21.8191 33.6904 22.001 33.6014C22.8409 33.1904 26.7417 31.1825 26.8879 31.086C27.3914 30.7534 27.7627 30.2116 27.9032 29.6042C27.9452 29.4228 27.9477 29.2471 27.9477 26.4362V23.4602L27.8916 23.2442C27.7315 22.628 27.3364 22.0889 26.8066 21.764C26.6336 21.6578 21.9739 19.2707 21.7797 19.1887C21.6363 19.1282 21.4136 19.0626 21.2533 19.0338C21.1178 19.0094 20.6234 19.0035 20.4957 19.0247ZM20.7357 20.6154C20.6895 20.6254 20.6193 20.6465 20.5797 20.6624C20.46 20.7104 16.3682 22.8039 16.3562 22.8232C16.3439 22.8432 20.8043 25.1282 20.8556 25.1282C20.8734 25.1282 21.8965 24.6128 23.1292 23.9828C25.0701 22.991 25.3649 22.8334 25.3289 22.8072C25.2772 22.7694 21.2351 20.7058 21.1193 20.6581C21.0067 20.6117 20.8389 20.593 20.7357 20.6154ZM15.3652 26.7171L15.3717 29.2922L15.4366 29.4242C15.5663 29.6881 15.5326 29.6681 17.8455 30.85C19.0213 31.4509 20.0015 31.9494 20.0236 31.9579C20.0612 31.9723 20.0635 31.7913 20.0578 29.2571L20.0517 26.5408L18.5037 25.7494C17.6523 25.3141 16.5964 24.7743 16.1572 24.55L15.3588 24.142L15.3652 26.7171ZM23.9997 25.3438L21.6597 26.54L21.6536 29.2567C21.6481 31.7039 21.6512 31.972 21.6847 31.9591C21.7052 31.9512 22.6854 31.4525 23.8628 30.8509C26.1778 29.668 26.1454 29.6871 26.2747 29.4242L26.3397 29.2922L26.3462 27.2162C26.3498 26.0744 26.3498 24.9168 26.3462 24.6439L26.3397 24.1476L23.9997 25.3438Z", fill: config.style.color.iconSecondary })] })));
return ((0, jsx_runtime_1.jsxs)("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("path", { d: "M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24Z", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M27.6167 12.7334C27.5465 12.7558 27.0552 13.0677 26.3552 13.5341C25.1446 14.3406 25.095 14.3805 25.0042 14.6195C24.9596 14.737 24.9579 14.8247 24.9592 16.9905C24.9599 18.2274 24.9697 19.2714 24.9809 19.3105C25.0416 19.522 25.1997 19.7127 25.4037 19.8202C25.5087 19.8756 25.5521 19.8835 25.7517 19.8838C25.9429 19.8841 25.9981 19.8751 26.0942 19.8278C26.2301 19.7608 26.4074 19.59 26.4716 19.4642C26.5579 19.2952 26.5673 19.1082 26.5675 17.5651L26.5677 16.0621L28.56 16.8091L30.5523 17.5562L30.5454 23.6162C30.5377 30.4671 30.5596 29.7724 30.3369 30.2282C30.1986 30.5112 29.9983 30.7594 29.7705 30.93C29.6827 30.9958 28.4861 31.6744 27.1113 32.4381C25.6091 33.2725 24.5727 33.8624 24.514 33.9164C24.4603 33.9659 24.3847 34.0634 24.346 34.1332C24.2814 34.2499 24.2757 34.2796 24.2757 34.5002C24.2757 34.7735 24.3103 34.8657 24.4839 35.054C24.6702 35.2561 25.0186 35.3531 25.2731 35.2738C25.399 35.2345 30.2741 32.5307 30.5637 32.3395C31.337 31.829 31.8696 31.0344 32.0916 30.0602L32.1463 29.8202L32.1534 23.6256L32.1606 17.4311L33.0404 16.8456C33.5243 16.5236 33.9714 16.2093 34.0339 16.1471C34.1931 15.9886 34.2545 15.818 34.2435 15.5642C34.2333 15.3297 34.1722 15.191 34.0055 15.0243C33.81 14.8288 33.4913 14.7528 33.2133 14.8354C33.1513 14.8539 32.7238 15.122 32.1787 15.4844L31.2497 16.102L29.376 15.3994L27.5023 14.6967L27.9586 14.3926C28.3043 14.1622 28.4353 14.0608 28.4987 13.9743C28.7928 13.5735 28.6556 13.0089 28.2109 12.79C28.0231 12.6975 27.7963 12.6759 27.6167 12.7334ZM20.4957 19.0247C20.331 19.052 20.0555 19.1338 19.9135 19.1976C19.6251 19.327 15.0875 21.6517 14.9065 21.7628C14.6523 21.9188 14.4719 22.0765 14.2903 22.3014C14.0954 22.5428 13.8935 22.946 13.8182 23.2442L13.7637 23.4602V26.4362C13.7637 29.2485 13.7661 29.4227 13.8081 29.6042C13.9452 30.1958 14.3354 30.7671 14.8197 31.0851C15.0098 31.21 19.8121 33.6696 20.0157 33.7463C20.4832 33.9226 20.9909 33.9457 21.485 33.813C21.5869 33.7857 21.8191 33.6904 22.001 33.6014C22.8409 33.1904 26.7417 31.1825 26.8879 31.086C27.3914 30.7534 27.7627 30.2116 27.9032 29.6042C27.9452 29.4228 27.9477 29.2471 27.9477 26.4362V23.4602L27.8916 23.2442C27.7315 22.628 27.3364 22.0889 26.8066 21.764C26.6336 21.6578 21.9739 19.2707 21.7797 19.1887C21.6363 19.1282 21.4136 19.0626 21.2533 19.0338C21.1178 19.0094 20.6234 19.0035 20.4957 19.0247ZM20.7357 20.6154C20.6895 20.6254 20.6193 20.6465 20.5797 20.6624C20.46 20.7104 16.3682 22.8039 16.3562 22.8232C16.3439 22.8432 20.8043 25.1282 20.8556 25.1282C20.8734 25.1282 21.8965 24.6128 23.1292 23.9828C25.0701 22.991 25.3649 22.8334 25.3289 22.8072C25.2772 22.7694 21.2351 20.7058 21.1193 20.6581C21.0067 20.6117 20.8389 20.593 20.7357 20.6154ZM15.3652 26.7171L15.3717 29.2922L15.4366 29.4242C15.5663 29.6881 15.5326 29.6681 17.8455 30.85C19.0213 31.4509 20.0015 31.9494 20.0236 31.9579C20.0612 31.9723 20.0635 31.7913 20.0578 29.2571L20.0517 26.5408L18.5037 25.7494C17.6523 25.3141 16.5964 24.7743 16.1572 24.55L15.3588 24.142L15.3652 26.7171ZM23.9997 25.3438L21.6597 26.54L21.6536 29.2567C21.6481 31.7039 21.6512 31.972 21.6847 31.9591C21.7052 31.9512 22.6854 31.4525 23.8628 30.8509C26.1778 29.668 26.1454 29.6871 26.2747 29.4242L26.3397 29.2922L26.3462 27.2162C26.3498 26.0744 26.3498 24.9168 26.3462 24.6439L26.3397 24.1476L23.9997 25.3438Z", fill: config.style.color.iconSecondary })] }));
};
exports.CollectedIconBase = CollectedIconBase;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,4 +7,4 @@ exports.CompletedIconBase = void 0;

var config = _a.config;
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24Z", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("g", __assign({ "clip-path": "url(#clip0_1160_7468)" }, { children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M16.8957 12.0339C16.3786 12.1302 15.89 12.418 15.569 12.8154C15.4888 12.9147 14.7927 13.9409 14.0223 15.0959C13.2518 16.2509 12.5627 17.2661 12.4909 17.3519C12.3261 17.5487 12.1344 17.927 12.0651 18.1919L12.0117 18.3959V23.9999V29.6039L12.064 29.7999C12.2857 30.6297 12.934 31.2566 13.7757 31.4548C13.9419 31.494 14.1946 31.4979 17.0756 31.5055C19.1721 31.5111 20.2487 31.5055 20.3576 31.4886C20.7374 31.4297 21.0001 31.1224 20.9995 30.7376C20.9991 30.4697 20.8357 30.2122 20.5797 30.0758L20.4597 30.0119L17.2677 29.9999L14.0757 29.9879L13.9492 29.9307C13.7904 29.8589 13.6027 29.6584 13.5503 29.5045C13.5153 29.4019 13.5117 28.8876 13.5117 23.9999C13.5117 19.1122 13.5153 18.5979 13.5503 18.4953C13.6027 18.3414 13.7904 18.1409 13.9492 18.0691L14.0757 18.0119L21.6597 18.0048C27.1488 17.9998 29.2835 18.0052 29.3877 18.0245C29.6689 18.0766 29.9025 18.2981 29.9675 18.5743C29.9903 18.671 29.9991 18.9431 29.9996 19.5599L30.0002 20.4119L30.0614 20.5439C30.1891 20.8196 30.4564 20.9999 30.7375 20.9999C31.1275 20.9999 31.4294 20.738 31.4901 20.3471C31.5314 20.0809 31.5045 18.4937 31.455 18.279C31.3715 17.9167 31.2257 17.6208 30.9789 17.3133C30.8861 17.1976 30.1724 16.1464 29.3931 14.9774C28.1942 13.179 27.9481 12.8238 27.7939 12.6692C27.5087 12.3831 27.1691 12.1844 26.7621 12.0653L26.5797 12.012L21.8157 12.0084C18.1764 12.0057 17.0149 12.0117 16.8957 12.0339ZM17.0268 13.5501C16.9735 13.569 16.8888 13.6184 16.8385 13.6599C16.7801 13.708 16.418 14.2286 15.8374 15.0994C15.3371 15.8497 14.9277 16.4691 14.9277 16.4757C14.9277 16.4824 16.2939 16.4879 17.9637 16.4879H20.9997V14.9999V13.5119L19.0617 13.5138C17.4436 13.5154 17.1077 13.5214 17.0268 13.5501ZM22.5117 14.9999V16.4879H25.5478H28.5839L27.6931 15.1499C27.2031 14.414 26.7579 13.7659 26.7037 13.7097C26.6434 13.6471 26.5558 13.5889 26.4776 13.5597C26.354 13.5134 26.2881 13.5119 24.4308 13.5119H22.5117V14.9999ZM28.9677 22.5041C27.2555 22.5807 25.6842 23.2715 24.4777 24.4779C23.1107 25.8449 22.4025 27.6958 22.5118 29.6159C22.5704 30.6458 22.833 31.5835 23.3081 32.4595C24.2563 34.2077 25.9676 35.4788 27.8922 35.8643C28.4265 35.9714 28.6121 35.9878 29.2677 35.9862C29.9243 35.9846 30.2894 35.947 30.7803 35.8304C32.6657 35.3826 34.259 34.1697 35.1763 32.4839C35.5849 31.7329 35.8127 31.0415 35.9433 30.1559C35.9969 29.7926 36.004 28.763 35.9553 28.4159C35.7435 26.9058 35.1298 25.6259 34.1157 24.5794C33.7346 24.1861 33.4187 23.918 33.0237 23.653C32.1763 23.0843 31.225 22.7132 30.2517 22.5716C30.0026 22.5353 29.3143 22.4849 29.1837 22.4933C29.1507 22.4954 29.0535 22.5003 28.9677 22.5041ZM28.8717 24.0164C26.416 24.2018 24.4157 26.0615 24.0613 28.4885C24.0052 28.8727 23.9902 29.3247 24.0219 29.6759C24.2146 31.8147 25.6316 33.5971 27.6541 34.2449C29.1525 34.7248 30.8311 34.4928 32.1402 33.6249C33.6143 32.6476 34.4877 31.0217 34.4877 29.2549C34.4877 27.4616 33.6194 25.8545 32.1117 24.8571C31.1901 24.2475 29.9779 23.9329 28.8717 24.0164ZM31.6729 26.7944C31.623 26.8122 31.5436 26.8522 31.4964 26.8833C31.4399 26.9207 30.9083 27.6095 29.934 28.9079C29.1218 29.9903 28.4478 30.8863 28.4362 30.8991C28.4232 30.9132 28.1058 30.6142 27.6174 30.1276C27.102 29.6141 26.7815 29.3129 26.7117 29.2766C26.5567 29.1958 26.2192 29.195 26.0686 29.2751C25.9099 29.3596 25.7837 29.4868 25.7105 29.636C25.6544 29.7506 25.644 29.8021 25.6444 29.9639C25.6452 30.2746 25.654 30.2866 26.543 31.1839C26.9724 31.6173 27.3885 32.0236 27.4677 32.0868C27.7584 32.3188 28.0527 32.4232 28.4157 32.4232C28.6632 32.4232 28.8679 32.3777 29.0754 32.2765C29.406 32.1153 29.4028 32.119 31.0233 29.9637C31.8569 28.855 32.5678 27.8902 32.6031 27.8198C32.6555 27.7152 32.6671 27.6595 32.6664 27.517C32.6647 27.204 32.5223 26.9689 32.2525 26.8341C32.1274 26.7716 32.0773 26.7601 31.9339 26.761C31.8403 26.7615 31.7229 26.7766 31.6729 26.7944Z", fill: config.style.color.iconSecondary }) })), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", __assign({ id: "clip0_1160_7468" }, { children: (0, jsx_runtime_1.jsx)("rect", { width: "24", height: "24", fill: config.style.color.iconSecondary, transform: "translate(12 12)" }) })) })] })));
return ((0, jsx_runtime_1.jsxs)("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("path", { d: "M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24Z", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("g", { "clip-path": "url(#clip0_1160_7468)", children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M16.8957 12.0339C16.3786 12.1302 15.89 12.418 15.569 12.8154C15.4888 12.9147 14.7927 13.9409 14.0223 15.0959C13.2518 16.2509 12.5627 17.2661 12.4909 17.3519C12.3261 17.5487 12.1344 17.927 12.0651 18.1919L12.0117 18.3959V23.9999V29.6039L12.064 29.7999C12.2857 30.6297 12.934 31.2566 13.7757 31.4548C13.9419 31.494 14.1946 31.4979 17.0756 31.5055C19.1721 31.5111 20.2487 31.5055 20.3576 31.4886C20.7374 31.4297 21.0001 31.1224 20.9995 30.7376C20.9991 30.4697 20.8357 30.2122 20.5797 30.0758L20.4597 30.0119L17.2677 29.9999L14.0757 29.9879L13.9492 29.9307C13.7904 29.8589 13.6027 29.6584 13.5503 29.5045C13.5153 29.4019 13.5117 28.8876 13.5117 23.9999C13.5117 19.1122 13.5153 18.5979 13.5503 18.4953C13.6027 18.3414 13.7904 18.1409 13.9492 18.0691L14.0757 18.0119L21.6597 18.0048C27.1488 17.9998 29.2835 18.0052 29.3877 18.0245C29.6689 18.0766 29.9025 18.2981 29.9675 18.5743C29.9903 18.671 29.9991 18.9431 29.9996 19.5599L30.0002 20.4119L30.0614 20.5439C30.1891 20.8196 30.4564 20.9999 30.7375 20.9999C31.1275 20.9999 31.4294 20.738 31.4901 20.3471C31.5314 20.0809 31.5045 18.4937 31.455 18.279C31.3715 17.9167 31.2257 17.6208 30.9789 17.3133C30.8861 17.1976 30.1724 16.1464 29.3931 14.9774C28.1942 13.179 27.9481 12.8238 27.7939 12.6692C27.5087 12.3831 27.1691 12.1844 26.7621 12.0653L26.5797 12.012L21.8157 12.0084C18.1764 12.0057 17.0149 12.0117 16.8957 12.0339ZM17.0268 13.5501C16.9735 13.569 16.8888 13.6184 16.8385 13.6599C16.7801 13.708 16.418 14.2286 15.8374 15.0994C15.3371 15.8497 14.9277 16.4691 14.9277 16.4757C14.9277 16.4824 16.2939 16.4879 17.9637 16.4879H20.9997V14.9999V13.5119L19.0617 13.5138C17.4436 13.5154 17.1077 13.5214 17.0268 13.5501ZM22.5117 14.9999V16.4879H25.5478H28.5839L27.6931 15.1499C27.2031 14.414 26.7579 13.7659 26.7037 13.7097C26.6434 13.6471 26.5558 13.5889 26.4776 13.5597C26.354 13.5134 26.2881 13.5119 24.4308 13.5119H22.5117V14.9999ZM28.9677 22.5041C27.2555 22.5807 25.6842 23.2715 24.4777 24.4779C23.1107 25.8449 22.4025 27.6958 22.5118 29.6159C22.5704 30.6458 22.833 31.5835 23.3081 32.4595C24.2563 34.2077 25.9676 35.4788 27.8922 35.8643C28.4265 35.9714 28.6121 35.9878 29.2677 35.9862C29.9243 35.9846 30.2894 35.947 30.7803 35.8304C32.6657 35.3826 34.259 34.1697 35.1763 32.4839C35.5849 31.7329 35.8127 31.0415 35.9433 30.1559C35.9969 29.7926 36.004 28.763 35.9553 28.4159C35.7435 26.9058 35.1298 25.6259 34.1157 24.5794C33.7346 24.1861 33.4187 23.918 33.0237 23.653C32.1763 23.0843 31.225 22.7132 30.2517 22.5716C30.0026 22.5353 29.3143 22.4849 29.1837 22.4933C29.1507 22.4954 29.0535 22.5003 28.9677 22.5041ZM28.8717 24.0164C26.416 24.2018 24.4157 26.0615 24.0613 28.4885C24.0052 28.8727 23.9902 29.3247 24.0219 29.6759C24.2146 31.8147 25.6316 33.5971 27.6541 34.2449C29.1525 34.7248 30.8311 34.4928 32.1402 33.6249C33.6143 32.6476 34.4877 31.0217 34.4877 29.2549C34.4877 27.4616 33.6194 25.8545 32.1117 24.8571C31.1901 24.2475 29.9779 23.9329 28.8717 24.0164ZM31.6729 26.7944C31.623 26.8122 31.5436 26.8522 31.4964 26.8833C31.4399 26.9207 30.9083 27.6095 29.934 28.9079C29.1218 29.9903 28.4478 30.8863 28.4362 30.8991C28.4232 30.9132 28.1058 30.6142 27.6174 30.1276C27.102 29.6141 26.7815 29.3129 26.7117 29.2766C26.5567 29.1958 26.2192 29.195 26.0686 29.2751C25.9099 29.3596 25.7837 29.4868 25.7105 29.636C25.6544 29.7506 25.644 29.8021 25.6444 29.9639C25.6452 30.2746 25.654 30.2866 26.543 31.1839C26.9724 31.6173 27.3885 32.0236 27.4677 32.0868C27.7584 32.3188 28.0527 32.4232 28.4157 32.4232C28.6632 32.4232 28.8679 32.3777 29.0754 32.2765C29.406 32.1153 29.4028 32.119 31.0233 29.9637C31.8569 28.855 32.5678 27.8902 32.6031 27.8198C32.6555 27.7152 32.6671 27.6595 32.6664 27.517C32.6647 27.204 32.5223 26.9689 32.2525 26.8341C32.1274 26.7716 32.0773 26.7601 31.9339 26.761C31.8403 26.7615 31.7229 26.7766 31.6729 26.7944Z", fill: config.style.color.iconSecondary }) }), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", { id: "clip0_1160_7468", children: (0, jsx_runtime_1.jsx)("rect", { width: "24", height: "24", fill: config.style.color.iconSecondary, transform: "translate(12 12)" }) }) })] }));
};
exports.CompletedIconBase = CompletedIconBase;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,4 +7,4 @@ exports.ConfirmedIconBase = void 0;

var config = _a.config;
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24Z", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("g", __assign({ "clip-path": "url(#clip0_1160_7443)" }, { children: (0, jsx_runtime_1.jsx)("g", __assign({ "clip-path": "url(#clip1_1160_7443)" }, { children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M21.6 12.7099C21.0537 12.7722 20.7821 12.8299 20.436 12.9569C19.9435 13.1376 19.4518 13.4292 19.0675 13.7685C18.4101 14.349 17.9618 15.0797 17.7375 15.9361L17.6715 16.1881L16.1018 16.2007C14.5707 16.2131 14.5273 16.2147 14.3413 16.267C13.9273 16.3832 13.4827 16.6632 13.2316 16.9657C12.9688 17.2825 12.8246 17.5821 12.7433 17.9798C12.6968 18.2076 12.696 18.3411 12.6963 25.7558C12.6966 33.0276 12.6983 33.3079 12.7415 33.5161C12.8361 33.9723 13.0303 34.3374 13.3465 34.6536C13.6418 34.9489 13.9818 35.1382 14.4183 35.2505C14.5683 35.2891 14.8514 35.2921 18.336 35.2921H22.092L22.2276 35.2285C22.4002 35.1476 22.5475 35.0002 22.6284 34.8276C22.719 34.6343 22.719 34.3658 22.6284 34.1725C22.5475 33.9999 22.4002 33.8526 22.2276 33.7716L22.092 33.7081L18.408 33.6961L14.724 33.6841L14.609 33.6165C14.4785 33.5398 14.3633 33.395 14.3278 33.2633C14.3119 33.2041 14.3058 30.6435 14.3099 25.701C14.3158 18.462 14.3174 18.2254 14.3607 18.1441C14.4234 18.0265 14.5157 17.9325 14.628 17.8719C14.7235 17.8203 14.7336 17.82 16.656 17.8081C18.5799 17.7961 18.5885 17.7959 18.7016 17.7436C18.868 17.6667 18.9719 17.5794 19.0632 17.4399C19.1617 17.2894 19.1929 17.1699 19.2119 16.8721C19.2575 16.1542 19.5284 15.5575 20.0325 15.0644C20.6333 14.4765 21.5139 14.1998 22.332 14.3417C23.0435 14.4651 23.6372 14.8299 24.071 15.4102C24.3848 15.8299 24.5484 16.308 24.5973 16.9482C24.6139 17.1642 24.6317 17.2544 24.6754 17.342C24.7547 17.5013 24.9133 17.6561 25.0747 17.7317L25.212 17.7961L27.144 17.8081C29.0664 17.82 29.0765 17.8203 29.172 17.8719C29.2843 17.9325 29.3767 18.0265 29.4393 18.1441C29.4808 18.222 29.4849 18.3176 29.496 19.4641C29.5077 20.6704 29.5093 20.7028 29.5603 20.8133C29.8049 21.3427 30.4872 21.4612 30.879 21.0424C30.9386 20.9786 31.0109 20.8756 31.0397 20.8133C31.091 20.7023 31.0922 20.6757 31.099 19.4678C31.1067 18.1317 31.0989 18.0227 30.9706 17.6555C30.7422 17.0016 30.1542 16.4611 29.46 16.2671C29.2726 16.2147 29.2301 16.2131 27.6983 16.2007L26.1285 16.1881L26.0625 15.9361C25.8871 15.2662 25.5684 14.6617 25.1273 14.1622C24.4615 13.4083 23.5471 12.9044 22.572 12.754C22.3509 12.72 21.7507 12.6927 21.6 12.7099ZM21.6 15.5476C21.089 15.6812 20.7556 16.1247 20.7567 16.6694C20.7575 17.0205 20.8761 17.2858 21.1359 17.5174C21.3625 17.7193 21.5937 17.8069 21.9 17.8069C22.2063 17.8069 22.4376 17.7193 22.6641 17.5174C22.9239 17.2858 23.0426 17.0205 23.0433 16.6694C23.0449 15.892 22.3497 15.3516 21.6 15.5476ZM17.4452 21.849C17.237 21.9239 17.0503 22.0948 16.9602 22.2931C16.9216 22.378 16.9097 22.452 16.9097 22.6081C16.9097 22.8538 16.959 22.9812 17.121 23.1544C17.254 23.2965 17.4018 23.373 17.5984 23.4015C17.7944 23.4298 22.5028 23.4296 22.6989 23.4013C22.8906 23.3736 23.0263 23.3077 23.1584 23.1784C23.3788 22.9625 23.4582 22.6197 23.3529 22.3392C23.2887 22.1686 23.1206 21.9782 22.9586 21.8928L22.836 21.8281L20.184 21.8229C18.0564 21.8188 17.5149 21.8239 17.4452 21.849ZM28.632 22.5039C26.58 22.5971 24.7194 23.6431 23.5797 25.3441C22.1468 27.4828 22.1384 30.2741 23.5583 32.4276C24.0309 33.1442 24.6694 33.7789 25.404 34.262C27.0768 35.3622 29.2281 35.6052 31.1194 34.9075C31.4317 34.7923 32.0221 34.5023 32.292 34.3314C33.0935 33.824 33.824 33.0935 34.3313 32.2921C34.5022 32.0222 34.7923 31.4317 34.9075 31.1194C35.6105 29.2134 35.3606 27.0611 34.2396 25.3681C33.2095 23.8122 31.5396 22.7759 29.7 22.5508C29.398 22.5139 28.8968 22.4918 28.632 22.5039ZM28.476 24.1218C27.8523 24.177 27.287 24.3443 26.688 24.6511C25.8135 25.0991 25.099 25.8136 24.6511 26.6881C24.3245 27.3256 24.1755 27.8495 24.1171 28.5656C24.0403 29.5073 24.2947 30.5585 24.8 31.3876C26.0806 33.489 28.7523 34.2873 30.957 33.2273C31.4739 32.9788 31.8005 32.7528 32.204 32.3647C32.658 31.928 32.9217 31.5709 33.1911 31.0278C33.8583 29.6832 33.8637 28.1408 33.2059 26.7964C32.3322 25.0109 30.4514 23.9473 28.476 24.1218ZM17.5798 25.3197C17.3266 25.357 17.0708 25.5538 16.9607 25.7958C16.9219 25.8814 16.9095 25.9566 16.9089 26.1121C16.9081 26.2874 16.9173 26.3351 16.9745 26.4515C17.0483 26.6017 17.1967 26.7516 17.3556 26.8364L17.46 26.8921L19.0594 26.8987C20.6344 26.9053 20.6608 26.9046 20.7937 26.8549C20.9485 26.7969 21.1362 26.6285 21.2125 26.479C21.3259 26.2566 21.3212 25.9476 21.2009 25.7267C21.0791 25.5029 20.8781 25.3643 20.6129 25.3212C20.4381 25.2929 17.7714 25.2916 17.5798 25.3197ZM31.1598 26.5052C31.0252 26.5492 30.9177 26.6184 30.813 26.7286C30.7651 26.7789 30.1381 27.6048 29.4196 28.5639L28.1131 30.3078L27.4063 29.6032C26.8046 29.0035 26.6784 28.889 26.5586 28.8342C26.2699 28.702 25.9021 28.7655 25.6719 28.9873C25.4298 29.2207 25.3622 29.6301 25.5152 29.9364C25.5469 29.9999 25.8624 30.3324 26.3845 30.8526C27.0165 31.4823 27.2397 31.6898 27.36 31.7593C27.9269 32.0866 28.6403 32.017 29.1145 31.5882C29.2206 31.4922 29.6806 30.8978 30.6747 29.5722C31.45 28.5382 32.1016 27.6559 32.1227 27.6115C32.2164 27.414 32.2112 27.0985 32.111 26.902C32.046 26.7746 31.8897 26.6259 31.7408 26.5499C31.5943 26.4751 31.3172 26.4538 31.1598 26.5052ZM17.5165 28.8327C17.1959 28.903 16.9455 29.1863 16.9059 29.5237C16.8742 29.793 16.9908 30.0661 17.2119 30.2409C17.4324 30.4152 17.3728 30.4102 19.1422 30.4027L20.724 30.3961L20.8419 30.3361C20.9824 30.2646 21.1521 30.1013 21.216 29.9761C21.2413 29.9265 21.2722 29.8225 21.2846 29.745C21.3439 29.3737 21.1651 29.0405 20.82 28.8793L20.676 28.8121L19.164 28.8075C18.0358 28.8041 17.6176 28.8105 17.5165 28.8327Z", fill: config.style.color.iconSecondary }) })) })), (0, jsx_runtime_1.jsxs)("defs", { children: [(0, jsx_runtime_1.jsx)("clipPath", __assign({ id: "clip0_1160_7443" }, { children: (0, jsx_runtime_1.jsx)("rect", { width: "24", height: "24", fill: config.style.color.iconSecondary, transform: "translate(12 12)" }) })), (0, jsx_runtime_1.jsx)("clipPath", __assign({ id: "clip1_1160_7443" }, { children: (0, jsx_runtime_1.jsx)("rect", { width: "24", height: "24", fill: config.style.color.iconSecondary, transform: "translate(12 12)" }) }))] })] })));
return ((0, jsx_runtime_1.jsxs)("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("path", { d: "M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24Z", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("g", { "clip-path": "url(#clip0_1160_7443)", children: (0, jsx_runtime_1.jsx)("g", { "clip-path": "url(#clip1_1160_7443)", children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M21.6 12.7099C21.0537 12.7722 20.7821 12.8299 20.436 12.9569C19.9435 13.1376 19.4518 13.4292 19.0675 13.7685C18.4101 14.349 17.9618 15.0797 17.7375 15.9361L17.6715 16.1881L16.1018 16.2007C14.5707 16.2131 14.5273 16.2147 14.3413 16.267C13.9273 16.3832 13.4827 16.6632 13.2316 16.9657C12.9688 17.2825 12.8246 17.5821 12.7433 17.9798C12.6968 18.2076 12.696 18.3411 12.6963 25.7558C12.6966 33.0276 12.6983 33.3079 12.7415 33.5161C12.8361 33.9723 13.0303 34.3374 13.3465 34.6536C13.6418 34.9489 13.9818 35.1382 14.4183 35.2505C14.5683 35.2891 14.8514 35.2921 18.336 35.2921H22.092L22.2276 35.2285C22.4002 35.1476 22.5475 35.0002 22.6284 34.8276C22.719 34.6343 22.719 34.3658 22.6284 34.1725C22.5475 33.9999 22.4002 33.8526 22.2276 33.7716L22.092 33.7081L18.408 33.6961L14.724 33.6841L14.609 33.6165C14.4785 33.5398 14.3633 33.395 14.3278 33.2633C14.3119 33.2041 14.3058 30.6435 14.3099 25.701C14.3158 18.462 14.3174 18.2254 14.3607 18.1441C14.4234 18.0265 14.5157 17.9325 14.628 17.8719C14.7235 17.8203 14.7336 17.82 16.656 17.8081C18.5799 17.7961 18.5885 17.7959 18.7016 17.7436C18.868 17.6667 18.9719 17.5794 19.0632 17.4399C19.1617 17.2894 19.1929 17.1699 19.2119 16.8721C19.2575 16.1542 19.5284 15.5575 20.0325 15.0644C20.6333 14.4765 21.5139 14.1998 22.332 14.3417C23.0435 14.4651 23.6372 14.8299 24.071 15.4102C24.3848 15.8299 24.5484 16.308 24.5973 16.9482C24.6139 17.1642 24.6317 17.2544 24.6754 17.342C24.7547 17.5013 24.9133 17.6561 25.0747 17.7317L25.212 17.7961L27.144 17.8081C29.0664 17.82 29.0765 17.8203 29.172 17.8719C29.2843 17.9325 29.3767 18.0265 29.4393 18.1441C29.4808 18.222 29.4849 18.3176 29.496 19.4641C29.5077 20.6704 29.5093 20.7028 29.5603 20.8133C29.8049 21.3427 30.4872 21.4612 30.879 21.0424C30.9386 20.9786 31.0109 20.8756 31.0397 20.8133C31.091 20.7023 31.0922 20.6757 31.099 19.4678C31.1067 18.1317 31.0989 18.0227 30.9706 17.6555C30.7422 17.0016 30.1542 16.4611 29.46 16.2671C29.2726 16.2147 29.2301 16.2131 27.6983 16.2007L26.1285 16.1881L26.0625 15.9361C25.8871 15.2662 25.5684 14.6617 25.1273 14.1622C24.4615 13.4083 23.5471 12.9044 22.572 12.754C22.3509 12.72 21.7507 12.6927 21.6 12.7099ZM21.6 15.5476C21.089 15.6812 20.7556 16.1247 20.7567 16.6694C20.7575 17.0205 20.8761 17.2858 21.1359 17.5174C21.3625 17.7193 21.5937 17.8069 21.9 17.8069C22.2063 17.8069 22.4376 17.7193 22.6641 17.5174C22.9239 17.2858 23.0426 17.0205 23.0433 16.6694C23.0449 15.892 22.3497 15.3516 21.6 15.5476ZM17.4452 21.849C17.237 21.9239 17.0503 22.0948 16.9602 22.2931C16.9216 22.378 16.9097 22.452 16.9097 22.6081C16.9097 22.8538 16.959 22.9812 17.121 23.1544C17.254 23.2965 17.4018 23.373 17.5984 23.4015C17.7944 23.4298 22.5028 23.4296 22.6989 23.4013C22.8906 23.3736 23.0263 23.3077 23.1584 23.1784C23.3788 22.9625 23.4582 22.6197 23.3529 22.3392C23.2887 22.1686 23.1206 21.9782 22.9586 21.8928L22.836 21.8281L20.184 21.8229C18.0564 21.8188 17.5149 21.8239 17.4452 21.849ZM28.632 22.5039C26.58 22.5971 24.7194 23.6431 23.5797 25.3441C22.1468 27.4828 22.1384 30.2741 23.5583 32.4276C24.0309 33.1442 24.6694 33.7789 25.404 34.262C27.0768 35.3622 29.2281 35.6052 31.1194 34.9075C31.4317 34.7923 32.0221 34.5023 32.292 34.3314C33.0935 33.824 33.824 33.0935 34.3313 32.2921C34.5022 32.0222 34.7923 31.4317 34.9075 31.1194C35.6105 29.2134 35.3606 27.0611 34.2396 25.3681C33.2095 23.8122 31.5396 22.7759 29.7 22.5508C29.398 22.5139 28.8968 22.4918 28.632 22.5039ZM28.476 24.1218C27.8523 24.177 27.287 24.3443 26.688 24.6511C25.8135 25.0991 25.099 25.8136 24.6511 26.6881C24.3245 27.3256 24.1755 27.8495 24.1171 28.5656C24.0403 29.5073 24.2947 30.5585 24.8 31.3876C26.0806 33.489 28.7523 34.2873 30.957 33.2273C31.4739 32.9788 31.8005 32.7528 32.204 32.3647C32.658 31.928 32.9217 31.5709 33.1911 31.0278C33.8583 29.6832 33.8637 28.1408 33.2059 26.7964C32.3322 25.0109 30.4514 23.9473 28.476 24.1218ZM17.5798 25.3197C17.3266 25.357 17.0708 25.5538 16.9607 25.7958C16.9219 25.8814 16.9095 25.9566 16.9089 26.1121C16.9081 26.2874 16.9173 26.3351 16.9745 26.4515C17.0483 26.6017 17.1967 26.7516 17.3556 26.8364L17.46 26.8921L19.0594 26.8987C20.6344 26.9053 20.6608 26.9046 20.7937 26.8549C20.9485 26.7969 21.1362 26.6285 21.2125 26.479C21.3259 26.2566 21.3212 25.9476 21.2009 25.7267C21.0791 25.5029 20.8781 25.3643 20.6129 25.3212C20.4381 25.2929 17.7714 25.2916 17.5798 25.3197ZM31.1598 26.5052C31.0252 26.5492 30.9177 26.6184 30.813 26.7286C30.7651 26.7789 30.1381 27.6048 29.4196 28.5639L28.1131 30.3078L27.4063 29.6032C26.8046 29.0035 26.6784 28.889 26.5586 28.8342C26.2699 28.702 25.9021 28.7655 25.6719 28.9873C25.4298 29.2207 25.3622 29.6301 25.5152 29.9364C25.5469 29.9999 25.8624 30.3324 26.3845 30.8526C27.0165 31.4823 27.2397 31.6898 27.36 31.7593C27.9269 32.0866 28.6403 32.017 29.1145 31.5882C29.2206 31.4922 29.6806 30.8978 30.6747 29.5722C31.45 28.5382 32.1016 27.6559 32.1227 27.6115C32.2164 27.414 32.2112 27.0985 32.111 26.902C32.046 26.7746 31.8897 26.6259 31.7408 26.5499C31.5943 26.4751 31.3172 26.4538 31.1598 26.5052ZM17.5165 28.8327C17.1959 28.903 16.9455 29.1863 16.9059 29.5237C16.8742 29.793 16.9908 30.0661 17.2119 30.2409C17.4324 30.4152 17.3728 30.4102 19.1422 30.4027L20.724 30.3961L20.8419 30.3361C20.9824 30.2646 21.1521 30.1013 21.216 29.9761C21.2413 29.9265 21.2722 29.8225 21.2846 29.745C21.3439 29.3737 21.1651 29.0405 20.82 28.8793L20.676 28.8121L19.164 28.8075C18.0358 28.8041 17.6176 28.8105 17.5165 28.8327Z", fill: config.style.color.iconSecondary }) }) }), (0, jsx_runtime_1.jsxs)("defs", { children: [(0, jsx_runtime_1.jsx)("clipPath", { id: "clip0_1160_7443", children: (0, jsx_runtime_1.jsx)("rect", { width: "24", height: "24", fill: config.style.color.iconSecondary, transform: "translate(12 12)" }) }), (0, jsx_runtime_1.jsx)("clipPath", { id: "clip1_1160_7443", children: (0, jsx_runtime_1.jsx)("rect", { width: "24", height: "24", fill: config.style.color.iconSecondary, transform: "translate(12 12)" }) })] })] }));
};
exports.ConfirmedIconBase = ConfirmedIconBase;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,4 +7,4 @@ exports.InTransitIconBase = void 0;

var config = _a.config;
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24Z", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("g", __assign({ "clip-path": "url(#clip0_1160_7460)" }, { children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M25.6781 15.4332C25.9824 15.4621 26.2198 15.5393 26.4574 15.6866C26.7367 15.8599 26.9672 16.118 27.1043 16.411C27.2226 16.6638 27.2709 16.9086 27.2715 17.2582L27.2717 17.3854L28.7477 17.3854C29.7115 17.3854 30.262 17.389 30.3341 17.3956C30.8272 17.4411 31.2833 17.7019 31.5676 18.101C31.6862 18.2675 31.7736 18.4483 31.8251 18.6334C31.839 18.6835 32.0105 19.5648 32.2061 20.5918C32.4018 21.6187 32.565 22.4648 32.5689 22.472C32.5728 22.4791 33.1736 22.7177 33.9039 23.0023C34.6343 23.2868 35.2563 23.5326 35.2862 23.5486C35.3642 23.5903 35.4623 23.6659 35.5591 23.7588C35.8276 24.0167 35.999 24.3441 36.067 24.7294C36.0857 24.8353 36.0858 29.0248 36.067 29.1454C35.9605 29.8323 35.4733 30.3768 34.8054 30.5558C34.6247 30.6042 34.5833 30.6072 34.0429 30.6117L33.5326 30.6159L33.5263 30.6414C33.5228 30.6555 33.5025 30.7167 33.4811 30.7774C33.3471 31.158 33.1378 31.4886 32.8452 31.7813C32.412 32.2148 31.8876 32.4701 31.2557 32.5551C31.1172 32.5737 30.7308 32.5707 30.5885 32.5499C30.0205 32.4668 29.5186 32.2316 29.1208 31.8621C28.7749 31.5409 28.5237 31.1519 28.3799 30.715L28.3483 30.619H24.0845H19.8208L19.7892 30.715C19.6664 31.0878 19.4659 31.4268 19.1994 31.7117C18.7668 32.1743 18.2229 32.4559 17.5805 32.5499C17.4382 32.5707 17.0519 32.5737 16.9133 32.5551C16.2855 32.4706 15.7646 32.2185 15.3332 31.7902C15.0261 31.4853 14.8128 31.1456 14.6781 30.747L14.6338 30.6159L14.1247 30.6117C13.5858 30.6072 13.5443 30.6042 13.3636 30.5558C12.7562 30.3931 12.2917 29.9238 12.1371 29.3169C12.1241 29.2661 12.1087 29.1818 12.1027 29.1297C12.0968 29.0776 12.088 29.0263 12.0832 29.0158C12.0779 29.0042 12.0779 26.5915 12.0832 22.9678C12.0909 17.657 12.0937 16.9298 12.1064 16.8622C12.1774 16.4863 12.3342 16.1837 12.5898 15.9296C12.8463 15.6747 13.1438 15.5214 13.5245 15.448C13.5996 15.4335 14.0901 15.4321 19.6253 15.4311C22.9359 15.4305 25.6596 15.4314 25.6781 15.4332ZM25.604 16.9062C25.6754 16.9231 25.7371 16.9699 25.772 17.0336C25.7875 17.062 25.7888 17.3836 25.7933 22.5454L25.7981 28.027L25.8198 28.1038C25.8908 28.3556 26.0806 28.5516 26.325 28.6253C26.4345 28.6583 26.6179 28.6599 26.7275 28.6288C26.9757 28.5583 27.1669 28.3691 27.245 28.1166L27.2667 28.0462L27.2694 25.903L27.2721 23.7598H29.5319H31.7917L33.1485 24.2877C33.8947 24.5781 34.5196 24.8222 34.5371 24.8303C34.5593 24.8405 34.5752 24.8585 34.5899 24.8903C34.6107 24.9354 34.6109 24.9409 34.6136 25.5661L34.6164 26.1963L34.196 26.2008C33.7164 26.206 33.6991 26.2081 33.5502 26.2816C33.4722 26.3201 33.4456 26.3401 33.3677 26.4184C33.2656 26.5212 33.2167 26.5969 33.1784 26.7118C33.1554 26.7809 33.1528 26.803 33.1523 26.9326C33.1518 27.0573 33.1547 27.0862 33.1741 27.1486C33.2594 27.4235 33.496 27.6276 33.774 27.6662C33.8177 27.6722 34.0095 27.6766 34.2324 27.6766H34.6157V28.2991C34.6157 28.974 34.6155 28.9764 34.563 29.0454C34.5261 29.0937 34.4727 29.1238 34.403 29.1357C34.3641 29.1423 34.1968 29.1451 33.9402 29.1433L33.5383 29.1406L33.493 29.011C33.3913 28.7197 33.2715 28.4935 33.0939 28.2574C32.6412 27.6556 31.9462 27.265 31.2053 27.196C31.0464 27.1811 30.6813 27.1893 30.5453 27.2107C29.962 27.3025 29.4479 27.5625 29.0374 27.9734C28.7383 28.2728 28.5258 28.6144 28.389 29.0153L28.3447 29.1454H24.0842H19.8237L19.7929 29.0518C19.4604 28.0402 18.589 27.324 17.5418 27.2015C17.3967 27.1846 17.0973 27.1824 16.9462 27.1973C16.049 27.2856 15.2314 27.8503 14.8207 28.6654C14.7581 28.7895 14.7291 28.8589 14.676 29.011L14.6307 29.1406H14.1904H13.7501L13.6925 29.1118C13.6229 29.077 13.5786 29.0224 13.5638 28.9533C13.5563 28.9183 13.5533 27.2354 13.5533 23.0123C13.5533 17.8426 13.555 17.1142 13.5675 17.0723C13.5855 17.0116 13.6366 16.9518 13.6949 16.923L13.7405 16.9006L19.6541 16.8991C23.097 16.8983 25.5829 16.9012 25.604 16.9062ZM30.2189 18.8636C30.2991 18.8807 30.3645 18.9296 30.3926 18.9934C30.4069 19.0258 31.0253 22.2258 31.0253 22.2672C31.0253 22.2797 30.7984 22.2814 29.1485 22.2814H27.2717V20.5678V18.8542L28.7285 18.8553C29.5297 18.8559 30.2004 18.8596 30.2189 18.8636ZM36.0798 26.9374C36.0798 28.0858 36.0787 28.5556 36.0773 27.9814C36.0759 27.4072 36.0759 26.4676 36.0773 25.8934C36.0787 25.3192 36.0798 25.789 36.0798 26.9374ZM31.0829 28.6622C31.3836 28.7098 31.6062 28.8179 31.8007 29.0107C32.0382 29.2462 32.1606 29.5422 32.1602 29.8798C32.16 30.02 32.15 30.0936 32.1143 30.2172C32.0692 30.373 32.0066 30.495 31.9032 30.6286C31.7184 30.8671 31.4612 31.0222 31.1537 31.0804C31.0457 31.1009 30.8396 31.101 30.7265 31.0806C30.3461 31.0121 30.0209 30.767 29.8469 30.4174C29.7666 30.2561 29.7308 30.1137 29.7228 29.923C29.7084 29.5776 29.832 29.2628 30.0794 29.0154C30.3164 28.7784 30.6197 28.6534 30.9485 28.6571C31.0092 28.6578 31.0697 28.6601 31.0829 28.6622ZM17.4308 28.6707C17.5273 28.6875 17.6854 28.7391 17.7694 28.7811C17.9987 28.8958 18.2094 29.1066 18.3243 29.3365C18.4632 29.6142 18.4864 29.9708 18.3849 30.2686C18.2626 30.6275 17.9797 30.9112 17.6232 31.0324C17.4881 31.0784 17.3827 31.0954 17.2301 31.096C16.9063 31.0974 16.6206 30.9837 16.3817 30.7585C16.3201 30.7005 16.223 30.5794 16.1774 30.5038C16.1076 30.388 16.0428 30.2091 16.0197 30.0684C16.0042 29.9741 16.007 29.7596 16.025 29.659C16.1122 29.1738 16.4889 28.7878 16.9805 28.6798C17.0822 28.6575 17.3271 28.6525 17.4308 28.6707Z", fill: config.style.color.iconSecondary }) })), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", __assign({ id: "clip0_1160_7460" }, { children: (0, jsx_runtime_1.jsx)("rect", { width: "24", height: "24", fill: config.style.color.iconSecondary, transform: "translate(12.0762 12)" }) })) })] })));
return ((0, jsx_runtime_1.jsxs)("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("path", { d: "M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24Z", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("g", { "clip-path": "url(#clip0_1160_7460)", children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M25.6781 15.4332C25.9824 15.4621 26.2198 15.5393 26.4574 15.6866C26.7367 15.8599 26.9672 16.118 27.1043 16.411C27.2226 16.6638 27.2709 16.9086 27.2715 17.2582L27.2717 17.3854L28.7477 17.3854C29.7115 17.3854 30.262 17.389 30.3341 17.3956C30.8272 17.4411 31.2833 17.7019 31.5676 18.101C31.6862 18.2675 31.7736 18.4483 31.8251 18.6334C31.839 18.6835 32.0105 19.5648 32.2061 20.5918C32.4018 21.6187 32.565 22.4648 32.5689 22.472C32.5728 22.4791 33.1736 22.7177 33.9039 23.0023C34.6343 23.2868 35.2563 23.5326 35.2862 23.5486C35.3642 23.5903 35.4623 23.6659 35.5591 23.7588C35.8276 24.0167 35.999 24.3441 36.067 24.7294C36.0857 24.8353 36.0858 29.0248 36.067 29.1454C35.9605 29.8323 35.4733 30.3768 34.8054 30.5558C34.6247 30.6042 34.5833 30.6072 34.0429 30.6117L33.5326 30.6159L33.5263 30.6414C33.5228 30.6555 33.5025 30.7167 33.4811 30.7774C33.3471 31.158 33.1378 31.4886 32.8452 31.7813C32.412 32.2148 31.8876 32.4701 31.2557 32.5551C31.1172 32.5737 30.7308 32.5707 30.5885 32.5499C30.0205 32.4668 29.5186 32.2316 29.1208 31.8621C28.7749 31.5409 28.5237 31.1519 28.3799 30.715L28.3483 30.619H24.0845H19.8208L19.7892 30.715C19.6664 31.0878 19.4659 31.4268 19.1994 31.7117C18.7668 32.1743 18.2229 32.4559 17.5805 32.5499C17.4382 32.5707 17.0519 32.5737 16.9133 32.5551C16.2855 32.4706 15.7646 32.2185 15.3332 31.7902C15.0261 31.4853 14.8128 31.1456 14.6781 30.747L14.6338 30.6159L14.1247 30.6117C13.5858 30.6072 13.5443 30.6042 13.3636 30.5558C12.7562 30.3931 12.2917 29.9238 12.1371 29.3169C12.1241 29.2661 12.1087 29.1818 12.1027 29.1297C12.0968 29.0776 12.088 29.0263 12.0832 29.0158C12.0779 29.0042 12.0779 26.5915 12.0832 22.9678C12.0909 17.657 12.0937 16.9298 12.1064 16.8622C12.1774 16.4863 12.3342 16.1837 12.5898 15.9296C12.8463 15.6747 13.1438 15.5214 13.5245 15.448C13.5996 15.4335 14.0901 15.4321 19.6253 15.4311C22.9359 15.4305 25.6596 15.4314 25.6781 15.4332ZM25.604 16.9062C25.6754 16.9231 25.7371 16.9699 25.772 17.0336C25.7875 17.062 25.7888 17.3836 25.7933 22.5454L25.7981 28.027L25.8198 28.1038C25.8908 28.3556 26.0806 28.5516 26.325 28.6253C26.4345 28.6583 26.6179 28.6599 26.7275 28.6288C26.9757 28.5583 27.1669 28.3691 27.245 28.1166L27.2667 28.0462L27.2694 25.903L27.2721 23.7598H29.5319H31.7917L33.1485 24.2877C33.8947 24.5781 34.5196 24.8222 34.5371 24.8303C34.5593 24.8405 34.5752 24.8585 34.5899 24.8903C34.6107 24.9354 34.6109 24.9409 34.6136 25.5661L34.6164 26.1963L34.196 26.2008C33.7164 26.206 33.6991 26.2081 33.5502 26.2816C33.4722 26.3201 33.4456 26.3401 33.3677 26.4184C33.2656 26.5212 33.2167 26.5969 33.1784 26.7118C33.1554 26.7809 33.1528 26.803 33.1523 26.9326C33.1518 27.0573 33.1547 27.0862 33.1741 27.1486C33.2594 27.4235 33.496 27.6276 33.774 27.6662C33.8177 27.6722 34.0095 27.6766 34.2324 27.6766H34.6157V28.2991C34.6157 28.974 34.6155 28.9764 34.563 29.0454C34.5261 29.0937 34.4727 29.1238 34.403 29.1357C34.3641 29.1423 34.1968 29.1451 33.9402 29.1433L33.5383 29.1406L33.493 29.011C33.3913 28.7197 33.2715 28.4935 33.0939 28.2574C32.6412 27.6556 31.9462 27.265 31.2053 27.196C31.0464 27.1811 30.6813 27.1893 30.5453 27.2107C29.962 27.3025 29.4479 27.5625 29.0374 27.9734C28.7383 28.2728 28.5258 28.6144 28.389 29.0153L28.3447 29.1454H24.0842H19.8237L19.7929 29.0518C19.4604 28.0402 18.589 27.324 17.5418 27.2015C17.3967 27.1846 17.0973 27.1824 16.9462 27.1973C16.049 27.2856 15.2314 27.8503 14.8207 28.6654C14.7581 28.7895 14.7291 28.8589 14.676 29.011L14.6307 29.1406H14.1904H13.7501L13.6925 29.1118C13.6229 29.077 13.5786 29.0224 13.5638 28.9533C13.5563 28.9183 13.5533 27.2354 13.5533 23.0123C13.5533 17.8426 13.555 17.1142 13.5675 17.0723C13.5855 17.0116 13.6366 16.9518 13.6949 16.923L13.7405 16.9006L19.6541 16.8991C23.097 16.8983 25.5829 16.9012 25.604 16.9062ZM30.2189 18.8636C30.2991 18.8807 30.3645 18.9296 30.3926 18.9934C30.4069 19.0258 31.0253 22.2258 31.0253 22.2672C31.0253 22.2797 30.7984 22.2814 29.1485 22.2814H27.2717V20.5678V18.8542L28.7285 18.8553C29.5297 18.8559 30.2004 18.8596 30.2189 18.8636ZM36.0798 26.9374C36.0798 28.0858 36.0787 28.5556 36.0773 27.9814C36.0759 27.4072 36.0759 26.4676 36.0773 25.8934C36.0787 25.3192 36.0798 25.789 36.0798 26.9374ZM31.0829 28.6622C31.3836 28.7098 31.6062 28.8179 31.8007 29.0107C32.0382 29.2462 32.1606 29.5422 32.1602 29.8798C32.16 30.02 32.15 30.0936 32.1143 30.2172C32.0692 30.373 32.0066 30.495 31.9032 30.6286C31.7184 30.8671 31.4612 31.0222 31.1537 31.0804C31.0457 31.1009 30.8396 31.101 30.7265 31.0806C30.3461 31.0121 30.0209 30.767 29.8469 30.4174C29.7666 30.2561 29.7308 30.1137 29.7228 29.923C29.7084 29.5776 29.832 29.2628 30.0794 29.0154C30.3164 28.7784 30.6197 28.6534 30.9485 28.6571C31.0092 28.6578 31.0697 28.6601 31.0829 28.6622ZM17.4308 28.6707C17.5273 28.6875 17.6854 28.7391 17.7694 28.7811C17.9987 28.8958 18.2094 29.1066 18.3243 29.3365C18.4632 29.6142 18.4864 29.9708 18.3849 30.2686C18.2626 30.6275 17.9797 30.9112 17.6232 31.0324C17.4881 31.0784 17.3827 31.0954 17.2301 31.096C16.9063 31.0974 16.6206 30.9837 16.3817 30.7585C16.3201 30.7005 16.223 30.5794 16.1774 30.5038C16.1076 30.388 16.0428 30.2091 16.0197 30.0684C16.0042 29.9741 16.007 29.7596 16.025 29.659C16.1122 29.1738 16.4889 28.7878 16.9805 28.6798C17.0822 28.6575 17.3271 28.6525 17.4308 28.6707Z", fill: config.style.color.iconSecondary }) }), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", { id: "clip0_1160_7460", children: (0, jsx_runtime_1.jsx)("rect", { width: "24", height: "24", fill: config.style.color.iconSecondary, transform: "translate(12.0762 12)" }) }) })] }));
};
exports.InTransitIconBase = InTransitIconBase;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,4 +7,4 @@ exports.PendingIconBase = void 0;

var config = _a.config;
return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24Z", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M21.6 12.7099C21.0537 12.7722 20.7821 12.8299 20.436 12.9569C19.9435 13.1376 19.4518 13.4292 19.0675 13.7685C18.4101 14.349 17.9618 15.0797 17.7375 15.9361L17.6715 16.1881L16.1018 16.2007C14.5707 16.2131 14.5273 16.2147 14.3413 16.267C13.9273 16.3832 13.4827 16.6632 13.2316 16.9657C12.9688 17.2825 12.8246 17.5821 12.7433 17.9798C12.6968 18.2076 12.696 18.3411 12.6963 25.7558C12.6966 33.0276 12.6983 33.3079 12.7415 33.5161C12.8361 33.9723 13.0303 34.3374 13.3465 34.6536C13.6418 34.9489 13.9818 35.1382 14.4183 35.2505C14.5683 35.2891 14.8514 35.2921 18.336 35.2921H22.092L22.2276 35.2285C22.4002 35.1476 22.5475 35.0002 22.6284 34.8276C22.719 34.6343 22.719 34.3658 22.6284 34.1725C22.5475 33.9999 22.4002 33.8526 22.2276 33.7716L22.092 33.7081L14.724 33.6841L14.609 33.6165C14.4785 33.5398 14.3633 33.395 14.3278 33.2633C14.3119 33.2041 14.3058 30.6435 14.3099 25.701C14.3158 18.462 14.3174 18.2254 14.3607 18.1441C14.4234 18.0265 14.5157 17.9325 14.628 17.8719C14.7235 17.8203 14.7336 17.82 16.656 17.8081C18.5799 17.7961 18.5885 17.7959 18.7016 17.7436C18.868 17.6667 18.9719 17.5794 19.0632 17.4399C19.1617 17.2894 19.1929 17.1699 19.2119 16.8721C19.2575 16.1542 19.5284 15.5575 20.0325 15.0644C20.6333 14.4765 21.5139 14.1998 22.332 14.3417C23.0435 14.4651 23.6372 14.8299 24.071 15.4102C24.3848 15.8299 24.5484 16.308 24.5973 16.9482C24.6139 17.1642 24.6317 17.2544 24.6754 17.342C24.7547 17.5013 24.9133 17.6561 25.0747 17.7317L25.212 17.7961L27.144 17.8081C29.0664 17.82 29.0765 17.8203 29.172 17.8719C29.2843 17.9325 29.3767 18.0265 29.4393 18.1441C29.4808 18.222 29.4849 18.3176 29.496 19.4641C29.5077 20.6704 29.5093 20.7028 29.5603 20.8133C29.8049 21.3427 30.4872 21.4612 30.879 21.0424C30.9386 20.9786 31.0109 20.8756 31.0397 20.8133C31.091 20.7023 31.0922 20.6757 31.099 19.4678C31.1067 18.1317 31.0989 18.0227 30.9706 17.6555C30.7422 17.0016 30.1542 16.4611 29.46 16.2671C29.2726 16.2147 29.2301 16.2131 27.6983 16.2007L26.1285 16.1881L26.0625 15.9361C25.8871 15.2662 25.5684 14.6617 25.1273 14.1622C24.4615 13.4083 23.5471 12.9044 22.572 12.754C22.3509 12.72 21.7507 12.6927 21.6 12.7099ZM21.6 15.5476C21.089 15.6812 20.7556 16.1247 20.7567 16.6694C20.7575 17.0205 20.8761 17.2858 21.1359 17.5174C21.3625 17.7193 21.5937 17.8069 21.9 17.8069C22.2063 17.8069 22.4376 17.7193 22.6641 17.5174C22.9239 17.2858 23.0426 17.0205 23.0433 16.6694C23.0449 15.892 22.3497 15.3516 21.6 15.5476ZM17.4452 21.849C17.237 21.9239 17.0503 22.0948 16.9602 22.2931C16.9216 22.378 16.9097 22.452 16.9097 22.6081C16.9097 22.8538 16.959 22.9812 17.121 23.1544C17.254 23.2965 17.4018 23.373 17.5984 23.4015C17.7944 23.4298 22.5028 23.4296 22.6989 23.4013C22.8906 23.3736 23.0263 23.3077 23.1584 23.1784C23.3788 22.9625 23.4582 22.6197 23.3529 22.3392C23.2887 22.1686 23.1206 21.9782 22.9586 21.8928L22.836 21.8281L20.184 21.8229C18.0564 21.8188 17.5149 21.8239 17.4452 21.849ZM28.632 22.5039C26.58 22.5971 24.7194 23.6431 23.5797 25.3441C22.1468 27.4828 22.1384 30.2741 23.5583 32.4276C24.0309 33.1442 24.6694 33.7789 25.404 34.262C27.0768 35.3622 29.2281 35.6052 31.1194 34.9075C31.4317 34.7923 32.0221 34.5023 32.292 34.3314C33.0935 33.824 33.824 33.0935 34.3313 32.2921C34.5022 32.0222 34.7923 31.4317 34.9075 31.1194C35.6105 29.2134 35.3606 27.0611 34.2396 25.3681C33.2095 23.8122 31.5396 22.7759 29.7 22.5508C29.398 22.5139 28.8968 22.4918 28.632 22.5039ZM28.476 24.1218C27.8523 24.177 27.287 24.3443 26.688 24.6511C25.8135 25.0991 25.099 25.8136 24.6511 26.6881C24.3245 27.3256 24.1755 27.8495 24.1171 28.5656C24.0403 29.5073 24.2947 30.5585 24.8 31.3876C26.0806 33.489 28.7523 34.2873 30.957 33.2273C31.4739 32.9788 31.8005 32.7528 32.204 32.3647C32.658 31.928 32.9216 31.5709 33.1911 31.0278C33.8583 29.6832 33.8637 28.1408 33.2059 26.7964C32.3322 25.0109 30.4514 23.9473 28.476 24.1218ZM17.5798 25.3197C17.3266 25.357 17.0708 25.5538 16.9607 25.7958C16.9219 25.8814 16.9095 25.9566 16.9089 26.1121C16.9081 26.2874 16.9173 26.3351 16.9745 26.4515C17.0483 26.6017 17.1967 26.7516 17.3556 26.8364L17.46 26.8921L19.0594 26.8987C20.6344 26.9053 20.6608 26.9046 20.7937 26.8549C20.9485 26.7969 21.1362 26.6285 21.2125 26.479C21.3259 26.2566 21.3212 25.9476 21.2009 25.7267C21.0791 25.5029 20.8781 25.3643 20.6129 25.3212C20.4381 25.2929 17.7714 25.2916 17.5798 25.3197ZM17.5165 28.8327C17.1959 28.903 16.9455 29.1863 16.9059 29.5237C16.8742 29.793 16.9908 30.0661 17.2119 30.2409C17.4324 30.4152 17.3728 30.4102 19.1422 30.4027L20.724 30.3961L20.8419 30.3361C20.9824 30.2646 21.1521 30.1013 21.216 29.9761C21.2413 29.9265 21.2722 29.8225 21.2846 29.745C21.3439 29.3737 21.1651 29.0405 20.82 28.8793L20.676 28.8121L19.164 28.8075C18.0358 28.8041 17.6176 28.8105 17.5165 28.8327Z", fill: config.style.color.iconSecondary }), (0, jsx_runtime_1.jsx)("path", { d: "M28.5134 26.4623C28.5606 26.2071 28.7409 25.9908 28.9865 25.8948C29.3452 25.7545 29.7554 25.9272 29.9306 26.2922L29.9997 26.4362L29.9998 28.4851L31.0378 28.4926C32.0619 28.5001 32.0774 28.501 32.1958 28.5554C32.4295 28.6628 32.601 28.8816 32.6392 29.121C32.6969 29.4829 32.4997 29.8253 32.1588 29.9548C32.0463 29.9976 31.9535 30.0002 30.5758 30.0002C29.198 30.0002 29.1053 29.9976 28.9928 29.9548C28.7425 29.8597 28.5612 29.6446 28.5134 29.3862C28.4786 29.1977 28.4786 26.6508 28.5134 26.4623Z", fill: config.style.color.iconSecondary })] })));
return ((0, jsx_runtime_1.jsxs)("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("path", { d: "M48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24Z", fill: config.style.color.iconPrimary }), (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M21.6 12.7099C21.0537 12.7722 20.7821 12.8299 20.436 12.9569C19.9435 13.1376 19.4518 13.4292 19.0675 13.7685C18.4101 14.349 17.9618 15.0797 17.7375 15.9361L17.6715 16.1881L16.1018 16.2007C14.5707 16.2131 14.5273 16.2147 14.3413 16.267C13.9273 16.3832 13.4827 16.6632 13.2316 16.9657C12.9688 17.2825 12.8246 17.5821 12.7433 17.9798C12.6968 18.2076 12.696 18.3411 12.6963 25.7558C12.6966 33.0276 12.6983 33.3079 12.7415 33.5161C12.8361 33.9723 13.0303 34.3374 13.3465 34.6536C13.6418 34.9489 13.9818 35.1382 14.4183 35.2505C14.5683 35.2891 14.8514 35.2921 18.336 35.2921H22.092L22.2276 35.2285C22.4002 35.1476 22.5475 35.0002 22.6284 34.8276C22.719 34.6343 22.719 34.3658 22.6284 34.1725C22.5475 33.9999 22.4002 33.8526 22.2276 33.7716L22.092 33.7081L14.724 33.6841L14.609 33.6165C14.4785 33.5398 14.3633 33.395 14.3278 33.2633C14.3119 33.2041 14.3058 30.6435 14.3099 25.701C14.3158 18.462 14.3174 18.2254 14.3607 18.1441C14.4234 18.0265 14.5157 17.9325 14.628 17.8719C14.7235 17.8203 14.7336 17.82 16.656 17.8081C18.5799 17.7961 18.5885 17.7959 18.7016 17.7436C18.868 17.6667 18.9719 17.5794 19.0632 17.4399C19.1617 17.2894 19.1929 17.1699 19.2119 16.8721C19.2575 16.1542 19.5284 15.5575 20.0325 15.0644C20.6333 14.4765 21.5139 14.1998 22.332 14.3417C23.0435 14.4651 23.6372 14.8299 24.071 15.4102C24.3848 15.8299 24.5484 16.308 24.5973 16.9482C24.6139 17.1642 24.6317 17.2544 24.6754 17.342C24.7547 17.5013 24.9133 17.6561 25.0747 17.7317L25.212 17.7961L27.144 17.8081C29.0664 17.82 29.0765 17.8203 29.172 17.8719C29.2843 17.9325 29.3767 18.0265 29.4393 18.1441C29.4808 18.222 29.4849 18.3176 29.496 19.4641C29.5077 20.6704 29.5093 20.7028 29.5603 20.8133C29.8049 21.3427 30.4872 21.4612 30.879 21.0424C30.9386 20.9786 31.0109 20.8756 31.0397 20.8133C31.091 20.7023 31.0922 20.6757 31.099 19.4678C31.1067 18.1317 31.0989 18.0227 30.9706 17.6555C30.7422 17.0016 30.1542 16.4611 29.46 16.2671C29.2726 16.2147 29.2301 16.2131 27.6983 16.2007L26.1285 16.1881L26.0625 15.9361C25.8871 15.2662 25.5684 14.6617 25.1273 14.1622C24.4615 13.4083 23.5471 12.9044 22.572 12.754C22.3509 12.72 21.7507 12.6927 21.6 12.7099ZM21.6 15.5476C21.089 15.6812 20.7556 16.1247 20.7567 16.6694C20.7575 17.0205 20.8761 17.2858 21.1359 17.5174C21.3625 17.7193 21.5937 17.8069 21.9 17.8069C22.2063 17.8069 22.4376 17.7193 22.6641 17.5174C22.9239 17.2858 23.0426 17.0205 23.0433 16.6694C23.0449 15.892 22.3497 15.3516 21.6 15.5476ZM17.4452 21.849C17.237 21.9239 17.0503 22.0948 16.9602 22.2931C16.9216 22.378 16.9097 22.452 16.9097 22.6081C16.9097 22.8538 16.959 22.9812 17.121 23.1544C17.254 23.2965 17.4018 23.373 17.5984 23.4015C17.7944 23.4298 22.5028 23.4296 22.6989 23.4013C22.8906 23.3736 23.0263 23.3077 23.1584 23.1784C23.3788 22.9625 23.4582 22.6197 23.3529 22.3392C23.2887 22.1686 23.1206 21.9782 22.9586 21.8928L22.836 21.8281L20.184 21.8229C18.0564 21.8188 17.5149 21.8239 17.4452 21.849ZM28.632 22.5039C26.58 22.5971 24.7194 23.6431 23.5797 25.3441C22.1468 27.4828 22.1384 30.2741 23.5583 32.4276C24.0309 33.1442 24.6694 33.7789 25.404 34.262C27.0768 35.3622 29.2281 35.6052 31.1194 34.9075C31.4317 34.7923 32.0221 34.5023 32.292 34.3314C33.0935 33.824 33.824 33.0935 34.3313 32.2921C34.5022 32.0222 34.7923 31.4317 34.9075 31.1194C35.6105 29.2134 35.3606 27.0611 34.2396 25.3681C33.2095 23.8122 31.5396 22.7759 29.7 22.5508C29.398 22.5139 28.8968 22.4918 28.632 22.5039ZM28.476 24.1218C27.8523 24.177 27.287 24.3443 26.688 24.6511C25.8135 25.0991 25.099 25.8136 24.6511 26.6881C24.3245 27.3256 24.1755 27.8495 24.1171 28.5656C24.0403 29.5073 24.2947 30.5585 24.8 31.3876C26.0806 33.489 28.7523 34.2873 30.957 33.2273C31.4739 32.9788 31.8005 32.7528 32.204 32.3647C32.658 31.928 32.9216 31.5709 33.1911 31.0278C33.8583 29.6832 33.8637 28.1408 33.2059 26.7964C32.3322 25.0109 30.4514 23.9473 28.476 24.1218ZM17.5798 25.3197C17.3266 25.357 17.0708 25.5538 16.9607 25.7958C16.9219 25.8814 16.9095 25.9566 16.9089 26.1121C16.9081 26.2874 16.9173 26.3351 16.9745 26.4515C17.0483 26.6017 17.1967 26.7516 17.3556 26.8364L17.46 26.8921L19.0594 26.8987C20.6344 26.9053 20.6608 26.9046 20.7937 26.8549C20.9485 26.7969 21.1362 26.6285 21.2125 26.479C21.3259 26.2566 21.3212 25.9476 21.2009 25.7267C21.0791 25.5029 20.8781 25.3643 20.6129 25.3212C20.4381 25.2929 17.7714 25.2916 17.5798 25.3197ZM17.5165 28.8327C17.1959 28.903 16.9455 29.1863 16.9059 29.5237C16.8742 29.793 16.9908 30.0661 17.2119 30.2409C17.4324 30.4152 17.3728 30.4102 19.1422 30.4027L20.724 30.3961L20.8419 30.3361C20.9824 30.2646 21.1521 30.1013 21.216 29.9761C21.2413 29.9265 21.2722 29.8225 21.2846 29.745C21.3439 29.3737 21.1651 29.0405 20.82 28.8793L20.676 28.8121L19.164 28.8075C18.0358 28.8041 17.6176 28.8105 17.5165 28.8327Z", fill: config.style.color.iconSecondary }), (0, jsx_runtime_1.jsx)("path", { d: "M28.5134 26.4623C28.5606 26.2071 28.7409 25.9908 28.9865 25.8948C29.3452 25.7545 29.7554 25.9272 29.9306 26.2922L29.9997 26.4362L29.9998 28.4851L31.0378 28.4926C32.0619 28.5001 32.0774 28.501 32.1958 28.5554C32.4295 28.6628 32.601 28.8816 32.6392 29.121C32.6969 29.4829 32.4997 29.8253 32.1588 29.9548C32.0463 29.9976 31.9535 30.0002 30.5758 30.0002C29.198 30.0002 29.1053 29.9976 28.9928 29.9548C28.7425 29.8597 28.5612 29.6446 28.5134 29.3862C28.4786 29.1977 28.4786 26.6508 28.5134 26.4623Z", fill: config.style.color.iconSecondary })] }));
};
exports.PendingIconBase = PendingIconBase;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -20,4 +9,4 @@ exports.Timeline = void 0;

var config = _a.config, shipment = _a.shipment;
return ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__wrapper" }, { children: [(0, jsx_runtime_1.jsx)(TimlineMinimal_1.TimelineMinimal, { shipment: shipment, config: config }), (0, jsx_runtime_1.jsx)(TimelineDefault_1.TimelineDefault, { shipment: shipment, config: config })] })));
return ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__wrapper", children: [(0, jsx_runtime_1.jsx)(TimlineMinimal_1.TimelineMinimal, { shipment: shipment, config: config }), (0, jsx_runtime_1.jsx)(TimelineDefault_1.TimelineDefault, { shipment: shipment, config: config })] }));
};
exports.Timeline = Timeline;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,4 +7,4 @@ exports.SecondaryStep = void 0;

var config = _a.config;
return ((0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__minimal__secondary__step" }, { children: (0, jsx_runtime_1.jsx)("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: "none" }, { children: (0, jsx_runtime_1.jsx)("path", { d: "M8 4C8 6.20914 6.20914 8 4 8C1.79086 8 0 6.20914 0 4C0 1.79086 1.79086 0 4 0C6.20914 0 8 1.79086 8 4Z", fill: config.style.color.iconTertiary }) })) })));
return ((0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__minimal__secondary__step", children: (0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: "none", children: (0, jsx_runtime_1.jsx)("path", { d: "M8 4C8 6.20914 6.20914 8 4 8C1.79086 8 0 6.20914 0 4C0 1.79086 1.79086 0 4 0C6.20914 0 8 1.79086 8 4Z", fill: config.style.color.iconTertiary }) }) }));
};
exports.SecondaryStep = SecondaryStep;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -18,4 +7,4 @@ exports.SecondarySteps = void 0;

var config = _a.config;
return ((0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__triple__dots" }, { children: (0, jsx_runtime_1.jsxs)("svg", __assign({ width: "29", height: "26", viewBox: "0 0 29 26", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsx)("circle", { cx: "2.33325", cy: "24", r: "2", fill: config.style.color.iconTertiary }), (0, jsx_runtime_1.jsx)("circle", { cx: "10.3333", cy: "24", r: "2", fill: config.style.color.iconTertiary }), (0, jsx_runtime_1.jsx)("circle", { cx: "18.3333", cy: "24", r: "2", fill: config.style.color.iconTertiary }), (0, jsx_runtime_1.jsx)("circle", { cx: "26.3333", cy: "24", r: "2", fill: config.style.color.iconTertiary })] })) })));
return ((0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__triple__dots", children: (0, jsx_runtime_1.jsxs)("svg", { width: "29", height: "26", viewBox: "0 0 29 26", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [(0, jsx_runtime_1.jsx)("circle", { cx: "2.33325", cy: "24", r: "2", fill: config.style.color.iconTertiary }), (0, jsx_runtime_1.jsx)("circle", { cx: "10.3333", cy: "24", r: "2", fill: config.style.color.iconTertiary }), (0, jsx_runtime_1.jsx)("circle", { cx: "18.3333", cy: "24", r: "2", fill: config.style.color.iconTertiary }), (0, jsx_runtime_1.jsx)("circle", { cx: "26.3333", cy: "24", r: "2", fill: config.style.color.iconTertiary })] }) }));
};
exports.SecondarySteps = SecondarySteps;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -38,8 +27,8 @@ exports.TimelineDefault = void 0;

var config = _a.config, shipment = _a.shipment;
return ((0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__default__wrapper" }, { children: shipment.status === 'cancelled' || shipment.status === 'pending' ? (shipment.status === 'pending' ? ((0, jsx_runtime_1.jsx)(PendingIcon_1.PendingIcon, { config: config })) : ((0, jsx_runtime_1.jsx)(CancelledIcon_1.CancelledIcon, { config: config }))) : ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__default__steps" }, { children: [shipment.status === 'confirmed' ? ((0, jsx_runtime_1.jsx)(ConfirmedIcon_1.ConfirmedIcon, { config: config, shipment: shipment })) : ((0, jsx_runtime_1.jsx)(CheckedStep_1.CheckedStep, { text: config.text.confirmedLabel, date: shipment.confirmed_at, config: config })), shipment.status === 'confirmed' ? ((0, jsx_runtime_1.jsx)(SecondarySteps_1.SecondarySteps, { config: config })) : ((0, jsx_runtime_1.jsx)(CheckedSteps_1.CheckedSteps, { config: config })), shipment.quote_type !== 'self_ship' &&
return ((0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__default__wrapper", children: shipment.status === 'cancelled' || shipment.status === 'pending' ? (shipment.status === 'pending' ? ((0, jsx_runtime_1.jsx)(PendingIcon_1.PendingIcon, { config: config })) : ((0, jsx_runtime_1.jsx)(CancelledIcon_1.CancelledIcon, { config: config }))) : ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__default__steps", children: [shipment.status === 'confirmed' ? ((0, jsx_runtime_1.jsx)(ConfirmedIcon_1.ConfirmedIcon, { config: config, shipment: shipment })) : ((0, jsx_runtime_1.jsx)(CheckedStep_1.CheckedStep, { text: config.text.confirmedLabel, date: shipment.confirmed_at, config: config })), shipment.status === 'confirmed' ? ((0, jsx_runtime_1.jsx)(SecondarySteps_1.SecondarySteps, { config: config })) : ((0, jsx_runtime_1.jsx)(CheckedSteps_1.CheckedSteps, { config: config })), shipment.quote_type !== 'self_ship' &&
(shipment.status === 'collected' ? ((0, jsx_runtime_1.jsx)(CollectedIcon_1.CollectedIcon, { config: config, shipment: shipment })) : isSmaller(shipment.status, 'collected') ? ((0, jsx_runtime_1.jsx)(EmptyStep_1.EmptyStep, { text: config.text.collectedLabel, stroke: config.style.color.iconTertiary })) : ((0, jsx_runtime_1.jsx)(CheckedStep_1.CheckedStep, { text: config.text.collectedLabel, date: shipment.collected_at, config: config }))), shipment.quote_type !== 'self_ship' &&
(shipment.status === 'collected' ||
isSmaller(shipment.status, 'collected') ? ((0, jsx_runtime_1.jsx)(SecondarySteps_1.SecondarySteps, { config: config })) : ((0, jsx_runtime_1.jsx)(CheckedSteps_1.CheckedSteps, { config: config }))), shipment.status === 'in_transit' ? ((0, jsx_runtime_1.jsx)(InTransitIcon_1.InTransitIcon, { config: config, shipment: shipment })) : isSmaller(shipment.status, 'in_transit') ? ((0, jsx_runtime_1.jsx)(EmptyStep_1.EmptyStep, { text: config.text.inTransitLabel, stroke: config.style.color.iconTertiary })) : ((0, jsx_runtime_1.jsx)(CheckedStep_1.CheckedStep, { text: config.text.inTransitLabel, date: shipment.in_transit_at, config: config })), shipment.status === 'in_transit' ||
isSmaller(shipment.status, 'in_transit') ? ((0, jsx_runtime_1.jsx)(SecondarySteps_1.SecondarySteps, { config: config })) : ((0, jsx_runtime_1.jsx)(CheckedSteps_1.CheckedSteps, { config: config })), shipment.status === 'completed' ? ((0, jsx_runtime_1.jsx)(CompletedIcon_1.CompletedIcon, { config: config, shipment: shipment })) : isSmaller(shipment.status, 'completed') ? ((0, jsx_runtime_1.jsx)(EmptyStep_1.EmptyStep, { text: config.text.completedLabel, stroke: config.style.color.iconTertiary })) : ((0, jsx_runtime_1.jsx)(CheckedStep_1.CheckedStep, { text: config.text.completedLabel, date: shipment.completed_at, config: config }))] }))) })));
isSmaller(shipment.status, 'in_transit') ? ((0, jsx_runtime_1.jsx)(SecondarySteps_1.SecondarySteps, { config: config })) : ((0, jsx_runtime_1.jsx)(CheckedSteps_1.CheckedSteps, { config: config })), shipment.status === 'completed' ? ((0, jsx_runtime_1.jsx)(CompletedIcon_1.CompletedIcon, { config: config, shipment: shipment })) : isSmaller(shipment.status, 'completed') ? ((0, jsx_runtime_1.jsx)(EmptyStep_1.EmptyStep, { text: config.text.completedLabel, stroke: config.style.color.iconTertiary })) : ((0, jsx_runtime_1.jsx)(CheckedStep_1.CheckedStep, { text: config.text.completedLabel, date: shipment.completed_at, config: config }))] })) }));
};
exports.TimelineDefault = TimelineDefault;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -73,4 +62,4 @@ exports.TimelineMinimal = void 0;

};
return ((0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__minimal__wrapper" }, { children: shipment.status === 'cancelled' || shipment.status === 'pending' ? (shipment.status === 'pending' ? ((0, jsx_runtime_1.jsx)(PendingIcon_1.PendingIcon, { config: config })) : ((0, jsx_runtime_1.jsx)(CancelledIcon_1.CancelledIcon, { config: config }))) : ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__minimal__divider" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__minimal__step" }, { children: (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__minimal__spacing" }, { children: [(0, jsx_runtime_1.jsx)(Step, { config: config, shipment: shipment, idx: 0 }), (0, jsx_runtime_1.jsx)(Step, { config: config, shipment: shipment, idx: 1 }), (0, jsx_runtime_1.jsx)(Step, { config: config, shipment: shipment, idx: 2 }), shipment.status === 'confirmed' && ((0, jsx_runtime_1.jsx)(ConfirmedIconBase_1.ConfirmedIconBase, { config: config })), shipment.status === 'collected' && ((0, jsx_runtime_1.jsx)(CollectedIconBase_1.CollectedIconBase, { config: config })), shipment.status === 'in_transit' && ((0, jsx_runtime_1.jsx)(InTransitIconBase_1.InTransitIconBase, { config: config })), shipment.status === 'completed' && ((0, jsx_runtime_1.jsx)(CompletedIconBase_1.CompletedIconBase, { config: config })), (0, jsx_runtime_1.jsx)(Step, { config: config, shipment: shipment, idx: 3 }), (0, jsx_runtime_1.jsx)(Step, { config: config, shipment: shipment, idx: 4 }), (0, jsx_runtime_1.jsx)(Step, { config: config, shipment: shipment, idx: 5 })] })) })), (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__timeline__status__text__wrapper" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__timeline__status__text__large" }, { children: config.text[labelMap[shipment.status]] })), (0, jsx_runtime_1.jsx)(SimpleDate_1.SimpleDate, { date: shipment[dateMap[shipment.status]], dateConfig: config.text.dates })] }))] }))) })));
return ((0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__minimal__wrapper", children: shipment.status === 'cancelled' || shipment.status === 'pending' ? (shipment.status === 'pending' ? ((0, jsx_runtime_1.jsx)(PendingIcon_1.PendingIcon, { config: config })) : ((0, jsx_runtime_1.jsx)(CancelledIcon_1.CancelledIcon, { config: config }))) : ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__minimal__divider", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__minimal__step", children: (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__minimal__spacing", children: [(0, jsx_runtime_1.jsx)(Step, { config: config, shipment: shipment, idx: 0 }), (0, jsx_runtime_1.jsx)(Step, { config: config, shipment: shipment, idx: 1 }), (0, jsx_runtime_1.jsx)(Step, { config: config, shipment: shipment, idx: 2 }), shipment.status === 'confirmed' && ((0, jsx_runtime_1.jsx)(ConfirmedIconBase_1.ConfirmedIconBase, { config: config })), shipment.status === 'collected' && ((0, jsx_runtime_1.jsx)(CollectedIconBase_1.CollectedIconBase, { config: config })), shipment.status === 'in_transit' && ((0, jsx_runtime_1.jsx)(InTransitIconBase_1.InTransitIconBase, { config: config })), shipment.status === 'completed' && ((0, jsx_runtime_1.jsx)(CompletedIconBase_1.CompletedIconBase, { config: config })), (0, jsx_runtime_1.jsx)(Step, { config: config, shipment: shipment, idx: 3 }), (0, jsx_runtime_1.jsx)(Step, { config: config, shipment: shipment, idx: 4 }), (0, jsx_runtime_1.jsx)(Step, { config: config, shipment: shipment, idx: 5 })] }) }), (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__timeline__status__text__wrapper", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__status__text__large", children: config.text[labelMap[shipment.status]] }), (0, jsx_runtime_1.jsx)(SimpleDate_1.SimpleDate, { date: shipment[dateMap[shipment.status]], dateConfig: config.text.dates })] })] })) }));
};
exports.TimelineMinimal = TimelineMinimal;
import { TrackingFullConfig } from '../../trackingConfig';
import './index.css';
interface TrackingDrawerProps {
shipmentId: string;
shipmentIds: string[];
config: TrackingFullConfig;

@@ -113,3 +113,3 @@ onClose: (e: any) => void;

}
export declare const TrackingDrawer: ({ shipmentId, config, onClose, }: TrackingDrawerProps) => import("preact").JSX.Element;
export declare const TrackingDrawer: ({ shipmentIds, config, onClose, }: TrackingDrawerProps) => import("preact").JSX.Element;
export {};
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

@@ -23,4 +12,4 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }

var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }

@@ -58,34 +47,27 @@ function step(op) {

var requests_1 = require("../../requests");
var ShipToFrom_1 = require("../ShipToFrom");
var Package_1 = require("../Package");
var Timeline_1 = require("../Timeline");
var TrackingTop_1 = require("../TrackingTop");
var DrawerFooter_1 = require("../DrawerFooter");
var DrawerInsurance_1 = require("../DrawerInsurance");
var Summary_1 = require("../Summary");
var ShipmentException_1 = require("../ShipmentException");
var PackageEvents_1 = require("../PackageEvents");
var TrackingShipment_1 = require("../TrackingShipment");
var SelectTrackingShipment_1 = require("../SelectTrackingShipment");
var TrackingDrawer = function (_a) {
var shipmentId = _a.shipmentId, config = _a.config, onClose = _a.onClose;
var shipmentIds = _a.shipmentIds, config = _a.config, onClose = _a.onClose;
var position = config.style.position;
var style = (0, helper_1.getTrackingStyle)(config);
var _b = (0, hooks_1.useState)(null), shipment = _b[0], setShipment = _b[1];
var _c = (0, hooks_1.useState)([]), packagesWithObjects = _c[0], setPackagesWithObjects = _c[1];
var _d = (0, hooks_1.useState)(null), packageId = _d[0], setPackageId = _d[1];
var hasActiveException = function (shipment) {
// TODO check with Dylan about status here
return (shipment.shipment_exceptions.some(function (ex) { return ex.status !== 'resolved'; }) &&
shipment.status !== 'completed');
};
var _b = (0, hooks_1.useState)(null), shipments = _b[0], setShipments = _b[1];
var _c = (0, hooks_1.useState)(null), selectedShipment = _c[0], setSelectedShipment = _c[1];
(0, hooks_1.useEffect)(function () {
(function () { return __awaiter(void 0, void 0, void 0, function () {
var ship;
var ships;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, (0, requests_1.loadShipment)(config, shipmentId)];
case 0: return [4 /*yield*/, Promise.all(shipmentIds.map(function (shipmentId) { return __awaiter(void 0, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, (0, requests_1.loadShipment)(config, shipmentId)];
case 1: return [2 /*return*/, _a.sent()];
}
});
}); }))];
case 1:
ship = _a.sent();
setShipment(ship);
//TODO should we ship.packages.filter(pkg => pkg.objects?.length)); ??
setPackagesWithObjects(ship.packages);
ships = _a.sent();
setShipments(ships);
return [2 /*return*/];

@@ -95,7 +77,11 @@ }

}); })();
}, [shipmentId]);
return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs" }, { children: [config.style.backdropEnabled && ((0, jsx_runtime_1.jsx)("div", { onClick: onClose, style: style, class: "artajs__drawer__backdrop" })), (0, jsx_runtime_1.jsx)("div", __assign({ style: style, class: "artajs__drawer ".concat(position === 'left'
}, [shipmentIds]);
return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)("div", { class: "artajs", children: [config.style.backdropEnabled && ((0, jsx_runtime_1.jsx)("div", { onClick: onClose, style: style, class: "artajs__drawer__backdrop" })), (0, jsx_runtime_1.jsx)("div", { style: style, class: "artajs__drawer ".concat(position === 'left'
? 'artajs__drawer__left'
: 'artajs__drawer__right') }, { children: (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__out__wrapper" }, { children: [(0, jsx_runtime_1.jsx)(DrawerHeader_1.DrawerHeader, { title: config.text.header.title, onClose: onClose }), shipment != null ? (packageId ? ((0, jsx_runtime_1.jsx)(PackageEvents_1.PackageEvents, { shipment: shipment, config: config, packageId: packageId, setPackageId: setPackageId })) : ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__body" }, { children: [(0, jsx_runtime_1.jsx)(Timeline_1.Timeline, { shipment: shipment, config: config }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__timeline__divider" }), hasActiveException(shipment) && ((0, jsx_runtime_1.jsx)(ShipmentException_1.ShipmentException, { shipment: shipment, config: config })), (0, jsx_runtime_1.jsx)(TrackingTop_1.TrackingTop, { config: config, shipment: shipment }), (0, jsx_runtime_1.jsx)(ShipToFrom_1.ShipToFrom, { config: config, shipment: shipment }), packagesWithObjects.map(function (pkg, index) { return ((0, jsx_runtime_1.jsx)(Package_1.Package, { title: "#".concat(index + 1), pkg: pkg, shipment: shipment, config: config, setPackageId: setPackageId })); }), shipment.insurance_policy != null && (0, jsx_runtime_1.jsx)(DrawerInsurance_1.DrawerInsurance, {}), (0, jsx_runtime_1.jsx)(Summary_1.Summary, { config: config, shipment: shipment }), (0, jsx_runtime_1.jsx)(DrawerFooter_1.DrawerFooter, {})] })))) : ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__body" }, { children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__drawer__loading" }), (0, jsx_runtime_1.jsx)(DrawerFooter_1.DrawerFooter, {})] })))] })) }))] })) }));
: 'artajs__drawer__right'), children: (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__out__wrapper", children: [(0, jsx_runtime_1.jsx)(DrawerHeader_1.DrawerHeader, { title: selectedShipment
? config.text.header.titleShipmentDetail
: shipments && shipments.length > 1
? config.text.header.titleShipmentList
: config.text.header.title, onClose: onClose, setSelectedShipment: setSelectedShipment, multiple: !!selectedShipment, config: config }), (shipments === null || shipments === void 0 ? void 0 : shipments.length) ? (shipments.length === 1 || selectedShipment ? ((0, jsx_runtime_1.jsx)(TrackingShipment_1.TrackingShipment, { shipment: selectedShipment !== null && selectedShipment !== void 0 ? selectedShipment : shipments[0], config: config })) : ((0, jsx_runtime_1.jsx)(SelectTrackingShipment_1.SelectTrackingShipment, { shipments: shipments, config: config, setSelectedShipment: setSelectedShipment }))) : ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__body", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__drawer__loading" }), (0, jsx_runtime_1.jsx)(DrawerFooter_1.DrawerFooter, {})] }))] }) })] }) }));
};
exports.TrackingDrawer = TrackingDrawer;

@@ -7,2 +7,6 @@ import type { TrackingConfig } from '../../trackingConfig';

}
export declare const getLabelAndDates: (shipment: Shipment, config: TrackingConfig) => {
label: string;
dates: Date[] | null;
};
export declare const TrackingTop: ({ shipment, config }: TrackingTopProps) => import("preact").JSX.Element;
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.TrackingTop = void 0;
exports.TrackingTop = exports.getLabelAndDates = void 0;
var jsx_runtime_1 = require("preact/jsx-runtime");
var Date_1 = require("../Date");
var TrackingTop = function (_a) {
var shipment = _a.shipment, config = _a.config;
var getLabelAndDates = function (shipment, config) {
if (shipment.status === 'completed') {
var getLabelAndDates = function (shipment, config) {
if (shipment.status === 'completed') {
return {
label: config.text.completedCTA,
dates: shipment.completed_at ? [new Date(shipment.completed_at)] : null,
};
}
if (shipment.status === 'cancelled') {
return {
label: config.text.cancelledMessage,
// TODO: maybe we want to check for cancelled_at here?
dates: null,
};
}
var start = shipment.delivery_start != null ? new Date(shipment.delivery_start) : null;
var end = shipment.delivery_end != null ? new Date(shipment.delivery_end) : null;
if (start == null && end == null) {
return {
label: config.text.checkBackLater,
dates: null,
};
}
if (start != null && end != null) {
if (start.toDateString() === end.toDateString()) {
return {
label: config.text.completedCTA,
dates: shipment.completed_at ? [new Date(shipment.completed_at)] : null,
};
}
if (shipment.status === 'cancelled') {
return {
label: config.text.cancelledMessage,
// TODO: maybe we want to check for cancelled_at here?
dates: null,
};
}
var start = shipment.delivery_start != null
? new Date(shipment.delivery_start)
: null;
var end = shipment.delivery_end != null ? new Date(shipment.delivery_end) : null;
if (start == null && end == null) {
return {
label: config.text.checkBackLater,
dates: null,
};
}
if (start != null && end != null) {
if (start.toDateString() === end.toDateString()) {
return {
label: config.text.inTransitCTAOnLabel,
dates: [start],
};
}
return {
label: config.text.inTransitCTABetweenLabel,
dates: [start, end],
};
}
if (start == null && end != null) {
return {
label: config.text.inTransitCTABeforeLabel,
dates: [end],
};
}
if (start != null && end == null) {
return {
label: config.text.inTransitCTAAfterLabel,
label: config.text.inTransitCTAOnLabel,
dates: [start],

@@ -68,10 +36,30 @@ };

return {
label: config.text.checkBackLater,
dates: null,
label: config.text.inTransitCTABetweenLabel,
dates: [start, end],
};
}
if (start == null && end != null) {
return {
label: config.text.inTransitCTABeforeLabel,
dates: [end],
};
}
if (start != null && end == null) {
return {
label: config.text.inTransitCTAAfterLabel,
dates: [start],
};
}
return {
label: config.text.checkBackLater,
dates: null,
};
var _b = getLabelAndDates(shipment, config), label = _b.label, dates = _b.dates;
};
exports.getLabelAndDates = getLabelAndDates;
var TrackingTop = function (_a) {
var shipment = _a.shipment, config = _a.config;
var _b = (0, exports.getLabelAndDates)(shipment, config), label = _b.label, dates = _b.dates;
var parsedDates = dates === null || dates === void 0 ? void 0 : dates.map(Date_1.parseStringDate);
return ((0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__top__wrapper" }, { children: (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__top__divider" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__top__cta" }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__top__text" }, { children: label })) })), parsedDates != null && parsedDates.length === 1 && ((0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__top__date__wrapper" }, { children: (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__top__date__aligner" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__top__date__day" }, { children: "".concat(config.text.dates.weekdays[parsedDates[0].weekday], ", ").concat(config.text.dates.months[parsedDates[0].month]) })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__top__date__day__numeric" }, { children: "".concat(parsedDates[0].day).padStart(2, '0') }))] })) }))), parsedDates != null && parsedDates.length === 2 && ((0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__top__date__wrapper" }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__top__date__aligner" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__top__date__day" }, { children: "".concat(config.text.dates.weekdays[parsedDates[0].weekday], ", ").concat(config.text.dates.months[parsedDates[0].month]) })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__top__date__day__numeric" }, { children: "".concat(parsedDates[0].day).padStart(2, '0') }))] })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__top__date__aligner" }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajas__tracking__top__date__and" }, { children: config.text.inTransitCTAAndLabel })) })), (0, jsx_runtime_1.jsxs)("div", __assign({ class: "artajs__tracking__top__date__aligner" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__top__date__day" }, { children: "".concat(config.text.dates.weekdays[parsedDates[1].weekday], ", ").concat(config.text.dates.months[parsedDates[1].month]) })), (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__tracking__top__date__day__numeric" }, { children: "".concat(parsedDates[1].day).padStart(2, '0') }))] }))] })))] })) })));
return ((0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__top__wrapper", children: (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__top__divider", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__top__cta", children: (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__top__text", children: label }) }), parsedDates != null && parsedDates.length === 1 && ((0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__top__date__wrapper", children: (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__top__date__aligner", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__top__date__day", children: "".concat(config.text.dates.weekdays[parsedDates[0].weekday], ", ").concat(config.text.dates.months[parsedDates[0].month]) }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__top__date__day__numeric", children: "".concat(parsedDates[0].day).padStart(2, '0') })] }) })), parsedDates != null && parsedDates.length === 2 && ((0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__top__date__wrapper", children: [(0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__top__date__aligner", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__top__date__day", children: "".concat(config.text.dates.weekdays[parsedDates[0].weekday], ", ").concat(config.text.dates.months[parsedDates[0].month]) }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__top__date__day__numeric", children: "".concat(parsedDates[0].day).padStart(2, '0') })] }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__top__date__aligner", children: (0, jsx_runtime_1.jsx)("div", { class: "artajas__tracking__top__date__and", children: config.text.inTransitCTAAndLabel }) }), (0, jsx_runtime_1.jsxs)("div", { class: "artajs__tracking__top__date__aligner", children: [(0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__top__date__day", children: "".concat(config.text.dates.weekdays[parsedDates[1].weekday], ", ").concat(config.text.dates.months[parsedDates[1].month]) }), (0, jsx_runtime_1.jsx)("div", { class: "artajs__tracking__top__date__day__numeric", children: "".concat(parsedDates[1].day).padStart(2, '0') })] })] }))] }) }));
};
exports.TrackingTop = TrackingTop;

@@ -12,4 +12,4 @@ "use strict";

var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }

@@ -16,0 +16,0 @@ function step(op) {

@@ -47,3 +47,3 @@ "use strict";

var getFullEstimateConfig = function (artaConfig, estimateConfig) {
var finalConfig = (0, helper_1.nestedObjectAssign)((0, helper_1.deepClone)(exports.defaultEstimateConfig), artaConfig, estimateConfig);
var finalConfig = (0, helper_1.nestedObjectAssign)((0, helper_1.deepClone)(exports.defaultEstimateConfig), artaConfig, (0, helper_1.deepClean)(estimateConfig));
(0, helper_1.applySmallMobileStyling)(finalConfig);

@@ -50,0 +50,0 @@ return finalConfig;

@@ -51,2 +51,8 @@ import { DestinationFullTextConfig } from './components/Destination';

'--animationIn': string;
'--button-background': string;
'--button-background-hover': string;
'--button-border': string;
'--button-text': string;
'--button-text-hover': string;
'--button-border-hover': string;
};

@@ -58,3 +64,4 @@ export declare function isSmallMobile(): boolean;

} : T;
export declare function deepClean<T extends object>(obj?: T): T | undefined;
export declare function nestedObjectAssign(target: any, ...sources: any[]): any;
export declare function deepClone<T>(obj: T): T;

@@ -14,3 +14,8 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.deepClone = exports.nestedObjectAssign = exports.applySmallMobileStyling = exports.isSmallMobile = exports.getTrackingStyle = exports.getEstimateStyle = exports.getDestinationConfig = exports.getDisqualifiedConfig = exports.getQuoteConfig = exports.parseErrors = exports.parseEstimatedLocation = void 0;
exports.getTrackingStyle = exports.getEstimateStyle = exports.getDestinationConfig = exports.getDisqualifiedConfig = exports.getQuoteConfig = exports.parseErrors = exports.parseEstimatedLocation = void 0;
exports.isSmallMobile = isSmallMobile;
exports.applySmallMobileStyling = applySmallMobileStyling;
exports.deepClean = deepClean;
exports.nestedObjectAssign = nestedObjectAssign;
exports.deepClone = deepClone;
var parseEstimatedLocation = function (loc) {

@@ -100,2 +105,8 @@ if (!loc) {

'--animationIn': getAnimationStyleIn(config.animation.in, config),
'--button-background': config.style.color.buttonBackground,
'--button-background-hover': config.style.color.buttonBackgroundHover,
'--button-border': config.style.color.buttonBorder,
'--button-text': config.style.color.buttonText,
'--button-text-hover': config.style.color.buttonTextHover,
'--button-border-hover': config.style.color.buttonBorderHover,
};

@@ -120,3 +131,2 @@ };

}
exports.isSmallMobile = isSmallMobile;
function applySmallMobileStyling(finalConfig) {

@@ -129,3 +139,24 @@ if (isSmallMobile()) {

}
exports.applySmallMobileStyling = applySmallMobileStyling;
function deepClean(obj) {
if (typeof obj !== 'object' || obj === null) {
return obj;
}
var cleanedObj = Object.entries(obj).reduce(function (acc, _a) {
var key = _a[0], value = _a[1];
if (value === null || value === undefined) {
return acc;
}
if (typeof value === 'object' && !Array.isArray(value)) {
var cleanedValue = deepClean(value);
if (Object.keys(cleanedValue).length > 0) {
acc[key] = cleanedValue;
}
}
else {
acc[key] = value;
}
return acc;
}, {});
return cleanedObj;
}
function nestedObjectAssign(target) {

@@ -153,6 +184,4 @@ var sources = [];

}
exports.nestedObjectAssign = nestedObjectAssign;
function deepClone(obj) {
return JSON.parse(JSON.stringify(obj));
}
exports.deepClone = deepClone;

@@ -11,2 +11,2 @@ "use strict";

ModalStatus[ModalStatus["QUOTED"] = 4] = "QUOTED";
})(ModalStatus = exports.ModalStatus || (exports.ModalStatus = {}));
})(ModalStatus || (exports.ModalStatus = ModalStatus = {}));

@@ -23,4 +23,4 @@ "use strict";

var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }

@@ -50,2 +50,11 @@ function step(op) {

};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
if (ar || !(i in from)) {
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
ar[i] = from[i];
}
}
return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -78,6 +87,10 @@ exports.loadPackageEvents = exports.validateShipment = exports.loadShipment = exports.validateEstimateBody = exports.loadQuoteRequests = exports.loadHostedSessions = void 0;

};
var artaRequest = function (path, config, body, headers, method) {
if (method === void 0) { method = 'POST'; }
return __awaiter(void 0, void 0, void 0, function () {
var artaRequest = function (path_1, config_1, body_1, headers_1) {
var args_1 = [];
for (var _i = 4; _i < arguments.length; _i++) {
args_1[_i - 4] = arguments[_i];
}
return __awaiter(void 0, __spreadArray([path_1, config_1, body_1, headers_1], args_1, true), void 0, function (path, config, body, headers, method) {
var schema, res, resBody, err;
if (method === void 0) { method = 'POST'; }
return __generator(this, function (_a) {

@@ -84,0 +97,0 @@ switch (_a.label) {

import type { TrackingFullConfig } from './trackingConfig';
export default class Tracking {
private readonly shipmentId;
private readonly shipmentIdOrIds;
private readonly config;

@@ -8,4 +8,5 @@ private readonly el;

isOpen: boolean;
private shipmentIds;
private fadeOut;
constructor(shipmentId: string, config: TrackingFullConfig, el: HTMLDivElement);
constructor(shipmentIdOrIds: string | string[], config: TrackingFullConfig, el: HTMLDivElement);
open(): void;

@@ -12,0 +13,0 @@ private render;

@@ -12,4 +12,4 @@ "use strict";

var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }

@@ -44,5 +44,6 @@ function step(op) {

var requests_1 = require("./requests");
var SHIPMENT_LIMIT_IDX = 100;
var Tracking = /** @class */ (function () {
function Tracking(shipmentId, config, el) {
this.shipmentId = shipmentId;
function Tracking(shipmentIdOrIds, config, el) {
this.shipmentIdOrIds = shipmentIdOrIds;
this.config = config;

@@ -52,2 +53,3 @@ this.el = el;

this.isOpen = false;
this.shipmentIds = [];
this.fadeOut = {

@@ -69,2 +71,19 @@ fade: {

};
if (Array.isArray(this.shipmentIdOrIds)) {
if (this.shipmentIdOrIds.length === 0) {
throw new Error('Shipment id array is empty');
}
if (this.shipmentIdOrIds.some(function (shipmentId) { return typeof shipmentId !== 'string'; })) {
throw new Error('Shipment id array contains non-string values');
}
if (this.shipmentIdOrIds.some(function (shipmentId) { return shipmentId.length === 0; })) {
throw new Error('Shipment id array contains empty strings');
}
if (this.shipmentIdOrIds.length > SHIPMENT_LIMIT_IDX) {
throw new Error("Shipment id array contains more than ".concat(SHIPMENT_LIMIT_IDX, " shipment ids"));
}
}
this.shipmentIds = Array.isArray(this.shipmentIdOrIds)
? this.shipmentIdOrIds
: [this.shipmentIdOrIds];
}

@@ -77,3 +96,3 @@ Tracking.prototype.open = function () {

var _a;
(0, preact_1.render)((0, jsx_runtime_1.jsx)(TrackingDrawer_1.TrackingDrawer, { shipmentId: this.shipmentId, config: this.config, onClose: (_a = this.config.onClose) !== null && _a !== void 0 ? _a : this.onClose.bind(this) }), this.el);
(0, preact_1.render)((0, jsx_runtime_1.jsx)(TrackingDrawer_1.TrackingDrawer, { shipmentIds: this.shipmentIds, config: this.config, onClose: (_a = this.config.onClose) !== null && _a !== void 0 ? _a : this.onClose.bind(this) }), this.el);
};

@@ -108,11 +127,35 @@ Tracking.prototype.close = function () {

return __awaiter(this, void 0, void 0, function () {
var errors;
var shipmentIdsOrErrors, newShipmentIds, _i, shipmentIdsOrErrors_1, shipmentIdOrError;
var _this = this;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, (0, requests_1.validateShipment)(this.config, this.shipmentId)];
case 0: return [4 /*yield*/, Promise.all(this.shipmentIds.map(function (shipmentId) { return __awaiter(_this, void 0, void 0, function () {
var errors;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, (0, requests_1.validateShipment)(this.config, shipmentId)];
case 1:
errors = _a.sent();
if (errors && Object.keys(errors).length > 0) {
return [2 /*return*/, errors];
}
return [2 /*return*/, shipmentId];
}
});
}); }))];
case 1:
errors = _a.sent();
if (errors && Object.keys(errors).length > 0) {
return [2 /*return*/, Promise.reject(errors)];
shipmentIdsOrErrors = _a.sent();
newShipmentIds = [];
for (_i = 0, shipmentIdsOrErrors_1 = shipmentIdsOrErrors; _i < shipmentIdsOrErrors_1.length; _i++) {
shipmentIdOrError = shipmentIdsOrErrors_1[_i];
if (typeof shipmentIdOrError === 'object') {
console.error('Shipment validation failed', shipmentIdOrError);
}
else {
newShipmentIds.push(shipmentIdOrError);
}
}
if (newShipmentIds.length === 0) {
return [2 /*return*/, Promise.reject('No valid shipment ids')];
}
this.isReady = true;

@@ -119,0 +162,0 @@ return [2 /*return*/];

import { ArtaJsFullConfig } from './arta';
import { DeepPartial } from './helper';
export interface DateConfig {
locale: Intl.LocalesArgument;
formatOptions: Intl.DateTimeFormatOptions;
weekdays: {

@@ -55,2 +57,8 @@ sunday: string;

exceptionIcon: string;
buttonBackground: string;
buttonBackgroundHover: string;
buttonBorder: string;
buttonText: string;
buttonTextHover: string;
buttonBorderHover: string;
};

@@ -67,2 +75,4 @@ variant: 'default' | 'minimal';

title: string;
titleShipmentList: string;
titleShipmentDetail: string;
};

@@ -100,2 +110,4 @@ pendingLabel: string;

shipmentExceptionDefaultLabel: string;
viewShipmentDetailLabel: string;
viewShipmentsListLabel: string;
};

@@ -112,2 +124,6 @@ pill: {

expired: PillConfig;
cancelled: PillConfig;
collected: PillConfig;
completed: PillConfig;
confirmed: PillConfig;
};

@@ -114,0 +130,0 @@ animation: {

@@ -19,2 +19,8 @@ "use strict";

exceptionIcon: '#F59E0B',
buttonBackground: '#110F10',
buttonBackgroundHover: '#6F6C65',
buttonBorder: '#110F10',
buttonText: '#FFFFFF',
buttonTextHover: '#FFFFFF',
buttonBorderHover: '#110F10',
},

@@ -31,2 +37,4 @@ variant: 'default',

title: 'Track Shipment',
titleShipmentList: 'Shipments List',
titleShipmentDetail: 'Shipment Detail',
},

@@ -63,3 +71,7 @@ pendingLabel: 'Pending',

shipmentExceptionDefaultLabel: 'There is an exception with this shipment.',
viewShipmentDetailLabel: 'View Details',
viewShipmentsListLabel: '< All Shipments',
dates: {
locale: navigator.language,
formatOptions: { dateStyle: 'medium' },
weekdays: {

@@ -136,2 +148,22 @@ sunday: 'Sun',

},
cancelled: {
textColor: '#772424',
backgroundColor: '#FEF9F9',
text: 'Cancelled',
},
collected: {
textColor: '#173E2A',
backgroundColor: '#D6EDE1',
text: 'Collected',
},
completed: {
textColor: '#173E2A',
backgroundColor: '#D6EDE1',
text: 'Completed',
},
confirmed: {
textColor: '#173E2A',
backgroundColor: '#D6EDE1',
text: 'Confirmed',
},
},

@@ -148,4 +180,10 @@ animation: {

var getFullTrackingConfig = function (artaConfig, trackingConfig) {
return (0, helper_1.nestedObjectAssign)((0, helper_1.deepClone)(exports.defaultTrackingConfig), artaConfig, trackingConfig);
var _a, _b, _c;
var merged = (0, helper_1.nestedObjectAssign)((0, helper_1.deepClone)(exports.defaultTrackingConfig), artaConfig, (0, helper_1.deepClean)(trackingConfig));
// Do not merge the default formatOptions: { dateStyle: 'medium' }, as it will override
// the object property if none is passed which can lead to formatLocaleString to throw
merged.text.dates.formatOptions =
(_c = (_b = (_a = trackingConfig === null || trackingConfig === void 0 ? void 0 : trackingConfig.text) === null || _a === void 0 ? void 0 : _a.dates) === null || _b === void 0 ? void 0 : _b.formatOptions) !== null && _c !== void 0 ? _c : exports.defaultTrackingConfig.text.dates.formatOptions;
return merged;
};
exports.getFullTrackingConfig = getFullTrackingConfig;
{
"name": "@artaio/arta-browser",
"version": "2.15.1",
"version": "2.16.0-clean-undefined-null-propsaa061c1ef3f43fb25615273ce38dbee6d9d9d74f",
"description": "",

@@ -30,3 +30,3 @@ "source": "lib/index.ts",

"prettier": "2.7.1",
"typescript": "^4.8.4",
"typescript": "^5.7.2",
"typescript-plugin-css-modules": "^4.1.1"

@@ -33,0 +33,0 @@ },

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc