{"id":1216,"date":"2026-04-22T11:00:32","date_gmt":"2026-04-22T11:00:32","guid":{"rendered":"https:\/\/aufpet.nlt.md\/?page_id=1216"},"modified":"2026-04-23T08:51:11","modified_gmt":"2026-04-23T08:51:11","slug":"quiz","status":"publish","type":"page","link":"https:\/\/aufpet.nlt.md\/ru\/quiz\/","title":{"rendered":"Quiz"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"1216\" class=\"elementor elementor-1216\">\n\t\t\t\t<div class=\"elementor-element elementor-element-bcc9b05 e-flex e-con-boxed e-con e-parent\" data-id=\"bcc9b05\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7c21b60 elementor-widget elementor-widget-shortcode\" data-id=\"7c21b60\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">        \n\n    <style>\n      \/* \u2500\u2500 All quiz styles \u2014 unchanged from original \u2500\u2500 *\/\n      #aufbox-quiz *,\n      #aufbox-quiz *::before,\n      #aufbox-quiz *::after {\n        box-sizing: border-box;\n        margin: 0;\n        padding: 0;\n      }\n      #aufbox-quiz {\n        --accent: #f5ab16;\n        --accent-soft: #fff4dc;\n        --ink: #2f2a22;\n        --muted: #6e6558;\n        --line: #e3d8c2;\n        font-family: \"Kalam\", cursive;\n        color: var(--ink);\n        background: #fff;\n        width: 100%;\n        max-width: 100%;\n      }\n      #aufbox-quiz .progwrap { width:100%; height:6px; background:#f0e8d7; }\n      #aufbox-quiz .progfill { height:100%; background:var(--accent); transition:width 0.35s ease; }\n      #aufbox-quiz .qbody { max-width:720px; margin:0 auto; padding:48px 24px 80px; }\n      #aufbox-quiz .step { display:none; }\n      #aufbox-quiz .step.active { display:block; }\n      #aufbox-quiz .stitle {\n        font-family:\"Montserrat Alternates\",sans-serif; font-weight:700;\n        font-size:clamp(20px,4vw,30px); color:var(--ink);\n        text-align:center; margin-bottom:10px;\n      }\n      #aufbox-quiz .ssub { font-family:\"Kalam\",cursive; font-size:16px; color:var(--muted); text-align:center; margin-bottom:28px; }\n      #aufbox-quiz .flabel { font-family:\"Montserrat Alternates\",sans-serif; font-weight:600; font-size:20px; text-align:center; margin-bottom:12px; color:var(--ink); }\n      #aufbox-quiz .qinput { display:block; width:100%; max-width:420px; margin:0 auto 28px; padding:12px 18px; border:1.5px solid var(--line); border-radius:8px; font-family:\"Kalam\",cursive; font-size:18px; color:var(--ink); outline:none; background:#fff; }\n      #aufbox-quiz .qinput:focus,#aufbox-quiz .qsel:focus,#aufbox-quiz .bsel:focus,#aufbox-quiz .amaninp:focus,#aufbox-quiz .cform input:focus { border-color:var(--accent); }\n      #aufbox-quiz .genbts,#aufbox-quiz .navbtns { display:flex; justify-content:center; gap:16px; margin-top:12px; flex-wrap:wrap; }\n      #aufbox-quiz .gbtn,#aufbox-quiz .bbtn,#aufbox-quiz .cbtn,#aufbox-quiz .abtn { padding:12px 28px; border:1.5px solid var(--line); border-radius:8px; background:#fff; font-family:\"Kalam\",cursive; font-size:17px; color:var(--ink); cursor:pointer; }\n      #aufbox-quiz .gbtn:hover,#aufbox-quiz .bbtn:hover,#aufbox-quiz .cbtn:hover,#aufbox-quiz .abtn:hover,#aufbox-quiz .scard:hover { border-color:var(--accent); }\n      #aufbox-quiz .gbtn.sel,#aufbox-quiz .abtn.sel { border-color:var(--accent); background:var(--accent); color:#fff; }\n      #aufbox-quiz .cbtn { border-color:var(--accent); font-weight:700; }\n      #aufbox-quiz .cbtn:hover { background:var(--accent-soft); }\n      #aufbox-quiz .scards { display:flex; justify-content:center; gap:16px; flex-wrap:wrap; margin-bottom:28px; }\n      #aufbox-quiz .scard { border:1.5px solid var(--line); border-radius:12px; padding:20px 14px 16px; text-align:center; cursor:pointer; min-width:150px; flex:1; max-width:200px; background:#fff; }\n      #aufbox-quiz .scard.sel { border-color:var(--accent); background:var(--accent-soft); }\n      #aufbox-quiz .ctitle { font-family:\"Montserrat Alternates\",sans-serif; font-weight:600; font-size:15px; color:var(--ink); }\n      #aufbox-quiz .csub { font-size:14px; color:var(--muted); margin-top:4px; }\n      #aufbox-quiz .qsel,#aufbox-quiz .bsel { display:block; width:100%; max-width:440px; margin:0 auto 14px; padding:12px 40px 12px 18px; border:1.5px solid var(--line); border-radius:8px; font-family:\"Kalam\",cursive; font-size:18px; color:var(--ink); background:#fff; -webkit-appearance:none; appearance:none; background-image:url(\"data:image\/svg+xml,%3Csvg xmlns='http:\/\/www.w3.org\/2000\/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5ab16' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'\/%3E%3C\/svg%3E\"); background-repeat:no-repeat; background-position:right 14px center; outline:none; }\n      #aufbox-quiz .brow { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom:28px; }\n      #aufbox-quiz .bgrp { display:flex; flex-direction:column; gap:8px; }\n      #aufbox-quiz .bgrp label { font-family:\"Montserrat Alternates\",sans-serif; font-weight:600; font-size:15px; color:var(--ink); text-align:center; }\n      #aufbox-quiz .algrid { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-bottom:20px; }\n      #aufbox-quiz .amanwrap { max-width:440px; margin:8px auto 30px; }\n      #aufbox-quiz .amanlbl { font-size:15px; color:var(--muted); margin-bottom:8px; text-align:center; }\n      #aufbox-quiz .amaninp { width:100%; padding:10px 16px; border:1.5px solid var(--line); border-radius:8px; font-family:\"Kalam\",cursive; font-size:16px; color:var(--ink); outline:none; background:#fff; }\n      #aufbox-quiz .cform { max-width:440px; margin:0 auto 24px; display:flex; flex-direction:column; gap:14px; }\n      #aufbox-quiz .cform input[type=\"text\"],#aufbox-quiz .cform input[type=\"email\"] { width:100%; padding:12px 18px; border:1.5px solid var(--line); border-radius:8px; font-family:\"Kalam\",cursive; font-size:18px; color:var(--ink); outline:none; background:#fff; }\n      #aufbox-quiz .loggedin-box { max-width:440px; margin:0 auto 24px; padding:20px 24px; border:1.5px solid #f0d796; border-radius:12px; background:var(--accent-soft); text-align:center; }\n      #aufbox-quiz .li-name { font-family:\"Montserrat Alternates\",sans-serif; font-weight:700; font-size:18px; color:var(--ink); margin-bottom:4px; }\n      #aufbox-quiz .li-sub { font-size:15px; color:var(--muted); }\n      #aufbox-quiz .errmsg { color:#b93820; font-size:14px; text-align:center; margin-top:8px; display:none; }\n      #aufbox-quiz .errmsg.v { display:block; }\n      #aufbox-quiz .sucwrap { text-align:center; padding:56px 0; }\n      #aufbox-quiz .ico { font-size:56px; margin-bottom:16px; }\n      @media (max-width:640px) {\n        #aufbox-quiz .qbody { padding:32px 16px 56px; }\n        #aufbox-quiz .scard { min-width:96px; padding:14px 8px; }\n        #aufbox-quiz .brow { flex-direction:column; align-items:center; }\n        #aufbox-quiz .bsel { min-width:0; }\n      }\n    <\/style>\n\n    <div id=\"aufbox-quiz\">\n      <div class=\"progwrap\"><div class=\"progfill\" id=\"aufbox-pf\" style=\"width:15%\"><\/div><\/div>\n      <div class=\"qbody\">\n\n        <div class=\"step active\" id=\"aufbox-s1\">\n          <div class=\"stitle\" data-i18n=\"intro_title\">Cateva intrebari despre cainele tau.<\/div>\n          <div class=\"ssub\" data-i18n=\"intro_sub\">Completarea dureaza mai putin de 2 minute.<\/div>\n          <div class=\"flabel\" data-i18n=\"dog_name_label\">Numele cainelui<\/div>\n          <input class=\"qinput\" id=\"aufbox-dname\" placeholder=\"Input\" autocomplete=\"off\" data-i18n-placeholder=\"dog_name_placeholder\"\/>\n          <div class=\"flabel\" style=\"margin-top:8px\" data-i18n=\"gender_label\">Gen<\/div>\n          <div id=\"aufbox-nerr\" class=\"errmsg\" data-i18n=\"dog_name_error\">Te rugam sa introduci mai intai numele cainelui.<\/div>\n          <div class=\"genbts\">\n            <button class=\"gbtn\" id=\"aufbox-bb\" onclick=\"aufboxSelGen('Baiat')\" data-i18n=\"male_btn\">Baiat<\/button>\n            <button class=\"gbtn\" id=\"aufbox-bf\" onclick=\"aufboxSelGen('Fetita')\" data-i18n=\"female_btn\">Fetita<\/button>\n          <\/div>\n        <\/div>\n\n        <div class=\"step\" id=\"aufbox-s2\">\n          <div class=\"stitle\"><span data-i18n=\"size_title_prefix\">Cat de mare este<\/span> <span class=\"aufbox-dn\"><\/span>?<\/div>\n          <div class=\"ssub\" data-i18n=\"size_sub\">Daca este in crestere, alege talia actuala.<\/div>\n          <div class=\"scards\">\n            <div class=\"scard\" onclick=\"aufboxSelSz('Talie mica',this)\"><div class=\"ctitle\" data-i18n=\"size_small\">Talie mica<\/div><div class=\"csub\">1-9 kg<\/div><\/div>\n            <div class=\"scard\" onclick=\"aufboxSelSz('Talie medie',this)\"><div class=\"ctitle\" data-i18n=\"size_medium\">Talie medie<\/div><div class=\"csub\">9-24 kg<\/div><\/div>\n            <div class=\"scard\" onclick=\"aufboxSelSz('Talie mare',this)\"><div class=\"ctitle\" data-i18n=\"size_large\">Talie mare<\/div><div class=\"csub\">24+ kg<\/div><\/div>\n          <\/div>\n          <div class=\"navbtns\">\n            <button class=\"bbtn\" onclick=\"aufboxGt(1)\" data-i18n=\"back_btn\">Inapoi<\/button>\n            <button class=\"cbtn\" onclick=\"aufboxGt(3)\" data-i18n=\"continue_btn\">Continua<\/button>\n          <\/div>\n        <\/div>\n\n        <div class=\"step\" id=\"aufbox-s3\">\n          <div class=\"stitle\"><span data-i18n=\"breed_title_prefix\">Ce rasa este<\/span> <span class=\"aufbox-dn\"><\/span>?<\/div>\n          <div class=\"ssub\" data-i18n=\"breed_sub\">Poti sari peste acest pas.<\/div>\n          <select class=\"qsel\" id=\"aufbox-br1\" onchange=\"aufboxD.dog_breed1=this.value\"><option value=\"\" data-i18n=\"choice_opt\">Alege<\/option><\/select>\n          <div class=\"stitle\" style=\"font-size:20px;margin-top:22px;margin-bottom:10px\" data-i18n=\"breed_mix_title\">Daca este mix, poti adauga o a doua rasa<\/div>\n          <select class=\"qsel\" id=\"aufbox-br2\" onchange=\"aufboxD.dog_breed2=this.value\"><option value=\"\" data-i18n=\"choice_opt\">Alege<\/option><\/select>\n          <div class=\"navbtns\">\n            <button class=\"bbtn\" onclick=\"aufboxGt(2)\" data-i18n=\"back_btn\">Inapoi<\/button>\n            <button class=\"cbtn\" onclick=\"aufboxGt(4)\" data-i18n=\"continue_btn\">Continua<\/button>\n          <\/div>\n        <\/div>\n\n        <div class=\"step\" id=\"aufbox-s4\">\n          <div class=\"stitle\"><span data-i18n=\"birth_title_prefix\">Cand s-a nascut<\/span> <span class=\"aufbox-dn\"><\/span>?<\/div>\n          <div class=\"ssub\" data-i18n=\"birth_sub\">Alege luna si anul nasterii.<\/div>\n          <div class=\"brow\">\n            <div class=\"bgrp\">\n              <label data-i18n=\"month_label\">Luna<\/label>\n              <select class=\"bsel\" id=\"aufbox-bmon\" onchange=\"aufboxD.birthMonth=this.value\">\n                <option value=\"\" data-i18n=\"month_placeholder\">-- Luna --<\/option>\n                <option value=\"01\" data-i18n=\"m01\">Ianuarie<\/option><option value=\"02\" data-i18n=\"m02\">Februarie<\/option>\n                <option value=\"03\" data-i18n=\"m03\">Martie<\/option><option value=\"04\" data-i18n=\"m04\">Aprilie<\/option>\n                <option value=\"05\" data-i18n=\"m05\">Mai<\/option><option value=\"06\" data-i18n=\"m06\">Iunie<\/option>\n                <option value=\"07\" data-i18n=\"m07\">Iulie<\/option><option value=\"08\" data-i18n=\"m08\">August<\/option>\n                <option value=\"09\" data-i18n=\"m09\">Septembrie<\/option><option value=\"10\" data-i18n=\"m10\">Octombrie<\/option>\n                <option value=\"11\" data-i18n=\"m11\">Noiembrie<\/option><option value=\"12\" data-i18n=\"m12\">Decembrie<\/option>\n              <\/select>\n            <\/div>\n            <div class=\"bgrp\">\n              <label data-i18n=\"year_label\">Anul<\/label>\n              <select class=\"bsel\" id=\"aufbox-byr\" onchange=\"aufboxD.birthYear=this.value\">\n                <option value=\"\" data-i18n=\"year_placeholder\">-- Anul --<\/option>\n              <\/select>\n            <\/div>\n          <\/div>\n          <div class=\"navbtns\">\n            <button class=\"bbtn\" onclick=\"aufboxGt(3)\" data-i18n=\"back_btn\">Inapoi<\/button>\n            <button class=\"cbtn\" onclick=\"aufboxGt(5)\" data-i18n=\"continue_btn\">Continua<\/button>\n          <\/div>\n        <\/div>\n\n        <div class=\"step\" id=\"aufbox-s5\">\n          <div class=\"stitle\"><span data-i18n=\"allergy_title_prefix\">Are<\/span> <span class=\"aufbox-dn\"><\/span> <span data-i18n=\"allergy_title_suffix\">alergii alimentare?<\/span><\/div>\n          <div class=\"ssub\" data-i18n=\"allergy_sub\">Selecteaza toate proteinele la care este sensibil.<\/div>\n          <div class=\"algrid\">\n            <button class=\"abtn\" onclick=\"aufboxTogAl('Vita',this)\" data-i18n=\"allergy_beef\">Vita<\/button>\n            <button class=\"abtn\" onclick=\"aufboxTogAl('Porc',this)\" data-i18n=\"allergy_pork\">Porc<\/button>\n            <button class=\"abtn\" onclick=\"aufboxTogAl('Iepure',this)\" data-i18n=\"allergy_rabbit\">Iepure<\/button>\n            <button class=\"abtn\" onclick=\"aufboxTogAl('Curcan',this)\" data-i18n=\"allergy_turkey\">Curcan<\/button>\n            <button class=\"abtn\" onclick=\"aufboxTogAl('Peste',this)\" data-i18n=\"allergy_fish\">Peste<\/button>\n            <button class=\"abtn\" id=\"aufbox-noal\" onclick=\"aufboxTogAl('Nu are',this)\" data-i18n=\"allergy_none\">Nu are<\/button>\n          <\/div>\n          <div class=\"amanwrap\">\n            <div class=\"amanlbl\" data-i18n=\"manual_allergy_label\">Ingredientul nu este pe lista? Adauga-l manual.<\/div>\n            <input class=\"amaninp\" type=\"text\" placeholder=\"ex: grau, soia\" data-i18n-placeholder=\"manual_allergy_placeholder\" oninput=\"aufboxD.allergyManual=this.value\"\/>\n          <\/div>\n          <div class=\"navbtns\">\n            <button class=\"bbtn\" onclick=\"aufboxGt(4)\" data-i18n=\"back_btn\">Inapoi<\/button>\n            <button class=\"cbtn\" onclick=\"aufboxGt(6)\" data-i18n=\"continue_btn\">Continua<\/button>\n          <\/div>\n        <\/div>\n\n        <div class=\"step\" id=\"aufbox-s6\">\n          <div class=\"stitle\" id=\"aufbox-s6-title\" data-i18n=\"contact_title\">Datele tale de contact<\/div>\n          <div class=\"ssub\" id=\"aufbox-s6-sub\"><span data-i18n=\"contact_sub_prefix\">Vom salva profilul lui<\/span> <span class=\"aufbox-dn\"><\/span> <span data-i18n=\"contact_sub_suffix\">in contul tau.<\/span><\/div>\n          <div id=\"aufbox-s6-form\">\n            <div class=\"cform\">\n              <input type=\"text\" id=\"aufbox-cfn\" placeholder=\"Prenume\" data-i18n-placeholder=\"first_name_placeholder\" oninput=\"aufboxD.firstName=this.value\"\/>\n              <input type=\"text\" id=\"aufbox-cln\" placeholder=\"Nume de familie\" data-i18n-placeholder=\"last_name_placeholder\" oninput=\"aufboxD.lastName=this.value\"\/>\n              <input type=\"email\" id=\"aufbox-cem\" placeholder=\"Adresa de e-mail\" data-i18n-placeholder=\"email_placeholder\" oninput=\"aufboxD.email=this.value\"\/>\n            <\/div>\n            <div id=\"aufbox-cerr\" class=\"errmsg\" data-i18n=\"contact_error\">Te rugam sa completezi prenumele, numele si e-mailul valid.<\/div>\n            <div class=\"navbtns\">\n              <button class=\"bbtn\" onclick=\"aufboxGt(5)\" data-i18n=\"back_btn\">Inapoi<\/button>\n              <button class=\"cbtn\" onclick=\"aufboxSubmit()\" data-i18n=\"save_btn\">Salveaza profilul<\/button>\n            <\/div>\n          <\/div>\n          <div id=\"aufbox-s6-loggedin\" style=\"display:none\">\n            <div class=\"loggedin-box\">\n              <div class=\"li-name\" id=\"aufbox-li-name\"><\/div>\n              <div class=\"li-sub\"><span data-i18n=\"loggedin_sub_prefix\">Esti conectat. Profilul lui<\/span> <span class=\"aufbox-dn\"><\/span> <span data-i18n=\"loggedin_sub_suffix\">va fi salvat in contul tau.<\/span><\/div>\n            <\/div>\n            <div class=\"navbtns\">\n              <button class=\"bbtn\" onclick=\"aufboxGt(5)\" data-i18n=\"back_btn\">Inapoi<\/button>\n              <button class=\"cbtn\" onclick=\"aufboxSubmit()\" data-i18n=\"save_btn\">Salveaza profilul<\/button>\n            <\/div>\n          <\/div>\n        <\/div>\n\n        <div class=\"step\" id=\"aufbox-s7\">\n          <div class=\"sucwrap\">\n            <div class=\"ico\">\ud83d\udc3e<\/div>\n            <div class=\"stitle\" data-i18n=\"success_title\">Profilul a fost salvat!<\/div>\n            <div class=\"ssub\"><span data-i18n=\"success_sub_prefix\">Profilul lui<\/span> <span class=\"aufbox-dn\"><\/span> <span data-i18n=\"success_sub_suffix\">a fost adaugat cu succes.<\/span><\/div>\n          <\/div>\n        <\/div>\n\n      <\/div><!-- .qbody -->\n    <\/div><!-- #aufbox-quiz -->\n\n    <script>\n      (function () {\n        \/*\n         * NOTE: window.aufboxData is output by Snippet 5's wp_footer hook\n         * (priority 99). Since this shortcode renders inside the_content and\n         * the <script> below runs after DOMContentLoaded (or via checkLogin's\n         * polling loop), aufboxData will always be available in time.\n         * The duplicate inline localization block from the original has been\n         * removed to prevent double-output.\n         *\/\n        var D = {\n          dogName:'', dog_gen:'', dog_size:'', dog_breed1:'', dog_breed2:'',\n          birthMonth:'', birthYear:'', allergies:[], allergyManual:'',\n          firstName:'', lastName:'', email:''\n        };\n        window.aufboxD = D;\n\n        var cur = 1;\n        var PR  = { 1:15, 2:30, 3:44, 4:58, 5:74, 6:90, 7:100 };\n\n        var BREEDS = [\n          'Labrador Retriever','German Shepherd','Golden Retriever','French Bulldog','Bulldog',\n          'Poodle','Beagle','Rottweiler','Dachshund','Yorkshire Terrier','Boxer','Siberian Husky',\n          'Great Dane','Doberman Pinscher','Shih Tzu','Miniature Schnauzer','Chihuahua',\n          'Pomeranian','Border Collie','Cocker Spaniel','Maltese','Samoyed','Akita','Alt\u0103 ras\u0103'\n        ];\n        ['aufbox-br1','aufbox-br2'].forEach(function(id) {\n          var s = document.getElementById(id);\n          if (!s) return;\n          BREEDS.forEach(function(b) {\n            var o = document.createElement('option');\n            o.value = o.textContent = b;\n            s.appendChild(o);\n          });\n        });\n\n        var sy = document.getElementById('aufbox-byr');\n        if (sy) {\n          var now = new Date().getFullYear();\n          for (var y = now; y >= now - 25; y--) {\n            var o = document.createElement('option');\n            o.value = o.textContent = y;\n            sy.appendChild(o);\n          }\n        }\n\n        function updateDogNameLabels() {\n          var nm = D.dogName || '...';\n          document.querySelectorAll('.aufbox-dn').forEach(function(e) { e.textContent = nm; });\n        }\n\n        \/* i18n \u2014 unchanged from original *\/\n        var EN_FALLBACK_I18N = { intro_title:'A few questions about your dog.',intro_sub:'It takes less than 2 minutes to complete.',dog_name_label:'Dog name',dog_name_placeholder:'Input',gender_label:'Gender',dog_name_error:'Please enter your dog name first.',male_btn:'Boy',female_btn:'Girl',size_title_prefix:'How big is',size_sub:'If your dog is still growing, choose the current size.',size_small:'Small size',size_medium:'Medium size',size_large:'Large size',back_btn:'Back',continue_btn:'Continue',breed_title_prefix:'What breed is',breed_sub:'You can skip this step.',choice_opt:'Choose',breed_mix_title:'If mixed, you can add another breed',birth_title_prefix:'When was',birth_sub:'Choose birth month and year.',month_label:'Month',year_label:'Year',month_placeholder:'-- Month --',year_placeholder:'-- Year --',m01:'January',m02:'February',m03:'March',m04:'April',m05:'May',m06:'June',m07:'July',m08:'August',m09:'September',m10:'October',m11:'November',m12:'December',allergy_title_prefix:'Does',allergy_title_suffix:'have food allergies?',allergy_sub:'Select all proteins your dog is sensitive to.',allergy_beef:'Beef',allergy_pork:'Pork',allergy_rabbit:'Rabbit',allergy_turkey:'Turkey',allergy_fish:'Fish',allergy_none:'No allergies',manual_allergy_label:'Ingredient not listed? Add it manually.',manual_allergy_placeholder:'eg: wheat, soy',contact_title:'Your contact details',contact_sub_prefix:'We will save',contact_sub_suffix:'to your account.',first_name_placeholder:'First name',last_name_placeholder:'Last name',email_placeholder:'Email address',contact_error:'Please complete first name, last name, and a valid email.',save_btn:'Save profile',loggedin_title:'Your account was recognized',loggedin_sub_prefix:'You are logged in. Profile for',loggedin_sub_suffix:'will be saved to your account.',success_title:'Profile saved!',success_sub_prefix:'Profile for',success_sub_suffix:'was added successfully.',save_error:'Saving failed. Please try again.' };\n        var RO_FALLBACK_I18N = { intro_title:'Cateva intrebari despre cainele tau.',intro_sub:'Completarea dureaza mai putin de 2 minute.',dog_name_label:'Numele cainelui',dog_name_placeholder:'Input',gender_label:'Gen',dog_name_error:'Te rugam sa introduci mai intai numele cainelui.',male_btn:'Baiat',female_btn:'Fetita',size_title_prefix:'Cat de mare este',size_sub:'Daca este in crestere, alege talia actuala.',size_small:'Talie mica',size_medium:'Talie medie',size_large:'Talie mare',back_btn:'Inapoi',continue_btn:'Continua',breed_title_prefix:'Ce rasa este',breed_sub:'Poti sari peste acest pas.',choice_opt:'Alege',breed_mix_title:'Daca este mix, poti adauga o a doua rasa',birth_title_prefix:'Cand s-a nascut',birth_sub:'Alege luna si anul nasterii.',month_label:'Luna',year_label:'Anul',month_placeholder:'-- Luna --',year_placeholder:'-- Anul --',m01:'Ianuarie',m02:'Februarie',m03:'Martie',m04:'Aprilie',m05:'Mai',m06:'Iunie',m07:'Iulie',m08:'August',m09:'Septembrie',m10:'Octombrie',m11:'Noiembrie',m12:'Decembrie',allergy_title_prefix:'Are',allergy_title_suffix:'alergii alimentare?',allergy_sub:'Selecteaza toate proteinele la care este sensibil.',allergy_beef:'Vita',allergy_pork:'Porc',allergy_rabbit:'Iepure',allergy_turkey:'Curcan',allergy_fish:'Peste',allergy_none:'Nu are',manual_allergy_label:'Ingredientul nu este pe lista? Adauga-l manual.',manual_allergy_placeholder:'ex: grau, soia',contact_title:'Datele tale de contact',contact_sub_prefix:'Vom salva profilul lui',contact_sub_suffix:'in contul tau.',first_name_placeholder:'Prenume',last_name_placeholder:'Nume de familie',email_placeholder:'Adresa de e-mail',contact_error:'Te rugam sa completezi prenumele, numele si e-mailul valid.',save_btn:'Salveaza profilul',loggedin_title:'Contul tau a fost recunoscut',loggedin_sub_prefix:'Esti conectat. Profilul lui',loggedin_sub_suffix:'va fi salvat in contul tau.',success_title:'Profilul a fost salvat!',success_sub_prefix:'Profilul lui',success_sub_suffix:'a fost adaugat cu succes.',save_error:'A aparut o eroare la salvare. Incearca din nou.' };\n        var RU_FALLBACK_I18N = { intro_title:'\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u0432 \u043e \u0432\u0430\u0448\u0435\u0439 \u0441\u043e\u0431\u0430\u043a\u0435.',intro_sub:'\u0417\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0437\u0430\u0439\u043c\u0435\u0442 \u043c\u0435\u043d\u044c\u0448\u0435 2 \u043c\u0438\u043d\u0443\u0442.',dog_name_label:'\u041a\u043b\u0438\u0447\u043a\u0430 \u0441\u043e\u0431\u0430\u043a\u0438',dog_name_placeholder:'\u0412\u0432\u0435\u0434\u0438\u0442\u0435',gender_label:'\u041f\u043e\u043b',dog_name_error:'\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043b\u0438\u0447\u043a\u0443 \u0441\u043e\u0431\u0430\u043a\u0438.',male_btn:'\u041c\u0430\u043b\u044c\u0447\u0438\u043a',female_btn:'\u0414\u0435\u0432\u043e\u0447\u043a\u0430',size_title_prefix:'\u041a\u0430\u043a\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430',size_sub:'\u0415\u0441\u043b\u0438 \u0441\u043e\u0431\u0430\u043a\u0430 \u0435\u0449\u0435 \u0440\u0430\u0441\u0442\u0435\u0442, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u0440\u0430\u0437\u043c\u0435\u0440.',size_small:'\u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 \u0440\u0430\u0437\u043c\u0435\u0440',size_medium:'\u0421\u0440\u0435\u0434\u043d\u0438\u0439 \u0440\u0430\u0437\u043c\u0435\u0440',size_large:'\u0411\u043e\u043b\u044c\u0448\u043e\u0439 \u0440\u0430\u0437\u043c\u0435\u0440',back_btn:'\u041d\u0430\u0437\u0430\u0434',continue_btn:'\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c',breed_title_prefix:'\u041a\u0430\u043a\u0430\u044f \u043f\u043e\u0440\u043e\u0434\u0430 \u0443',breed_sub:'\u042d\u0442\u043e\u0442 \u0448\u0430\u0433 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c.',choice_opt:'\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435',breed_mix_title:'\u0415\u0441\u043b\u0438 \u043c\u0435\u0442\u0438\u0441, \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u0442\u043e\u0440\u0443\u044e \u043f\u043e\u0440\u043e\u0434\u0443',birth_title_prefix:'\u041a\u043e\u0433\u0434\u0430 \u0440\u043e\u0434\u0438\u043b\u0441\u044f',birth_sub:'\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043c\u0435\u0441\u044f\u0446 \u0438 \u0433\u043e\u0434 \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f.',month_label:'\u041c\u0435\u0441\u044f\u0446',year_label:'\u0413\u043e\u0434',month_placeholder:'-- \u043c\u0435\u0441\u044f\u0446 --',year_placeholder:'-- \u0413\u043e\u0434 --',m01:'\u042f\u043d\u0432\u0430\u0440\u044c',m02:'\u0424\u0435\u0432\u0440\u0430\u043b\u044c',m03:'\u041c\u0430\u0440\u0442',m04:'\u0410\u043f\u0440\u0435\u043b\u044c',m05:'\u041c\u0430\u0439',m06:'\u0418\u044e\u043d\u044c',m07:'\u0418\u044e\u043b\u044c',m08:'\u0410\u0432\u0433\u0443\u0441\u0442',m09:'\u0421\u0435\u043d\u0442\u044f\u0431\u0440\u044c',m10:'\u041e\u043a\u0442\u044f\u0431\u0440\u044c',m11:'\u041d\u043e\u044f\u0431\u0440\u044c',m12:'\u0414\u0435\u043a\u0430\u0431\u0440\u044c',allergy_title_prefix:'\u0415\u0441\u0442\u044c \u043b\u0438 \u0443',allergy_title_suffix:'\u043f\u0438\u0449\u0435\u0432\u0430\u044f \u0430\u043b\u043b\u0435\u0440\u0433\u0438\u044f?',allergy_sub:'\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0441\u0435 \u0431\u0435\u043b\u043a\u0438, \u043a \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0435\u0441\u0442\u044c \u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c.',allergy_beef:'\u0413\u043e\u0432\u044f\u0434\u0438\u043d\u0430',allergy_pork:'\u0421\u0432\u0438\u043d\u0438\u043d\u0430',allergy_rabbit:'\u041a\u0440\u043e\u043b\u0438\u043a',allergy_turkey:'\u0418\u043d\u0434\u0435\u0439\u043a\u0430',allergy_fish:'\u0420\u044b\u0431\u0430',allergy_none:'\u041d\u0435\u0442 \u0430\u043b\u043b\u0435\u0440\u0433\u0438\u0438',manual_allergy_label:'\u041d\u0435\u0442 \u0438\u043d\u0433\u0440\u0435\u0434\u0438\u0435\u043d\u0442\u0430 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435? \u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0432\u0440\u0443\u0447\u043d\u0443\u044e.',manual_allergy_placeholder:'\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u043f\u0448\u0435\u043d\u0438\u0446\u0430, \u0441\u043e\u044f',contact_title:'\u0412\u0430\u0448\u0438 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435',contact_sub_prefix:'\u041c\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043c \u043f\u0440\u043e\u0444\u0438\u043b\u044c',contact_sub_suffix:'\u0432 \u0432\u0430\u0448\u0435\u043c \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0435.',first_name_placeholder:'\u0418\u043c\u044f',last_name_placeholder:'\u0424\u0430\u043c\u0438\u043b\u0438\u044f',email_placeholder:'Email \u0430\u0434\u0440\u0435\u0441',contact_error:'\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0438\u043c\u044f, \u0444\u0430\u043c\u0438\u043b\u0438\u044e \u0438 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 email.',save_btn:'\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043f\u0440\u043e\u0444\u0438\u043b\u044c',loggedin_title:'\u0412\u0430\u0448 \u0430\u043a\u043a\u0430\u0443\u043d\u0442 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u043d',loggedin_sub_prefix:'\u0412\u044b \u0432\u043e\u0448\u043b\u0438. \u041f\u0440\u043e\u0444\u0438\u043b\u044c',loggedin_sub_suffix:'\u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d \u0432 \u0432\u0430\u0448\u0435\u043c \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0435.',success_title:'\u041f\u0440\u043e\u0444\u0438\u043b\u044c \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d!',success_sub_prefix:'\u041f\u0440\u043e\u0444\u0438\u043b\u044c',success_sub_suffix:'\u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d.',save_error:'\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437.' };\n\n        var aufboxLang    = (window.aufboxCurrentLang || document.documentElement.lang || '').toLowerCase();\n        var DEFAULT_I18N  = aufboxLang.indexOf('ro') === 0 ? RO_FALLBACK_I18N : (aufboxLang.indexOf('ru') === 0 ? RU_FALLBACK_I18N : EN_FALLBACK_I18N);\n\n        function resolveI18nValue(key, dict) {\n          var raw = dict[key];\n          var enSource = EN_FALLBACK_I18N[key];\n          if (aufboxLang.indexOf('ro') === 0 && (!raw || raw === enSource)) return RO_FALLBACK_I18N[key] || raw || '';\n          if (aufboxLang.indexOf('ru') === 0 && (!raw || raw === enSource)) return RU_FALLBACK_I18N[key] || raw || '';\n          return raw || DEFAULT_I18N[key] || '';\n        }\n\n        function applyI18n() {\n          var dict = window.aufboxQuizI18n || DEFAULT_I18N;\n          document.querySelectorAll('#aufbox-quiz [data-i18n]').forEach(function(el) {\n            var v = resolveI18nValue(el.getAttribute('data-i18n'), dict);\n            if (v) el.textContent = v;\n          });\n          document.querySelectorAll('#aufbox-quiz [data-i18n-placeholder]').forEach(function(el) {\n            var v = resolveI18nValue(el.getAttribute('data-i18n-placeholder'), dict);\n            if (v) el.setAttribute('placeholder', v);\n          });\n        }\n\n        function checkLogin() {\n          if (typeof window.aufboxData === 'undefined') { setTimeout(checkLogin, 50); return; }\n          if (window.aufboxData.loggedIn === true) {\n            var s6Form      = document.getElementById('aufbox-s6-form');\n            var s6Loggedin  = document.getElementById('aufbox-s6-loggedin');\n            var s6Title     = document.getElementById('aufbox-s6-title');\n            var liName      = document.getElementById('aufbox-li-name');\n            if (s6Form)     s6Form.style.display = 'none';\n            if (s6Loggedin) s6Loggedin.style.display = 'block';\n            if (s6Title)    s6Title.textContent = (window.aufboxQuizI18n && window.aufboxQuizI18n.loggedin_title) || DEFAULT_I18N.loggedin_title;\n            if (liName)     liName.textContent = window.aufboxData.userName || '';\n            D.firstName = window.aufboxData.userFirstName || '';\n            D.lastName  = window.aufboxData.userLastName  || '';\n            D.email     = window.aufboxData.userEmail     || '';\n          }\n        }\n\n        window.aufboxGt = function(n) {\n          var oldStep  = document.getElementById('aufbox-s' + cur);\n          var nextStep = document.getElementById('aufbox-s' + n);\n          if (oldStep)  oldStep.classList.remove('active');\n          cur = n;\n          if (nextStep) nextStep.classList.add('active');\n          var pf = document.getElementById('aufbox-pf');\n          if (pf) pf.style.width = (PR[n] || 100) + '%';\n          updateDogNameLabels();\n          var quiz = document.getElementById('aufbox-quiz');\n          if (quiz) quiz.scrollIntoView({ behavior:'smooth', block:'start' });\n        };\n\n        window.aufboxSelGen = function(g) {\n          var dNameInput = document.getElementById('aufbox-dname');\n          var nm         = dNameInput ? dNameInput.value.trim() : '';\n          var errEl      = document.getElementById('aufbox-nerr');\n          if (!nm) { if (errEl) errEl.classList.add('v'); return; }\n          if (errEl) errEl.classList.remove('v');\n          D.dogName = nm;\n          D.dog_gen = g;\n          document.querySelectorAll('#aufbox-quiz .gbtn').forEach(function(b) { b.classList.remove('sel'); });\n          var btn = document.getElementById(g === 'Baiat' ? 'aufbox-bb' : 'aufbox-bf');\n          if (btn) btn.classList.add('sel');\n          setTimeout(function() { aufboxGt(2); }, 240);\n        };\n\n        window.aufboxSelSz = function(s, el) {\n          D.dog_size = s;\n          document.querySelectorAll('#aufbox-quiz .scard').forEach(function(c) { c.classList.remove('sel'); });\n          if (el) el.classList.add('sel');\n        };\n\n        window.aufboxTogAl = function(al, el) {\n          var noAlBtn = document.getElementById('aufbox-noal');\n          if (al === 'Nu are') {\n            document.querySelectorAll('#aufbox-quiz .abtn').forEach(function(b) { b.classList.remove('sel'); });\n            D.allergies = [];\n            if (el) { el.classList.add('sel'); D.allergies.push('Nu are'); }\n          } else {\n            if (noAlBtn) noAlBtn.classList.remove('sel');\n            D.allergies = D.allergies.filter(function(item) { return item !== 'Nu are'; });\n            if (el) {\n              if (el.classList.contains('sel')) { el.classList.remove('sel'); D.allergies = D.allergies.filter(function(item) { return item !== al; }); }\n              else { el.classList.add('sel'); D.allergies.push(al); }\n            }\n          }\n        };\n\n        window.aufboxSubmit = function() {\n          var errEl = document.getElementById('aufbox-cerr');\n          if (errEl) errEl.classList.remove('v');\n          if (!window.aufboxData || !window.aufboxData.loggedIn) {\n            var emailRegex = \/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\/;\n            if (!D.firstName.trim() || !D.lastName.trim() || !emailRegex.test(D.email)) {\n              if (errEl) errEl.classList.add('v');\n              return;\n            }\n          }\n          var formData = new FormData();\n          formData.append('action', 'aufbox_save_quiz_profile');\n          \/*\n           * FIX: Pass the wp_rest nonce from aufboxData so the server-side\n           * handler can verify it (see PHP handler below).\n           *\/\n          if (window.aufboxData && window.aufboxData.nonce) {\n            formData.append('_wpnonce', window.aufboxData.nonce);\n          }\n          for (var key in D) {\n            if (D.hasOwnProperty(key)) {\n              formData.append(key, Array.isArray(D[key]) ? JSON.stringify(D[key]) : D[key]);\n            }\n          }\n          var ajaxUrl = (window.aufboxData && window.aufboxData.ajaxUrl) || '\/wp-admin\/admin-ajax.php';\n          fetch(ajaxUrl, { method:'POST', body:formData })\n            .then(function(res) { return res.json(); })\n            .then(function(resData) {\n              if (resData.success) {\n                aufboxGt(7);\n              } else {\n                var errMsg = (window.aufboxQuizI18n && window.aufboxQuizI18n.save_error) || DEFAULT_I18N.save_error;\n                alert(resData.data || errMsg);\n              }\n            })\n            .catch(function(err) {\n              console.error('AJAX Error:', err);\n              alert((window.aufboxQuizI18n && window.aufboxQuizI18n.save_error) || DEFAULT_I18N.save_error);\n            });\n        };\n\n        document.addEventListener('DOMContentLoaded', function() { applyI18n(); checkLogin(); });\n        applyI18n();\n        checkLogin();\n      })();\n    <\/script>\n    <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-1216","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/aufpet.nlt.md\/ru\/wp-json\/wp\/v2\/pages\/1216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aufpet.nlt.md\/ru\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/aufpet.nlt.md\/ru\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/aufpet.nlt.md\/ru\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/aufpet.nlt.md\/ru\/wp-json\/wp\/v2\/comments?post=1216"}],"version-history":[{"count":0,"href":"https:\/\/aufpet.nlt.md\/ru\/wp-json\/wp\/v2\/pages\/1216\/revisions"}],"wp:attachment":[{"href":"https:\/\/aufpet.nlt.md\/ru\/wp-json\/wp\/v2\/media?parent=1216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}