CINXE.COM
Nutrition - Healthy Nurse, Healthy Nation™
<!DOCTYPE html> <html lang="en"> <head> <title>Nutrition - Healthy Nurse, Healthy Nation™</title> <link rel="shortcut icon" type="image/x-icon" href="/content/icons/favicon.ico" /> <base href="https://engage.healthynursehealthynation.org/" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><script type="text/javascript">(window.NREUM||(NREUM={})).init={privacy:{cookies_enabled:true},ajax:{deny_list:["bam.nr-data.net"]},distributed_tracing:{enabled:true}};(window.NREUM||(NREUM={})).loader_config={agentID:"1103092347",accountID:"3369654",trustKey:"2925508",xpid:"VwUBWFBWDBAJU1BTBQUHUlM=",licenseKey:"NRJS-fdf476c7c77133808dd",applicationID:"971124047"};;/*! For license information please see nr-loader-spa-1.281.0.min.js.LICENSE.txt */ (()=>{var e,t,r={8122:(e,t,r)=>{"use strict";r.d(t,{a:()=>i});var n=r(944);function i(e,t){try{if(!e||"object"!=typeof e)return(0,n.R)(3);if(!t||"object"!=typeof t)return(0,n.R)(4);const r=Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),o=0===Object.keys(r).length?e:r;for(let a in o)if(void 0!==e[a])try{if(null===e[a]){r[a]=null;continue}Array.isArray(e[a])&&Array.isArray(t[a])?r[a]=Array.from(new Set([...e[a],...t[a]])):"object"==typeof e[a]&&"object"==typeof t[a]?r[a]=i(e[a],t[a]):r[a]=e[a]}catch(e){(0,n.R)(1,e)}return r}catch(e){(0,n.R)(2,e)}}},2555:(e,t,r)=>{"use strict";r.d(t,{Vp:()=>c,fn:()=>s,x1:()=>u});var n=r(384),i=r(8122);const o={beacon:n.NT.beacon,errorBeacon:n.NT.errorBeacon,licenseKey:void 0,applicationID:void 0,sa:void 0,queueTime:void 0,applicationTime:void 0,ttGuid:void 0,user:void 0,account:void 0,product:void 0,extra:void 0,jsAttributes:{},userAttributes:void 0,atts:void 0,transactionName:void 0,tNamePlain:void 0},a={};function s(e){try{const t=c(e);return!!t.licenseKey&&!!t.errorBeacon&&!!t.applicationID}catch(e){return!1}}function c(e){if(!e)throw new Error("All info objects require an agent identifier!");if(!a[e])throw new Error("Info for ".concat(e," was never set"));return a[e]}function u(e,t){if(!e)throw new Error("All info objects require an agent identifier!");a[e]=(0,i.a)(t,o);const r=(0,n.nY)(e);r&&(r.info=a[e])}},9417:(e,t,r)=>{"use strict";r.d(t,{D0:()=>p,gD:()=>m,xN:()=>g});var n=r(3333),i=r(993);const o=e=>{if(!e||"string"!=typeof e)return!1;try{document.createDocumentFragment().querySelector(e)}catch{return!1}return!0};var a=r(2614),s=r(944),c=r(384),u=r(8122);const d="[data-nr-mask]",l=()=>{const e={feature_flags:[],experimental:{marks:!1,measures:!1,resources:!1},mask_selector:"*",block_selector:"[data-nr-block]",mask_input_options:{color:!1,date:!1,"datetime-local":!1,email:!1,month:!1,number:!1,range:!1,search:!1,tel:!1,text:!1,time:!1,url:!1,week:!1,textarea:!1,select:!1,password:!0}};return{ajax:{deny_list:void 0,block_internal:!0,enabled:!0,autoStart:!0},distributed_tracing:{enabled:void 0,exclude_newrelic_header:void 0,cors_use_newrelic_header:void 0,cors_use_tracecontext_headers:void 0,allowed_origins:void 0},get feature_flags(){return e.feature_flags},set feature_flags(t){e.feature_flags=t},generic_events:{enabled:!0,autoStart:!0},harvest:{interval:30},jserrors:{enabled:!0,autoStart:!0},logging:{enabled:!0,autoStart:!0,level:i.p_.INFO},metrics:{enabled:!0,autoStart:!0},obfuscate:void 0,page_action:{enabled:!0},page_view_event:{enabled:!0,autoStart:!0},page_view_timing:{enabled:!0,autoStart:!0},performance:{get capture_marks(){return e.feature_flags.includes(n.$v.MARKS)||e.experimental.marks},set capture_marks(t){e.experimental.marks=t},get capture_measures(){return e.feature_flags.includes(n.$v.MEASURES)||e.experimental.measures},set capture_measures(t){e.experimental.measures=t},capture_detail:!0,resources:{get enabled(){return e.feature_flags.includes(n.$v.RESOURCES)||e.experimental.resources},set enabled(t){e.experimental.resources=t},asset_types:[],first_party_domains:[],ignore_newrelic:!0}},privacy:{cookies_enabled:!0},proxy:{assets:void 0,beacon:void 0},session:{expiresMs:a.wk,inactiveMs:a.BB},session_replay:{autoStart:!0,enabled:!1,preload:!1,sampling_rate:10,error_sampling_rate:100,collect_fonts:!1,inline_images:!1,fix_stylesheets:!0,mask_all_inputs:!0,get mask_text_selector(){return e.mask_selector},set mask_text_selector(t){o(t)?e.mask_selector="".concat(t,",").concat(d):""===t||null===t?e.mask_selector=d:(0,s.R)(5,t)},get block_class(){return"nr-block"},get ignore_class(){return"nr-ignore"},get mask_text_class(){return"nr-mask"},get block_selector(){return e.block_selector},set block_selector(t){o(t)?e.block_selector+=",".concat(t):""!==t&&(0,s.R)(6,t)},get mask_input_options(){return e.mask_input_options},set mask_input_options(t){t&&"object"==typeof t?e.mask_input_options={...t,password:!0}:(0,s.R)(7,t)}},session_trace:{enabled:!0,autoStart:!0},soft_navigations:{enabled:!0,autoStart:!0},spa:{enabled:!0,autoStart:!0},ssl:void 0,user_actions:{enabled:!0,elementAttributes:["id","className","tagName","type"]}}},f={},h="All configuration objects require an agent identifier!";function p(e){if(!e)throw new Error(h);if(!f[e])throw new Error("Configuration for ".concat(e," was never set"));return f[e]}function g(e,t){if(!e)throw new Error(h);f[e]=(0,u.a)(t,l());const r=(0,c.nY)(e);r&&(r.init=f[e])}function m(e,t){if(!e)throw new Error(h);var r=p(e);if(r){for(var n=t.split("."),i=0;i<n.length-1;i++)if("object"!=typeof(r=r[n[i]]))return;r=r[n[n.length-1]]}return r}},5603:(e,t,r)=>{"use strict";r.d(t,{a:()=>c,o:()=>s});var n=r(384),i=r(8122);const o={accountID:void 0,trustKey:void 0,agentID:void 0,licenseKey:void 0,applicationID:void 0,xpid:void 0},a={};function s(e){if(!e)throw new Error("All loader-config objects require an agent identifier!");if(!a[e])throw new Error("LoaderConfig for ".concat(e," was never set"));return a[e]}function c(e,t){if(!e)throw new Error("All loader-config objects require an agent identifier!");a[e]=(0,i.a)(t,o);const r=(0,n.nY)(e);r&&(r.loader_config=a[e])}},3371:(e,t,r)=>{"use strict";r.d(t,{V:()=>f,f:()=>l});var n=r(8122),i=r(384),o=r(6154),a=r(9324);let s=0;const c={buildEnv:a.F3,distMethod:a.Xs,version:a.xv,originTime:o.WN},u={customTransaction:void 0,disabled:!1,isolatedBacklog:!1,loaderType:void 0,maxBytes:3e4,onerror:void 0,ptid:void 0,releaseIds:{},appMetadata:{},session:void 0,denyList:void 0,timeKeeper:void 0,obfuscator:void 0,harvester:void 0},d={};function l(e){if(!e)throw new Error("All runtime objects require an agent identifier!");if(!d[e])throw new Error("Runtime for ".concat(e," was never set"));return d[e]}function f(e,t){if(!e)throw new Error("All runtime objects require an agent identifier!");d[e]={...(0,n.a)(t,u),...c},Object.hasOwnProperty.call(d[e],"harvestCount")||Object.defineProperty(d[e],"harvestCount",{get:()=>++s});const r=(0,i.nY)(e);r&&(r.runtime=d[e])}},9324:(e,t,r)=>{"use strict";r.d(t,{F3:()=>i,Xs:()=>o,Yq:()=>a,xv:()=>n});const n="1.281.0",i="PROD",o="CDN",a="^2.0.0-alpha.17"},6154:(e,t,r)=>{"use strict";r.d(t,{A4:()=>s,OF:()=>d,RI:()=>i,WN:()=>h,bv:()=>o,gm:()=>a,lR:()=>f,m:()=>u,mw:()=>c,sb:()=>l});var n=r(1863);const i="undefined"!=typeof window&&!!window.document,o="undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self.navigator instanceof WorkerNavigator||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis.navigator instanceof WorkerNavigator),a=i?window:"undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis),s="complete"===a?.document?.readyState,c=Boolean("hidden"===a?.document?.visibilityState),u=""+a?.location,d=/iPad|iPhone|iPod/.test(a.navigator?.userAgent),l=d&&"undefined"==typeof SharedWorker,f=(()=>{const e=a.navigator?.userAgent?.match(/Firefox[/\s](\d+\.\d+)/);return Array.isArray(e)&&e.length>=2?+e[1]:0})(),h=Date.now()-(0,n.t)()},7295:(e,t,r)=>{"use strict";r.d(t,{Xv:()=>a,gX:()=>i,iW:()=>o});var n=[];function i(e){if(!e||o(e))return!1;if(0===n.length)return!0;for(var t=0;t<n.length;t++){var r=n[t];if("*"===r.hostname)return!1;if(s(r.hostname,e.hostname)&&c(r.pathname,e.pathname))return!1}return!0}function o(e){return void 0===e.hostname}function a(e){if(n=[],e&&e.length)for(var t=0;t<e.length;t++){let r=e[t];if(!r)continue;0===r.indexOf("http://")?r=r.substring(7):0===r.indexOf("https://")&&(r=r.substring(8));const i=r.indexOf("/");let o,a;i>0?(o=r.substring(0,i),a=r.substring(i)):(o=r,a="");let[s]=o.split(":");n.push({hostname:s,pathname:a})}}function s(e,t){return!(e.length>t.length)&&t.indexOf(e)===t.length-e.length}function c(e,t){return 0===e.indexOf("/")&&(e=e.substring(1)),0===t.indexOf("/")&&(t=t.substring(1)),""===e||e===t}},1687:(e,t,r)=>{"use strict";r.d(t,{Ak:()=>c,Ze:()=>l,x3:()=>u});var n=r(7836),i=r(3606),o=r(860),a=r(2646);const s={};function c(e,t){const r={staged:!1,priority:o.P3[t]||0};d(e),s[e].get(t)||s[e].set(t,r)}function u(e,t){e&&s[e]&&(s[e].get(t)&&s[e].delete(t),h(e,t,!1),s[e].size&&f(e))}function d(e){if(!e)throw new Error("agentIdentifier required");s[e]||(s[e]=new Map)}function l(e="",t="feature",r=!1){if(d(e),!e||!s[e].get(t)||r)return h(e,t);s[e].get(t).staged=!0,f(e)}function f(e){const t=Array.from(s[e]);t.every((([e,t])=>t.staged))&&(t.sort(((e,t)=>e[1].priority-t[1].priority)),t.forEach((([t])=>{s[e].delete(t),h(e,t)})))}function h(e,t,r=!0){const o=e?n.ee.get(e):n.ee,s=i.i.handlers;if(!o.aborted&&o.backlog&&s){if(r){const e=o.backlog[t],r=s[t];if(r){for(let t=0;e&&t<e.length;++t)p(e[t],r);Object.entries(r).forEach((([e,t])=>{Object.values(t||{}).forEach((t=>{t[0]?.on&&t[0]?.context()instanceof a.y&&t[0].on(e,t[1])}))}))}}o.isolatedBacklog||delete s[t],o.backlog[t]=null,o.emit("drain-"+t,[])}}function p(e,t){var r=e[1];Object.values(t[r]||{}).forEach((t=>{var r=e[0];if(t[0]===r){var n=t[1],i=e[3],o=e[2];n.apply(i,o)}}))}},7836:(e,t,r)=>{"use strict";r.d(t,{P:()=>c,ee:()=>u});var n=r(384),i=r(8990),o=r(3371),a=r(2646),s=r(5607);const c="nr@context:".concat(s.W),u=function e(t,r){var n={},s={},d={},l=!1;try{l=16===r.length&&(0,o.f)(r).isolatedBacklog}catch(e){}var f={on:p,addEventListener:p,removeEventListener:function(e,t){var r=n[e];if(!r)return;for(var i=0;i<r.length;i++)r[i]===t&&r.splice(i,1)},emit:function(e,r,n,i,o){!1!==o&&(o=!0);if(u.aborted&&!i)return;t&&o&&t.emit(e,r,n);for(var a=h(n),c=g(e),d=c.length,l=0;l<d;l++)c[l].apply(a,r);var p=v()[s[e]];p&&p.push([f,e,r,a]);return a},get:m,listeners:g,context:h,buffer:function(e,t){const r=v();if(t=t||"feature",f.aborted)return;Object.entries(e||{}).forEach((([e,n])=>{s[n]=t,t in r||(r[t]=[])}))},abort:function(){f._aborted=!0,Object.keys(f.backlog).forEach((e=>{delete f.backlog[e]}))},isBuffering:function(e){return!!v()[s[e]]},debugId:r,backlog:l?{}:t&&"object"==typeof t.backlog?t.backlog:{},isolatedBacklog:l};return Object.defineProperty(f,"aborted",{get:()=>{let e=f._aborted||!1;return e||(t&&(e=t.aborted),e)}}),f;function h(e){return e&&e instanceof a.y?e:e?(0,i.I)(e,c,(()=>new a.y(c))):new a.y(c)}function p(e,t){n[e]=g(e).concat(t)}function g(e){return n[e]||[]}function m(t){return d[t]=d[t]||e(f,t)}function v(){return f.backlog}}(void 0,"globalEE"),d=(0,n.Zm)();d.ee||(d.ee=u)},2646:(e,t,r)=>{"use strict";r.d(t,{y:()=>n});class n{constructor(e){this.contextId=e}}},9908:(e,t,r)=>{"use strict";r.d(t,{d:()=>n,p:()=>i});var n=r(7836).ee.get("handle");function i(e,t,r,i,o){o?(o.buffer([e],i),o.emit(e,t,r)):(n.buffer([e],i),n.emit(e,t,r))}},3606:(e,t,r)=>{"use strict";r.d(t,{i:()=>o});var n=r(9908);o.on=a;var i=o.handlers={};function o(e,t,r,o){a(o||n.d,i,e,t,r)}function a(e,t,r,i,o){o||(o="feature"),e||(e=n.d);var a=t[o]=t[o]||{};(a[r]=a[r]||[]).push([e,i])}},3878:(e,t,r)=>{"use strict";function n(e,t){return{capture:e,passive:!1,signal:t}}function i(e,t,r=!1,i){window.addEventListener(e,t,n(r,i))}function o(e,t,r=!1,i){document.addEventListener(e,t,n(r,i))}r.d(t,{DD:()=>o,jT:()=>n,sp:()=>i})},5607:(e,t,r)=>{"use strict";r.d(t,{W:()=>n});const n=(0,r(9566).bz)()},9566:(e,t,r)=>{"use strict";r.d(t,{LA:()=>s,ZF:()=>c,bz:()=>a,el:()=>u});var n=r(6154);const i="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx";function o(e,t){return e?15&e[t]:16*Math.random()|0}function a(){const e=n.gm?.crypto||n.gm?.msCrypto;let t,r=0;return e&&e.getRandomValues&&(t=e.getRandomValues(new Uint8Array(30))),i.split("").map((e=>"x"===e?o(t,r++).toString(16):"y"===e?(3&o()|8).toString(16):e)).join("")}function s(e){const t=n.gm?.crypto||n.gm?.msCrypto;let r,i=0;t&&t.getRandomValues&&(r=t.getRandomValues(new Uint8Array(e)));const a=[];for(var s=0;s<e;s++)a.push(o(r,i++).toString(16));return a.join("")}function c(){return s(16)}function u(){return s(32)}},2614:(e,t,r)=>{"use strict";r.d(t,{BB:()=>a,H3:()=>n,g:()=>u,iL:()=>c,tS:()=>s,uh:()=>i,wk:()=>o});const n="NRBA",i="SESSION",o=144e5,a=18e5,s={STARTED:"session-started",PAUSE:"session-pause",RESET:"session-reset",RESUME:"session-resume",UPDATE:"session-update"},c={SAME_TAB:"same-tab",CROSS_TAB:"cross-tab"},u={OFF:0,FULL:1,ERROR:2}},1863:(e,t,r)=>{"use strict";function n(){return Math.floor(performance.now())}r.d(t,{t:()=>n})},7485:(e,t,r)=>{"use strict";r.d(t,{D:()=>i});var n=r(6154);function i(e){if(0===(e||"").indexOf("data:"))return{protocol:"data"};try{const t=new URL(e,location.href),r={port:t.port,hostname:t.hostname,pathname:t.pathname,search:t.search,protocol:t.protocol.slice(0,t.protocol.indexOf(":")),sameOrigin:t.protocol===n.gm?.location?.protocol&&t.host===n.gm?.location?.host};return r.port&&""!==r.port||("http:"===t.protocol&&(r.port="80"),"https:"===t.protocol&&(r.port="443")),r.pathname&&""!==r.pathname?r.pathname.startsWith("/")||(r.pathname="/".concat(r.pathname)):r.pathname="/",r}catch(e){return{}}}},944:(e,t,r)=>{"use strict";function n(e,t){"function"==typeof console.debug&&console.debug("New Relic Warning: https://github.com/newrelic/newrelic-browser-agent/blob/main/docs/warning-codes.md#".concat(e),t)}r.d(t,{R:()=>n})},5284:(e,t,r)=>{"use strict";r.d(t,{t:()=>c,B:()=>s});var n=r(7836),i=r(6154);const o="newrelic";const a=new Set,s={};function c(e,t){const r=n.ee.get(t);s[t]??={},e&&"object"==typeof e&&(a.has(t)||(r.emit("rumresp",[e]),s[t]=e,a.add(t),function(e={}){try{i.gm.dispatchEvent(new CustomEvent(o,{detail:e}))}catch(e){}}({loaded:!0})))}},8990:(e,t,r)=>{"use strict";r.d(t,{I:()=>i});var n=Object.prototype.hasOwnProperty;function i(e,t,r){if(n.call(e,t))return e[t];var i=r();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(e,t,{value:i,writable:!0,enumerable:!1}),i}catch(e){}return e[t]=i,i}},6389:(e,t,r)=>{"use strict";function n(e,t=500,r={}){const n=r?.leading||!1;let i;return(...r)=>{n&&void 0===i&&(e.apply(this,r),i=setTimeout((()=>{i=clearTimeout(i)}),t)),n||(clearTimeout(i),i=setTimeout((()=>{e.apply(this,r)}),t))}}function i(e){let t=!1;return(...r)=>{t||(t=!0,e.apply(this,r))}}r.d(t,{J:()=>i,s:()=>n})},3304:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7836);const i=()=>{const e=new WeakSet;return(t,r)=>{if("object"==typeof r&&null!==r){if(e.has(r))return;e.add(r)}return r}};function o(e){try{return JSON.stringify(e,i())??""}catch(e){try{n.ee.emit("internal-error",[e])}catch(e){}return""}}},5289:(e,t,r)=>{"use strict";r.d(t,{GG:()=>o,sB:()=>a});var n=r(3878);function i(){return"undefined"==typeof document||"complete"===document.readyState}function o(e,t){if(i())return e();(0,n.sp)("load",e,t)}function a(e){if(i())return e();(0,n.DD)("DOMContentLoaded",e)}},384:(e,t,r)=>{"use strict";r.d(t,{NT:()=>o,US:()=>d,Zm:()=>a,bQ:()=>c,dV:()=>s,nY:()=>u,pV:()=>l});var n=r(6154),i=r(1863);const o={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net"};function a(){return n.gm.NREUM||(n.gm.NREUM={}),void 0===n.gm.newrelic&&(n.gm.newrelic=n.gm.NREUM),n.gm.NREUM}function s(){let e=a();return e.o||(e.o={ST:n.gm.setTimeout,SI:n.gm.setImmediate,CT:n.gm.clearTimeout,XHR:n.gm.XMLHttpRequest,REQ:n.gm.Request,EV:n.gm.Event,PR:n.gm.Promise,MO:n.gm.MutationObserver,FETCH:n.gm.fetch,WS:n.gm.WebSocket}),e}function c(e,t){let r=a();r.initializedAgents??={},t.initializedAt={ms:(0,i.t)(),date:new Date},r.initializedAgents[e]=t}function u(e){let t=a();return t.initializedAgents?.[e]}function d(e,t){a()[e]=t}function l(){return function(){let e=a();const t=e.info||{};e.info={beacon:o.beacon,errorBeacon:o.errorBeacon,...t}}(),function(){let e=a();const t=e.init||{};e.init={...t}}(),s(),function(){let e=a();const t=e.loader_config||{};e.loader_config={...t}}(),a()}},2843:(e,t,r)=>{"use strict";r.d(t,{u:()=>i});var n=r(3878);function i(e,t=!1,r,i){(0,n.DD)("visibilitychange",(function(){if(t)return void("hidden"===document.visibilityState&&e());e(document.visibilityState)}),r,i)}},8139:(e,t,r)=>{"use strict";r.d(t,{u:()=>f});var n=r(7836),i=r(3434),o=r(8990),a=r(6154);const s={},c=a.gm.XMLHttpRequest,u="addEventListener",d="removeEventListener",l="nr@wrapped:".concat(n.P);function f(e){var t=function(e){return(e||n.ee).get("events")}(e);if(s[t.debugId]++)return t;s[t.debugId]=1;var r=(0,i.YM)(t,!0);function f(e){r.inPlace(e,[u,d],"-",p)}function p(e,t){return e[1]}return"getPrototypeOf"in Object&&(a.RI&&h(document,f),c&&h(c.prototype,f),h(a.gm,f)),t.on(u+"-start",(function(e,t){var n=e[1];if(null!==n&&("function"==typeof n||"object"==typeof n)){var i=(0,o.I)(n,l,(function(){var e={object:function(){if("function"!=typeof n.handleEvent)return;return n.handleEvent.apply(n,arguments)},function:n}[typeof n];return e?r(e,"fn-",null,e.name||"anonymous"):n}));this.wrapped=e[1]=i}})),t.on(d+"-start",(function(e){e[1]=this.wrapped||e[1]})),t}function h(e,t,...r){let n=e;for(;"object"==typeof n&&!Object.prototype.hasOwnProperty.call(n,u);)n=Object.getPrototypeOf(n);n&&t(n,...r)}},3434:(e,t,r)=>{"use strict";r.d(t,{Jt:()=>o,YM:()=>c});var n=r(7836),i=r(5607);const o="nr@original:".concat(i.W);var a=Object.prototype.hasOwnProperty,s=!1;function c(e,t){return e||(e=n.ee),r.inPlace=function(e,t,n,i,o){n||(n="");const a="-"===n.charAt(0);for(let s=0;s<t.length;s++){const c=t[s],u=e[c];d(u)||(e[c]=r(u,a?c+n:n,i,c,o))}},r.flag=o,r;function r(t,r,n,s,c){return d(t)?t:(r||(r=""),nrWrapper[o]=t,function(e,t,r){if(Object.defineProperty&&Object.keys)try{return Object.keys(e).forEach((function(r){Object.defineProperty(t,r,{get:function(){return e[r]},set:function(t){return e[r]=t,t}})})),t}catch(e){u([e],r)}for(var n in e)a.call(e,n)&&(t[n]=e[n])}(t,nrWrapper,e),nrWrapper);function nrWrapper(){var o,a,d,l;try{a=this,o=[...arguments],d="function"==typeof n?n(o,a):n||{}}catch(t){u([t,"",[o,a,s],d],e)}i(r+"start",[o,a,s],d,c);try{return l=t.apply(a,o)}catch(e){throw i(r+"err",[o,a,e],d,c),e}finally{i(r+"end",[o,a,l],d,c)}}}function i(r,n,i,o){if(!s||t){var a=s;s=!0;try{e.emit(r,n,i,t,o)}catch(t){u([t,r,n,i],e)}s=a}}}function u(e,t){t||(t=n.ee);try{t.emit("internal-error",e)}catch(e){}}function d(e){return!(e&&"function"==typeof e&&e.apply&&!e[o])}},9300:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});const n=r(860).K7.ajax},3333:(e,t,r)=>{"use strict";r.d(t,{$v:()=>u,TZ:()=>n,Zp:()=>i,kd:()=>c,mq:()=>s,nf:()=>a,qN:()=>o});const n=r(860).K7.genericEvents,i=["auxclick","click","copy","keydown","paste","scrollend"],o=["focus","blur"],a=4,s=1e3,c=["PageAction","UserAction","BrowserPerformance"],u={MARKS:"experimental.marks",MEASURES:"experimental.measures",RESOURCES:"experimental.resources"}},6774:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});const n=r(860).K7.jserrors},993:(e,t,r)=>{"use strict";r.d(t,{ET:()=>o,TZ:()=>a,p_:()=>i});var n=r(860);const i={ERROR:"ERROR",WARN:"WARN",INFO:"INFO",DEBUG:"DEBUG",TRACE:"TRACE"},o="log",a=n.K7.logging},3785:(e,t,r)=>{"use strict";r.d(t,{R:()=>c,b:()=>u});var n=r(9908),i=r(1863),o=r(860),a=r(3969),s=r(993);function c(e,t,r={},c=s.p_.INFO){(0,n.p)(a.xV,["API/logging/".concat(c.toLowerCase(),"/called")],void 0,o.K7.metrics,e),(0,n.p)(s.ET,[(0,i.t)(),t,r,c],void 0,o.K7.logging,e)}function u(e){return"string"==typeof e&&Object.values(s.p_).some((t=>t===e.toUpperCase().trim()))}},3969:(e,t,r)=>{"use strict";r.d(t,{TZ:()=>n,XG:()=>s,rs:()=>i,xV:()=>a,z_:()=>o});const n=r(860).K7.metrics,i="sm",o="cm",a="storeSupportabilityMetrics",s="storeEventMetrics"},6630:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});const n=r(860).K7.pageViewEvent},782:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});const n=r(860).K7.pageViewTiming},6344:(e,t,r)=>{"use strict";r.d(t,{BB:()=>d,G4:()=>o,Qb:()=>l,TZ:()=>i,Ug:()=>a,_s:()=>s,bc:()=>u,yP:()=>c});var n=r(2614);const i=r(860).K7.sessionReplay,o={RECORD:"recordReplay",PAUSE:"pauseReplay",REPLAY_RUNNING:"replayRunning",ERROR_DURING_REPLAY:"errorDuringReplay"},a=.12,s={DomContentLoaded:0,Load:1,FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Custom:5},c={[n.g.ERROR]:15e3,[n.g.FULL]:3e5,[n.g.OFF]:0},u={RESET:{message:"Session was reset",sm:"Reset"},IMPORT:{message:"Recorder failed to import",sm:"Import"},TOO_MANY:{message:"429: Too Many Requests",sm:"Too-Many"},TOO_BIG:{message:"Payload was too large",sm:"Too-Big"},CROSS_TAB:{message:"Session Entity was set to OFF on another tab",sm:"Cross-Tab"},ENTITLEMENTS:{message:"Session Replay is not allowed and will not be started",sm:"Entitlement"}},d=5e3,l={API:"api"}},5270:(e,t,r)=>{"use strict";r.d(t,{Aw:()=>c,CT:()=>u,SR:()=>s});var n=r(384),i=r(9417),o=r(7767),a=r(6154);function s(e){return!!(0,n.dV)().o.MO&&(0,o.V)(e)&&!0===(0,i.gD)(e,"session_trace.enabled")}function c(e){return!0===(0,i.gD)(e,"session_replay.preload")&&s(e)}function u(e,t){const r=t.correctAbsoluteTimestamp(e);return{originalTimestamp:e,correctedTimestamp:r,timestampDiff:e-r,originTime:a.WN,correctedOriginTime:t.correctedOriginTime,originTimeDiff:Math.floor(a.WN-t.correctedOriginTime)}}},3738:(e,t,r)=>{"use strict";r.d(t,{He:()=>i,Kp:()=>s,Lc:()=>u,Rz:()=>d,TZ:()=>n,bD:()=>o,d3:()=>a,jx:()=>l,uP:()=>c});const n=r(860).K7.sessionTrace,i="bstResource",o="resource",a="-start",s="-end",c="fn"+a,u="fn"+s,d="pushState",l=1e3},3962:(e,t,r)=>{"use strict";r.d(t,{AM:()=>o,O2:()=>c,Qu:()=>u,TZ:()=>s,ih:()=>d,pP:()=>a,tC:()=>i});var n=r(860);const i=["click","keydown","submit","popstate"],o="api",a="initialPageLoad",s=n.K7.softNav,c={INITIAL_PAGE_LOAD:"",ROUTE_CHANGE:1,UNSPECIFIED:2},u={INTERACTION:1,AJAX:2,CUSTOM_END:3,CUSTOM_TRACER:4},d={IP:"in progress",FIN:"finished",CAN:"cancelled"}},7378:(e,t,r)=>{"use strict";r.d(t,{$p:()=>x,BR:()=>b,Kp:()=>R,L3:()=>y,Lc:()=>c,NC:()=>o,SG:()=>d,TZ:()=>i,U6:()=>p,UT:()=>m,d3:()=>w,dT:()=>f,e5:()=>T,gx:()=>v,l9:()=>l,oW:()=>h,op:()=>g,rw:()=>u,tH:()=>A,uP:()=>s,wW:()=>E,xq:()=>a});var n=r(384);const i=r(860).K7.spa,o=["click","submit","keypress","keydown","keyup","change"],a=999,s="fn-start",c="fn-end",u="cb-start",d="api-ixn-",l="remaining",f="interaction",h="spaNode",p="jsonpNode",g="fetch-start",m="fetch-done",v="fetch-body-",b="jsonp-end",y=(0,n.dV)().o.ST,w="-start",R="-end",x="-body",E="cb"+R,T="jsTime",A="fetch"},4234:(e,t,r)=>{"use strict";r.d(t,{W:()=>o});var n=r(7836),i=r(1687);class o{constructor(e,t){this.agentIdentifier=e,this.ee=n.ee.get(e),this.featureName=t,this.blocked=!1}deregisterDrain(){(0,i.x3)(this.agentIdentifier,this.featureName)}}},7767:(e,t,r)=>{"use strict";r.d(t,{V:()=>o});var n=r(9417),i=r(6154);const o=e=>i.RI&&!0===(0,n.gD)(e,"privacy.cookies_enabled")},425:(e,t,r)=>{"use strict";r.d(t,{j:()=>j});var n=r(860),i=r(2555),o=r(3371),a=r(9908),s=r(7836),c=r(1687),u=r(5289),d=r(6154),l=r(944),f=r(3969),h=r(384),p=r(6344);const g=["setErrorHandler","finished","addToTrace","addRelease","recordCustomEvent","addPageAction","setCurrentRouteName","setPageViewName","setCustomAttribute","interaction","noticeError","setUserId","setApplicationVersion","start",p.G4.RECORD,p.G4.PAUSE,"log","wrapLogger"],m=["setErrorHandler","finished","addToTrace","addRelease"];var v=r(1863),b=r(2614),y=r(993),w=r(3785),R=r(2646),x=r(3434);const E=new Map;function T(e,t,r,n){if("object"!=typeof t||!t||"string"!=typeof r||!r||"function"!=typeof t[r])return(0,l.R)(29);const i=function(e){return(e||s.ee).get("logger")}(e),o=(0,x.YM)(i),a=new R.y(s.P);a.level=n.level,a.customAttributes=n.customAttributes;const c=t[r]?.[x.Jt]||t[r];return E.set(c,a),o.inPlace(t,[r],"wrap-logger-",(()=>E.get(c))),i}function A(){const e=(0,h.pV)();g.forEach((t=>{e[t]=(...r)=>function(t,...r){let n=[];return Object.values(e.initializedAgents).forEach((e=>{e&&e.api?e.exposed&&e.api[t]&&n.push(e.api[t](...r)):(0,l.R)(38,t)})),n.length>1?n:n[0]}(t,...r)}))}const S={};var N=r(9417),_=r(5603),O=r(5284);const I=e=>{const t=e.startsWith("http");e+="/",r.p=t?e:"https://"+e};let P=!1;function j(e,t={},g,R){let{init:x,info:E,loader_config:j,runtime:C={},exposed:k=!0}=t;C.loaderType=g;const L=(0,h.pV)();E||(x=L.init,E=L.info,j=L.loader_config),(0,N.xN)(e.agentIdentifier,x||{}),(0,_.a)(e.agentIdentifier,j||{}),E.jsAttributes??={},d.bv&&(E.jsAttributes.isWorker=!0),(0,i.x1)(e.agentIdentifier,E);const H=(0,N.D0)(e.agentIdentifier),M=[E.beacon,E.errorBeacon];P||(H.proxy.assets&&(I(H.proxy.assets),M.push(H.proxy.assets)),H.proxy.beacon&&M.push(H.proxy.beacon),A(),(0,h.US)("activatedFeatures",O.B),e.runSoftNavOverSpa&&=!0===H.soft_navigations.enabled&&H.feature_flags.includes("soft_nav")),C.denyList=[...H.ajax.deny_list||[],...H.ajax.block_internal?M:[]],C.ptid=e.agentIdentifier,(0,o.V)(e.agentIdentifier,C),e.ee=s.ee.get(e.agentIdentifier),void 0===e.api&&(e.api=function(e,t,h=!1){t||(0,c.Ak)(e,"api");const g={};var R=s.ee.get(e),x=R.get("tracer");S[e]=b.g.OFF,R.on(p.G4.REPLAY_RUNNING,(t=>{S[e]=t}));var E="api-",A=E+"ixn-";function N(t,r,n,o){const a=(0,i.Vp)(e);return null===r?delete a.jsAttributes[t]:(0,i.x1)(e,{...a,jsAttributes:{...a.jsAttributes,[t]:r}}),I(E,n,!0,o||null===r?"session":void 0)(t,r)}function _(){}g.log=function(e,{customAttributes:t={},level:r=y.p_.INFO}={}){(0,a.p)(f.xV,["API/log/called"],void 0,n.K7.metrics,R),(0,w.R)(R,e,t,r)},g.wrapLogger=(e,t,{customAttributes:r={},level:i=y.p_.INFO}={})=>{(0,a.p)(f.xV,["API/wrapLogger/called"],void 0,n.K7.metrics,R),T(R,e,t,{customAttributes:r,level:i})},m.forEach((e=>{g[e]=I(E,e,!0,"api")})),g.addPageAction=I(E,"addPageAction",!0,n.K7.genericEvents),g.recordCustomEvent=I(E,"recordCustomEvent",!0,n.K7.genericEvents),g.setPageViewName=function(t,r){if("string"==typeof t)return"/"!==t.charAt(0)&&(t="/"+t),(0,o.f)(e).customTransaction=(r||"http://custom.transaction")+t,I(E,"setPageViewName",!0)()},g.setCustomAttribute=function(e,t,r=!1){if("string"==typeof e){if(["string","number","boolean"].includes(typeof t)||null===t)return N(e,t,"setCustomAttribute",r);(0,l.R)(40,typeof t)}else(0,l.R)(39,typeof e)},g.setUserId=function(e){if("string"==typeof e||null===e)return N("enduser.id",e,"setUserId",!0);(0,l.R)(41,typeof e)},g.setApplicationVersion=function(e){if("string"==typeof e||null===e)return N("application.version",e,"setApplicationVersion",!1);(0,l.R)(42,typeof e)},g.start=()=>{try{(0,a.p)(f.xV,["API/start/called"],void 0,n.K7.metrics,R),R.emit("manual-start-all")}catch(e){(0,l.R)(23,e)}},g[p.G4.RECORD]=function(){(0,a.p)(f.xV,["API/recordReplay/called"],void 0,n.K7.metrics,R),(0,a.p)(p.G4.RECORD,[],void 0,n.K7.sessionReplay,R)},g[p.G4.PAUSE]=function(){(0,a.p)(f.xV,["API/pauseReplay/called"],void 0,n.K7.metrics,R),(0,a.p)(p.G4.PAUSE,[],void 0,n.K7.sessionReplay,R)},g.interaction=function(e){return(new _).get("object"==typeof e?e:{})};const O=_.prototype={createTracer:function(e,t){var r={},i=this,o="function"==typeof t;return(0,a.p)(f.xV,["API/createTracer/called"],void 0,n.K7.metrics,R),h||(0,a.p)(A+"tracer",[(0,v.t)(),e,r],i,n.K7.spa,R),function(){if(x.emit((o?"":"no-")+"fn-start",[(0,v.t)(),i,o],r),o)try{return t.apply(this,arguments)}catch(e){const t="string"==typeof e?new Error(e):e;throw x.emit("fn-err",[arguments,this,t],r),t}finally{x.emit("fn-end",[(0,v.t)()],r)}}}};function I(e,t,r,i){return function(){return(0,a.p)(f.xV,["API/"+t+"/called"],void 0,n.K7.metrics,R),i&&(0,a.p)(e+t,[r?(0,v.t)():performance.now(),...arguments],r?null:this,i,R),r?void 0:this}}function P(){r.e(478).then(r.bind(r,8778)).then((({setAPI:t})=>{t(e),(0,c.Ze)(e,"api")})).catch((e=>{(0,l.R)(27,e),R.abort()}))}return["actionText","setName","setAttribute","save","ignore","onEnd","getContext","end","get"].forEach((e=>{O[e]=I(A,e,void 0,h?n.K7.softNav:n.K7.spa)})),g.setCurrentRouteName=h?I(A,"routeName",void 0,n.K7.softNav):I(E,"routeName",!0,n.K7.spa),g.noticeError=function(t,r){"string"==typeof t&&(t=new Error(t)),(0,a.p)(f.xV,["API/noticeError/called"],void 0,n.K7.metrics,R),(0,a.p)("err",[t,(0,v.t)(),!1,r,!!S[e]],void 0,n.K7.jserrors,R)},d.RI?(0,u.GG)((()=>P()),!0):P(),g}(e.agentIdentifier,R,e.runSoftNavOverSpa)),void 0===e.exposed&&(e.exposed=k),P=!0}},8374:(e,t,r)=>{r.nc=(()=>{try{return document?.currentScript?.nonce}catch(e){}return""})()},860:(e,t,r)=>{"use strict";r.d(t,{$J:()=>u,K7:()=>s,P3:()=>c,XX:()=>i,qY:()=>n,v4:()=>a});const n="events",i="jserrors",o="browser/blobs",a="rum",s={ajax:"ajax",genericEvents:"generic_events",jserrors:i,logging:"logging",metrics:"metrics",pageAction:"page_action",pageViewEvent:"page_view_event",pageViewTiming:"page_view_timing",sessionReplay:"session_replay",sessionTrace:"session_trace",softNav:"soft_navigations",spa:"spa"},c={[s.pageViewEvent]:1,[s.pageViewTiming]:2,[s.metrics]:3,[s.jserrors]:4,[s.spa]:5,[s.ajax]:6,[s.sessionTrace]:7,[s.softNav]:8,[s.sessionReplay]:9,[s.logging]:10,[s.genericEvents]:11},u={[s.pageViewEvent]:a,[s.pageViewTiming]:n,[s.ajax]:n,[s.spa]:n,[s.softNav]:n,[s.metrics]:i,[s.jserrors]:i,[s.sessionTrace]:o,[s.sessionReplay]:o,[s.logging]:"browser/logs",[s.genericEvents]:"ins"}}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,i),o.exports}i.m=r,i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,r)=>(i.f[r](e,t),t)),[])),i.u=e=>({212:"nr-spa-compressor",249:"nr-spa-recorder",478:"nr-spa"}[e]+"-1.281.0.min.js"),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="NRBA-1.281.0.PROD:",i.l=(r,n,o,a)=>{if(e[r])e[r].push(n);else{var s,c;if(void 0!==o)for(var u=document.getElementsByTagName("script"),d=0;d<u.length;d++){var l=u[d];if(l.getAttribute("src")==r||l.getAttribute("data-webpack")==t+o){s=l;break}}if(!s){c=!0;var f={478:"sha512-jmvAlmjCn64ans8tLueqHRlBI/iWekylsDWb94A77CG0ukSriVDvgD3dThx+XjUSBBBMYhFn8B1a18fViyBPEQ==",249:"sha512-ICY/ZrcytM/86t5KFy+9OAWVYmNNJy10EBtxoSUGjQWuZx53p/eLo+L8HfrGjvHuRHRnutqLTGSnvNttffJkaA==",212:"sha512-pQSn+X/RfBOvx/49HvlghaiXMLhhDQXTi13n1N2XMpDquWJgs9U0pbqE3RbAnYC9nsdaTu/RVGvneEPv1fpCxA=="};(s=document.createElement("script")).charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.setAttribute("data-webpack",t+o),s.src=r,0!==s.src.indexOf(window.location.origin+"/")&&(s.crossOrigin="anonymous"),f[a]&&(s.integrity=f[a])}e[r]=[n];var h=(t,n)=>{s.onerror=s.onload=null,clearTimeout(p);var i=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(n))),t)return t(n)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=h.bind(null,s.onerror),s.onload=h.bind(null,s.onload),c&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="https://js-agent.newrelic.com/",(()=>{var e={38:0,788:0};i.f.j=(t,r)=>{var n=i.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,i)=>n=e[t]=[r,i]));r.push(n[2]=o);var a=i.p+i.u(t),s=new Error;i.l(a,(r=>{if(i.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[a,s,c]=r,u=0;if(a.some((t=>0!==e[t]))){for(n in s)i.o(s,n)&&(i.m[n]=s[n]);if(c)c(i)}for(t&&t(r);u<a.length;u++)o=a[u],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self["webpackChunk:NRBA-1.281.0.PROD"]=self["webpackChunk:NRBA-1.281.0.PROD"]||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),(()=>{"use strict";i(8374);var e=i(944),t=i(6344),r=i(9566);class n{agentIdentifier;constructor(){this.agentIdentifier=(0,r.LA)(16)}#e(t,...r){if("function"==typeof this.api?.[t])return this.api[t](...r);(0,e.R)(35,t)}addPageAction(e,t){return this.#e("addPageAction",e,t)}recordCustomEvent(e,t){return this.#e("recordCustomEvent",e,t)}setPageViewName(e,t){return this.#e("setPageViewName",e,t)}setCustomAttribute(e,t,r){return this.#e("setCustomAttribute",e,t,r)}noticeError(e,t){return this.#e("noticeError",e,t)}setUserId(e){return this.#e("setUserId",e)}setApplicationVersion(e){return this.#e("setApplicationVersion",e)}setErrorHandler(e){return this.#e("setErrorHandler",e)}addRelease(e,t){return this.#e("addRelease",e,t)}log(e,t){return this.#e("log",e,t)}}class o extends n{#e(t,...r){if("function"==typeof this.api?.[t])return this.api[t](...r);(0,e.R)(35,t)}start(){return this.#e("start")}finished(e){return this.#e("finished",e)}recordReplay(){return this.#e(t.G4.RECORD)}pauseReplay(){return this.#e(t.G4.PAUSE)}addToTrace(e){return this.#e("addToTrace",e)}setCurrentRouteName(e){return this.#e("setCurrentRouteName",e)}interaction(){return this.#e("interaction")}wrapLogger(e,t,r){return this.#e("wrapLogger",e,t,r)}}var a=i(860),s=i(9417);const c=Object.values(a.K7);function u(e){const t={};return c.forEach((r=>{t[r]=function(e,t){return!0===(0,s.gD)(t,"".concat(e,".enabled"))}(r,e)})),t}var d=i(425);var l=i(1687),f=i(4234),h=i(5289),p=i(6154),g=i(5270),m=i(7767),v=i(6389);class b extends f.W{constructor(e,t,r=!0){super(e.agentIdentifier,t),this.auto=r,this.abortHandler=void 0,this.featAggregate=void 0,this.onAggregateImported=void 0,!1===e.init[this.featureName].autoStart&&(this.auto=!1),this.auto?(0,l.Ak)(e.agentIdentifier,t):this.ee.on("manual-start-all",(0,v.J)((()=>{(0,l.Ak)(e.agentIdentifier,this.featureName),this.auto=!0,this.importAggregator(e)})))}importAggregator(t,r={}){if(this.featAggregate||!this.auto)return;let n;this.onAggregateImported=new Promise((e=>{n=e}));const o=async()=>{let o;try{if((0,m.V)(this.agentIdentifier)){const{setupAgentSession:e}=await i.e(478).then(i.bind(i,6526));o=e(t)}}catch(t){(0,e.R)(20,t),this.ee.emit("internal-error",[t]),this.featureName===a.K7.sessionReplay&&this.abortHandler?.()}try{if(!this.#t(this.featureName,o))return(0,l.Ze)(this.agentIdentifier,this.featureName),void n(!1);const{lazyFeatureLoader:e}=await i.e(478).then(i.bind(i,6103)),{Aggregate:a}=await e(this.featureName,"aggregate");this.featAggregate=new a(t,r),t.runtime.harvester.initializedAggregates.push(this.featAggregate),n(!0)}catch(t){(0,e.R)(34,t),this.abortHandler?.(),(0,l.Ze)(this.agentIdentifier,this.featureName,!0),n(!1),this.ee&&this.ee.abort()}};p.RI?(0,h.GG)((()=>o()),!0):o()}#t(e,t){switch(e){case a.K7.sessionReplay:return(0,g.SR)(this.agentIdentifier)&&!!t;case a.K7.sessionTrace:return!!t;default:return!0}}}var y=i(6630);class w extends b{static featureName=y.T;constructor(e,t=!0){super(e,y.T,t),this.importAggregator(e)}}var R=i(384);var x=i(9908),E=i(2843),T=i(3878),A=i(782),S=i(1863);class N extends b{static featureName=A.T;constructor(e,t=!0){super(e,A.T,t),p.RI&&((0,E.u)((()=>(0,x.p)("docHidden",[(0,S.t)()],void 0,A.T,this.ee)),!0),(0,T.sp)("pagehide",(()=>(0,x.p)("winPagehide",[(0,S.t)()],void 0,A.T,this.ee))),this.importAggregator(e))}}var _=i(3969);class O extends b{static featureName=_.TZ;constructor(e,t=!0){super(e,_.TZ,t),this.importAggregator(e)}}var I=i(6774),P=i(3304);class j{constructor(e,t,r,n,i){this.name="UncaughtError",this.message="string"==typeof e?e:(0,P.A)(e),this.sourceURL=t,this.line=r,this.column=n,this.__newrelic=i}}function C(e){return H(e)?e:new j(void 0!==e?.message?e.message:e,e?.filename||e?.sourceURL,e?.lineno||e?.line,e?.colno||e?.col,e?.__newrelic)}function k(e){const t="Unhandled Promise Rejection";if(!e?.reason)return;if(H(e.reason))try{return e.reason.message=t+": "+e.reason.message,C(e.reason)}catch(t){return C(e.reason)}const r=C(e.reason);return r.message=t+": "+r?.message,r}function L(e){if(e.error instanceof SyntaxError&&!/:\d+$/.test(e.error.stack?.trim())){const t=new j(e.message,e.filename,e.lineno,e.colno,e.error.__newrelic);return t.name=SyntaxError.name,t}return H(e.error)?e.error:C(e)}function H(e){return e instanceof Error&&!!e.stack}class M extends b{static featureName=I.T;#r=!1;constructor(e,r=!0){super(e,I.T,r);try{this.removeOnAbort=new AbortController}catch(e){}this.ee.on("internal-error",((e,t)=>{this.abortHandler&&(0,x.p)("ierr",[C(e),(0,S.t)(),!0,{},this.#r,t],void 0,this.featureName,this.ee)})),this.ee.on(t.G4.REPLAY_RUNNING,(e=>{this.#r=e})),p.gm.addEventListener("unhandledrejection",(e=>{this.abortHandler&&(0,x.p)("err",[k(e),(0,S.t)(),!1,{unhandledPromiseRejection:1},this.#r],void 0,this.featureName,this.ee)}),(0,T.jT)(!1,this.removeOnAbort?.signal)),p.gm.addEventListener("error",(e=>{this.abortHandler&&(0,x.p)("err",[L(e),(0,S.t)(),!1,{},this.#r],void 0,this.featureName,this.ee)}),(0,T.jT)(!1,this.removeOnAbort?.signal)),this.abortHandler=this.#n,this.importAggregator(e)}#n(){this.removeOnAbort?.abort(),this.abortHandler=void 0}}var D=i(8990);let K=1;const U="nr@id";function V(e){const t=typeof e;return!e||"object"!==t&&"function"!==t?-1:e===p.gm?0:(0,D.I)(e,U,(function(){return K++}))}function G(e){if("string"==typeof e&&e.length)return e.length;if("object"==typeof e){if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer&&e.byteLength)return e.byteLength;if("undefined"!=typeof Blob&&e instanceof Blob&&e.size)return e.size;if(!("undefined"!=typeof FormData&&e instanceof FormData))try{return(0,P.A)(e).length}catch(e){return}}}var F=i(8139),B=i(7836),W=i(3434);const z={},q=["open","send"];function Z(t){var r=t||B.ee;const n=function(e){return(e||B.ee).get("xhr")}(r);if(void 0===p.gm.XMLHttpRequest)return n;if(z[n.debugId]++)return n;z[n.debugId]=1,(0,F.u)(r);var i=(0,W.YM)(n),o=p.gm.XMLHttpRequest,a=p.gm.MutationObserver,s=p.gm.Promise,c=p.gm.setInterval,u="readystatechange",d=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],l=[],f=p.gm.XMLHttpRequest=function(t){const r=new o(t),a=n.context(r);try{n.emit("new-xhr",[r],a),r.addEventListener(u,(s=a,function(){var e=this;e.readyState>3&&!s.resolved&&(s.resolved=!0,n.emit("xhr-resolved",[],e)),i.inPlace(e,d,"fn-",y)}),(0,T.jT)(!1))}catch(t){(0,e.R)(15,t);try{n.emit("internal-error",[t])}catch(e){}}var s;return r};function h(e,t){i.inPlace(t,["onreadystatechange"],"fn-",y)}if(function(e,t){for(var r in e)t[r]=e[r]}(o,f),f.prototype=o.prototype,i.inPlace(f.prototype,q,"-xhr-",y),n.on("send-xhr-start",(function(e,t){h(e,t),function(e){l.push(e),a&&(g?g.then(b):c?c(b):(m=-m,v.data=m))}(t)})),n.on("open-xhr-start",h),a){var g=s&&s.resolve();if(!c&&!s){var m=1,v=document.createTextNode(m);new a(b).observe(v,{characterData:!0})}}else r.on("fn-end",(function(e){e[0]&&e[0].type===u||b()}));function b(){for(var e=0;e<l.length;e++)h(0,l[e]);l.length&&(l=[])}function y(e,t){return t}return n}var Y="fetch-",X=Y+"body-",J=["arrayBuffer","blob","json","text","formData"],Q=p.gm.Request,ee=p.gm.Response,te="prototype";const re={};function ne(e){const t=function(e){return(e||B.ee).get("fetch")}(e);if(!(Q&&ee&&p.gm.fetch))return t;if(re[t.debugId]++)return t;function r(e,r,n){var i=e[r];"function"==typeof i&&(e[r]=function(){var e,r=[...arguments],o={};t.emit(n+"before-start",[r],o),o[B.P]&&o[B.P].dt&&(e=o[B.P].dt);var a=i.apply(this,r);return t.emit(n+"start",[r,e],a),a.then((function(e){return t.emit(n+"end",[null,e],a),e}),(function(e){throw t.emit(n+"end",[e],a),e}))})}return re[t.debugId]=1,J.forEach((e=>{r(Q[te],e,X),r(ee[te],e,X)})),r(p.gm,"fetch",Y),t.on(Y+"end",(function(e,r){var n=this;if(r){var i=r.headers.get("content-length");null!==i&&(n.rxSize=i),t.emit(Y+"done",[null,r],n)}else t.emit(Y+"done",[e],n)})),t}var ie=i(7485),oe=i(5603);class ae{constructor(e){this.agentIdentifier=e}generateTracePayload(e){if(!this.shouldGenerateTrace(e))return null;var t=(0,oe.o)(this.agentIdentifier);if(!t)return null;var n=(t.accountID||"").toString()||null,i=(t.agentID||"").toString()||null,o=(t.trustKey||"").toString()||null;if(!n||!i)return null;var a=(0,r.ZF)(),s=(0,r.el)(),c=Date.now(),u={spanId:a,traceId:s,timestamp:c};return(e.sameOrigin||this.isAllowedOrigin(e)&&this.useTraceContextHeadersForCors())&&(u.traceContextParentHeader=this.generateTraceContextParentHeader(a,s),u.traceContextStateHeader=this.generateTraceContextStateHeader(a,c,n,i,o)),(e.sameOrigin&&!this.excludeNewrelicHeader()||!e.sameOrigin&&this.isAllowedOrigin(e)&&this.useNewrelicHeaderForCors())&&(u.newrelicHeader=this.generateTraceHeader(a,s,c,n,i,o)),u}generateTraceContextParentHeader(e,t){return"00-"+t+"-"+e+"-01"}generateTraceContextStateHeader(e,t,r,n,i){return i+"@nr=0-1-"+r+"-"+n+"-"+e+"----"+t}generateTraceHeader(e,t,r,n,i,o){if(!("function"==typeof p.gm?.btoa))return null;var a={v:[0,1],d:{ty:"Browser",ac:n,ap:i,id:e,tr:t,ti:r}};return o&&n!==o&&(a.d.tk=o),btoa((0,P.A)(a))}shouldGenerateTrace(e){return this.isDtEnabled()&&this.isAllowedOrigin(e)}isAllowedOrigin(e){var t=!1,r={};if((0,s.gD)(this.agentIdentifier,"distributed_tracing")&&(r=(0,s.D0)(this.agentIdentifier).distributed_tracing),e.sameOrigin)t=!0;else if(r.allowed_origins instanceof Array)for(var n=0;n<r.allowed_origins.length;n++){var i=(0,ie.D)(r.allowed_origins[n]);if(e.hostname===i.hostname&&e.protocol===i.protocol&&e.port===i.port){t=!0;break}}return t}isDtEnabled(){var e=(0,s.gD)(this.agentIdentifier,"distributed_tracing");return!!e&&!!e.enabled}excludeNewrelicHeader(){var e=(0,s.gD)(this.agentIdentifier,"distributed_tracing");return!!e&&!!e.exclude_newrelic_header}useNewrelicHeaderForCors(){var e=(0,s.gD)(this.agentIdentifier,"distributed_tracing");return!!e&&!1!==e.cors_use_newrelic_header}useTraceContextHeadersForCors(){var e=(0,s.gD)(this.agentIdentifier,"distributed_tracing");return!!e&&!!e.cors_use_tracecontext_headers}}var se=i(9300),ce=i(7295),ue=["load","error","abort","timeout"],de=ue.length,le=(0,R.dV)().o.REQ,fe=(0,R.dV)().o.XHR;class he extends b{static featureName=se.T;constructor(e,t=!0){super(e,se.T,t),this.dt=new ae(e.agentIdentifier),this.handler=(e,t,r,n)=>(0,x.p)(e,t,r,n,this.ee);try{const e={xmlhttprequest:"xhr",fetch:"fetch",beacon:"beacon"};p.gm?.performance?.getEntriesByType("resource").forEach((t=>{if(t.initiatorType in e&&0!==t.responseStatus){const r={status:t.responseStatus},n={rxSize:t.transferSize,duration:Math.floor(t.duration),cbTime:0};pe(r,t.name),this.handler("xhr",[r,n,t.startTime,t.responseEnd,e[t.initiatorType]],void 0,a.K7.ajax)}}))}catch(e){}ne(this.ee),Z(this.ee),function(e,t,r,n){function i(e){var t=this;t.totalCbs=0,t.called=0,t.cbTime=0,t.end=R,t.ended=!1,t.xhrGuids={},t.lastSize=null,t.loadCaptureCalled=!1,t.params=this.params||{},t.metrics=this.metrics||{},e.addEventListener("load",(function(r){E(t,e)}),(0,T.jT)(!1)),p.lR||e.addEventListener("progress",(function(e){t.lastSize=e.loaded}),(0,T.jT)(!1))}function o(e){this.params={method:e[0]},pe(this,e[1]),this.metrics={}}function s(t,r){e.loader_config.xpid&&this.sameOrigin&&r.setRequestHeader("X-NewRelic-ID",e.loader_config.xpid);var i=n.generateTracePayload(this.parsedOrigin);if(i){var o=!1;i.newrelicHeader&&(r.setRequestHeader("newrelic",i.newrelicHeader),o=!0),i.traceContextParentHeader&&(r.setRequestHeader("traceparent",i.traceContextParentHeader),i.traceContextStateHeader&&r.setRequestHeader("tracestate",i.traceContextStateHeader),o=!0),o&&(this.dt=i)}}function c(e,r){var n=this.metrics,i=e[0],o=this;if(n&&i){var a=G(i);a&&(n.txSize=a)}this.startTime=(0,S.t)(),this.body=i,this.listener=function(e){try{"abort"!==e.type||o.loadCaptureCalled||(o.params.aborted=!0),("load"!==e.type||o.called===o.totalCbs&&(o.onloadCalled||"function"!=typeof r.onload)&&"function"==typeof o.end)&&o.end(r)}catch(e){try{t.emit("internal-error",[e])}catch(e){}}};for(var s=0;s<de;s++)r.addEventListener(ue[s],this.listener,(0,T.jT)(!1))}function u(e,t,r){this.cbTime+=e,t?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof r.onload||"function"!=typeof this.end||this.end(r)}function d(e,t){var r=""+V(e)+!!t;this.xhrGuids&&!this.xhrGuids[r]&&(this.xhrGuids[r]=!0,this.totalCbs+=1)}function l(e,t){var r=""+V(e)+!!t;this.xhrGuids&&this.xhrGuids[r]&&(delete this.xhrGuids[r],this.totalCbs-=1)}function f(){this.endTime=(0,S.t)()}function h(e,r){r instanceof fe&&"load"===e[0]&&t.emit("xhr-load-added",[e[1],e[2]],r)}function g(e,r){r instanceof fe&&"load"===e[0]&&t.emit("xhr-load-removed",[e[1],e[2]],r)}function m(e,t,r){t instanceof fe&&("onload"===r&&(this.onload=!0),("load"===(e[0]&&e[0].type)||this.onload)&&(this.xhrCbStart=(0,S.t)()))}function v(e,r){this.xhrCbStart&&t.emit("xhr-cb-time",[(0,S.t)()-this.xhrCbStart,this.onload,r],r)}function b(e){var t,r=e[1]||{};if("string"==typeof e[0]?0===(t=e[0]).length&&p.RI&&(t=""+p.gm.location.href):e[0]&&e[0].url?t=e[0].url:p.gm?.URL&&e[0]&&e[0]instanceof URL?t=e[0].href:"function"==typeof e[0].toString&&(t=e[0].toString()),"string"==typeof t&&0!==t.length){t&&(this.parsedOrigin=(0,ie.D)(t),this.sameOrigin=this.parsedOrigin.sameOrigin);var i=n.generateTracePayload(this.parsedOrigin);if(i&&(i.newrelicHeader||i.traceContextParentHeader))if(e[0]&&e[0].headers)s(e[0].headers,i)&&(this.dt=i);else{var o={};for(var a in r)o[a]=r[a];o.headers=new Headers(r.headers||{}),s(o.headers,i)&&(this.dt=i),e.length>1?e[1]=o:e.push(o)}}function s(e,t){var r=!1;return t.newrelicHeader&&(e.set("newrelic",t.newrelicHeader),r=!0),t.traceContextParentHeader&&(e.set("traceparent",t.traceContextParentHeader),t.traceContextStateHeader&&e.set("tracestate",t.traceContextStateHeader),r=!0),r}}function y(e,t){this.params={},this.metrics={},this.startTime=(0,S.t)(),this.dt=t,e.length>=1&&(this.target=e[0]),e.length>=2&&(this.opts=e[1]);var r,n=this.opts||{},i=this.target;"string"==typeof i?r=i:"object"==typeof i&&i instanceof le?r=i.url:p.gm?.URL&&"object"==typeof i&&i instanceof URL&&(r=i.href),pe(this,r);var o=(""+(i&&i instanceof le&&i.method||n.method||"GET")).toUpperCase();this.params.method=o,this.body=n.body,this.txSize=G(n.body)||0}function w(e,t){if(this.endTime=(0,S.t)(),this.params||(this.params={}),(0,ce.iW)(this.params))return;let n;this.params.status=t?t.status:0,"string"==typeof this.rxSize&&this.rxSize.length>0&&(n=+this.rxSize);const i={txSize:this.txSize,rxSize:n,duration:(0,S.t)()-this.startTime};r("xhr",[this.params,i,this.startTime,this.endTime,"fetch"],this,a.K7.ajax)}function R(e){const t=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(let t=0;t<de;t++)e.removeEventListener(ue[t],this.listener,!1);t.aborted||(0,ce.iW)(t)||(n.duration=(0,S.t)()-this.startTime,this.loadCaptureCalled||4!==e.readyState?null==t.status&&(t.status=0):E(this,e),n.cbTime=this.cbTime,r("xhr",[t,n,this.startTime,this.endTime,"xhr"],this,a.K7.ajax))}}function E(e,r){e.params.status=r.status;var n=function(e,t){var r=e.responseType;return"json"===r&&null!==t?t:"arraybuffer"===r||"blob"===r||"json"===r?G(e.response):"text"===r||""===r||void 0===r?G(e.responseText):void 0}(r,e.lastSize);if(n&&(e.metrics.rxSize=n),e.sameOrigin){var i=r.getResponseHeader("X-NewRelic-App-Data");i&&((0,x.p)(_.rs,["Ajax/CrossApplicationTracing/Header/Seen"],void 0,a.K7.metrics,t),e.params.cat=i.split(", ").pop())}e.loadCaptureCalled=!0}t.on("new-xhr",i),t.on("open-xhr-start",o),t.on("open-xhr-end",s),t.on("send-xhr-start",c),t.on("xhr-cb-time",u),t.on("xhr-load-added",d),t.on("xhr-load-removed",l),t.on("xhr-resolved",f),t.on("addEventListener-end",h),t.on("removeEventListener-end",g),t.on("fn-end",v),t.on("fetch-before-start",b),t.on("fetch-start",y),t.on("fn-start",m),t.on("fetch-done",w)}(e,this.ee,this.handler,this.dt),this.importAggregator(e)}}function pe(e,t){var r=(0,ie.D)(t),n=e.params||e;n.hostname=r.hostname,n.port=r.port,n.protocol=r.protocol,n.host=r.hostname+":"+r.port,n.pathname=r.pathname,e.parsedOrigin=r,e.sameOrigin=r.sameOrigin}const ge={},me=["pushState","replaceState"];function ve(e){const t=function(e){return(e||B.ee).get("history")}(e);return!p.RI||ge[t.debugId]++||(ge[t.debugId]=1,(0,W.YM)(t).inPlace(window.history,me,"-")),t}var be=i(3738);const{He:ye,bD:we,d3:Re,Kp:xe,TZ:Ee,Lc:Te,uP:Ae,Rz:Se}=be;class Ne extends b{static featureName=Ee;constructor(e,t=!0){super(e,Ee,t);if(!(0,m.V)(this.agentIdentifier))return void this.deregisterDrain();const r=this.ee;let n;ve(r),this.eventsEE=(0,F.u)(r),this.eventsEE.on(Ae,(function(e,t){this.bstStart=(0,S.t)()})),this.eventsEE.on(Te,(function(e,t){(0,x.p)("bst",[e[0],t,this.bstStart,(0,S.t)()],void 0,a.K7.sessionTrace,r)})),r.on(Se+Re,(function(e){this.time=(0,S.t)(),this.startPath=location.pathname+location.hash})),r.on(Se+xe,(function(e){(0,x.p)("bstHist",[location.pathname+location.hash,this.startPath,this.time],void 0,a.K7.sessionTrace,r)}));try{n=new PerformanceObserver((e=>{const t=e.getEntries();(0,x.p)(ye,[t],void 0,a.K7.sessionTrace,r)})),n.observe({type:we,buffered:!0})}catch(e){}this.importAggregator(e,{resourceObserver:n})}}var _e=i(2614);class Oe extends b{static featureName=t.TZ;#i;#o;constructor(e,r=!0){let n;super(e,t.TZ,r),this.replayRunning=!1,this.#o=e;try{n=JSON.parse(localStorage.getItem("".concat(_e.H3,"_").concat(_e.uh)))}catch(e){}(0,g.SR)(e.agentIdentifier)&&this.ee.on(t.G4.RECORD,(()=>this.#a())),this.#s(n)?(this.#i=n?.sessionReplayMode,this.#c()):this.importAggregator(e),this.ee.on("err",(e=>{this.replayRunning&&(this.errorNoticed=!0,(0,x.p)(t.G4.ERROR_DURING_REPLAY,[e],void 0,this.featureName,this.ee))})),this.ee.on(t.G4.REPLAY_RUNNING,(e=>{this.replayRunning=e}))}#s(e){return e&&(e.sessionReplayMode===_e.g.FULL||e.sessionReplayMode===_e.g.ERROR)||(0,g.Aw)(this.agentIdentifier)}#u=!1;async#c(e){if(!this.#u){this.#u=!0;try{const{Recorder:t}=await Promise.all([i.e(478),i.e(249)]).then(i.bind(i,8589));this.recorder??=new t({mode:this.#i,agentIdentifier:this.agentIdentifier,trigger:e,ee:this.ee,agentRef:this.#o}),this.recorder.startRecording(),this.abortHandler=this.recorder.stopRecording}catch(e){}this.importAggregator(this.#o,{recorder:this.recorder,errorNoticed:this.errorNoticed})}}#a(){this.featAggregate?this.featAggregate.mode!==_e.g.FULL&&this.featAggregate.initializeRecording(_e.g.FULL,!0):(this.#i=_e.g.FULL,this.#c(t.Qb.API),this.recorder&&this.recorder.parent.mode!==_e.g.FULL&&(this.recorder.parent.mode=_e.g.FULL,this.recorder.stopRecording(),this.recorder.startRecording(),this.abortHandler=this.recorder.stopRecording))}}var Ie=i(3962);class Pe extends b{static featureName=Ie.TZ;constructor(e,t=!0){if(super(e,Ie.TZ,t),!p.RI||!(0,R.dV)().o.MO)return;const r=ve(this.ee);Ie.tC.forEach((e=>{(0,T.sp)(e,(e=>{a(e)}),!0)}));const n=()=>(0,x.p)("newURL",[(0,S.t)(),""+window.location],void 0,this.featureName,this.ee);r.on("pushState-end",n),r.on("replaceState-end",n);try{this.removeOnAbort=new AbortController}catch(e){}(0,T.sp)("popstate",(e=>(0,x.p)("newURL",[e.timeStamp,""+window.location],void 0,this.featureName,this.ee)),!0,this.removeOnAbort?.signal);let i=!1;const o=new((0,R.dV)().o.MO)(((e,t)=>{i||(i=!0,requestAnimationFrame((()=>{(0,x.p)("newDom",[(0,S.t)()],void 0,this.featureName,this.ee),i=!1})))})),a=(0,v.s)((e=>{(0,x.p)("newUIEvent",[e],void 0,this.featureName,this.ee),o.observe(document.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}),100,{leading:!0});this.abortHandler=function(){this.removeOnAbort?.abort(),o.disconnect(),this.abortHandler=void 0},this.importAggregator(e,{domObserver:o})}}var je=i(7378);const Ce={},ke=["appendChild","insertBefore","replaceChild"];function Le(e){const t=function(e){return(e||B.ee).get("jsonp")}(e);if(!p.RI||Ce[t.debugId])return t;Ce[t.debugId]=!0;var r=(0,W.YM)(t),n=/[?&](?:callback|cb)=([^&#]+)/,i=/(.*)\.([^.]+)/,o=/^(\w+)(\.|$)(.*)$/;function a(e,t){if(!e)return t;const r=e.match(o),n=r[1];return a(r[3],t[n])}return r.inPlace(Node.prototype,ke,"dom-"),t.on("dom-start",(function(e){!function(e){if(!e||"string"!=typeof e.nodeName||"script"!==e.nodeName.toLowerCase())return;if("function"!=typeof e.addEventListener)return;var o=(s=e.src,c=s.match(n),c?c[1]:null);var s,c;if(!o)return;var u=function(e){var t=e.match(i);if(t&&t.length>=3)return{key:t[2],parent:a(t[1],window)};return{key:e,parent:window}}(o);if("function"!=typeof u.parent[u.key])return;var d={};function l(){t.emit("jsonp-end",[],d),e.removeEventListener("load",l,(0,T.jT)(!1)),e.removeEventListener("error",f,(0,T.jT)(!1))}function f(){t.emit("jsonp-error",[],d),t.emit("jsonp-end",[],d),e.removeEventListener("load",l,(0,T.jT)(!1)),e.removeEventListener("error",f,(0,T.jT)(!1))}r.inPlace(u.parent,[u.key],"cb-",d),e.addEventListener("load",l,(0,T.jT)(!1)),e.addEventListener("error",f,(0,T.jT)(!1)),t.emit("new-jsonp",[e.src],d)}(e[0])})),t}const He={};function Me(e){const t=function(e){return(e||B.ee).get("promise")}(e);if(He[t.debugId])return t;He[t.debugId]=!0;var r=t.context,n=(0,W.YM)(t),i=p.gm.Promise;return i&&function(){function e(r){var o=t.context(),a=n(r,"executor-",o,null,!1);const s=Reflect.construct(i,[a],e);return t.context(s).getCtx=function(){return o},s}p.gm.Promise=e,Object.defineProperty(e,"name",{value:"Promise"}),e.toString=function(){return i.toString()},Object.setPrototypeOf(e,i),["all","race"].forEach((function(r){const n=i[r];e[r]=function(e){let i=!1;[...e||[]].forEach((e=>{this.resolve(e).then(a("all"===r),a(!1))}));const o=n.apply(this,arguments);return o;function a(e){return function(){t.emit("propagate",[null,!i],o,!1,!1),i=i||!e}}}})),["resolve","reject"].forEach((function(r){const n=i[r];e[r]=function(e){const r=n.apply(this,arguments);return e!==r&&t.emit("propagate",[e,!0],r,!1,!1),r}})),e.prototype=i.prototype;const o=i.prototype.then;i.prototype.then=function(...e){var i=this,a=r(i);a.promise=i,e[0]=n(e[0],"cb-",a,null,!1),e[1]=n(e[1],"cb-",a,null,!1);const s=o.apply(this,e);return a.nextPromise=s,t.emit("propagate",[i,!0],s,!1,!1),s},i.prototype.then[W.Jt]=o,t.on("executor-start",(function(e){e[0]=n(e[0],"resolve-",this,null,!1),e[1]=n(e[1],"resolve-",this,null,!1)})),t.on("executor-err",(function(e,t,r){e[1](r)})),t.on("cb-end",(function(e,r,n){t.emit("propagate",[n,!0],this.nextPromise,!1,!1)})),t.on("propagate",(function(e,r,n){this.getCtx&&!r||(this.getCtx=function(){if(e instanceof Promise)var r=t.context(e);return r&&r.getCtx?r.getCtx():this})}))}(),t}const De={},Ke="setTimeout",Ue="setInterval",Ve="clearTimeout",Ge="-start",Fe=[Ke,"setImmediate",Ue,Ve,"clearImmediate"];function Be(e){const t=function(e){return(e||B.ee).get("timer")}(e);if(De[t.debugId]++)return t;De[t.debugId]=1;var r=(0,W.YM)(t);return r.inPlace(p.gm,Fe.slice(0,2),Ke+"-"),r.inPlace(p.gm,Fe.slice(2,3),Ue+"-"),r.inPlace(p.gm,Fe.slice(3),Ve+"-"),t.on(Ue+Ge,(function(e,t,n){e[0]=r(e[0],"fn-",null,n)})),t.on(Ke+Ge,(function(e,t,n){this.method=n,this.timerDuration=isNaN(e[1])?0:+e[1],e[0]=r(e[0],"fn-",this,n)})),t}const We={};function ze(e){const t=function(e){return(e||B.ee).get("mutation")}(e);if(!p.RI||We[t.debugId])return t;We[t.debugId]=!0;var r=(0,W.YM)(t),n=p.gm.MutationObserver;return n&&(window.MutationObserver=function(e){return this instanceof n?new n(r(e,"fn-")):n.apply(this,arguments)},MutationObserver.prototype=n.prototype),t}const{TZ:qe,d3:Ze,Kp:Ye,$p:Xe,wW:$e,e5:Je,tH:Qe,uP:et,rw:tt,Lc:rt}=je;class nt extends b{static featureName=qe;constructor(e,t=!0){if(super(e,qe,t),!p.RI)return;try{this.removeOnAbort=new AbortController}catch(e){}let r,n=0;const i=this.ee.get("tracer"),o=Le(this.ee),a=Me(this.ee),s=Be(this.ee),c=Z(this.ee),u=this.ee.get("events"),d=ne(this.ee),l=ve(this.ee),f=ze(this.ee);function h(e,t){l.emit("newURL",[""+window.location,t])}function g(){n++,r=window.location.hash,this[et]=(0,S.t)()}function m(){n--,window.location.hash!==r&&h(0,!0);var e=(0,S.t)();this[Je]=~~this[Je]+e-this[et],this[rt]=e}function v(e,t){e.on(t,(function(){this[t]=(0,S.t)()}))}this.ee.on(et,g),a.on(tt,g),o.on(tt,g),this.ee.on(rt,m),a.on($e,m),o.on($e,m),this.ee.on("fn-err",((...t)=>{t[2]?.__newrelic?.[e.agentIdentifier]||(0,x.p)("function-err",[...t],void 0,this.featureName,this.ee)})),this.ee.buffer([et,rt,"xhr-resolved"],this.featureName),u.buffer([et],this.featureName),s.buffer(["setTimeout"+Ye,"clearTimeout"+Ze,et],this.featureName),c.buffer([et,"new-xhr","send-xhr"+Ze],this.featureName),d.buffer([Qe+Ze,Qe+"-done",Qe+Xe+Ze,Qe+Xe+Ye],this.featureName),l.buffer(["newURL"],this.featureName),f.buffer([et],this.featureName),a.buffer(["propagate",tt,$e,"executor-err","resolve"+Ze],this.featureName),i.buffer([et,"no-"+et],this.featureName),o.buffer(["new-jsonp","cb-start","jsonp-error","jsonp-end"],this.featureName),v(d,Qe+Ze),v(d,Qe+"-done"),v(o,"new-jsonp"),v(o,"jsonp-end"),v(o,"cb-start"),l.on("pushState-end",h),l.on("replaceState-end",h),window.addEventListener("hashchange",h,(0,T.jT)(!0,this.removeOnAbort?.signal)),window.addEventListener("load",h,(0,T.jT)(!0,this.removeOnAbort?.signal)),window.addEventListener("popstate",(function(){h(0,n>1)}),(0,T.jT)(!0,this.removeOnAbort?.signal)),this.abortHandler=this.#n,this.importAggregator(e)}#n(){this.removeOnAbort?.abort(),this.abortHandler=void 0}}var it=i(3333);class ot extends b{static featureName=it.TZ;constructor(e,t=!0){super(e,it.TZ,t);const r=[e.init.page_action.enabled,e.init.performance.capture_marks,e.init.performance.capture_measures,e.init.user_actions.enabled,e.init.performance.resources.enabled];if(p.RI&&(e.init.user_actions.enabled&&(it.Zp.forEach((e=>(0,T.sp)(e,(e=>(0,x.p)("ua",[e],void 0,this.featureName,this.ee)),!0))),it.qN.forEach((e=>{const t=(0,v.s)((e=>{(0,x.p)("ua",[e],void 0,this.featureName,this.ee)}),500,{leading:!0});(0,T.sp)(e,t)}))),e.init.performance.resources.enabled&&p.gm.PerformanceObserver?.supportedEntryTypes.includes("resource"))){new PerformanceObserver((e=>{e.getEntries().forEach((e=>{(0,x.p)("browserPerformance.resource",[e],void 0,this.featureName,this.ee)}))})).observe({type:"resource",buffered:!0})}r.some((e=>e))?this.importAggregator(e):this.deregisterDrain()}}var at=i(993),st=i(3785);class ct extends b{static featureName=at.TZ;constructor(e,t=!0){super(e,at.TZ,t);const r=this.ee;this.ee.on("wrap-logger-end",(function([e]){const{level:t,customAttributes:n}=this;(0,st.R)(r,e,n,t)})),this.importAggregator(e)}}new class extends o{constructor(t){super(),p.gm?(this.features={},(0,R.bQ)(this.agentIdentifier,this),this.desiredFeatures=new Set(t.features||[]),this.desiredFeatures.add(w),this.runSoftNavOverSpa=[...this.desiredFeatures].some((e=>e.featureName===a.K7.softNav)),(0,d.j)(this,t,t.loaderType||"agent"),this.run()):(0,e.R)(21)}get config(){return{info:this.info,init:this.init,loader_config:this.loader_config,runtime:this.runtime}}run(){try{const t=u(this.agentIdentifier),r=[...this.desiredFeatures];r.sort(((e,t)=>a.P3[e.featureName]-a.P3[t.featureName])),r.forEach((r=>{if(!t[r.featureName]&&r.featureName!==a.K7.pageViewEvent)return;if(this.runSoftNavOverSpa&&r.featureName===a.K7.spa)return;if(!this.runSoftNavOverSpa&&r.featureName===a.K7.softNav)return;const n=function(e){switch(e){case a.K7.ajax:return[a.K7.jserrors];case a.K7.sessionTrace:return[a.K7.ajax,a.K7.pageViewEvent];case a.K7.sessionReplay:return[a.K7.sessionTrace];case a.K7.pageViewTiming:return[a.K7.pageViewEvent];default:return[]}}(r.featureName).filter((e=>!(e in this.features)));n.length>0&&(0,e.R)(36,{targetFeature:r.featureName,missingDependencies:n}),this.features[r.featureName]=new r(this)}))}catch(t){(0,e.R)(22,t);for(const e in this.features)this.features[e].abortHandler?.();const r=(0,R.Zm)();delete r.initializedAgents[this.agentIdentifier]?.api,delete r.initializedAgents[this.agentIdentifier]?.features,delete this.sharedAggregator;return r.ee.get(this.agentIdentifier).abort(),!1}}}({features:[he,w,N,Ne,Oe,O,M,ot,ct,Pe,nt],loaderType:"spa"})})()})();</script> <meta name="title" content="Nutrition - Viewing Blog Post - Healthy Nurse, Healthy Nation™" /> <meta name="description" content="It isn't easy to find time for healthy eating. One average, nurses consume less fruits, veggies, and whole grains than other Americans. This domain covers recommended guidelines for ..." /> <meta property="og:title" content="Nutrition - Viewing Blog Post - Healthy Nurse, Healthy Nation™" /> <meta property="og:description" content="It isn't easy to find time for healthy eating. One average, nurses consume less fruits, veggies, and whole grains than other Americans. This domain covers recommended guidelines for ..." /> <meta property="og:site_name" content="Healthy Nurse, Healthy Nation™" /> <meta property="og:url" content="https://engage.healthynursehealthynation.org/blogs/4/4277" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script type="text/javascript"> var tk='FjNLZUQ-vo8X8HQhGIvjxjqCi8U8tzpurczsXCFTBTg,'; var tm='OyV-iwKbuYrHR3QWLgFxthZv1kigkZPWdO_Q8sHH_yc,'; </script> <script defer charset="utf-8" src="//cdn.iframe.ly/embed.js?key=34a0c6e788542282769c551388eba125"></script> <meta name="keywords" content="" /> <link href="https://static.prod01.ue1.p.pcomm.net:443/swl/css/jquery-ui/jquery-ui.css?n=1739376076" rel="stylesheet" type="text/css" /> <link href="https://static.prod01.ue1.p.pcomm.net:443/hnhn/css/responsive/custom.css?m=1657195242?n=1739376076" rel="stylesheet" type="text/css" /> <link href="https://static.prod01.ue1.p.pcomm.net:443/swl/css/base.css?n=1739376076" rel="stylesheet" type="text/css" /> <link href="https://static.prod01.ue1.p.pcomm.net:443/swl/css/content-styles.css?n=1739376076" rel="stylesheet" type="text/css" /> <link href="https://static.prod01.ue1.p.pcomm.net:443/hnhn/css/responsive/style.css?m=1718383020" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/jquery.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/vendor/twbs/bootstrap/dist/js/bootstrap.bundle.min.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/jquery-ui.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/js_views.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/utf8.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/base64.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/js_paginator.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/jquery.bcSwipe.min.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/common.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/ajax.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/gasparesganga-jquery-loading-overlay/dist/loadingoverlay.min.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/js_swl_debounce.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/js_ajax.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/js_ajax_refresh.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/site_page.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/accessible_event_handler.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/ckeditor5/swl/swlIframely.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/token.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/js/site_page_notification.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/swl/vendor/ckeditor/ckeditor/ckeditor.js?n=1739376076"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/hnhn/content/js/main.js?m=1717013460"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/hnhn/content/js/main2.js?m=1710189870"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/hnhn/content/js/modernizr.custom.js?m=1710189870"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/hnhn/content/js/runtime2.js?m=1717013387"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/hnhn/content/js/flexmenu.min.js?m=1710189870"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/hnhn/content/js/polyfills.js?m=1717013461"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/hnhn/content/js/cdc.js?m=1710189870"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/hnhn/content/js/polyfills2.js?m=1717013380"></script> <script type="text/javascript" src="https://static.prod01.ue1.p.pcomm.net:443/hnhn/content/js/runtime.js?m=1717013461"></script> <style type="text/css"> body { background-image: none; background-color: #FFF; } div.boxsitepage, .module header, span[data-date-icon="month"], .ui-widget-header, button.ui-dialog-titlebar-close, .generic-option.badge.badge-info, .modal-header { background-color: #FFF !important; } div.boxsitepage, div.boxsitepage .p1, div.boxsitepage .p-text, .module header, span[data-date-icon="month"], .ui-widget-header .ui-dialog-title, .ui-dialog .ui-dialog-titlebar-close, .generic-option.badge.badge-info, .modal-header .modal-title, .modal-header i, .modal-header button span { color: #073859 !important; } div.boxsitepagebody, .box-bg-color, .module-content, .ui-widget-content { background-color: #FFF; } thead { background-color: #E7E7E7; } .row1, .even { background-color: #FFF; } .row2, .odd { background-color: #f3f5f3; } .row1, .row2, .even, .odd { border-bottom: 1px solid #FFF; } .calendar-table thead tr th, .calendar-table thead tr td, .calendar-table tbody tr td, .normal-table, .normal-table thead tr th, .normal-table thead tr td, .normal-table tbody tr td, .sgroup_page_nav li a, .boxsubfullarticlebody .thmbtext, .feedback, .other_item_info, .photos_5 .fieldrow, .item_comment, .swlgallery_audio_view_comment_text, .log .date, #featured_blogger .featured, #latest_blog_posts .featured, .boxmainsplitdivider, .boxsubsplitbody, .boxdivider { border-color: #FFF; } .normal-table thead, .normal-table tbody, div#messbody, div.accordion-toggle, div.accordion-toggle-active { border: 1px solid #FFF; } div#groupAdmin .normal-table td { text-align: center; } div#user_profile .profileResponse, .profile_row_divider { border-bottom: 1px solid #FFF !important; } div.form_button a, div.form_button a:link, div.form_button a:visited, div.form_button a:hover, div.sitebutton ul li a, div.sitebutton ul li a:link, div.sitebutton ul li a:visited, div.sitebutton ul li a:hover, div.nav_search ul li a, div.nav_search ul li a:link, div.nav_search ul li a:visited, div.nav_search ul li a:hover, div.sgroup_browse_button ul li a, div.sgroup_browse_button ul li a:link, div.sgroup_browse_button ul li a:visited, div.sgroup_browse_button ul li a:hover { background-color: #238EC2; color: #ffffff; border: 1px solid #238EC2 !important; } /* secondary buttons */ /* Seperated since IE 6 and earlier does not support attribute selectors */ input[type=button], input[type=button]:hover, input[type=submit], input[type=submit]:hover { background-color: #238EC2; color: #ffffff; border-top: 1px solid # !important; border-left: 1px solid # !important; border-bottom: 1px solid # !important; border-right: 1px solid # !important; } .boxsitepage,header.module-title { border-bottom-color: #CCC !important; } .boxsitepage,header.module-title { border-bottom-width: thin !important; } .boxsitepage,header.module-title { border-bottom-style: solid } .boxsitepage .p1,header.module-title h2 { font-size: 1.25em } .boxsitepage .p1,header.module-title h2 { text-transform: none } .boxsitepage .p1,header.module-title h2 { font-weight: 500 } .site-header { background-color: #000000; } .site-header #header_actions .navbar-nav .nav-link { color: #ffffff; } .headerSearchContent .nav_search ul li a { background-color: #FFF; } .headerSearchContent .btn.search_submit_button { background-color: #FFF; border-color: #FFF !important; } .site-header button .navbar-toggler-icon, .headerSearchContent .btn.search_submit_button { color: #000; } .site_page_subnav.container-fluid { padding-right: 0px; padding-left: 0px; } .page-title-color { color: #ffffff; } .custom-padding { padding: 0 0px; } .page_title_justification { justify-content: flex-start; } .page_title_item_alignment { align-self: flex-start; } </style> <script type="text/javascript"> jQuery(document).ready(function() { jQuery('.nav-item.dropdown').on('keypress', '.nav-dropdown-toggle', function(event) { if (accessibleClick(event, true)) { jQuery(this).click(); } }); jQuery('.site-header .navbar-collapse').on('show.bs.collapse', function(e) { jQuery(this).css("overflow-y", 'auto'); jQuery(this).css("max-height", 'calc(100vh - 80px)'); }); jQuery('.site-header .navbar-collapse').on('hide.bs.collapse', function(e) { jQuery(this).css("overflow-y", 'unset'); jQuery(this).css("max-height", 'unset'); }); }); </script> <style type="text/css"> #nav-main .dropdown-item:hover { background-color: inherit; } nav.header-nav, #nav-main, #nav-main .dropdown-menu { background-color: #000000; } .navbar-nav.site-nav .nav-link, #nav-main .nav-link, .navbar-nav.site-nav .show > .nav-link, #nav-main .show > .nav-link, #nav-main .dropdown-item { color: #FFFFFF; } .navbar-nav.site-nav a.nav-link:hover, #nav-main a.nav-link:hover, .navbar-nav.site-nav .active > a.nav-link, #nav-main .active > a.nav-link, #nav-main .dropdown-header, #nav-main .dropdown-item:hover { color: #e0e0e0; } #nav-main .nav-dropdown-border-bottom { border-bottom-color: #e0e0e0; } div#subnav, div.subnav, div#subnav ul, div.subnav ul, div#reviewsSubNav, .subnav .links { background-color: #ffff; } div#subnav ul li a, div#reviewsSubNav a, .sgroup_page_nav li a { color: #000; } div#subnav ul li a:hover, div#subnav ul li.selected a, div#subnav ul li.selected a:hover, div#reviewsSubNav a:hover, div#reviewsSubNav.selected a, div#reviewsSubNav.selected a:hover, .sgroup_page_nav li.selected a, .sgroup_page_nav li.selected a:hover { color: #000; } div#subnav ul li a:hover, div#subnav ul li.selected a, div#subnav ul li.selected a:hover, div#reviewsSubNav a:hover, div#reviewsSubNav.selected a, div#reviewsSubNav.selected a:hover, .sgroup_page_nav li.selected a, .sgroup_page_nav li.selected a:hover { background-color: #fff; } </style> <script type="text/javascript"> var swl_pagination_translations = []; swl_pagination_translations["pagPage"] = "Page"; swl_pagination_translations["pagPages"] = "Pages"; swl_pagination_translations["pagNext"] = "Next"; swl_pagination_translations["pagNextPage"] = "Next Page"; swl_pagination_translations["pagPrev"] = "Previous"; swl_pagination_translations["pagPrevPage"] = "Previous Page"; swl_pagination_translations["pagFirstPage"] = "First Page"; swl_pagination_translations["pagLastPage"] = "Last Page"; swl_pagination_translations["buttonText"] = "More"; </script><script type="text/javascript"> //<![CDATA[ jQuery(document).ready(function(){var t=encodeURIComponent(document.title);jQuery("li.social_media_block_li").each(function(){jQuery(this).click(function(){jQuery.ajax({url:'/?page_id=9999&tk='+tk+'&tm='+tm+'&module=integration_social_media_buttons&format=json&method=buttonClick&site_page_id=301',data: 'whichButton='+jQuery(this).attr('id')+'&user_id=&type_id=6&item_id=&category_id=&post_id=4277&group_id=&site_page_title='+t, type: 'POST',dataType:'json',sync: false,success: function(returnedData){if(typeof(returnedData)!='undefined'&&returnedData){refreshTokens(returnedData.formToken,returnedData.formTime);if(returnedData.error){alert(returnedData.error)}}}});jQuery(this).unbind('click')})})}) // ]> </script> <script type="text/javascript"> //<![CDATA[ jQuery(document).ready(function() { jQuery('#skip_link').click(function(e) { e.preventDefault(); jQuery('#main').find(':focusable:first').focus(); return false; }); if (jQuery('.fixed-col').length && jQuery('.site_page_column_0:visible').length) { function fixedColControl() { let windowHeight = jQuery(window).height(); let scrollHeight = jQuery(window).scrollTop(); let navMarginBottom = parseInt(jQuery('.site_page_subnav').css('margin-bottom')); let pageTitleHeight = 0; if (jQuery('[data-page-title-area]').length) { // Page title is turned on - add that to pageTitleHeight to help determine when to fix small columns pageTitleHeight += jQuery('[data-page-title-area]').outerHeight() + parseInt(jQuery('[data-page-title-area]').css('margin-bottom')); } if (jQuery('[data-subheader-area]').length) { // Subheader has content - add that to pageTitleHeight to help determine when to fix small columns pageTitleHeight += jQuery('[data-subheader-area]').outerHeight() + parseInt(jQuery('[data-subheader-area]').css('margin-bottom')); } jQuery('.fixed-col').each(function() { let fixedColTop = jQuery('.site_page_subnav').outerHeight(); let currentCol = jQuery(this); let isLeftmostCol = currentCol.hasClass('site_page_column_0'); let fixedColHeight = 0; let fixedColWidth = jQuery(this).outerWidth(); let fixedColOffset = jQuery('.non-fixed-col').offset().left + jQuery('.non-fixed-col').outerWidth(); currentCol.find('.module_container').each(function() { // If fixed col is shorter than non-fixed col, outerHeight returns height of row which is larger so need to build actual height by adding all module heights up fixedColHeight += jQuery(this).height() + parseInt(jQuery(this).css('margin-bottom')); }); if (isLeftmostCol) { // The leftmost column is fixed - need to set offset current col by its size when changing to fixed position fixedColOffset = currentCol.offset().left; } else if (currentCol.hasClass('site_page_column_3')) { // Rightmost column is fixed in 3 col layout. Need to offset current col by 1st and 2nd col widths when changing to fixed position fixedColOffset += jQuery('.site_page_column_0').outerWidth();// Already has offset of non-fixed col - add offset from 1st fixed col } if (windowHeight - fixedColTop < fixedColHeight) { // Fixed col is larger than window - nav. Set the fixed col's new top value to be window - fixed col height - nav height. fixedColTop = windowHeight - (fixedColHeight + fixedColTop); } if ((windowHeight + scrollHeight) >= fixedColHeight && scrollHeight > pageTitleHeight) { currentCol.css({ position: 'fixed', left: fixedColOffset, top: (fixedColTop + navMarginBottom), width: fixedColWidth }); if (isLeftmostCol && currentCol.css('position') == 'fixed') { // Left column is fixed - need to offset the nonfixed column by the leftmost fixed column's width currentCol.hasClass('col-lg-4') ? jQuery('.non-fixed-col').addClass('offset-4') : jQuery('.non-fixed-col').addClass('offset-3'); } } else { currentCol.css({ position: 'relative', left: '', top: '', width: 'initial' }); if (isLeftmostCol && currentCol.css('position') != 'fixed') { jQuery('.non-fixed-col').removeClass('offset-3 offset-4'); } } }); } jQuery(window).scroll(fixedColControl); jQuery(window).resize(fixedColControl); } }); //]]> </script> <script type="text/javascript"> jQuery(document).ready(function() { updateFormTokens(); oembedsToIframely(); // Convert any semantic oembed links to their iframe counterpart via iframely CKEDITOR.disableAutoInline = true; // Remove with cke4 }); function changeImageBlock(num, newHTML) { document.getElementById("watch"+num).innerHTML = newHTML; } var http = createRequestObject(); </script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha384-blOohCVdhjmtROpu8+CfTnUWham9nkX7P7OZQMst+RUnhtoY/9qemFAkIKOYxDI3" crossorigin="anonymous"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-59WT7W');</script> <!-- End Google Tag Manager --> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-59WT7W" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <!--Requested following code to be added by Aieda Solomon on 6.16.2020--> <!-- Facebook Pixel Code --> <script> !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '3216790298351877'); fbq('track', 'PageView'); </script> <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=3216790298351877&ev=PageView&noscript=1" /></noscript> <!-- End Facebook Pixel Code --> <script type="text/javascript"> adroll_adv_id = "CXXP6GAFCJDSZBGKWIHJLK"; adroll_pix_id = "TVTPCMBSLVBWZHIIQZ3522"; (function () { var _onload = function(){ if (document.readyState && !/loaded|complete/.test(document.readyState)){setTimeout(_onload, 10);return} if (!window.__adroll_loaded){__adroll_loaded=true;setTimeout(_onload, 50);return} var scr = document.createElement("script"); var host = (("https:" == document.location.protocol) ? "https://s.adroll.com" : "http://a.adroll.com"); scr.setAttribute('async', 'true'); scr.type = "text/javascript"; scr.src = host + "/j/roundtrip.js"; ((document.getElementsByTagName('head') || [null])[0] || document.getElementsByTagName('script')[0].parentNode).appendChild(scr); }; if (window.addEventListener) {window.addEventListener('load', _onload, false);} else {window.attachEvent('onload', _onload)} }()); </script> <script src ="https://up.pixel.ad/assets/up.js?um=1"></script> <script type="text/javascript"> cntrUpTag.track('cntrData', '5dfda33230a418de'); </script> </head> <body id="home" class="page_301 page-urlp-sblog_id_4 page-urlp-post_id_4277 page-cat-blogs"> <div id="notification" class="notification" style="display:none" role="alert" aria-live="assertive" aria-atomic="true"> <span id="site_page_notification_text" tabindex="-1"></span> <div class="dismiss_notification"> <span id="dismiss_notification" class="fa-solid fa-xmark fa-lg pointer" alt="Close"></span> </div> </div> <div class="site_page site_page_301 layout_100 " > <a href="#main" class="skip-link" id="skip_link">Skip to Main Content</a> <h1 class="sr-only"> <span style="display:none"> Nutrition </span> </h1> <div class="site_page_subnav container-fluid" role="banner"> <div id="module_s-0" class="module_container " data-module-name="layout_header" data-module-column="s" data-module-row="0"> <nav role="banner" id="nav-main" class="navbar navbar-expand-lg fixed-top h6 navbar-dark "> <div class="container"> <a class="navbar-brand d-none d-lg-inline-block" href="/"> <img id="non-shrink-logo" class="active" src="https://static.prod01.ue1.p.pcomm.net:443/hnhn/content/images/navigation-content/230274e941ec3733dd99521254225b4b-original-0b000535f6a6372a28b1058622b3b610-original-hnhn-logocx_1.31.19.png" title="Healthy Nurse, Healthy Nation™" alt="Healthy Nurse, Healthy Nation™"/> <img id="shrink-logo" class="d-lg-none" src="https://static.prod01.ue1.p.pcomm.net:443/hnhn/content/images/navigation-content/015f831d3f89a413a149ac581ad63263-original-0b000535f6a6372a28b1058622b3b610-original-hnhn-logocx_1.31.19.png" title="Healthy Nurse, Healthy Nation™" alt="Healthy Nurse, Healthy Nation™"/> </a> <a class="navbar-brand d-inline-block d-lg-none" href="/"> <img id="shrink-logo" class="active mobile" src="https://static.prod01.ue1.p.pcomm.net:443/hnhn/content/images/navigation-content/015f831d3f89a413a149ac581ad63263-original-0b000535f6a6372a28b1058622b3b610-original-hnhn-logocx_1.31.19.png" title="Healthy Nurse, Healthy Nation™" alt="Healthy Nurse, Healthy Nation™"/> </a> <button class="navbar-toggler header-nav-toggler header-nav-button-color" type="button" data-toggle="collapse" data-target="#headerNavlayout_header_s_0" aria-controls="headerNavlayout_header_s_0" aria-expanded="false" aria-label="Toggle Navigation"> <span class="navbar-toggler-icon"></span> </button> <div role="menu" aria-label="site" class="collapse navbar-collapse" id="headerNavlayout_header_s_0"> <ul class="navbar-nav flex-lg-wrap mr-auto" > <li class="nav-item position-static "> <a class="nav-link pl-2 pl-lg-auto" href="/dashboard" > Dashboard </a> </li> <li class="nav-item dropdown position-static "> <a class="nav-link dropdown-toggle pl-2 pl-lg-auto" id="navbarDropdown_2" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="#" > Take Action </a> <div class="dropdown-menu mt-0 w-100 border-0 rounded-0 shadow " aria-labelledby="navbarDropdown_2"> <div class="container px-0 justify-content-start align-items-start"> <a class="dropdown-item" href="/commitments" >Make a Commitment </a> <a class="dropdown-item" href="/events" >Join a Challenge </a> <a class="dropdown-item" href="/help" target="_blank">Have Community Site Questions? </a> </div> </div> </li> <li class="nav-item dropdown position-static "> <a class="nav-link dropdown-toggle pl-2 pl-lg-auto" id="navbarDropdown_3" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="#" > Explore By Domain </a> <div class="dropdown-menu mt-0 w-100 border-0 rounded-0 shadow " aria-labelledby="navbarDropdown_3"> <div class="container px-0 justify-content-start align-items-start"> <div class="dropdown-col mx-1"> <h6 class="dropdown-header nav-dropdown-border-bottom">NUTRITION</h6> <a class="dropdown-item" href="/nutrition" >Home </a> <a class="dropdown-item" href="/events/category/33" >Challenges </a> <a class="dropdown-item" href="/blogs/14" >Commitments </a> </div> <div class="dropdown-col mx-1"> <h6 class="dropdown-header nav-dropdown-border-bottom">PHYSICAL ACTIVITY</h6> <a class="dropdown-item" href="/physical-activity" >Home </a> <a class="dropdown-item" href="/events/category/31" >Challenges </a> <a class="dropdown-item" href="/blogs/18" >Commitments </a> </div> <div class="dropdown-col mx-1"> <h6 class="dropdown-header nav-dropdown-border-bottom">QUALITY OF LIFE</h6> <a class="dropdown-item" href="/quality-of-life" >Home </a> <a class="dropdown-item" href="/events/category/32" >Challenges </a> <a class="dropdown-item" href="/blogs/17" >Commitments </a> </div> <div class="dropdown-col mx-1"> <h6 class="dropdown-header nav-dropdown-border-bottom">REST</h6> <a class="dropdown-item" href="/rest" >Home </a> <a class="dropdown-item" href="/events/category/30" >Challenges </a> <a class="dropdown-item" href="/blogs/15" >Commitments </a> </div> <div class="dropdown-col mx-1"> <h6 class="dropdown-header nav-dropdown-border-bottom">SAFETY</h6> <a class="dropdown-item" href="/safety" >Home </a> <a class="dropdown-item" href="/events/category/34" >Challenges </a> <a class="dropdown-item" href="/blogs/16" >Commitments </a> </div> <div class="dropdown-col mx-1"> <h6 class="dropdown-header nav-dropdown-border-bottom">MENTAL HEALTH</h6> <a class="dropdown-item" href="/mental-health" target="_blank">Home </a> <a class="dropdown-item" href="/events/category/43" target="_blank">Challenges </a> <a class="dropdown-item" href="/blogs/41" target="_blank">Commitments </a> </div> </div> </div> </li> <li class="nav-item active position-static "> <a class="nav-link pl-2 pl-lg-auto" href="/blogs" > Blogs </a> </li> <li class="nav-item dropdown position-static "> <a class="nav-link dropdown-toggle pl-2 pl-lg-auto" id="navbarDropdown_5" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="#" > Connect </a> <div class="dropdown-menu mt-0 w-100 border-0 rounded-0 shadow " aria-labelledby="navbarDropdown_5"> <div class="container px-0 justify-content-start align-items-start"> <a class="dropdown-item" href="/dashboard/myfriends" >My Friends </a> <a class="dropdown-item" href="/badges" >Top Contributors </a> <a class="dropdown-item" href="/members" >Member Search </a> <a class="dropdown-item" href="/discuss" >All Discussions </a> </div> </div> </li> </ul> <ul class="navbar-nav"> <li class="nav-item pl-2 pl-lg-auto"> <a class="btn btn-sm btn-primary" id="headerLogLink" title="Login / Create an Account" href= 'https://ebiz.nursingworld.org/SSO/Login.aspx?vi=26&vt=f0fddd71393e61064edc01f64bd3bbb05475b2635923bc8ebc1fc88590b26de0995bf1db7e1025c1ebc59dcfc6b2cde78c0eed19f2e68cac7cd1f232fc539bda4bd425745916c1135f1cd755f69ba206' > Login / Create an Account </a> </li> </ul> </div> </div> </nav> <script type="text/javascript"> //<![CDATA[ jQuery(document).ready(function() { var navMain = jQuery('#nav-main'); if (typeof navMain !== 'undefined' && navMain.length > 0) { navMain.parent().parent().css("padding-top", "+=" + (navMain.outerHeight(false))); } jQuery(window).scroll(function() { if (jQuery(window).width() > 967) { if (jQuery(document).scrollTop() > 50) { navMain.addClass('shrink small-nav'); jQuery('#non-shrink-logo').removeClass('fade-in').removeClass('active').addClass('d-lg-none'); jQuery('#shrink-logo').addClass('fade-in').addClass('active').removeClass('d-lg-none'); } else { navMain.removeClass('shrink small-nav'); jQuery('#non-shrink-logo').addClass('fade-in').addClass('active').removeClass('d-lg-none'); jQuery('#shrink-logo').removeClass('fade-in').removeClass('active').addClass('d-lg-none'); } } }); }); //]]> </script> </div> <div class="blockspacer"></div> </div> <div class="container-fluid px-0 mb-2 " data-page-title-area> <div class="flex-column" id="pageTitle"> <h2 class="container m-0 page_title_item_alignment page-title-color"></h2> </div> </div> <div class="container mb-2" role="banner" data-subheader-area> <div class="blockspacer"></div> </div> <div id="main" role="main" class="container"> <div class="row"> <div class="column_generic site_page_column_0 col non-fixed-col"> </div> </div> <div class="row"> <div class="column_generic site_page_column_0 col-lg-8"> <div id="module_1_0-0" class="module_container mb-3 " data-module-name="layout_breadcrumbs" data-module-column="1_0" data-module-row="0"> <nav class="navbar p-0"> <nav class="d-block d-sm-none"> <ol class="breadcrumb mb-0 pl-0"> <li class="breadcrumb-item"> <a href="/blogs/4" title="Nutrition"> <span class="fa fa-arrow-left"></span> </a> </li> <li class="breadcrumb-item active" aria-current="page"> Healthy Nurse... </li> </ol> </nav> <nav class="d-none d-sm-block" aria-label="breadcrumb"> <ol class="breadcrumb mb-0 pl-0"> <li class="breadcrumb-item"> <a href="/blogs" aria-label="" title=""> Blogs </a> </li> <li class="breadcrumb-item"> <a href="/blogs/4" aria-label="" title=""> Nutrition </a> </li> <li class="breadcrumb-item active" aria-current="page"> Healthy Nurse, Healthy Nation™ Blog - Strat... </li> </ol> </nav> <div class="d-flex flex-wrap align-items-center generic-option-spacing"> </div> </nav> </div> <div id="module_1_0-1" class="module_container mb-3 " data-module-name="blog_blog_post_with_photos" data-module-column="1_0" data-module-row="1"> <div id="c186cc23ef09a299aa096a7850e2d00d" class="generic-detail-wrapper " data-detail-wrapper="true"> <div class="card p-0 mb-2" data-item-id="4277"> <div class="w-100 "> <div class="text-center pointer" style='position: relative;' id="avatar_blog_blog_post_with_photos_1_0_1_4277"><div class="embed-responsive embed-responsive-191by1"><img class=" embed-responsive-item card-img-top generic-detail-img-top " src="https://static.prod01.ue1.p.pcomm.net:443/hnhn/user_content/photos/000/006/6130/662fcf95c6c35e0e11d9e578948ca289-original-diabetes-prevention-how-nurses-can-help-their-patients-and-themselves-1920x1005.png" alt="Healthy Nurse, Healthy Nation™ Blog - Strategies For Preventing Diabetes & More 4277" data-img-index="0"></div></div> <div class="p-0 text-center"> </div> <span class="generic-option generic-option-text generic-option-plugin" title="Browse Photos" aria-label="Browse Photos" data-option-name="browsePhotos"> </span> </div> <div class="card-body "> <div class="col px-2"> <div class="row"> <div class="col-md-9 col-sm-12"><!-- Heading --> <div class="d-flex flex-wrap align-items-center justify-content-center text-center justify-content-md-start text-md-left"> <h4 data-generic-layout="heading" role="heading" aria-level="" class="generic-option font-weight-bold word-break-normal" > Healthy Nurse, Healthy Nation™ Blog - Strategies For Preventing Diabetes & More </h4> </div> <div class="w-100 mb-2"></div> </div> <div class="col-md-3 col-sm-12"><!-- Sub Heading Actions and Statuses--> <div class="d-flex flex-wrap align-items-center justify-content-center generic-option-spacing generic-option-mb justify-content-md-end"> <span class="badge badge-success generic-option" ><span title="" aria-label="" class=" fas fa-check-circle" ></span> <span class="d-none d-lg-inline-block">Published</span></span> </div> <div class="d-flex flex-wrap align-items-center justify-content-end generic-option-spacing"> </div> </div> </div> <div class="row"> <div class="col-12"> <p class="lead font-italic text-secondary mt-2 " data-generic-layout="subheading"> <span style="font-size:12pt;"><span style="font-family:Calibri, sans-serif;">More than <a href="https://www.cdc.gov/diabetes/data/statistics-report/index.html?ACSTrackingID=DM72996&ACSTrackingLabel=New%20Report%20Shares%20Latest%20Diabetes%20Stats%20&deliveryName=DM72996" style="color:#0563c1;text-decoration:underline;">130 million</a> American adults live with diabetes or prediabetes — and nurses help all those people prevent or manage diabetes. But knowing how to lower the risk of diabetes doesn’t necessarily mean you’re taking those actions yourself.</span></span><br /> </p> </div> </div> <div class="row"> <div class="col-12"><!-- TITLE AND CONTENT --> <div data-generic-layout="body" class="generic-body ck-content "> <span style="font-size:14px;"><a href="/user_content/photos/000/006/6130/d351a72c2f5f59c4ec901a1eae2e768d-original-diabetes.png" target="_blank"><img alt="d351a72c2f5f59c4ec901a1eae2e768d-huge-di" src="/user_content/photos/000/006/6130/d351a72c2f5f59c4ec901a1eae2e768d-huge-diabetes.png" style="height:144px;width:200px;float:left;margin:15px 30px;" title="Diabetes Prevention: How Nurses Can Help Their Patients And Themselves" /></a>Nurses may have a <a><em><span style="color:#3498db;"><strong>higher risk for diabetes</strong></span></em> </a>partly due to their profession, says #healthynurse Carmina Bautista, MSN, NP, FNP-BC, BC-ADM, who has more than 20 years of clinical experience with diabetes management.<br /><br /> The occupational stress, disruptive work schedule, and long work hours many nurses endure can contribute to an unhealthy lifestyle — which may not include regular exercise, a restful sleep schedule, or healthy eating habits.<br /><br /> Findings from the HealthyNurse Survey in 2021 show that the average BMI of nurses and nursing students is 27.58, which is squarely in the overweight range and raises their risk for diabetes.<br /><br /> To help you guide your patients and lower your risk of diabetes, Carmina shares 5 recommendations for diabetes prevention.<br /><br /><b>Strategies for Preventing Diabetes</b><br /> You don’t have to train for a marathon or give up all your favorite foods to prevent diabetes. Carmina recommends setting some basic rules you can incorporate yourself — and share with your patients.<br /><br /><b>1. Keep your diet simple and sustainable</b><br /> You don’t need fad diets or fancy food to eat healthier. Instead, focus on the quality of the nutrient content of your food choices:</span><br /> <ul><li><span style="font-size:14px;">Choose complex carbohydrates and minimally processed foods such as whole wheat, oats, and grains instead of cakes, chips, soda, or sweets. </span></li> <li><span style="font-size:14px;">Incorporate fruits and colorful leafy vegetables in your daily diet to get essential vitamins and nutrients — the fiber also helps you feel full and eat less. </span></li> <li><span style="font-size:14px;">Replace saturated fats with healthy fats, such as olive oil and omega fish oil, to reduce cardiovascular disease risk. </span></li> </ul><br /><span style="font-size:14px;">Carmina recommends including foods that meet your tastes and cultural preferences, so you’ll maintain the changes. “When it comes to a lifestyle intervention, you want to adopt healthy eating habits that are sustainable,” she says. “This is not a sprint. It’s a marathon. And you need to be able to live with this lifestyle for the long haul.”<br /><br /><b>2. Pay attention to portions</b> <br /> It’s common to have what Carmina calls “distortions in portions.” Consider measuring and weighing your food to see how much you really eat.<br /><br /> If measuring isn’t your thing, follow the <em><a href="https://www.myplate.gov/" style="color:#0563c1;text-decoration:underline;"><span style="color:#3498db;">MyPlate Plan</span></a><span style="color:#3498db;"> </span></em>created by the U.S. Department of Agriculture (USDA). It provides a simple and helpful strategy to keep food portions and food choices consistent with the recommended USDA dietary guidelines:</span> <ul><li><span style="font-size:14px;">Using a 9-inch plate, draw an imaginary line down the middle. Divide one of the sections in half. </span></li> <li><span style="font-size:14px;">Fill the largest section (half the plate) with colorful, non-starchy vegetables such as broccoli, green beans, spinach, and carrots.</span></li> <li><span style="font-size:14px;">In a quarter of the plate, add whole grains and starchy foods such as beans, whole-wheat bread, corn, brown rice, or quinoa.</span></li> <li><span style="font-size:14px;">In the other quarter of the plate, add your lean protein such as chicken, fish, low-fat cheese, or tofu.</span></li> </ul><br /><span style="font-size:14px;"><b>3. Find a form of exercise you enjoy</b><br /> Exercise helps keep your heart and muscles healthy and strong. But it can also improve your sleep, stress, and eating choices.<br /><br /> Choose an activity you like — it will motivate you to get moving. Try to remove barriers to your exercise. If you joined a gym, but it’s inconvenient to get there, you might be better off lacing up your sneakers to walk around your neighborhood. Or find free workouts online if your neighborhood isn’t ideal for outdoor exercise. <br /><br /><span style="color:#000000;">The American Diabetes Association recommends 150 minutes or more of moderate-to-vigorous intensity aerobic activity per week. Spread your exercise over at least 3 days a week. Don’t go more than 2 days in a row without activity — regular exercise helps improve and maintain your body’s blood glucose levels. </span><br /><br /><b>4. Reduce stress </b><br /> Reducing stress and managing your mental health is especially important for nurses, who often work in high-stress environments. Unmanaged stress can cause elevated blood sugar levels and make you more likely to engage in unhealthy behaviors (eating poorly, drinking alcohol, smoking).<br /><br /> To relieve your stress, incorporate relaxation exercises daily. Consider meditating or practicing yoga at home to unwind from your day.<br /><br /> Carmina also warns not to leave mental health issues untreated. “Mental health is a major issue in the nursing profession due to burnout and the moral injury we experienced during the pandemic and continue to experience in our profession. If you have <em><a href="https://psychiatry.org/patients-families/depression/what-is-depression" style="color:#0563c1;text-decoration:underline;"><span style="color:#3498db;">symptoms of depression</span></a><span style="color:#3498db;">,</span></em> you need to seek help.”<br /><br /><b>5. Get screened</b><br /> As a nurse, it’s not always easy to practice what you preach. But getting screened for diabetes is essential for everyone, especially if you have risk factors for diabetes, including:</span> <ul><li><span style="font-size:14px;">Age 40 or above</span></li> <li><span style="font-size:14px;">Ethnicity that includes African American, American Indian, Asian American, Hispanic/Latino, or Pacific Islander</span></li> <li><span style="font-size:14px;">Family history of diabetes</span></li> <li><span style="font-size:14px;">Hypertension</span></li> <li><span style="font-size:14px;">Overweight or obesity</span></li> <li><span style="font-size:14px;">Personal history of gestational diabetes</span></li> <li><span style="font-size:14px;">Physical inactivity </span></li> </ul><br /><span style="font-size:14px;">“We need to be screened so that early treatment and preventive measures can happen,” Carmina says. “Many people with diabetes had prediabetes for many years, but it wasn’t diagnosed or diagnosed too late.”<br /><br /><b>Helping Patients Prevent Diabetes</b><br /> Nurses play a critical role in their patients’ diabetes prevention. “As nurses, we work closely with our patients, who see us as trusted messengers,” Carmina says.<br /><br /> Use your time with each patient to learn more about their medical history and the socioeconomic and cultural influences that can impact their health. It will help you tailor your guidance. Carmina recommends that you:</span> <ul><li><span style="font-size:14px;"><b>Find your patient’s motivation:</b> Pay attention during the initial patient assessment. Learn what motivates your patient and leverage that knowledge to help patients set meaningful and achievable health goals. For some, the goal for exercise might not be weight loss but increasing physical endurance — maybe they want to play with their kids or grandkids. </span></li> <li><span style="font-size:14px;"><b>Keep advice simple and positive:</b> Talking about mortality and morbidity is not always effective or motivational when encouraging healthy lifestyle changes. Instead, focus on small, attainable goals — reaching those goals will keep patients on board and confident about targeting bigger changes. </span></li> <li><span style="font-size:14px;"><b>Consider each patient’s culture and living situation:</b> Make sure your recommendations are culturally appropriate. Think about where your patient lives and works and whether they have access to healthy, nutritious food. Suggesting changes that fit their circumstances will help them stick with the plan. </span></li> </ul><br /><span style="font-size:14px;"><b>Managing Diabetes After Diagnosis </b><br /> If your patient is diagnosed with diabetes, they may need help managing it. Guide patients as they incorporate diabetes management into their lifestyle, and make sure they have the appropriate information and skill sets needed, including:</span> <ul><li><span style="font-size:14px;"><b>Problem-solving strategies:</b> People with diabetes face many daily challenges, especially during the holidays — travel and social gatherings can disrupt meal plans and exercise regimens. Help patients develop problem-solving strategies to manage those occasions. For instance, before going to a restaurant, they can look at the menu and nutritional information online to make more informed food choices. Or, during holiday meals like Thanksgiving, they might enjoy one favorite dish but make wise choices for the rest of the meal.</span></li> <li><span style="font-size:14px;"><b>An understanding of diabetes medications:</b> Knowing how diabetes medication helps them can serve as motivation to take it. Reinforce the importance of consistently taking medication as prescribed to improve and maintain glucose control.</span></li> <li><span style="font-size:14px;"><b>Meal planning know-how:</b> Outlining when to eat, which foods to include, and how much to eat can help patients get the nutrition they need while managing their blood sugar. For some patients on insulin, monitoring and counting carbohydrates to match their medication and activity level can significantly improve glucose control.</span></li> <li><span style="font-size:14px;"><b>An exercise and stress management plan:</b> Make a clear, easy-to-understand, measurable, and achievable plan. Encourage patients to write it down. They should share their plan with a significant other and/or their diabetes management team, who can support and help the patient achieve their goal. </span></li> <li><span style="font-size:14px;"><b>Ongoing disease awareness:</b> An important part of managing diabetes is knowing how it’s going. Go over when to monitor blood sugar, weight, cholesterol, and blood pressure. Remind patients that sticking with the plan and keeping up with routine health care appointments (like vision and dental checkups) reduces the chance of surprises. Staying in the know about your diabetes lowers the risk for complications such as stroke and heart attack, kidney failure, amputation, neuropathy, and blindness.</span></li> </ul><br /><span style="font-size:14px;">“We’re not just managing diabetes,” Carmina says. “Diabetes is not a disease that we can treat in isolation because it significantly increases the risk for cardiovascular complications. We are also trying to manage the patient’s cardiovascular risk factors to achieve optimum health outcomes.”<br /><br /> What lifestyle choices do you make and share with your patients for diabetes prevention? We’d love to hear what worked for you. Share with us in our <a href="https://engage.healthynursehealthynation.org/discuss/viewtopic/38/931">discussion</a>.</span><br /><br /><strong style="color:rgb(41,128,185);font-size:14px;">Want to do more? Explore related resources:</strong><br /><span style="font-size:14px;"><a href="/user_content/photos/000/006/6130/f632ba73a52152ace47ed403b77b0133-original-adm_tdhd-01.png" target="_blank"><img alt="f632ba73a52152ace47ed403b77b0133-huge-ad" src="/user_content/photos/000/006/6130/f632ba73a52152ace47ed403b77b0133-huge-adm_tdhd-01.png" style="height:80px;width:80px;float:left;margin:10px;" title="American Diabetes Association - Diabetes Hits Different" /></a></span> <ul><li><span style="font-size:14px;">Try our <a href="https://engage.healthynursehealthynation.org/events/item/33/34">Leveling Your A1C</a> challenge</span></li> <li><span style="font-size:14px;">Read how to <span style="line-height:107%;"><a href="https://engage.healthynursehealthynation.org/blogs/4/3869" style="color:#0563c1;text-decoration:underline;"><span style="background:#FFFFFF;"><span style="color:#009cde;"><span style="text-decoration:none;">Improve Your Blood Sugar Levels To Improve Your Health</span></span></span></a> </span></span></li> <li><span style="font-size:14px;">Learn more about the American Diabetes Association's <a href="http://diabetes.org/hitsdifferent">Diabetes Hits Different campaign</a>.</span></li> </ul><br /><br /><span style="font-size:14px;"><a href="/user_content/photos/000/006/6130/a89eca16101b3afab9106e956078f99c-original-ana-3028-hnhn-5th-anniversary-email-footer.jpg" target="_blank"><img alt="a89eca16101b3afab9106e956078f99c-huge-an" src="/user_content/photos/000/006/6130/a89eca16101b3afab9106e956078f99c-huge-ana-3028-hnhn-5th-anniversary-email-footer.jpg" title="Celebrating 5 Years of HNHN" /></a><br /><br /> Not a member of <a href="http://www.hnhn.org/">Healthy Nurse, Healthy Nation (HNHN)</a> yet? <a href="http://www.hnhn.org/">Join today</a>!<br /> Join our monthly challenges at <a href="http://hnhn.org/challenges">hnhn.org/challenges</a>.</span> </div> </div> <div class="col-12 mt-2"> <div class="d-flex flex-wrap align-items-center text-secondary small generic-option-spacing-2"><!-- ADMIN TOOLS --> <div class="mr-auto"> <span class="generic-option "> Blog <a class="generic-option-link" href="/blogs/4" data-object-id="4" data-object-type="Blogs_Blog" data-option-layout-area="authorMetadata" data-container="body" data-toggle="popover" >Nutrition</a> </span> <span title="" class="generic-option generic-option-text "> 11/10/2022 10:58am CST </span> </div> <div class="ml-auto"> </div> </div> </div> </div> </div> </div> <div class="card-footer py-2"> <div class="row generic-container-btn-sm"> <div class="col-12"> <div class="clearfix"><!-- INTERACT --> <div class="d-flex flex-wrap align-items-center generic-option-spacing-2 small"><!-- ADMIN TOOLS --> <div class="mr-auto"> <span class="generic-option "> <span class="d-none d-sm-inline-block">Added by</span> <a class="generic-option-link" href="/profile/5" data-object-id="5" data-object-type="Users_User" data-option-layout-area="actions" data-container="body" data-toggle="popover" >Holly E Carpenter, RN, BSN</a> </span> </div> <div class="ml-auto"> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div id="module_1_0-3" class="module_container mb-3 " data-module-name="blog_post_comments" data-module-column="1_0" data-module-row="3"> <div class="module wrapped blog_post_comments" id="blog_post_comments_1_0_3"> <header class="module-title d-inline-block w-100"> <h2 id="blog_post_comments_label_1_0_3">Post a Comment or Question</h2> <div class="d-inline-block align-text-bottom float-right"> </div> </header> <section class="module-content" aria-labelledby="blog_post_comments_label_1_0_3"> Be the first to post! </section> </div> </div> </div> <div class="column_generic site_page_column_1 col-lg-4"> <div id="module_1_1-0" class="module_container mb-3 " data-module-name="integration_social_media_buttons" data-module-column="1_1" data-module-row="0"> <div class="site_page_module site_page_social_media_buttons"> <p class="text-center"> <span class="fa-solid fa-share-nodes"></span> Share: </p> <div class="d-flex"> <ul class="socialmediabuttons list-inline mx-auto justify-content-center"> <li class="social_media_block_li list-inline-item" id="facebook_integration_social_media_buttons_1_1_0_https%3A%2F%2Fengage.healthynursehealthynation.org%2Fblogs%2F4%2F4277"> <a href="https://www.facebook.com/sharer.php?u=https%3A%2F%2Fengage.healthynursehealthynation.org%2Fblogs%2F4%2F4277" target="_blank"> <span class="fa-brands fa-3x fa-square-facebook" title="Share this on Facebook"></span> </a> </li> <li class="social_media_block_li list-inline-item" id="twitter_integration_social_media_buttons_1_1_0_https%3A%2F%2Fengage.healthynursehealthynation.org%2Fblogs%2F4%2F4277"> <a href="https://twitter.com/share?url=https%3A%2F%2Fengage.healthynursehealthynation.org%2Fblogs%2F4%2F4277" target="_blank"> <span class="fa-brands fa-3x fa-square-x-twitter" title="Share this on X"></span> </a> </li> <li class="social_media_block_li list-inline-item" id="linkedin_integration_social_media_buttons_1_1_0_https%3A%2F%2Fengage.healthynursehealthynation.org%2Fblogs%2F4%2F4277"> <a href="https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fengage.healthynursehealthynation.org%2Fblogs%2F4%2F4277" target="_blank"> <span class="fa-brands fa-3x fa-linkedin" title="Share this on LinkedIn"></span> </a> </li> <li class="social_media_block_li list-inline-item" id="pinterest_integration_social_media_buttons_1_1_0_https%3A%2F%2Fengage.healthynursehealthynation.org%2Fblogs%2F4%2F4277"> <a href="https://pinterest.com/pin/create/button/?url=https%3A%2F%2Fengage.healthynursehealthynation.org%2Fblogs%2F4%2F4277" target="_blank"> <span class="fa-brands fa-3x fa-pinterest-square" title="Share this on Pinterest"></span> </a> </li> </ul> </div> </div> </div> <div id="module_1_1-2" class="module_container mb-3 " data-module-name="site_page_sblog_info" data-module-column="1_1" data-module-row="2"> <div id="30f4b1ebe6f42f7d149fc9bca222ab25" class="generic-detail-wrapper " data-detail-wrapper="true"> <div class="card p-0 mb-2" data-item-id="4"> <div class="w-100 "> <div class="text-center " style='position: relative;' id="avatar_site_page_sblog_info_1_1_2_4"></div> <div class="p-0 text-center"> </div> </div> <div class="card-body "> <div class="col px-2"> <div class="row"> <div class=" col-sm-12"><!-- Heading --> <div class="d-flex flex-wrap align-items-center justify-content-center text-center "> <h6 data-generic-layout="heading" role="heading" aria-level="" class="generic-option font-weight-bold mb-0 word-break-normal" > Nutrition </h6> </div> <div class="w-100 mb-2"></div> </div> <div class=" col-sm-12"><!-- Sub Heading Actions and Statuses--> <div class="d-flex flex-wrap align-items-center justify-content-center generic-option-spacing generic-option-mb "> <span class="generic-option generic-option-icon generic-option-badge badge badge-info" id="Posts_site_page_sblog_info_1_1_2_4" data-option-layout-area="metabadges"> 42 Posts </span> <span class="generic-option "> <a title="Bloggers" aria-label="Bloggers" class="info pointer pointer generic-option-link fas fa-users" tabindex="0" data-option-name="totalBloggers" data-option-action="getContentList" data-option-success-action="load" data-option-success-target="modal" data-option-object-type="Blogs_Blogger" data-option-item-id="4" data-option-item-type="Blogs_Blog" data-option-layout-area="metabadges" href="javascript:void(0);"></a><span title="7 Bloggers" class="pointer generic-option-link ml-1 badge badge-pill badge-notify-relative" tabindex="0" data-option-name="totalBloggers" data-option-action="getContentList" data-option-success-action="load" data-option-success-target="modal" data-option-object-type="Blogs_Blogger" data-option-item-id="4" data-option-item-type="Blogs_Blog" data-option-layout-area="metabadges" href="javascript:void(0);">7</span> </span> </div> <div class="d-flex flex-wrap align-items-center justify-content-end generic-option-spacing"> <div class="generic-option dropdown dropleft "><a href="#" class="" title="" id="dropdownMenuButton_dropDown_4" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><span class="fas fa-ellipsis-h"></span></a><div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton_dropDown_4"> </div></div> </div> </div> </div> <div class="row"> <div class="col-12"> </div> </div> <div class="row"> <div class="col-12"><!-- TITLE AND CONTENT --> <div data-generic-layout="body" class="generic-body ck-content "> <span style="color:rgb(0,0,0);font-family:Arial;white-space:pre-wrap;">It isn't easy to find time for healthy eating. One average, nurses consume less fruits, veggies, and whole grains than other Americans. This domain covers recommended guidelines for dietary health, managing diet at work, and overcoming barriers to nutrition.</span> </div> </div> <div class="col-12 mt-2"> <div class="d-flex flex-wrap align-items-center text-secondary small generic-option-spacing-2"><!-- ADMIN TOOLS --> <div class="ml-auto"> </div> </div> </div> </div> </div> </div> <div class="card-footer py-2"> <div class="row generic-container-btn-sm"> <div class="col-12"> <div class="clearfix"><!-- INTERACT --> <div class="d-flex flex-wrap align-items-center generic-option-spacing-2 small"><!-- ADMIN TOOLS --> <div class="mr-auto"> <span class="generic-option "> <span class="d-none">Added by</span> <a class="generic-option-link" href="/profile/1" data-object-id="1" data-object-type="Users_User" data-option-layout-area="actions" data-container="body" data-toggle="popover" >Personify</a> </span> </div> <div class="ml-auto"> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div id="module_1_1-4" class="module_container mb-3 " data-module-name="html_custom_block" data-module-column="1_1" data-module-row="4"> <div class="html_block_plain"><script> jQuery(document).ready(function(){ jQuery( ".site_page_social_media_buttons" ).closest(".module_container").addClass( "social_media" ); }); </script></div> </div> <div id="module_1_1-5" class="module_container mb-3 " data-module-name="integration_social_media_buttons" data-module-column="1_1" data-module-row="5"> <div class="site_page_module site_page_social_media_buttons"> <p class="text-center"> <span class="fa-solid fa-share-nodes"></span> Share: </p> <div class="d-flex"> <ul class="socialmediabuttons list-inline mx-auto justify-content-center"> <li class="social_media_block_li list-inline-item" id="facebook_integration_social_media_buttons_1_1_5_https%3A%2F%2Fengage.healthynursehealthynation.org%2Fblogs%2F4%2F4277"> <a href="https://www.facebook.com/sharer.php?u=https%3A%2F%2Fengage.healthynursehealthynation.org%2Fblogs%2F4%2F4277" target="_blank"> <span class="fa-brands fa-3x fa-square-facebook" title="Share this on Facebook"></span> </a> </li> <li class="social_media_block_li list-inline-item" id="twitter_integration_social_media_buttons_1_1_5_https%3A%2F%2Fengage.healthynursehealthynation.org%2Fblogs%2F4%2F4277"> <a href="https://twitter.com/share?url=https%3A%2F%2Fengage.healthynursehealthynation.org%2Fblogs%2F4%2F4277" target="_blank"> <span class="fa-brands fa-3x fa-square-x-twitter" title="Share this on X"></span> </a> </li> <li class="social_media_block_li list-inline-item" id="linkedin_integration_social_media_buttons_1_1_5_https%3A%2F%2Fengage.healthynursehealthynation.org%2Fblogs%2F4%2F4277"> <a href="https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fengage.healthynursehealthynation.org%2Fblogs%2F4%2F4277" target="_blank"> <span class="fa-brands fa-3x fa-linkedin" title="Share this on LinkedIn"></span> </a> </li> </ul> </div> </div> </div> <div id="module_1_1-6" class="module_container mb-3 " data-module-name="html_custom_block" data-module-column="1_1" data-module-row="6"> <div class="html_block_plain"><br /> <br /> <a href="https://ebiz.nursingworld.org/PersonifyEbusiness/Default.aspx?TabID=1483&returnurl=https://ebiz.nursingworld.org/SSO/Login.aspx?vi=26&vt=805aa36547a8a23d2784492a7beb3d5d66ac84e0f85d8cf3ee291731eb53017e747768c38022a5819510e1dc5aa7d5ac264da5147fbce0dc14a5b4600447d5ab22aa33899075b77cbb31864b0567e48c&r=SWL&L=SWL&SkinSrc=[G]Skins/ANASWL/HNHN" target="_blank"><img src="/user_content/photos/000/000/458/5aaefd7c3d9c0d82ab4f92770a73b8c1-huge-ana-hnhn-gc-launch-facebookembedded-470x246-eyedea.jpg" title="FBLaunch" /></a><br /> <br /> <a href="https://engage.healthynursehealthynation.org/events"><em><span style="font-size:16px;"><strong><span style="color:#3498db;">Join one of our upcoming challenges here.</span></strong></span></em></a></div> </div> <div id="module_1_1-7" class="module_container mb-3 " data-module-name="html_custom_block" data-module-column="1_1" data-module-row="7"> <div class="html_block_plain"><br /> <meta property=”og:image” content=”https://static.smallworldlabs.com/hnhn/content/ana/social/Nuitrition.png” /><meta name=”twitter:title” content=”Healthy Nurse, Healthy Nation” /><meta name=”twitter:description” content=”I made a commitment to be a #HealthyNurse. Will you join me?” /><meta name=”twitter:url” content=”https://engage.healthynursehealthynation.org/blogs/13” /><meta name=”twitter:image” content=”https://static.smallworldlabs.com/hnhn/content/ana/social/Nuitrition.png” /></div> </div> </div> </div> <div class="row"> <div class="column_generic site_page_column_0 col"> </div> </div> </div> <div class="site_page_footer" role="contentinfo"> <div class="container"> <div id="module_f-1" class="module_container " data-module-name="html_custom_block" data-module-column="f" data-module-row="1"> <div class="html_block_plain"><footer class="footWrapper"> <div class="foot-top"> <div class="footInner"> <div class="foot50"> <div class="footLogo"><a href="http://www.nursingworld.org/" target="_blank"><img alt="*" class="logoFull" src="/content/ana/footer-enterprise-logo-lockup_v2.png" /></a></div> </div> <div class="foot50"> <div class="foot50"> <h5 class="foot-title">About</h5> <ul class="footLinks"> <li><a href="http://www.healthynursehealthynation.org/en/about/about-the-hnhn-gc/">About the HNHN GC</a></li> <li><a href="http://www.healthynursehealthynation.org/en/about/what-is-a-grand-challenge/">What is a Grand Challenge?</a></li> <li><a href="http://www.healthynursehealthynation.org/en/about/research/">Research</a></li> <li><a href="http://www.healthynursehealthynation.org/en/about/steering-committee-advisory-board/">Steering Committee & Advisory Board</a></li> </ul> </div> <div class="foot50"> <h5 class="foot-title">Partners</h5> <ul class="footLinks"> <li><a href="http://www.healthynursehealthynation.org/en/partners/our-partners/" target="_blank">Our Partners</a></li> <li><a href="http://www.healthynursehealthynation.org/en/partners/partners-a-partner/">Become a Partner</a></li> <li><a href="http://www.healthynursehealthynation.org/en/partners/OrganizationalPartnersApplication/">Organizational Partners Application</a></li> </ul> </div> </div> </div> </div> <div class="foot-mid"> <div class="footInner"> <div class="foot30 border-right"> <h5 class="foot-title">Healthy Nurse, Healthy Nation</h5> <p>4 Million Registered Nurses Leading the Nation's Journey to Better Health</p> <button class="foot-button" onclick=" window.open('https://www.healthynursehealthynation.org/', '_blank'); return false;">Learn More</button></div> <div class="foot30 border-right padding-left"> <h5 class="foot-title">Contact Us</h5> <ul class="footAddress"> <li><a class="tel-number" href="tel:1 (800) 274-4ANA">1 (800) 274-4ANA</a></li> <li><a href="mailto:healthynurse@ana.org">healthynurse@ana.org</a></li> <li> </li> <li>American Nurses Association</li> <li>8515 Georgia Ave. Suite 400</li> <li>Silver Spring, Maryland 20910</li> </ul> </div> <div class="foot30 padding-left"> <h5 class="foot-title">Support Our Charitable Work</h5> <p>The American Nurses Foundation helps nurses improve the lives of patients and their families - locally, nationally, and internationally.</p> <button class="foot-button" onclick=" window.open('https://www.givedirect.org/donate/?cid=1680', '_blank'); return false;">Donate</button></div> </div> </div> <div class="foot-bottom"> <div class="footInner"> <ul class="socialList"> <li><a href="https://twitter.com/hashtag/healthynurse" target="_blank">#healthynurse</a></li> <li><a href="https://www.facebook.com/groups/healthynursehealthynation/" target="_blank"><img src="../../content/ana/facebook.png" /></a></li> <li><a href="https://twitter.com/healthynurseusa" target="_blank"><img src="../../content/ana/twitter.png" /></a></li> <li><a href="https://www.instagram.com/healthynurseusa/" target="_blank"><img src="../../content/ana/instagram.png" /></a></li> <li><a href="https://www.linkedin.com/groups/8314297/profile" target="_blank"><img src="../../content/ana/linkedin.png" /></a></li> </ul> <ul class="copyright"> <li class="border-right"><a href="/site-policies" target="_blank">Site Policies</a></li> <li class="border-right"><a href="https://www.nursingworld.org/contact-us/copyright-permission/" target="_blank">Copyright Policy</a></li> <li>© 2023 the American Nurses Association All rights reserved</li> </ul> </div> </div> </footer> <script> //Winston Edit - Appending the parameters on the end of the login url for Todd jQuery('.icon.login a').attr('href', function() { return this.href + '&r=SWL&L=SWL'; }); /* Replace XXUSERIDXX in the Survey Monkey Link to the User_id of the logged in user */ if (typeof document.SWCUser != 'undefined' && typeof document.SWCUser.user_id != 'undefined') { let swc_user_id = document.SWCUser.user_id; jQuery("div[aria-labelledby='navbarDropdown_1'] a:first, #surveyQuickLink, p.lead a[href*='XXUSERIDXX']").attr("href", function() { if(this.href.indexOf("XXUSERIDXX") >= 0) { return this.href.replace(/XXUSERIDXX/g, swc_user_id) } }); } else { console.warn("No user_id found"); } </script> <style type="text/css">.text-secondary { color: #777777 !important; } </style> </div> </div> <div id="module_f-2" class="module_container " data-module-name="html_custom_block" data-module-column="f" data-module-row="2"> <div class="html_block_plain"><br class="hide" /> <script src="/content/swl/logged-out.js"></script></div> </div> <div id="module_f-3" class="module_container " data-module-name="html_custom_block" data-module-column="f" data-module-row="3"> <div class="html_block_plain"><style type="text/css">text-secondary { color: #777777 !important; } </style> </div> </div> <div class="blockspacer"></div> </div> </div> <script type="text/javascript"> //<![CDATA[ jQuery(document).ready(function() { let docHeight = jQuery(window).height(); let footerHeight = jQuery('.site_page_footer').height(); let footerTop = jQuery('.site_page_footer').position().top + footerHeight; if (footerTop < docHeight) { jQuery('.site_page_footer').css('margin-top', 10 + (docHeight - footerTop) + 'px'); } }); //]]> </script> </div> <script src="/content/swl/global.js"></script> <script type="text/javascript"> jQuery('#module_s-0').ready(function() { jQuery('#module_s-0').on('click', '.clickable_card', function(e) { var clicked = jQuery(e.target); var item = clicked.closest('div.card:not(.card-overlay)'); if (typeof item !== 'undefined' && item.length > 0) { var heading = item.find('[data-generic-layout="heading"] a'); if (typeof heading !== 'undefined' && heading.length > 0) { document.location.href = jQuery(heading).attr('href'); } if (typeof item.data('item-href') !== 'undefined') { document.location.href = item.data('item-href'); } } }); jQuery('#module_s-0').on('click keyup', '.generic-option-plugin, .generic-option-badge, .generic-option-button, .generic-option-link', function(e) { e.stopPropagation(); var keycode = (e.keyCode ? e.keyCode : e.which); if (e.type == 'click' || (e.type == 'keyup' && keycode == 13)) { var optionData = jQuery(this).data(); if (typeof optionData.toggle !== 'undefined') { if (typeof optionData.target !== 'undefined') { if (jQuery('#' + optionData.target).hasClass('modal')) { jQuery('#' + optionData.target).modal('show'); } else { let target = jQuery('#' + optionData.target); if (typeof optionData.targetLocation !== 'undefined') { let targetLocation = jQuery(this).closest(optionData.targetLocation); targetLocation.after(target); // once the target has been successfully moved, remove associated data jQuery(this).removeData("targetLocation").removeAttr("data-target-location"); } target.toggle() if (typeof optionData.targetFocus !== 'undefined' && optionData.targetFocus === true) { target.find(":focusable:first").focus(); } } } else if (jQuery(this).hasClass('dropdown-toggle')) { jQuery(this).dropdown('toggle'); } // Do not want to call ajax again since content has already been built return true; } if (jQuery(this).hasClass('dropdown-item')) { var dropDown = jQuery(this).closest('.dropdown').find('[data-toggle="dropdown"]'); if (typeof dropDown !== 'undefined' && dropDown.length > 0) { dropDown.dropdown('toggle'); } } if (typeof optionData.optionConfirm !== 'undefined' && !confirm(optionData.optionConfirm)) { return false; } //if optionCallback if (typeof optionData.optionCallback !== 'undefined' && optionData.optionCallback) { var callBack = optionData.optionCallback + '_s_0'; if (typeof window[callBack] == 'function') { return window[callBack](jQuery(this)); } } if (typeof optionData.optionExtra !== 'undefined' && optionData.optionExtra) { return false; } if (typeof optionData.optionAction !== 'undefined' && optionData.optionAction.length > 0) { var ajaxParams = { page_id:'9999', mCell:'s', mId:'0', module:'layout_header', method:'actionHandler', format:'json', site_page_id:'301', optionAction: optionData.optionAction, optionLayoutArea: optionData.optionLayoutArea }; var successAction = ''; var successTarget = ''; var successMessage = ''; var linkedElement = ''; if (typeof optionData.optionSuccessAction != 'undefined') { successAction = optionData.optionSuccessAction; if (typeof optionData.optionSuccessTarget != 'undefined') { successTarget = optionData.optionSuccessTarget; } if (typeof optionData.optionSuccessMessage !== 'undefined') { successMessage = optionData.optionSuccessMessage; } if (typeof optionData.optionSuccessLinkedElement !== 'undefined') { linkedElement = optionData.optionSuccessLinkedElement; } var additionalAjaxParams = swljs_ajax_generate_params(successAction, successTarget, successMessage); ajaxParams = Object.assign(ajaxParams, additionalAjaxParams); } if (typeof optionData.optionAction !== 'undefined' && optionData.optionAction == 'getContentList') { ajaxParams.template = 'generic_list'; } if (typeof optionData.optionItemId !== 'undefined') { ajaxParams.itemId = optionData.optionItemId; } if (typeof optionData.optionGroupId !== 'undefined') { ajaxParams.group_id = optionData.optionGroupId; } if (typeof optionData.optionItemType !== 'undefined') { ajaxParams.itemType = optionData.optionItemType; } if (typeof optionData.optionObjectId !== 'undefined') { ajaxParams.objectId = optionData.optionObjectId; } if (typeof optionData.optionObjectType !== 'undefined') { ajaxParams.objectType = optionData.optionObjectType; } if (typeof optionData.optionPluginName !== 'undefined') { ajaxParams.pluginName = optionData.optionPluginName; } if (typeof optionData.optionForm !== 'undefined') { if(successTarget == 'modal') { ajaxParams.template = 'generic_modal_form'; } else { ajaxParams.template = 'generic_form'; } ajaxParams.genericForm = true; } var options = {}; var optionPrefix = "optionOptions"; for (var property in optionData) { // additional data parameters should match format 'data-option-options-{Additional Parameter Id}' if (property.length > (optionPrefix.length + 1) && property.indexOf(optionPrefix) === 0 && typeof optionData[property] !== undefined) { var optionLabel = property.charAt(optionPrefix.length).toLowerCase() + property.slice(optionPrefix.length + 1); if (optionLabel.indexOf('success') === 0) { if (typeof options['success'] === 'undefined') { options['success'] = {}; } optionLabel = optionLabel.charAt(7).toLowerCase() + optionLabel.slice(8); options['success'][optionLabel] = optionData[property]; } else { options[optionLabel] = optionData[property]; } } } if (typeof optionData.optionCke !== 'undefined' && jQuery('#' + optionData.optionCke).length && typeof jQuery('#' + optionData.optionCke)[0].ckeditorInstance !== 'undefined') { options.ckedata = encodeURIComponent(jQuery('#' + optionData.optionCke)[0].ckeditorInstance.getData()); options.user_mentions = jQuery('#' + optionData.optionCke).find('a.mentioned-user').map(function () { return jQuery(this).data('userid'); }).get().join(','); } ajaxParams.options = JSON.stringify(options); var ajaxOptions = { url: window.location.href, beforeSend:function(jqXHR) { }, complete:function() { }, successPreCallback: function(returnedData) { }, successPostCallback: function(returnedData) { if (typeof optionData.optionCke !== "undefined") { jQuery('#' + optionData.optionCke)[0].ckeditorInstance.setData(''); } var elem = jQuery(e.target); if (!elem.hasClass('.generic-option')) { elem = elem.closest('.generic-option'); } swljs_ajax_refresh(successAction, successTarget, jQuery(e.target), returnedData, linkedElement); } }; if (typeof additionalAjaxParams !== 'undefined' && typeof additionalAjaxParams.paginator !== 'undefined') { ajaxOptions.paginator = jQuery(e.target).closest('div.module_container').find('div[data-list-wrapper="true"]').data('jsPaginator'); } ajaxOptions.loadingOverlayEnabled = true; jQuery('#module_s-0').swljs_ajax(ajaxParams,ajaxOptions); } else if (typeof optionData.optionUrl !== 'undefined' && optionData.optionUrl.length > 0) { if (optionData.optionName == 'externalLink') { jQuery('#module_s-0').swljs_ajax({ page_id:9999, mCell:'s', mId:'0', module:'layout_header', method:'actionHandler', format:'json', site_page_id:'301', optionAction:'logTracking', objectId:optionData.optionObjectId, objectType:optionData.optionObjectType }, {}); let tempA = document.createElement('a'); tempA.target='_blank'; tempA.href=optionData.optionUrl; tempA.click(); } else { location.href = optionData.optionUrl; } } } }); jQuery('#module_s-0').on('click', '.generic-preview-toggle', function(e) { e.stopPropagation(); let parts = this.id.split('_'); let hiddenElement = jQuery('#' + parts[0] + '_' + parts[1]); let activeElement = jQuery('#' + ((parts[0] === 'preview') ? 'content_' : 'preview_') + parts[1]); activeElement.hide(); hiddenElement.find('[aria-expanded]').attr('aria-expanded', false); hiddenElement.show().find(':focusable:first').focus(); this.setAttribute('aria-expanded', true); }); }); </script> <script type="text/javascript"> jQuery('#module_1_0-0').ready(function() { jQuery('#module_1_0-0').on('click', '.clickable_card', function(e) { var clicked = jQuery(e.target); var item = clicked.closest('div.card:not(.card-overlay)'); if (typeof item !== 'undefined' && item.length > 0) { var heading = item.find('[data-generic-layout="heading"] a'); if (typeof heading !== 'undefined' && heading.length > 0) { document.location.href = jQuery(heading).attr('href'); } if (typeof item.data('item-href') !== 'undefined') { document.location.href = item.data('item-href'); } } }); jQuery('#module_1_0-0').on('click keyup', '.generic-option-plugin, .generic-option-badge, .generic-option-button, .generic-option-link', function(e) { e.stopPropagation(); var keycode = (e.keyCode ? e.keyCode : e.which); if (e.type == 'click' || (e.type == 'keyup' && keycode == 13)) { var optionData = jQuery(this).data(); if (typeof optionData.toggle !== 'undefined') { if (typeof optionData.target !== 'undefined') { if (jQuery('#' + optionData.target).hasClass('modal')) { jQuery('#' + optionData.target).modal('show'); } else { let target = jQuery('#' + optionData.target); if (typeof optionData.targetLocation !== 'undefined') { let targetLocation = jQuery(this).closest(optionData.targetLocation); targetLocation.after(target); // once the target has been successfully moved, remove associated data jQuery(this).removeData("targetLocation").removeAttr("data-target-location"); } target.toggle() if (typeof optionData.targetFocus !== 'undefined' && optionData.targetFocus === true) { target.find(":focusable:first").focus(); } } } else if (jQuery(this).hasClass('dropdown-toggle')) { jQuery(this).dropdown('toggle'); } // Do not want to call ajax again since content has already been built return true; } if (jQuery(this).hasClass('dropdown-item')) { var dropDown = jQuery(this).closest('.dropdown').find('[data-toggle="dropdown"]'); if (typeof dropDown !== 'undefined' && dropDown.length > 0) { dropDown.dropdown('toggle'); } } if (typeof optionData.optionConfirm !== 'undefined' && !confirm(optionData.optionConfirm)) { return false; } //if optionCallback if (typeof optionData.optionCallback !== 'undefined' && optionData.optionCallback) { var callBack = optionData.optionCallback + '_1_0_0'; if (typeof window[callBack] == 'function') { return window[callBack](jQuery(this)); } } if (typeof optionData.optionExtra !== 'undefined' && optionData.optionExtra) { return false; } if (typeof optionData.optionAction !== 'undefined' && optionData.optionAction.length > 0) { var ajaxParams = { page_id:'9999', mCell:'1_0', mId:'0', module:'layout_breadcrumbs', method:'actionHandler', format:'json', site_page_id:'301', optionAction: optionData.optionAction, optionLayoutArea: optionData.optionLayoutArea }; var successAction = ''; var successTarget = ''; var successMessage = ''; var linkedElement = ''; if (typeof optionData.optionSuccessAction != 'undefined') { successAction = optionData.optionSuccessAction; if (typeof optionData.optionSuccessTarget != 'undefined') { successTarget = optionData.optionSuccessTarget; } if (typeof optionData.optionSuccessMessage !== 'undefined') { successMessage = optionData.optionSuccessMessage; } if (typeof optionData.optionSuccessLinkedElement !== 'undefined') { linkedElement = optionData.optionSuccessLinkedElement; } var additionalAjaxParams = swljs_ajax_generate_params(successAction, successTarget, successMessage); ajaxParams = Object.assign(ajaxParams, additionalAjaxParams); } if (typeof optionData.optionAction !== 'undefined' && optionData.optionAction == 'getContentList') { ajaxParams.template = 'generic_list'; } if (typeof optionData.optionItemId !== 'undefined') { ajaxParams.itemId = optionData.optionItemId; } if (typeof optionData.optionGroupId !== 'undefined') { ajaxParams.group_id = optionData.optionGroupId; } if (typeof optionData.optionItemType !== 'undefined') { ajaxParams.itemType = optionData.optionItemType; } if (typeof optionData.optionObjectId !== 'undefined') { ajaxParams.objectId = optionData.optionObjectId; } if (typeof optionData.optionObjectType !== 'undefined') { ajaxParams.objectType = optionData.optionObjectType; } if (typeof optionData.optionPluginName !== 'undefined') { ajaxParams.pluginName = optionData.optionPluginName; } if (typeof optionData.optionForm !== 'undefined') { if(successTarget == 'modal') { ajaxParams.template = 'generic_modal_form'; } else { ajaxParams.template = 'generic_form'; } ajaxParams.genericForm = true; } var options = {}; var optionPrefix = "optionOptions"; for (var property in optionData) { // additional data parameters should match format 'data-option-options-{Additional Parameter Id}' if (property.length > (optionPrefix.length + 1) && property.indexOf(optionPrefix) === 0 && typeof optionData[property] !== undefined) { var optionLabel = property.charAt(optionPrefix.length).toLowerCase() + property.slice(optionPrefix.length + 1); if (optionLabel.indexOf('success') === 0) { if (typeof options['success'] === 'undefined') { options['success'] = {}; } optionLabel = optionLabel.charAt(7).toLowerCase() + optionLabel.slice(8); options['success'][optionLabel] = optionData[property]; } else { options[optionLabel] = optionData[property]; } } } if (typeof optionData.optionCke !== 'undefined' && jQuery('#' + optionData.optionCke).length && typeof jQuery('#' + optionData.optionCke)[0].ckeditorInstance !== 'undefined') { options.ckedata = encodeURIComponent(jQuery('#' + optionData.optionCke)[0].ckeditorInstance.getData()); options.user_mentions = jQuery('#' + optionData.optionCke).find('a.mentioned-user').map(function () { return jQuery(this).data('userid'); }).get().join(','); } ajaxParams.options = JSON.stringify(options); var ajaxOptions = { url: window.location.href, beforeSend:function(jqXHR) { }, complete:function() { }, successPreCallback: function(returnedData) { }, successPostCallback: function(returnedData) { if (typeof optionData.optionCke !== "undefined") { jQuery('#' + optionData.optionCke)[0].ckeditorInstance.setData(''); } var elem = jQuery(e.target); if (!elem.hasClass('.generic-option')) { elem = elem.closest('.generic-option'); } swljs_ajax_refresh(successAction, successTarget, jQuery(e.target), returnedData, linkedElement); } }; if (typeof additionalAjaxParams !== 'undefined' && typeof additionalAjaxParams.paginator !== 'undefined') { ajaxOptions.paginator = jQuery(e.target).closest('div.module_container').find('div[data-list-wrapper="true"]').data('jsPaginator'); } ajaxOptions.loadingOverlayEnabled = true; jQuery('#module_1_0-0').swljs_ajax(ajaxParams,ajaxOptions); } else if (typeof optionData.optionUrl !== 'undefined' && optionData.optionUrl.length > 0) { if (optionData.optionName == 'externalLink') { jQuery('#module_1_0-0').swljs_ajax({ page_id:9999, mCell:'1_0', mId:'0', module:'layout_breadcrumbs', method:'actionHandler', format:'json', site_page_id:'301', optionAction:'logTracking', objectId:optionData.optionObjectId, objectType:optionData.optionObjectType }, {}); let tempA = document.createElement('a'); tempA.target='_blank'; tempA.href=optionData.optionUrl; tempA.click(); } else { location.href = optionData.optionUrl; } } } }); jQuery('#module_1_0-0').on('click', '.generic-preview-toggle', function(e) { e.stopPropagation(); let parts = this.id.split('_'); let hiddenElement = jQuery('#' + parts[0] + '_' + parts[1]); let activeElement = jQuery('#' + ((parts[0] === 'preview') ? 'content_' : 'preview_') + parts[1]); activeElement.hide(); hiddenElement.find('[aria-expanded]').attr('aria-expanded', false); hiddenElement.show().find(':focusable:first').focus(); this.setAttribute('aria-expanded', true); }); }); </script> <script type="text/javascript"> jQuery('#module_1_0-1').ready(function() { jQuery('#module_1_0-1').on('click', '.clickable_card', function(e) { var clicked = jQuery(e.target); var item = clicked.closest('div.card:not(.card-overlay)'); if (typeof item !== 'undefined' && item.length > 0) { var heading = item.find('[data-generic-layout="heading"] a'); if (typeof heading !== 'undefined' && heading.length > 0) { document.location.href = jQuery(heading).attr('href'); } if (typeof item.data('item-href') !== 'undefined') { document.location.href = item.data('item-href'); } } }); jQuery('#module_1_0-1').on('click keyup', '.generic-option-plugin, .generic-option-badge, .generic-option-button, .generic-option-link', function(e) { e.stopPropagation(); var keycode = (e.keyCode ? e.keyCode : e.which); if (e.type == 'click' || (e.type == 'keyup' && keycode == 13)) { var optionData = jQuery(this).data(); if (typeof optionData.toggle !== 'undefined') { if (typeof optionData.target !== 'undefined') { if (jQuery('#' + optionData.target).hasClass('modal')) { jQuery('#' + optionData.target).modal('show'); } else { let target = jQuery('#' + optionData.target); if (typeof optionData.targetLocation !== 'undefined') { let targetLocation = jQuery(this).closest(optionData.targetLocation); targetLocation.after(target); // once the target has been successfully moved, remove associated data jQuery(this).removeData("targetLocation").removeAttr("data-target-location"); } target.toggle() if (typeof optionData.targetFocus !== 'undefined' && optionData.targetFocus === true) { target.find(":focusable:first").focus(); } } } else if (jQuery(this).hasClass('dropdown-toggle')) { jQuery(this).dropdown('toggle'); } // Do not want to call ajax again since content has already been built return true; } if (jQuery(this).hasClass('dropdown-item')) { var dropDown = jQuery(this).closest('.dropdown').find('[data-toggle="dropdown"]'); if (typeof dropDown !== 'undefined' && dropDown.length > 0) { dropDown.dropdown('toggle'); } } if (typeof optionData.optionConfirm !== 'undefined' && !confirm(optionData.optionConfirm)) { return false; } //if optionCallback if (typeof optionData.optionCallback !== 'undefined' && optionData.optionCallback) { var callBack = optionData.optionCallback + '_1_0_1'; if (typeof window[callBack] == 'function') { return window[callBack](jQuery(this)); } } if (typeof optionData.optionExtra !== 'undefined' && optionData.optionExtra) { return false; } if (typeof optionData.optionAction !== 'undefined' && optionData.optionAction.length > 0) { var ajaxParams = { page_id:'9999', mCell:'1_0', mId:'1', module:'blog_blog_post_with_photos', method:'actionHandler', format:'json', site_page_id:'301', optionAction: optionData.optionAction, optionLayoutArea: optionData.optionLayoutArea }; var successAction = ''; var successTarget = ''; var successMessage = ''; var linkedElement = ''; if (typeof optionData.optionSuccessAction != 'undefined') { successAction = optionData.optionSuccessAction; if (typeof optionData.optionSuccessTarget != 'undefined') { successTarget = optionData.optionSuccessTarget; } if (typeof optionData.optionSuccessMessage !== 'undefined') { successMessage = optionData.optionSuccessMessage; } if (typeof optionData.optionSuccessLinkedElement !== 'undefined') { linkedElement = optionData.optionSuccessLinkedElement; } var additionalAjaxParams = swljs_ajax_generate_params(successAction, successTarget, successMessage); ajaxParams = Object.assign(ajaxParams, additionalAjaxParams); } if (typeof optionData.optionAction !== 'undefined' && optionData.optionAction == 'getContentList') { ajaxParams.template = 'generic_list'; } if (typeof optionData.optionItemId !== 'undefined') { ajaxParams.itemId = optionData.optionItemId; } if (typeof optionData.optionGroupId !== 'undefined') { ajaxParams.group_id = optionData.optionGroupId; } if (typeof optionData.optionItemType !== 'undefined') { ajaxParams.itemType = optionData.optionItemType; } if (typeof optionData.optionObjectId !== 'undefined') { ajaxParams.objectId = optionData.optionObjectId; } if (typeof optionData.optionObjectType !== 'undefined') { ajaxParams.objectType = optionData.optionObjectType; } if (typeof optionData.optionPluginName !== 'undefined') { ajaxParams.pluginName = optionData.optionPluginName; } if (typeof optionData.optionForm !== 'undefined') { if(successTarget == 'modal') { ajaxParams.template = 'generic_modal_form'; } else { ajaxParams.template = 'generic_form'; } ajaxParams.genericForm = true; } var options = {}; var optionPrefix = "optionOptions"; for (var property in optionData) { // additional data parameters should match format 'data-option-options-{Additional Parameter Id}' if (property.length > (optionPrefix.length + 1) && property.indexOf(optionPrefix) === 0 && typeof optionData[property] !== undefined) { var optionLabel = property.charAt(optionPrefix.length).toLowerCase() + property.slice(optionPrefix.length + 1); if (optionLabel.indexOf('success') === 0) { if (typeof options['success'] === 'undefined') { options['success'] = {}; } optionLabel = optionLabel.charAt(7).toLowerCase() + optionLabel.slice(8); options['success'][optionLabel] = optionData[property]; } else { options[optionLabel] = optionData[property]; } } } if (typeof optionData.optionCke !== 'undefined' && jQuery('#' + optionData.optionCke).length && typeof jQuery('#' + optionData.optionCke)[0].ckeditorInstance !== 'undefined') { options.ckedata = encodeURIComponent(jQuery('#' + optionData.optionCke)[0].ckeditorInstance.getData()); options.user_mentions = jQuery('#' + optionData.optionCke).find('a.mentioned-user').map(function () { return jQuery(this).data('userid'); }).get().join(','); } ajaxParams.options = JSON.stringify(options); var ajaxOptions = { url: window.location.href, beforeSend:function(jqXHR) { }, complete:function() { }, successPreCallback: function(returnedData) { }, successPostCallback: function(returnedData) { if (typeof optionData.optionCke !== "undefined") { jQuery('#' + optionData.optionCke)[0].ckeditorInstance.setData(''); } var elem = jQuery(e.target); if (!elem.hasClass('.generic-option')) { elem = elem.closest('.generic-option'); } swljs_ajax_refresh(successAction, successTarget, jQuery(e.target), returnedData, linkedElement); } }; if (typeof additionalAjaxParams !== 'undefined' && typeof additionalAjaxParams.paginator !== 'undefined') { ajaxOptions.paginator = jQuery(e.target).closest('div.module_container').find('div[data-list-wrapper="true"]').data('jsPaginator'); } ajaxOptions.loadingOverlayEnabled = true; jQuery('#module_1_0-1').swljs_ajax(ajaxParams,ajaxOptions); } else if (typeof optionData.optionUrl !== 'undefined' && optionData.optionUrl.length > 0) { if (optionData.optionName == 'externalLink') { jQuery('#module_1_0-1').swljs_ajax({ page_id:9999, mCell:'1_0', mId:'1', module:'blog_blog_post_with_photos', method:'actionHandler', format:'json', site_page_id:'301', optionAction:'logTracking', objectId:optionData.optionObjectId, objectType:optionData.optionObjectType }, {}); let tempA = document.createElement('a'); tempA.target='_blank'; tempA.href=optionData.optionUrl; tempA.click(); } else { location.href = optionData.optionUrl; } } } }); jQuery('#module_1_0-1').on('click', '.generic-preview-toggle', function(e) { e.stopPropagation(); let parts = this.id.split('_'); let hiddenElement = jQuery('#' + parts[0] + '_' + parts[1]); let activeElement = jQuery('#' + ((parts[0] === 'preview') ? 'content_' : 'preview_') + parts[1]); activeElement.hide(); hiddenElement.find('[aria-expanded]').attr('aria-expanded', false); hiddenElement.show().find(':focusable:first').focus(); this.setAttribute('aria-expanded', true); }); }); </script> <script type="text/javascript"> jQuery('#module_1_0-1').ready(function() { var timer; jQuery('#module_1_0-1').on({mouseenter: function(e) { // Wait 1 second before doing hover action timer = setTimeout(function() { var elem = jQuery(e.target); if (typeof elem.data('objectId') === 'undefined' && typeof elem.parent().data('objectId') !== 'undefined') { elem = elem.parent(); } // don't show popover if link itself is in modal, already popover opened, or explicitly disabled if (elem.data('hasPopover') || jQuery(elem).parents('.modal-dialog').length > 0 || elem.data('disableHoverOverlay')) { // Do not support popover or already have loaded it return false; } var objectId = elem.data('objectId'); var objectType = elem.data('objectType'); if (typeof objectId === 'undefined' || typeof objectType === 'undefined') { return false; } var options = {}; var optionPrefix = "optionOptions"; var optionData = elem.data(); for (var property in optionData) { // additional data parameters should match format 'data-option-options-{Additional Parameter Id}' if (property.length > (optionPrefix.length + 1) && property.indexOf(optionPrefix) === 0 && typeof optionData[property] !== undefined) { var optionLabel = property.charAt(optionPrefix.length).toLowerCase() + property.slice(optionPrefix.length + 1); if (optionLabel.indexOf('success') === 0) { if (typeof options['success'] === 'undefined') { options['success'] = {}; } optionLabel = optionLabel.charAt(7).toLowerCase() + optionLabel.slice(8); options['success'][optionLabel] = optionData[property]; } else { options[optionLabel] = optionData[property]; } } } var ajaxParams = { page_id:'9999', mCell:'1_0', mId:'1', module:'blog_blog_post_with_photos', method:'actionHandler', format:'json', site_page_id:'301', optionAction: 'popover', objectType: objectType, objectId: objectId, template: 'generic_popover' }; ajaxParams.options = JSON.stringify(options); var ajaxOptions = { url: window.location.href, successPostCallback: function (returnedData) { if (typeof returnedData !== 'undefined' && typeof returnedData.data !== 'undefined') { elem.data('hasPopover', 1); var options = {}; options.content = decodeURIComponent(returnedData.data); options.html = true; //required in popover as the HTML gets stripped out completely options.sanitize = false; options.trigger = 'manual'; options.container = elem.closest('div[data-module-name]'); options.template = '<div class="popover swl_popover" role="tooltip"><div class="arrow"></div><div class="popover-body"></div></div>'; // Show / hide popover based on hover of the popover itself vs original element elem.popover(options).on('mouseenter', function () { var popover = this; jQuery(this).popover('show'); jQuery('.popover.swl_popover').on('mouseleave', function () { jQuery(popover).popover('hide'); }); }).on('mouseleave', function () { var popover = this; setTimeout(function () { if (!jQuery('.popover.swl_popover:hover').length) { jQuery(popover).popover('hide'); } }, 150); }).on('hide.bs.popover', function () { var popoverDiv = jQuery(elem.data('bs.popover').getTipElement()); elem.data('bs.popover').config.content = popoverDiv.find('div.generic-detail-popover'); }); elem.trigger('mouseenter'); } } }; // Build popover jQuery('#module_1_0-1').swljs_ajax(ajaxParams,ajaxOptions); }, 150); }, mouseleave: function(e) { clearTimeout(timer); } }, '.generic-option-plugin, .generic-option-badge, .generic-option-button, .generic-option-link'); }); </script> <script type='text/javascript'> //<![CDATA[ var browsePhotos_1_0_1 = (function() { jQuery('#module_1_0-1').on('click', '#avatar_blog_blog_post_with_photos_1_0_1_4277', function(e) { var avatar = jQuery(e.target).closest('div.text-center'); if (!(avatar.hasClass('pointer')) || avatar.hasClass('embed-responsive')) { return false; } if (!jQuery(e.target).is('a') && !jQuery(e.target).is('span')) { let imgIndex = avatar.find('img').first().data('img-index'); if (jQuery('#carousel_modal_blog_blog_post_with_photos_1_0_1_4277').length == 0) { var params = {}; params.page_id = 9999; params.mCell = '1_0'; params.mId = '1'; params.module = 'blog_blog_post_with_photos'; params.site_page_id = '301'; params.method = 'actionHandler'; params.format = 'json'; params.optionAction = 'browsePhotos'; params.objectType = 'Blogs_Post'; params.objectId = '4277'; params.template = 'core_carousel_modal'; params.options = JSON.stringify({ 'image-index': imgIndex }); var ajaxOptions = { successPostCallback: function (returnedData) { if (typeof(returnedData) !== 'undefined') { var modal = jQuery(decodeURIComponent(returnedData.data)); var clickedEle = jQuery(e.target); // inject modal into parent of clicked avatar clickedEle.closest('div.card').append(modal); modal.find('.carousel-item.active').removeClass('active'); modal.find('.carousel-inner .carousel-item:nth-child(' + (imgIndex + 1) + ')').addClass('active'); modal.modal('show'); } } }; jQuery('#avatar_blog_blog_post_with_photos_1_0_1_4277').swljs_ajax(params, ajaxOptions); } else { jQuery('#carousel_modal_blog_blog_post_with_photos_1_0_1_4277 .carousel-item.active').removeClass('active'); jQuery('#carousel_modal_blog_blog_post_with_photos_1_0_1_4277 .carousel-inner .carousel-item:nth-child(' + (imgIndex + 1) + ')').addClass('active'); jQuery('#carousel_modal_blog_blog_post_with_photos_1_0_1_4277').modal('show'); } } }); }()); //]]> </script> <script type="text/javascript"> jQuery('#module_1_0-3').ready(function() { jQuery('#module_1_0-3').on('click', '.clickable_card', function(e) { var clicked = jQuery(e.target); var item = clicked.closest('div.card:not(.card-overlay)'); if (typeof item !== 'undefined' && item.length > 0) { var heading = item.find('[data-generic-layout="heading"] a'); if (typeof heading !== 'undefined' && heading.length > 0) { document.location.href = jQuery(heading).attr('href'); } if (typeof item.data('item-href') !== 'undefined') { document.location.href = item.data('item-href'); } } }); jQuery('#module_1_0-3').on('click keyup', '.generic-option-plugin, .generic-option-badge, .generic-option-button, .generic-option-link', function(e) { e.stopPropagation(); var keycode = (e.keyCode ? e.keyCode : e.which); if (e.type == 'click' || (e.type == 'keyup' && keycode == 13)) { var optionData = jQuery(this).data(); if (typeof optionData.toggle !== 'undefined') { if (typeof optionData.target !== 'undefined') { if (jQuery('#' + optionData.target).hasClass('modal')) { jQuery('#' + optionData.target).modal('show'); } else { let target = jQuery('#' + optionData.target); if (typeof optionData.targetLocation !== 'undefined') { let targetLocation = jQuery(this).closest(optionData.targetLocation); targetLocation.after(target); // once the target has been successfully moved, remove associated data jQuery(this).removeData("targetLocation").removeAttr("data-target-location"); } target.toggle() if (typeof optionData.targetFocus !== 'undefined' && optionData.targetFocus === true) { target.find(":focusable:first").focus(); } } } else if (jQuery(this).hasClass('dropdown-toggle')) { jQuery(this).dropdown('toggle'); } // Do not want to call ajax again since content has already been built return true; } if (jQuery(this).hasClass('dropdown-item')) { var dropDown = jQuery(this).closest('.dropdown').find('[data-toggle="dropdown"]'); if (typeof dropDown !== 'undefined' && dropDown.length > 0) { dropDown.dropdown('toggle'); } } if (typeof optionData.optionConfirm !== 'undefined' && !confirm(optionData.optionConfirm)) { return false; } //if optionCallback if (typeof optionData.optionCallback !== 'undefined' && optionData.optionCallback) { var callBack = optionData.optionCallback + '_1_0_3'; if (typeof window[callBack] == 'function') { return window[callBack](jQuery(this)); } } if (typeof optionData.optionExtra !== 'undefined' && optionData.optionExtra) { return false; } if (typeof optionData.optionAction !== 'undefined' && optionData.optionAction.length > 0) { var ajaxParams = { page_id:'9999', mCell:'1_0', mId:'3', module:'blog_post_comments', method:'actionHandler', format:'json', site_page_id:'301', optionAction: optionData.optionAction, optionLayoutArea: optionData.optionLayoutArea }; var successAction = ''; var successTarget = ''; var successMessage = ''; var linkedElement = ''; if (typeof optionData.optionSuccessAction != 'undefined') { successAction = optionData.optionSuccessAction; if (typeof optionData.optionSuccessTarget != 'undefined') { successTarget = optionData.optionSuccessTarget; } if (typeof optionData.optionSuccessMessage !== 'undefined') { successMessage = optionData.optionSuccessMessage; } if (typeof optionData.optionSuccessLinkedElement !== 'undefined') { linkedElement = optionData.optionSuccessLinkedElement; } var additionalAjaxParams = swljs_ajax_generate_params(successAction, successTarget, successMessage); ajaxParams = Object.assign(ajaxParams, additionalAjaxParams); } if (typeof optionData.optionAction !== 'undefined' && optionData.optionAction == 'getContentList') { ajaxParams.template = 'generic_list'; } if (typeof optionData.optionItemId !== 'undefined') { ajaxParams.itemId = optionData.optionItemId; } if (typeof optionData.optionGroupId !== 'undefined') { ajaxParams.group_id = optionData.optionGroupId; } if (typeof optionData.optionItemType !== 'undefined') { ajaxParams.itemType = optionData.optionItemType; } if (typeof optionData.optionObjectId !== 'undefined') { ajaxParams.objectId = optionData.optionObjectId; } if (typeof optionData.optionObjectType !== 'undefined') { ajaxParams.objectType = optionData.optionObjectType; } if (typeof optionData.optionPluginName !== 'undefined') { ajaxParams.pluginName = optionData.optionPluginName; } if (typeof optionData.optionForm !== 'undefined') { if(successTarget == 'modal') { ajaxParams.template = 'generic_modal_form'; } else { ajaxParams.template = 'generic_form'; } ajaxParams.genericForm = true; } var options = {}; var optionPrefix = "optionOptions"; for (var property in optionData) { // additional data parameters should match format 'data-option-options-{Additional Parameter Id}' if (property.length > (optionPrefix.length + 1) && property.indexOf(optionPrefix) === 0 && typeof optionData[property] !== undefined) { var optionLabel = property.charAt(optionPrefix.length).toLowerCase() + property.slice(optionPrefix.length + 1); if (optionLabel.indexOf('success') === 0) { if (typeof options['success'] === 'undefined') { options['success'] = {}; } optionLabel = optionLabel.charAt(7).toLowerCase() + optionLabel.slice(8); options['success'][optionLabel] = optionData[property]; } else { options[optionLabel] = optionData[property]; } } } if (typeof optionData.optionCke !== 'undefined' && jQuery('#' + optionData.optionCke).length && typeof jQuery('#' + optionData.optionCke)[0].ckeditorInstance !== 'undefined') { options.ckedata = encodeURIComponent(jQuery('#' + optionData.optionCke)[0].ckeditorInstance.getData()); options.user_mentions = jQuery('#' + optionData.optionCke).find('a.mentioned-user').map(function () { return jQuery(this).data('userid'); }).get().join(','); } ajaxParams.options = JSON.stringify(options); var ajaxOptions = { url: window.location.href, beforeSend:function(jqXHR) { }, complete:function() { }, successPreCallback: function(returnedData) { }, successPostCallback: function(returnedData) { if (typeof optionData.optionCke !== "undefined") { jQuery('#' + optionData.optionCke)[0].ckeditorInstance.setData(''); } var elem = jQuery(e.target); if (!elem.hasClass('.generic-option')) { elem = elem.closest('.generic-option'); } swljs_ajax_refresh(successAction, successTarget, jQuery(e.target), returnedData, linkedElement); } }; if (typeof additionalAjaxParams !== 'undefined' && typeof additionalAjaxParams.paginator !== 'undefined') { ajaxOptions.paginator = jQuery(e.target).closest('div.module_container').find('div[data-list-wrapper="true"]').data('jsPaginator'); } ajaxOptions.loadingOverlayEnabled = true; jQuery('#module_1_0-3').swljs_ajax(ajaxParams,ajaxOptions); } else if (typeof optionData.optionUrl !== 'undefined' && optionData.optionUrl.length > 0) { if (optionData.optionName == 'externalLink') { jQuery('#module_1_0-3').swljs_ajax({ page_id:9999, mCell:'1_0', mId:'3', module:'blog_post_comments', method:'actionHandler', format:'json', site_page_id:'301', optionAction:'logTracking', objectId:optionData.optionObjectId, objectType:optionData.optionObjectType }, {}); let tempA = document.createElement('a'); tempA.target='_blank'; tempA.href=optionData.optionUrl; tempA.click(); } else { location.href = optionData.optionUrl; } } } }); jQuery('#module_1_0-3').on('click', '.generic-preview-toggle', function(e) { e.stopPropagation(); let parts = this.id.split('_'); let hiddenElement = jQuery('#' + parts[0] + '_' + parts[1]); let activeElement = jQuery('#' + ((parts[0] === 'preview') ? 'content_' : 'preview_') + parts[1]); activeElement.hide(); hiddenElement.find('[aria-expanded]').attr('aria-expanded', false); hiddenElement.show().find(':focusable:first').focus(); this.setAttribute('aria-expanded', true); }); }); </script> <script type="text/javascript"> jQuery('#module_1_1-2').ready(function() { jQuery('#module_1_1-2').on('click', '.clickable_card', function(e) { var clicked = jQuery(e.target); var item = clicked.closest('div.card:not(.card-overlay)'); if (typeof item !== 'undefined' && item.length > 0) { var heading = item.find('[data-generic-layout="heading"] a'); if (typeof heading !== 'undefined' && heading.length > 0) { document.location.href = jQuery(heading).attr('href'); } if (typeof item.data('item-href') !== 'undefined') { document.location.href = item.data('item-href'); } } }); jQuery('#module_1_1-2').on('click keyup', '.generic-option-plugin, .generic-option-badge, .generic-option-button, .generic-option-link', function(e) { e.stopPropagation(); var keycode = (e.keyCode ? e.keyCode : e.which); if (e.type == 'click' || (e.type == 'keyup' && keycode == 13)) { var optionData = jQuery(this).data(); if (typeof optionData.toggle !== 'undefined') { if (typeof optionData.target !== 'undefined') { if (jQuery('#' + optionData.target).hasClass('modal')) { jQuery('#' + optionData.target).modal('show'); } else { let target = jQuery('#' + optionData.target); if (typeof optionData.targetLocation !== 'undefined') { let targetLocation = jQuery(this).closest(optionData.targetLocation); targetLocation.after(target); // once the target has been successfully moved, remove associated data jQuery(this).removeData("targetLocation").removeAttr("data-target-location"); } target.toggle() if (typeof optionData.targetFocus !== 'undefined' && optionData.targetFocus === true) { target.find(":focusable:first").focus(); } } } else if (jQuery(this).hasClass('dropdown-toggle')) { jQuery(this).dropdown('toggle'); } // Do not want to call ajax again since content has already been built return true; } if (jQuery(this).hasClass('dropdown-item')) { var dropDown = jQuery(this).closest('.dropdown').find('[data-toggle="dropdown"]'); if (typeof dropDown !== 'undefined' && dropDown.length > 0) { dropDown.dropdown('toggle'); } } if (typeof optionData.optionConfirm !== 'undefined' && !confirm(optionData.optionConfirm)) { return false; } //if optionCallback if (typeof optionData.optionCallback !== 'undefined' && optionData.optionCallback) { var callBack = optionData.optionCallback + '_1_1_2'; if (typeof window[callBack] == 'function') { return window[callBack](jQuery(this)); } } if (typeof optionData.optionExtra !== 'undefined' && optionData.optionExtra) { return false; } if (typeof optionData.optionAction !== 'undefined' && optionData.optionAction.length > 0) { var ajaxParams = { page_id:'9999', mCell:'1_1', mId:'2', module:'site_page_sblog_info', method:'actionHandler', format:'json', site_page_id:'301', optionAction: optionData.optionAction, optionLayoutArea: optionData.optionLayoutArea }; var successAction = ''; var successTarget = ''; var successMessage = ''; var linkedElement = ''; if (typeof optionData.optionSuccessAction != 'undefined') { successAction = optionData.optionSuccessAction; if (typeof optionData.optionSuccessTarget != 'undefined') { successTarget = optionData.optionSuccessTarget; } if (typeof optionData.optionSuccessMessage !== 'undefined') { successMessage = optionData.optionSuccessMessage; } if (typeof optionData.optionSuccessLinkedElement !== 'undefined') { linkedElement = optionData.optionSuccessLinkedElement; } var additionalAjaxParams = swljs_ajax_generate_params(successAction, successTarget, successMessage); ajaxParams = Object.assign(ajaxParams, additionalAjaxParams); } if (typeof optionData.optionAction !== 'undefined' && optionData.optionAction == 'getContentList') { ajaxParams.template = 'generic_list'; } if (typeof optionData.optionItemId !== 'undefined') { ajaxParams.itemId = optionData.optionItemId; } if (typeof optionData.optionGroupId !== 'undefined') { ajaxParams.group_id = optionData.optionGroupId; } if (typeof optionData.optionItemType !== 'undefined') { ajaxParams.itemType = optionData.optionItemType; } if (typeof optionData.optionObjectId !== 'undefined') { ajaxParams.objectId = optionData.optionObjectId; } if (typeof optionData.optionObjectType !== 'undefined') { ajaxParams.objectType = optionData.optionObjectType; } if (typeof optionData.optionPluginName !== 'undefined') { ajaxParams.pluginName = optionData.optionPluginName; } if (typeof optionData.optionForm !== 'undefined') { if(successTarget == 'modal') { ajaxParams.template = 'generic_modal_form'; } else { ajaxParams.template = 'generic_form'; } ajaxParams.genericForm = true; } var options = {}; var optionPrefix = "optionOptions"; for (var property in optionData) { // additional data parameters should match format 'data-option-options-{Additional Parameter Id}' if (property.length > (optionPrefix.length + 1) && property.indexOf(optionPrefix) === 0 && typeof optionData[property] !== undefined) { var optionLabel = property.charAt(optionPrefix.length).toLowerCase() + property.slice(optionPrefix.length + 1); if (optionLabel.indexOf('success') === 0) { if (typeof options['success'] === 'undefined') { options['success'] = {}; } optionLabel = optionLabel.charAt(7).toLowerCase() + optionLabel.slice(8); options['success'][optionLabel] = optionData[property]; } else { options[optionLabel] = optionData[property]; } } } if (typeof optionData.optionCke !== 'undefined' && jQuery('#' + optionData.optionCke).length && typeof jQuery('#' + optionData.optionCke)[0].ckeditorInstance !== 'undefined') { options.ckedata = encodeURIComponent(jQuery('#' + optionData.optionCke)[0].ckeditorInstance.getData()); options.user_mentions = jQuery('#' + optionData.optionCke).find('a.mentioned-user').map(function () { return jQuery(this).data('userid'); }).get().join(','); } ajaxParams.options = JSON.stringify(options); var ajaxOptions = { url: window.location.href, beforeSend:function(jqXHR) { }, complete:function() { }, successPreCallback: function(returnedData) { }, successPostCallback: function(returnedData) { if (typeof optionData.optionCke !== "undefined") { jQuery('#' + optionData.optionCke)[0].ckeditorInstance.setData(''); } var elem = jQuery(e.target); if (!elem.hasClass('.generic-option')) { elem = elem.closest('.generic-option'); } swljs_ajax_refresh(successAction, successTarget, jQuery(e.target), returnedData, linkedElement); } }; if (typeof additionalAjaxParams !== 'undefined' && typeof additionalAjaxParams.paginator !== 'undefined') { ajaxOptions.paginator = jQuery(e.target).closest('div.module_container').find('div[data-list-wrapper="true"]').data('jsPaginator'); } ajaxOptions.loadingOverlayEnabled = true; jQuery('#module_1_1-2').swljs_ajax(ajaxParams,ajaxOptions); } else if (typeof optionData.optionUrl !== 'undefined' && optionData.optionUrl.length > 0) { if (optionData.optionName == 'externalLink') { jQuery('#module_1_1-2').swljs_ajax({ page_id:9999, mCell:'1_1', mId:'2', module:'site_page_sblog_info', method:'actionHandler', format:'json', site_page_id:'301', optionAction:'logTracking', objectId:optionData.optionObjectId, objectType:optionData.optionObjectType }, {}); let tempA = document.createElement('a'); tempA.target='_blank'; tempA.href=optionData.optionUrl; tempA.click(); } else { location.href = optionData.optionUrl; } } } }); jQuery('#module_1_1-2').on('click', '.generic-preview-toggle', function(e) { e.stopPropagation(); let parts = this.id.split('_'); let hiddenElement = jQuery('#' + parts[0] + '_' + parts[1]); let activeElement = jQuery('#' + ((parts[0] === 'preview') ? 'content_' : 'preview_') + parts[1]); activeElement.hide(); hiddenElement.find('[aria-expanded]').attr('aria-expanded', false); hiddenElement.show().find(':focusable:first').focus(); this.setAttribute('aria-expanded', true); }); }); </script> <script type="text/javascript"> jQuery('#module_1_1-2').ready(function() { var timer; jQuery('#module_1_1-2').on({mouseenter: function(e) { // Wait 1 second before doing hover action timer = setTimeout(function() { var elem = jQuery(e.target); if (typeof elem.data('objectId') === 'undefined' && typeof elem.parent().data('objectId') !== 'undefined') { elem = elem.parent(); } // don't show popover if link itself is in modal, already popover opened, or explicitly disabled if (elem.data('hasPopover') || jQuery(elem).parents('.modal-dialog').length > 0 || elem.data('disableHoverOverlay')) { // Do not support popover or already have loaded it return false; } var objectId = elem.data('objectId'); var objectType = elem.data('objectType'); if (typeof objectId === 'undefined' || typeof objectType === 'undefined') { return false; } var options = {}; var optionPrefix = "optionOptions"; var optionData = elem.data(); for (var property in optionData) { // additional data parameters should match format 'data-option-options-{Additional Parameter Id}' if (property.length > (optionPrefix.length + 1) && property.indexOf(optionPrefix) === 0 && typeof optionData[property] !== undefined) { var optionLabel = property.charAt(optionPrefix.length).toLowerCase() + property.slice(optionPrefix.length + 1); if (optionLabel.indexOf('success') === 0) { if (typeof options['success'] === 'undefined') { options['success'] = {}; } optionLabel = optionLabel.charAt(7).toLowerCase() + optionLabel.slice(8); options['success'][optionLabel] = optionData[property]; } else { options[optionLabel] = optionData[property]; } } } var ajaxParams = { page_id:'9999', mCell:'1_1', mId:'2', module:'site_page_sblog_info', method:'actionHandler', format:'json', site_page_id:'301', optionAction: 'popover', objectType: objectType, objectId: objectId, template: 'generic_popover' }; ajaxParams.options = JSON.stringify(options); var ajaxOptions = { url: window.location.href, successPostCallback: function (returnedData) { if (typeof returnedData !== 'undefined' && typeof returnedData.data !== 'undefined') { elem.data('hasPopover', 1); var options = {}; options.content = decodeURIComponent(returnedData.data); options.html = true; //required in popover as the HTML gets stripped out completely options.sanitize = false; options.trigger = 'manual'; options.container = elem.closest('div[data-module-name]'); options.template = '<div class="popover swl_popover" role="tooltip"><div class="arrow"></div><div class="popover-body"></div></div>'; // Show / hide popover based on hover of the popover itself vs original element elem.popover(options).on('mouseenter', function () { var popover = this; jQuery(this).popover('show'); jQuery('.popover.swl_popover').on('mouseleave', function () { jQuery(popover).popover('hide'); }); }).on('mouseleave', function () { var popover = this; setTimeout(function () { if (!jQuery('.popover.swl_popover:hover').length) { jQuery(popover).popover('hide'); } }, 150); }).on('hide.bs.popover', function () { var popoverDiv = jQuery(elem.data('bs.popover').getTipElement()); elem.data('bs.popover').config.content = popoverDiv.find('div.generic-detail-popover'); }); elem.trigger('mouseenter'); } } }; // Build popover jQuery('#module_1_1-2').swljs_ajax(ajaxParams,ajaxOptions); }, 150); }, mouseleave: function(e) { clearTimeout(timer); } }, '.generic-option-plugin, .generic-option-badge, .generic-option-button, .generic-option-link'); }); </script> <!-- 5fce1b3e34b520afeffb37ce08c7cd66 --> <script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"bam.nr-data.net","licenseKey":"NRJS-fdf476c7c77133808dd","applicationID":"971124047","transactionName":"NQNRMRMHWxVRBUEMDgxJZhcISVgIRElYCRFNFl8EFQBaFF1JXAsFBx4dFQkW","queueTime":0,"applicationTime":217,"atts":"GURSR1sdSBs=","errorBeacon":"bam.nr-data.net","agent":""}</script></body> </html>