PageSourceSearch

https://www.eatingeurope.com/wp-content/themes/eatingeu/public/bui…/gravity-datepicker-layout-CkrapBdR.js

js eatingeurope.com collected 2026-10-02 11:50:15 UTC 1,744 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"5ef2b33c3aebd7c2dd53c6349232325e1079d5a7"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0c6caef1-4f3c-4909-9a59-432dc833526a",e._sentryDebugIdIdentifier="sentry-dbid-0c6caef1-4f3c-4909-9a59-432dc833526a")}catch{}})();const i=".gform-datepicker-calendar";let o=!1;function d(e){const t=e.querySelector(".yearSelector"),r=e.querySelector(".monthSelector"),n=t?.querySelector(":scope > td.year"),a=r?.querySelector(":scope > td.month");!t||!r||!n||!a||(a.append(...n.childNodes),t.remove())}function c(){window.gform?.__eatingeuPastDateFilter||!window.gform?.addFilter||(window.gform.__eatingeuPastDateFilter=!0,window.gform.addFilter("gform_datepicker_options_pre_init",e=>{if(e.minDate instanceof Date){const t=new Date;return t.setHours(0,0,0,0),{...e,firstDay:1,minDate:e.minDate<t?t:e.minDate}}return{...e,firstDay:1,minDate:typeof e.minDate=="number"?Math.max(0,e.minDate):0}}))}function u(e){if(e.dataset.eatingeuCompactHeader==="true")return;e.dataset.eatingeuCompactHeader="true";let t=!1;const r=()=>{t||(t=!0,requestAnimationFrame(()=>{t=!1,d(e)}))};new MutationObserver(r).observe(e,{childList:!0,subtree:!0}),d(e)}function s(){if(o)return;o=!0,c(),document.addEventListener("focusin",t=>{t.target instanceof Element&&t.target.matches("input.gform-datepicker")&&c()},!0);const e=t=>{t instanceof Element&&(t.matches(i)&&u(t),t.querySelectorAll(i).forEach(u))};e(document.documentElement),new MutationObserver(t=>{t.forEach(r=>{r.addedNodes.forEach(e)})}).observe(document.documentElement,{childList:!0,subtree:!0})}export{s as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.