PageSourceSearch

https://interio.com/static/version1791228850/_cache/merged/3ca1958554d044700b852348df7a8c6a.min.js

js interio.com collected 2026-10-09 18:04:01 UTC 20,724 bytes, 35 lines download raw bytes

1require(['jquery','mage/loader'],function($){$(document).ready(function(){var search_image=localStorage.getItem('search_image');const urlParams=new URLSearchParams(window.location.search);let imageSearch=false;if(urlParams){const searchType=urlParams.get('searchtype');if(searchType&&searchType==='image'){imageSearch=true;}}
2if(imageSearch){if(search_image===undefined||search_image===null||search_image===""){$(".search_param_img").hide();$(".clear_image").hide();$("h2.page-title").hide();$(".filter-option-and-button").hide();$(".delivery-code-plp-main").hide();$("ol.product-items").remove();$("div.products-grid").html("<div data-content-type='text' data-appearance='default' data-element='main' data-pb-style='B849DK1' style='text-align: center;'><p>No Search Results Found.</p></div>");}}
3$(".search_param_img").attr('src',search_image);$('#uploadBtn').on('click',function(){$("input[id='desktopFile']").click();});$("input[id='desktopFile']").on('change',function(){var file=this.files[0];var base_url=window.location.origin;var fileName=file["name"].replace(/\s/g,'');fileName=fileName.replace(/[^a-z0-9.\-\s]/gi,'_');var timestamp=Date.now();var randomStr=Math.random().toString(36).substring(2,8);var newImageName=timestamp+randomStr+fileName;$('#uploadedimagename').val(newImageName);var validFilesTypes=["jpg","jpeg","png"];var filePath=$("#desktopFile")[0].value;var allowedExtensions=/(\.jpg|\.jpeg|\.png)$/i;
3if(!allowedExtensions.exec(filePath)){$("#invalidFileMessage").html("Invalid File. Please upload file with extension: "+validFilesTypes.join(", ")+".");setTimeout(function(){$("#invalidFileMessage").html('');},5000);$("input[id='desktopFile']").val('');return false;}else{$('body').loader('show');localStorage.setItem('search_image',base_url+'/media/imagesearch/'+newImageName);var fileType=file["type"];if(fileType.search('image')>=0){$('#searchImageForm').submit();}}});$('#uploadMobileBtn').on('click',function(e){e.preventDefault()
4$("input[id='captureFile']").attr('accept','image/*');$("input[id='captureFile']").click();});$('#captureBtn').on('click',function(e){e.preventDefault()
5$("input[id='captureFile']").click();});$("input[id='captureFile']").on('change',function(){var file=this.files[0];var base_url=window.location.origin;var fileName=file["name"].replace(/\s/g,'');fileName=fileName.replace(/[^a-z0-9.\-\s]/gi,'_');var timestamp=Date.now();var randomStr=Math.random().toString(36).substring(2,8);var newImageName=timestamp+randomStr+fileName;$('#uploadedimagename').val(newImageName);var validFilesTypes=["jpg","jpeg","png"];var filePath=$("#captureFile")[0].value;var allowedExtensions=/(\.jpg|\.jpeg|\.png)$/i;
5if(!allowedExtensions.exec(filePath)){$("#invalidFileMessage").html("Invalid File. Please upload file with extension: "+validFilesTypes.join(", ")+".");setTimeout(function(){$("#invalidFileMessage").html('');},5000);$("input[id='captureFile']").val('');return false;}else{$('body').loader('show');localStorage.setItem('search_image',base_url+'/media/imagesearch/'+newImageName);var fileType=file["type"];if(fileType.search('image')>=0){$('#uploadeddevicetype').val('');$('#searchImageForm').trigger('submit');}}});var form=$('#searchImageForm');form.on('submit',function(event){var isIOS=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream;if(isIOS){$('#uploadeddevicetype').val('ios');event.preventDefault();var formData=new FormData(this);$.ajax({url:form.attr('action'),type:'POST',data:formData,processData:false,contentType:false,dataType:'json',success:function(response){if(response.redirectUrl){window.location.href=response.redirectUrl;}},error:function(xhr,status,error){$('body').loader('hide');}});}});$(".clear_image").on("click",function(){localStorage.removeItem('search_image');window.history.back();return false;});$("#example-modal-button").on("click",function(){$('#clearButton .icon-close').click();$("#modal-content-image-search").parents('aside').removeClass('modal-slide');$("#top-searches").removeClass("opened");});$("#example-modal-button-new").on("click",function(){$("#modal-content-image-search").parents('aside').removeClass('modal-slide');});});});;var popinHead=document.head,popinStyle=document.createElement("style"),popinDomain="https://widget01.popin.to/production",popinHost="https://widget01.popin.to",popinWidgetCallBack=(popinStyle.type="text/css",popinStyle.textContent="a,a:hover{text-decoration:none}#pop-in-widget::-webkit-scrollbar{display:none}#pop-in-widget div{overflow:hidden}#pop-in-widget div iframe{overflow:hidden}.pop-in-invisible{height:0}.pop-in-collapsed,.pop-in-collapsed-aright,.pop-in-collapsed-left,.pop-in-expanded,.pop-in-expanded-left,.pop-in-fullscreen,.popin-widget-center .popin-widget-nudged{height:auto!important}.pop-in-expanded div{position:fixed!important;height:606px;width:341px;right:30px;bottom:30px;background:0 0;z-index:2147483605;border-radius:8px;overflow:hidden}.pop-in-expanded-left div{position:fixed!important;height:606px;width:341px;left:30px;bottom:30px;background:0 0;z-index:2147483605;border-radius:8px}.popin-widget-shadow div{box-shadow:0 -1px 20px rgb(0 0 0 / 16%);transition:box-shadow 1s ease-in-out}.pop-in-collapsed div{position:fixed!important;height:112px;width:128px;right:4px;bottom:20px;background:0 0;z-index:2147483605}.pop-in-collapsed-left div{position:fixed!important;height:112px;width:128px;left:0;bottom:0;background:0 0;z-index:2147483605}.pop-in-collapsed-aright div{position:fixed!important;height:112px;width:128px;right:4px;bottom:20px;margin-bottom:60px;background:0 0;z-index:100000}.pop-in-fullscreen div{position:fixed!important;height:100%;width:100%;background:#000;z-index:2147483605;top:0;left:0;border:0}.popin-widget-nudged div{position:fixed!important;height:500px;width:400px;right:4px;bottom:20px;background:0 0;z-index:2147483605}.popin-widget-center{display:flex;align-items:center;justify-content:center}.popin-widget-center div{position:fixed!important;height:606px;width:341px;background:0 0;top:100px;z-index:2147483605;border-radius:8px}@media (max-width:479px){.pop-in-expanded div{position:fixed!important;height:100%;width:100vw;right:0;bottom:0;background:0 0;z-index:2147483605;border-radius:0}.pop-in-expanded-left div{position:fixed!important;height:100%;width:100vw;left:0;bottom:0;background:0 0;z-index:2147483605;border-radius:0}.pop-in-fullscreen div{position:fixed!important;height:100%;width:100vw;background:#000;z-index:2147483605;top:0;left:0;border-radius:0}.popin-widget-center div{position:fixed!important;height:100%;width:100vw;background:0 0;top:0;z-index:2147483605;border-radius:0}}@media (max-height:630px) and (orientation:landscape){#pop-in-widget div{position:fixed!important;height:100vh;right:0;bottom:0;background:0 0;z-index:2147483605;border-radius:0}}",null),popinVisibilityMode=0;let popinEventCallback,popinNudgeAudio;
5popinHead.appendChild(popinStyle);var collapsedClass="pop-in-collapsed",expandedClass="pop-in-expanded";function Popin(e,i,t){"function"==typeof popinWidgetCallBack?popinWidgetCallBack(e,i):setTimeout(()=>{"function"==typeof popinWidgetCallBack&&popinWidgetCallBack(e,i)},1500),"function"==typeof t&&(popinEventCallback=t)}
6function widgetAction(e){popinWidgetCallBack=e}
7function promptBeforeWindowClose(e){if(!e)
8return window.onbeforeunload=null,!1;window.onbeforeunload=function(e){var i;return e.preventDefault(),e.returnValue="Are you sure you want to close?",navigator.sendBeacon&&(console.log("Sending beacon"),i=getPopinData("popinActiveCallId"))&&(i=JSON.stringify({call_id:i}),navigator.sendBeacon(popinHost+"/api/v1/beacon/call/navigated",new Blob([i],{type:"application/json"})),removePopinData("popinActiveCallId")),e.returnValue}}
9let getPopinData=e=>{if("nitro"==e)
10return(i=void 0!==window.nitro?window.nitro:null)&&i.ROAMING_ID&&i.NITRO_ID?{parent_id:i.ROAMING_ID,nitro_id:i.NITRO_ID}:null;var i=localStorage.getItem(e);try{return JSON.parse(i)}catch(e){return i}},setPopinData=(e,i)=>{"object"==typeof i&&null!==i?localStorage.setItem(e,JSON.stringify(i)):localStorage.setItem(e,i)},removePopinData=e=>{localStorage.removeItem(e)},popinRedirect=e=>{window.location.href=e};function popinTrigger3PEvent(e,i){"function"==typeof window.popinEvent&&window.popinEvent(e,i)}
11function onSizeChange(e){var i=document.getElementById("pop-in-widget");"expand"==e?(i.classList.remove(collapsedClass),i.classList.remove("pop-in-fullscreen"),i.classList.remove("popin-widget-nudged"),i.classList.add(expandedClass),i.classList.add("popin-widget-shadow")):"collapse"==e?(i.classList.remove(expandedClass),i.classList.remove("pop-in-fullscreen"),i.classList.remove("popin-widget-shadow"),i.classList.remove("popin-widget-center"),i.classList.remove("popin-widget-nudged"),1!=popinVisibilityMode&&i.classList.add(collapsedClass)):"fullscreen"==e?(i.classList.remove(expandedClass),i.classList.remove(collapsedClass),i.classList.remove("popin-widget-shadow"),i.classList.remove("popin-widget-center"),i.classList.remove("popin-widget-nudged"),i.classList.add("pop-in-fullscreen")):"center"==e?(i.classList.remove(expandedClass),i.classList.remove(collapsedClass),i.classList.remove("popin-widget-shadow"),i.classList.remove("pop-in-fullscreen"),i.classList.remove("popin-widget-nudged"),i.classList.add("popin-widget-center"),setTimeout(function(){i.classList.add("popin-widget-shadow")},2e3)):"nudged"==e&&(i.classList.remove(expandedClass),i.classList.remove(collapsedClass),i.classList.remove("pop-in-fullscreen"),i.classList.remove("popin-widget-shadow"),i.classList.remove("popin-widget-center"),i.classList.add("popin-widget-nudged")),"function"==typeof popinEventCallback&&popinEventCallback(e)}
12function popinGetURL(){return window.location.href}
13function popinRing(){(popinNudgeAudio=new Audio("https://store.popin.to/nudge/notification.mp3")).loop=!0,popinNudgeAudio.play().catch(e=>{console.error("Playback failed:",e)}),setTimeout(popinRingStop,3e4)}
14function popinRingStop(){popinNudgeAudio&&(popinNudgeAudio.pause(),popinNudgeAudio=null)}
15function popInWidgetInit(n){let p="11498"==n.token?"left":"right",e=("51940"!=n.token&&"12975"!=n.token||popinTrigger3PEvent("popin_initialised",n),"hidden"==n.mode&&(popinVisibilityMode=1),collapsedClass="left"==p?"pop-in-collapsed-left":"pop-in-collapsed",expandedClass="left"==p?"pop-in-expanded-left":"pop-in-expanded",document.getElementById("pop-in-widget"));if(e)
160==popinVisibilityMode?e.setAttribute("class",collapsedClass):e.setAttribute("class","pop-in-invisible");else{let e=document.createElement("div");e.setAttribute("id","pop-in-widget"),0==popinVisibilityMode?e.setAttribute("class",collapsedClass):e.setAttribute("class","pop-in-invisible"),document.body.appendChild(e)}
17var d=new URL(popinDomain+"/index.html",window.location.href).href,i=document.createElement("script");i.addEventListener("load",e=>{window.popInComponent=zoid.create({tag:"pop-in-chat-widget",url:d,props:{popInSellerToken:{type:"string",required:!0},url:{type:"string",required:!1},onSizeChange:{type:"function",required:!1},popinUserData:{type:"string",required:!1},popinSetUserData:{type:"function",required:!1},widgetAction:{type:"function",required:!1,value:()=>widgetAction},orientation:{type:"string",required:!1},promptBeforeWindowClose:{type:"function",required:!1,value:()=>promptBeforeWindowClose},getPopinData:{type:"function",required:!1,value:()=>getPopinData}
17,setPopinData:{type:"function",required:!1,value:()=>setPopinData},removePopinData:{type:"function",required:!1,value:()=>removePopinData},popinGetURL:{type:"function",required:!1},popinTrigger3PEvent:{type:"function",required:!1,value:()=>popinTrigger3PEvent},popinRedirect:{type:"function",required:!1,value:()=>popinRedirect}},prerenderTemplate:()=>null});let i=0,t=0,o=(n?.safeAreaInsets&&("number"==typeof n.safeAreaInsets.top&&(i=n.safeAreaInsets.top),"number"==typeof n.safeAreaInsets.bottom)&&(t=n.safeAreaInsets.bottom),"web");n?.source&&(o="app"==n.source.toLowerCase()?"app":"web"),popInComponent({...n,safeAreaInsets:{top:i,bottom:t},source:o,popInSellerToken:n.token,type:n.type??0,url:window.location.href,orientation:p,popinUserData:localStorage.getItem("popinUserData"),popinUserCaptured:localStorage.getItem("popinUserCaptured"),popinViewCache:localStorage.getItem("popinViewCache"),popinRing:popinRing,popinRingStop:popinRingStop,onSizeChange:onSizeChange,popinSetUserData:e=>{localStorage.setItem("popinUserData",JSON.stringify(e))},popinSetUserCaptured:()=>{localStorage.setItem("popinUserCaptured",1)},popinSetViewCache:e=>{localStorage.setItem("popinViewCache",e)},popinGetURL:popinGetURL}).render("#pop-in-widget")}),i.src=popinDomain+"/js/popin.js",document.body.appendChild(i),"furnishka.com"!==window.location.hostname&&"www.furnishka.com"!==window.location.hostname||((i=document.createElement("script")).src=popinHost+"/js/popin-init.js",document.body.appendChild(i))}
18let sendActivityStatus=()=>{Popin("user_active",{active:"visible"===document.visibilityState&&document.hasFocus()})};document.addEventListener("visibilitychange",sendActivityStatus),window.addEventListener("focus",sendActivityStatus),window.addEventListener("blur",sendActivityStatus),sendActivityStatus();;require(["jquery"],function($){var scrollInit=false;$(window).scroll(function(){if(scrollInit){return false;}
19scrollInit=true;require(["jquery","gsap","ScrollTrigger","MotionPathPlugin"],function($,gsap,ScrollTrigger,MotionPathPlugin){"use strict";gsap.gsap.config({nullTargetWarn:false});window.onload=function(){ScrollTrigger.ScrollTrigger.refresh();
19ScrollTrigger.ScrollTrigger.update();}
20$(document).ready(function(){gsap.gsap.registerPlugin(ScrollTrigger,MotionPathPlugin);gsap.gsap.defaults({ease:"none",duration:2});if(document.querySelector(".scrolltitle")){gsap.gsap.from(".scrolltitle",{scrollTrigger:{trigger:".scrolltitle",scrub:true,start:"bottom bottom",end:"top top",},scale:0,transformOrigin:"center center",ease:"power1.inOut",});gsap.gsap.to(".scrolltitle",{opacity:"1",});}
21if(document.querySelector(".mscrolltitle")){gsap.gsap.from(".mscrolltitle",{scrollTrigger:{trigger:".mscrolltitle",scrub:true,start:"bottom bottom",end:"top top",},scaleX:0.6,opacity:"0.5",transformOrigin:"center center",ease:"power1.inOut",});gsap.gsap.to(".mscrolltitle",{opacity:"1",});}
22if(document.querySelector(".image")){gsap.gsap.from(".image",{scrollTrigger:{trigger:".image",scrub:true,start:"bottom bottom",end:"top top",},opacity:"1",ease:"none",});}
23if(document.querySelector(".mimage")){gsap.gsap.from(".mimage",{scrollTrigger:{trigger:".mimage",scrub:true,start:"bottom bottom",end:"top top",},opacity:"1",ease:"none",});}
24if(document.querySelector(".mslide_description")){gsap.gsap.from(".mslide_description",{scrollTrigger:{trigger:".Godrej_Title",scrub:true,start:"bottom bottom",end:"center center",},yPercent:100,scaleY:0.5,ease:"none",});}
25if(window.innerWidth>=800){if(document.querySelector("#scrollslider")){function createScrollTimeline(){const tl=gsap.gsap.timeline();tl.from(".bgContent",{yPercent:100}).from(".overlayContent",{yPercent:100},"<").from(".leftOverlay",{xPercent:-100});return tl;}
26const timeline=createScrollTimeline();ScrollTrigger.ScrollTrigger.create({animation:timeline,trigger:"#scrollslider",start:"center center",end:"+=1500",scrub:true,pin:true,onEnter:()=>document.querySelector(".overlayContent")?.classList.add("active-slide"),onLeaveBack:()=>document.querySelector(".overlayContent")?.classList.remove("active-slide"),anticipatePin:1,});}}
27if(window.innerWidth<800){if(document.querySelector("#responsivescroll")){const mtl=gsap.gsap.timeline();mtl.from(".mbgContent",{yPercent:100}).from(".mleftOverlay",{yPercent:50},">");ScrollTrigger.ScrollTrigger.create({trigger:".mbgContent",start:"center center",onEnter:()=>{setTimeout(()=>{document.querySelector(".diffImg")?.classList.add("active-slide");},500);},onLeaveBack:()=>{setTimeout(()=>{document.querySelector(".diffImg")?.classList.remove("active-slide");},500);},});ScrollTrigger.ScrollTrigger.create({animation:mtl,trigger:"#responsivescroll",start:"center center",end:"+=1500",scrub:true,pin:true,ease:"none",anticipatePin:1,});}}
28if(document.querySelector("#sustainability-block")){const tl=gsap.gsap.timeline();if(window.innerWidth<768){tl.fromTo(".leaf-inner2",{x:"400%",y:'-420%',rotation:80,},{ease:"none",duration:1,rotation:0,motionPath:{path:[{x:"-55%",y:"-231%"}]}})
29tl.fromTo(".leaf-inner1",{x:"-400%",y:'-420%',rotation:-80,},{ease:"none",duration:1,rotation:0,motionPath:{path:[{x:"-15%",y:"-140%"}]}},"-=1");tl.from(".leftproduct",{xPercent:-100,opacity:0,duration:1,},"-=1").from(".rightproduct",{xPercent:100,opacity:0,duration:1,},"-=1");tl.from(".leaf-wrapper",{yPercent:0,start:"center center",end:"bottom center",});tl.fromTo("section.panel.mobile.center-Content",{x:"0",y:'100%'},{ease:"none",duration:1,start:"bottom bottom",end:"center center",motionPath:{path:[{x:"0",y:"-9%"}]}},"-=1.1").to(".leaf-inner-wrapper",{scale:1,ease:"none",duration:1,motionPath:{path:[{x:"8%",y:"-22%"}]}},"-=1").to(".leaf-wrapper",{scale:0.4,ease:"none",duration:1,motionPath:{path:[{x:"0%",y:"-2%"}]}},"-=1");tl.to(".leaf-inner1",{scale:0.4,duration:1,ease:"none",motionPath:{path:[{x:"-5%",y:"-212%"}]}},"-=1").to(".leaf-inner2",{scale:0.4,duration:1,ease:"none",motionPath:{path:[{x:"-85%",y:"-325%"}]}},"-=1")
30ScrollTrigger.ScrollTrigger.create({trigger:".center-Content",start:"center center",end:"top top",duration:1,onEnter:()=>{setTimeout(()=>{document.querySelector(".rightproduct a.content-box")?.classList.add("active");document.querySelector(".leftproduct a.content-box")?.classList.add("active");},1000);},onEnterBack:()=>{setTimeout(()=>{document.querySelector(".rightproduct a.content-box")?.classList.remove("active");document.querySelector(".leftproduct a.content-box")?.classList.remove("active");},1000);},onLeaveBack:()=>{setTimeout(()=>{document.querySelector(".rightproduct a.content-box")?.classList.remove("active");document.querySelector(".leftproduct a.content-box")?.classList.remove("active");},1000);},});ScrollTrigger.ScrollTrigger.create({animation:tl,trigger:"#sustainability-block",start:"center center",end:"+=2000",scrub:true,pin:true,ease:"none",anticipatePin:1,});}
31if(window.innerWidth>=768){tl.fromTo(".leaf-inner2",{x:"60%",y:'450%',rotation:80,},{ease:"none",duration:1,rotation:0,motionPath:{path:[{x:"-1%",y:"735%"}]}})
32tl.fromTo(".leaf-inner1",{x:"-60%",y:'450%',rotation:-80,},{ease:"none",duration:1,rotation:0,motionPath:{path:[{x:"-7%",y:"665%"}],}},"-=1");tl.from(".leftproduct",{xPercent:-100,opacity:0,duration:1,},"-=1").from(".rightproduct",{xPercent:100,opacity:0,duration:1,},"-=1");tl.from(".leaf-wrapper",{yPercent:0,start:"center center",end:"bottom center",});tl.from(".center-Content",{yPercent:75,start:"top top",end:"center center",}).to("desktop.center-Content",{yPercent:-5,duration:1,motionPath:{path:[{x:"0",y:"-1%"}]}},"-=1").to(".mobile_center.center-Content",{yPercent:-17,start:"center center",end:"center center",}).to(".leaf-wrapper",{yPercent:-27,scale:0.4,ease:"none",duration:1,},"-=3");tl.to(".leaf-inner1",{scale:0.4,duration:1,ease:"none",motionPath:{path:[{x:"-3%",y:"290%"}]}},"-=3").to(".leaf-inner2",{scale:0.4,duration:1,ease:"none",motionPath:{path:[{x:"-2px",y:"253%"}]}},"-=3")
33ScrollTrigger.ScrollTrigger.create({trigger:".center-Content",start:"center center",end:"top top",duration:1,onEnter:()=>{setTimeout(()=>{document.querySelector(".rightproduct a.content-box")?.classList.add("active");document.querySelector(".leftproduct a.content-box")?.classList.add("active");},1000);},onEnterBack:()=>{setTimeout(()=>{document.querySelector(".rightproduct a.content-box")?.classList.remove("active");document.querySelector(".leftproduct a.content-box")?.classList.remove("active");},1000);},onLeaveBack:()=>{setTimeout(()=>{document.querySelector(".rightproduct a.content-box")?.classList.remove("active");document.querySelector(".leftproduct a.content-box")?.classList.remove("active");},1000);},});ScrollTrigger.ScrollTrigger.create({animation:tl,trigger:"#sustainability-block",start:"center center",end:"+=2000",scrub:true,pin:true,ease:"none",anticipatePin:1,});}}
34function refreshOnVisibility(targetSelector){const target=document.querySelector(target
34Selector);if(!target)return;const observer=new IntersectionObserver((entries)=>{entries.forEach((entry)=>{if(entry.boundingClientRect.top<=0||entry.boundingClientRect.bottom>=window.innerHeight){ScrollTrigger.ScrollTrigger.refresh();ScrollTrigger.ScrollTrigger.update();}});},{root:document.querySelector("#scrollslider, #responsivescroll, #sustainability-block"),threshold:0,});observer.observe(target);}
35refreshOnVisibility("#scrollslider, #responsivescroll, #sustainability-block");});});});});

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.