@artaio/arta-browser 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/MetadataTypes.d.ts +110 -0
- package/dist/MetadataTypes.js +2 -0
- package/dist/ModalStatus.d.ts +7 -0
- package/dist/ModalStatus.js +11 -0
- package/dist/arta.d.ts +14 -0
- package/dist/arta.js +45 -0
- package/dist/bundle.js +1 -0
- package/dist/components/Destination/countriesWithoutPostalCode.d.ts +1 -0
- package/dist/components/Destination/countriesWithoutPostalCode.js +64 -0
- package/dist/components/Destination/index.d.ts +26 -0
- package/dist/components/Destination/index.js +59 -0
- package/dist/components/Disqualified/index.d.ts +28 -0
- package/dist/components/Disqualified/index.js +35 -0
- package/dist/components/Footer/index.d.ts +6 -0
- package/dist/components/Footer/index.js +20 -0
- package/dist/components/Header/index.d.ts +6 -0
- package/dist/components/Header/index.js +20 -0
- package/dist/components/Loading/index.d.ts +5 -0
- package/dist/components/Loading/index.js +20 -0
- package/dist/components/Modal/index.css +738 -0
- package/dist/components/Modal/index.d.ts +9 -0
- package/dist/components/Modal/index.js +133 -0
- package/dist/components/Quotes/currencies.d.ts +6 -0
- package/dist/components/Quotes/currencies.js +25 -0
- package/dist/components/Quotes/index.d.ts +33 -0
- package/dist/components/Quotes/index.js +51 -0
- package/dist/estimate.d.ts +11 -0
- package/dist/estimate.js +72 -0
- package/dist/estimateConfig.d.ts +52 -0
- package/dist/estimateConfig.js +77 -0
- package/dist/fixtures/countries.d.ts +6 -0
- package/dist/fixtures/countries.js +250 -0
- package/dist/helper.d.ts +23 -0
- package/dist/helper.js +71 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +28 -0
- package/dist/requests.d.ts +25 -0
- package/dist/requests.js +152 -0
- package/dist/typing.d.ts +1 -0
- package/dist/typing.js +1 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# arta-browser
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
export type Nullable<T> = T | null;
|
|
2
|
+
export type NullableString = Nullable<string>;
|
|
3
|
+
export type AdditionalService = 'assembly' | 'debris_disposal' | 'deinstallation' | 'destination_additional_labor' | 'destination_building_coi' | 'destination_condition_check' | 'destination_full_condition_report' | 'destination_unpacking' | 'double_blind_bols' | 'installation' | 'origin_building_coi' | 'origin_condition_check' | 'origin_full_condition_report' | 'placement' | 'signature_delivery' | 'tarmac_supervision';
|
|
4
|
+
export type AccessRestriction = 'elevator_only' | 'freight_elevator' | 'loading_dock' | 'loading_dock_low' | 'low_clearance' | 'non_paved' | 'stairs_only' | 'steep_gradient';
|
|
5
|
+
export type Insurance = 'arta_transit_insurance' | 'no_arta_insurance';
|
|
6
|
+
export type PaymentProcessType = 'checkout' | 'checkout_direct' | 'invoicing';
|
|
7
|
+
export type QuoteType = 'parcel' | 'premium' | 'select' | 'self_ship';
|
|
8
|
+
export type QuoteRequestStatus = 'cancelled' | 'closed' | 'disqualified' | 'expired' | 'in_progress' | 'pending' | 'quoted';
|
|
9
|
+
export type EmailNotificationId = 'booking' | 'cancelled' | 'collected' | 'collection' | 'complete' | 'custom_quoted_dashboard' | 'in_transit' | 'invoice' | 'self_ship_label' | 'payment' | 'scheduling' | 'eei';
|
|
10
|
+
export type Recipients = 'payer' | 'origin' | 'destination';
|
|
11
|
+
export type MimeType = 'application/pdf' | 'application/vnd.ms-excel' | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' | 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' | 'image/jpeg' | 'image/png' | 'text/csv' | 'video/mp4' | 'video/quicktime' | 'application/msword';
|
|
12
|
+
export type DocumentType = 'bill_of_lading' | 'certificate_of_insurance' | 'certificate_of_insurance_template' | 'condition_report' | 'condition_check' | 'image' | 'instructions' | 'airway_bill' | 'commercial_invoice' | 'power_of_attorney' | 'proof_of_export' | 'proof_of_delivery' | 'quote' | 'shipping_label' | 'other';
|
|
13
|
+
export type PackingType = 'alcohol_case' | 'blanket' | 'box' | 'cbin_closed' | 'cbin_open' | 'crate' | 'foam_lined_box' | 'frame' | 'lockbox' | 'no_packing' | 'pallet' | 'portfolio' | 'rug_roll' | 'shadow_box' | 'slipcase' | 'soft_packing' | 'soft_wrap' | 'sonotube' | 'stabilizing_box' | 'tube';
|
|
14
|
+
export type PackingSubType = 'alcohol_case' | 'lay_flat_wine_box' | 'blanket' | 'wardrobe_box' | 'cardboard_box' | 'chandelier_box' | 'chair_box' | 'cbin_closed' | 'cbin_open' | 'ply_box' | 'fine_art_econo_crate' | 'fine_art_international_crate' | 'econo_crate' | 'international_econo_crate' | 'furniture_crate' | 'international_furniture_crate' | 'parcel_crate' | 'museum_crate' | 'international_museum_crate' | 'foam_lined_box' | 'cavity_box' | 'strongbox' | 'double_box' | 'travel_frame' | 'travel_frame_art' | 'travel_frame_other' | 'a_frame' | 'slat_crate' | 'tri_wall_crate' | 'lockbox' | 'no_packing' | 'pallet' | 'international_pallet' | 'portfolio' | 'rug_rolled' | 'shadow_box' | 'slipcase' | 'slipcase_glass_tape' | 'poly_cardboard' | 'bubble_cardboard' | 'garment_bag' | 'poly_only' | 'dartek_only' | 'bubble_only' | 'cling_wrap' | 'cbin_communal' | 'sonotube' | 'stabilizing_box' | 'shipping_tube_small' | 'shipping_tube_large';
|
|
15
|
+
export type ObjectType = 'art' | 'furniture' | 'jewelry' | 'decorative_arts' | 'collectibles' | 'alcohol' | 'automotive' | 'fashion' | 'other';
|
|
16
|
+
export type ObjectSubType = 'painting_unframed' | 'painting_framed' | 'painting_framed_plexi' | 'painting_framed_glass' | 'work_on_paper_unframed' | 'work_on_paper_framed' | 'work_on_paper_framed_plexi' | 'work_on_paper_framed_glass' | 'mixed_media_unframed' | 'mixed_media_framed' | 'mixed_media_framed_plexi' | 'mixed_media_framed_glass' | 'photograph_unframed' | 'photograph_framed' | 'photograph_framed_plexi' | 'photograph_framed_glass' | 'new_media' | 'sculpture' | 'pedestal' | 'pedestal_case_glass' | 'pedestal_case_plexi' | 'ceramic' | 'neon' | 'tapestry' | 'other_art' | 'table' | 'chair' | 'sofa_loveseat_chaise' | 'floor_lamp' | 'floor_lamp_shade' | 'table_lamp' | 'table_lamp_shade' | 'sconce' | 'ottoman' | 'bookcase_storage' | 'nightstand' | 'armoire_dresser' | 'carpet_rug' | 'mirror' | 'chandelier' | 'bedframe' | 'headboard' | 'desk_vanity' | 'media_console' | 'other_furniture' | 'earrings' | 'necklace' | 'bracelet' | 'ring' | 'brooch' | 'watch' | 'cufflinks' | 'eyeglasses' | 'set' | 'precious_stones' | 'snuff_box_cigarette_case' | 'other_jewelry' | 'vase_vessel' | 'bowl' | 'plaque' | 'object_of_vertu' | 'candelabra_candlestick' | 'dinnerware' | 'flatware' | 'glassware' | 'serveware' | 'porcelain_plate' | 'porcelain_bowl' | 'tabletop_accessory' | 'clock' | 'other_decorative_arts' | 'stamp' | 'book' | 'coin' | 'document_manuscript' | 'toy' | 'miniature_model' | 'figurine_doll' | 'neon_sign' | 'memorabilia' | 'camera_electrical' | 'other_collectibles' | 'wine_bottle' | 'spirits_bottle' | 'beer_bottle' | 'wine_case' | 'spirits_case' | 'beer_case' | 'wine_barrel' | 'spirits_barrel' | 'beer_barrel' | 'other_alcohols' | 'car' | 'motorcycle' | 'bus' | 'van' | 'limousine' | 'carriage' | 'trailer' | 'sidecar' | 'other_automotive' | 'clothing' | 'footwear' | 'handbag' | 'accessories' | 'other_fashion' | 'musical_instrument' | 'firearm_weapon' | 'hunting_fishing' | 'medical_equipment' | 'other';
|
|
17
|
+
export type ParcelTransportServices = 'economy' | 'economy_freight' | 'ground' | 'next_day_air' | 'priority' | 'priority_freight' | 'second_day_air' | 'standard';
|
|
18
|
+
export type WebhookDeliveryType = 'request.created' | 'request.status.updated' | 'shipment.created' | 'shipment.eei_form_status.updated' | 'shipment.schedule.updated' | 'shipment.status.updated' | 'shipment.tracking.updated' | 'ping';
|
|
19
|
+
export type ObjectMaterial = 'stone_marble' | 'precious_stones' | 'fiber_synthetic' | 'fabric_natural' | 'taxidermy' | 'carbon_fiber' | 'live_animal' | 'paper' | 'glass' | 'presious_metals' | 'particleboard' | 'styrofoam' | 'wood' | 'photo_film' | 'sand' | 'metal' | 'plexiglass' | 'aquatic_life' | 'canvas' | 'drywall' | 'hard_plastic' | 'vinyl' | 'soft_plastic' | 'leather' | 'rubber' | 'concreate' | 'paint' | 'electronics' | 'fiber_natural' | 'gas' | 'fabric_synthetic' | 'CITES' | 'liquids' | 'salts';
|
|
20
|
+
export type ArtaTrackingServiceType = 'transport' | 'location' | 'handling' | 'packing' | 'storage' | 'administration' | 'taxes_duties_fees' | 'security' | 'equipment';
|
|
21
|
+
export type ArtaTrackingServiceSubType = 'specialized' | 'consolidated' | 'freight' | 'parcel' | 'collection' | 'delivery' | 'location' | 'unpacking' | 'condition' | 'installation' | 'deinstallation' | 'debris_disposal' | 'site_visit' | 'handling' | 'packing' | 'packing_materials' | 'receive_release' | 'warehouse' | 'customs' | 'coi' | 'administration' | 'taxes_duties' | 'fees' | 'security' | 'equipment';
|
|
22
|
+
export type ArtaTrackingServiceSubSubType = 'armored_transport' | 'dedicated_transport' | 'specialized_shuttle' | 'road_groupage' | 'sea_groupage' | 'sea_freight' | 'ltl_freight' | 'ftl_freight' | 'air_freight' | 'cargo_air_freight' | 'parcel' | 'priority_freight' | 'economy_freight' | 'collection' | 'art_fair_collection' | 'residential_collection' | 'airport_collection' | 'port_collection' | 'dock_collection' | 'consolidated_collection' | 'failed_collection' | 'recollection' | 'delivery' | 'inside_delivery' | 'art_fair_delivery' | 'room_of_choice_delivery' | 'curbside_delivery' | 'residential_delivery' | 'signature_delivery' | 'saturday_delivery' | 'sunday_delivery' | 'scheduled_delivery' | 'after_hours_delivery' | 'airport_delivery' | 'port_delivery' | 'dock_delivery' | 'failed_delivery' | 'redelivery' | 'origin_additional_stops' | 'destination_additional_stops' | 'origin_off_route' | 'destination_off_route' | 'must_fly' | 'origin_unpacking_soft' | 'destination_unpacking_soft' | 'origin_unpacking_wood' | 'destination_unpacking_wood' | 'origin_unpacking' | 'destination_unpacking' | 'origin_full_condition_report' | 'destination_full_condition_report' | 'origin_condition_check' | 'destination_condition_check' | 'installation' | 'placement' | 'assembly' | 'deinstallation' | 'disassembly' | 'debris_disposal' | 'crate_disposal' | 'soft_packed_disposal' | 'origin_site_visit' | 'destination_site_visit' | 'origin_additional_labor' | 'destination_additional_labor' | 'airport_handling' | 'origin_oversized_handling' | 'destination_oversized_handling' | 'origin_additional_stairs' | 'destination_additional_stairs' | 'packing_labor' | 'crate_fabrication' | 't_frame_fabrication' | 'fabrication' | 'retrofitting' | 'additional_packing' | 'pack_into' | 'poly' | 'dartek' | 'bubble' | 'cling_wrap' | 'cbin_communal' | 'blanket' | 'portfolio' | 'poly_cardboard' | 'bubble_cardboard' | 'rug_rolled' | 'cbin_closed' | 'cbin_open' | 'garment_bag' | 'wardrobe_box' | 'cardboard_box' | 'chandelier_box' | 'chair_box' | 'slipcase' | 'glass_tape' | 'stabilizing_box' | 'shadow_box' | 'foam_lined_box' | 'cavity_box' | 'strongbox' | 'double_box' | 'shipping_tube_small' | 'shipping_tube_large' | 'sonotube' | 'alcohol_case' | 'lay_flat_wine_box' | 'lockbox' | 'travel_frame' | 'travel_frame_art' | 'travel_frame_other' | 'a_frame' | 'slat_crate' | 'tri_wall_crate' | 'ply_box' | 'fine_art_econo_crate' | 'fine_art_international_crate' | 'econo_crate' | 'international_econo_crate' | 'furniture_crate' | 'international_furniture_crate' | 'parcel_crate' | 'museum_crate' | 'international_museum_crate' | 'pallet' | 'international_pallet' | 'warehouse_handling' | 'receive_in_fee' | 'release_fee' | 'storage' | 'temp_storage' | 'viewing_room' | 'staging' | 'import_customs_formalities' | 'export_customs_formalities' | 'origin_building_coi' | 'destination_building_coi' | 'double_blind_bols' | 'power_of_attorney' | 'administrative' | 'mpf' | 'bond' | 'duties' | 'taxes' | 'disbursement' | 'temporary_customs_entry' | 'fuel_surcharge' | 'tarmac_supervision' | 'courier_onboard' | 'fork_lift' | 'gantry' | 'pallet_jack' | 'scaffolding' | 'rigging' | 'lift_gate' | 'ramp' | 'floor_protection';
|
|
23
|
+
export type DisqualificationReasonCode = 'external_service_unavailable' | 'client_timeout_reached';
|
|
24
|
+
export type PackageStatus = 'pending' | 'transit' | 'out_for_delivery' | 'delivered' | 'unknown' | 'notfound' | 'undelivered' | 'exception' | 'expired';
|
|
25
|
+
export type EEIFormStatus = 'pending' | 'cleared' | 'approved' | 'rejected' | 'submitted';
|
|
26
|
+
export type ShipmentStatus = 'pending' | 'confirmed' | 'collected' | 'in_transit' | 'completed';
|
|
27
|
+
export type WebhookResourceType = 'ping' | 'request' | 'shipment';
|
|
28
|
+
export type WebhookDeliveryStatus = 'delivered' | 'failed';
|
|
29
|
+
export type PaymentContext = 'hosted_checkout' | 'invoiced';
|
|
30
|
+
export type SupportedCurrency = 'CAD' | 'EUR' | 'GBP' | 'HKD' | 'USD';
|
|
31
|
+
export type AuthTypes = 'api_key';
|
|
32
|
+
export type APIStatus = 'active' | 'beta' | 'deprecated';
|
|
33
|
+
export interface Contact {
|
|
34
|
+
name: string;
|
|
35
|
+
email_address?: NullableString;
|
|
36
|
+
phone_number?: NullableString;
|
|
37
|
+
}
|
|
38
|
+
export interface ArtaLocation {
|
|
39
|
+
access_restrictions?: Nullable<AccessRestriction[]>;
|
|
40
|
+
address_line_1?: NullableString;
|
|
41
|
+
address_line_2?: NullableString;
|
|
42
|
+
address_line_3?: NullableString;
|
|
43
|
+
city?: NullableString;
|
|
44
|
+
region?: NullableString;
|
|
45
|
+
postal_code?: NullableString;
|
|
46
|
+
country: string;
|
|
47
|
+
title?: NullableString;
|
|
48
|
+
contacts?: Nullable<Contact[]>;
|
|
49
|
+
estimated_country?: string;
|
|
50
|
+
estimated_region?: string;
|
|
51
|
+
estimated_city?: string;
|
|
52
|
+
}
|
|
53
|
+
export type Details = {
|
|
54
|
+
materials?: Nullable<ObjectMaterial[]>;
|
|
55
|
+
creation_date?: NullableString;
|
|
56
|
+
creator?: NullableString;
|
|
57
|
+
notes?: NullableString;
|
|
58
|
+
title?: NullableString;
|
|
59
|
+
is_fragile?: Nullable<boolean>;
|
|
60
|
+
is_cites?: Nullable<boolean>;
|
|
61
|
+
};
|
|
62
|
+
export interface ArtaObject {
|
|
63
|
+
internal_reference?: NullableString;
|
|
64
|
+
current_packing?: Nullable<PackingSubType[]>;
|
|
65
|
+
details?: Nullable<Details>;
|
|
66
|
+
height: number | string;
|
|
67
|
+
width: number | string;
|
|
68
|
+
weight?: Nullable<number | string>;
|
|
69
|
+
value: number | string;
|
|
70
|
+
depth?: Nullable<number | string>;
|
|
71
|
+
images?: Nullable<string[]>;
|
|
72
|
+
public_reference?: string;
|
|
73
|
+
subtype: ObjectSubType;
|
|
74
|
+
unit_of_measurement?: NullableString;
|
|
75
|
+
weight_unit?: NullableString;
|
|
76
|
+
value_currency: SupportedCurrency;
|
|
77
|
+
}
|
|
78
|
+
export interface Disqualification {
|
|
79
|
+
quote_types: QuoteType[];
|
|
80
|
+
reason?: NullableString;
|
|
81
|
+
reason_code: DisqualificationReasonCode;
|
|
82
|
+
}
|
|
83
|
+
export interface InsurancePolicy {
|
|
84
|
+
amount: number;
|
|
85
|
+
amount_currency: SupportedCurrency;
|
|
86
|
+
id: string;
|
|
87
|
+
insured_value: number;
|
|
88
|
+
insured_value_currency: SupportedCurrency;
|
|
89
|
+
}
|
|
90
|
+
export interface ArtaService {
|
|
91
|
+
amount: number;
|
|
92
|
+
amount_currency: SupportedCurrency;
|
|
93
|
+
included_services: ArtaService[];
|
|
94
|
+
is_requested: boolean;
|
|
95
|
+
is_required: boolean;
|
|
96
|
+
name: string;
|
|
97
|
+
sub_subtype: ArtaTrackingServiceSubSubType;
|
|
98
|
+
subtype: ArtaTrackingServiceSubType;
|
|
99
|
+
type: ArtaTrackingServiceType;
|
|
100
|
+
}
|
|
101
|
+
export interface Quote {
|
|
102
|
+
id: number;
|
|
103
|
+
included_services: ArtaService[];
|
|
104
|
+
included_insurance_policy?: Nullable<InsurancePolicy>;
|
|
105
|
+
optional_services: ArtaService[];
|
|
106
|
+
quote_type: QuoteType;
|
|
107
|
+
status: string;
|
|
108
|
+
total: number;
|
|
109
|
+
total_currency: SupportedCurrency;
|
|
110
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ModalStatus = void 0;
|
|
4
|
+
var ModalStatus;
|
|
5
|
+
(function (ModalStatus) {
|
|
6
|
+
ModalStatus[ModalStatus["CLOSED"] = 0] = "CLOSED";
|
|
7
|
+
ModalStatus[ModalStatus["DISQUALIFIED"] = 1] = "DISQUALIFIED";
|
|
8
|
+
ModalStatus[ModalStatus["LOADING"] = 2] = "LOADING";
|
|
9
|
+
ModalStatus[ModalStatus["OPEN"] = 3] = "OPEN";
|
|
10
|
+
ModalStatus[ModalStatus["QUOTED"] = 4] = "QUOTED";
|
|
11
|
+
})(ModalStatus = exports.ModalStatus || (exports.ModalStatus = {}));
|
package/dist/arta.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EstimateBody, EstimateConfig } from './estimateConfig';
|
|
2
|
+
import Estimate from './estimate';
|
|
3
|
+
export interface ArtaJsConfig {
|
|
4
|
+
host: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ArtaJsFullConfig extends ArtaJsConfig {
|
|
7
|
+
apiKey: string;
|
|
8
|
+
}
|
|
9
|
+
export default class Arta {
|
|
10
|
+
private el;
|
|
11
|
+
private config;
|
|
12
|
+
init(apiKey: string, config?: Partial<ArtaJsConfig>): void;
|
|
13
|
+
estimate(estimateBody: EstimateBody, esimateConfig?: Partial<EstimateConfig>): Estimate;
|
|
14
|
+
}
|
package/dist/arta.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
var estimateConfig_1 = require("./estimateConfig");
|
|
18
|
+
var estimate_1 = __importDefault(require("./estimate"));
|
|
19
|
+
var defaultConfig = {
|
|
20
|
+
host: 'api.arta.io',
|
|
21
|
+
};
|
|
22
|
+
var Arta = /** @class */ (function () {
|
|
23
|
+
function Arta() {
|
|
24
|
+
}
|
|
25
|
+
Arta.prototype.init = function (apiKey, config) {
|
|
26
|
+
this.config = Object.assign(__assign(__assign({}, defaultConfig), { apiKey: apiKey }), config);
|
|
27
|
+
if (document.querySelectorAll('#arta-widget').length) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
this.el = document.createElement('div');
|
|
31
|
+
this.el.id = 'arta-widget';
|
|
32
|
+
document.body.appendChild(this.el);
|
|
33
|
+
};
|
|
34
|
+
Arta.prototype.estimate = function (estimateBody, esimateConfig) {
|
|
35
|
+
if (this.config && this.el) {
|
|
36
|
+
var fullEstimateConfig = (0, estimateConfig_1.getFullConfig)(this.config, esimateConfig);
|
|
37
|
+
return new estimate_1.default(estimateBody, fullEstimateConfig, this.el);
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
throw new Error('Please initialize the SDK with Arta.init before creating estimates');
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
return Arta;
|
|
44
|
+
}());
|
|
45
|
+
exports.default = Arta;
|
package/dist/bundle.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):(e||self).artaBrowser=a()}(this,function(){function e(){return e=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var t in o)Object.prototype.hasOwnProperty.call(o,t)&&(e[t]=o[t])}return e},e.apply(this,arguments)}var a,o,t,_,r,n={},l=[],i=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function d(e,a){for(var o in a)e[o]=a[o];return e}function s(e){var a=e.parentNode;a&&a.removeChild(e)}function c(e,a,_,r,n){var l={type:e,props:a,key:_,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==n?++t:n};return null==n&&null!=o.vnode&&o.vnode(l),l}function m(e){return e.children}function u(e,a){this.props=e,this.context=a}function p(e,a){if(null==a)return e.__?p(e.__,e.__.__k.indexOf(e)+1):null;for(var o;a<e.__k.length;a++)if(null!=(o=e.__k[a])&&null!=o.__e)return o.__e;return"function"==typeof e.type?p(e):null}function f(e){var a,o;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,a=0;a<e.__k.length;a++)if(null!=(o=e.__k[a])&&null!=o.__e){e.__e=e.__c.base=o.__e;break}return f(e)}}function h(e){(!e.__d&&(e.__d=!0)&&_.push(e)&&!j.__r++||r!==o.debounceRendering)&&((r=o.debounceRendering)||setTimeout)(j)}function j(){for(var e;j.__r=_.length;)e=_.sort(function(e,a){return e.__v.__b-a.__v.__b}),_=[],e.some(function(e){var a,o,t,_,r,n;e.__d&&(r=(_=(a=e).__v).__e,(n=a.__P)&&(o=[],(t=d({},_)).__v=_.__v+1,k(n,_,t,a.__n,void 0!==n.ownerSVGElement,null!=_.__h?[r]:null,o,null==r?p(_):r,_.__h),L(o,_),_.__e!=r&&f(_)))})}function x(e,a,o,t,_,r,i,d,s,u){var f,h,j,x,g,y,C,w=t&&t.__k||l,L=w.length;for(o.__k=[],f=0;f<a.length;f++)if(null!=(x=o.__k[f]=null==(x=a[f])||"boolean"==typeof x?null:"string"==typeof x||"number"==typeof x||"bigint"==typeof x?c(null,x,null,null,x):Array.isArray(x)?c(m,{children:x},null,null,null):x.__b>0?c(x.type,x.props,x.key,x.ref?x.ref:null,x.__v):x)){if(x.__=o,x.__b=o.__b+1,null===(j=w[f])||j&&x.key==j.key&&x.type===j.type)w[f]=void 0;else for(h=0;h<L;h++){if((j=w[h])&&x.key==j.key&&x.type===j.type){w[h]=void 0;break}j=null}k(e,x,j=j||n,_,r,i,d,s,u),g=x.__e,(h=x.ref)&&j.ref!=h&&(C||(C=[]),j.ref&&C.push(j.ref,null,x),C.push(h,x.__c||g,x)),null!=g?(null==y&&(y=g),"function"==typeof x.type&&x.__k===j.__k?x.__d=s=b(x,s,e):s=v(e,x,j,w,g,s),"function"==typeof o.type&&(o.__d=s)):s&&j.__e==s&&s.parentNode!=e&&(s=p(j))}for(o.__e=y,f=L;f--;)null!=w[f]&&A(w[f],w[f]);if(C)for(f=0;f<C.length;f++)M(C[f],C[++f],C[++f])}function b(e,a,o){for(var t,_=e.__k,r=0;_&&r<_.length;r++)(t=_[r])&&(t.__=e,a="function"==typeof t.type?b(t,a,o):v(o,t,t,_,t.__e,a));return a}function v(e,a,o,t,_,r){var n,l,i;if(void 0!==a.__d)n=a.__d,a.__d=void 0;else if(null==o||_!=r||null==_.parentNode)e:if(null==r||r.parentNode!==e)e.appendChild(_),n=null;else{for(l=r,i=0;(l=l.nextSibling)&&i<t.length;i+=1)if(l==_)break e;e.insertBefore(_,r),n=r}return void 0!==n?n:_.nextSibling}function g(e,a,o){"-"===a[0]?e.setProperty(a,o):e[a]=null==o?"":"number"!=typeof o||i.test(a)?o:o+"px"}function y(e,a,o,t,_){var r;e:if("style"===a)if("string"==typeof o)e.style.cssText=o;else{if("string"==typeof t&&(e.style.cssText=t=""),t)for(a in t)o&&a in o||g(e.style,a,"");if(o)for(a in o)t&&o[a]===t[a]||g(e.style,a,o[a])}else if("o"===a[0]&&"n"===a[1])r=a!==(a=a.replace(/Capture$/,"")),a=a.toLowerCase()in e?a.toLowerCase().slice(2):a.slice(2),e.l||(e.l={}),e.l[a+r]=o,o?t||e.addEventListener(a,r?w:C,r):e.removeEventListener(a,r?w:C,r);else if("dangerouslySetInnerHTML"!==a){if(_)a=a.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==a&&"list"!==a&&"form"!==a&&"tabIndex"!==a&&"download"!==a&&a in e)try{e[a]=null==o?"":o;break e}catch(e){}"function"==typeof o||(null==o||!1===o&&-1==a.indexOf("-")?e.removeAttribute(a):e.setAttribute(a,o))}}function C(e){this.l[e.type+!1](o.event?o.event(e):e)}function w(e){this.l[e.type+!0](o.event?o.event(e):e)}function k(e,a,t,_,r,n,l,i,s){var c,p,f,h,j,b,v,g,y,C,w,k,L,M,A,H=a.type;if(void 0!==a.constructor)return null;null!=t.__h&&(s=t.__h,i=a.__e=t.__e,a.__h=null,n=[i]),(c=o.__b)&&c(a);try{e:if("function"==typeof H){if(g=a.props,y=(c=H.contextType)&&_[c.__c],C=c?y?y.props.value:c.__:_,t.__c?v=(p=a.__c=t.__c).__=p.__E:("prototype"in H&&H.prototype.render?a.__c=p=new H(g,C):(a.__c=p=new u(g,C),p.constructor=H,p.render=z),y&&y.sub(p),p.props=g,p.state||(p.state={}),p.context=C,p.__n=_,f=p.__d=!0,p.__h=[],p._sb=[]),null==p.__s&&(p.__s=p.state),null!=H.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=d({},p.__s)),d(p.__s,H.getDerivedStateFromProps(g,p.__s))),h=p.props,j=p.state,f)null==H.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==H.getDerivedStateFromProps&&g!==h&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(g,C),!p.__e&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(g,p.__s,C)||a.__v===t.__v){for(p.props=g,p.state=p.__s,a.__v!==t.__v&&(p.__d=!1),p.__v=a,a.__e=t.__e,a.__k=t.__k,a.__k.forEach(function(e){e&&(e.__=a)}),w=0;w<p._sb.length;w++)p.__h.push(p._sb[w]);p._sb=[],p.__h.length&&l.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(g,p.__s,C),null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(h,j,b)})}if(p.context=C,p.props=g,p.__v=a,p.__P=e,k=o.__r,L=0,"prototype"in H&&H.prototype.render){for(p.state=p.__s,p.__d=!1,k&&k(a),c=p.render(p.props,p.state,p.context),M=0;M<p._sb.length;M++)p.__h.push(p._sb[M]);p._sb=[]}else do{p.__d=!1,k&&k(a),c=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++L<25);p.state=p.__s,null!=p.getChildContext&&(_=d(d({},_),p.getChildContext())),f||null==p.getSnapshotBeforeUpdate||(b=p.getSnapshotBeforeUpdate(h,j)),A=null!=c&&c.type===m&&null==c.key?c.props.children:c,x(e,Array.isArray(A)?A:[A],a,t,_,r,n,l,i,s),p.base=a.__e,a.__h=null,p.__h.length&&l.push(p),v&&(p.__E=p.__=null),p.__e=!1}else null==n&&a.__v===t.__v?(a.__k=t.__k,a.__e=t.__e):a.__e=S(t.__e,a,t,_,r,n,l,s);(c=o.diffed)&&c(a)}catch(e){a.__v=null,(s||null!=n)&&(a.__e=i,a.__h=!!s,n[n.indexOf(i)]=null),o.__e(e,a,t)}}function L(e,a){o.__c&&o.__c(a,e),e.some(function(a){try{e=a.__h,a.__h=[],e.some(function(e){e.call(a)})}catch(e){o.__e(e,a.__v)}})}function S(e,o,t,_,r,l,i,d){var c,m,u,f=t.props,h=o.props,j=o.type,b=0;if("svg"===j&&(r=!0),null!=l)for(;b<l.length;b++)if((c=l[b])&&"setAttribute"in c==!!j&&(j?c.localName===j:3===c.nodeType)){e=c,l[b]=null;break}if(null==e){if(null===j)return document.createTextNode(h);e=r?document.createElementNS("http://www.w3.org/2000/svg",j):document.createElement(j,h.is&&h),l=null,d=!1}if(null===j)f===h||d&&e.data===h||(e.data=h);else{if(l=l&&a.call(e.childNodes),m=(f=t.props||n).dangerouslySetInnerHTML,u=h.dangerouslySetInnerHTML,!d){if(null!=l)for(f={},b=0;b<e.attributes.length;b++)f[e.attributes[b].name]=e.attributes[b].value;(u||m)&&(u&&(m&&u.__html==m.__html||u.__html===e.innerHTML)||(e.innerHTML=u&&u.__html||""))}if(function(e,a,o,t,_){var r;for(r in o)"children"===r||"key"===r||r in a||y(e,r,null,o[r],t);for(r in a)_&&"function"!=typeof a[r]||"children"===r||"key"===r||"value"===r||"checked"===r||o[r]===a[r]||y(e,r,a[r],o[r],t)}(e,h,f,r,d),u)o.__k=[];else if(b=o.props.children,x(e,Array.isArray(b)?b:[b],o,t,_,r&&"foreignObject"!==j,l,i,l?l[0]:t.__k&&p(t,0),d),null!=l)for(b=l.length;b--;)null!=l[b]&&s(l[b]);d||("value"in h&&void 0!==(b=h.value)&&(b!==e.value||"progress"===j&&!b||"option"===j&&b!==f.value)&&y(e,"value",b,f.value,!1),"checked"in h&&void 0!==(b=h.checked)&&b!==e.checked&&y(e,"checked",b,f.checked,!1))}return e}function M(e,a,t){try{"function"==typeof e?e(a):e.current=a}catch(e){o.__e(e,t)}}function A(e,a,t){var _,r;if(o.unmount&&o.unmount(e),(_=e.ref)&&(_.current&&_.current!==e.__e||M(_,null,a)),null!=(_=e.__c)){if(_.componentWillUnmount)try{_.componentWillUnmount()}catch(e){o.__e(e,a)}_.base=_.__P=null,e.__c=void 0}if(_=e.__k)for(r=0;r<_.length;r++)_[r]&&A(_[r],a,t||"function"!=typeof e.type);t||null==e.__e||s(e.__e),e.__=e.__e=e.__d=void 0}function z(e,a,o){return this.constructor(e,o)}function H(e,t,_){var r,l,i;o.__&&o.__(e,t),l=(r="function"==typeof _)?null:_&&_.__k||t.__k,i=[],k(t,e=(!r&&_||t).__k=function(e,o,t){var _,r,n,l={};for(n in o)"key"==n?_=o[n]:"ref"==n?r=o[n]:l[n]=o[n];if(arguments.length>2&&(l.children=arguments.length>3?a.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(n in e.defaultProps)void 0===l[n]&&(l[n]=e.defaultProps[n]);return c(e,l,_,r,null)}(m,null,[e]),l||n,n,void 0!==t.ownerSVGElement,!r&&_?[_]:l?null:t.firstChild?a.call(t.childNodes):null,i,!r&&_?_:l?l.__e:t.firstChild,r),L(i,e)}a=l.slice,o={__e:function(e,a,o,t){for(var _,r,n;a=a.__;)if((_=a.__c)&&!_.__)try{if((r=_.constructor)&&null!=r.getDerivedStateFromError&&(_.setState(r.getDerivedStateFromError(e)),n=_.__d),null!=_.componentDidCatch&&(_.componentDidCatch(e,t||{}),n=_.__d),n)return _.__E=_}catch(a){e=a}throw e}},t=0,u.prototype.setState=function(e,a){var o;o=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof e&&(e=e(d({},o),this.props)),e&&d(o,e),null!=e&&this.__v&&(a&&this._sb.push(a),h(this))},u.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),h(this))},u.prototype.render=m,_=[],j.__r=0;var q=0;function T(e,a,t,_,r){var n,l,i={};for(l in a)"ref"==l?n=a[l]:i[l]=a[l];var d={type:e,props:i,key:t,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--q,__source:r,__self:_};if("function"==typeof e&&(n=e.defaultProps))for(l in n)void 0===i[l]&&(i[l]=n[l]);return o.vnode&&o.vnode(d),d}var B,N,I,P,D=0,E=[],G=[],O=o.__b,F=o.__r,U=o.diffed,R=o.__c,V=o.unmount;function Z(e,a){o.__h&&o.__h(N,e,D||a),D=0;var t=N.__H||(N.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({__V:G}),t.__[e]}function K(e){return D=1,function(e,a,o){var t=Z(B++,2);if(t.t=e,!t.__c&&(t.__=[ee(void 0,a),function(e){var a=t.__N?t.__N[0]:t.__[0],o=t.t(a,e);a!==o&&(t.__N=[o,t.__[1]],t.__c.setState({}))}],t.__c=N,!N.u)){N.u=!0;var _=N.shouldComponentUpdate;N.shouldComponentUpdate=function(e,a,o){if(!t.__c.__H)return!0;var r=t.__c.__H.__.filter(function(e){return e.__c});if(r.every(function(e){return!e.__N}))return!_||_.call(this,e,a,o);var n=!1;return r.forEach(function(e){if(e.__N){var a=e.__[0];e.__=e.__N,e.__N=void 0,a!==e.__[0]&&(n=!0)}}),!(!n&&t.__c.props===e)&&(!_||_.call(this,e,a,o))}}return t.__N||t.__}(ee,e)}function W(e,a){var t=Z(B++,3);!o.__s&&function(e,a){return!e||e.length!==a.length||a.some(function(a,o){return a!==e[o]})}(t.__H,a)&&(t.__=e,t.i=a,N.__H.__h.push(t))}function J(){for(var e;e=E.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach($),e.__H.__h.forEach(X),e.__H.__h=[]}catch(a){e.__H.__h=[],o.__e(a,e.__v)}}o.__b=function(e){N=null,O&&O(e)},o.__r=function(e){F&&F(e),B=0;var a=(N=e.__c).__H;a&&(I===N?(a.__h=[],N.__h=[],a.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=G,e.__N=e.i=void 0})):(a.__h.forEach($),a.__h.forEach(X),a.__h=[])),I=N},o.diffed=function(e){U&&U(e);var a=e.__c;a&&a.__H&&(a.__H.__h.length&&(1!==E.push(a)&&P===o.requestAnimationFrame||((P=o.requestAnimationFrame)||Y)(J)),a.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==G&&(e.__=e.__V),e.i=void 0,e.__V=G})),I=N=null},o.__c=function(e,a){a.some(function(e){try{e.__h.forEach($),e.__h=e.__h.filter(function(e){return!e.__||X(e)})}catch(t){a.some(function(e){e.__h&&(e.__h=[])}),a=[],o.__e(t,e.__v)}}),R&&R(e,a)},o.unmount=function(e){V&&V(e);var a,t=e.__c;t&&t.__H&&(t.__H.__.forEach(function(e){try{$(e)}catch(e){a=e}}),t.__H=void 0,a&&o.__e(a,t.__v))};var Q="function"==typeof requestAnimationFrame;function Y(e){var a,o=function(){clearTimeout(t),Q&&cancelAnimationFrame(a),setTimeout(e)},t=setTimeout(o,100);Q&&(a=requestAnimationFrame(o))}function $(e){var a=N,o=e.__c;"function"==typeof o&&(e.__c=void 0,o()),N=a}function X(e){var a=N;e.__c=e.__(),N=a}function ee(e,a){return"function"==typeof a?a(e):a}var ae,oe=new Set(["AO","AG","AW","BS","BZ","BJ","BW","BO","BF","BI","CM","CF","KM","CG","CD","CK","CI","DJ","DM","TL","GQ","ER","FJ","TF","GM","GA","GH","GD","GY","HM","HK","KI","LY","MO","MW","ML","MR","NR","AN","NU","KP","QA","RW","KN","ST","SC","SL","SB","SR","SY","TG","TK","TO","TV","UG","AE","VU","YE","ZW"]),te=[{code:"AF",name:"Afghanistan"},{code:"AX",name:"Aland Islands"},{code:"AL",name:"Albania"},{code:"DZ",name:"Algeria"},{code:"AS",name:"American Samoa"},{code:"AD",name:"Andorra"},{code:"AO",name:"Angola"},{code:"AI",name:"Anguilla"},{code:"AQ",name:"Antarctica"},{code:"AG",name:"Antigua And Barbuda"},{code:"AR",name:"Argentina"},{code:"AM",name:"Armenia"},{code:"AW",name:"Aruba"},{code:"AU",name:"Australia"},{code:"AT",name:"Austria"},{code:"AZ",name:"Azerbaijan"},{code:"BS",name:"Bahamas"},{code:"BH",name:"Bahrain"},{code:"BD",name:"Bangladesh"},{code:"BB",name:"Barbados"},{code:"BY",name:"Belarus"},{code:"BE",name:"Belgium"},{code:"BZ",name:"Belize"},{code:"BJ",name:"Benin"},{code:"BM",name:"Bermuda"},{code:"BT",name:"Bhutan"},{code:"BO",name:"Bolivia"},{code:"BA",name:"Bosnia And Herzegovina"},{code:"BW",name:"Botswana"},{code:"BV",name:"Bouvet Island"},{code:"BR",name:"Brazil"},{code:"IO",name:"British Indian Ocean Territory"},{code:"BN",name:"Brunei Darussalam"},{code:"BG",name:"Bulgaria"},{code:"BF",name:"Burkina Faso"},{code:"BI",name:"Burundi"},{code:"KH",name:"Cambodia"},{code:"CM",name:"Cameroon"},{code:"CA",name:"Canada"},{code:"CV",name:"Cape Verde"},{code:"KY",name:"Cayman Islands"},{code:"CF",name:"Central African Republic"},{code:"TD",name:"Chad"},{code:"CL",name:"Chile"},{code:"CN",name:"China"},{code:"CX",name:"Christmas Island"},{code:"CC",name:"Cocos (Keeling) Islands"},{code:"CO",name:"Colombia"},{code:"KM",name:"Comoros"},{code:"CG",name:"Congo"},{code:"CD",name:"Congo, Democratic Republic"},{code:"CK",name:"Cook Islands"},{code:"CR",name:"Costa Rica"},{code:"CI",name:"Cote D'Ivoire"},{code:"HR",name:"Croatia"},{code:"CU",name:"Cuba"},{code:"CY",name:"Cyprus"},{code:"CZ",name:"Czech Republic"},{code:"DK",name:"Denmark"},{code:"DJ",name:"Djibouti"},{code:"DM",name:"Dominica"},{code:"DO",name:"Dominican Republic"},{code:"EC",name:"Ecuador"},{code:"EG",name:"Egypt"},{code:"SV",name:"El Salvador"},{code:"GQ",name:"Equatorial Guinea"},{code:"ER",name:"Eritrea"},{code:"EE",name:"Estonia"},{code:"ET",name:"Ethiopia"},{code:"FK",name:"Falkland Islands (Malvinas)"},{code:"FO",name:"Faroe Islands"},{code:"FJ",name:"Fiji"},{code:"FI",name:"Finland"},{code:"FR",name:"France"},{code:"GF",name:"French Guiana"},{code:"PF",name:"French Polynesia"},{code:"TF",name:"French Southern Territories"},{code:"GA",name:"Gabon"},{code:"GM",name:"Gambia"},{code:"GE",name:"Georgia"},{code:"DE",name:"Germany"},{code:"GH",name:"Ghana"},{code:"GI",name:"Gibraltar"},{code:"GR",name:"Greece"},{code:"GL",name:"Greenland"},{code:"GD",name:"Grenada"},{code:"GP",name:"Guadeloupe"},{code:"GU",name:"Guam"},{code:"GT",name:"Guatemala"},{code:"GG",name:"Guernsey"},{code:"GN",name:"Guinea"},{code:"GW",name:"Guinea-Bissau"},{code:"GY",name:"Guyana"},{code:"HT",name:"Haiti"},{code:"HM",name:"Heard Island & Mcdonald Islands"},{code:"VA",name:"Holy See (Vatican City State)"},{code:"HN",name:"Honduras"},{code:"HK",name:"Hong Kong"},{code:"HU",name:"Hungary"},{code:"IS",name:"Iceland"},{code:"IN",name:"India"},{code:"ID",name:"Indonesia"},{code:"IR",name:"Iran, Islamic Republic Of"},{code:"IQ",name:"Iraq"},{code:"IE",name:"Ireland"},{code:"IM",name:"Isle Of Man"},{code:"IL",name:"Israel"},{code:"IT",name:"Italy"},{code:"JM",name:"Jamaica"},{code:"JP",name:"Japan"},{code:"JE",name:"Jersey"},{code:"JO",name:"Jordan"},{code:"KZ",name:"Kazakhstan"},{code:"KE",name:"Kenya"},{code:"KI",name:"Kiribati"},{code:"KR",name:"Korea"},{code:"KW",name:"Kuwait"},{code:"KG",name:"Kyrgyzstan"},{code:"LA",name:"Lao People's Democratic Republic"},{code:"LV",name:"Latvia"},{code:"LB",name:"Lebanon"},{code:"LS",name:"Lesotho"},{code:"LR",name:"Liberia"},{code:"LY",name:"Libyan Arab Jamahiriya"},{code:"LI",name:"Liechtenstein"},{code:"LT",name:"Lithuania"},{code:"LU",name:"Luxembourg"},{code:"MO",name:"Macao"},{code:"MK",name:"Macedonia"},{code:"MG",name:"Madagascar"},{code:"MW",name:"Malawi"},{code:"MY",name:"Malaysia"},{code:"MV",name:"Maldives"},{code:"ML",name:"Mali"},{code:"MT",name:"Malta"},{code:"MH",name:"Marshall Islands"},{code:"MQ",name:"Martinique"},{code:"MR",name:"Mauritania"},{code:"MU",name:"Mauritius"},{code:"YT",name:"Mayotte"},{code:"MX",name:"Mexico"},{code:"FM",name:"Micronesia, Federated States Of"},{code:"MD",name:"Moldova"},{code:"MC",name:"Monaco"},{code:"MN",name:"Mongolia"},{code:"ME",name:"Montenegro"},{code:"MS",name:"Montserrat"},{code:"MA",name:"Morocco"},{code:"MZ",name:"Mozambique"},{code:"MM",name:"Myanmar"},{code:"NA",name:"Namibia"},{code:"NR",name:"Nauru"},{code:"NP",name:"Nepal"},{code:"NL",name:"Netherlands"},{code:"AN",name:"Netherlands Antilles"},{code:"NC",name:"New Caledonia"},{code:"NZ",name:"New Zealand"},{code:"NI",name:"Nicaragua"},{code:"NE",name:"Niger"},{code:"NG",name:"Nigeria"},{code:"NU",name:"Niue"},{code:"NF",name:"Norfolk Island"},{code:"MP",name:"Northern Mariana Islands"},{code:"NO",name:"Norway"},{code:"OM",name:"Oman"},{code:"PK",name:"Pakistan"},{code:"PW",name:"Palau"},{code:"PS",name:"Palestinian Territory, Occupied"},{code:"PA",name:"Panama"},{code:"PG",name:"Papua New Guinea"},{code:"PY",name:"Paraguay"},{code:"PE",name:"Peru"},{code:"PH",name:"Philippines"},{code:"PN",name:"Pitcairn"},{code:"PL",name:"Poland"},{code:"PT",name:"Portugal"},{code:"PR",name:"Puerto Rico"},{code:"QA",name:"Qatar"},{code:"RE",name:"Reunion"},{code:"RO",name:"Romania"},{code:"RU",name:"Russian Federation"},{code:"RW",name:"Rwanda"},{code:"BL",name:"Saint Barthelemy"},{code:"SH",name:"Saint Helena"},{code:"KN",name:"Saint Kitts And Nevis"},{code:"LC",name:"Saint Lucia"},{code:"MF",name:"Saint Martin"},{code:"PM",name:"Saint Pierre And Miquelon"},{code:"VC",name:"Saint Vincent And Grenadines"},{code:"WS",name:"Samoa"},{code:"SM",name:"San Marino"},{code:"ST",name:"Sao Tome And Principe"},{code:"SA",name:"Saudi Arabia"},{code:"SN",name:"Senegal"},{code:"RS",name:"Serbia"},{code:"SC",name:"Seychelles"},{code:"SL",name:"Sierra Leone"},{code:"SG",name:"Singapore"},{code:"SK",name:"Slovakia"},{code:"SI",name:"Slovenia"},{code:"SB",name:"Solomon Islands"},{code:"SO",name:"Somalia"},{code:"ZA",name:"South Africa"},{code:"GS",name:"South Georgia And Sandwich Isl."},{code:"ES",name:"Spain"},{code:"LK",name:"Sri Lanka"},{code:"SD",name:"Sudan"},{code:"SR",name:"Suriname"},{code:"SJ",name:"Svalbard And Jan Mayen"},{code:"SZ",name:"Swaziland"},{code:"SE",name:"Sweden"},{code:"CH",name:"Switzerland"},{code:"SY",name:"Syrian Arab Republic"},{code:"TW",name:"Taiwan"},{code:"TJ",name:"Tajikistan"},{code:"TZ",name:"Tanzania"},{code:"TH",name:"Thailand"},{code:"TL",name:"Timor-Leste"},{code:"TG",name:"Togo"},{code:"TK",name:"Tokelau"},{code:"TO",name:"Tonga"},{code:"TT",name:"Trinidad And Tobago"},{code:"TN",name:"Tunisia"},{code:"TR",name:"Turkey"},{code:"TM",name:"Turkmenistan"},{code:"TC",name:"Turks And Caicos Islands"},{code:"TV",name:"Tuvalu"},{code:"UG",name:"Uganda"},{code:"UA",name:"Ukraine"},{code:"AE",name:"United Arab Emirates"},{code:"GB",name:"United Kingdom"},{code:"US",name:"United States"},{code:"UM",name:"United States Outlying Islands"},{code:"UY",name:"Uruguay"},{code:"UZ",name:"Uzbekistan"},{code:"VU",name:"Vanuatu"},{code:"VE",name:"Venezuela"},{code:"VN",name:"Viet Nam"},{code:"VG",name:"Virgin Islands, British"},{code:"VI",name:"Virgin Islands, U.S."},{code:"WF",name:"Wallis And Futuna"},{code:"EH",name:"Western Sahara"},{code:"YE",name:"Yemen"},{code:"ZM",name:"Zambia"},{code:"ZW",name:"Zimbabwe"}],_e=function(e){var a=e.parsedOrigin,o=e.textConfig,t=e.setDestination,_=K("US"),r=_[0],n=_[1],l=K(!1),i=l[0],d=l[1],s=K(""),c=s[0],m=s[1];return T("div",{className:"artajs__modal__form",children:[T("p",{class:"artajs__modal__form__row__context",children:o.descriptionLabel}),T("p",{class:"artajs__modal__form__row__location",children:T("span",a?{children:[T("span",{class:"artajs__modal__capitalize",children:a})," ",T("span",{class:"artajs__modal__form__light",children:o.detailOriginLabel})]}:{children:"..."})}),T("form",{onSubmit:function(e){e.preventDefault(),t({postal_code:c,country:r})},children:[T("div",{className:"artajs__modal__form__row",children:T("label",{class:"artajs__modal__textfield__outlined ",for:"country",children:[T("select",{id:"country",onChange:function(e){n(e.target.value),oe.has(e.target.value)?(d(!0),m("")):d(!1)},placeholder:" ",value:r,children:te.map(function(e){return T("option",{value:e.code,children:e.name},e.code)})}),T("span",{children:o.countryLabel})]})}),T("div",{className:"artajs__modal__form__row",children:T("label",{class:"artajs__modal__textfield__outlined ",for:"postal_code",children:[T("input",{id:"postal_code",onInput:function(e){m(e.target.value)},placeholder:" ",type:"text",value:c}),T("span",{children:i?o.cityLabel:o.zipLabel})]})}),T("div",{className:"artajs__modal__form__row",children:T("button",{disabled:""===c,type:"submit",children:[o.buttonText,T("div",{class:"artajs__modal__form__arrow__container",children:T("svg",{width:"20",height:"8",viewBox:"0 0 20 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:T("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.4144 0.292893C16.0239 -0.0976312 15.3907 -0.0976313 15.0002 0.292893C14.6096 0.683417 14.6096 1.31658 15.0002 1.70711L16.193 2.90002L1.00008 2.90002C0.44779 2.90002 7.61476e-05 3.34774 7.61235e-05 3.90002C7.60993e-05 4.45231 0.44779 4.90002 1.00008 4.90002L16.1501 4.90002L15.0001 6.05003C14.6096 6.44055 14.6096 7.07372 15.0001 7.46424C15.3906 7.85477 16.0238 7.85477 16.4143 7.46424L20 3.87861L16.4144 0.292893Z",fill:""+o.backgroundColor})})})]})})]})]})},re=function(e){if(!e)return"";if(!e.estimated_country||!e.estimated_city)return e.postal_code+", "+e.country;var a="US"===e.estimated_country&&e.estimated_region?e.estimated_region:"",o=e.estimated_city.toLowerCase();return""===a?o+", "+e.estimated_country:o+", "+a+", "+e.estimated_country},ne=function(a){return e({},a.text.quoted,{detailOriginLabel:a.text.detailOriginLabel,detailDestinationLabel:a.text.detailDestinationLabel,returnLinkLabel:a.text.returnLinkLabel})},le=function(a){return e({},a.text.disqualified,{detailOriginLabel:a.text.detailOriginLabel,detailDestinationLabel:a.text.detailDestinationLabel,returnLinkLabel:a.text.returnLinkLabel})},ie=function(a){return e({},a.text.destination,{detailOriginLabel:a.text.detailOriginLabel,backgroundColor:a.style.color.backgroundColor})};!function(e){e[e.CLOSED=0]="CLOSED",e[e.DISQUALIFIED=1]="DISQUALIFIED",e[e.LOADING=2]="LOADING",e[e.OPEN=3]="OPEN",e[e.QUOTED=4]="QUOTED"}(ae||(ae={}));var de=function(e){var a=e.quoteRequest,o=e.textConfig,t=e.setStatus,_=re(a.origin),r=re(a.destination);return T("div",{class:"artajs__modal__quotes",children:[T("p",{class:"artajs__modal__quotes__context",children:o.shipFromLabel}),T("p",{class:"artajs__modal__quotes__origin",children:T("span",{children:[T("span",{class:"artajs__modal__capitalize",children:_})," ",T("span",{class:"artajs__modal__quotes__light",children:o.detailOriginLabel})]})}),T("p",{class:"artajs__modal__quotes__destination",children:[T("span",{class:"artajs__modal__quotes__small",children:o.shipToLabel})," ",T("span",{children:[T("strong",{class:"artajs__modal__capitalize",children:r})," ",T("span",{class:"artajs__modal__quotes__light",children:o.detailDestinationLabel})]})]}),T("div",{class:"artajs__modal__quotes__box",children:T("p",{class:"artajs__modal__quotes__disqualified",children:[o.emailHeaderLabel,T("br",{}),T("a",{class:"artajs__modal__quotes__box__link",href:"mailto:"+o.contactEmail,children:o.contactEmail}),T("br",{}),o.emailFooterLabel]})}),T("p",{class:"artajs__modal__quotes__change",children:T("a",{onClick:function(e){e.preventDefault(),t(ae.OPEN)},href:"#",children:[T("svg",{width:"20",height:"8",viewBox:"0 0 20 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:T("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.58562 7.46419C3.97614 7.85471 4.60931 7.85471 4.99983 7.46419C5.39036 7.07366 5.39036 6.4405 4.99983 6.04997L3.80697 4.85706L18.9999 4.85706C19.5522 4.85706 19.9999 4.40934 19.9999 3.85706C19.9999 3.30477 19.5522 2.85706 18.9999 2.85706L3.84988 2.85706L4.99993 1.70705C5.39045 1.31653 5.39045 0.683363 4.99993 0.292839C4.6094 -0.0976858 3.97624 -0.0976858 3.58571 0.292839L4.62519e-08 3.87847L3.58562 7.46419Z",fill:"#99A5B2"})}),o.returnLinkLabel]})})]})},se=[{id:"CAD",name:"Canadian Dollar",symbol:"$"},{id:"EUR",name:"Euro",symbol:"€"},{id:"GBP",name:"Pound Sterling",symbol:"£"},{id:"USD",name:"US Dollar",symbol:"$"}],ce=function(e){var a=e.quoteRequest,o=e.showCostRange,t=e.textConfig,_=e.setStatus,r=a.quotes;r&&r.length>0&&r.sort(function(e,a){return e.total-a.total});var n=se.filter(function(e){return e.id===a.currency})[0].symbol,l="arta_transit_insurance"===a.insurance,i=a.origin.estimated_country===a.destination.estimated_country,d=re(a.origin),s=re(a.destination);return T("div",{class:"artajs__modal__quotes",children:[T("p",{class:"artajs__modal__quotes__context",children:t.shipFromLabel}),T("p",{class:"artajs__modal__quotes__origin",children:T("span",{children:[T("span",{class:"artajs__modal__capitalize",children:d})," ",T("span",{class:"artajs__modal__quotes__light",children:t.detailOriginLabel})]})}),T("p",{class:"artajs__modal__quotes__destination",children:[T("span",{class:"artajs__modal__quotes__small",children:t.shipToLabel})," ",T("span",s?{children:[T("strong",{class:"artajs__modal__capitalize",children:s})," ",T("span",{class:"artajs__modal__quotes__light",children:t.detailDestinationLabel})]}:{children:"..."})]}),T("div",o&&r.length>1?{class:"artajs__modal__quotes__box "+(i?"":"artajs__modal__quotes__box__padding__y"),children:[T("p",{class:"artajs__modal__quotes__context",children:t.rangeLabel}),T("div",{class:"artajs__modal__quotes__price",children:[T("div",{class:"artajs__modal__quotes__price__amount",children:[n,Math.round(r[0].total)," - ",n,Math.round(r[r.length-1].total)]}),T("div",{class:"artajs__modal__quotes__price__currency_code",children:a.currency})]}),i&&T("p",{class:"artajs__modal__quotes__exclusions",children:t.excludeDisclaimerLabel}),l&&T("div",{class:"artajs__modal__quotes__insurance",children:[T("svg",{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:T("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.48465 2.79298C9.87517 3.1835 9.87518 3.81666 9.48465 4.20719L4.56126 9.13062C4.37166 9.32022 4.11386 9.42574 3.84574 9.42348C3.57761 9.42123 3.32163 9.31139 3.13525 9.11863L1.10866 7.02269C0.72476 6.62566 0.73541 5.99258 1.13245 5.60868C1.52948 5.22478 2.16256 5.23543 2.54646 5.63247L3.86614 6.99731L8.07043 2.79298C8.46096 2.40246 9.09412 2.40245 9.48465 2.79298Z",fill:"white"})}),T("p",{children:t.artaInsuranceLabel})]})]}:{class:"artajs__modal__quotes__box "+(i?"":"artajs__modal__quotes__box__padding__y"),children:[T("p",{class:"artajs__modal__quotes__context",children:t.startsAtLabel}),T("div",{class:"artajs__modal__quotes__price",children:[T("div",{class:"artajs__modal__quotes__price__amount",children:[n,Math.round(r[0].total)]}),T("div",{class:"artajs__modal__quotes__price__currency_code",children:a.currency})]}),i&&T("p",{class:"artajs__modal__quotes__exclusions",children:t.excludeDisclaimerLabel}),l&&T("div",{class:"artajs__modal__quotes__insurance",children:[T("svg",{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:T("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.48465 2.79298C9.87517 3.1835 9.87518 3.81666 9.48465 4.20719L4.56126 9.13062C4.37166 9.32022 4.11386 9.42574 3.84574 9.42348C3.57761 9.42123 3.32163 9.31139 3.13525 9.11863L1.10866 7.02269C0.72476 6.62566 0.73541 5.99258 1.13245 5.60868C1.52948 5.22478 2.16256 5.23543 2.54646 5.63247L3.86614 6.99731L8.07043 2.79298C8.46096 2.40246 9.09412 2.40245 9.48465 2.79298Z",fill:"white"})}),T("p",{children:t.artaInsuranceLabel})]})]}),T("p",{class:"artajs__modal__quotes__checkout",children:t.disclaimerLabel}),T("p",{class:"artajs__modal__quotes__change",children:T("a",{onClick:function(e){e.preventDefault(),_(ae.OPEN)},href:"#",children:[T("svg",{width:"20",height:"8",viewBox:"0 0 20 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:T("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.58562 7.46419C3.97614 7.85471 4.60931 7.85471 4.99983 7.46419C5.39036 7.07366 5.39036 6.4405 4.99983 6.04997L3.80697 4.85706L18.9999 4.85706C19.5522 4.85706 19.9999 4.40934 19.9999 3.85706C19.9999 3.30477 19.5522 2.85706 18.9999 2.85706L3.84988 2.85706L4.99993 1.70705C5.39045 1.31653 5.39045 0.683363 4.99993 0.292839C4.6094 -0.0976858 3.97624 -0.0976858 3.58571 0.292839L4.62519e-08 3.87847L3.58562 7.46419Z",fill:"#99A5B2"})}),t.returnLinkLabel]})})]})},me={style:{color:{primaryColor:"#001F3F",primaryUnfocusedColor:"#4d6279",secondaryColor:"#99A5B2",errorColor:"#D84242",backgroundColor:"white",poweredByButtonColor:"#F5F6F7"},position:"right",pricingDisplay:"starts_at",fontFamily:"Arial, Helvetica, sans-serif",fontSize:12,width:300,height:432},text:{detailOriginLabel:"(origin)",detailDestinationLabel:"(destination)",returnLinkLabel:"Change Destination",loading:{message:"Retrieving shipping costs..."},header:{title:"Estimate Shipping Costs"},destination:{descriptionLabel:"Get a cost estimate to ship these goods from:",buttonText:"Get Costs",countryLabel:"Country",zipLabel:"Destination Postal/Zip Code",cityLabel:"Destination City"},quoted:{shipFromLabel:"These goods ship from:",shipToLabel:"To:",disclaimerLabel:"Actual shipping costs will be provided at checkout.",excludeDisclaimerLabel:"Excludes duties & taxes",rangeLabel:"Shipping estimated between",startsAtLabel:"Shipping Starts at",artaInsuranceLabel:"This estimate includes ARTA Full Risk Insurance"},disqualified:{shipFromLabel:"Unfortunately we could not retrieve costs for shipping these goods from:",shipToLabel:"To:",contactEmail:"hello@arta.io",emailHeaderLabel:"Please contact",emailFooterLabel:"to request a custom quote"}}};function ue(e){return[].slice.call(arguments,1).forEach(function(a){a&&Object.keys(a).forEach(function(o){var t=a[o],_=e[o];e[o]=_&&t&&"object"==typeof _&&"object"==typeof t?ue(_,t):t})}),e}var pe=function(a,o){var t=ue(e({},me,a),o);return console.log("final config",t),t},fe=function(e){var a=e.onClose;return T("div",{class:"artajs__modal__header",children:[T("div",{className:"artajs__modal__header__cta",children:e.title}),T("div",{className:"artajs__modal__header__close",children:T("a",{onClick:a,href:"#",children:T("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[T("line",{x1:"6.70711",y1:"6.29289",x2:"18.0208",y2:"17.6066",stroke:"#99A5B2","stroke-width":"2"}),T("line",{x1:"6.29289",y1:"17.6066",x2:"17.6066",y2:"6.29291",stroke:"#99A5B2","stroke-width":"2"})]})})})]})},he=function(e){var a=e.primaryColor;return T("div",{class:"artajs__modal__footer",children:T("a",{class:"artajs__modal__footer__link",href:"https://arta.io/",children:T("svg",{width:"138",height:"24",viewBox:"0 0 138 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[T("path",{d:"M0 12C0 5.37258 5.37258 0 12 0H126C132.627 0 138 5.37258 138 12C138 18.6274 132.627 24 126 24H12C5.37258 24 0 18.6274 0 12Z",fill:e.poweredByButtonColor}),T("path",{d:"M18.388 8.971C19.609 8.971 20.137 9.499 20.137 10.511C20.137 11.534 19.543 12.095 18.3 12.095H16.892V8.971H18.388ZM15.869 16H16.892V12.953H18.333C20.258 12.953 21.149 11.985 21.149 10.478C21.149 8.982 20.258 8.08 18.454 8.08H15.869V16ZM22.6958 13.118C22.6958 11.655 23.3998 10.951 24.3568 10.951C25.3028 10.951 26.0398 11.622 26.0398 13.118C26.0398 14.603 25.2918 15.274 24.3458 15.274C23.3888 15.274 22.6958 14.603 22.6958 13.118ZM21.6728 13.14C21.6728 15.043 22.6628 16.132 24.2908 16.132C25.9408 16.132 27.0628 15.043 27.0628 13.118C27.0628 11.16 26.0398 10.093 24.4338 10.093C22.7728 10.093 21.6728 11.193 21.6728 13.14ZM34.4229 10.225L33.4109 14.867L32.0469 10.269H31.1119L29.8249 14.867L28.7689 10.225H27.8009L29.2529 16H30.2979L31.5739 11.578L32.8939 16H33.9389L35.3909 10.225H34.4229ZM40.6415 14.702C40.0365 15.12 39.5195 15.307 38.8925 15.307C37.6935 15.307 37.1985 14.504 37.1765 13.404H41.1145C41.1255 13.316 41.1255 12.997 41.1255 12.898C41.1255 10.995 40.3115 10.093 38.8045 10.093C37.1765 10.093 36.1425 11.292 36.1425 13.14C36.1425 15.142 37.1765 16.132 38.8155 16.132C39.6185 16.132 40.3775 15.901 41.0265 15.362L40.6415 14.702ZM37.1765 12.612C37.2095 12.051 37.5285 10.896 38.8155 10.896C39.8385 10.896 40.1685 11.677 40.1795 12.612H37.1765ZM43.2469 10.225H42.4439V16H43.4119V12.007C43.6099 11.589 44.0499 11.072 44.5669 11.072C44.7539 11.072 44.9079 11.083 45.0619 11.138L45.1609 10.192C45.0069 10.137 44.8089 10.093 44.6219 10.093C44.0499 10.093 43.5769 10.544 43.3129 11.105L43.2469 10.225ZM50.1806 14.702C49.5756 15.12 49.0586 15.307 48.4316 15.307C47.2326 15.307 46.7376 14.504 46.7156 13.404H50.6536C50.6646 13.316 50.6646 12.997 50.6646 12.898C50.6646 10.995 49.8506 10.093 48.3436 10.093C46.7156 10.093 45.6816 11.292 45.6816 13.14C45.6816 15.142 46.7156 16.132 48.3546 16.132C49.1576 16.132 49.9166 15.901 50.5656 15.362L50.1806 14.702ZM46.7156 12.612C46.7486 12.051 47.0676 10.896 48.3546 10.896C49.3776 10.896 49.7076 11.677 49.7186 12.612H46.7156ZM56.0529 16H56.8999V8.08H55.9319V10.951C55.5249 10.478 54.9639 10.093 54.1279 10.093C52.6429 10.093 51.7299 11.248 51.7299 13.129C51.7299 14.944 52.4779 16.132 54.0949 16.132C55.0849 16.132 55.7009 15.582 55.9869 15.219L56.0529 16ZM55.9319 14.339C55.6129 14.724 55.1069 15.252 54.3479 15.252C53.1269 15.252 52.7529 14.196 52.7529 13.118C52.7529 11.71 53.3579 10.984 54.2379 10.984C55.0959 10.984 55.6679 11.611 55.9319 11.952V14.339ZM61.7595 11.919C62.1115 11.49 62.6615 10.962 63.4425 10.962C64.3885 10.962 64.9385 11.699 64.9385 13.129C64.9385 14.559 64.3445 15.263 63.4095 15.263C62.6395 15.263 62.0235 14.812 61.7595 14.416V11.919ZM61.5945 16L61.6605 15.23C61.9135 15.593 62.5295 16.132 63.4865 16.132C65.1915 16.132 65.9615 14.933 65.9615 13.096C65.9615 11.204 65.1365 10.093 63.6405 10.093C62.8375 10.093 62.2215 10.456 61.7595 11.017V8.08H60.7915V16H61.5945ZM70.6154 10.225L69.1084 14.878L67.6014 10.225H66.5674L68.6134 16L68.5144 16.308C68.2064 17.265 67.9644 17.485 67.5024 17.485C67.1614 17.485 66.8754 17.43 66.7214 17.397L66.6224 18.09C66.9084 18.167 67.2164 18.222 67.6124 18.222C68.7674 18.222 68.9874 17.628 69.5374 16.077L71.6054 10.225H70.6154Z",fill:a}),T("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M96.9267 12.2117C98.0417 12.2117 99.0119 11.3103 99.0119 10.1555C99.0119 9.08502 98.0417 8.16952 96.9267 8.16952H94.1177V12.2117H96.9267ZM92.9712 7.40866C92.9712 7.26768 93.0871 7.14105 93.2462 7.14105H96.9965C98.7342 7.14105 100.153 8.46488 100.153 10.141C100.153 11.4368 99.27 12.5213 98.0102 13.0141L99.994 16.5915C100.095 16.7746 99.994 16.9999 99.7478 16.9999H99.0093C98.879 16.9999 98.8065 16.9295 98.7775 16.8732L96.8519 13.1409H94.0861V16.7323C94.0861 16.8732 93.9559 16.9999 93.8111 16.9999H93.2462C93.0871 16.9999 92.9712 16.8732 92.9712 16.7323V7.40866Z",fill:a}),T("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M107.177 8.08424H104.657C104.498 8.08424 104.382 7.95748 104.382 7.81663V7.40817C104.382 7.26733 104.498 7.14056 104.657 7.14056H110.797C110.956 7.14056 111.072 7.26733 111.072 7.40817V7.81663C111.072 7.95748 110.956 8.08424 110.797 8.08424H108.277V16.732C108.277 16.8728 108.147 16.9996 108.002 16.9996H107.452C107.307 16.9996 107.177 16.8728 107.177 16.732V8.08424Z",fill:a}),T("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M120.804 13.6476C120.094 12.1125 119.399 10.5632 118.69 9.02799H118.574L116.46 13.6476H120.804ZM113.925 16.6335L118.327 7.15493C118.37 7.07042 118.443 7 118.573 7H118.718C118.848 7 118.921 7.07042 118.964 7.15493L123.337 16.6335C123.424 16.8166 123.308 16.9997 123.091 16.9997H122.512C122.381 16.9997 122.294 16.9152 122.266 16.8448L121.194 14.521H116.054L114.997 16.8448C114.968 16.9152 114.881 16.9997 114.75 16.9997H114.171C113.954 16.9997 113.838 16.8166 113.925 16.6335Z",fill:a}),T("path",{d:"M83.187 7.14471L86.0249 13.3149L81.2631 15.2707L79 16.2003L83.187 7.14471Z",stroke:a,"stroke-opacity":"0.5","stroke-width":"1.08043","stroke-linecap":"round","stroke-linejoin":"round"}),T("path",{d:"M87.364 16.2003L83.177 7.14471L80.3392 13.3149L87.364 16.2003",stroke:a,"stroke-width":"1.08043","stroke-linecap":"round","stroke-linejoin":"round"})]})})})},je=function(e){return T("div",{class:"artajs__modal__loading__wrapper",children:[T("div",{class:"artajs__modal__loading__text",children:e.message}),T("div",{class:"artajs__modal__loading",children:T("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 80 80",style:{enableBackground:"new 0 0 30 30"},children:[T("g",{id:"back",children:T("polyline",{class:"st0",points:"22,50 67,70 40,10 13,70 58,50 \t"})}),T("g",{id:"front",children:T("polyline",{class:"st1",points:"22,50 67,70 40,10 22,50 \t"})})]})})]})},xe=function(a,o,t,_){try{return Promise.resolve(fetch("https://"+o.host+a,{method:"POST",body:t,headers:e({},_,{Authorization:"ARTA_APIKey "+o.apiKey,"Content-Type":"application/json"})})).then(function(e){return Promise.resolve(e.json()).then(function(a){if(!e.ok){var o=Object.assign({},{errors:a.errors,status:e.status,statusText:e.statusText});return function(e){var a=e.status,o=e.errors;console.log(o);var t=Object.keys(o);403===a?console.error("Invalid API Key"):401===a?console.error("Private API Key"):422===a||400===a?t.map(function(e){console.error(e+" "+o[e])}):console.error("Unkonwn error",a,o)}(o),{err:o}}return a})})}catch(e){return Promise.reject(e)}},be=function(a){var o=a.estimateBody,t=a.onClose,_=a.config,r=_.style.position,n=K(),l=n[0],i=n[1],d=K(""),s=d[0],c=d[1],m=K(ae.LOADING),u=m[0],p=m[1],f=K(),h=f[0],j=f[1],x=K(),b=x[0],v=x[1],g=K(),y=g[0],C=g[1],w=function(e){return{"--primary-color":e.style.color.primaryColor,"--primary-unfocused-color":e.style.color.primaryUnfocusedColor,"--secondary-color":e.style.color.secondaryColor,"--error-color":e.style.color.errorColor,"--background-color":e.style.color.backgroundColor,"--font-family":e.style.fontFamily,"--font-size":e.style.fontSize+"px","--width":e.style.width+"px","--height":e.style.height+"px"}}(_);return W(function(){try{return C([]),p(ae.LOADING),Promise.resolve(function(e,a){try{var o=JSON.stringify({hosted_session:a});return Promise.resolve(xe("/estimate/hosted_sessions",e,o))}catch(e){return Promise.reject(e)}}(_,o)).then(function(e){j(e),c(re(e.origin)),p(ae.OPEN)})}catch(e){Promise.reject(e)}},[o.origin,o.objects]),W(function(){!function(){try{if(C([]),!l)return;p(ae.LOADING);var a=e({},o,{destination:l});Promise.resolve(function(e,a,o){try{var t=JSON.stringify({request:o});return Promise.resolve(xe("/estimate/requests",e,t,{"hosted-session-id":a.id,"hosted-session-private-token":a.private_token})).then(function(e){return e.quotes&&e.quotes.forEach(function(e){return e.total=parseFloat(e.total)}),e})}catch(e){return Promise.reject(e)}}(_,h||{id:"",private_token:"",origin:o.origin},a)).then(function(e){if(e.err){var a=function(e){var a=[],o=Object.keys(e);return o.includes("destination")?a.push("Invalid location details. Please check your destination address info and try again."):o.includes("origin")?a.push("Invalid location details. Please check your origin address info and try again."):a.push("We have encountered an error.\nPlease try submitting the form again."),a}(e.err.errors);C(a),p(ae.OPEN)}else v(e),p(e.quotes&&e.quotes.length>0?ae.QUOTED:ae.DISQUALIFIED)})}catch(e){Promise.reject(e)}}()},[l]),T("div",{children:[T("style",{children:':root{--primary-color:#001f3f;--primary-unfocused-color:#4d6279;--secondary-color:#99a5b2;--error-color:#d84242;--background-color:#fff;--font-family:"Arial, Helvetica, sans-serif";--font-size:12px;--width:300px;--height:432px}.artajs__modal,.artajs__modal__backdrop{all:initial}.artajs__modal a,.artajs__modal button,.artajs__modal div,.artajs__modal form,.artajs__modal input,.artajs__modal p,.artajs__modal select,.artajs__modal__backdrop div{all:unset}.artajs__modal *,.artajs__modal :after,.artajs__modal :before,.artajs__modal__backdrop *,.artajs__modal__backdrop :after,.artajs__modal__backdrop :before{box-sizing:border-box}.artajs__modal div,.artajs__modal h1,.artajs__modal h2,.artajs__modal h3,.artajs__modal h4,.artajs__modal p{margin:0}.artajs__modal div,.artajs__modal p{display:block;font-family:var(--font-family)}.artajs__modal button,.artajs__modal input,.artajs__modal select{font:inherit;margin:0}.artajs__modal{-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;background-color:var(--background-color);border-radius:2px;bottom:30px;box-shadow:0 3px 7px rgba(0,0,0,.3);color:var(--primary-color);height:var(--height);padding:0;position:fixed;right:30px;width:var(--width);z-index:2001}.artajs__modal.artajs__modal__left{bottom:30px;left:30px;right:auto}.artajs__modal.artajs__modal__right{bottom:30px;left:auto;right:30px}.artajs__modal.artajs__modal__center{bottom:auto;left:50%;margin-left:-150px;margin-top:-216px;right:auto;top:50%}.artajs__modal__backdrop{background-color:rgba(0,0,0,.5);bottom:0;left:0;position:fixed;right:0;top:0;z-index:2001}.artajs__modal .artajs__modal__header{align-items:center;display:flex;justify-content:space-between;padding:15px 15px 20px 20px}.artajs__modal .artajs__modal__header .artajs__modal__header__cta{font-size:calc(var(--font-size) + 2px);font-weight:700}.artajs__modal .artajs__modal__header .artajs__modal__header__close a{cursor:pointer;display:block;height:24px;text-decoration:none}.artajs__modal .artajs__modal__header .artajs__modal__header__close a:hover svg line{stroke:var(--primary-color)}.artajs__modal .artajs__modal__form{display:block;padding:0 20px 20px}.artajs__modal .artajs__modal__form__light{color:var(--secondary-color);font-size:var(--font-size)}.artajs__modal p.artajs__modal__form__row__context{display:block;font-size:var(--font-size);line-height:18px;padding-bottom:4px}.artajs__modal p.artajs__modal__form__row__location{display:block;font-size:calc(var(--font-size) + 2px);font-style:italic;line-height:18px;padding-bottom:20px}.artajs__modal .artajs__modal__capitalize{text-transform:capitalize}.artajs__modal .artajs__modal__form .artajs__modal__form__row{display:block;padding-bottom:30px}.artajs__modal .artajs__modal__form .artajs__modal__form__row:last-of-type{padding-bottom:0;padding-top:5px}.artajs__modal .artajs__modal__form button{background-color:var(--primary-color);border:1px solid var(--primary-color);border-radius:3px;box-sizing:border-box;color:var(--background-color);cursor:pointer;display:block;font-size:calc(var(--font-size) - 1px);font-weight:700;padding:16px 32px;position:relative;text-align:center;text-transform:uppercase;transition:all .2s ease-out;width:100%}.artajs__modal .artajs__modal__form button:hover{background-color:var(--primary-unfocused-color);border:1px solid var(--primary-unfocused-color);color:var(--background-color)}.artajs__modal .artajs__modal__form button:disabled{background-color:#e6e9ec;border:1px solid #e6e9ec;color:var(--secondary-color);cursor:not-allowed}.artajs__modal .artajs__modal__form button:disabled svg path{fill:var(--secondary-color)}.artajs__modal .artajs__modal__form__arrow__container{position:absolute;right:15px;top:15px;z-index:3000}.artajs__modal .artajs__modal__form button:hover .artajs__modal__form__arrow__container{right:12px}.artajs__modal .artajs__modal__quotes{display:block;padding:0 20px 20px}.artajs__modal .artajs__modal__quotes__light{color:var(--secondary-color);font-size:var(--font-size)}.artajs__modal .artajs__modal__quotes__small{font-size:var(--font-size);font-style:normal}.artajs__modal p.artajs__modal__quotes__context{padding-bottom:4px}.artajs__modal p.artajs__modal__quotes__origin{display:block;font-size:calc(var(--font-size) + 2px);font-style:italic;line-height:18px;padding-bottom:4px}.artajs__modal p.artajs__modal__quotes__destination{display:block;font-size:calc(var(--font-size) + 2px);font-style:italic;line-height:18px;padding-bottom:20px}.artajs__modal .artajs__modal__quotes__box{background-color:var(--primary-unfocused-color);border-radius:2px;color:#fff;display:block;margin-bottom:20px;padding:20px 15px}.artajs__modal .artajs__modal__quotes__box__padding__y{padding:30px 0 20px 15px}.artajs__modal p.artajs__modal__quotes__context{display:block;font-size:var(--font-size);line-height:18px}.artajs__modal .artajs__modal__quotes__price{align-items:baseline;display:flex;margin-bottom:15px}.artajs__modal .artajs__modal__quotes__price,.artajs__modal .artajs__modal__quotes__price__amount{font-size:calc(var(--font-size) + 12px);line-height:24px}.artajs__modal .artajs__modal__quotes__price__currency_code{font-size:var(--font-size);line-height:24px;padding-left:5px;text-transform:uppercase}.artajs__modal p.artajs__modal__quotes__exclusions{display:block;font-size:calc(var(--font-size) - 2px);font-style:italic;line-height:10px}.artajs__modal div.artajs__modal__quotes__insurance{align-items:baseline;display:flex;padding-top:5px}.artajs__modal div.artajs__modal__quotes__insurance svg{margin-right:2px}.artajs__modal div.artajs__modal__quotes__insurance p{font-size:calc(var(--font-size) - 2px);font-style:italic;line-height:10px}.artajs__modal p.artajs__modal__quotes__disqualified{font-size:calc(var(--font-size) + 4px);line-height:24px}.artajs__modal a.artajs__modal__quotes__box__link{color:#fff;cursor:pointer;text-decoration:underline}.artajs__modal a.artajs__modal__quotes__box__link:hover{text-decoration:none}.artajs__modal p.artajs__modal__quotes__checkout{display:block;font-size:var(--font-size);line-height:18px;padding-right:50px}.artajs__modal p.artajs__modal__quotes__change{display:block;font-size:calc(var(--font-size) + 1px);line-height:18px;padding-top:15px}.artajs__modal .artajs__modal__quotes__change a{align-items:center;color:var(--secondary-color);cursor:pointer;display:flex;font-size:calc(var(--font-size) + 2px);font-style:italic;text-decoration:underline}.artajs__modal .artajs__modal__quotes__change a:hover{text-decoration:none}.artajs__modal .artajs__modal__quotes__change svg{margin-right:5px}.artajs__modal .artajs__modal__footer{background-color:var(--background-color);bottom:0;left:0;padding-bottom:25px;position:absolute;right:0;text-align:center}.artajs__modal .artajs__modal__footer__link{display:inline-block;text-decoration:none}.artajs__modal .artajs__modal__footer__link:hover{cursor:pointer}.artajs__modal .artajs__modal__error__container{background-color:#fbecec;bottom:0;color:#822828;font-size:calc(var(--font-size) - 1px);left:0;min-height:56px;position:absolute;right:0}.artajs__modal .artajs__modal__error{line-height:16px;padding:10px 20px 0}.artajs__modal .artajs__modal__textfield__outlined{display:block;font-family:var(--font-family);font-size:calc(var(--font-size) + 4px);line-height:1.5;overflow:hidden;padding-top:6px;position:relative}.artajs__modal .artajs__modal__textfield__outlined>input,.artajs__modal .artajs__modal__textfield__outlined>select{background-color:transparent;background:var(--background-color);border:1px solid;border-color:var(--secondary-color);border-radius:4px;border-top-color:transparent;box-shadow:none;box-sizing:border-box;caret-color:var(--secondary-color);color:var(--primary-color);font-family:inherit;font-size:inherit;height:inherit;line-height:inherit;margin:0;padding:15px 13px;transition:border .2s,box-shadow .2s;width:100%}.artajs__modal .artajs__modal__textfield__outlined>select{-webkit-appearance:none;-moz-appearance:none;background-image:linear-gradient(45deg,transparent 50%,gray 50%),linear-gradient(135deg,gray 50%,transparent 50%),linear-gradient(to right,var(--background-color),var(--background-color));background-position:calc(100% - 20px) calc(1em + 7px),calc(100% - 15px) calc(1em + 7px),calc(100% - 2.5em) .5em;background-repeat:no-repeat;background-size:5px 5px,5px 5px,1px 1.5em}.artajs__modal .artajs__modal__textfield__outlined>input+span,.artajs__modal .artajs__modal__textfield__outlined>select+span{border-color:var(--secondary-color);color:var(--secondary-color);cursor:text;display:flex;font-size:75%;left:0;line-height:15px;max-height:100%;position:absolute;top:0;transition:color .2s,font-size .2s,line-height .2s;width:100%}.artajs__modal .artajs__modal__textfield__outlined>input+span:after,.artajs__modal .artajs__modal__textfield__outlined>input+span:before,.artajs__modal .artajs__modal__textfield__outlined>select+span:after,.artajs__modal .artajs__modal__textfield__outlined>select+span:before{border-top:1px solid;border-top-color:var(--secondary-color);box-shadow:inset 0 1px transparent;box-sizing:border-box;content:"";display:block;height:8px;margin-top:6px;min-width:10px;pointer-events:none;transition:border-color .2s,box-shadow .2s}.artajs__modal .artajs__modal__textfield__outlined>input+span:before,.artajs__modal .artajs__modal__textfield__outlined>select+span:before{border-left:1px solid transparent;border-radius:4px 0;margin-right:4px}.artajs__modal .artajs__modal__textfield__outlined>input+span:after,.artajs__modal .artajs__modal__textfield__outlined>select+span:after{border-radius:0 4px;border-right:1px solid transparent;flex-grow:1;margin-left:4px}.artajs__modal .artajs__modal__textfield__outlined:hover>input,.artajs__modal .artajs__modal__textfield__outlined:hover>select{border-color:var(--primary-color);border-top-color:transparent}.artajs__modal .artajs__modal__textfield__outlined:hover>input+span:after,.artajs__modal .artajs__modal__textfield__outlined:hover>input+span:before,.artajs__modal .artajs__modal__textfield__outlined:hover>select+span:after,.artajs__modal .artajs__modal__textfield__outlined:hover>select+span:before{border-top-color:var(--primary-color)}.artajs__modal .artajs__modal__textfield__outlined:hover>input:not(:focus):-moz-placeholder-shown,.artajs__modal .artajs__modal__textfield__outlined:hover>select:not(:focus):-moz-placeholder-shown{border-color:var(--primary-color)}.artajs__modal .artajs__modal__textfield__outlined:hover>input:not(:focus):placeholder-shown,.artajs__modal .artajs__modal__textfield__outlined:hover>select:not(:focus):placeholder-shown{border-color:var(--primary-color)}.artajs__modal .artajs__modal__textfield__outlined>input:not(:focus):-moz-placeholder-shown,.artajs__modal .artajs__modal__textfield__outlined>select:not(:focus):-moz-placeholder-shown{border-top-color:var(--secondary-color)}.artajs__modal .artajs__modal__textfield__outlined>input:not(:focus):placeholder-shown,.artajs__modal .artajs__modal__textfield__outlined>select:not(:focus):placeholder-shown{border-top-color:var(--secondary-color)}.artajs__modal .artajs__modal__textfield__outlined>input:not(:focus):-moz-placeholder-shown+span,.artajs__modal .artajs__modal__textfield__outlined>select:not(:focus):-moz-placeholder-shown+span{font-size:inherit;line-height:68px}.artajs__modal .artajs__modal__textfield__outlined>input:not(:focus):placeholder-shown+span,.artajs__modal .artajs__modal__textfield__outlined>select:not(:focus):placeholder-shown+span{font-size:inherit;line-height:68px}.artajs__modal .artajs__modal__textfield__outlined>input:not(:focus):-moz-placeholder-shown+span:after,.artajs__modal .artajs__modal__textfield__outlined>input:not(:focus):-moz-placeholder-shown+span:before,.artajs__modal .artajs__modal__textfield__outlined>select:not(:focus):-moz-placeholder-shown+span:after,.artajs__modal .artajs__modal__textfield__outlined>select:not(:focus):-moz-placeholder-shown+span:before{border-top-color:transparent}.artajs__modal .artajs__modal__textfield__outlined>input:not(:focus):placeholder-shown+span:after,.artajs__modal .artajs__modal__textfield__outlined>input:not(:focus):placeholder-shown+span:before,.artajs__modal .artajs__modal__textfield__outlined>select:not(:focus):placeholder-shown+span:after,.artajs__modal .artajs__modal__textfield__outlined>select:not(:focus):placeholder-shown+span:before{border-top-color:transparent}.artajs__modal .artajs__modal__textfield__outlined>input:focus,.artajs__modal .artajs__modal__textfield__outlined>select:focus{border-color:var(--secondary-color);border-top-color:transparent;box-shadow:inset 1px 0 var(--primary-color),inset -1px 0 var(--primary-color),inset 0 -1px var(--primary-color);outline:none}.artajs__modal .artajs__modal__textfield__outlined>input:focus+span,.artajs__modal .artajs__modal__textfield__outlined>select:focus+span{color:var(--secondary-color)}.artajs__modal .artajs__modal__textfield__outlined>input:focus+span:after,.artajs__modal .artajs__modal__textfield__outlined>input:focus+span:before,.artajs__modal .artajs__modal__textfield__outlined>select:focus+span:after,.artajs__modal .artajs__modal__textfield__outlined>select:focus+span:before{border-top-color:var(--secondary-color)!important;box-shadow:inset 0 1px var(--primary-color)}.artajs__modal .artajs__modal__textfield__outlined>input:disabled,.artajs__modal .artajs__modal__textfield__outlined>input:disabled+span,.artajs__modal .artajs__modal__textfield__outlined>select:disabled,.artajs__modal .artajs__modal__textfield__outlined>select:disabled+span{border-color:var(--secondary-color)!important;border-top-color:transparent!important;color:rgba(0,0,0,.38);pointer-events:none}.artajs__modal .artajs__modal__textfield__outlined>input:disabled+span:after,.artajs__modal .artajs__modal__textfield__outlined>input:disabled+span:before,.artajs__modal .artajs__modal__textfield__outlined>select:disabled+span:after,.artajs__modal .artajs__modal__textfield__outlined>select:disabled+span:before{border-top-color:var(--secondary-color)!important}.artajs__modal .artajs__modal__textfield__outlined>input:disabled:-moz-placeholder-shown,.artajs__modal .artajs__modal__textfield__outlined>input:disabled:-moz-placeholder-shown+span,.artajs__modal .artajs__modal__textfield__outlined>select:disabled:-moz-placeholder-shown,.artajs__modal .artajs__modal__textfield__outlined>select:disabled:-moz-placeholder-shown+span{border-top-color:var(--secondary-color)!important}.artajs__modal .artajs__modal__textfield__outlined>input:disabled:placeholder-shown,.artajs__modal .artajs__modal__textfield__outlined>input:disabled:placeholder-shown+span,.artajs__modal .artajs__modal__textfield__outlined>select:disabled:placeholder-shown,.artajs__modal .artajs__modal__textfield__outlined>select:disabled:placeholder-shown+span{border-top-color:var(--secondary-color)!important}.artajs__modal .artajs__modal__textfield__outlined>input:disabled:-moz-placeholder-shown+span:after,.artajs__modal .artajs__modal__textfield__outlined>input:disabled:-moz-placeholder-shown+span:before,.artajs__modal .artajs__modal__textfield__outlined>select:disabled:-moz-placeholder-shown+span:after,.artajs__modal .artajs__modal__textfield__outlined>select:disabled:-moz-placeholder-shown+span:before{border-top-color:transparent!important}.artajs__modal .artajs__modal__textfield__outlined>input:disabled:placeholder-shown+span:after,.artajs__modal .artajs__modal__textfield__outlined>input:disabled:placeholder-shown+span:before,.artajs__modal .artajs__modal__textfield__outlined>select:disabled:placeholder-shown+span:after,.artajs__modal .artajs__modal__textfield__outlined>select:disabled:placeholder-shown+span:before{border-top-color:transparent!important}.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>input,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>select{border-color:var(--error-color)!important;border-top-color:transparent!important}.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>input+span,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>select+span{border-color:var(--error-color)!important;border-top-color:transparent!important;color:var(--error-color)!important}.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>input+span:after,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>input+span:before,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>select+span:after,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>select+span:before{border-top-color:var(--error-color)!important}.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error:hover>input,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error:hover>select{border-color:var(--error-color)!important;border-top-color:transparent!important}.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error:hover>input+span:after,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error:hover>input+span:before,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error:hover>select+span:after,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error:hover>select+span:before{border-top-color:var(--error-color)!important}.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error:hover>input:not(:focus):-moz-placeholder-shown,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error:hover>select:not(:focus):-moz-placeholder-shown{border-color:var(--error-color)!important}.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error:hover>input:not(:focus):placeholder-shown,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error:hover>select:not(:focus):placeholder-shown{border-color:var(--error-color)!important}.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>input:not(:focus):-moz-placeholder-shown,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>select:not(:focus):-moz-placeholder-shown{border-top-color:var(--error-color)!important}.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>input:not(:focus):placeholder-shown,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>select:not(:focus):placeholder-shown{border-top-color:var(--error-color)!important}.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>input:not(:focus):-moz-placeholder-shown+span:after,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>input:not(:focus):-moz-placeholder-shown+span:before,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>select:not(:focus):-moz-placeholder-shown+span:after,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>select:not(:focus):-moz-placeholder-shown+span:before{border-top-color:transparent!important}.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>input:not(:focus):placeholder-shown+span:after,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>input:not(:focus):placeholder-shown+span:before,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>select:not(:focus):placeholder-shown+span:after,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>select:not(:focus):placeholder-shown+span:before{border-top-color:transparent!important}.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>input:focus,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>select:focus{border-color:var(--error-color)!important;border-top-color:transparent!important;box-shadow:inset 1px 0 var(--error-color),inset -1px 0 var(--error-color),inset 0 -1px var(--error-color)!important}.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>input:focus+span,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>select:focus+span{color:var(--error-color)!important}.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>input:focus+span:after,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>input:focus+span:before,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>select:focus+span:after,.artajs__modal .artajs__modal__textfield__outlined.artajs__modal__textfield__outlined__error>select:focus+span:before{border-top-color:var(--error-color)!important;box-shadow:inset 0 1px var(--error-color)!important}@media not all and (-webkit-min-device-pixel-ratio:0),not all and (min-resolution:.001dpcm){@supports (-webkit-appearance:none){.artajs__modal .artajs__modal__textfield__outlined>input,.artajs__modal .artajs__modal__textfield__outlined>input+span,.artajs__modal .artajs__modal__textfield__outlined>input+span:after,.artajs__modal .artajs__modal__textfield__outlined>input+span:before,.artajs__modal .artajs__modal__textfield__outlined>select,.artajs__modal .artajs__modal__textfield__outlined>select+span,.artajs__modal .artajs__modal__textfield__outlined>select+span:after,.artajs__modal .artajs__modal__textfield__outlined>select+span:before{transition-duration:.1s}}}.artajs__modal .artajs__modal__loading__text{font-size:var(--font-size);padding:10px 20px}.artajs__modal .artajs__modal__loading{align-items:center;display:flex;height:250px;justify-content:space-around}.artajs__modal .artajs__modal__loading svg{display:block;height:30px;margin:0 auto;width:30px}.artajs__modal .artajs__modal__loading polyline{fill:none;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}.artajs__modal .artajs__modal__loading .st0{stroke:#9d8fc6;stroke-dasharray:232;stroke-dashoffset:232;animation:dash 2s .5s infinite}.artajs__modal .artajs__modal__loading .st1{stroke:var(--primary-color);stroke-dasharray:160;stroke-dashoffset:160;animation:dash 2s .5s infinite}@keyframes dash{to{stroke-dashoffset:0}}'}),T("div",{class:"artajs",children:["center"===r&&T("div",{class:"artajs__modal__backdrop"}),T("div",{class:"artajs__modal artajs__modal__"+r,style:w,children:[T(fe,{onClose:t,title:_.text.header.title}),u===ae.LOADING&&T(je,{message:_.text.loading.message}),u===ae.OPEN&&T(_e,{parsedOrigin:s,textConfig:ie(_),setDestination:i}),u===ae.QUOTED&&b&&T(ce,{quoteRequest:b,showCostRange:"range"===_.style.pricingDisplay,textConfig:ne(_),setStatus:p}),u===ae.DISQUALIFIED&&b&&T(de,{quoteRequest:b,textConfig:le(_),setStatus:p}),T(he,{primaryColor:_.style.color.primaryColor,poweredByButtonColor:_.style.color.poweredByButtonColor}),y&&y.length>0&&T("div",{class:"artajs__modal__error__container",children:T("div",{class:"artajs__modal__error",children:y.map(function(e,a){return T("span",{children:e},"arta-error-"+a)})})})]})]})]})},ve=/*#__PURE__*/function(){function e(e,a,o){this.estimateBody=void 0,this.config=void 0,this.el=void 0,this.ready=!1,this.estimateBody=e,this.config=a,this.el=o}var a=e.prototype;return a.open=function(){H(T(be,{onClose:this.onClose.bind(this),estimateBody:this.estimateBody,config:this.config}),this.el)},a.onClose=function(e){e.preventDefault(),H(T("div",{}),this.el)},a.validate=function(){try{var e=this;return Promise.resolve(function(e,a){try{var o=JSON.stringify({estimate:a});return Promise.resolve(xe("/estimate/validate",e,o)).then(function(e){return!e.errors||0===e.errors.length})}catch(e){return Promise.reject(e)}}(e.config,e.estimateBody)).then(function(){e.ready=!0})}catch(e){return Promise.reject(e)}},e}(),ge={host:"api.arta.io"};return window.Arta=new(/*#__PURE__*/function(){function a(){this.el=void 0,this.config=void 0}var o=a.prototype;return o.init=function(a,o){this.config=Object.assign(e({},ge,{apiKey:a}),o),document.querySelectorAll("#arta-widget").length||(this.el=document.createElement("div"),this.el.id="arta-widget",document.body.appendChild(this.el))},o.estimate=function(e,a){if(this.config&&this.el){var o=pe(this.config,a);return new ve(e,o,this.el)}throw new Error("Please initialize the SDK with Arta.init before creating estimates")},a}()),window.Arta});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const withoutPostal: Set<string>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.withoutPostal = void 0;
|
|
4
|
+
exports.withoutPostal = new Set([
|
|
5
|
+
'AO',
|
|
6
|
+
'AG',
|
|
7
|
+
'AW',
|
|
8
|
+
'BS',
|
|
9
|
+
'BZ',
|
|
10
|
+
'BJ',
|
|
11
|
+
'BW',
|
|
12
|
+
'BO',
|
|
13
|
+
'BF',
|
|
14
|
+
'BI',
|
|
15
|
+
'CM',
|
|
16
|
+
'CF',
|
|
17
|
+
'KM',
|
|
18
|
+
'CG',
|
|
19
|
+
'CD',
|
|
20
|
+
'CK',
|
|
21
|
+
'CI',
|
|
22
|
+
'DJ',
|
|
23
|
+
'DM',
|
|
24
|
+
'TL',
|
|
25
|
+
'GQ',
|
|
26
|
+
'ER',
|
|
27
|
+
'FJ',
|
|
28
|
+
'TF',
|
|
29
|
+
'GM',
|
|
30
|
+
'GA',
|
|
31
|
+
'GH',
|
|
32
|
+
'GD',
|
|
33
|
+
'GY',
|
|
34
|
+
'HM',
|
|
35
|
+
'HK',
|
|
36
|
+
'KI',
|
|
37
|
+
'LY',
|
|
38
|
+
'MO',
|
|
39
|
+
'MW',
|
|
40
|
+
'ML',
|
|
41
|
+
'MR',
|
|
42
|
+
'NR',
|
|
43
|
+
'AN',
|
|
44
|
+
'NU',
|
|
45
|
+
'KP',
|
|
46
|
+
'QA',
|
|
47
|
+
'RW',
|
|
48
|
+
'KN',
|
|
49
|
+
'ST',
|
|
50
|
+
'SC',
|
|
51
|
+
'SL',
|
|
52
|
+
'SB',
|
|
53
|
+
'SR',
|
|
54
|
+
'SY',
|
|
55
|
+
'TG',
|
|
56
|
+
'TK',
|
|
57
|
+
'TO',
|
|
58
|
+
'TV',
|
|
59
|
+
'UG',
|
|
60
|
+
'AE',
|
|
61
|
+
'VU',
|
|
62
|
+
'YE',
|
|
63
|
+
'ZW',
|
|
64
|
+
]);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ArtaLocation } from '../../MetadataTypes';
|
|
2
|
+
export interface DestinationTextConfig {
|
|
3
|
+
descriptionLabel: string;
|
|
4
|
+
buttonText: string;
|
|
5
|
+
countryLabel: string;
|
|
6
|
+
zipLabel: string;
|
|
7
|
+
cityLabel: string;
|
|
8
|
+
}
|
|
9
|
+
export interface DestinationFullTextConfig extends DestinationTextConfig {
|
|
10
|
+
detailOriginLabel: string;
|
|
11
|
+
backgroundColor: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const defaultDestinationConfig: {
|
|
14
|
+
descriptionLabel: string;
|
|
15
|
+
buttonText: string;
|
|
16
|
+
countryLabel: string;
|
|
17
|
+
zipLabel: string;
|
|
18
|
+
cityLabel: string;
|
|
19
|
+
};
|
|
20
|
+
interface DestinationOpts {
|
|
21
|
+
parsedOrigin: string;
|
|
22
|
+
textConfig: DestinationFullTextConfig;
|
|
23
|
+
setDestination: (location: ArtaLocation) => void;
|
|
24
|
+
}
|
|
25
|
+
export declare const Destination: ({ parsedOrigin, textConfig, setDestination, }: DestinationOpts) => import("preact").JSX.Element;
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.Destination = exports.defaultDestinationConfig = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("preact/jsx-runtime");
|
|
16
|
+
var hooks_1 = require("preact/hooks");
|
|
17
|
+
var countriesWithoutPostalCode_1 = require("./countriesWithoutPostalCode");
|
|
18
|
+
var countries_1 = require("../../fixtures/countries");
|
|
19
|
+
exports.defaultDestinationConfig = {
|
|
20
|
+
descriptionLabel: 'Get a cost estimate to ship these goods from:',
|
|
21
|
+
buttonText: 'Get Costs',
|
|
22
|
+
countryLabel: 'Country',
|
|
23
|
+
zipLabel: 'Destination Postal/Zip Code',
|
|
24
|
+
cityLabel: 'Destination City',
|
|
25
|
+
};
|
|
26
|
+
var Destination = function (_a) {
|
|
27
|
+
var parsedOrigin = _a.parsedOrigin, textConfig = _a.textConfig, setDestination = _a.setDestination;
|
|
28
|
+
var _b = (0, hooks_1.useState)('US'), country = _b[0], setCountry = _b[1];
|
|
29
|
+
var _c = (0, hooks_1.useState)(false), isWithoutPostal = _c[0], setIsWithoutPostal = _c[1];
|
|
30
|
+
var _d = (0, hooks_1.useState)(''), postalCode = _d[0], setPostalCode = _d[1];
|
|
31
|
+
var isDestinationError = false;
|
|
32
|
+
var enabled = true;
|
|
33
|
+
var onCountryChange = function (e) {
|
|
34
|
+
setCountry(e.target.value);
|
|
35
|
+
if (countriesWithoutPostalCode_1.withoutPostal.has(e.target.value)) {
|
|
36
|
+
setIsWithoutPostal(true);
|
|
37
|
+
setPostalCode('');
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
setIsWithoutPostal(false);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
var onPostalCodeInput = function (e) {
|
|
44
|
+
setPostalCode(e.target.value);
|
|
45
|
+
};
|
|
46
|
+
var onFormSubmit = function (e) {
|
|
47
|
+
e.preventDefault();
|
|
48
|
+
setDestination({
|
|
49
|
+
postal_code: postalCode,
|
|
50
|
+
country: country,
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
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)("span", __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.jsx)("div", __assign({ className: "artajs__modal__form__row" }, { children: (0, jsx_runtime_1.jsxs)("label", __assign({ class: "artajs__modal__textfield__outlined ".concat(isDestinationError
|
|
54
|
+
? 'artajs__modal__textfield__outlined__error'
|
|
55
|
+
: ''), for: "country" }, { children: [(0, jsx_runtime_1.jsx)("select", __assign({ id: "country", onChange: onCountryChange, placeholder: " ", 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.jsx)("span", { children: textConfig.countryLabel })] })) })), (0, jsx_runtime_1.jsx)("div", __assign({ className: "artajs__modal__form__row" }, { children: (0, jsx_runtime_1.jsxs)("label", __assign({ class: "artajs__modal__textfield__outlined ".concat(isDestinationError
|
|
56
|
+
? 'artajs__modal__textfield__outlined__error'
|
|
57
|
+
: ''), 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)("span", { children: isWithoutPostal ? textConfig.cityLabel : textConfig.zipLabel })] })) })), (0, jsx_runtime_1.jsx)("div", __assign({ className: "artajs__modal__form__row" }, { children: (0, jsx_runtime_1.jsxs)("button", __assign({ disabled: !enabled || postalCode === '' ? true : false, type: "submit" }, { children: [textConfig.buttonText, (0, jsx_runtime_1.jsx)("div", __assign({ class: "artajs__modal__form__arrow__container" }, { children: (0, jsx_runtime_1.jsx)("svg", __assign({ width: "20", height: "8", viewBox: "0 0 20 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M16.4144 0.292893C16.0239 -0.0976312 15.3907 -0.0976313 15.0002 0.292893C14.6096 0.683417 14.6096 1.31658 15.0002 1.70711L16.193 2.90002L1.00008 2.90002C0.44779 2.90002 7.61476e-05 3.34774 7.61235e-05 3.90002C7.60993e-05 4.45231 0.44779 4.90002 1.00008 4.90002L16.1501 4.90002L15.0001 6.05003C14.6096 6.44055 14.6096 7.07372 15.0001 7.46424C15.3906 7.85477 16.0238 7.85477 16.4143 7.46424L20 3.87861L16.4144 0.292893Z", fill: "".concat(textConfig.backgroundColor) }) })) }))] })) }))] }))] })));
|
|
58
|
+
};
|
|
59
|
+
exports.Destination = Destination;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { QuoteRequest } from '../../requests';
|
|
2
|
+
import { ModalStatus } from '../../ModalStatus';
|
|
3
|
+
export interface DisqualifiedTextConfig {
|
|
4
|
+
shipFromLabel: string;
|
|
5
|
+
shipToLabel: string;
|
|
6
|
+
contactEmail: string;
|
|
7
|
+
emailHeaderLabel: string;
|
|
8
|
+
emailFooterLabel: string;
|
|
9
|
+
}
|
|
10
|
+
export interface DisqualifiedFullTextConfig extends DisqualifiedTextConfig {
|
|
11
|
+
detailOriginLabel: string;
|
|
12
|
+
detailDestinationLabel: string;
|
|
13
|
+
returnLinkLabel: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const defaultDisqualifiedConfig: {
|
|
16
|
+
shipFromLabel: string;
|
|
17
|
+
shipToLabel: string;
|
|
18
|
+
contactEmail: string;
|
|
19
|
+
emailHeaderLabel: string;
|
|
20
|
+
emailFooterLabel: string;
|
|
21
|
+
};
|
|
22
|
+
interface DisqualifiedOpts {
|
|
23
|
+
quoteRequest: QuoteRequest;
|
|
24
|
+
textConfig: DisqualifiedFullTextConfig;
|
|
25
|
+
setStatus: (status: ModalStatus) => void;
|
|
26
|
+
}
|
|
27
|
+
export declare const Disqualified: ({ quoteRequest, textConfig, setStatus, }: DisqualifiedOpts) => import("preact").JSX.Element;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.Disqualified = exports.defaultDisqualifiedConfig = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("preact/jsx-runtime");
|
|
16
|
+
var helper_1 = require("../../helper");
|
|
17
|
+
var ModalStatus_1 = require("../../ModalStatus");
|
|
18
|
+
exports.defaultDisqualifiedConfig = {
|
|
19
|
+
shipFromLabel: 'Unfortunately we could not retrieve costs for shipping these goods from:',
|
|
20
|
+
shipToLabel: 'To:',
|
|
21
|
+
contactEmail: 'hello@arta.io',
|
|
22
|
+
emailHeaderLabel: 'Please contact',
|
|
23
|
+
emailFooterLabel: 'to request a custom quote',
|
|
24
|
+
};
|
|
25
|
+
var Disqualified = function (_a) {
|
|
26
|
+
var quoteRequest = _a.quoteRequest, textConfig = _a.textConfig, setStatus = _a.setStatus;
|
|
27
|
+
var onChangeDestination = function (e) {
|
|
28
|
+
e.preventDefault();
|
|
29
|
+
setStatus(ModalStatus_1.ModalStatus.OPEN);
|
|
30
|
+
};
|
|
31
|
+
var parsedOrigin = (0, helper_1.parseEstimatedLocation)(quoteRequest.origin);
|
|
32
|
+
var parsedDestination = (0, helper_1.parseEstimatedLocation)(quoteRequest.destination);
|
|
33
|
+
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)("span", __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)("br", {}), (0, jsx_runtime_1.jsx)("a", __assign({ class: "artajs__modal__quotes__box__link", href: "mailto:".concat(textConfig.contactEmail) }, { children: textConfig.contactEmail })), (0, jsx_runtime_1.jsx)("br", {}), 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({ width: "20", height: "8", viewBox: "0 0 20 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M3.58562 7.46419C3.97614 7.85471 4.60931 7.85471 4.99983 7.46419C5.39036 7.07366 5.39036 6.4405 4.99983 6.04997L3.80697 4.85706L18.9999 4.85706C19.5522 4.85706 19.9999 4.40934 19.9999 3.85706C19.9999 3.30477 19.5522 2.85706 18.9999 2.85706L3.84988 2.85706L4.99993 1.70705C5.39045 1.31653 5.39045 0.683363 4.99993 0.292839C4.6094 -0.0976858 3.97624 -0.0976858 3.58571 0.292839L4.62519e-08 3.87847L3.58562 7.46419Z", fill: "#99A5B2" }) })), textConfig.returnLinkLabel] })) }))] })));
|
|
34
|
+
};
|
|
35
|
+
exports.Disqualified = Disqualified;
|