3&&!e.resolved&&(e.resolved=!0,u.emit(“xhr-resolved”,[],t)),d.inPlace(t,g,”fn-“,c)}function o(t){y.push(t),h&&(b?b.then(a):w?w(a):(E=-E,R.data=E))}function a(){for(var t=0;t0&&d(“lcp”,[n[n.length-1]])}function o(t){t.getEntries().forEach(function(t){t.hadRecentInput||d(“cls”,[t])})}function a(t){if(t instanceof h&&!w){var e=Math.round(t.timeStamp),n={type:t.type};el.offset&&e<=Date.now()?(e-=l.offset,n.fid=l.now()-e):e=l.now(),w=!0,d("timing",["fi",e,n])}}function c(t){d("pageHide",[l.now(),t])}if(!("init"in NREUM&&"page_view_timing"in NREUM.init&&"enabled"in NREUM.init.page_view_timing&&NREUM.init.page_view_timing.enabled===!1)){var s,f,u,d=t("handle"),l=t("loader"),p=t(22),h=NREUM.o.EV;if("PerformanceObserver"in window&&"function"==typeof window.PerformanceObserver){s=new PerformanceObserver(r);try{s.observe({entryTypes:["paint"]})}catch(m){}f=new PerformanceObserver(i);try{f.observe({entryTypes:["largest-contentful-paint"]})}catch(m){}u=new PerformanceObserver(o);try{u.observe({type:"layout-shift",buffered:!0})}catch(m){}}if("addEventListener"in document){var w=!1,v=["click","keydown","mousedown","pointerdown","touchstart"];v.forEach(function(t){document.addEventListener(t,a,!1)})}p(c)}},{}],20:[function(t,e,n){function r(){function t(){return e?15&e[n++]:16*Math.random()|0}var e=null,n=0,r=window.crypto||window.msCrypto;r&&r.getRandomValues&&(e=r.getRandomValues(new Uint8Array(31)));for(var i,o="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",a="",c=0;c = 0; } else{ return false; } }; var getParentByClass = function(el, parentSelector) { var parent = el.parentNode; while (elementHasClass(parent, parentSelector) == false) { if (parent != null && typeof(parent) != ‘undefined’) { parent = parent.parentNode; }else{ parent = null; break; } } return parent; }; var init = function(image) { if (elementHasClass(image, ‘resource-img’) == true){ var container = getParentByClass(image, ‘panel-review’); if (container != null && typeof(container) != ‘undefined’) { var links = container.querySelectorAll(‘a[data-share-image]’); for (var i = 0; i = 0) { image.src = image.src.replace(failing_domain, ‘https://content.lessonplanet.com/’); } else { image.onerror = ”; image.src = image.getAttribute(‘data-default-image’); } return true; }; ]]>Caribbean Lesson Plans & Worksheets | Lesson Planet Source