1"use strict";(self.webpackChunklafermeadede_theme=self.webpackChunklafermeadede_theme||[]).push([[5383],{3003:function(e,t,s){s.a(e,(async function(e,n){try{s.r(t);const e=document.querySelectorAll(".business-opening-status-block[data-collection-id]");if(e.length>0){let t=new Set;if(e.forEach((e=>{const s=parseInt(e.getAttribute("data-collection-id"),10);t.add(s)})),t.size>0){const e=alpha.getConfig();t=Array.from(t).join(",");const s=`${e.ajaxUrl}?action=get_business_opening_status&collectionIds=${t}`,n=await(await fetch(s)).json();if(void 0!==n.statuses)for(const[e,t]of Object.entries(n.statuses)){const s=t.open?"open":"closed";document.querySelectorAll(`.business-opening-status-block[data-collection-id="${e}"]`).forEach((e=>{const n=e.querySelector("[data-opening-status]");n&&(n.setAttribute("data-opening-status",s),n.innerText=t.message)}))}}}n()}catch(e){n(e)}}),1)}}]); 2//# sourceMappingURL=block-business-opening-status.4ce3ac66.js.map
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.