PageSourceSearch

https://ringpopcandy.com/cdn/shop/t/12/assets/mfr-component__MFRAl…?v=184182671404166126851789363421

js ringpopcandy.com collected 2026-10-10 02:18:04 UTC 2,021 bytes, 2 lines download raw bytes

1if(void 0===window.MFRAlternateRotatedItems){const t=(t,e)=>{const a=Math.abs(e)*Math.PI/180,o=t.offsetWidth*Math.sin(a)+t.offsetHeight*Math.cos(a);return Math.max(0,(o-t.offsetHeight)/2)},e=t=>(t%2==0?1:-1)*(Math.random()+1),a=t=>{if(!t)return 0;const[e,a]=t;return Math.floor(Math.random()*(a-e+1))+e},o=30;window.MFRAlternateRotatedItems=function(n,i,s,d,r,p){const l=n.querySelectorAll(i),m=s||".animated-cards__cards",c=new Map,g=new Map;l.forEach((n,i)=>{n.style.transform="";const s=(i+1)%2!=0,l=e(i);n.style.transform=`rotate(${l}deg)`;const h=n.closest(m);if(h){const e=t(n,l),o=s?a(d):0,i=c.get(h)||{top:0,bottom:0};c.set(h,{top:Math.max(i.top,e+o),bottom:Math.max(i.bottom,e)})}if(r&&p){const t=n.closest(p);if(t){const e=g.get(t)||0;g.set(t,s?Math.max(e,o):e)}}}),c.forEach((t,e)=>{e.style.paddingTop=`${Math.ceil(t.top)}px`,e.style.paddingBottom=`${Math.ceil(t.bottom)}px`}),g.forEach((t,e)=>{e.style.paddingTop=`${t}px`})},window.MFRAlternateRotatedItems.reset=function(t,e,a,o){const n=t.querySelectorAll(e),i=a||".animated-cards__cards";n.forEach(t=>{t.style.transform="";const e=t.closest(i);if(e&&(e.style.paddingTop="",e.style.paddingBottom=""),o){const e=t.closest(o);e&&(e.style.paddingTop="")}})}}window._mfrAlpineRegistered=window._mfrAlpineRegistered||{},window._mfrAlpineRegistered.MFRAlternateRotatedItems||(document.addEventListener("alpine:init",()=>{Alpine.data("MFRAlternateRotatedItems",({items:t,paddingTarget:e,extraPaddingTopRange:a,topSpacing:o,topSpacingElement:n})=>({items:t,paddingTarget:e,extraPaddingTopRange:a,topSpacing:o,topSpacingElement:n,init(){this.initRotatedItems()},initRotatedItems(){window.MFRAlternateRotatedItems(this.$el,this.items,this.paddingTarget,this.extraPaddingTopRange,this.topSpacing,this.topSpacingElement)},destroy(){window.MFRAlternateRotatedItems.reset(this.$el,this.items,this.paddingTarget,this.topSpacingElement)}}))}),window._mfrAlpineRegistered.MFRAlternateRotatedItems=!0);
2//# sourceMappingURL=mfr-component__MFRAlternateRotatedItems.min.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.