PageSourceSearch

https://mvnailrockhill.com/_nuxt/DrOzJh0y.js

js mvnailrockhill.com collected 2026-10-07 00:54:10 UTC 2,546 bytes, 1 lines download raw bytes

1var f=class h{constructor({callback:s,initialData:l}){this._formattedPage=null,this.actionHandler=()=>{var d;const m=(t,o)=>{const e=document.createElement("div");return e.textContent=t,e.addEventListener("click",()=>{const n=`newzen:template:${t.toLowerCase()}Block`;window.parent.postMessage({type:n,data:o},"*")}),e},u=t=>{const o=document.createElement("div");return this._formattedPage&&(o.classList.add("block-navigator"),["Edit","Up","Down","Delete"].forEach(n=>{const c=m(n,t.dataset.cmsBind);o.appendChild(c)})),o},i=(t,o)=>{const e=t.target.closest('[data-cms-bind^="#content_blocks"]');if(!e)return;e.classList.toggle("content-block--hover",o);const c=new URLSearchParams(window.location.search).has("edit");window.location!==window.parent.location&&c?e.classList.remove("hidden-block-navigator"):e.classList.add("hidden-block-navigator");const a=e.querySelector(".block-navigator");if(!a?.contains(t.relatedTarget)){if(o&&!a){e.appendChild(u(e));return}!o&&a&&e.removeChild(a)}};document.body.addEventListener("mouseover",t=>i(t,!0)),document.body.addEventListener("mouseout",t=>i(t,!1)),window.addEventListener("message",t=>{const{type:o,data:e}=t.data;switch(o){case"newzen:scrollToSection":{const n=document.querySelector(`[data-cms-bind="#content_blocks.${e-1}"]`);if(!n)return;const c=n.offsetTop,a=document.querySelector("header").offsetHeight||0;window.scrollTo({top:c-a,behavior:"smooth"});break}case"newzen:update":{this._formattedPage=h.formatContentBlock(JSON.parse(e)),this.callback(this._formattedPage);break}case"newzen:effect":{console.log("newzen:effect"),Array.from(document.querySelectorAll("script[data-newzen-effect-preview]")).forEach(c=>{let a;(a=c.parentNode)==null||a.removeChild(c)});const n=document.createElement("script");if(!n)return;n.setAttribute("data-newzen-effect-preview","true"),n.type="module",n.textContent=e,document.body.appendChild(n);break}}}),(d=window?.parent)==null||d.postMessage({type:"newzen:site-loaded",data:{}},"*")},this.callback=s,this._formattedPage=l??null}};f.formatContentBlock=r=>(r.content_blocks.forEach(function(s){s._block_name=s._block_name.replaceAll(/[^a-zA-Z0-9 ]/g," ").replaceAll(/(^\w)|(\s+\w)/g,l=>l.toUpperCase()).replaceAll(" ","")}),r);f.calPriceService=(r,s,l)=>{var d;if(!r)return"";const m=t=>{const o=parseFloat(t),e=o*s/100,n=o+e;return Math.round((n+Number.EPSILON)*100)/100},u=r.replace(/\$(\d+(\.\d+)?)/g,(t,o)=>`$${m(o).toFixed(2)}`),i={"Price Cash Only":r,"Price Card Only":u,Both:`${r} | ${u}`};return(d=i[l])!=null?d:i.Both};var p=f;export{p as N};

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.