{"id":3155,"date":"2026-08-12T17:03:45","date_gmt":"2026-08-12T17:03:45","guid":{"rendered":"https:\/\/aitkids.com\/?page_id=3155"},"modified":"2026-08-12T20:44:39","modified_gmt":"2026-08-12T20:44:39","slug":"resena","status":"publish","type":"page","link":"https:\/\/aitkids.com\/es\/review\/","title":{"rendered":"Rese\u00f1a"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"3155\" class=\"elementor elementor-3155\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-42e7300 e-flex e-con-boxed e-con e-parent\" data-id=\"42e7300\" 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-de713d1 elementor-widget elementor-widget-html\" data-id=\"de713d1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div id=\"afs-review-router\" class=\"afs-review-router\">\r\n  <div class=\"afs-review-grid\">\r\n    <section class=\"afs-review-step\" aria-labelledby=\"afs-program-title\">\r\n      <div class=\"afs-step-heading\">\r\n        <span class=\"afs-step-number\" aria-hidden=\"true\">1<\/span>\r\n        <div>\r\n          <span class=\"afs-step-eyebrow\">First<\/span>\r\n          <h3 id=\"afs-program-title\">Choose a Program<\/h3>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <label class=\"afs-field-label\" for=\"afs-program\">Program<\/label>\r\n      <select id=\"afs-program\" name=\"afs-program\">\r\n        <option value=\"\">Select a program<\/option>\r\n      <\/select>\r\n    <\/section>\r\n\r\n    <section class=\"afs-review-step\" aria-labelledby=\"afs-location-title\">\r\n      <div class=\"afs-step-heading\">\r\n        <span class=\"afs-step-number\" aria-hidden=\"true\">2<\/span>\r\n        <div>\r\n          <span class=\"afs-step-eyebrow\">Next<\/span>\r\n          <h3 id=\"afs-location-title\">Choose a Location<\/h3>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <label class=\"afs-field-label\" for=\"afs-location\">Location<\/label>\r\n      <select id=\"afs-location\" name=\"afs-location\" disabled>\r\n        <option value=\"\">Select a program first<\/option>\r\n      <\/select>\r\n    <\/section>\r\n\r\n    <section class=\"afs-review-step afs-platform-step\" aria-labelledby=\"afs-platform-title\">\r\n      <div class=\"afs-step-heading\">\r\n        <span class=\"afs-step-number\" aria-hidden=\"true\">3<\/span>\r\n        <div>\r\n          <span class=\"afs-step-eyebrow\">Finally<\/span>\r\n          <h3 id=\"afs-platform-title\">Choose a Review Platform<\/h3>\r\n        <\/div>\r\n      <\/div>\r\n\r\n      <div class=\"afs-platforms\" aria-label=\"Choose a review platform\">\r\n        <button\r\n          type=\"button\"\r\n          class=\"afs-platform\"\r\n          data-platform=\"google\"\r\n          aria-label=\"Leave a review on Google\"\r\n          disabled\r\n        >\r\n          <img decoding=\"async\"\r\n            src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/c\/c1\/Google_%22G%22_logo.svg\"\r\n            alt=\"\"\r\n            class=\"afs-platform-logo afs-google-logo\"\r\n            loading=\"lazy\"\r\n          >\r\n          <span>Google<\/span>\r\n        <\/button>\r\n\r\n        <button\r\n          type=\"button\"\r\n          class=\"afs-platform\"\r\n          data-platform=\"facebook\"\r\n          aria-label=\"Leave a review on Facebook\"\r\n          disabled\r\n        >\r\n          <img decoding=\"async\"\r\n            src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/b\/b9\/2023_Facebook_icon.svg\"\r\n            alt=\"\"\r\n            class=\"afs-platform-logo afs-facebook-logo\"\r\n            loading=\"lazy\"\r\n          >\r\n          <span>Facebook<\/span>\r\n        <\/button>\r\n\r\n        <button\r\n          type=\"button\"\r\n          class=\"afs-platform\"\r\n          data-platform=\"yelp\"\r\n          aria-label=\"Leave a review on Yelp\"\r\n          disabled\r\n        >\r\n          <svg\r\n            class=\"afs-platform-logo afs-yelp-logo\"\r\n            viewBox=\"0 0 20 20\"\r\n            aria-hidden=\"true\"\r\n            focusable=\"false\"\r\n          >\r\n            <circle cx=\"10\" cy=\"10\" r=\"10\" fill=\"#f5323c\" \/>\r\n            <g transform=\"translate(3.55 2.2) scale(.975)\" fill=\"#fff\">\r\n              <path d=\"m4.188 10.095.736-.17.073-.02A.813.813 0 0 0 5.45 8.65a1 1 0 0 0-.3-.258 3 3 0 0 0-.428-.198l-.808-.295a76 76 0 0 0-1.364-.493C2.253 7.3 2 7.208 1.783 7.14c-.041-.013-.087-.025-.124-.038a2.1 2.1 0 0 0-.606-.116.72.72 0 0 0-.572.245 2 2 0 0 0-.105.132 1.6 1.6 0 0 0-.155.309c-.15.443-.225.908-.22 1.376.002.423.013.966.246 1.334a.8.8 0 0 0 .22.24c.166.114.333.129.507.141.26.019.513-.045.764-.103l2.447-.566zm8.219-3.911a4.2 4.2 0 0 0-.8-1.14 1.6 1.6 0 0 0-.275-.21 2 2 0 0 0-.15-.073.72.72 0 0 0-.621.031c-.142.07-.294.182-.496.37-.028.028-.063.06-.094.089-.167.156-.353.35-.574.575q-.51.516-1.01 1.042l-.598.62a3 3 0 0 0-.298.365 1 1 0 0 0-.157.364.8.8 0 0 0 .007.301q0 .007.003.013a.81.81 0 0 0 .945.616l.074-.014 3.185-.736c.251-.058.506-.112.732-.242.151-.088.295-.175.394-.35a.8.8 0 0 0 .093-.313c.05-.434-.178-.927-.36-1.308M6.706 7.523c.23-.29.23-.722.25-1.075.07-1.181.143-2.362.201-3.543.022-.448.07-.89.044-1.34-.022-.372-.025-.799-.26-1.104C6.528-.077 5.644-.033 5.04.05q-.278.038-.553.104a8 8 0 0 0-.543.149c-.58.19-1.393.537-1.53 1.204-.078.377.106.763.249 1.107.173.417.41.792.625 1.185.57 1.036 1.15 2.066 1.728 3.097.172.308.36.697.695.857q.033.015.068.025c.15.057.313.068.469.032l.028-.007a.8.8 0 0 0 .377-.226zm-.276 3.161a.74.74 0 0 0-.923-.234 1 1 0 0 0-.145.09 2 2 0 0 0-.346.354c-.026.033-.05.077-.08.104l-.512.705q-.435.591-.861 1.193c-.185.26-.346.479-.472.673l-.072.11c-.152.235-.238.406-.282.559a.7.7 0 0 0-.03.314c.013.11.05.217.108.312q.046.07.1.138a1.6 1.6 0 0 0 .257.237 4.5 4.5 0 0 0 2.196.76 1.6 1.6 0 0 0 .349-.027 2 2 0 0 0 .163-.048.8.8 0 0 0 .278-.178.7.7 0 0 0 .17-.266c.059-.147.098-.335.123-.613l.012-.13c.02-.231.03-.502.045-.821q.037-.735.06-1.469l.033-.87a2.1 2.1 0 0 0-.055-.623 1 1 0 0 0-.117-.27Zm5.783 1.362a2.2 2.2 0 0 0-.498-.378l-.112-.067c-.199-.12-.438-.246-.719-.398q-.644-.353-1.295-.695l-.767-.407c-.04-.012-.08-.04-.118-.059a2 2 0 0 0-.466-.166 1 1 0 0 0-.17-.018.74.74 0 0 0-.725.616 1 1 0 0 0 .01.293c.038.204.13.406.224.583l.41.768q.341.65.696 1.294c.152.28.28.52.398.719q.036.057.068.112c.145.239.261.39.379.497a.73.73 0 0 0 .596.201 2 2 0 0 0 .168-.029 1.6 1.6 0 0 0 .325-.129 4 4 0 0 0 .855-.64c.306-.3.577-.63.788-1.006q.045-.08.076-.165a2 2 0 0 0 .051-.161q.019-.083.029-.168a.8.8 0 0 0-.038-.327.7.7 0 0 0-.165-.27\" \/>\r\n            <\/g>\r\n          <\/svg>\r\n          <span>Yelp<\/span>\r\n        <\/button>\r\n      <\/div>\r\n    <\/section>\r\n  <\/div>\r\n<\/div>\r\n\r\n<style>\r\n  @import url(\"https:\/\/fonts.googleapis.com\/css2?family=Montserrat:wght@700&family=Public+Sans:wght@400;500;600&display=swap\");\r\n\r\n  #afs-review-router {\r\n    --afs-purple: #5c0f8b;\r\n    --afs-purple-dark: #400868;\r\n    --afs-purple-light: #f4ecfa;\r\n    --afs-text: #211b28;\r\n    --afs-muted: #696370;\r\n    --afs-border: #ddd8e2;\r\n\r\n    width: 100%;\r\n    max-width: 1240px;\r\n    margin: 0 auto;\r\n    padding: 36px 40px;\r\n    color: var(--afs-text);\r\n    background: rgba(255, 255, 255, 0.98);\r\n    border: 1px solid #e7e2e9;\r\n    border-radius: 20px;\r\n    box-shadow: 0 12px 32px rgba(52, 25, 65, 0.12);\r\n    font-family: \"Public Sans\", Arial, sans-serif;\r\n  }\r\n\r\n  #afs-review-router,\r\n  #afs-review-router * {\r\n    box-sizing: border-box;\r\n  }\r\n\r\n  #afs-review-router .afs-review-grid {\r\n    display: grid;\r\n    grid-template-columns: 1fr 1fr 1.25fr;\r\n  }\r\n\r\n  #afs-review-router .afs-review-step {\r\n    min-width: 0;\r\n    padding: 0 32px;\r\n    border-right: 1px solid var(--afs-border);\r\n  }\r\n\r\n  #afs-review-router .afs-review-step:first-child {\r\n    padding-left: 0;\r\n  }\r\n\r\n  #afs-review-router .afs-review-step:last-child {\r\n    padding-right: 0;\r\n    border-right: 0;\r\n  }\r\n\r\n  #afs-review-router .afs-step-heading {\r\n    display: flex;\r\n    min-height: 48px;\r\n    margin-bottom: 24px;\r\n    align-items: center;\r\n    gap: 13px;\r\n  }\r\n\r\n  #afs-review-router .afs-step-number {\r\n    display: inline-flex;\r\n    flex: 0 0 42px;\r\n    width: 42px;\r\n    height: 42px;\r\n    align-items: center;\r\n    justify-content: center;\r\n    color: #fff;\r\n    background: var(--afs-purple);\r\n    border-radius: 50%;\r\n    font-family: \"Montserrat\", Arial, sans-serif;\r\n    font-size: 18px;\r\n    font-weight: 700;\r\n  }\r\n\r\n  #afs-review-router .afs-step-eyebrow {\r\n    display: block;\r\n    margin-bottom: 2px;\r\n    color: var(--afs-muted);\r\n    font-family: \"Public Sans\", Arial, sans-serif;\r\n    font-size: 12px;\r\n    line-height: 1.2;\r\n  }\r\n\r\n  #afs-review-router h3 {\r\n    margin: 0;\r\n    color: var(--afs-purple-dark);\r\n    font-family: \"Montserrat\", Arial, sans-serif;\r\n    font-size: 18px;\r\n    font-weight: 700;\r\n    line-height: 1.3;\r\n  }\r\n\r\n  #afs-review-router .afs-field-label {\r\n    display: block;\r\n    margin-bottom: 8px;\r\n    font-family: \"Public Sans\", Arial, sans-serif;\r\n    font-size: 14px;\r\n    font-weight: 600;\r\n  }\r\n\r\n  #afs-review-router select {\r\n    width: 100%;\r\n    min-height: 54px;\r\n    padding: 0 44px 0 16px;\r\n    color: var(--afs-text);\r\n    background-color: #fff;\r\n    border: 1px solid #cfc9d3;\r\n    border-radius: 10px;\r\n    font-family: \"Public Sans\", Arial, sans-serif;\r\n    font-size: 15px;\r\n    cursor: pointer;\r\n    transition: border-color 160ms ease, box-shadow 160ms ease;\r\n  }\r\n\r\n  #afs-review-router select:focus {\r\n    outline: none;\r\n    border-color: var(--afs-purple);\r\n    box-shadow: 0 0 0 3px rgba(92, 15, 139, 0.13);\r\n  }\r\n\r\n  #afs-review-router select:disabled {\r\n    color: #8a858e;\r\n    background-color: #f5f3f6;\r\n    cursor: not-allowed;\r\n  }\r\n\r\n  #afs-review-router .afs-platforms {\r\n    display: grid;\r\n    grid-template-columns: repeat(3, minmax(0, 1fr));\r\n    gap: 12px;\r\n  }\r\n\r\n  #afs-review-router .afs-platform {\r\n    display: flex;\r\n    min-width: 0;\r\n    min-height: 150px;\r\n    padding: 20px 10px;\r\n    align-items: center;\r\n    justify-content: center;\r\n    flex-direction: column;\r\n    gap: 15px;\r\n    color: var(--afs-text);\r\n    background: #fff;\r\n    border: 1px solid var(--afs-border);\r\n    border-radius: 12px;\r\n    box-shadow: 0 5px 14px rgba(31, 17, 38, 0.07);\r\n    font: inherit;\r\n    cursor: pointer;\r\n    transition:\r\n      transform 160ms ease,\r\n      border-color 160ms ease,\r\n      box-shadow 160ms ease,\r\n      background-color 160ms ease;\r\n  }\r\n\r\n  #afs-review-router .afs-platform span {\r\n    font-family: \"Montserrat\", Arial, sans-serif;\r\n    font-size: 14px;\r\n    font-weight: 600;\r\n  }\r\n\r\n  #afs-review-router .afs-platform:not(:disabled):hover {\r\n    transform: translateY(-3px);\r\n    background: var(--afs-purple-light);\r\n    border-color: var(--afs-purple);\r\n    box-shadow: 0 9px 20px rgba(92, 15, 139, 0.14);\r\n  }\r\n\r\n  #afs-review-router .afs-platform:not(:disabled):active {\r\n    transform: translateY(0);\r\n  }\r\n\r\n  #afs-review-router .afs-platform:focus-visible {\r\n    outline: 3px solid rgba(92, 15, 139, 0.3);\r\n    outline-offset: 3px;\r\n  }\r\n\r\n  #afs-review-router .afs-platform:disabled {\r\n    opacity: 0.34;\r\n    box-shadow: none;\r\n    cursor: not-allowed;\r\n    filter: grayscale(0.65);\r\n  }\r\n\r\n  #afs-review-router .afs-platform-logo {\r\n    display: block;\r\n    width: auto;\r\n    max-width: 76px;\r\n    object-fit: contain;\r\n  }\r\n\r\n  #afs-review-router .afs-google-logo,\r\n  #afs-review-router .afs-facebook-logo,\r\n  #afs-review-router .afs-yelp-logo {\r\n    width: 54px;\r\n    height: 54px;\r\n  }\r\n\r\n  #afs-review-router .afs-secure-note {\r\n    display: flex;\r\n    margin: 22px 0 0;\r\n    align-items: center;\r\n    gap: 9px;\r\n    color: var(--afs-muted);\r\n    font-family: \"Public Sans\", Arial, sans-serif;\r\n    font-size: 13px;\r\n    line-height: 1.5;\r\n  }\r\n\r\n  #afs-review-router .afs-secure-note svg {\r\n    flex: 0 0 20px;\r\n    color: var(--afs-purple);\r\n  }\r\n\r\n  #afs-review-router .afs-message {\r\n    min-height: 20px;\r\n    margin: 13px 0 0;\r\n    color: var(--afs-muted);\r\n    font-family: \"Public Sans\", Arial, sans-serif;\r\n    font-size: 13px;\r\n    line-height: 1.5;\r\n  }\r\n\r\n  @media (max-width: 900px) {\r\n    #afs-review-router {\r\n      padding: 28px 24px;\r\n    }\r\n\r\n    #afs-review-router .afs-review-grid {\r\n      grid-template-columns: 1fr;\r\n    }\r\n\r\n    #afs-review-router .afs-review-step,\r\n    #afs-review-router .afs-review-step:first-child,\r\n    #afs-review-router .afs-review-step:last-child {\r\n      padding: 0 0 28px;\r\n      margin: 0 0 28px;\r\n      border-right: 0;\r\n      border-bottom: 1px solid var(--afs-border);\r\n    }\r\n\r\n    #afs-review-router .afs-review-step:last-child {\r\n      padding-bottom: 0;\r\n      margin-bottom: 0;\r\n      border-bottom: 0;\r\n    }\r\n  }\r\n\r\n  @media (max-width: 520px) {\r\n    #afs-review-router {\r\n      padding: 24px 18px;\r\n      border-radius: 16px;\r\n    }\r\n\r\n    #afs-review-router .afs-platforms {\r\n      grid-template-columns: 1fr;\r\n    }\r\n\r\n    #afs-review-router .afs-platform {\r\n      min-height: 76px;\r\n      padding: 13px 18px;\r\n      flex-direction: row;\r\n      justify-content: flex-start;\r\n      gap: 18px;\r\n    }\r\n\r\n    #afs-review-router .afs-google-logo,\r\n    #afs-review-router .afs-facebook-logo,\r\n    #afs-review-router .afs-yelp-logo {\r\n      width: 42px;\r\n      height: 42px;\r\n      flex: 0 0 42px;\r\n    }\r\n  }\r\n<\/style>\r\n\r\n<script>\r\n(function () {\r\n  const router = document.getElementById(\"afs-review-router\");\r\n\r\n  if (!router || router.dataset.initialized === \"true\") {\r\n    return;\r\n  }\r\n\r\n  router.dataset.initialized = \"true\";\r\n\r\n  const REVIEW_DIRECTORY = {\r\n    alegria: {\r\n      label: \"Alegr\u00eda Family Counseling\",\r\n      locations: {\r\n        lasCrucesWyatt: {\r\n          label: \"Las Cruces - 120 Wyatt Drive\",\r\n          address: \"120 Wyatt Drive, Las Cruces, NM 88005\",\r\n          google: \"https:\/\/g.page\/r\/CTkYjJkVkUkoEAE\/review\",\r\n          facebook: \"https:\/\/www.facebook.com\/AlegriaFamilyCounseling\/\",\r\n          yelp: \"https:\/\/www.yelp.com\/biz\/alegr%C3%ADa-family-counseling-las-cruces\"\r\n        }\r\n      }\r\n    },\r\n\r\n    earlyIntervention: {\r\n      label: \"Aprendamos Early Intervention\",\r\n      locations: {\r\n        lasCrucesPerkins: {\r\n          label: \"Las Cruces - 301 Perkins Drive\",\r\n          address: \"301 Perkins Drive, Las Cruces, NM 88005\",\r\n          google: \"https:\/\/g.page\/r\/CbzZMGyMEyojEAE\/review\",\r\n          facebook: \"https:\/\/www.facebook.com\/AitKids.nm\/\",\r\n          yelp: \"https:\/\/www.yelp.com\/biz\/aprendamos-early-intervention-las-cruces\"\r\n        },\r\n        anthony: {\r\n          label: \"Anthony - 1271 Anthony Drive\",\r\n          address: \"1271 Anthony Drive, Anthony, NM 88021\",\r\n          google: \"https:\/\/g.page\/r\/CW0xrrhW5xnyEAE\/review\",\r\n          facebook: \"https:\/\/www.facebook.com\/AitKids.nm\/\",\r\n          yelp: \"\"\r\n        }\r\n      }\r\n    },\r\n\r\n    carino: {\r\n      label: \"Cari\u00f1o Family Health\",\r\n      locations: {\r\n        lasCrucesHickory: {\r\n          label: \"Las Cruces - 1675 Hickory Loop\",\r\n          address: \"1675 Hickory Loop, Las Cruces, NM 88005\",\r\n          google: \"https:\/\/g.page\/r\/CUU5i2sPz0VVEBM\/review\",\r\n          facebook: \"https:\/\/www.facebook.com\/CarinoFamilyHealth\/\",\r\n          yelp: \"https:\/\/www.yelp.com\/biz\/carino-family-health-las-cruces-2\"\r\n        }\r\n      }\r\n    },\r\n\r\n    foundation: {\r\n      label: \"Covarrubias-Aprendamos Foundation\",\r\n      locations: {\r\n        lasCrucesPerkins: {\r\n          label: \"Las Cruces - 301 Perkins Drive\",\r\n          address: \"301 Perkins Drive, Las Cruces, NM 88005\",\r\n          google: \"https:\/\/g.page\/r\/Cb_b-TTcwbbbEAI\/review\",\r\n          facebook: \"https:\/\/www.facebook.com\/profile.php?id=61566785847865\",\r\n          yelp: \"PASTE_FOUNDATION_YELP_REVIEW_URL\"\r\n        }\r\n      }\r\n    },\r\n\r\n    esperanza: {\r\n      label: \"Esperanza Children's Therapy\",\r\n      locations: {\r\n        lasCrucesHickory: {\r\n          label: \"Las Cruces - 1681 Hickory Loop\",\r\n          address: \"1681 Hickory Loop, Las Cruces, NM 88005\",\r\n          google: \"https:\/\/g.page\/r\/CdsLNTgRxkYqEAI\/review\",\r\n          facebook: \"https:\/\/www.facebook.com\/EsperanzaChildrensTherapy\/\",\r\n          yelp: \"https:\/\/www.yelp.com\/biz\/esperanza-childrens-therapy-las-cruces\"\r\n        },\r\n        anthony: {\r\n          label: \"Anthony - 1271 Anthony Drive\",\r\n          address: \"1271 Anthony Drive, Anthony, NM 88021\",\r\n          google: \"https:\/\/g.page\/r\/CS1SkcyUUaUiEAI\/review\",\r\n          facebook: \"https:\/\/www.facebook.com\/EsperanzaChildrensTherapy\/\",\r\n          yelp: \"PASTE_ESPERANZA_ANTHONY_YELP_REVIEW_URL\"\r\n        }\r\n      }\r\n    },\r\n\r\n    mariposa: {\r\n      label: \"Mariposa Autism Service Center\",\r\n      locations: {\r\n        lasCrucesHickory: {\r\n          label: \"Las Cruces - 1675 Hickory Loop\",\r\n          address: \"1675 Hickory Loop, Las Cruces, NM 88005\",\r\n          google: \"https:\/\/g.page\/r\/CUUUI_s53UJoEAE\/review\",\r\n          facebook: \"https:\/\/www.facebook.com\/MariposaAutismServiceCenter\/\",\r\n          yelp: \"https:\/\/www.yelp.com\/biz\/mariposa-autism-service-center-las-cruces\"\r\n        }\r\n      }\r\n    }\r\n  };\r\n\r\n  const programSelect = router.querySelector(\"#afs-program\");\r\n  const locationSelect = router.querySelector(\"#afs-location\");\r\n  const platformButtons = router.querySelectorAll(\".afs-platform\");\r\n  const message = router.querySelector(\"#afs-message\");\r\n\r\n  function isValidReviewUrl(value) {\r\n    if (!value || value.indexOf(\"PASTE_\") === 0) {\r\n      return false;\r\n    }\r\n\r\n    try {\r\n      const url = new URL(value);\r\n      return url.protocol === \"https:\" || url.protocol === \"http:\";\r\n    } catch (error) {\r\n      return false;\r\n    }\r\n  }\r\n\r\n  function populatePrograms() {\r\n    Object.entries(REVIEW_DIRECTORY).forEach(function ([key, program]) {\r\n      const option = document.createElement(\"option\");\r\n      option.value = key;\r\n      option.textContent = program.label;\r\n      programSelect.appendChild(option);\r\n    });\r\n  }\r\n\r\n  function resetPlatforms() {\r\n    platformButtons.forEach(function (button) {\r\n      button.disabled = true;\r\n    });\r\n  }\r\n\r\n  function populateLocations() {\r\n    const program = REVIEW_DIRECTORY[programSelect.value];\r\n    locationSelect.innerHTML = \"\";\r\n    resetPlatforms();\r\n\r\n    const placeholder = document.createElement(\"option\");\r\n    placeholder.value = \"\";\r\n\r\n    if (!program) {\r\n      placeholder.textContent = \"Select a program first\";\r\n      locationSelect.appendChild(placeholder);\r\n      locationSelect.disabled = true;\r\n      message.textContent =\r\n        \"Select a program and location to see the available review platforms.\";\r\n      return;\r\n    }\r\n\r\n    placeholder.textContent = \"Select a location\";\r\n    locationSelect.appendChild(placeholder);\r\n\r\n    Object.entries(program.locations).forEach(function ([key, location]) {\r\n      const option = document.createElement(\"option\");\r\n      option.value = key;\r\n      option.textContent = location.label;\r\n      locationSelect.appendChild(option);\r\n    });\r\n\r\n    locationSelect.disabled = false;\r\n    message.textContent = \"Now choose the location you visited.\";\r\n\r\n    \/* Automatically select the location when a program has one office. *\/\r\n    const locationKeys = Object.keys(program.locations);\r\n    if (locationKeys.length === 1) {\r\n      locationSelect.value = locationKeys[0];\r\n      updatePlatforms();\r\n    }\r\n  }\r\n\r\n  function updatePlatforms() {\r\n    resetPlatforms();\r\n\r\n    const program = REVIEW_DIRECTORY[programSelect.value];\r\n    const location = program && program.locations[locationSelect.value];\r\n\r\n    if (!location) {\r\n      message.textContent = \"Choose a location to see the review options.\";\r\n      return;\r\n    }\r\n\r\n    let availableCount = 0;\r\n\r\n    platformButtons.forEach(function (button) {\r\n      const platform = button.dataset.platform;\r\n      const available = isValidReviewUrl(location[platform]);\r\n      button.disabled = !available;\r\n\r\n      if (available) {\r\n        availableCount += 1;\r\n      }\r\n    });\r\n\r\n    message.textContent = availableCount\r\n      ? \"Choose a platform to leave your review.\"\r\n      : \"Review links for this location have not been added yet.\";\r\n  }\r\n\r\n  function openPlatformReview(button) {\r\n    if (button.disabled) {\r\n      return;\r\n    }\r\n\r\n    const platform = button.dataset.platform;\r\n    const program = REVIEW_DIRECTORY[programSelect.value];\r\n    const location = program && program.locations[locationSelect.value];\r\n    const reviewUrl = location && location[platform];\r\n\r\n    if (!isValidReviewUrl(reviewUrl)) {\r\n      message.textContent = \"This review option is not currently available.\";\r\n      return;\r\n    }\r\n\r\n    \/* Optional Google Tag Manager event. *\/\r\n    window.dataLayer = window.dataLayer || [];\r\n    window.dataLayer.push({\r\n      event: \"review_link_click\",\r\n      review_program: program.label,\r\n      review_location: location.label,\r\n      review_platform: platform\r\n    });\r\n\r\n  window.open(\r\n  reviewUrl,\r\n  \"_blank\",\r\n  \"noopener,noreferrer\"\r\n);\r\n  }\r\n\r\n  programSelect.addEventListener(\"change\", populateLocations);\r\n  locationSelect.addEventListener(\"change\", updatePlatforms);\r\n\r\n  platformButtons.forEach(function (button) {\r\n    button.addEventListener(\"click\", function () {\r\n      openPlatformReview(button);\r\n    });\r\n  });\r\n\r\n  populatePrograms();\r\n})();\r\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>1 First Choose a Program Program Select a program 2 Next Choose a Location Location Select a program first 3 Finally Choose a Review Platform Google Facebook Yelp<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"wpai_meta_description":"","footnotes":""},"class_list":["post-3155","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/aitkids.com\/es\/wp-json\/wp\/v2\/pages\/3155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aitkids.com\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/aitkids.com\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/aitkids.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aitkids.com\/es\/wp-json\/wp\/v2\/comments?post=3155"}],"version-history":[{"count":34,"href":"https:\/\/aitkids.com\/es\/wp-json\/wp\/v2\/pages\/3155\/revisions"}],"predecessor-version":[{"id":3194,"href":"https:\/\/aitkids.com\/es\/wp-json\/wp\/v2\/pages\/3155\/revisions\/3194"}],"wp:attachment":[{"href":"https:\/\/aitkids.com\/es\/wp-json\/wp\/v2\/media?parent=3155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}