!function(){"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=Array(t);o=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){o=o.call(e)},n:function(){var e=o.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==o.return||o.return()}finally{if(s)throw a}}}}function s(e,t,o){return(t=v(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function p(e){for(var t=1;t0&&"/"!=o[0]&&(o="/"+o),o}(decodeURIComponent(e.href))},U=new(function(){return a((function e(){o(this,e)}),[{key:"getUrl",value:function(){return new URL(window.location.href)}},{key:"getNextLevelUrl",value:function(){try{return new URL(window.parent.location.href)}catch(e){}return window.location.ancestorOrigins&&window.location.ancestorOrigins.item(0)?new URL(window.location.ancestorOrigins.item(0)):document.referrer?new URL(document.referrer):null}},{key:"getTopLevelUrl",value:function(){try{return new URL(window.top.location.href)}catch(e){}return window.location.ancestorOrigins&&window.location.ancestorOrigins.length>0?new URL(window.location.ancestorOrigins[window.location.ancestorOrigins.length-1]):document.referrer?new URL(document.referrer):null}},{key:"getHostname",value:function(){var e=this.getUrl();return e?e.hostname:""}},{key:"getNextLevelHostname",value:function(){var e=this.getNextLevelUrl();return e?e.hostname:""}},{key:"getTopLevelHostname",value:function(){var e=this.getTopLevelUrl();return e?e.hostname:""}}])}()),I="roomvo-lite-iframe",R="roomvo-product-display-button",E="ffPopup",T="roomvoProductCatalog",M="roomvoProductDisplay",O="roomvoStoreLocator",A=E,N="roomvoMeasurement",F="roomvo-stimr",B="roomvo_add_to_cart",V="ffvendorids",q="ffvisitorids",z="ffvendorurlpath",j="fftrackingcode",D="ffagreedtermsofuse",W="roomvoLaunchSequenceRecentUseFlag",H="roomvoLaunchSequence",G=[N,A],Z=(b={},s(s(s(s(s(s(s(s(s(s(b,0,"unknown"),1,"floor"),2,"rug"),3,"furniture"),4,"countertop"),5,"wall"),6,"cabinet"),7,"wall_decor"),8,"ceiling"),9,"door"),s(s(s(s(b,10,"trim"),11,"furniture_coating"),12,"roof"),13,"radiator")),X={"en-us":s(s(s({"Embed this Roomvo share link on your website":"Embed this Roomvo share link on your website","Share Product":"Share Product"},"Copy","Copy"),"Close","Close"),"Loading...","Loading...")},Y=(s(s(s({},0,"none"),1,"standalone"),2,"product_integration"),s(s(s({},0,"desktop"),1,"touch"),2,"kiosk"),"roomvoOpenProductVisualizer"),J="roomvoResizeCatalog",K="roomvoOpenProductPage",$="roomvoOpenCatalog",Q="roomvoRequestEstimate",ee="ffSaveVisitor",te="ffFocusPopup",oe="roomvoCloseProductDisplay",re="roomvoAgreeToTermsOfUse",ne="roomvoAddToCart",ae="roomvoLoadPopupFromProductDisplay",ie="resizeStoreLocatorIframe",se="ffTrack",le="roomvoFocusIframe",ce="roomvoOpenMeasurement",ue="roomvoCloseMeasurement",de="roomvoUpdateProductFilter",pe="roomvoScrollTopOfIframeIntoView",me="roomvoRoomPageLiteExpand",fe="roomvoRoomPageLiteShrink",he="roomvoRoomPageLiteSwipe",ve="roomvoMeasureResult",ge="roomvoNotifyRoomPageLiteLoaded",ye="roomvoTrackProductUsageEventForLite",we="roomvoTrackProductImpressionEventForLite",be="roomvoTrackRoomPageViewForLite",Pe="roomvoRoomPageLiteProductUpdated",_e="roomvoDownloadVisualizedRoomImage",ke="WebXR",Se="iOS",xe="others",Ce=["roomvo","googlebot","bingbot","ahrefsbot","semrushbot","siteauditbot","facebookexternalhit","twitter","linkedin"],Le=function(e){return Boolean(function(e){return Boolean(e&&("MacIntel"===e.platform||"iPad"===e.platform||"iPhone"===e.platform||"iPod"===e.platform||function(e){return e&&e.userAgent.includes("Macintosh; Intel Mac OS X")}(e)))}(e)&&e.maxTouchPoints>1)},Ue=function(e){return Boolean(!window.MSStream&&(function(e){return e&&/iPad|iPhone|iPod/.test(e.userAgent)}(e)||Le(e)))},Ie=new RegExp(["(android|bb\\d+|meego).+mobile|avantgo|bada/|blackberry","|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp","|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)/|plucker","|pocket|psp|series(4|6)0|symbian|treo|up.(browser|link)|vodafone|wap|windows ce|xda","|xiino|android|ipad|playbook|silk"].join(""),"i"),Re=function(){var e,t;return e=navigator.userAgent||navigator.vendor||window.opera,t=new RegExp(["1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s","|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu","|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)","|br(e|v)w|bumb|bw-(n|u)|c55/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw","|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)","|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo","|go(.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c","|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|/)|ibro|idea","|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |/)|klon","|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|/(k|l|u)|50|54|-[a-w])|libw|lynx","|m1-w|m3ga|m50/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef","|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]","|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph","|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire","|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)","|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)","|sdk/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3","|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)","|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(.b|g1|si)","|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61","|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-","|your|zeto|zte-"].join(""),"i"),!!e&&(Ie.test(e)||t.test(e.substring(0,4)))||Ue(window.navigator)?1:0},Ee=function(){if(window.navigator.xr)try{return window.navigator.xr.isSessionSupported("immersive-ar")}catch(e){return Promise.resolve(!1)}return Promise.resolve(!1)},Te=function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return Oe(e)===Oe({})},Me=function(e,t,o){var r;return function(){var n=this,a=arguments,i=o&&!r;clearTimeout(r),r=setTimeout((function(){r=null,o||e.apply(n,a)}),t),i&&e.apply(n,a)}},Oe=function(e){return!JSON.stringify&&JSON.serialize?JSON.serialize(e):JSON.stringify(e)},Ae=function(e){return!JSON.parse&&JSON.deserialize?JSON.deserialize(e):JSON.parse(e)},Ne=function(e){return Fe()[e]},Fe=function(){for(var e={},t=document.cookie.split(";"),o=0;o2&&void 0!==arguments[2]?arguments[2]:{},r=o.cookieExpiration?o.cookieExpiration:"Fri, 31 Dec 9999 23:59:59 GMT",n=["".concat(e,"=").concat(t),"expires=".concat(r),"path=/",o.sameSitePolicy||"".concat(Ve())];o.domain&&n.push("domain=".concat(o.domain)),document.cookie=n.join("; ")},Ve=function(){return"https:"===U.getUrl().protocol?"SameSite=None; Secure":"SameSite=Lax"},qe=function(e,t){try{e.log.length+t.length<1e6?e.log+=t+"\n":e.log.endsWith(".....\n")||(e.log+=".....\n")}catch(o){e.log=o.toString()}},ze=function(e,t,o){if(!e.isRoomvoCookieDisabled()){var r={cookieExpiration:e.getCookieExpiration(),domain:e.getCookieDomain()},n=o.cookieName,a=o.cookieValue,i=o.config,s=void 0===i?{}:i,l=Object.assign({},r,s);switch(t.toLowerCase()){case"write":return Be(n,a,l);case"read":return Ne(n);case"read/rewrite":var c=Ne(n);return c&&Be(n,c,l),c;case"check":return function(e){return void 0!==Ne(e)}(n)}}return qe(e,"Accessing cookies is not permitted."),null},je=function(e){return ze(e,"read",{cookieName:j})||""},De=function(e){return"[object RoomvoIntegrator]"===e.toString()},We=function(e){var t=Object.values(window._roomvo).filter((function(e){return e.toString().endsWith("Integrator]")}));return e?window._roomvo[e]||t.find((function(e){return"[object AssistantIntegrator]"===e.toString()}))||t.find(De)||t[0]:t.find(De)||t[0]},He={animation:"none","animation-delay":"0","animation-direction":"normal","animation-duration":"0","animation-fill-mode":"none","animation-iteration-count":"1","animation-name":"none","animation-play-state":"running","animation-timing-function":"ease","backface-visibility":"visible",background:"0","background-attachment":"scroll","background-clip":"border-box","background-color":"transparent","background-image":"none","background-origin":"padding-box","background-position":"0 0","background-position-x":"0","background-position-y":"0","background-repeat":"repeat","background-size":"auto auto",border:"0","border-style":"none","border-width":"medium","border-color":"inherit","border-bottom":"0","border-bottom-color":"inherit","border-bottom-left-radius":"0","border-bottom-right-radius":"0","border-bottom-style":"none","border-bottom-width":"medium","border-collapse":"separate","border-image":"none","border-left":"0","border-left-color":"inherit","border-left-style":"none","border-left-width":"medium","border-radius":"0","border-right":"0","border-right-color":"inherit","border-right-style":"none","border-right-width":"medium","border-spacing":"0","border-top":"0","border-top-color":"inherit","border-top-left-radius":"0","border-top-right-radius":"0","border-top-style":"none","border-top-width":"medium",bottom:"auto","box-shadow":"none","box-sizing":"content-box","caption-side":"top",clear:"none",clip:"auto",color:"inherit",columns:"auto","column-count":"auto","column-fill":"balance","column-gap":"normal","column-rule":"medium none currentColor","column-rule-color":"currentColor","column-rule-style":"none","column-rule-width":"none","column-span":"1","column-width":"auto",content:"normal","counter-increment":"none","counter-reset":"none",cursor:"auto",direction:"ltr",display:"inline","empty-cells":"show",float:"none",font:"normal","font-family":"inherit","font-size":"medium","font-style":"normal","font-variant":"normal","font-weight":"normal",height:"auto",hyphens:"none",left:"auto","letter-spacing":"normal","line-height":"normal","list-style":"none","list-style-image":"none","list-style-position":"outside","list-style-type":"disc",margin:"0","margin-bottom":"0","margin-left":"0","margin-right":"0","margin-top":"0","max-height":"none","max-width":"none","min-height":"0","min-width":"0",opacity:"1",orphans:"0",outline:"0","outline-color":"invert","outline-style":"none","outline-width":"medium",overflow:"visible","overflow-x":"visible","overflow-y":"visible",padding:"0","padding-bottom":"0","padding-left":"0","padding-right":"0","padding-top":"0","page-break-after":"auto","page-break-before":"auto","page-break-inside":"auto",perspective:"none","perspective-origin":"50% 50%",position:"static",right:"auto","tab-size":"8","table-layout":"auto","text-align":"inherit","text-align-last":"auto","text-decoration":"none","text-decoration-color":"inherit","text-decoration-line":"none","text-decoration-style":"solid","text-indent":"0","text-shadow":"none","text-transform":"none",top:"auto",transform:"none","transform-style":"flat",transition:"none","transition-delay":"0s","transition-duration":"0s","transition-property":"none","transition-timing-function":"ease","unicode-bidi":"normal","vertical-align":"baseline",visibility:"visible","white-space":"normal",widows:"0",width:"auto","word-spacing":"normal","z-index":"auto"},Ge=function(){try{var e=document.createElement("canvas");if(null==(e.getContext("webgl")||e.getContext("experimental-webgl")))throw"nowebgl"}catch(t){return!1}return!0},Ze=function(e,t,o){Xe(e,t,o)},Xe=function(e,t,o){!function(e,t){if(!e)return!1;for(var o=0;o2&&void 0!==arguments[2]?arguments[2]:50;return e=nt(e),t=nt(t),"#"+["red","green","blue"].map((function(r){return at(Math.round(t[r]+(e[r]-t[r])*(o/100)))})).join("")},st=function(e,t){return it("#FFFFFF",e,t)},lt=function(e,t){return it("#000000",e,t)},ct=7,ut=(s(s(s(s({},0,"shade.unknown"),1,"shade.light"),2,"shade.medium"),3,"shade.dark"),s(s(s(s(s(s(s(s(s(s(P={},0,"color.unknown"),1,"color.beige"),2,"color.black"),3,"color.blue"),4,"color.brown"),5,"color.gray"),6,"color.green"),7,"color.orange"),8,"color.purple"),9,"color.red"),s(s(P,10,"color.white"),11,"color.yellow"),s(s(s(s(s(s(s(s(s(s(_={},0,"unknown"),1,"floor"),2,"rug"),3,"furniture"),4,"countertop"),5,"wall"),6,"cabinet"),7,"wall_decor"),8,"ceiling"),9,"door"),s(s(s(s(_,10,"trim"),11,"furniture_coating"),12,"roof"),13,"radiator"),s(s(s(s(s(s(s(s(s(s(k={},1,"Floors"),2,"Rugs"),3,"Furniture"),4,"Countertops"),5,"Walls"),6,"Cabinets"),7,"Wall Decors"),8,"Ceilings"),9,"Doors"),10,"Trims"),s(s(s(k,11,"Furniture Coatings"),12,"Roofs"),13,"Radiators")),dt=(s(s(s(s(s(s(s(s(s(s(S={},19,"Area Rugs"),17,"Boards and Panels"),18,"Brick and Stone"),14,"Butcher Block"),7,"product_subtype.carpet_tile"),12,"Concrete"),9,"Engineered Stone"),1,"product_subtype.hardwood"),11,"product_subtype.laminate"),4,"product_subtype.luxury_vinyl"),s(s(s(s(s(s(s(s(s(s(S,21,"Mats"),8,"Natural Stone"),22,"Other"),20,"Outdoor Rugs"),15,"Paint"),6,"Patterned Broadloom Carpet"),5,"Solid Color Broadloom Carpet"),10,"product_subtype.solid_surface"),13,"Stainless Steel"),2,"product_subtype.tile"),s(s(s(s(s(s(s(s(s(s(S,3,"product_subtype.vinyl"),16,"Wallpaper"),23,"Flat Panel Cabinet"),24,"Shaker Cabinet"),25,"Inset Cabinet"),26,"Thermofoil Cabinet"),27,"Glass Cabinet"),28,"Wall Art"),29,"Murals and Decals"),30,"Wall Mirrors"),s(s(s(s(s(s(s(s(s(s(S,31,"Posters and Prints"),32,"Signs"),33,"Wall Clocks"),34,"Wall Shelves"),35,"Wall Sconces"),36,"Stain"),37,"Paver"),38,"Decking"),39,"Resin"),40,"Outdoor Carpet"),s(s(s(s(S,41,"Gravel"),42,"Artificial Grass"),43,"Rubber"),44,"Tarmac")),pt=(s(s(s(s({},0,"Warm White"),1,"Soft White"),2,"Daylight"),3,"Crystal White"),"en-us"),mt=(s(s(s(s(s(s(s(s(s(s({},0,"pricing_unit.unspecified"),1,"pricing_unit.each"),2,"pricing_unit.square_meter"),3,"pricing_unit.square_foot"),4,"pricing_unit.pallet"),5,"pricing_unit.box"),10,"pricing_unit.oz_8"),20,"pricing_unit.gallon_1"),21,"pricing_unit.gallon_5"),30,"pricing_unit.quartz_5"),function(e){for(var t=Object.assign({},X),o=e.getLocalizedStringOverrides(),r=0,n=Object.entries(o);r text input doesn\'t working */\ninput, textarea {\n -webkit-user-select: auto;\n}\n\n/* revert the \'white-space\' property for textarea elements on Safari */\ntextarea {\n white-space: revert;\n}\n\n/* minimum style to allow to style meter element */\nmeter {\n -webkit-appearance: revert;\n appearance: revert;\n}\n\n/* reset default text opacity of input placeholder */\n::placeholder {\n color: unset;\n}\n\n/* fix the feature of \'hidden\' attribute.\ndisplay:revert; revert to element instead of attribute */\n:where([hidden]) {\n display: none;\n}\n\n/* revert for bug in Chromium browsers\n- fix for the content editable attribute will work properly.\n- webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element*/\n:where([contenteditable]:not([contenteditable="false"])) {\n -moz-user-modify: read-write;\n -webkit-user-modify: read-write;\n overflow-wrap: break-word;\n -webkit-line-break: after-white-space;\n -webkit-user-select: auto;\n}\n\n/* apply back the draggable feature - exist only in Chromium and Safari */\n:where([draggable="true"]) {\n -webkit-user-drag: element;\n}\n',e.shouldHide,e.styleNode,e.contentNode,e.logoNode,e.src,e.textNode,e.text,e.color,e}return c(r,e),a(r,[{key:"applyCssRules",value:function(){this.styleNode||(this.styleNode=document.createElement("style")),this.styleNode.textContent=this.cssRules,this.shadowRoot.appendChild(this.styleNode)}},{key:"addCssRules",value:function(e){this.cssRules+=Ke(e).join("\n")}},{key:"connectedCallback",value:function(){this.isConnected&&(this.color=this.getAttribute("color"),this.src=this.getAttribute("src"),this.text=this.getAttribute("text"),this.shouldHide=this.getAttribute("hide"),this.create(),this.applyCssRules(),this.updateDisplay(!0))}},{key:"attributeChangedCallback",value:function(e,t,o){if(this.isConnected)switch(e){case"color":this.color=o,this.updateLoaderColor();break;case"hide":this.shouldHide=o,this.updateDisplay();break;case"src":this.src=o,this.updateOrInsertLogo();break;case"text":this.text=o,this.updateOrInsertText()}}},{key:"updateDisplay",value:function(e){var t=this.shadowRoot.firstChild;null!==this.shouldHide?(e||this.shadowRoot.addEventListener("transitionend",(function(){t.style.display="none"}),{once:!0}),t.classList.add("roomvo-launch-sequence--hide")):(t.style.display="grid",window.requestAnimationFrame((function(){return t.classList.remove("roomvo-launch-sequence--hide")})))}},{key:"create",value:function(){var e=this.createModal();e.append(this.createContent()),e.append(this.createRoomvoBranding());var t=this.createContainer();return t.append(e),this.shadowRoot.append(t),t}},{key:"createModal",value:function(){var e=document.createElement("div");e.classList.add("roomvo-launch-sequence__modal");var t=[[".".concat(e.className),["width","80%"],["max-width","640px"],["border-radius","16px"],["background-color","white"],["box-shadow","0px 40px 40px rgba(57, 59, 68, 0.20)"],["opacity","1"],["transform","translateY(0%)"],["transition","all 0.25s cubic-bezier(0,0.25,0.29,1) 1s"],["transition-delay","0.25s"]],[".roomvo-launch-sequence--hide .".concat(e.className),["transform","translateY(5%)"],["opacity","0"],["transition-delay","0s"]]];return this.addCssRules(t),e}},{key:"createContent",value:function(){var e=this;this.contentNode=document.createElement("div"),this.contentNode.classList.add("roomvo-launch-sequence__content");var t=[[".".concat(this.contentNode.className),[["display","grid"],["place-items","center"],["gap","32px"],["grid-gap","32px"],["max-width","80%"],["margin-left","auto"],["margin-right","auto"]]]];this.addCssRules(t);!function(e,t){if("function"!=typeof t||!e||"object"!==g(e))throw new Error("Invalid Arguments");document.querySelector('meta[name="viewport"][content*="device-width"][content*="initial-scale=1"]')||document.head.insertAdjacentHTML("beforeend",''),t(e),!0!==(null==e?void 0:e.isListenedTo)&&(e.isListenedTo=!0,"addEventListener"in e?e.addEventListener("change",t):e.addListener(t))}(window.matchMedia("(min-width: 600px)"),(function(t){e.contentNode.style.setProperty("padding",t.matches?"12.5vh 0":"7.5vh 0","important")})),this.logoNode=this.createLogo(),this.logoNode&&this.contentNode.append(this.logoNode),this.textNode=this.createText(),this.textNode&&this.contentNode.append(this.textNode);var o=this.createLoader();return o&&this.contentNode.append(o),this.contentNode}},{key:"createLogo",value:function(){if(!this.src)return null;var e=document.createElement("div");e.style.setProperty("max-width","70%");var t=document.createElement("img");return t.src=this.src,t.alt="",t.style.setProperty("opacity","0"),t.onload=function(){return t.style.opacity="1"},t.style.setProperty("transition","opacity 0.2s ease-in"),t.style.setProperty("object-fit","contain"),t.style.setProperty("height","175px"),t.style.setProperty("width","100%"),e.append(t),e}},{key:"updateOrInsertLogo",value:function(){this.logoNode&&this.src?this.logoNode.firstChild.src=this.src:this.logoNode?(this.logoNode.remove(),this.logoNode=null):this.src&&(this.logoNode=this.createLogo(),this.contentNode.prepend(this.logoNode))}},{key:"createText",value:function(){if(!this.text)return null;var e=document.createElement("p");return e.append(this.text),e.style.setProperty("font","normal normal normal 16px/24px Sans-Serif"),e.style.setProperty("color","#373C40"),e.style.setProperty("text-align","center"),e.style.setProperty("margin","0"),e}},{key:"updateOrInsertText",value:function(){this.textNode&&this.text?this.textNode.innerText=this.text:this.textNode?(this.textNode.remove(),this.textNode=null):this.text&&(this.textNode=this.createText(),this.logoNode?this.logoNode.insertAdjacentElement("afterend",this.textNode):this.contentNode.prepend(this.textNode))}},{key:"createLoader",value:function(){var e=document.createElement("div");e.classList.add("roomvo-launch-sequence__loader-cubes");var t=[[".".concat(e.className),["position","relative"],["min-width","96px"],["min-height","48px"],["padding-top","24px"]]];return this.addCssRules(t),e.insertAdjacentHTML("afterbegin",'\n\n\n \n\n\n\n\n\n \n \n \n \n \n\n\n\n\n \n\n\n\n\n\n \n \n \n \n \n\n\n\n\n \n\n\n\n\n\n \n \n \n \n \n\n\n\n\n \n\n\n\n\n\n \n \n \n \n \n\n\n'),this.colorLoader(),this.animateLoader(e.className),e}},{key:"colorLoader",value:function(){var e,t=null!==(e=this.color)&&void 0!==e?e:"#818C98",o=lt.bind(null,t),r=[st.bind(null,t)(10),o(10),o(42),o(30)],n=[["path.cube__top",["fill",r[0]]],["path.cube__left-side",["fill",r[1]]],["path.cube__shadow",["fill",r[2]]],["path.cube__right-side",["fill",r[3]]]];this.addCssRules(n)}},{key:"updateLoaderColor",value:function(){this.cssRules.replaceAll(/path\.cube[^]*?}/g,""),this.colorLoader(),this.applyCssRules()}},{key:"animateLoader",value:function(e){var t=this,o=[[".".concat(e,">.loader-cubes__cube"),["position","absolute"]],[["loader-cubes__four","loader-cubes__one","loader-cubes__three","loader-cubes__two"].map((function(t){return".".concat(e,">.").concat(t)})).join(","),["animation-duration",".85s"],["animation-iteration-count","infinite"],["animation-timing-function","ease-in-out"]],[".".concat(e,">.loader-cubes__one"),["transform","translate(-36%,-16%)"],["animation-name","loader-cubes__one"]],[".".concat(e,">.loader-cubes__two"),["transform","translate(-10%,0)"],["animation-name","loader-cubes__two"]],[".".concat(e,">.loader-cubes__three"),["transform","translate(16%,-16%)"],["animation-name","loader-cubes__three"]],[".".concat(e,">.loader-cubes__four"),["transform","translate(42%,0)"],["animation-name","loader-cubes__four"]]];this.addCssRules(o),["@keyframes loader-cubes__one {\n 0% {\n transform: translate(-36%, -16%);\n }\n 50% {\n transform: translate(-10%, -32%);\n }\n 100% {\n transform: translate(16%, -16%);\n }\n }\n ","@keyframes loader-cubes__two {\n 0%,\n 50% {\n transform: translate(-10%, 0);\n }\n 100% {\n transform: translate(-36%, -16%);\n }\n }\n ","@keyframes loader-cubes__three {\n 0%,\n 50% {\n transform: translate(16%, -16%);\n }\n 100% {\n transform: translate(42%, 0);\n }\n }\n ","@keyframes loader-cubes__four {\n 0% {\n transform: translate(42%, 0);\n }\n 50% {\n transform: translate(16%, 16%);\n }\n 100% {\n transform: translate(-10%, 0);\n }\n }\n "].forEach((function(e){return t.cssRules+=e}))}},{key:"createRoomvoBranding",value:function(){var e=document.createElement("p");e.style.setProperty("font","normal normal normal 14px/20px Sans-Serif"),e.style.setProperty("text-align","center"),e.style.setProperty("color","#818C98"),e.style.setProperty("margin-bottom","4.8px"),e.innerText="Powered by ";var t=document.createElement("strong");return t.style.setProperty("font-weight","500"),t.style.setProperty("color","#FF3D00"),t.innerText="roomvo",e.append(t),e}},{key:"createContainer",value:function(){var e=document.createElement("div");e.classList.add("roomvo-launch-sequence__container");var t=[[".".concat(e.className),["position","fixed"],["top","0"],["left","0"],["backdrop-filter","blur(8px)"],["height","100%"],["width","100%"],["background-color","rgba(255,255,255,0.7)"],["z-index","2147483647"],["place-items","center"],["display","grid"],["opacity","1"],["transition","opacity 0.5s"],["transition-delay","0s"]],[".".concat(e.className,".roomvo-launch-sequence--hide"),["opacity","0"],["transition-delay","1s"]]];return this.addCssRules(t),e}}],[{key:"observedAttributes",get:function(){return["color","hide","src","text"]}}])}(w(HTMLElement)),ht=function(e){var t,o=document.getElementById(H)||Pt(e);o.hasAttribute("hide")&&window.requestAnimationFrame((function(){return o.removeAttribute("hide")})),null!==(t=o.dataset)&&void 0!==t&&t.closingTimerId||(o.dataset.closingTimerId=setTimeout(yt,e.launchSequenceTimeoutDuration,e)),o.dataset.startTime=Date.now()},vt=function(){var e,t=document.getElementById(H);t&&(t.setAttribute("hide",""),"null"!==(null===(e=t.dataset)||void 0===e?void 0:e.closingTimerId)&&(clearTimeout(t.dataset.closingTimerId),delete t.dataset.closingTimerId))},gt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e||(e=document.getElementById(A)),e.classList.contains("roomvo-popup--loading")&&(e.classList.remove("roomvo-popup--loading"),e.ariaHidden=!1,window.requestAnimationFrame((function(){e.classList.add("roomvo-popup--show")})))},yt=function(e){document.getElementById(A).addEventListener("transitionend",vt,{once:!0}),bt(e)?setTimeout(gt,wt()):gt()},wt=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1500,o=Number(null===(e=document.getElementById(H).dataset)||void 0===e?void 0:e.startTime)||0;return Math.max(o+t-Date.now(),0)},bt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=!ze(e,"check",{cookieName:W}),r=new Date;r.setTime(r.getTime()+60*t*60*1e3);var n=r.toUTCString();return ze(e,"write",{cookieName:W,cookieValue:"",config:{cookieExpiration:n}}),o},Pt=function(e){void 0===window.customElements.get("launch-sequence")&&window.customElements.define("launch-sequence",e.getLaunchSequenceClass());var t=document.createElement("launch-sequence");return t.id=H,t.setAttribute("src",e.vendorLogoUrl),t.setAttribute("text",_t(e)),t.setAttribute("color",e.launchSequenceLoaderBaseColor),t.setAttribute("hide",""),document.body.append(t),t},_t=function(e){return mt(e),function(e,t){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.getLocale();if(r in e._localizedStrings&&t in e._localizedStrings[r])return e._localizedStrings[r][t];var n=Object.keys(e._localizedStrings),a=function(e){return e.split("-")[0]},i=n.map(a).indexOf(a(r));if(-1!==i){var s,l=null===(s=e._localizedStrings[n[i]])||void 0===s?void 0:s[t];if(l)return l}return o?"":t in e._localizedStrings["en-us"]?e._localizedStrings["en-us"][t]:t}(e,"Loading...",!0)},kt=function(e,t,o,r){t&&(e.queuedProductCodeRequests.push({productCode:t,callback:o,callbackArguments:r,hasBeenSentOff:!1}),e.debouncedFetchProductCodeMappings||(e.debouncedFetchProductCodeMappings=Me(St,50,!1)),e.debouncedFetchProductCodeMappings(e))},St=function(e){for(var t="?vendor=".concat(e.vendorIds[e.getVendorUrlPathForStimr()]),o=new Set,r=0;r4e3?a[++n]=[e]:a[n].push(e)}));for(var i=e.hasDesignerProducts?"&has_designer_products=1":"",s=e.shouldIncludeUpstreamProductMappings()?"&include_upstream_product_mappings=1":"",l=0;l<=n;++l){var c="&product_code__in="+encodeURIComponent(Oe(a[l])),u=e.serverUrl+"/services/product/product_mappings/"+t+c+i+s,d=new XMLHttpRequest;d.bucketIndex=l,d.open("GET",u,!0),d.onreadystatechange=function(){4==this.readyState&&200==this.status&&(Ae(this.response).forEach((function(t){void 0===e.productCodeMap[t.productCode]&&(e.productCodeMap[t.productCode]=[]),e.productCodeMap[t.productCode].push(t)})),a[this.bucketIndex].forEach((function(t){void 0===e.productCodeMap[t]&&(e.productCodeMap[t]=[]);for(var o=e.queuedProductCodeRequests.length-1;o>=0;--o)if(e.queuedProductCodeRequests[o].productCode==t){var r=e.queuedProductCodeRequests[o],n=!r.ignoreCallbackIfNotAvailable||e.productCodeMap[t]&&e.productCodeMap[t].length;r.callback&&n&&r.callback.apply(null,r.callbackArguments),e.queuedProductCodeRequests.splice(o,1)}})))},d.send()}},xt=function(e){return["number","string"].includes(g(e))?!isNaN(e)&&Number.isInteger(parseFloat(e))?e in Z?parseInt(e):0:parseInt(Object.keys(Z).find((function(t){return Z[t]===e})))||0:0},Ct="left",Lt="right",Ut=function(){if(!document.getElementById(A)){var e=document.createElement("iframe");$e(e),e.style.setProperty("display","none","important"),e.style.setProperty("position","fixed","important"),e.style.setProperty("top","0","important"),e.style.setProperty("left","0","important"),e.style.setProperty("width","100%"),e.style.setProperty("height","100%"),e.style.setProperty("z-index","2147483647","important"),e.style.setProperty("border","none","important"),e.id=A,e.type="text/html",e.allow="clipboard-write;xr-spatial-tracking;fullscreen",e.title="Roomvo Visualizer, Powered by Roomvo",e.ariaLabel="Roomvo Visualizer, Powered by Roomvo",e.tabIndex="-1",document.body.appendChild(e)}},It=function(e){var t;if(e.style.setProperty("background-color",""),e.style.setProperty("box-shadow",""),e.style.setProperty("transform",""),e.style.setProperty("transition",""),e.style.setProperty("transition-delay",""),e.style.setProperty("transition-duration",""),e.style.setProperty("transition-property",""),e.style.setProperty("transition-timing-function",""),"true"!==(null===(t=document.head.dataset)||void 0===t?void 0:t.popupStylized)){var o=[["#".concat(A),["background-color","white",!0],["box-shadow","0px 0px 120px rgba(57, 59, 68, 0.30)",!0],["transition","transform .75s cubic-bezier(0.95, 0, 1, 0.94)"],["transform","translateY(110%)"]],["#".concat(A,".roomvo-popup--show"),["transform","translateY(0%) translateX(0%)",!0],["transition-timing-function","cubic-bezier(0,.25,.29,1)",!0]],["#".concat(A,".roomvo-popup--loading"),["width","1px",!0],["height","1px",!0]]];Je(o),document.head.dataset.popupStylized="true"}e.classList.add("roomvo-popup--loading"),e.ariaHidden=!0},Rt=function(e){var t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Lt;if(It(e),e.style.setProperty("right",""),e.style.setProperty("left",""),"true"!==(null===(t=document.head.dataset)||void 0===t?void 0:t.isDrawerPopupStylized)){var r=[["#".concat(A,".roomvo-drawer.roomvo-drawer--").concat(Lt),["transform","translateX(110%)"],["right","0"]],["#".concat(A,".roomvo-drawer.roomvo-drawer--").concat(Ct),["transform","translateX(-110%)"],["left","0"]]],n=Je(r);document.head.dataset.isDrawerPopupStylized="true",n.insertRule("@media (min-width: 600px) {\n #".concat(A,".roomvo-drawer { width: 500px !important; }\n }"))}e.classList.add("roomvo-drawer","roomvo-drawer--".concat(o))},Et=function(e,t){null==t||t.addEventListener("load",(function(){return yt(e)}),{once:!0})},Tt=function(e,t){var o=document.getElementById(e);return o&&o.dataset[t]},Mt=function(e){try{var t=window.getComputedStyle(document.body).getPropertyValue("overflow");"hidden"!==t&&(e.dataset.previousBodyStyleOverflow=t,document.body.style.overflow="hidden")}catch(o){}},Ot=function(e,t,o){try{var r=window.getComputedStyle(e).getPropertyValue("overscroll-behavior");["contain","none"].includes(r)||(t.dataset[o]=r,e.style.overscrollBehavior="contain")}catch(n){}},At=function(e){return!!e&&(e&&e.src&&e.contentWindow)},Nt=function(e,t){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(e.isWebGlNeeded()&&!Ge())return alert("Your browser or device does not support WebGL. Please try a different browser or device."),null;if((t=new URL(t)).pathname+=t.pathname.endsWith("/")?"":"/","about:srcdoc"==window.location.href)return t.searchParams.delete("visitor_id"),window.open(t.href),null;t.searchParams.set("domain",U.getTopLevelHostname()),t.searchParams.set("is_in_top_window",0),t.searchParams.set("version","1"),!o||window.history.state&&window.history.state.roomvoPopupUrl||(t.searchParams.set("use_history_padding",0),window.history.pushState({roomvoPopupUrl:t.href,integratorVendorUrlPath:e.getVendorUrlPath(),loadPopupFunctionName:r},"")),Ut();var n=document.getElementById(A);return n&&n.parentNode==document.body&&document.body.removeChild(n),n.style.display="block",{popup:n,popupUrl:t}},Ft=function(e,t){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=Nt(e,t,o,"loadPopupWithUrl"),n=r.popup,a=r.popupUrl;n&&(e.shouldShowLaunchSequence?(It(n),ht(e),Et(e,n)):n.style.background='white url("'.concat(e.serverUrl,'/static/images/loading.gif") no-repeat center'),n.src=a.href,n.dataset.openerVendorUrlPath=e.getVendorUrlPath(),document.body.appendChild(n),Mt(n),Ot(document.body,n,"previousBodyOverscrollBehavior"),Ot(document.documentElement,n,"previousRootOverscrollBehavior"),setTimeout(Wt,10,A))},Bt=function(){var e,t,o;return null!==(t=C(),o="originator",e=new URL(t.href).searchParams.get(o))&&void 0!==e?e:""},Vt=function(e,t,o,r,n,a){void 0!==r&&""!==r||(r="/"),void 0===n&&(n=""),null==a&&(a="");var i=e.visitorIds[t]||"",s=e.serverUrl+"/my/"+t+r+"?visitor_id="+encodeURIComponent(i)+"&tracking_code="+encodeURIComponent(je(e))+"&locale="+encodeURIComponent(e.getLocale())+"&prefilter="+encodeURIComponent(e.prefilter)+n+"&iframe_id="+"ffPopup&originator="+encodeURIComponent(Bt());e.agreedTermsOfUse&&(s+="&agreed_terms_of_use=1");var l=function(e,t,o){if(e.productCodeMap&&t in e.productCodeMap&&0!==e.productCodeMap[t].length)return[].concat(h(e.productCodeMap[t].filter((function(e){return e.productType===o})).map((function(e){return e.product}))),h(e.productCodeMap[t].filter((function(e){return e.productType!==o})).map((function(e){return e.product})))).filter((function(e){return Boolean(e)})).join(",")}(e,o,a);s+=l?"&product_ids="+encodeURIComponent(l):"&product_code="+encodeURIComponent(o)+"&product_type="+encodeURIComponent(a),Ft(e,s),e.trackActionInHostAnalytics("see this in my room",o)},qt=function(e,t,o,r,n,a){try{a=a||e.getProductCode(t)}catch(i){a=""}Vt(e,e.getVendorUrlPathForStimr(),a,o,r,n)},zt=function(e){var t=document.createElement("iframe");return $e(t),t.style.setProperty("display","none","important"),t.id=e,t.type="text/html",t.allow="clipboard-write;xr-spatial-tracking;fullscreen",t},jt=function(e,t,o){var r=e.getVendorUrlPath(),n=e.visitorIds[r]||"";t=Dt(t,o);var a=e.serverUrl+"/my/"+r+"/catalog?visitor_id="+encodeURIComponent(n)+"&tracking_code="+encodeURIComponent(je(e))+"&locale="+encodeURIComponent(e.getLocale())+t+"&iframe_id="+A;o&&(a+="&product_id="+o),Ft(e,a)},Dt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,o=new URL(C().href).searchParams;if(!t){if(!e.includes("product_type")&&o.get("product_type")){var r=xt(o.get("product_type"));0!==r&&(e+="&product_type=".concat(r))}!e.includes("product_code")&&o.get("sku")&&(e+="&product_code=".concat(encodeURIComponent(o.get("sku")))),!e.includes("supplier_url_path")&&o.get("supplier")&&e.includes("product_code")&&(e+="&supplier_url_path=".concat(o.get("supplier")))}return!e.includes("prefilter")&&o.get("prefilter")&&(e+="&prefilter=".concat(encodeURIComponent(o.get("prefilter")))),!e.includes("page")&&o.get("page")&&(e+="&page=".concat(encodeURIComponent(o.get("page")))),e},Wt=function(e){for(var t=Array.from(document.querySelectorAll("*")).filter((function(e){return"2147483647"==window.getComputedStyle(e).getPropertyValue("z-index")})),o=0;o1&&void 0!==arguments[1]?arguments[1]:"";if(!window.history.state||!window.history.state.roomvoPopupUrl){var o=new URL("".concat(e.serverUrl,"/my/").concat(e.getVendorUrlPath(),"/measure/"));o.searchParams.set("version","1"),t&&o.searchParams.set("source",t),window.history.pushState({roomvoPopupUrl:o.href,integratorVendorUrlPath:e.getVendorUrlPath(),loadPopupFunctionName:"loadMeasurementPopup"},"")}},Yt=function(e,t,o){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",n=1===Re();o=o||"";var a=e.visitorIds[e.getVendorUrlPath()]||"",i=new URL(t);i.searchParams.set("visitor_id",a),r&&i.searchParams.set("source",r),i.searchParams.set("return",window.location.href),i.searchParams.set("locale",e.getLocale()),i.searchParams.set("version","1"),e.measurementSystem&&i.searchParams.set("measurement_system",e.measurementSystem);var s=document.createElement("iframe");s.id=N,s.allow="xr-spatial-tracking;fullscreen",s.src=i.toString()+o,s.style.display="block",s.style.position="fixed",s.style.backgroundColor="#FFFFFF",s.style.width=n?"100%":"50%",s.style.height=n?"100%":"50%",s.style.margin="auto",s.style.border="none",s.style.top="0px",s.style.right="0px",s.style.bottom="0px",s.style.left="0px",s.style.boxShadow="0px 0px 10px #999999",s.style.setProperty("z-index","2147483647","important"),document.body.appendChild(s),Xt(e,r),setTimeout(Wt,10,N)},Jt=function(e){var t=e.visitorIds[e.getVendorUrlPath()]||"",o=new Date;o.setDate(o.getDate()-7),o.setUTCHours(0,0,0,0);var r=new URL("".concat(e.serverUrl,"/services/room/measurements/"));return r.searchParams.set("visitor_id",t),r.searchParams.set("create_time_after",o.toISOString()),Ee().then((function(t){var o;return t?e.measurePlatform=ke:Ue(window.navigator)&&((o=window.navigator)&&/^((?!chrome|android|crios|fxios|edg).)*safari/i.test(o.userAgent))?e.measurePlatform=Se:e.measurePlatform=xe,fetch(r.toString()).then((function(e){return e.json()})).then((function(t){e.hasMeasurements=Boolean(t.count&&t.count>0)}))}))},Kt=function(e,t,o){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",n=new URL(C().href);n.searchParams.has("roomvoStartMeasure")&&(n.searchParams.delete("roomvoStartMeasure"),window.history.replaceState(null,"",n.href)),Jt(e).then((function(){var n=e.serverUrl+"/my/"+t+"/measure/";0===Re()?Yt(e,n+"qr-code/",o,r):e.hasMeasurements?Yt(e,n+"result/",o,r):e.measurePlatform===ke?Yt(e,n+"xr/",o,r):(e.measurePlatform,Yt(e,n+"landing/",o,r))}))},$t=function(){var e=document.getElementById(N);e&&e.parentNode&&e.parentNode.removeChild(e),setTimeout(Ht,10)},Qt={entryType:0,styleFn:void 0,popupId:"",afterLoad:void 0,createPopupFn:void 0,insertFn:function(e){return document.body.appendChild(e)},shouldAddPopup:function(e){return!0},eventAction:"",eventLabel:""},eo=p(p({},Qt),{},{styleFn:function(e,t){t.style.setProperty("position","fixed","important"),t.style.setProperty("top","0","important"),t.style.setProperty("left","0","important"),t.style.setProperty("width","100%","important"),t.style.setProperty("height","100%","important"),t.style.setProperty("z-index","2147483647","important"),t.style.display="block",t.style.background='white url("'.concat(e.serverUrl,'/static/images/loading.gif") no-repeat center')},popupId:A,createPopupFn:function(){var e=zt(A);return e.title="Roomvo Visualizer, Powered by Roomvo",e.ariaLabel="Roomvo Visualizer, Powered by Roomvo",e.setAttribute("role","dialog"),e},shouldAddPopup:function(e){return!(e.isWebGlNeeded()&&!Ge())||(alert("Your browser or device does not support WebGL. Please try a different browser or device."),!1)},afterLoad:function(e,t){Mt(t),setTimeout(Wt,10,t.id)},eventAction:"see this in my room"}),to=(p(p({},eo),{},{eventAction:"open product catalog"}),p(p({},eo),{},{eventAction:"open shopping cart"}),p(p({},eo),{},{eventAction:"open surface designer"}),p(p({},Qt),{},{styleFn:function(e,t){t.style.display="block"},popupId:O,createPopupFn:function(){var e=zt(O);return e.setAttribute("allow","geolocation"),e},afterLoad:function(e,t){window.addEventListener("message",(function(e){e.data&&e.data.action===ie&&t.style.setProperty("height","".concat(e.data.height,"px"),"important")}))},eventAction:"open store locator"}),p(p({},Qt),{},{styleFn:function(e,t){t.style.display="block",t.style.position="fixed",t.style.backgroundColor="#FFFFFF",t.style.width="90%",t.style.height="90%",t.style.margin="auto 5%",t.style.border="none",t.style.top="0px",t.style.right="0px",t.style.bottom="0px",t.style.left="0px",t.style.boxShadow="0px 0px 10px #999999",t.style.setProperty("z-index","2147483647","important")},popupId:M,createPopupFn:function(){return zt(M)},afterLoad:function(e,t){setTimeout(Wt,10,t.id)},eventAction:"open product display"}),{loadDrawerPopupWithUrl:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Lt,r=Nt(e,t,!0,"loadDrawerPopupWithUrl"),n=r.popup,a=r.popupUrl;n&&(Rt(n,o),n.addEventListener("load",(function(){return gt()}),{once:!0}),n.src=a.href,n.dataset.openerVendorUrlPath=e.getVendorUrlPath(),document.body.appendChild(n),Mt(n),setTimeout(Wt,10,A))},loadPopupWithUrl:Ft,loadMeasurementPopup:Yt}),oo=.75,ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.75,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=!1,n=null,a=function(){clearTimeout(n),n=null};return function(i){r||(no(i,t)?0===o?(i.contentWindow.postMessage(e,"*"),r=!0):n||(n=setTimeout((function(){i.contentWindow.postMessage(e,"*"),r=!0,a()}),o)):n&&a())}},no=function(e,t){if(!rt(e))return!1;var o=e.getBoundingClientRect(),r=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight;if(o.top>n||o.bottom<0||o.right<0||o.left>r||o.bottom-o.top<=0||o.right-o.left<=0)return!1;var a=o.top>=0?o.top:0,i=((o.bottom<=n?o.bottom:n)-a)/(o.bottom-o.top),s=o.left>=0?o.left:0,l=((o.right<=r?o.right:r)-s)/(o.right-o.left);return i>=t&&l>=t},ao=function(e,t){document.addEventListener("scroll",Me((function(){return t()}),100),{passive:!0});for(var o=new MutationObserver((function(e){e.forEach((function(e){(function(e){var t=e.attributeName,o=e.oldValue,r=e.target;if(["class","hidden","open"].includes(t))return!0;var n={};o.split(";").forEach((function(e){if(e.includes(":")){var t=f(e.split(":"),2),o=t[0],r=t[1];o&&r&&(n[o.trim()]=r.trim())}}));var a=r.style;return["visibility","display","opacity"].some((function(e){return(n[e]||a[e])&&n[e]!==a[e]}))})(e)&&t()}))})),r={attributeFilter:["style","class","hidden","open"],attributeOldValue:!0},n=e.parentElement;n&&n!==document.body;)o.observe(n,r),n=n.parentElement},io=function(e){return String(e).normalize("NFKD").replace(/[\u0300-\u036f]/g,"").trim().toLowerCase().replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")},so=function(e,t,o){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=new URL(e),i=1===(null==o?void 0:o.length)?o[0]:null;return a.pathname=lo(a.pathname,t,i,r,n),a.searchParams.set("product_type",t),i&&a.searchParams.set("product_subtype",i),r?a.searchParams.set("product_id",r):a.searchParams.delete("product_id"),a},lo=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;return e=e.split("/catalog")[0].replace(/\/$/,""),n=r&&n?io(n)+"--"+r:"",(e=[e,"catalog",co(t),uo(o),n].filter(Boolean).join("/")).endsWith("/")||(e+="/"),e},co=function(e){var t=ut[e];return e===ct&&(t="Wall Decor"),t=io(t)},uo=function(e){if(!e)return"";var t=dt[e];return t?("solid-color-broadloom-carpet"===(t=io(t.replace("product_subtype.","").replaceAll("_"," ")).toLowerCase())&&(t="carpet"),t):""},po=function(e){var t;e.roomvoListeners.onKeydownInWindow||(window.addEventListener("keydown",mo),e.roomvoListeners.onKeydownInWindow=mo);var o=(s(s(s(s(s(s(s(s(s(s(t={},ee,fo),ne,ho),se,vo),te,go),le,go),oe,Zt),ae,yo),re,Po),Y,_o),J,ko),s(s(s(s(s(s(s(s(s(s(t,K,So),$,Co),ue,$t),pe,Lo),me,Io),fe,Ro),he,Eo),ge,To),Pe,Mo),ve,Oo),s(s(s(s(t,Q,No),ce,Ao),de,xo),_e,Fo)),r=function(t){t in e.roomvoListeners||(!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[/^https?:\/\/.*\.roomvo\.com$/,/^https?:\/\/.*\.leaptools\.com$/],o=function(){for(var o=arguments.length,r=new Array(o),n=0;n0&&void 0!==arguments[0]?arguments[0]:A,t=document.getElementById(e);t&&t.classList.contains("roomvo-popup--show")?(t.addEventListener("transitionend",(function(){return t.parentNode.removeChild(t)})),t.classList.remove("roomvo-popup--show")):t&&t.parentNode&&t.parentNode.removeChild(t),setTimeout(Ht,10)}(i)}},bo=function(){var e,t=i(G);try{for(t.s();!(e=t.n()).done;){var o=e.value;if(document.getElementById(o)&&document.body.contains(document.getElementById(o)))return o}}catch(r){t.e(r)}finally{t.f()}return A},Po=function(){var e=We(event.data.integratorVendorUrlPath);ze(e,"write",{cookieName:D,cookieValue:!0}),e.agreedTermsOfUse=!0},_o=function(e){var t=e.data.filters?JSON.stringify(e.data.filters):"",o=e.data.integratorVendorUrlPath,r=We(o),n=r.visitorIds[o]||"",a=new URL("".concat(r.serverUrl,"/my/").concat(o));a.searchParams.set("visitor_id",n),a.searchParams.set("locale",r.getLocale()),a.searchParams.set("product_id",e.data.productId),a.searchParams.set("iframe_id",E),a.searchParams.set("raw_prefilter",t),"[object AssistantIntegrator]"===r.toString()&&a.searchParams.set("is_dealer","1"),Ft(r,a.href)},ko=function(e){document.getElementById(T).style.setProperty("min-height","".concat(e.data.height,"px"),"important");var t=We(e.data.integratorVendorUrlPath);e.data.isProductListOpen&&t._catalogScrollPosition&&(t._debouncedScroll||(t._debouncedScroll=Me((function(){var e=f(t._catalogScrollPosition,2),o=e[0],r=e[1];document.documentElement.scrollHeight2&&void 0!==arguments[2]?arguments[2]:"";Kt(e,e.getVendorUrlPath(),t,o);var r=s(s({},"event_model_name","ClickedMeasureMyRoomButtonEvent"),"event_name","Clicked Measure My Room Button"),n=s(s(s(s({},"event_model_name","ArMeasureEvent"),"event_group","MMR Initialization"),"event_name","Clicked MMR Button"),"data",JSON.stringify({source:"PDP"}));Ee().then((function(t){t?(r.platform="WebXR",n.platform="WebXR"):(r.platform=Ue(window.navigator)?"iOS":"",n.platform=Ue(window.navigator)?"iOS":""),e.recordEvent(r),e.recordEvent(n)}))}(We(e.data.integratorVendorUrlPath),null,"Catalog")},No=function(e){var t;At(document.getElementById(T))&&e.data.yOffset&&window.scrollBy({top:(null===(t=document.getElementById(T))||void 0===t?void 0:t.getBoundingClientRect().top)+e.data.yOffset,behavior:"smooth"})},Fo=function(e){var t=document.createElement("a");t.download=e.data.fileName,t.href=e.data.href,t.style.display="none",document.body.appendChild(t),t.dispatchEvent(new MouseEvent("click",{bubbles:!1})),document.body.removeChild(t)},Bo=function(){return a((function e(){o(this,e),this.serverUrl="https://www.roomvo.com",this.visitorIds={},this.vendorUrlPath=void 0,this.vendorIds={},this.productCodeMap={},this.productShareLinkMap={},this.queuedProductCodeRequests=[],this.queuedProductCodeRequestObjs=[],this.hasDesignerProducts=!1,this.hasMeasurements=!1,this.measurePlatform=xe,this.measurementSystem=void 0,this.prefilter="",this.log="",this.standaloneAutolauncherConfigs=[{urlRegexObj:/\/roomvo\/?$/i,autolaunchConfirmationUrlParameter:"roomvoAutoStart",productCodeUrlParameter:"sku",supplierUrlPathParameter:null,vendorSlugUrlParameter:"vendor_slug",productTypeUrlParameter:"product_type",prefilterUrlParameter:"prefilter",perProductTypePrefilterUrlParameter:"per_product_type_prefilter",roomIdUrlParameter:"room_id",standaloneFnName:"startStandaloneVisualizer",requireConfirmation:!1},{urlRegexObj:/\/roomvo-catalog\/?$/i,autolaunchConfirmationUrlParameter:"roomvoAutoStart",productCodeUrlParameter:"sku",supplierUrlPathParameter:null,vendorSlugUrlParameter:"vendor_slug",productTypeUrlParameter:"product_type",prefilterUrlParameter:"prefilter",standaloneFnName:"startProductCatalog",requireConfirmation:!1},{urlRegexObj:/\/roomvo-surface-designer\/?$/i,autolaunchConfirmationUrlParameter:"roomvoAutoStart",productCodeUrlParameter:"sku",supplierUrlPathParameter:null,vendorSlugUrlParameter:"vendor_slug",productTypeUrlParameter:"product_type",standaloneFnName:"startStandaloneSurfaceDesigner",requireConfirmation:!1},{urlRegexObj:/.*/i,requiredUrlParameters:["roomvoStartSurfaceDesigner"],autolaunchConfirmationUrlParameter:"roomvoAutoStart",productCodeUrlParameter:"sku",supplierUrlPathParameter:null,vendorSlugUrlParameter:"vendor_slug",productTypeUrlParameter:"product_type",standaloneFnName:"startStandaloneSurfaceDesigner",requireConfirmation:!1},{urlRegexObj:/.*/i,requiredUrlParameters:["roomvoStartKiosk"],autolaunchConfirmationUrlParameter:"roomvoAutoStart",productCodeUrlParameter:"sku",kioskPhysicalScannerUrlParameter:"roomvoHasPhysicalScanner",standaloneFnName:"startVisualizerInKioskMode",requireConfirmation:!1},{urlRegexObj:/.*/i,requiredUrlParameters:["roomvoStartVisualizer"],autolaunchConfirmationUrlParameter:"roomvoAutoStart",productCodeUrlParameter:"sku",supplierUrlPathParameter:"supplier",productTypeUrlParameter:"product_type",prefilterUrlParameter:"prefilter",perProductTypePrefilterUrlParameter:"per_product_type_prefilter",roomIdUrlParameter:"room_id",vendorSlugUrlParameter:"vendor_slug",hasRoomStyleTransferListUrlParameter:"has_room_style_transfer_list",standaloneFnName:"startStandaloneVisualizer",requireConfirmation:!1},{urlRegexObj:/.*/i,requiredUrlParameters:["roomvoStartMeasure"],autolaunchConfirmationUrlParameter:"roomvoAutoStart",roomvoVisitorIdUrlParameter:"roomvo_visitor_id",standaloneFnName:"startMeasure",requireConfirmation:!1}],this.pageTypeRules={regexes:new Map,functions:new Map},this.launchSequenceTimeoutDuration=15e3,this.launchSequenceLoaderBaseColor="#818C98";var t=ze(this,"read/rewrite",{cookieName:q});t&&(this.visitorIds=Ae(t));var r=ze(this,"read/rewrite",{cookieName:V});r&&(this.vendorIds=Ae(r));var n,a,i=ze(this,"read/rewrite",{cookieName:z});i&&(this.vendorUrlPath=i),this.agreedTermsOfUse=Boolean(ze(this,"read",{cookieName:D})),this.isInAbExperimentMode()&&(n=this.getCookieExpiration(),ze(a=this,"check",{cookieName:j})||(Math.random()<.5?ze(a,"write",{cookieName:j,cookieValue:"dontshow",config:{cookieExpiration:n}}):ze(a,"write",{cookieName:j,cookieValue:"show",config:{cookieExpiration:n}})))}),[{key:Symbol.toStringTag,get:function(){return"RoomvoIntegrator"}},{key:"getVendorUrlPath",value:function(){return""}},{key:"shouldCommitVisitorToDb",value:function(){return!1}},{key:"getProductCode",value:function(e){return"code1"}},{key:"autolauncherConfig",set:function(e){var t=this,o=this.standaloneAutolauncherConfigs.reduce((function(e,t){return e[t.standaloneFnName]=p({},t),e}),{}),r=["startStandaloneVisualizer","startProductCatalog","startStandaloneSurfaceDesigner","startVisualizerInKioskMode","startMeasure","addFavoriteProduct","removeFavoriteProduct"],n=function(e){var n=e.standaloneFnName||"startStandaloneVisualizer",a=p(p({},o[n]),e),i=a.standaloneFnName;if(r.includes(i)){var s=t.standaloneAutolauncherConfigs.find((function(e){return e.standaloneFnName===i}));if(s)for(var l=0,c=Object.keys(s);l1&&void 0!==arguments[1]&&arguments[1],o=s(s(s({},"visitor_id",this.visitorIds[this.getVendorUrlPath()]),"device_type",Re()),"entry_type",0),r=this.vendorIds[this.getVendorUrlPath()];r&&(o.vendor_id=r),e=Object.assign({},o,e);var n=new FormData;for(var a in e)void 0!==e[a]&&null!==e[a]&&n.append(a,e[a]);var i=new XMLHttpRequest;i.open("POST",this.serverUrl+"/services/event/events/",!0),i.send(n),t&&this.trackActionInHostAnalytics(e.event_name,"",e)}},{key:"debug",value:function(){for(var e=this,t=document.querySelectorAll(".roomvo-stimr"),o=0,r=0;r2&&void 0!==arguments[2]?arguments[2]:"",r=xt(e);qt(this,void 0,"/surface_designer",o,0===r?"":r,t)}},{key:"startVisualizerInKioskMode",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=xt(e),n=t?void 0:"/kiosk";qt(this,void 0,n,o+="&is_in_kiosk_mode=1",0===r?"":r,t)}},{key:"startMeasure",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};r.roomvo_visitor_id&&this.setVisitorId(this.getVendorUrlPath(),r.roomvo_visitor_id,{overwriteExisting:!0}),Kt(this,this.getVendorUrlPath(),o)}},{key:"startStandaloneVisualizer",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=this.prefilter;r.prefilter&&(this.prefilter=r.prefilter);var a=r.room_id?"/rooms/".concat(r.room_id,"/"):void 0,i=xt(e);qt(this,void 0,a,o,0===i?"":i,t),r.prefilter&&(this.prefilter=n)}},{key:"startProductCatalog",value:function(e,t){var o=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=function(t,a,i){var s=Gt(t,i,xt(a)),l=xt(e);s||(r+=i?"&product_code=".concat(encodeURIComponent(i)):"",r+=0!==l?"&product_type=".concat(xt(a)):""),n.prefilter&&(r+="&prefilter=".concat(n.prefilter)),jt(o,r,s)};!t||this.productCodeMap&&t in this.productCodeMap?a(this,e,t):kt(this,t,a,[this,e,t])}},{key:"convertProductType",value:function(e){return xt(e)}},{key:"setVisitorId",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=o.overwriteExisting,n=void 0!==r&&r;qo(this,e,"visitorIds",q,t,n)}},{key:"setVendorId",value:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=o.overwriteExisting,n=void 0!==r&&r;qo(this,e,"vendorIds",V,t,n)}},{key:"addFavoriteProduct",value:function(e,t){var o=new FormData;o.append("visitor",this.visitorIds[this.getVendorUrlPath()]),o.append("vendor",this.vendorIds[this.getVendorUrlPath()]),o.append("sku",e),o.append("product_type",xt(t)),fetch("".concat(this.serverUrl,"/services/visitor/visitor_favorites/by_sku/"),{method:"post",body:o})}},{key:"removeFavoriteProduct",value:function(e,t){var o=new FormData;o.append("visitor",this.visitorIds[this.getVendorUrlPath()]),o.append("vendor",this.vendorIds[this.getVendorUrlPath()]),o.append("sku",e),o.append("product_type",xt(t)),fetch("".concat(this.serverUrl,"/services/visitor/visitor_favorites/by_sku/"),{method:"delete",body:o})}},{key:"vendorLogoUrl",get:function(){var e=new URL("/services/vendor/themes/asset/",this.serverUrl);return e.searchParams.append("vendor_url_path",this.getVendorUrlPath()),e.searchParams.append("asset_name","my_landing_page_logo_background_image"),e.searchParams.append("locale",this.getLocale()),e}},{key:"shouldShowLaunchSequence",get:function(){return!0}},{key:"getHostPageInfo",value:function(){var e,t=U.getUrl(),o=document.querySelector(".".concat(F)),r=document.querySelector(".".concat(I)),n=document.querySelector(".".concat(R)),a=document.querySelector(".".concat("roomvo-measure-my-room-button"));return s(s(s(s(s(s(s(s(s(s(e={},"event_name","Viewed Host Page"),"event_model_name","ViewedHostPageEvent"),"integration_type",r?"lite":"full"),"url",t.href.substring(0,256)),"referrer_url",document.referrer.substring(0,256)),"page_type",""),"product_id",""),"utm_source",t.searchParams.get("utm_source")||""),"utm_medium",t.searchParams.get("utm_medium")||""),"utm_campaign",t.searchParams.get("utm_campaign")||""),s(s(s(s(s(s(e,"utm_content",t.searchParams.get("utm_content")||""),"utm_term",t.searchParams.get("utm_term")||""),"has_stimr",Boolean(o)),"has_lite_integration",Boolean(r)),"has_3d_display_integration",Boolean(n)),"has_measure_integration",Boolean(a))}},{key:"trackPageView",value:function(){this.recordEvent(this.getHostPageInfo())}}])}(),Vo=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=new XMLHttpRequest;r.open("POST",e.serverUrl+"/services/visitor/visitors/",!0),r.setRequestHeader("Content-Type","application/json;charset=UTF-8");var n={};e.getVendorUrlPath()&&(n.vendor_url_path=e.getVendorUrlPath()),n.locale=e.getLocale(),n.tracking_code=je(e),n.top_level_domain=U.getTopLevelHostname(),n.next_level_domain=U.getNextLevelHostname(),n.device_type=Re(),e.shouldCommitVisitorToDb()&&(n.commit_to_db=!0),r.onreadystatechange=function(){if(4===this.readyState&&201===this.status){var o=Ae(this.responseText),r=o.vendorUrlPath;e.setVisitorId(r,o.id,{overwriteExisting:!1}),e.setVendorId(r,o.vendorId,{overwriteExisting:!1}),t&&t(o)}},o&&o.timeout&&(r.timeout=o.timeout,o.ontimeout&&(r.ontimeout=o.ontimeout)),r.send(JSON.stringify(n))},qo=function(e,t,o,r,n,a){Te(e[o])&&(e[o]={});var i=ze(e,"read",{cookieName:r});i&&(e[o]=Ae(i)),n&&(!a&&t in e[o]||(e[o][t]=n)),ze(e,"write",{cookieName:r,cookieValue:Oe(e[o])})},zo=function(e){if(e.getVendorUrlPath()in window._roomvo){var t=window._roomvo[e.getVendorUrlPath()];if(e.toString()===t.toString())return}window._roomvo[e.getVendorUrlPath()]=e,qe(e,"Roomvo log begins..."),e.getVendorUrlPath()&&(window.roomvo.startStandalone||(window.roomvo.startStandalone=function(e){We(e).startStandalone()}),window.roomvo.startStandaloneVisualizer||(window.roomvo.startStandaloneVisualizer=function(){for(var e=arguments.length,t=new Array(e),o=0;o script[src*='gtag']")).map((function(e){return new URL(e.src).searchParams.get("id")||""})).filter((function(e){return e.startsWith("G-")}));return{roomvoGtag:window.roomvoGtag,ga4Ids:e}},Wo=function(){for(var e=arguments.length,t=new Array(e),o=0;o2&&void 0!==arguments[2]?arguments[2]:"";if(e.productCodeMap[t]&&0!==e.productCodeMap[t].length&&e.productCodeMap[t].some((function(e){return!o||e.productType===o})))return e.productCodeMap[t].find((function(e){return!o||e.productType===o})).product},Yo=function(e,t,o){var r=function(t,r){var n=Xo(e,t,o)||Xo(e,r,o)||"";!function(e,t,o,r){var n=window.matchMedia("(max-width: 768px)");r=r||"";var a=e.visitorIds[t]||"",i=new URL(e.serverUrl+"/my/"+t+"/products/"+o+"/3d/");i.searchParams.set("visitor_id",a),i.searchParams.set("locale",e.getLocale()),i.searchParams.set("iframe_id",M),i.searchParams.set("domain",U.getTopLevelHostname()),i.searchParams.set("is_in_top_window",0),i.searchParams.set("version","1");var s=document.createElement("iframe");s.id=M,s.src=i.href+r,s.style.display="block",s.style.position="fixed",s.style.backgroundColor="#FFFFFF",s.style.width=n.matches?"100%":"90%",s.style.height=n.matches?"100%":"90%",s.style.margin=n.matches?"auto":"auto 5%",s.style.border="none",s.style.top="0px",s.style.right="0px",s.style.bottom="0px",s.style.left="0px",s.style.boxShadow="0px 0px 10px #999999",s.style.setProperty("z-index","2147483647","important"),s.onload=function(){var e=document.getElementById(M);if(e){var t=document.activeElement;t&&t!==document.body&&(window._roomvo.previouslyFocusedElement=t),e.focus(),e.contentWindow.focus()}},document.body.appendChild(s),setTimeout(Wt,10,M)}(e,e.getVendorUrlPathForStimr(),n),e.recordEvent(s(s(s({},"event_model_name","GenericEvent"),"event_group","Virtual Samples"),"event_name","Clicked Vendor Script Virtual Samples Button"))};return function(o){o.stopPropagation();var n=e.getProductCode(o.target);e.productCodeMap[n]?r(n,t):kt(e,n,r,[n,t])}},Jo=function(e){function r(){return o(this,r),t(this,r,arguments)}return c(r,e),a(r,[{key:"getVendorUrlPath",value:function(){return"euroceramicaco"}},{key:"isWebGlNeeded",value:function(){return!1}},{key:"getProductCode",value:function(e){try{return e&&e.querySelector(".".concat(F))?e=e.querySelector(".".concat(F)):e&&e.querySelector(".".concat(R))?e=e.querySelector(".".concat(R)):e&&e.closest(".".concat(F,",.").concat(R))&&(e=e.closest(".".concat(F,",.").concat(R))),e&&e.dataset.sku||""}catch(t){return""}}},{key:"onBodyLoaded",value:function(){var e=this;Ze(document,[".".concat(F)],(function(){var t=function(){var t=document.querySelector(".".concat(F)),o=t&&t.dataset.productTypeStr;Zo(e,null,".roomvo-container",null,null,e.convertProductType(o))};new MutationObserver(t).observe(document.querySelector(".".concat(F)),{childList:!0,subtree:!0,attributeFilter:["data-sku"]}),t()})),Ze(document,[".".concat(R)],(function(){var t=function(){var t,o,r,n,a,i,s;o=null,r=".roomvo-container_3d",s=Yo(t=e,n,i),Ho(t,o,r,"",a,i,R,s)};new MutationObserver(t).observe(document.querySelector(".".concat(R)),{childList:!0,subtree:!0,attributeFilter:["data-sku"]}),t()}))}},{key:"getLocale",value:function(){return"es-co"}}])}(Bo);!function(e){if(!((t=window.navigator)&&!RegExp(Ce.join("|"),"i").test(t.userAgent)&&new RegExp(["bot|googlebot|googleweblight|spider|robot|crawl|baidu|bing|msn","|duckduckgo|teoma|slurp|yandex|lighthouse|sitecrawl|linguee","|schemabot|indeedbot|opendi|optimizer|nssprerendersproxy","|headlesschrome|ghostsinspector|restsharp|woorankreview|screamingfrogseospider"].join(""),"i").test(t.userAgent)||function(e){return!!e&&(e.userAgent.indexOf("MSIE")>0||e.userAgent.indexOf("Trident/")>-1)}(window.navigator))){var t;window._roomvo||(window._roomvo={},Object.defineProperty(window._roomvo,"roomvoListeners",{value:{}})),window.roomvo||(window.roomvo={},window.ffViz=window.roomvo);var o=new e;o.getVendorUrlPath()?zo(o):Vo(o,(function(e){o.vendorUrlPath=e.vendorUrlPath,ze(o,"write",{cookieName:z,cookieValue:o.vendorUrlPath}),zo(o)}))}}(Jo)}();