{"id":955,"date":"2025-10-18T09:30:23","date_gmt":"2025-10-18T13:30:23","guid":{"rendered":"https:\/\/saintm2.com\/plans\/"},"modified":"2025-10-29T14:06:28","modified_gmt":"2025-10-29T18:06:28","slug":"floors","status":"publish","type":"page","link":"https:\/\/saintm2.com\/en\/floors\/","title":{"rendered":"Floors"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"955\" class=\"elementor elementor-955 elementor-44\" data-elementor-post-type=\"page\">\n\t\t\t\t<div data-dce-background-image-url=\"https:\/\/saintm2.com\/wp-content\/uploads\/2025\/10\/marbre-blanc-saintM2.webp\" class=\"elementor-element elementor-element-9da7c8f e-con-full e-flex elementor-invisible e-con e-parent\" data-id=\"9da7c8f\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;animation&quot;:&quot;fadeIn&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-74197e0 e-con-full e-flex e-con e-child\" data-id=\"74197e0\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-9d3344e animated-slow elementor-invisible elementor-widget elementor-widget-heading\" data-id=\"9d3344e\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInUp&quot;,&quot;_animation_delay&quot;:200}\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Floors<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-c532ea1 e-con-full e-flex e-con e-parent\" data-id=\"c532ea1\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<!-- dce invisible element bf99667 -->\t\t<div class=\"elementor-element elementor-element-2a541e4 elementor-widget elementor-widget-html\" data-id=\"2a541e4\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;enabled_visibility&quot;:&quot;yes&quot;,&quot;dce_visibility_selected&quot;:&quot;yes&quot;}\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div id=\"planpoint-container\" style=\"position: relative; overflow: hidden; width: 100%; height: 100vh; transition: all 0.2s ease\"> <iframe id=\"planpoint\" frameborder=\"0\" allowfullscreen=\"\" style=\"position: relative; top: 0; left: 0; bottom: 0; right: 0; width: 100%; min-height: 100vh;\" src=\"https:\/\/app.planpoint.io\/saint-m2\/cogir?lang=English&amp;style=Style%202B&amp;colorHover=rgba(20%2C%2091%2C%200%2C%200.75)\">\r\n    <\/iframe> <\/div>\r\n<script> (() => { if (typeof window !== 'undefined' && document !== 'undefined') { let iframe; let enableResize = true; var onFullscreen = false; function getURLParams() { const params = new URLSearchParams(window.location.search); const f = params.get('f'); const u = params.get('u'); const utm_source = params.get('utm_source'); const utm_medium = params.get('utm_medium'); const utm_campaign = params.get('utm_campaign'); const token = params.get('token'); return { f, u, utm_source, utm_medium, utm_campaign, token }; }; const { f, u, utm_source, utm_medium, utm_campaign, token } = getURLParams(); const projectUrl = 'https:\/\/app.planpoint.io\/saint-m2\/cogir?lang=English&style=Style%202B&colorHover=rgba(20%2C%2091%2C%200%2C%200.75)'; const iframeSrc = projectUrl + (f ? `&f=${encodeURIComponent(f)}` : '') + (u ? `&u=${encodeURIComponent(u)}` : '') + (utm_source ? `&utm_source=${encodeURIComponent(utm_source)}` : '') + (utm_medium ? `&utm_medium=${encodeURIComponent(utm_medium)}` : '') + (utm_campaign ? `&utm_campaign=${encodeURIComponent(utm_campaign)}` : '') + (token ? `&token=${encodeURIComponent(token)}` : ''); const urlParams = new URLSearchParams(window.location.search); const utmParams = { utm_source: urlParams.get('utm_source'), utm_medium: urlParams.get('utm_medium'), utm_campaign: urlParams.get('utm_campaign'), token: urlParams.get('token'), parentURL: window.location.href || document.referrer, }; const interval = setInterval(() => { iframe = document.getElementById('planpoint'); if (iframe) { iframe.src = iframeSrc; clearInterval(interval); function adjustSizeToContent() { let iframeWindow = iframe.contentWindow; if (iframeWindow && enableResize) { iframeWindow.postMessage('get_size', '*'); }; }; const intervalWindow = setInterval(() => { adjustSizeToContent(); if (iframe.contentWindow) { iframe.contentWindow.postMessage({ type: 'utm', data: utmParams }, '*'); }; }, 1000); function openFullscreen() { const element = document.querySelector('#planpoint-container'); if (element.requestFullscreen) { element.requestFullscreen(); } else if (element.mozRequestFullscreen) { element.mozRequestFullscreen(); } else if (element.webkitRequestFullscreen) { element.webkitRequestFullscreen(); } else if (element.msRequestFullscreen) { element.msRequestFullscreen(); } } function closeFullscreen() { if (document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement) { if (document.exitFullscreen) { document.exitFullscreen(); } else if (document.mozCancelFullscreen) { document.mozCancelFullscreen(); } else if (document.webkitExitFullscreen) { document.webkitExitFullscreen(); } else if (document.msExitFullscreen) { document.msExitFullscreen(); } } } function fullscreenHandler(e) { onFullscreen = !onFullscreen; if (!onFullscreen) { iframe.contentWindow.postMessage({ type: 'close-fs' }, '*'); const iframeContainer = document.getElementById('planpoint-container'); setTimeout(() => { document.documentElement.style.overflow = 'auto'; iframeContainer.style.position = 'relative'; iframeContainer.style.top = 'auto'; iframeContainer.style.left = 'auto'; iframeContainer.style.zIndex = 'auto'; iframeContainer.scrollIntoView(); enableResize = true; }, 500); } else { const iframeContainer = document.getElementById('planpoint-container'); document.documentElement.scrollTop = 0; document.documentElement.style.overflow = 'hidden'; iframeContainer.style.position = 'fixed'; iframeContainer.style.top = '0'; iframeContainer.style.left = '0'; iframeContainer.style.height = '100vh'; iframeContainer.style.width = '100%'; iframeContainer.style.zIndex = '1000000000000000000000000'; iframe.style.height = '100vh'; iframe.style.width = '100%'; enableResize = false; } } window.addEventListener('message', (event) => { if (event.data.type === 'fullscreen') { if (event.data.active) { openFullscreen(); } else { closeFullscreen(); }; return; } else if (event.data.type === 'resize') { const { h, w } = event.data; const iframeContainer = document.getElementById('planpoint-container'); iframe.style.height = String(h) + 'px'; iframeContainer.style.height = String(h) + 'px'; } else if (event.data?.type === 'scroll-to-top') { const iframeContainer = document.getElementById('planpoint-container'); iframeContainer.scrollIntoView({ behavior: 'smooth', block: 'start' }) } else { if (typeof event.data === 'string') { const [intendedHeight, intendedWidth] = event.data.split('x'); const h = parseInt(intendedHeight); const w = parseInt(intendedWidth); const iframeContainer = document.getElementById('planpoint-container'); iframe.style.height = String(h) + 'px'; iframeContainer.style.height = String(h) + 'px'; }; }; }); document.addEventListener('click', function (event) { const eventData = { type: event.type, }; iframe.contentWindow.postMessage({ type: 'click', data: eventData }, '*'); }); document.addEventListener('scroll', function (event) { const pageY = window.pageYOffset || document.documentElement.scrollTop; const iframeContainer = document.getElementById('planpoint-container'); const { top: iframeRelativeY } = iframeContainer.getBoundingClientRect(); const eventData = { type: event.type, pageY, iframeY: iframeContainer.offsetTop, iframeRelativeY, iframeHeight: iframe.scrollHeight }; iframe.contentWindow.postMessage(eventData, '*'); }); document.addEventListener('fullscreenchange', fullscreenHandler); document.addEventListener('webkitfullscreenchange', fullscreenHandler); document.addEventListener('mozfullscreenchange', fullscreenHandler); document.addEventListener('MSFullscreenChange', fullscreenHandler); }; }, 1000); }; })(); <\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Floors<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-955","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/saintm2.com\/en\/wp-json\/wp\/v2\/pages\/955","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/saintm2.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/saintm2.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/saintm2.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/saintm2.com\/en\/wp-json\/wp\/v2\/comments?post=955"}],"version-history":[{"count":8,"href":"https:\/\/saintm2.com\/en\/wp-json\/wp\/v2\/pages\/955\/revisions"}],"predecessor-version":[{"id":992,"href":"https:\/\/saintm2.com\/en\/wp-json\/wp\/v2\/pages\/955\/revisions\/992"}],"wp:attachment":[{"href":"https:\/\/saintm2.com\/en\/wp-json\/wp\/v2\/media?parent=955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}