  {"id":17972,"date":"2025-08-12T18:17:03","date_gmt":"2025-08-12T18:17:03","guid":{"rendered":"https:\/\/www.rochester.edu\/mindful\/?page_id=17972"},"modified":"2026-01-27T17:37:12","modified_gmt":"2026-01-27T17:37:12","slug":"mindful-eating","status":"publish","type":"page","link":"https:\/\/www.rochester.edu\/mindful\/mindful-eating\/","title":{"rendered":"Mindful Eating"},"content":{"rendered":"","protected":false},"excerpt":{"rendered":"","protected":false},"author":82,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-17972","page","type-page","status-publish","hentry"],"acf":{"lead_in":"","display_title":"","subtitle":"","call_to_action":"","hero_image_placement":"no_image","hero_media":"images","hero_pattern_option":"","hero_video":"","hero_image_landing":"","hero_image_landing_two":"","hero_image_landing_three":"","content_modules":[{"acf_fc_layout":"text","anchor":"","css_class":"","title":"","content":"<h2><b><span data-contrast=\"auto\">What is Mindful Eating?<\/span><\/b><span data-ccp-props=\"{}\">\u00a0<\/span><\/h2>\r\n<span data-contrast=\"auto\">Mindful eating is a holistic experience that engages our body, heart, and mind in the entire process of choosing, preparing, and consuming food. It involves deliberately immersing ourselves in the sensory details of eating, such as the colors, textures, scents, tastes, and sounds of our food and drinks (JC Bays, 2017). By being fully present and appreciating the food we consume, we shift our perspective to see food as a source of enjoyment rather than negativity or shame.\u202f<\/span><span data-ccp-props=\"{}\">\u00a0<\/span>\r\n\r\n<span data-contrast=\"auto\">If you are more of an experiential and visual learner,\u202f<\/span><a href=\"https:\/\/www.youtube.com\/watch?v=dkP6vHSUAGA&amp;t=81s\"><span data-contrast=\"none\">watch this video<\/span><\/a><span data-contrast=\"auto\">\u202fto learn more about mindful eating.\u202f<\/span><span data-ccp-props=\"{}\">\u00a0<\/span>\r\n<h2><b><span data-contrast=\"auto\">Why Practice Mindful Eating?<\/span><\/b><span data-ccp-props=\"{}\">\u00a0<\/span><\/h2>\r\n<span data-contrast=\"auto\">Research has shown that mindful eating can help cultivate increased awareness of hunger and fullness (Hutchinson and Wilson, 2012), higher body-esteem (Keyte et al., 2022) enhanced self-compassion (Shaw and Cassidy, 2021), better gut health (Cherpak, 2019), better focus, and less tendency to stress-eat by reducing negative emotions (Torske et al., 2024).<\/span><span data-ccp-props=\"{}\">\u00a0<\/span>\r\n<h2><b><span data-contrast=\"auto\">Ways to Try Mindful Eating at Home<\/span><\/b><span data-ccp-props=\"{}\">\u00a0<\/span><\/h2>\r\n<span data-contrast=\"auto\">Our 9-day Mindful Nourishment Challenge is currently being updated. In the meantime, explore some mindful eating tips below.\u201d<\/span><span data-ccp-props=\"{}\">\u00a0<\/span>\r\n<ol>\r\n \t<li aria-setsize=\"-1\" data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,0],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%1.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><b><span data-contrast=\"auto\">Practice the PAUSE acronym before you eat<\/span><\/b><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\r\n<\/ol>\r\n<ol>\r\n \t<li style=\"list-style-type: none;\">\r\n<ol>\r\n \t<li aria-setsize=\"-1\" data-leveltext=\"%2.\" data-font=\"\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,4],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%2.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"2\"><span data-contrast=\"auto\">The PAUSE acronym is coined by Dr. Susan Albers and it stands for:\u202f<\/span><b><span data-contrast=\"auto\">P<\/span><\/b><span data-contrast=\"auto\">resent,<\/span><b><span data-contrast=\"auto\">\u202fA<\/span><\/b><span data-contrast=\"auto\">wareness,\u202f<\/span><b><span data-contrast=\"auto\">U<\/span><\/b><span data-contrast=\"auto\">nderstand,\u202f<\/span><b><span data-contrast=\"auto\">S<\/span><\/b><span data-contrast=\"auto\">avor and\u202f<\/span><b><span data-contrast=\"auto\">E<\/span><\/b><span data-contrast=\"auto\">njoy.\u202f<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<ol>\r\n \t<li style=\"list-style-type: none;\">\r\n<ol>\r\n \t<li style=\"list-style-type: none;\">\r\n<ol>\r\n \t<li aria-setsize=\"-1\" data-leveltext=\"%3.\" data-font=\"\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559685&quot;:2160,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,2],&quot;469777803&quot;:&quot;right&quot;,&quot;469777804&quot;:&quot;%3.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"3\"><span data-contrast=\"auto\">Present: Stop multitasking. If you eat, just eat.\u202f<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<ol>\r\n \t<li style=\"list-style-type: none;\">\r\n<ol>\r\n \t<li style=\"list-style-type: none;\">\r\n<ol>\r\n \t<li aria-setsize=\"-1\" data-leveltext=\"%3.\" data-font=\"\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559685&quot;:2160,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,2],&quot;469777803&quot;:&quot;right&quot;,&quot;469777804&quot;:&quot;%3.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"2\" data-aria-level=\"3\"><span data-contrast=\"auto\">Awareness: Ask yourself, how physically hungry I am?<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<ol>\r\n \t<li style=\"list-style-type: none;\">\r\n<ol>\r\n \t<li style=\"list-style-type: none;\">\r\n<ol>\r\n \t<li aria-setsize=\"-1\" data-leveltext=\"%3.\" data-font=\"\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559685&quot;:2160,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,2],&quot;469777803&quot;:&quot;right&quot;,&quot;469777804&quot;:&quot;%3.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"3\" data-aria-level=\"3\"><span data-contrast=\"auto\">Understand: How are my feelings impacting my food choice?<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<ol>\r\n \t<li style=\"list-style-type: none;\">\r\n<ol>\r\n \t<li style=\"list-style-type: none;\">\r\n<ol>\r\n \t<li aria-setsize=\"-1\" data-leveltext=\"%3.\" data-font=\"\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559685&quot;:2160,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,2],&quot;469777803&quot;:&quot;right&quot;,&quot;469777804&quot;:&quot;%3.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"4\" data-aria-level=\"3\"><span data-contrast=\"auto\">Savor: Take a mindful bite, smell, taste, touch, listen!<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<ol>\r\n \t<li style=\"list-style-type: none;\">\r\n<ol>\r\n \t<li style=\"list-style-type: none;\">\r\n<ol>\r\n \t<li aria-setsize=\"-1\" data-leveltext=\"%3.\" data-font=\"\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559685&quot;:2160,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,2],&quot;469777803&quot;:&quot;right&quot;,&quot;469777804&quot;:&quot;%3.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"5\" data-aria-level=\"3\"><span data-contrast=\"auto\">Enjoy: Are you really enjoying this bite?<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\r\n \t<li aria-setsize=\"-1\" data-leveltext=\"%3.\" data-font=\"\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559685&quot;:2160,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,2],&quot;469777803&quot;:&quot;right&quot;,&quot;469777804&quot;:&quot;%3.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"5\" data-aria-level=\"3\"><span data-contrast=\"auto\">Note that the above can all be done very quickly as you are busy and on-the-go! But small steps often make a huge difference.\u202f<\/span><\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li aria-setsize=\"-1\" data-leveltext=\"%3.\" data-font=\"\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559685&quot;:2160,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,2],&quot;469777803&quot;:&quot;right&quot;,&quot;469777804&quot;:&quot;%3.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"5\" data-aria-level=\"3\"><b style=\"font-size: 1.25rem;\"><span data-contrast=\"auto\">Turn off technology around you while you enjoy a meal\u202f<\/span><\/b><span style=\"font-size: 1.25rem;\" data-ccp-props=\"{}\">\u00a0<\/span>\r\n<ol>\r\n \t<li aria-setsize=\"-1\" data-leveltext=\"%3.\" data-font=\"\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559685&quot;:2160,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,2],&quot;469777803&quot;:&quot;right&quot;,&quot;469777804&quot;:&quot;%3.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"5\" data-aria-level=\"3\"><span data-contrast=\"auto\">Many of us watch videos or shows, or text while we eat, but screen content can easily be a distraction to feeling what our body is feeling<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\r\n \t<li aria-setsize=\"-1\" data-leveltext=\"%3.\" data-font=\"\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559685&quot;:2160,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,2],&quot;469777803&quot;:&quot;right&quot;,&quot;469777804&quot;:&quot;%3.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"5\" data-aria-level=\"3\"><span data-contrast=\"auto\">If you could in the next meal, make the food your TV. Watch the aroma, savor the taste, hear the sound in your mouth. And notice the difference, without judgment.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li aria-setsize=\"-1\" data-leveltext=\"%3.\" data-font=\"\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559685&quot;:2160,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,2],&quot;469777803&quot;:&quot;right&quot;,&quot;469777804&quot;:&quot;%3.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"5\" data-aria-level=\"3\"><b><span data-contrast=\"auto\">Being more aware when you are hungry<\/span><\/b><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\r\n<\/ol>\r\n<ol>\r\n \t<li style=\"list-style-type: none;\">\r\n<ol>\r\n \t<li aria-setsize=\"-1\" data-leveltext=\"%2.\" data-font=\"\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,4],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%2.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"2\"><span data-contrast=\"auto\">Check out the\u202f<\/span><a href=\"https:\/\/alissarumsey.com\/hunger-fullness-scale\/\"><span data-contrast=\"none\">Hungry and Fullness Scale<\/span><\/a><span data-contrast=\"auto\">\u202fto learn about how a body typically feels at different levels of hunger.\u202f<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<ol>\r\n \t<li style=\"list-style-type: none;\">\r\n<ol>\r\n \t<li aria-setsize=\"-1\" data-leveltext=\"%2.\" data-font=\"\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,4],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%2.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"2\" data-aria-level=\"2\"><span data-contrast=\"auto\">Recognize the difference between Emotional and Physical Hunger: Emotional hunger often comes on suddenly and urgently, and usually one craves a specific food. Physical hunger is often more gradual, open to many options, and would stop when you are full.\u202f<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li aria-setsize=\"-1\" data-leveltext=\"%2.\" data-font=\"\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,4],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%2.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"2\" data-aria-level=\"2\"><b><span data-contrast=\"auto\">Cultivate gratitude towards food that is being served to you from soil to table<\/span><\/b><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\r\n<\/ol>\r\n<ol>\r\n \t<li style=\"list-style-type: none;\">\r\n<ol>\r\n \t<li aria-setsize=\"-1\" data-leveltext=\"%2.\" data-font=\"\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,4],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%2.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"2\"><span data-contrast=\"auto\">Take a moment to express gratitude for your food. Reflect on where it came from and the effort that went into getting it to your plate.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<ol>\r\n \t<li style=\"list-style-type: none;\">\r\n<ol>\r\n \t<li aria-setsize=\"-1\" data-leveltext=\"%2.\" data-font=\"\" data-listid=\"1\" data-list-defn-props=\"{&quot;335552541&quot;:0,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,4],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%2.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"2\" data-aria-level=\"2\"><span data-contrast=\"auto\">Develop a closer relationship with mother earth by trying forest bathing, geocaching, and earthing.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>","background_color":"#ffffff","width":"width-large"},{"acf_fc_layout":"text","anchor":"","css_class":"","title":"","content":"<b style=\"color: inherit; font-family: proxima-nova, 'Helvetica Neue', sans-serif; font-size: 2.5rem; letter-spacing: -0.046875rem;\"><span data-contrast=\"auto\">Mindful Eating Online Program<\/span><\/b><span style=\"color: inherit; font-family: proxima-nova, 'Helvetica Neue', sans-serif; font-size: 2.5rem; font-weight: bold; letter-spacing: -0.046875rem;\" data-ccp-props=\"{}\">\u00a0<\/span>\r\n\r\nThe Mindful University Project's Mindful Eating Challenge invites you to immerse yourself in daily mindfulness practices centered around your eating habits. Each day, you\u2019ll explore topics that encourage a more intentional approach to meals\u2014whether it\u2019s turning off distractions during lunch, becoming attuned to your hunger cues, remembering to PAUSE before eating, or cultivating gratitude for the food on your plate.\r\n\r\nThis challenge also provides a space for reflection on your past eating behaviors, offering the opportunity to transform your relationship with food. As you participate, you may find yourself looking forward to meals as moments to savor, deepening your connection with your body. Throughout the challenge, you\u2019ll uncover the links between emotions and eating patterns, fostering acceptance and kindness toward yourself.\r\n<div id=\"mc_embed_shell\"><style type=\"text\/css\">\r\n        #mc_embed_signup{background:#fff; false;clear:left; font:14px Helvetica,Arial,sans-serif; width: 600px;}<br \/>\r\n        \/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.<br \/>\r\n           We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. *\/<br \/>\r\n<\/style>\r\n<div id=\"mc_embed_signup\"><form id=\"mc-embedded-subscribe-form\" class=\"validate\" action=\"https:\/\/rochester.us17.list-manage.com\/subscribe\/post?u=158f3be40af39885dd96b72c1&amp;id=750c3cdcbb&amp;f_id=00965de3f0\" method=\"post\" name=\"mc-embedded-subscribe-form\" target=\"_blank\">\r\n<div id=\"mc_embed_signup_scroll\">\r\n<h2>Join the Mindful Eating Program!<\/h2>\r\n<div class=\"indicates-required\"><span class=\"asterisk\">*<\/span> indicates required<\/div>\r\n<div class=\"mc-field-group\"><label for=\"mce-EMAIL\">Email Address <span class=\"asterisk\">*<\/span><\/label><input id=\"mce-EMAIL\" class=\"required email\" name=\"EMAIL\" required=\"\" type=\"email\" value=\"\" \/><\/div>\r\n<div class=\"mc-field-group\"><label for=\"mce-FNAME\">First Name <\/label><input id=\"mce-FNAME\" class=\" text\" name=\"FNAME\" type=\"text\" value=\"\" \/><\/div>\r\n<div class=\"mc-field-group\"><label for=\"mce-LNAME\">Last Name <\/label><input id=\"mce-LNAME\" class=\" text\" name=\"LNAME\" type=\"text\" value=\"\" \/><\/div>\r\n<div class=\"mc-field-group\"><label for=\"mce-MMERGE6\">What's Your Affiliation with the University? <\/label><select id=\"mce-MMERGE6\" class=\"\" name=\"MMERGE6\">\r\n<option value=\"\"><\/option>\r\n<option value=\"Undergraduate Student\">Undergraduate Student<\/option>\r\n<option value=\"Graduate Student\">Graduate Student<\/option>\r\n<option value=\"Doctoral Student\">Doctoral Student<\/option>\r\n<option value=\"Medical Student\">Medical Student<\/option>\r\n<option value=\"Faculty Member\">Faculty Member<\/option>\r\n<option value=\"Staff Member\">Staff Member<\/option>\r\n<\/select><\/div>\r\n<div id=\"mce-responses\" class=\"clear\">\r\n<div id=\"mce-error-response\" class=\"response\" style=\"display: none;\"><\/div>\r\n<div id=\"mce-success-response\" class=\"response\" style=\"display: none;\"><\/div>\r\n<\/div>\r\n<div style=\"position: absolute; left: -5000px;\" aria-hidden=\"true\"><input tabindex=\"-1\" name=\"b_158f3be40af39885dd96b72c1_750c3cdcbb\" type=\"text\" value=\"\" \/><\/div>\r\n<div class=\"clear\"><input id=\"mc-embedded-subscribe\" class=\"button\" name=\"subscribe\" type=\"submit\" value=\"Subscribe\" \/><\/div>\r\n<\/div>\r\n<\/form><\/div>\r\n<script type=\"text\/javascript\" src=\"\/\/s3.amazonaws.com\/downloads.mailchimp.com\/js\/mc-validate.js\"><\/script><script type=\"text\/javascript\">(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[4]='MMERGE4';ftypes[4]='radio';fnames[6]='MMERGE6';ftypes[6]='dropdown';fnames[3]='MMERGE3';ftypes[3]='text';fnames[5]='MMERGE5';ftypes[5]='radio';}(jQuery));var $mcj = jQuery.noConflict(true);\r\n    \/\/ SMS Phone Multi-Country Functionality\r\n    if(!window.MC) {\r\n      window.MC = {};\r\n    }\r\n    window.MC.smsPhoneData = {\r\n      defaultCountryCode: 'US',\r\n      programs: [],\r\n      smsProgramDataCountryNames: []\r\n    };\r\n\r\n    function getCountryUnicodeFlag(countryCode) {\r\n       return countryCode.toUpperCase().replace(\/.\/g, (char) => String.fromCodePoint(char.charCodeAt(0) + 127397))\r\n    };\r\n\r\n    \/\/ HTML sanitization function to prevent XSS\r\n    function sanitizeHtml(str) {\r\n      if (typeof str !== 'string') return '';\r\n      return str\r\n        .replace(\/&\/g, '&amp;')\r\n        .replace(\/<\/g, '&lt;') .replace(\/>\/g, '&gt;')\r\n        .replace(\/\"\/g, '&quot;')\r\n        .replace(\/'\/g, '&#x27;')\r\n        .replace(\/\\\/\/g, '&#x2F;');\r\n    }\r\n\r\n    \/\/ URL sanitization function to prevent javascript: and data: URLs\r\n    function sanitizeUrl(url) {\r\n      if (typeof url !== 'string') return '';\r\n      const trimmedUrl = url.trim().toLowerCase();\r\n      if (trimmedUrl.startsWith('javascript:') || trimmedUrl.startsWith('data:') || trimmedUrl.startsWith('vbscript:')) {\r\n        return '#';\r\n      }\r\n      return url;\r\n    }\r\n\r\n    const getBrowserLanguage = () => {\r\n      if (!window?.navigator?.language?.split('-')[1]) {\r\n        return window?.navigator?.language?.toUpperCase();\r\n      }\r\n      return window?.navigator?.language?.split('-')[1];\r\n    };\r\n\r\n    function getDefaultCountryProgram(defaultCountryCode, smsProgramData) {\r\n      if (!smsProgramData || smsProgramData.length === 0) {\r\n        return null;\r\n      }\r\n\r\n      const browserLanguage = getBrowserLanguage();\r\n\r\n      if (browserLanguage) {\r\n        const foundProgram = smsProgramData.find(\r\n          (program) => program?.countryCode === browserLanguage,\r\n        );\r\n        if (foundProgram) {\r\n          return foundProgram;\r\n        }\r\n      }\r\n\r\n      if (defaultCountryCode) {\r\n        const foundProgram = smsProgramData.find(\r\n          (program) => program?.countryCode === defaultCountryCode,\r\n        );\r\n        if (foundProgram) {\r\n          return foundProgram;\r\n        }\r\n      }\r\n\r\n      return smsProgramData[0];\r\n    }\r\n\r\n    function updateSmsLegalText(countryCode, fieldName) {\r\n      if (!countryCode || !fieldName) {\r\n        return;\r\n      }\r\n      \r\n      const programs = window?.MC?.smsPhoneData?.programs;\r\n      if (!programs || !Array.isArray(programs)) {\r\n        return;\r\n      }\r\n      \r\n      const program = programs.find(program => program?.countryCode === countryCode);\r\n      if (!program || !program.requiredTemplate) {\r\n        return;\r\n      }\r\n      \r\n      const legalTextElement = document.querySelector('#legal-text-' + fieldName);\r\n      if (!legalTextElement) {\r\n        return;\r\n      }\r\n      \r\n      \/\/ Remove HTML tags and clean up the text\r\n      const divRegex = new RegExp('<\/?[div][^>]*>', 'gi');\r\n      const fullAnchorRegex = new RegExp('<a.*?<\/a>', 'g');\r\n      const anchorRegex = new RegExp('<a href=\"(.*?)\" target=\"(.*?)\">(.*?)<\/a>');\r\n      \r\n      const template = program.requiredTemplate.replace(divRegex, '');\r\n      \r\n      \r\n\r\n      legalTextElement.textContent = '';\r\n      const parts = template.split(\/(<a href=\".*?\" target=\".*?\">.*?<\\\/a>)\/g);\r\n      parts.forEach(function(part) {\r\n        if (!part) {\r\n          return;\r\n        }\r\n        const anchorMatch = part.match(\/<a href=\"(.*?)\" target=\"(.*?)\">(.*?)<\\\/a>\/);\r\n        if (anchorMatch) {\r\n          const linkElement = document.createElement('a');\r\n          linkElement.href = sanitizeUrl(anchorMatch[1]);\r\n          linkElement.target = sanitizeHtml(anchorMatch[2]);\r\n          linkElement.textContent = sanitizeHtml(anchorMatch[3]);\r\n          legalTextElement.appendChild(linkElement);\r\n        } else {\r\n          legalTextElement.appendChild(document.createTextNode(part));\r\n        }\r\n      });\r\n          \r\n    }\r\n\r\n    function generateDropdownOptions(smsProgramData) {\r\n      if (!smsProgramData || smsProgramData.length === 0) {\r\n        return '';\r\n      }\r\n      \r\n      return smsProgramData.map(program => {\r\n        const flag = getCountryUnicodeFlag(program.countryCode);\r\n        const countryName = getCountryName(program.countryCode);\r\n        const callingCode = program.countryCallingCode || '';\r\n        \/\/ Sanitize all values to prevent XSS\r\n        const sanitizedCountryCode = sanitizeHtml(program.countryCode || '');\r\n        const sanitizedCountryName = sanitizeHtml(countryName || '');\r\n        const sanitizedCallingCode = sanitizeHtml(callingCode || '');\r\n        return '<option value=\"' + sanitizedCountryCode + '\">' + sanitizedCountryName + ' ' + sanitizedCallingCode + '<\/option>';\r\n      }).join('');\r\n    }\r\n\r\n    function getCountryName(countryCode) {\r\n      if (window.MC?.smsPhoneData?.smsProgramDataCountryNames && Array.isArray(window.MC.smsPhoneData.smsProgramDataCountryNames)) {\r\n        for (let i = 0; i < window.MC.smsPhoneData.smsProgramDataCountryNames.length; i++) {\r\n          if (window.MC.smsPhoneData.smsProgramDataCountryNames[i].code === countryCode) {\r\n            return window.MC.smsPhoneData.smsProgramDataCountryNames[i].name;\r\n          }\r\n        }\r\n      }\r\n      return countryCode;\r\n    }\r\n\r\n    function getDefaultPlaceholder(countryCode) {\r\n      if (!countryCode || typeof countryCode !== 'string') {\r\n        return '+1 000 000 0000'; \/\/ Default US placeholder\r\n      }\r\n      \r\n            var mockPlaceholders = [\r\n        {\r\n          countryCode: 'US',\r\n          placeholder: '+1 000 000 0000',\r\n          helpText: 'Include the US country code +1 before the phone number',\r\n        },\r\n        {\r\n          countryCode: 'GB',\r\n          placeholder: '+44 0000 000000',\r\n          helpText: 'Include the GB country code +44 before the phone number',\r\n        },\r\n        {\r\n          countryCode: 'CA',\r\n          placeholder: '+1 000 000 0000',\r\n          helpText: 'Include the CA country code +1 before the phone number',\r\n        },\r\n        {\r\n          countryCode: 'AU',\r\n          placeholder: '+61 000 000 000',\r\n          helpText: 'Include the AU country code +61 before the phone number',\r\n        },\r\n        {\r\n          countryCode: 'DE',\r\n          placeholder: '+49 000 0000000',\r\n          helpText: 'F\u00fcgen Sie vor der Telefonnummer die DE-L\u00e4ndervorwahl +49 ein',\r\n        },\r\n        {\r\n          countryCode: 'FR',\r\n          placeholder: '+33 0 00 00 00 00',\r\n          helpText: 'Incluez le code pays FR +33 avant le num\u00e9ro de t\u00e9l\u00e9phone',\r\n        },\r\n        {\r\n          countryCode: 'ES',\r\n          placeholder: '+34 000 000 000',\r\n          helpText: 'Incluya el c\u00f3digo de pa\u00eds ES +34 antes del n\u00famero de tel\u00e9fono',\r\n        },\r\n        {\r\n          countryCode: 'NL',\r\n          placeholder: '+31 0 00000000',\r\n          helpText: 'Voeg de NL-landcode +31 toe v\u00f3\u00f3r het telefoonnummer',\r\n        },\r\n        {\r\n          countryCode: 'BE',\r\n          placeholder: '+32 000 00 00 00',\r\n          helpText: 'Incluez le code pays BE +32 avant le num\u00e9ro de t\u00e9l\u00e9phone',\r\n        },\r\n        {\r\n          countryCode: 'CH',\r\n          placeholder: '+41 00 000 00 00',\r\n          helpText: 'F\u00fcgen Sie vor der Telefonnummer die CH-L\u00e4ndervorwahl +41 ein',\r\n        },\r\n        {\r\n          countryCode: 'AT',\r\n          placeholder: '+43 000 000 0000',\r\n          helpText: 'F\u00fcgen Sie vor der Telefonnummer die AT-L\u00e4ndervorwahl +43 ein',\r\n        },\r\n        {\r\n          countryCode: 'IE',\r\n          placeholder: '+353 00 000 0000',\r\n          helpText: 'Include the IE country code +353 before the phone number',\r\n        },\r\n        {\r\n          countryCode: 'IT',\r\n          placeholder: '+39 000 000 0000',\r\n          helpText: 'Includere il prefisso internazionale IT +39 prima del numero di telefono',\r\n        },\r\n      ];\r\n\r\n      const selectedPlaceholder = mockPlaceholders.find(function(item) {\r\n        return item && item.countryCode === countryCode;\r\n      });\r\n      \r\n      return selectedPlaceholder ? selectedPlaceholder.placeholder : mockPlaceholders[0].placeholder;\r\n    }\r\n\r\n    function updatePlaceholder(countryCode, fieldName) {\r\n      if (!countryCode || !fieldName) {\r\n        return;\r\n      }\r\n      \r\n      const phoneInput = document.querySelector('#mce-' + fieldName);\r\n      if (!phoneInput) {\r\n        return;\r\n      }\r\n      \r\n      const placeholder = getDefaultPlaceholder(countryCode);\r\n      if (placeholder) {\r\n        phoneInput.placeholder = placeholder;\r\n      }\r\n    }\r\n\r\n    function updateCountryCodeInstruction(countryCode, fieldName) {\r\n      updatePlaceholder(countryCode, fieldName);\r\n      \r\n    }\r\n\r\n    function getDefaultHelpText(countryCode) {\r\n      var mockPlaceholders = [\r\n        {\r\n          countryCode: 'US',\r\n          placeholder: '+1 000 000 0000',\r\n          helpText: 'Include the US country code +1 before the phone number',\r\n        },\r\n        {\r\n          countryCode: 'GB',\r\n          placeholder: '+44 0000 000000',\r\n          helpText: 'Include the GB country code +44 before the phone number',\r\n        },\r\n        {\r\n          countryCode: 'CA',\r\n          placeholder: '+1 000 000 0000',\r\n          helpText: 'Include the CA country code +1 before the phone number',\r\n        },\r\n        {\r\n          countryCode: 'AU',\r\n          placeholder: '+61 000 000 000',\r\n          helpText: 'Include the AU country code +61 before the phone number',\r\n        },\r\n        {\r\n          countryCode: 'DE',\r\n          placeholder: '+49 000 0000000',\r\n          helpText: 'F\u00fcgen Sie vor der Telefonnummer die DE-L\u00e4ndervorwahl +49 ein',\r\n        },\r\n        {\r\n          countryCode: 'FR',\r\n          placeholder: '+33 0 00 00 00 00',\r\n          helpText: 'Incluez le code pays FR +33 avant le num\u00e9ro de t\u00e9l\u00e9phone',\r\n        },\r\n        {\r\n          countryCode: 'ES',\r\n          placeholder: '+34 000 000 000',\r\n          helpText: 'Incluya el c\u00f3digo de pa\u00eds ES +34 antes del n\u00famero de tel\u00e9fono',\r\n        },\r\n        {\r\n          countryCode: 'NL',\r\n          placeholder: '+31 0 00000000',\r\n          helpText: 'Voeg de NL-landcode +31 toe v\u00f3\u00f3r het telefoonnummer',\r\n        },\r\n        {\r\n          countryCode: 'BE',\r\n          placeholder: '+32 000 00 00 00',\r\n          helpText: 'Incluez le code pays BE +32 avant le num\u00e9ro de t\u00e9l\u00e9phone',\r\n        },\r\n        {\r\n          countryCode: 'CH',\r\n          placeholder: '+41 00 000 00 00',\r\n          helpText: 'F\u00fcgen Sie vor der Telefonnummer die CH-L\u00e4ndervorwahl +41 ein',\r\n        },\r\n        {\r\n          countryCode: 'AT',\r\n          placeholder: '+43 000 000 0000',\r\n          helpText: 'F\u00fcgen Sie vor der Telefonnummer die AT-L\u00e4ndervorwahl +43 ein',\r\n        },\r\n        {\r\n          countryCode: 'IE',\r\n          placeholder: '+353 00 000 0000',\r\n          helpText: 'Include the IE country code +353 before the phone number',\r\n        },\r\n        {\r\n          countryCode: 'IT',\r\n          placeholder: '+39 000 000 0000',\r\n          helpText: 'Includere il prefisso internazionale IT +39 prima del numero di telefono',\r\n        },\r\n      ];\r\n      \r\n      if (!countryCode || typeof countryCode !== 'string') {\r\n        return mockPlaceholders[0].helpText;\r\n      }\r\n      \r\n      const selectedHelpText = mockPlaceholders.find(function(item) {\r\n          return item && item.countryCode === countryCode;\r\n        });\r\n        \r\n        return selectedHelpText ? selectedHelpText.helpText : mockPlaceholders[0].helpText;\r\n    }\r\n\r\n    function setDefaultHelpText(countryCode) {\r\n      const helpTextSpan = document.querySelector('#help-text');\r\n      if (!helpTextSpan) {\r\n        return;\r\n      }\r\n\r\n        \r\n    }\r\n\r\n    function updateHelpTextCountryCode(countryCode, fieldName) {\r\n      if (!countryCode || !fieldName) {\r\n        return;\r\n      }\r\n      \r\n      setDefaultHelpText(countryCode);\r\n    }\r\n\r\n    function initializeSmsPhoneDropdown(fieldName) {\r\n      if (!fieldName || typeof fieldName !== 'string') {\r\n        return;\r\n      }\r\n      \r\n      const dropdown = document.querySelector('#country-select-' + fieldName);\r\n      const displayFlag = document.querySelector('#flag-display-' + fieldName);\r\n      \r\n      if (!dropdown || !displayFlag) {\r\n        return;\r\n      }\r\n\r\n      const smsPhoneData = window.MC?.smsPhoneData;\r\n      if (smsPhoneData && smsPhoneData.programs && Array.isArray(smsPhoneData.programs)) {\r\n        dropdown.innerHTML = generateDropdownOptions(smsPhoneData.programs);\r\n      }\r\n\r\n      const defaultProgram = getDefaultCountryProgram(smsPhoneData?.defaultCountryCode, smsPhoneData?.programs);\r\n      if (defaultProgram && defaultProgram.countryCode) {\r\n        dropdown.value = defaultProgram.countryCode;\r\n        \r\n        const flagSpan = displayFlag?.querySelector('#flag-emoji-' + fieldName);\r\n        if (flagSpan) {\r\n          flagSpan.textContent = getCountryUnicodeFlag(defaultProgram.countryCode);\r\n          flagSpan.setAttribute('aria-label', sanitizeHtml(defaultProgram.countryCode) + ' flag');\r\n        }\r\n        \r\n        updateSmsLegalText(defaultProgram.countryCode, fieldName);\r\n        updatePlaceholder(defaultProgram.countryCode, fieldName);\r\n        updateCountryCodeInstruction(defaultProgram.countryCode, fieldName);\r\n      }\r\n\r\n     \r\n      var smsNotRequiredRemoveCountryCodeEnabled = true;\r\n      var smsField = Object.values({\"EMAIL\":{\"name\":\"EMAIL\",\"label\":\"Email Address\",\"helper_text\":\"\",\"type\":\"email\",\"required\":true,\"audience_field_name\":\"Email Address\",\"merge_id\":0,\"help_text_enabled\":false,\"enabled\":true,\"order\":0,\"field_type\":\"merge\"},\"FNAME\":{\"name\":\"FNAME\",\"label\":\"First Name\",\"helper_text\":\"\",\"type\":\"text\",\"required\":false,\"audience_field_name\":\"First Name\",\"merge_id\":1,\"help_text_enabled\":false,\"enabled\":true,\"order\":1,\"field_type\":\"merge\"},\"LNAME\":{\"name\":\"LNAME\",\"label\":\"Last Name\",\"helper_text\":\"\",\"type\":\"text\",\"required\":false,\"audience_field_name\":\"Last Name\",\"merge_id\":2,\"help_text_enabled\":false,\"enabled\":true,\"order\":2,\"field_type\":\"merge\"},\"MMERGE4\":{\"name\":\"MMERGE4\",\"label\":\"What is your class year?\",\"helper_text\":\"\",\"type\":\"radio\",\"required\":false,\"audience_field_name\":\"What is Your Affiliation with the University?\",\"choices\":[{\"value\":\"Undergraduate Student\",\"label\":\"Undergraduate Student\"},{\"value\":\"Graduate Student\",\"label\":\"Graduate Student\"},{\"value\":\"Medical Student\",\"label\":\"Medical Student\"},{\"value\":\"Doctoral Student\",\"label\":\"Doctoral Student\"},{\"value\":\"Faculty\",\"label\":\"Faculty\"},{\"value\":\"Staff\",\"label\":\"Staff\"},{\"value\":\"糖心传媒 Community Member\",\"label\":\"糖心传媒 Community Member\"}],\"merge_id\":4,\"help_text_enabled\":false,\"enabled\":false,\"order\":null,\"field_type\":\"merge\"},\"MMERGE6\":{\"name\":\"MMERGE6\",\"label\":\"What's Your Affiliation with the University?\",\"helper_text\":\"\",\"type\":\"dropdown\",\"required\":false,\"audience_field_name\":\"What's Your Affiliation with the University?\",\"choices\":[{\"value\":\"Undergraduate Student\",\"label\":\"Undergraduate Student\"},{\"value\":\"Graduate Student\",\"label\":\"Graduate Student\"},{\"value\":\"Doctoral Student\",\"label\":\"Doctoral Student\"},{\"value\":\"Medical Student\",\"label\":\"Medical Student\"},{\"value\":\"Faculty Member\",\"label\":\"Faculty Member\"},{\"value\":\"Staff Member\",\"label\":\"Staff Member\"}],\"enabled\":true,\"order\":3,\"field_type\":\"merge\",\"merge_id\":6},\"MMERGE3\":{\"name\":\"MMERGE3\",\"label\":\"Gender\",\"helper_text\":\"\",\"type\":\"text\",\"required\":false,\"audience_field_name\":\"Gender\",\"enabled\":false,\"order\":null,\"field_type\":\"merge\",\"merge_id\":3},\"MMERGE5\":{\"name\":\"MMERGE5\",\"label\":\"How did you hear about this program?\",\"helper_text\":\"\",\"type\":\"radio\",\"required\":false,\"audience_field_name\":\"How did you hear about this program?\",\"choices\":[{\"value\":\"Email\",\"label\":\"Email\"},{\"value\":\"UHS Website\",\"label\":\"UHS Website\"},{\"value\":\"Referral from a Friend\",\"label\":\"Referral from a Friend\"},{\"value\":\"UHS or UCC Provider Referral\",\"label\":\"UHS or UCC Provider Referral\"},{\"value\":\"Faculty or Staff Referral\",\"label\":\"Faculty or Staff Referral\"},{\"value\":\"Facebook\",\"label\":\"Facebook\"},{\"value\":\"Student Health 101\",\"label\":\"Student Health 101\"},{\"value\":\"The Report\",\"label\":\"The Report\"},{\"value\":\"Flyer\",\"label\":\"Flyer\"},{\"value\":\"Other\",\"label\":\"Other\"}],\"enabled\":false,\"order\":null,\"field_type\":\"merge\",\"merge_id\":5}}).find(function(f) { return f.name === fieldName && f.type === 'smsphone'; });\r\n      var isRequired = smsField ? smsField.required : false;\r\n      var shouldAppendCountryCode = smsNotRequiredRemoveCountryCodeEnabled ? isRequired : true;\r\n      \r\n      var phoneInput = document.querySelector('#mce-' + fieldName);\r\n      if (phoneInput && defaultProgram.countryCallingCode && shouldAppendCountryCode) {\r\n        phoneInput.value = defaultProgram.countryCallingCode;\r\n      }\r\n      \r\n\r\n\r\n      displayFlag?.addEventListener('click', function(e) {\r\n        dropdown.focus();\r\n      });\r\n\r\n\r\n      dropdown?.addEventListener('change', function() {\r\n        const selectedCountry = this.value;\r\n        \r\n        if (!selectedCountry || typeof selectedCountry !== 'string') {\r\n          return;\r\n        }\r\n        \r\n        const flagSpan = displayFlag?.querySelector('#flag-emoji-' + fieldName);\r\n        if (flagSpan) {\r\n          flagSpan.textContent = getCountryUnicodeFlag(selectedCountry);\r\n          flagSpan.setAttribute('aria-label', sanitizeHtml(selectedCountry) + ' flag');\r\n        }\r\n\r\n         \r\n        const selectedProgram = window.MC?.smsPhoneData?.programs.find(function(program) {\r\n          return program && program.countryCode === selectedCountry;\r\n        });\r\n\r\n        var smsNotRequiredRemoveCountryCodeEnabled = true;\r\n        var smsField = Object.values({\"EMAIL\":{\"name\":\"EMAIL\",\"label\":\"Email Address\",\"helper_text\":\"\",\"type\":\"email\",\"required\":true,\"audience_field_name\":\"Email Address\",\"merge_id\":0,\"help_text_enabled\":false,\"enabled\":true,\"order\":0,\"field_type\":\"merge\"},\"FNAME\":{\"name\":\"FNAME\",\"label\":\"First Name\",\"helper_text\":\"\",\"type\":\"text\",\"required\":false,\"audience_field_name\":\"First Name\",\"merge_id\":1,\"help_text_enabled\":false,\"enabled\":true,\"order\":1,\"field_type\":\"merge\"},\"LNAME\":{\"name\":\"LNAME\",\"label\":\"Last Name\",\"helper_text\":\"\",\"type\":\"text\",\"required\":false,\"audience_field_name\":\"Last Name\",\"merge_id\":2,\"help_text_enabled\":false,\"enabled\":true,\"order\":2,\"field_type\":\"merge\"},\"MMERGE4\":{\"name\":\"MMERGE4\",\"label\":\"What is your class year?\",\"helper_text\":\"\",\"type\":\"radio\",\"required\":false,\"audience_field_name\":\"What is Your Affiliation with the University?\",\"choices\":[{\"value\":\"Undergraduate Student\",\"label\":\"Undergraduate Student\"},{\"value\":\"Graduate Student\",\"label\":\"Graduate Student\"},{\"value\":\"Medical Student\",\"label\":\"Medical Student\"},{\"value\":\"Doctoral Student\",\"label\":\"Doctoral Student\"},{\"value\":\"Faculty\",\"label\":\"Faculty\"},{\"value\":\"Staff\",\"label\":\"Staff\"},{\"value\":\"糖心传媒 Community Member\",\"label\":\"糖心传媒 Community Member\"}],\"merge_id\":4,\"help_text_enabled\":false,\"enabled\":false,\"order\":null,\"field_type\":\"merge\"},\"MMERGE6\":{\"name\":\"MMERGE6\",\"label\":\"What's Your Affiliation with the University?\",\"helper_text\":\"\",\"type\":\"dropdown\",\"required\":false,\"audience_field_name\":\"What's Your Affiliation with the University?\",\"choices\":[{\"value\":\"Undergraduate Student\",\"label\":\"Undergraduate Student\"},{\"value\":\"Graduate Student\",\"label\":\"Graduate Student\"},{\"value\":\"Doctoral Student\",\"label\":\"Doctoral Student\"},{\"value\":\"Medical Student\",\"label\":\"Medical Student\"},{\"value\":\"Faculty Member\",\"label\":\"Faculty Member\"},{\"value\":\"Staff Member\",\"label\":\"Staff Member\"}],\"enabled\":true,\"order\":3,\"field_type\":\"merge\",\"merge_id\":6},\"MMERGE3\":{\"name\":\"MMERGE3\",\"label\":\"Gender\",\"helper_text\":\"\",\"type\":\"text\",\"required\":false,\"audience_field_name\":\"Gender\",\"enabled\":false,\"order\":null,\"field_type\":\"merge\",\"merge_id\":3},\"MMERGE5\":{\"name\":\"MMERGE5\",\"label\":\"How did you hear about this program?\",\"helper_text\":\"\",\"type\":\"radio\",\"required\":false,\"audience_field_name\":\"How did you hear about this program?\",\"choices\":[{\"value\":\"Email\",\"label\":\"Email\"},{\"value\":\"UHS Website\",\"label\":\"UHS Website\"},{\"value\":\"Referral from a Friend\",\"label\":\"Referral from a Friend\"},{\"value\":\"UHS or UCC Provider Referral\",\"label\":\"UHS or UCC Provider Referral\"},{\"value\":\"Faculty or Staff Referral\",\"label\":\"Faculty or Staff Referral\"},{\"value\":\"Facebook\",\"label\":\"Facebook\"},{\"value\":\"Student Health 101\",\"label\":\"Student Health 101\"},{\"value\":\"The Report\",\"label\":\"The Report\"},{\"value\":\"Flyer\",\"label\":\"Flyer\"},{\"value\":\"Other\",\"label\":\"Other\"}],\"enabled\":false,\"order\":null,\"field_type\":\"merge\",\"merge_id\":5}}).find(function(f) { return f.name === fieldName && f.type === 'smsphone'; });\r\n        var isRequired = smsField ? smsField.required : false;\r\n        var shouldAppendCountryCode = smsNotRequiredRemoveCountryCodeEnabled ? isRequired : true;\r\n        \r\n        var phoneInput = document.querySelector('#mce-' + fieldName);\r\n        if (phoneInput && selectedProgram.countryCallingCode && shouldAppendCountryCode) {\r\n          phoneInput.value = selectedProgram.countryCallingCode;\r\n        }\r\n        \r\n        \r\n        updateSmsLegalText(selectedCountry, fieldName);\r\n        updatePlaceholder(selectedCountry, fieldName);\r\n        updateCountryCodeInstruction(selectedCountry, fieldName);\r\n      });\r\n    }\r\n\r\n    document.addEventListener('DOMContentLoaded', function() {\r\n      const smsPhoneFields = document.querySelectorAll('[id^=\"country-select-\"]');\r\n      \r\n      smsPhoneFields.forEach(function(dropdown) {\r\n        const fieldName = dropdown?.id.replace('country-select-', '');\r\n        initializeSmsPhoneDropdown(fieldName);\r\n      });\r\n    });\r\n    <\/script>\r\n\r\n<\/div>","background_color":"#ffffff","width":"width-large"}]},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Mindful Eating - Mindful University Project<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rochester.edu\/mindful\/mindful-eating\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mindful Eating - Mindful University Project\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rochester.edu\/mindful\/mindful-eating\/\" \/>\n<meta property=\"og:site_name\" content=\"Mindful University Project\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-27T17:37:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rochester.edu\/mindful\/wp-content\/uploads\/2021\/08\/2019-09-19_yoga_meditation_580-1200x630.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rochester.edu\\\/mindful\\\/mindful-eating\\\/\",\"url\":\"https:\\\/\\\/www.rochester.edu\\\/mindful\\\/mindful-eating\\\/\",\"name\":\"Mindful Eating - Mindful University Project\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rochester.edu\\\/mindful\\\/#website\"},\"datePublished\":\"2025-08-12T18:17:03+00:00\",\"dateModified\":\"2026-01-27T17:37:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rochester.edu\\\/mindful\\\/mindful-eating\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rochester.edu\\\/mindful\\\/mindful-eating\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rochester.edu\\\/mindful\\\/mindful-eating\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rochester.edu\\\/mindful\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mindful Eating\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rochester.edu\\\/mindful\\\/#website\",\"url\":\"https:\\\/\\\/www.rochester.edu\\\/mindful\\\/\",\"name\":\"Mindful University Project\",\"description\":\"糖心传媒\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rochester.edu\\\/mindful\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mindful Eating - Mindful University Project","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rochester.edu\/mindful\/mindful-eating\/","og_locale":"en_US","og_type":"article","og_title":"Mindful Eating - Mindful University Project","og_url":"https:\/\/www.rochester.edu\/mindful\/mindful-eating\/","og_site_name":"Mindful University Project","article_modified_time":"2026-01-27T17:37:12+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.rochester.edu\/mindful\/wp-content\/uploads\/2021\/08\/2019-09-19_yoga_meditation_580-1200x630.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.rochester.edu\/mindful\/mindful-eating\/","url":"https:\/\/www.rochester.edu\/mindful\/mindful-eating\/","name":"Mindful Eating - Mindful University Project","isPartOf":{"@id":"https:\/\/www.rochester.edu\/mindful\/#website"},"datePublished":"2025-08-12T18:17:03+00:00","dateModified":"2026-01-27T17:37:12+00:00","breadcrumb":{"@id":"https:\/\/www.rochester.edu\/mindful\/mindful-eating\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rochester.edu\/mindful\/mindful-eating\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.rochester.edu\/mindful\/mindful-eating\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rochester.edu\/mindful\/"},{"@type":"ListItem","position":2,"name":"Mindful Eating"}]},{"@type":"WebSite","@id":"https:\/\/www.rochester.edu\/mindful\/#website","url":"https:\/\/www.rochester.edu\/mindful\/","name":"Mindful University Project","description":"糖心传媒","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rochester.edu\/mindful\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.rochester.edu\/mindful\/wp-json\/wp\/v2\/pages\/17972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rochester.edu\/mindful\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.rochester.edu\/mindful\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.rochester.edu\/mindful\/wp-json\/wp\/v2\/users\/82"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rochester.edu\/mindful\/wp-json\/wp\/v2\/comments?post=17972"}],"version-history":[{"count":5,"href":"https:\/\/www.rochester.edu\/mindful\/wp-json\/wp\/v2\/pages\/17972\/revisions"}],"predecessor-version":[{"id":18862,"href":"https:\/\/www.rochester.edu\/mindful\/wp-json\/wp\/v2\/pages\/17972\/revisions\/18862"}],"wp:attachment":[{"href":"https:\/\/www.rochester.edu\/mindful\/wp-json\/wp\/v2\/media?parent=17972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}