PageSourceSearch

https://corp.lotuss.com.my/build/js/vendor/popular-recipe.DB5De-Y7.js

js lotuss.com.my collected 2026-10-02 17:54:27 UTC 1,850 bytes, 1 lines download raw bytes

1import{c as g}from"../site.CQfF87-Y.js";import"./alpine-plugins.BdSLN5xO.js";import"./alpine.Cm4okMZt.js";function n(t={}){return{titleEqualHeightItems:t.titleEqualHeightItems||".listing-newsmedia__box",titleEqualHeightTrigger:t.titleEqualHeightTrigger||".listing-newsmedia__title",titleEqualHeightStyleProperty:t.titleEqualHeightStyleProperty||"--newsmediabox-title-height",titleEqualHeightTimerResize:null,titleEqualHeightInit(){window.addEventListener("resize",()=>{clearTimeout(this.titleEqualHeightTimerResize),this.titleEqualHeightTimerResize=setTimeout(()=>{this._titleEqualHeightPerform()},150)}),this.$nextTick(()=>{this._titleEqualHeightPerform()})},_titleEqualHeightPerform(){const e=this.$root.querySelectorAll(this.titleEqualHeightItems),l=this.$root.querySelectorAll(this.titleEqualHeightTrigger);if(l.length){let r=0;Array.prototype.slice.call(e).forEach(i=>{i.style.setProperty(this.titleEqualHeightStyleProperty,"auto")});let h=[],o=[],u=0;u=l[0].getBoundingClientRect().y,this.$nextTick(()=>{window.innerWidth>768?(Array.prototype.slice.call(l).forEach((i,s)=>{let a=i.getBoundingClientRect();a.y===u?o.push(e[s]):(h.push(o),o=[e[s]],u=a.y)}),o.length>0&&h.push(o),h.forEach(i=>{r=0,i.forEach(s=>{let a=s.querySelector(this.titleEqualHeightTrigger).scrollHeight;a>r&&(r=a)}
1),i.forEach(s=>{s.style.setProperty(this.titleEqualHeightStyleProperty,r===0?"auto":`${r}px`)})})):Array.prototype.slice.call(e).forEach(i=>{i.style.removeProperty(this.titleEqualHeightStyleProperty)})})}}}}const f=g({...n(),init(){this.titleEqualHeightInit()},setup(){return{renderPrepTime(t){t||(t=5);var e=Math.floor(t/60),l=t%60;const r=e>0?`${e} hr${e>1?"s":""}`:"",h=l>0?` ${l} min${l>1?"s":""}`:"";return`${r}${h}`},renderServingSize(t,e){return t===e?t==null?"Serve 1":`Serve${(t||e)>1?"s":""} ${t||e}`:`Serves ${t} - ${e}`}}}});export{f 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.