From 671fe3bcec798baa4404b6feec5a60a43a406ff0 Mon Sep 17 00:00:00 2001 From: Santiago Sanz Date: Wed, 30 Nov 2022 10:51:00 -0300 Subject: [PATCH] fix: czech country shortcode --- CHANGELOG.md | 4 + checkout-ui-custom/checkout6-custom.js | 2 +- checkout-ui-custom/package-lock.json | 10276 ++++++++++++++++++- checkout-ui-custom/src/_js/_countries.js | 28 +- checkout-ui-custom/yarn.lock | 11249 +++++++++++---------- package-lock.json | 7816 ++++++++++++++ package.json | 4 +- yarn.lock | 4781 ++++----- 8 files changed, 26143 insertions(+), 8017 deletions(-) create mode 100644 package-lock.json diff --git a/CHANGELOG.md b/CHANGELOG.md index ef882b90..7773a34c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Fixed + +- Czech's country shortcode for Google Autocomplete fields + ## [0.8.28] - 2022-11-15 ### Fixed diff --git a/checkout-ui-custom/checkout6-custom.js b/checkout-ui-custom/checkout6-custom.js index 549ee314..6ce53842 100644 --- a/checkout-ui-custom/checkout6-custom.js +++ b/checkout-ui-custom/checkout6-custom.js @@ -1 +1 @@ -!function(e){var o={};function a(n){if(o[n])return o[n].exports;var t=o[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=e,a.c=o,a.d=function(e,o,n){a.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,o){if(1&o&&(e=a(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var t in e)a.d(n,t,function(o){return e[o]}.bind(null,t));return n},a.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(o,"a",o),o},a.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},a.p="",a(a.s=2)}([function(e,o){e.exports._locale={BRA:{couponInactive:"Nenhum desconto aplicado. Confira as regras.",editLabel:"Editar",deliveryDateText:"Entrega até",PickupDateText:"Pronto até",eachLabel:"cada",tomorrowLabel:"Amanhã",cartSubmitButton:"Continuar pagamento",checkoutStepsLabelCart:"Carrinho",checkoutStepsLabelIdentification:"Identificação",checkoutStepsLabelShipping:"Entrega",checkoutStepsLabelPayment:"Pagamento",checkoutStepsLabelConfirmation:"Confirmação",city:"Cidade",state:"Estado",number:"Número",postalCode:"Código postal",address1Placeholder:"Endereço",address2Placeholder:"Complemento",requiredField:"Este campo é obrigatório.",locale:"pt-BR"},CAN:{couponInactive:"No discounts available. Check the conditions.",editLabel:"Edit",paypalImg:"",paypalPhone:"1 (888) 221-1161",cartSubmitButton:"Proceed to Payment",deliveryDateText:"Arrives by",PickupDateText:"Ready by",eachLabel:"each",tomorrowLabel:"Tomorrow",cartNoteLabel:"Gift Message or Comments",identifiedUserMessage:"Thanks for coming back!\nTo expedite your transaction, we have securely populated your information for you.",address1Placeholder:"Street address",address2Placeholder:"Apartment, suite, building, floor, etc (optional)",checkoutStepsLabelCart:"Cart",checkoutStepsLabelIdentification:"Identification",checkoutStepsLabelShipping:"Shipping",checkoutStepsLabelPayment:"Payment",checkoutStepsLabelConfirmation:"Confirmation",googleAddressLabel:"Street Address",requiredField:"This field is required.",city:"City",state:"State",locale:"en-CA"},USA:{country:"Country",postalCode:"Postal Code",couponInactive:"No discounts available. Check the conditions.",editLabel:"Edit",paypalImg:"",paypalPhone:"1 (888) 221-1161",cartSubmitButton:"Proceed to Payment",deliveryDateText:"Arrives by",PickupDateText:"Ready by",eachLabel:"each",tomorrowLabel:"Tomorrow",cartNoteLabel:"Gift Message or Comments",identifiedUserMessage:"Thanks for coming back!\nTo expedite your transaction, we have securely populated your information for you.",address1Placeholder:"Street address or P.O. Box",address2Placeholder:"Apartment, suite, building, floor, etc (optional)",checkoutStepsLabelCart:"Cart",checkoutStepsLabelIdentification:"Identification",checkoutStepsLabelShipping:"Shipping",checkoutStepsLabelPayment:"Payment",checkoutStepsLabelConfirmation:"Confirmation",googleAddressLabel:"Street Address",requiredField:"This field is required.",city:"City",state:"State",locale:"en-US"},GBR:{couponInactive:"No discounts available. Check the conditions.",editLabel:"Edit",paypalImg:"",paypalPhone:"",cartSubmitButton:"Proceed to Payment",deliveryDateText:"Arrives by",PickupDateText:"Ready by",eachLabel:"each",tomorrowLabel:"Tomorrow",cartNoteLabel:"Gift Message or Comments",identifiedUserMessage:"Thanks for coming back!\nTo expedite your transaction, we have securely populated your information for you.",address1Placeholder:"Street address",address2Placeholder:"Apartment, suite, building, floor, etc (optional)",checkoutStepsLabelCart:"Cart",checkoutStepsLabelIdentification:"Identification",checkoutStepsLabelShipping:"Shipping",checkoutStepsLabelPayment:"Payment",checkoutStepsLabelConfirmation:"Confirmation",requiredField:"This field is required.",city:"City",state:"State",number:"Number",postalCode:"Postal Code",locale:"en-GB"},POR:{couponInactive:"Nenhum desconto aplicado. Confira as regras.",editLabel:"Editar",paypalImg:"",paypalPhone:"",deliveryDateText:"Entrega até",PickupDateText:"Pronto até",eachLabel:"cada",tomorrowLabel:"Amanhã",checkoutStepsLabelCart:"Carrinho",checkoutStepsLabelIdentification:"Identificação",checkoutStepsLabelShipping:"Entrega",checkoutStepsLabelPayment:"Pagamento",checkoutStepsLabelConfirmation:"Confirmação",requiredField:"Este campo é obrigatório",locale:"pt-BR"},ESP:{couponInactive:"No hay descuentos disponibles. Consulta las condiciones.",editLabel:"Editar",paypalImg:"",paypalPhone:"",cartSubmitButton:"Proceder al pago",deliveryDateText:"Llega por",PickupDateText:"Disponible",eachLabel:"cada",tomorrowLabel:"Mañana",cartNoteLabel:"Mensaje de regalo o comentarios",address1Placeholder:"Dirección",address2Placeholder:"Dirección Complementaria",checkoutStepsLabelCart:"Carrito",checkoutStepsLabelIdentification:"Identificación",checkoutStepsLabelShipping:"Entrega",checkoutStepsLabelPayment:"Pago",checkoutStepsLabelConfirmation:"Confirmación",city:"Ciudad",postalCode:"Código Postal",goToShipping:"Ir para la Entrega",state:"Provincia",requiredField:"Este campo es obligatorio.",number:"Número",locale:"es"},ARG:{couponInactive:"No hay descuentos disponibles. Consulta las condiciones.",editLabel:"Editar",paypalImg:"",paypalPhone:"",cartSubmitButton:"Proceder al pago",deliveryDateText:"Llega por",PickupDateText:"Disponible",eachLabel:"cada",tomorrowLabel:"Mañana",cartNoteLabel:"Mensaje de regalo o comentarios",address1Placeholder:"Dirección",address2Placeholder:"Dirección Complementaria",checkoutStepsLabelCart:"Carrito",checkoutStepsLabelIdentification:"Identificación",checkoutStepsLabelShipping:"Entrega",checkoutStepsLabelPayment:"Pago",checkoutStepsLabelConfirmation:"Confirmación",requiredField:"Este campo es obligatorio.",city:"Ciudad",state:"Província",locale:"ar"},COL:{couponInactive:"No hay descuentos disponibles. Consulta las condiciones.",editLabel:"Editar",paypalImg:"",paypalPhone:"",cartSubmitButton:"Proceder al pago",deliveryDateText:"Llega por",PickupDateText:"Disponible",eachLabel:"cada",tomorrowLabel:"Mañana",cartNoteLabel:"Mensaje de regalo o comentarios",address1Placeholder:"Dirección",address2Placeholder:"Dirección Complementaria",checkoutStepsLabelCart:"Carrito",checkoutStepsLabelIdentification:"Identificación",checkoutStepsLabelShipping:"Entrega",checkoutStepsLabelPayment:"Pago",checkoutStepsLabelConfirmation:"Confirmación",requiredField:"Este campo es obligatorio.",locale:"es-CO"},PAN:{couponInactive:"No hay descuentos disponibles. Consulta las condiciones.",editLabel:"Editar",paypalImg:"",paypalPhone:"",cartSubmitButton:"Proceder al pago",deliveryDateText:"Llega por",PickupDateText:"Disponible",eachLabel:"cada",tomorrowLabel:"Mañana",cartNoteLabel:"Mensaje de regalo o comentarios",address1Placeholder:"Dirección",address2Placeholder:"Dirección Complementaria",checkoutStepsLabelCart:"Carrito",checkoutStepsLabelIdentification:"Identificación",checkoutStepsLabelShipping:"Entrega",checkoutStepsLabelPayment:"Pago",checkoutStepsLabelConfirmation:"Confirmación",requiredField:"Este campo es obligatorio.",city:"Ciudad",state:"Estado",locale:"es-PA"},MEX:{couponInactive:"No hay descuentos disponibles. Consulta las condiciones.",editLabel:"Editar",paypalImg:"",paypalPhone:"",cartSubmitButton:"Proceder al pago",deliveryDateText:"Llega por",PickupDateText:"Disponible",eachLabel:"cada",tomorrowLabel:"Mañana",cartNoteLabel:"Mensaje de regalo o comentarios",address1Placeholder:"Dirección",address2Placeholder:"Dirección Complementaria",checkoutStepsLabelCart:"Carrito",checkoutStepsLabelIdentification:"Identificación",checkoutStepsLabelShipping:"Entrega",checkoutStepsLabelPayment:"Pago",checkoutStepsLabelConfirmation:"Confirmación",requiredField:"Este campo es obligatorio.",locale:"es-MX"},ITA:{couponInactive:"Nessuno sconto disponibile. Controlla le condizioni.",editLabel:"Modifica",paypalImg:"",paypalPhone:"",cartSubmitButton:"Procedi al pagamento",deliveryDateText:"In consegna entro",PickupDateText:"Pronto entro",eachLabel:"ciascuno",tomorrowLabel:"Domani",country:"Paese",cartNoteLabel:"Messaggio d'auguri o note",address1Placeholder:"Indirizzo",address2Placeholder:"Complementi",checkoutStepsLabelCart:"Carrello",checkoutStepsLabelIdentification:"Identificazione",checkoutStepsLabelShipping:"Spedizione",checkoutStepsLabelPayment:"Pagamento",checkoutStepsLabelConfirmation:"Conferma",city:"Città",state:"Provincia",number:"Numero",postalCode:"Codice Postale",requiredField:"Questo campo è obbligatorio.",numberPlaceholder:" ",locale:"it",goToShipping:"Vai alla spedizione"},FRA:{couponInactive:"Aucune réduction disponible. Vérifiez les conditions.",editLabel:"Modifier",paypalImg:"",paypalPhone:"+33 0186995653",cartSubmitButton:"Procéder au paiement",deliveryDateText:"Arrive le",PickupDateText:"Prêt le",eachLabel:"chaque",tomorrowLabel:"Demain",address1Placeholder:"Adresse ou Boîte postale",address2Placeholder:"Appartement, suite, bâtiment, étage, etc (facultatif)",checkoutStepsLabelCart:"Panier",checkoutStepsLabelIdentification:"Identification",checkoutStepsLabelShipping:"Expédition",checkoutStepsLabelPayment:"Paiement",checkoutStepsLabelConfirmation:"Confirmation",requiredField:"Ce champ est obligatoire.",city:"Ville",state:"État",number:"Numéro",postalCode:"Code Postal",locale:"fr"},FIN:{couponInactive:"Alennuksia ei saatavilla. Tarkasta ehdot.",editLabel:"Muokkaa",paypalImg:"",paypalPhone:"",cartSubmitButton:"Jatka maksuun",deliveryDateText:"Saapumisarvio",PickupDateText:"Valmiusarvio",eachLabel:"kappale",tomorrowLabel:"Huomenna",checkoutStepsLabelCart:"Ostoskori",checkoutStepsLabelIdentification:"Tunniste",checkoutStepsLabelShipping:"Toimitus",checkoutStepsLabelPayment:"Maksu",checkoutStepsLabelConfirmation:"Vahvistus",locale:"fi"},SWE:{couponInactive:"Inga rabatter tillgängliga, kontrollera villkoren.",editLabel:"Redigera",paypalImg:"",paypalPhone:"",cartSubmitButton:"Fortsätt till betalning",deliveryDateText:"Ankommer den",PickupDateText:"Redo den",eachLabel:"var",tomorrowLabel:"Imorgon",checkoutStepsLabelCart:"Kundvagn",checkoutStepsLabelIdentification:"Identifikation",checkoutStepsLabelShipping:"Leverans",checkoutStepsLabelPayment:"Betalning",checkoutStepsLabelConfirmation:"Bekräftelse",locale:"sv"},DEU:{couponInactive:"Kein Rabatt verfügbar. Überprüfen Sie die Bedingungen.",editLabel:"Anpassen",paypalImg:"",paypalPhone:"",cartSubmitButton:"Weiter zur Zahlung",DeliveryDateText:"Lieferung bis",PickupDateText:"Abholbereit bis",eachLabel:"jedes/jeder",tomorrowLabel:"Morgen",address1Placeholder:"Straße",address2Placeholder:"Straße (weiter)",postalCode:"Postleitzahl",country:"Land",city:"Stadt",state:"Bundesland",number:"Hausnummer",checkoutStepsLabelCart:"Warenkorb",checkoutStepsLabelIdentification:"Anmeldung",checkoutStepsLabelShipping:"Versand",checkoutStepsLabelPayment:"Zahlung",checkoutStepsLabelConfirmation:"Bestätigung",googleAddressLabel:"Adresse",locale:"de"},ARA:{couponInactive:"لا توجد خصومات متاحة. تحقق من الشروط.",editLabel:"تعديل",paypalImg:"",paypalPhone:"",cartSubmitButton:"انتقل إلى الدفع",deliveryDateText:"تصل قبل",PickupDateText:"جاهزة قبل",eachLabel:"كل",tomorrowLabel:"غدًا",cartNoteLabel:"رسالة هدية أو تعليقات",identifiedUserMessage:"شكرًا على عودتك!\nTلتسريع معاملتك، قمنا بتعبئة معلوماتك بشكل آمن.",address1Placeholder:"عنوان الشارع",address2Placeholder:"شقة، جناح، مبنى، طابق، إلخ (اختياري)",checkoutStepsLabelCart:"عربة التسوق",checkoutStepsLabelIdentification:"الهوية",checkoutStepsLabelShipping:"التسوق",checkoutStepsLabelPayment:"الدفع",checkoutStepsLabelConfirmation:"تأكيد",requiredField:"هذا الحقل مطلوب.",locale:"ar-TN"},RUS:{couponInactive:"Скидки недоступны. Проверьте условия.",editLabel:"Редактировать",paypalImg:"",paypalPhone:"",cartSubmitButton:"Перейте к оплате",deliveryDateText:"Дата прибытия",PickupDateText:"Дата готовности",eachLabel:"каждый",tomorrowLabel:"Завтра",cartNoteLabel:"Сообщение о подарке или комментарии",identifiedUserMessage:"Спасибо, что вернулись!\nДля ускорения вашей транзакции мы заполнили вашу информацию. Не волнуйтесь, ваши данные надёжно защищены.",address1Placeholder:"Адрес проживания/улица или адрес почтового ящика",address2Placeholder:"Квартира, номер дома, этаж (дополнительно)",checkoutStepsLabelCart:"Корзина",checkoutStepsLabelIdentification:"Идентификация",checkoutStepsLabelShipping:"Доставка",checkoutStepsLabelPayment:"Оплата",checkoutStepsLabelConfirmation:"Подтверждение",googleAddressLabel:"Улица и номер дома",requiredField:"Это обязательное поле.",city:"Город",state:"Область",locale:"ru"},POL:{couponInactive:"Brak dostępnych upustów. Sprawdź warunki.",editLabel:"Edytuj",paypalImg:"",paypalPhone:"",cartSubmitButton:"Przejdź do płatności",deliveryDateText:"Dotrze do",PickupDateText:"Gotowe do",eachLabel:"sztuka",tomorrowLabel:"Jutro",cartNoteLabel:"Wiadomość o podarunku lub komentarze",identifiedUserMessage:"Dziękujemy, że do nas wróciłeś!\nAby usprawnić Twoją transakcję, w bezpieczny sposób wypełniliśmy za Ciebie Twoje dane.",address1Placeholder:"Adres domowy lub skrzynka pocztowa",address2Placeholder:"Mieszkanie, apartament, budynek, piętro itd. (opcjonalnie)",checkoutStepsLabelCart:"Koszyk",checkoutStepsLabelIdentification:"Identyfikacja",checkoutStepsLabelShipping:"Wysyłka",checkoutStepsLabelPayment:"Płatność",checkoutStepsLabelConfirmation:"Potwierdzenie",googleAddressLabel:"Adres domowy",requiredField:"To pole jest wymagane.",city:"Miejscowość",state:"Stan (województwo)",locale:"pl"},ZAF:{couponInactive:"No discounts available. Check the conditions.",editLabel:"Edit",paypalImg:"",paypalPhone:"",cartSubmitButton:"Proceed to Payment",deliveryDateText:"Arrives by",PickupDateText:"Ready by",eachLabel:"each",tomorrowLabel:"Tomorrow",cartNoteLabel:"Gift Message or Comments",identifiedUserMessage:"Thanks for coming back!\nTo expedite your transaction, we have securely populated your information for you.",address1Placeholder:"Street address or P.O. Box",address2Placeholder:"Apartment number, unit, floor, etc.",checkoutStepsLabelCart:"Cart",checkoutStepsLabelIdentification:"Identification",checkoutStepsLabelShipping:"Shipping",checkoutStepsLabelPayment:"Payment",checkoutStepsLabelConfirmation:"Confirmation",googleAddressLabel:"Street Address",requiredField:"This field is required.",city:"City",state:"State",locale:"en-ZA"},GRC:{couponInactive:"Δεν υπάρχουν διαθέσιμες εκπτώσεις. Ελέγξτε τους όρους.",editLabel:"Επεξεργασία",paypallmg:"",paypalPhone:"",cartSubmitButton:"Μετάβαση στην Πληρωμή",deliveryDateText:"Άφιξη έως",PickupDateText:"Έτοιμο έως",eachLabel:"καθεμία",tomorrowLabel:"Αύριο",cartNoteLabel:"Μήνυμα δώρου ή Σχόλια",identifiedUserMessage:"Ευχαριστούμε που επανήλθατε!\n Για να επισπεύσουμε τη συναλλαγή σας, έχουμε συμπληρώσει με ασφάλεια τις πληροφορίες για εσάς.",address1Placeholder:"Διεύθυνση οδού ή Ταχυδρομική Θυρίδα",address2Placeholder:"Διαμέρισμα, σουίτα, κτήριο, όροφος κλπ (προαιρετικό)",checkoutStepsLabelCart:"Καρότσι",checkoutStepsLabelIdentification:"Αναγνώριση",checkoutStepsLabelShipping:"Αποστολή",checkoutStepsLabelPayment:"Πληρωμή",checkoutStepsLabelConfirmation:"Επιβεβαίωση",googleAddressLabel:"Διεύθυνση οδού",requiredField:"Αυτό το πεδίο είναι υποχρεωτικό.",city:"Πόλη",state:"Χώρα",locale:"gr"},CHE:{couponInactive:"Keine Rabatte verfügbar. Prüfen Sie die Bedingungen.",editLabel:"Bearbeiten",paypalImg:"",paypalPhone:"",cartSubmitButton:"Zur Zahlung übergehen",deliveryDateText:"Kommt an bis",PickupDateText:"Bereit bis",eachLabel:"jeder",tomorrowLabel:"Morgen",cartNoteLabel:"Geschenknachricht oder Kommentare",identifiedUserMessage:"Danke, dass Sie zurückgekommen sind!\nUm Ihre Transaktion zu beschleunigen, haben wir Ihre Daten für Sie sicher ausgefüllt.",address1Placeholder:"Straße oder Anschrift Box",address2Placeholder:"Wohnung, Appartement, Gebäude, Stockwerk, usw. (optional)",checkoutStepsLabelCart:"Warenkorb",checkoutStepsLabelIdentification:"Kennzeichnung",checkoutStepsLabelShipping:"Versand",checkoutStepsLabelPayment:"Zahlung",checkoutStepsLabelConfirmation:"Bestätigung",googleAddressLabel:"Straße und Hausnummer",requiredField:"Dieses Feld ist erforderlich.",city:"Stadt",state:"Staat",locale:"fr-CH"},HRV:{couponInactive:"Popusti niso na voljo. Preverite pogoje.",editLabel:"Uredi",paypalImg:"",paypalPhone:"",cartSubmitButton:"Nadaljujte na plačilom",deliveryDateText:"Prispe do",PickupDateText:"Pripravljeno do",eachLabel:"posamezen",tomorrowLabel:"Jutri",cartNoteLabel:"Darilno sporočilo ali komentarji",identifiedUserMessage:"Hvala, ker ste se vrnili! Da bi pospešili vašo transakcijo, smo za vas varno izpolnili vaše podatke.",address1Placeholder:"Ulični naslov ali poštna št",address2Placeholder:"Apartma, apartma, stavba, nadstropje itd. (neobvezno)",checkoutStepsLabelCart:"Košarica",checkoutStepsLabelIdentification:"Identifikacija",checkoutStepsLabelShipping:"Odpošiljanje",checkoutStepsLabelPayment:"Plačilo",checkoutStepsLabelConfirmation:"Potrditev",googleAddressLabel:"Naslov ulice",requiredField:"To polje je obvezno.",city:"Mesto",state:"Država",locale:"hr"},AUT:{couponInactive:"No discounts available. Check the conditions.",editLabel:"Edit",paypalImg:"",paypalPhone:"",cartSubmitButton:"Proceed to Payment",deliveryDateText:"Arrives by",PickupDateText:"Ready by",eachLabel:"each",tomorrowLabel:"Tomorrow",cartNoteLabel:"Gift Message or Comments",identifiedUserMessage:"Thanks for coming back!\nTo expedite your transaction, we have securely populated your information for you.",address1Placeholder:"Street address",address2Placeholder:"Apartment, suite, building, floor, etc (optional)",checkoutStepsLabelCart:"Cart",checkoutStepsLabelIdentification:"Identification",checkoutStepsLabelShipping:"Shipping",checkoutStepsLabelPayment:"Payment",checkoutStepsLabelConfirmation:"Confirmation",requiredField:"This field is required.",locale:"de-AT"},ROU:{couponInactive:"Nu sunt disponibile reduceri. Este necesară verificarea condițiilor.",editLabel:"Editează",paypalImg:"",paypalPhone:"",cartSubmitButton:"Mergi la plată",deliveryDateText:"Sosește până la",PickupDateText:"Este pregătit până la",eachLabel:"fiecare",tomorrowLabel:"Mâine",cartNoteLabel:"Mesaj cadou sau observații",identifiedUserMessage:"Îți mulțumim că ai revenit!\nPentru a-ți accelera tranzacția, am populat în condiții de siguranță informațiile tale",address1Placeholder:"Strada sau cutia poștală",address2Placeholder:"Apartament, clădire, etaj etc. (opțional)",checkoutStepsLabelCart:"Coș de cumpărături",checkoutStepsLabelIdentification:"Identificare",checkoutStepsLabelShipping:"Expediere",checkoutStepsLabelPayment:"Plată",checkoutStepsLabelConfirmation:"Confirmare",googleAddressLabel:"Adresa",requiredField:"Acest câmp este obligatoriu.",city:"Oraș",state:"Stat",locale:"ro-MD"},NLD:{couponInactive:"Geen kortingen beschikbaar. Controleer de voorwaarden.",editLabel:"Bewerken",paypalImg:"",paypalPhone:"",cartSubmitButton:"Ga naar betaling",deliveryDateText:"Word geleverd op",PickupDateText:"Klaar op",eachLabel:"elk",tomorrowLabel:"Morgen",cartNoteLabel:"Geschenkboodschap of commentaar",identifiedUserMessage:"Bedankt dat u terugkwam!\nOm uw transactie te bespoedigen, hebben wij uw gegevens veilig voor u ingevuld.",address1Placeholder:"Adres of postbus ",address2Placeholder:"Appartement, suite, gebouw, verdieping, enz (facultatief)",checkoutStepsLabelCart:"Winkelwagen",checkoutStepsLabelIdentification:"Identificatie",checkoutStepsLabelShipping:"Verzending",checkoutStepsLabelPayment:"Betaling",checkoutStepsLabelConfirmation:"Bevestiging",googleAddressLabel:"Adres",requiredField:"Dit veld is verplicht.",city:"Stad",state:"Staat",locale:"nl"},BEL:{couponInactive:"Geen kortingen beschikbaar. Controleer de voorwaarden.",editLabel:"Bewerken",paypalImg:"",paypalPhone:"",cartSubmitButton:"Ga naar betaling",deliveryDateText:"Word geleverd op",PickupDateText:"Klaar op",eachLabel:"elk",tomorrowLabel:"Morgen",cartNoteLabel:"Geschenkboodschap of commentaar",identifiedUserMessage:"Bedankt dat u terugkwam!\nOm uw transactie te bespoedigen, hebben wij uw gegevens veilig voor u ingevuld.",address1Placeholder:"Adres of postbus ",address2Placeholder:"Appartement, suite, gebouw, verdieping, enz (facultatief)",checkoutStepsLabelCart:"Winkelwagen",checkoutStepsLabelIdentification:"Identificatie",checkoutStepsLabelShipping:"Verzending",checkoutStepsLabelPayment:"Betaling",checkoutStepsLabelConfirmation:"Bevestiging",googleAddressLabel:"Adres",requiredField:"Dit veld is verplicht.",city:"Stad",state:"Staat",locale:"nl-BE"},CZE:{couponInactive:"Nie sú dostupné žiadne zľavy. Pozrite si podmienky.",editLabel:"Upraviť",paypalImg:"",paypalPhone:"",cartSubmitButton:"Pokračovať k platbe",deliveryDateText:"Bude doručené do",PickupDateText:"Pripravené na vyzdvihnutie",eachLabel:"každé",tomorrowLabel:"zajtra",cartNoteLabel:"Odkaz k darčeku alebo komentáre",identifiedUserMessage:"Ďakujeme, že ste tu znova!\nNa urýchlenie vašej transakcie sme za vás bezpečne vyplnili vaše informácie.",address1Placeholder:"Ulica alebo P.O. box",address2Placeholder:"Byt, apartmán, budova, poschodie atď. (voliteľné)",checkoutStepsLabelCart:"Košík",checkoutStepsLabelIdentification:"Identifikácia",checkoutStepsLabelShipping:"Dodanie",checkoutStepsLabelPayment:"Platba",checkoutStepsLabelConfirmation:"Potvrdenie",googleAddressLabel:"Ulica",requiredField:"Toto pole je povinné.",city:"Mesto",state:"Štát",locale:"cs"}}},function(e,o){e.exports.debounce=(e,o)=>{let a;return function(...n){clearTimeout(a),a=setTimeout(()=>{clearTimeout(a),e(...n)},o)}},e.exports.formatCurrency=(e,o,a)=>{const n=a/100;return new Intl.NumberFormat(e,{style:"currency",currency:o}).format(n),n},e.exports.findClosestLang=(e,o)=>{const[a]=e.split("-");return Object.values(o).find(e=>{const[o]=e.locale.split("-");return a===o})},e.exports.getShipStateValue=e=>$(`.vcustom--vtex-omnishipping-1-x-address #ship-state option[value^='${e}']`).val()||$(`.vcustom--vtex-omnishipping-1-x-address #ship-state option[value$='${e}']`).val()},function(e,o,a){a(3),e.exports=a(8)},function(e,o,a){const n=a(4),t=a(5);window.vcustom={checkout:new t({type:"vertical",accordionPayments:!0,deliveryDateFormat:!1,quantityPriceCart:!1,showNoteField:!1,customAddressForm:!1,hideEmailStep:!0}),debug:new n({dbg:!1,logo:""})},window.vcustom.checkout.start()},function(e,o){e.exports=class{constructor({logo:e=''}={}){this.classOn="debug-on",this.logo=e,this.headerHTML=`
`,this.footerHTML=''}headernFooter(){$("body").prepend(this.headerHTML),$("body").append(this.footerHTML)}start(){$("body").addClass(this.classOn),this.headernFooter(),console.log("%c >>>>> YOU ARE CURRENTLY DEBUGING THE HEADER, IT'S A BETA! ISSUES CAN HAPPEN... Use `vcustom.debug.stop()` to stop! ","background: #111; color: #bada55")}stop(){$("body").removeClass(this.classOn),$(".debug-elem").remove()}}},function(e,o,a){const{_locale:n}=a(0),{debounce:t,formatCurrency:r,findClosestLang:s}=a(1),d=a(6);e.exports=class{constructor({type:e="vertical",accordionPayments:o=!0,deliveryDateFormat:a=!1,quantityPriceCart:n=!1,showNoteField:t=!1,customAddressForm:r=!1,hideEmailStep:s=!0}={}){this.type=e,this.orderForm="",this.orderId=this.orderForm?this.orderForm.orderFormId:"",this.lang="",this.accordionPayments=o,this.deliveryDateFormat=a,this.quantityPriceCart=n,this.showNoteField=t,this.customAddressForm=r,this.hideEmailStep=s}general(){$(".custom-cart-template-wrap").length||$(".cart-template.mini-cart .cart-fixed > *").wrapAll('
'),$(".table.cart-items tbody tr.product-item").each((function(){$(this).find(".v-custom-product-item-wrap").length||$(this).find("> *").wrapAll('
')})),$("body").addClass("v-custom-loaded")}onDomMutation({targetNode:e,callback:o,disconnectCondition:a=!0}){const n=function(){const e=window.MutationObserver||window.WebKitMutationObserver;return function(o,a){if(o&&1===o.nodeType){if(e){const n=new e(a);return n.observe(o,{childList:!0,subtree:!0}),n}window.addEventListener&&(o.addEventListener("DOMNodeInserted",a,!1),o.addEventListener("DOMNodeRemoved",a,!1))}}}(),t=new MutationObserver((function(){e&&a&&(t.disconnect(),n(e,()=>o()))}));t.observe(document.body,{childList:!0,subtree:!0})}buildVertical(){$("body").addClass("body-cart-vertical"),$(".cart-template .cart-links-bottom:eq(0)").appendTo(".cart-template > .summary-template-holder")}buildHorizontal(){}showDeliveryOptions(){$(".cart-template .cart-more-options:eq(0), .cart-template .extensions-checkout-buttons-container").appendTo(".cart-template-holder")}builder(){const e=this;"vertical"===e.type?e.buildVertical():"horizontal"===e.type?e.buildHorizontal():console.error("No `type` identified, check your code"),e.showNoteField&&$("body").addClass("js-vcustom-showNoteField"),e.hideEmailStep&&$("body").addClass("js-vcustom-hideEmailStep"),e.showDeliveryOptions()}checkEmpty(e){0===e.length?$("body").addClass("v-custom-cart-empty"):$("body").removeClass("v-custom-cart-empty")}addEditButtoninLogin(){$("#v-custom-edit-login-data").remove(),$(".client-pre-email h3.client-pre-email-h span").append(`\n \n \n \n \n `)}addStepsHeader(){if($(".checkout-steps").length>0||!this.lang)return!1;const e=`\n
\n
\n \n \n \n \n
\n \n ${this.lang.checkoutStepsLabelCart||"Cart"}\n \n \n ${this.lang.checkoutStepsLabelIdentification||"Identification"}\n \n \n ${this.lang.checkoutStepsLabelShipping||"Shipping"}\n \n \n ${this.lang.checkoutStepsLabelPayment||"Payment"}\n \n \n ${this.lang.checkoutStepsLabelConfirmation||"Confirmation"}\n \n
\n
\n
\n `;$("header.main-header").length&&$("header.main-header .container").append(e)}addAssemblies(e){try{$.each(e.items,(function(e){const o=this;if(o.assemblies.length>0){let a='
';$.each(o.assemblies,(function(){const e=this.inputValues;a+=`

${this.id}

`,a+='
    ',Object.entries(e).forEach(([e,o])=>{a+=`
  • \n ${e}\n ${o.trim()}\n
  • `}),a+="
"})),a+="
",$(`.table.cart-items tbody > tr.product-item:eq(${e})`).hasClass("v-custom-assemblies-in")||$(`.table.cart-items tbody > tr.product-item:eq(${e})`).addClass("v-custom-assemblies-in").find("td.product-name").append(a)}}))}catch(e){console.error("addAssemblies error:",e)}}bundleItems(e){try{$.each(e.items,(function(e){this.bundleItems.length>0?$(`.table.cart-items tbody tr.product-item:eq(${e})`).addClass("v-custom-bundles-in").find("td.product-name"):$(`.table.cart-items tbody tr.product-item:eq(${e})`).removeClass("v-custom-bundles-in")})),$(".table.cart-items tbody tr.item-service").each((function(){if($(this).find(".v-custom-trservice-wrap").length>0)return!1;$(this).find("> *").wrapAll('
')}))}catch(e){console.error("bundleItems error:",e)}}showCustomMsgCoupon(e){const o=this,a=e.marketingData.coupon,n=e.items.reduce((function(e,o){return e+(o.priceTags.length?o.priceTags.filter(e=>e.ratesAndBenefitsIdentifier?e.ratesAndBenefitsIdentifier.matchedParameters["couponCode@Marketing"]===a:0).length:0)}),0);if(!a||n>0)return $("fieldset.coupon-fieldset").removeClass("js-vcustom-showCustomMsgCoupon"),$(".vcustom-showCustomMsgCoupon").remove(),!1;0===$(".vcustom-showCustomMsgCoupon").length&&$("fieldset.coupon-fieldset").addClass("js-vcustom-showCustomMsgCoupon").append(`

${o.lang.couponInactive}

`)}addLabels(e){const o=e.marketingData.coupon,a=[];if(!o)return!1;try{$(".table.cart-items tbody tr.product-item, .mini-cart .cart-items li").removeClass("v-custom-addLabels-active js-vcustom-addLabels"),$(".v-custom-addLabels-active-flag").remove(),$.each(e.items,(function(e){this.priceTags.length>0&&this.priceTags.filter(e=>!!e.ratesAndBenefitsIdentifier&&e.ratesAndBenefitsIdentifier.matchedParameters["couponCode@Marketing"]===o).length>0&&(a.push(this),$(`.table.cart-items tbody tr.product-item:eq(${e})`).addClass("v-custom-addLabels-active js-vcustom-addLabels").find(".product-name").append(`${o}`))}))}catch(e){console.error(e)}}buildMiniCart(e){if(0===e.items.filter(e=>null!==e.parentItemIndex).length)return!1;""!==$(".mini-cart .cart-items").text().trim()&&($(".mini-cart .cart-items").html(""+$(".mini-cart .cart-items").html()),$.each(e.items,(function(e){"available"===this.availability&&$(`.mini-cart .cart-items li:eq(${e})`).find(".item-unavailable").remove()})))}setParentIndex(e){$.each(e.items,(function(e){null!==this.parentItemIndex&&$(`.table.cart-items tbody > tr.product-item:eq(${e})`).attr("data-parentItemIndex",this.parentItemIndex)}))}removeMCLoader(){$(".mini-cart .cart-items").addClass("v-loaded")}removeCILoader(){$(".cart-items").addClass("v-loaded")}indexedInItems(e){const o=this;try{if(0===e.items.filter(e=>null!==e.parentItemIndex).length)return o.removeMCLoader(),!1;if(e.items){const a=e.items.reduce((e,o)=>(null!==o.parentItemIndex&&(e[o.parentItemIndex]=e[o.parentItemIndex]||[],e[o.parentItemIndex].push(o)),e),{});for(const o in a){const n=a[o];if($(`.table.cart-items tbody > tr.product-item:eq(${o})`).find(".v-custom-bundles").length<=1&&($(`.table.cart-items tbody > tr.product-item:eq(${o})`).append('
').addClass("v-custom-indexedItems-in"),""===$(`.table.cart-items tbody > tr.product-item:eq(${o})`).find(".v-custom-bundles").html()))for(const e in n){if(!n.hasOwnProperty(e))continue;const a=n[e];$(`.table.cart-items tbody > tr.product-item[data-sku='${a.id}'][data-parentitemindex='${a.parentItemIndex}']`).addClass("v-custom-indexed-item").clone().appendTo(`.table.cart-items tbody > tr.product-item:eq(${o}) > .v-custom-bundles`)}if($(`.mini-cart .cart-items > li:eq(${o})`).find(".v-custom-bundles").remove(),$(`.mini-cart .cart-items > li:eq(${o})`).append('
').addClass("v-custom-indexedItems-in"),""===$(`.mini-cart .cart-items > li:eq(${o})`).find(" > .v-custom-bundles").html())for(const a in n){if(!n.hasOwnProperty(a))continue;const t=n[a];$(`.mini-cart .cart-items > li:eq(${o}) > .v-custom-bundles`).append(`\n
\n \n ${t.name}\n \n ${t.name}\n ${t.quantity}\n
\n ${e.storePreferencesData.currencySymbol} ${r(e.clientPreferencesData.locale,e.storePreferencesData.currencyCode,t.sellingPrice).toFixed(2)}\n
\n
\n `),$(`.mini-cart .cart-items > li[data-sku='${t.id}']`).addClass("v-custom-indexed-item")}}o.removeMCLoader()}}catch(e){o.removeMCLoader()}}addBusinessDays(e,o=window.i18n.options.lng){const a=this;let n=new Date;n=new Date(n.getTime());const t=n.getDay();n.setDate(n.getDate()+e+(6===t?2:+!t)+2*Math.floor((e-1+(t%6||1))/5));let r={weekday:"long",month:"short",day:"numeric"};return"pt"===o&&(r={weekday:"short",month:"short",day:"numeric"}),n.getDate()-(new Date).getDate()==1?a.lang.tomorrowLabel||"Tomorrow":(n=n.toLocaleDateString(o,r),n)}changeShippingTimeInfo(){const e=this;$("body").addClass("v-custom-changeShippingTimeInfo");const o=[".shp-summary-package-time > span","p.vtex-omnishipping-1-x-sla.sla",".vtex-omnishipping-1-x-leanShippingTextLabelSingle > span","span.shipping-date",".shp-option-text-time",".pkpmodal-pickup-point-sla",".shp-option-text-package",".srp-delivery-current-many__sla",".shipping-estimate-date:eq(0)",".srp-shipping-current-single__sla"];try{$("\n .vtex-omnishipping-1-x-summaryPackage.shp-summary-package:not(.v-changeShippingTimeInfo-active),\n .vtex-omnishipping-1-x-leanShippingOption,\n .vtex-omnishipping-1-x-packageItem:not(.v-changeShippingTimeInfo-active),\n .orderform-template .cart-template.mini-cart .item,\n .vtex-pickup-points-modal-3-x-pickupPointSlaAvailability,\n .srp-delivery-current-many,\n td.shipping-date,\n .srp-shipping-current-single\n ").each((function(){const[a]=window.vtexjs.checkout.orderForm.shippingData.logisticsInfo,n=a.slas,{selectedSla:t}=a,r=!!n.find(e=>e.name===t)&&n.find(e=>e.name===t).shippingEstimate,s=$(this).find(o.map(e=>e+":not(.v-changeShippingTimeInfo-elem-active)").join(", ")).text();let d;if($(this).hasClass("srp-delivery-current-many")?r&&(d=parseInt(r.match(/\d+/),10)):""!==s&&s.match(/(day)|(dia)|(día)/gm)&&(d=parseInt(s.match(/\d+/),10)),d){let a=e.lang.deliveryDateText;$(this).find(o.join(", ")).text().toLowerCase().match(/(ready in up)|(pronto)|(a partir de)|(hasta)/gm)&&(a=e.lang.PickupDateText),$(this).find(o.join(", ")).html(`${a} ${e.addBusinessDays(d)}`).addClass("v-changeShippingTimeInfo-elem-active")}$(this).addClass("v-changeShippingTimeInfo-active")}));const a=$(".srp-delivery-info .srp-packages:not(.v-changeShippingTimeInfo-elem-active)");if($(".js-shippingPreviewPackges").remove(),a.length){const o=a.text().split(":")[1].split(/,| and | e | y /),n=[];$.each(o,(function(a){const t=o[a];if(""!==t&&t.match(/(day)|(dia)|(día)/gm)){const o=parseInt(t.match(/\d+/),10);if(o){let a=e.lang.deliveryDateText;t.toLowerCase().match(/(ready in up)|(pronto)|(A partir de)|(hasta)/gm)&&(a=e.lang.PickupDateText),n.push(`${a} ${e.addBusinessDays(o)}`)}}})),a.hide().after(`

${a.text().split(":")[0]}: ${n.join("; ")}

`).addClass("v-changeShippingTimeInfo-active")}}catch(e){console.error("changeShippingTimeInfo Error:",e)}}changeShippingTimeInfoInit(){const e=this;e.lang&&e.deliveryDateFormat&&e.changeShippingTimeInfo()}enchancementTotalPrice(e){if(this.quantityPriceCart)try{$.each(e.items,(function(o){const a=$(`.table.cart-items tbody tr.product-item:eq(${o})`);if(1===this.quantity||0===a.find("td.product-price").find(".best-price").length)return;const n=a.find(".total-selling-price:eq(0)").text(),t=`\n
\n \n ${this.listPrice>this.sellingPrice?`${e.storePreferencesData.currencySymbol} ${(this.listPrice/100).toFixed(2)}`:""}\n \n
\n `;a.find("td.product-price").find(".vqc-ldelem").remove(),a.find("td.product-price").addClass("v-custom-quantity-price-active").prepend(t).append(`
${n}
`),a.find("td.product-price").find("> .best-price").wrap('
'),a.find("td.product-price").find(".v-custom-quantity-price__list--selling").append(` ${this.lang?this.lang.eachLabel:"each"}`)}))}catch(e){console.error("enchancementTotalPrice error:",e)}}condensedTaxes(e){const o=e.totalizers.filter(e=>"CustomTax"===e.id);if(o&&o.length<2)return!1;const a=`\n
\n ${o.map(o=>`

${o.name}${e.storePreferencesData.currencySymbol} ${(o.value/100).toFixed(2)}

`).join("")}\n
\n `,n=$("tr.CustomTax.CustomTax--total");n.length&&(n.find(".vcustom-customTax-tot").remove(),n.find(".info").append(`
? ${a}
`))}update(e){const o=this;this.checkEmpty(e.items),this.addAssemblies(e),this.enchancementTotalPrice(e),this.bundleItems(e),this.buildMiniCart(e),this.condensedTaxes(e),this.setParentIndex(e),this.indexedInItems(e);t((function(){e.marketingData&&(o.addLabels(e),o.showCustomMsgCoupon(e))}),250)()}updateStep(){const e=["cart","email","profile","shipping","payment"];if($("body").removeClass(e.map(e=>"v-custom-step-"+e).join(" ")),window.location.hash){const[,o]=window.location.hash.split("/");-1!==e.findIndex(e=>e===o)&&$("body").addClass("v-custom-step-"+o)}}updateLang(e){const o=e.clientPreferencesData.locale;if(this.lang=Object.values(n).find(e=>e.locale===o)||n[e.storePreferencesData.countryCode]||s(o,n)||n.USA,!this.lang)return!1;const a=this.lang;if(a.editLabel&&$(".link-box-edit").attr("title",a.editLabel),a.cartSubmitButton&&$("#cart-to-orderform").text(a.cartSubmitButton),a.cartNoteLabel&&$("p.note-label label").text(a.cartNoteLabel),a.identifiedUserMessage&&$(".identified-user-modal-body p.identified-user-message").html(a.identifiedUserMessage),a.paypalPhone&&$(".payment-paypal-help-number").text(a.paypalPhone),a.paypalImg?$(".payment-paypal-title-short-logo").css("background-image",`url(${a.paypalImg})`):""===a.paypalImg&&$(".payment-paypal-title-short-logo").hide(),a.googleAddressLabel){const e=$(".vtex-omnishipping-1-x-geolocation");e.length&&e.find(".ship-addressQuery > label").text(a.googleAddressLabel)}a.address1Placeholder&&$(".vtex-omnishipping-1-x-address input#ship-street").attr("placeholder",a.address1Placeholder),a.address2Placeholder&&$(".vtex-omnishipping-1-x-address input#ship-complement").attr("placeholder",a.address2Placeholder),a.numberPlaceholder&&$(".vtex-omnishipping-1-x-address input#ship-number").attr("placeholder",a.numberPlaceholder)}paymentBuilder(e){const o=this;if(e&&0===$(".payment-group-item-cards").length&&e.paymentData){const a=["debitCardPaymentGroup","creditCardPaymentGroup"];let n="";$.each(a,(function(t){n='',$.each(e.paymentData.paymentSystems.filter(e=>e.groupName===a[t]),(function(){n+=`${this.name}`})),n+="",o.accordionPayments&&$("#payment-group-"+a[t]).append(n)})),o.accordionPayments||$("#iframe-placeholder-creditCardPaymentGroup").prepend(n)}if(!this.accordionPayments||$(".payment-group-list-btn").find(".v-custom-payment-item-wrap").length>0)return!1;$("body").addClass("v-custom-paymentBuilder-accordion"),$(".payment-group-item").each((function(){$(this).wrap(`
`)})),$(".payment-group-item").each((function(){$("#payment-data .steps-view > div:eq(0)").appendTo($(this).closest(".v-custom-payment-item-wrap"))}))}customAddressFormLoader(){const e=this;if(!window.vtex.googleMapsApiKey)return console.error("You might need to add your Google Maps API Key in your admin"),e.customAddressForm=!1,!1;e.customAddressForm&&(e.customAddressForm=new d({}))}goToShippingStep(){window.location.hash="#/shipping"}activateCustomForm(){const e=this;e.customAddressForm&&($("body").addClass("v-custom-addressForm-on"),e.customAddressForm.validateAllFields())}URLHasIncludePayment(e){const o=this;"#/payment"===window.location.hash&&"search"!==e.shippingData.address.addressType&&null===e.shippingData.address.street&&o.customAddressForm&&(o.goToShippingStep(),o.activateCustomForm())}customAddressFormInit(e){const o=this,a=e||window.vtexjs.checkout.orderForm;o.customAddressForm&&a.canEditData?($("body").removeClass("returningUser"),o.customAddressForm.init(a)):$("body").addClass("returningUser")}checkProfileFocus(){this.hideEmailStep&&~window.location.hash.indexOf("#/email")&&""===$("#client-email").val()&&$("#client-email").focus()}rtlUI(){"ar"!==window.vtex.i18n.getLocale()&&"ar-SA"!==window.vtex.i18n.getLocale()&&"ar-IQ"!==window.vtex.i18n.getLocale()||$("body").addClass("RTL-checkout")}bind(){const e=this;$("body").on("click","#v-custom-edit-login-data",(function(o){o.preventDefault(),$(this).addClass("active");const a=new XMLHttpRequest;a.addEventListener("readystatechange",(function(){this.readyState===this.DONE&&(window.location.reload(),setTimeout((function(){$("#v-custom-edit-login-data").removeClass("active")}),1e3))})),a.open("GET","/checkout/changeToAnonymousUser/"+e.orderForm.orderFormId),a.setRequestHeader("content-type","application/json"),a.setRequestHeader("accept","application/json"),a.send(null)})),$("body").on("click",".v-custom-payment-item-wrap",(function(){$(".v-custom-payment-item-wrap").removeClass("active"),$(this).addClass("active")})),$("body").on("click",".vtex-pickup-points-modal-3-x-pickupDetailsHeaderButton, #map-canvas img, .vtex-omnishipping-1-x-pickupPointChange, .pkpmodal-pickup-point, .vtex-pickup-points-modal-3-x-modalDetailsBackLnk",(function(){setTimeout(()=>{e.changeShippingTimeInfoInit()},100)})),$("body").on("click",".js-checkout-steps-item .text",(function(){window.location=$(this).closest(".checkout-steps_item").attr("data-url")})),$("body").on("click",".vtex-omnishipping-1-x-linkEdit.link-edit",(function(){setTimeout(()=>{e.updateLang(e.orderForm),e.customAddressForm&&$("body").addClass("v-custom-addressForm-on")},50)})),$("body").on("click","#btn-client-pre-email",(function(){setTimeout((function(){$("input#client-pre-email").hasClass("error")||$("input#client-email").focus()}),1e3)})),$("body").on("click","#shipping-option-delivery",(function(){e.customAddressFormInit(e.orderForm)})),$("body").on("click",".show-more-items-button",(function(){e.general(),e.setParentIndex(window.vtexjs.checkout.orderForm),window.vtexjs.checkout.getOrderForm()}))}init(){const e=this;e.orderForm=!!window.vtexjs.checkout.orderForm&&window.vtexjs.checkout.orderForm,e.general(),e.updateStep(),e.builder(),e.changeShippingTimeInfoInit(),e.orderForm&&(e.updateLang(e.orderForm),e.update(e.orderForm),e.addStepsHeader(),e.paymentBuilder(e.orderForm)),e.addEditButtoninLogin()}start(){const e=this;try{$((function(){e.bind(),e.customAddressFormLoader(),e.rtlUI()})),$(document).ajaxComplete((function(){e.init()})),$(window).on("hashchange",(function(){const o=document.querySelector(".cart-items");e.updateStep(),e.changeShippingTimeInfoInit(),e.checkProfileFocus(),e.orderForm&&(e.buildMiniCart(e.orderForm),e.indexedInItems(e.orderForm),e.updateLang(e.orderForm),e.paymentBuilder(e.orderForm),e.customAddressFormInit(e.orderForm),e.removeCILoader(),e.onDomMutation({targetNode:o,callback:()=>e.removeCILoader()}))})),$(window).on("orderFormUpdated.vtex",(function(o,a){e.update(a),e.customAddressFormInit(a),e.URLHasIncludePayment(a),!window.google&&e.customAddressForm&&e.customAddressForm.loadScript()})),$(window).load((function(){$(window).one("componentValidated.vtex",()=>e.builder()),e.checkProfileFocus(),e.changeShippingTimeInfoInit(),e.indexedInItems(window.vtexjs.checkout.orderForm),e.customAddressForm&&"undefined"!=typeof store&&window.store.dispatch({type:"DISABLE_CALCULATE_BUTTON",isCalculateBttnEnabled:!1})})),console.log("🎉 Yay! You are using the vtex.checkout.ui customization !!")}catch(o){e.general()}}}},function(e,o,a){const{_locale:n}=a(0),{_countries:t,_cities:r,_addressPlaceholder:s}=a(7),{getShipStateValue:d}=a(1);window.callbackMap=()=>{window.vtexjs.checkout.getOrderForm(e=>{window.vcustom.checkout.customAddressFormInit(e)})};e.exports=class{constructor({active:e=!1}={}){this.BodyFormClasses=["v-custom-addressForm-on","v-custom-googleForm-on"],this.active=e,this.googleMapsApiKey=window.vtex.googleMapsApiKey,this.orderForm="",this.classOn="v-custom-fnsCustomAddressForm",this.deliveryCountries="",this.mainCountry="",this.lang="",this.isPickupPoint=!1,this.locale="",this.address={country:"",postalCode:"",city:"",state:"",street:"",complement:"",addressQuery:"",addressId:"",geoCoordinates:[]},this.validate=!0,this.gPlacesAutocomplete=""}loadScript(){$("body").append(`