[{"id":{"experience":"70ee9a12-6aa5-418e-90f8-2ac01c076bf7","creative":"8ae7c958-6c66-4eed-b154-a0603cd43539"},"rules":{"filter":{"operator":"or","urls":[{"operator":"and","conditions":[{"operator":"regex","values":["^https:\\/\\/www\\.pruksa\\.com\\/(?:natura|theplant|pruksaville|theconnect|theplant-citi|villettelite|baanpruksa|chapter-one|plum|theprivacy|thetree|baan-greenhaus)\\/[^\\/]+$"]},{"operator":"!contain","values":["/plum/eastladprao"]}]}]},"trigger":{"eventName":"","operator":"","conditions":null}},"changes":[{"action":"insertBefore","content":{"category":"html","id":"3","name":"Hello bar","tags":[],"type":"hello_bar","value":{"html":"\u003cdiv class=\"hellobar\"\u003e\n \u003cdiv class=\"hellobar__container\"\u003e\n \u003cdiv class=\"swiper hellobar__swiper\"\u003e\n \u003cdiv class=\"swiper-wrapper hellobar__swiper_wrapper\"\u003e\u003c/div\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n \u003cstyle\u003e\n [data-creative_id=\"${CREATIVE_ID}\"] .hellobar {\n background-color: ${v.blockBackgroundColor};\n }\n [data-creative_id=\"${CREATIVE_ID}\"] * {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .hellobar__container {\n display: flex;\n position: relative;\n width: 100%;\n padding: 0 100px;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper {\n width: 100%;\n position: relative;\n max-width: 1180px;\n display: flex;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .hellobar__swiper_wrapper {\n transition-timing-function: cubic-bezier(0, -0.01, 0.66, 1) !important;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper-slide {\n width: 100%;\n margin: 0;\n line-height: 1;\n padding: 12px 0;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper-slide \u003e div {\n margin: 0;\n white-space: nowrap;\n overflow: hidden;\n text-align: center;\n position: relative;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper-slide \u003e div + div {\n margin-top: 4px;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper-slide \u003e div \u003e span {\n display: inline-block;\n padding: 0 8px;\n white-space: nowrap;\n transition-timing-function: linear;\n transition-property: transform;\n }\n @media screen and (max-width: 1180px) {\n [data-creative_id=\"${CREATIVE_ID}\"] .hellobar__container {\n padding: 0 16px;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper {\n max-width: 480px;\n }\n }\n \u003c/style\u003e","js":{"init":"function init(CAMPAIGN_ID, CREATIVE_ID, v) {\n const loadCdn = (url, type = 'text/javascript') =\u003e {\n return new Promise((resolve, reject) =\u003e {\n try {\n let el;\n if (type === 'text/javascript') {\n el = document.createElement('script');\n el.type = type;\n } else if (type === 'text/css') {\n el = document.createElement('link');\n el.type = 'text/css';\n el.rel = 'stylesheet';\n el.href = url;\n el.async = true;\n } else {\n reject({\n status: false,\n message: `Failed to load the script ${url}`,\n });\n }\n el.src = url;\n el.addEventListener('load', () =\u003e {\n resolve({ status: true });\n });\n el.addEventListener('error', () =\u003e {\n reject({\n status: false,\n message: `Failed to load the script ${url}`,\n });\n });\n document.body.appendChild(el);\n } catch (e) {\n reject(e);\n }\n });\n };\n \n const wrap = document.querySelector(`[data-creative_id=\"${CREATIVE_ID}\"] .swiper-wrapper`);\n let wrapOffsetWidth;\n let slides = [];\n const marquees = [];\n \n const prepare = async () =\u003e {\n if (window.Swiper) return Promise.resolve();\n try {\n await loadCdn('https://cdnjs.cloudflare.com/ajax/libs/Swiper/10.3.1/swiper-bundle.min.js');\n await loadCdn('https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css', 'text/css');\n } catch (e) {\n throw new Error(e?.message);\n }\n };\n \n const _init = async () =\u003e {\n wrapOffsetWidth = wrap.offsetWidth;\n function buildContainerStyle(obj) {\n return `text-align:${obj.textAlign};`;\n }\n function buildElStyle(obj) {\n return `font-family:${obj.fontFamily};\n font-size:${obj.fontSize};\n color:${obj.color};\n font-weight:${obj.fontWeight};\n font-style:${obj.fontStyle};\n text-decoration:${obj.textDecoration};\n letter-spacing:${obj.letterSpacing};\n line-height:${obj.lineHeight};`;\n }\n let content = '';\n for(let i = 0; i \u003c v.numOfViewsToShow; i++) {\n marquees.push({});\n const pageSetting = v.pages[i];\n const { title, link } = pageSetting;\n content += `\u003cdiv class=\"swiper-slide\"\u003e\n \u003cdiv style=\"${buildContainerStyle(title)}\"\u003e\u003cspan style=\"${buildElStyle(title)}\"\u003e${title.text}\u003c/span\u003e\u003c/div\u003e\n \u003cdiv style=\"${buildContainerStyle(link)}\"\u003e\u003ca href=\"${link.href}\" target=\"${link.href}\" style=\"${buildElStyle(link)}\"\u003e${link.text}\u003c/a\u003e\u003c/div\u003e\n \u003c/div\u003e`;\n }\n wrap.innerHTML = content;\n slides = wrap.querySelectorAll('.swiper-slide');\n };\n \n // Marquee\n let scrollItem;\n \n const resetMarquee = () =\u003e {\n if (scrollItem) {\n scrollItem.style.transitionDuration = '0s';\n scrollItem.style.transform = 'translateX(0px)';\n }\n };\n \n const startMarquee = () =\u003e {\n const marquee = () =\u003e {\n scrollItem.style.transitionDuration = `${v.slideSpeed - 2.5}s`;\n scrollItem.style.transform = `translateX(-${marquees[slider.realIndex].limit}px)`;\n };\n scrollItem = slides[slider.realIndex].querySelector('div \u003e span');\n resetMarquee();\n \n window.appierOnsite.set(CREATIVE_ID, {\n marqueeTimeout: setTimeout(() =\u003e {\n marquee();\n }, 1000),\n });\n };\n \n const stopMarquee = () =\u003e {\n if (scrollItem) {\n resetMarquee();\n }\n clearTimeout(window.appierOnsite.get(CREATIVE_ID)?.marqueeTimeout);\n };\n \n // swiper slider\n let slider;\n const initSlider = () =\u003e {\n slider = new Swiper(`[data-creative_id=\"${CREATIVE_ID}\"] .swiper`,\n {\n grabCursor: true,\n speed: 500,\n autoHeight: true,\n autoplay: {\n delay: v.slideSpeed * 1000,\n disableOnInteraction: false,\n },\n slidesPerView: 'auto',\n loop: true,\n }\n );\n \n slider.on('slideChangeTransitionEnd', () =\u003e {\n if (marquees[slider.realIndex].marquee) {\n startMarquee();\n }\n });\n slider.on('slideChange', () =\u003e {\n stopMarquee();\n });\n };\n // width checking\n const checkOffset = () =\u003e {\n slides.forEach((slide, i) =\u003e {\n const item = slide.querySelector('div \u003e span');\n if (!marquees[i].width) {\n marquees[i].width = item.offsetWidth;\n }\n marquees[i].limit = marquees[i].width - wrapOffsetWidth;\n marquees[i].marquee = marquees[i].limit \u003e 0;\n if (marquees[i].marquee \u0026\u0026 slider.realIndex === i) {\n startMarquee();\n } else {\n stopMarquee();\n }\n });\n };\n \n window.addEventListener('resize', () =\u003e {\n clearTimeout(window.appierOnsite.get(CREATIVE_ID)?.resizeDebounce);\n window.appierOnsite.set(CREATIVE_ID, {\n resizeDebounce: setTimeout(() =\u003e {\n wrapOffsetWidth = wrap.offsetWidth;\n checkOffset();\n }, 800),\n });\n });\n \n prepare()\n .then(() =\u003e {\n _init();\n initSlider();\n checkOffset();\n })\n .catch(e =\u003e {\n console.log(e);\n });\n \n return Promise.resolve(true);\n }","revert":"function revert(CAMPAIGN_ID, CREATIVE_ID) {\n window.clearTimeout(window.appierOnsite.get(CREATIVE_ID)?.resizeDebounce);\n window.clearTimeout(window.appierOnsite.get(CREATIVE_ID)?.marqueeTimeout);\n }"},"uiControl":{"content":{"blockBackgroundColor":{"name":"Background \u0026 opacity","order":2,"property":"backgroundColor","type":"css","value":"#dc362e"},"numOfViewsToShow":{"max":5,"min":1,"name":"Number of views (from 1 to 5)","order":0,"type":"int","value":5},"pages":{"content":[{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 1","order":1,"target":"_self","text":"ลงทะเบียนเลย","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 1","order":0,"text":"อย่าพลาดโอกาส! ยูนิตที่ใช่อาจใกล้หมด กรอกข้อมูลเพื่อรับสิทธิพิเศษทันที","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 1","type":"group"},{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 2","order":1,"target":"_self","text":"ลงทะเบียนก่อนใคร","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 2","order":0,"text":"โอกาสแบบนี้ไม่ได้มีบ่อย! จองสิทธิพิเศษก่อนใคร เพียงกรอกข้อมูลของคุณ","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 2","type":"group"},{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 3","order":1,"target":"_self","text":"รับสิทธิ์ตอนนี้","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 3","order":0,"text":"กำลังฮอต! ยูนิตขายดีอย่างต่อเนื่อง รับสิทธิพิเศษก่อนหมดเวลา","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 3","type":"group"},{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 4","order":1,"target":"_self","text":"ดูเพิ่มเติม","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 4","order":0,"text":"ไม่รีบไม่ได้แล้ว! กรอกข้อมูลด่วนเพื่อรับดีลพิเศษ","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 4","type":"group"},{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 5","order":1,"target":"_self","text":"รับสิทธิ์เลยวันนี้","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 5","order":0,"text":"🎉 สิทธิพิเศษมีจำนวนจำกัด! อย่ารอช้า กรอกข้อมูลเพื่อจองก่อนใคร","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 5","type":"group"}],"name":"Views","order":3,"type":"group"},"slideSpeed":{"name":"Delay (In seconds)","order":1,"type":"int","value":7}},"name":"helloBar","type":"group"},"variables":{"blockBackgroundColor":"#dc362e","numOfViewsToShow":5,"pages":[{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"ลงทะเบียนเลย","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"อย่าพลาดโอกาส! ยูนิตที่ใช่อาจใกล้หมด กรอกข้อมูลเพื่อรับสิทธิพิเศษทันที","textAlign":"center","textDecoration":"none"}},{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"ลงทะเบียนก่อนใคร","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"โอกาสแบบนี้ไม่ได้มีบ่อย! จองสิทธิพิเศษก่อนใคร เพียงกรอกข้อมูลของคุณ","textAlign":"center","textDecoration":"none"}},{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"รับสิทธิ์ตอนนี้","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"กำลังฮอต! ยูนิตขายดีอย่างต่อเนื่อง รับสิทธิพิเศษก่อนหมดเวลา","textAlign":"center","textDecoration":"none"}},{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"ดูเพิ่มเติม","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"ไม่รีบไม่ได้แล้ว! กรอกข้อมูลด่วนเพื่อรับดีลพิเศษ","textAlign":"center","textDecoration":"none"}},{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"รับสิทธิ์เลยวันนี้","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"🎉 สิทธิพิเศษมีจำนวนจำกัด! อย่ารอช้า กรอกข้อมูลเพื่อจองก่อนใคร","textAlign":"center","textDecoration":"none"}}],"slideSpeed":7}}},"target":".BlankLayout__Wrapper-sc-qzx1dk-0 \u003e .BlankLayout__Content-sc-qzx1dk-1 \u003e .Content-sc-3y9z36-0 \u003e .Section-sc-tghgoc-0:nth-child(2) \u003e .PaddingContainer__Wrapper-sc-1vvkg67-0","type":"blockTemplate","uuid":"7512d1e7-840c-493d-a4c7-60edf1041ae1"}],"schedule":{"start":1755168472,"end":1849776472},"devices":{"ios":true,"android":true,"others":true}},{"id":{"experience":"48341bc2-5d96-4c28-9b95-049b50dfa82d","creative":"48d13386-b577-469d-8cfd-cbfdf402e8ec"},"rules":{"filter":{"operator":"or","urls":[{"operator":"and","conditions":[{"operator":"regex","values":["^https:\\/\\/www\\.pruksa\\.com\\/(?:chapter|thereserve)\\/[^\\/]+$"]}]}]},"trigger":{"eventName":"","operator":"","conditions":null}},"changes":[{"action":"insertBefore","content":{"category":"html","id":"3","name":"Hello bar","tags":[],"type":"hello_bar","value":{"html":"\u003cdiv class=\"hellobar\"\u003e\n \u003cdiv class=\"hellobar__container\"\u003e\n \u003cdiv class=\"swiper hellobar__swiper\"\u003e\n \u003cdiv class=\"swiper-wrapper hellobar__swiper_wrapper\"\u003e\u003c/div\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n \u003cstyle\u003e\n [data-creative_id=\"${CREATIVE_ID}\"] .hellobar {\n background-color: ${v.blockBackgroundColor};\n }\n [data-creative_id=\"${CREATIVE_ID}\"] * {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .hellobar__container {\n display: flex;\n position: relative;\n width: 100%;\n padding: 0 100px;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper {\n width: 100%;\n position: relative;\n max-width: 1180px;\n display: flex;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .hellobar__swiper_wrapper {\n transition-timing-function: cubic-bezier(0, -0.01, 0.66, 1) !important;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper-slide {\n width: 100%;\n margin: 0;\n line-height: 1;\n padding: 12px 0;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper-slide \u003e div {\n margin: 0;\n white-space: nowrap;\n overflow: hidden;\n text-align: center;\n position: relative;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper-slide \u003e div + div {\n margin-top: 4px;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper-slide \u003e div \u003e span {\n display: inline-block;\n padding: 0 8px;\n white-space: nowrap;\n transition-timing-function: linear;\n transition-property: transform;\n }\n @media screen and (max-width: 1180px) {\n [data-creative_id=\"${CREATIVE_ID}\"] .hellobar__container {\n padding: 0 16px;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper {\n max-width: 480px;\n }\n }\n \u003c/style\u003e","js":{"init":"function init(CAMPAIGN_ID, CREATIVE_ID, v) {\n const loadCdn = (url, type = 'text/javascript') =\u003e {\n return new Promise((resolve, reject) =\u003e {\n try {\n let el;\n if (type === 'text/javascript') {\n el = document.createElement('script');\n el.type = type;\n } else if (type === 'text/css') {\n el = document.createElement('link');\n el.type = 'text/css';\n el.rel = 'stylesheet';\n el.href = url;\n el.async = true;\n } else {\n reject({\n status: false,\n message: `Failed to load the script ${url}`,\n });\n }\n el.src = url;\n el.addEventListener('load', () =\u003e {\n resolve({ status: true });\n });\n el.addEventListener('error', () =\u003e {\n reject({\n status: false,\n message: `Failed to load the script ${url}`,\n });\n });\n document.body.appendChild(el);\n } catch (e) {\n reject(e);\n }\n });\n };\n \n const wrap = document.querySelector(`[data-creative_id=\"${CREATIVE_ID}\"] .swiper-wrapper`);\n let wrapOffsetWidth;\n let slides = [];\n const marquees = [];\n \n const prepare = async () =\u003e {\n if (window.Swiper) return Promise.resolve();\n try {\n await loadCdn('https://cdnjs.cloudflare.com/ajax/libs/Swiper/10.3.1/swiper-bundle.min.js');\n await loadCdn('https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css', 'text/css');\n } catch (e) {\n throw new Error(e?.message);\n }\n };\n \n const _init = async () =\u003e {\n wrapOffsetWidth = wrap.offsetWidth;\n function buildContainerStyle(obj) {\n return `text-align:${obj.textAlign};`;\n }\n function buildElStyle(obj) {\n return `font-family:${obj.fontFamily};\n font-size:${obj.fontSize};\n color:${obj.color};\n font-weight:${obj.fontWeight};\n font-style:${obj.fontStyle};\n text-decoration:${obj.textDecoration};\n letter-spacing:${obj.letterSpacing};\n line-height:${obj.lineHeight};`;\n }\n let content = '';\n for(let i = 0; i \u003c v.numOfViewsToShow; i++) {\n marquees.push({});\n const pageSetting = v.pages[i];\n const { title, link } = pageSetting;\n content += `\u003cdiv class=\"swiper-slide\"\u003e\n \u003cdiv style=\"${buildContainerStyle(title)}\"\u003e\u003cspan style=\"${buildElStyle(title)}\"\u003e${title.text}\u003c/span\u003e\u003c/div\u003e\n \u003cdiv style=\"${buildContainerStyle(link)}\"\u003e\u003ca href=\"${link.href}\" target=\"${link.href}\" style=\"${buildElStyle(link)}\"\u003e${link.text}\u003c/a\u003e\u003c/div\u003e\n \u003c/div\u003e`;\n }\n wrap.innerHTML = content;\n slides = wrap.querySelectorAll('.swiper-slide');\n };\n \n // Marquee\n let scrollItem;\n \n const resetMarquee = () =\u003e {\n if (scrollItem) {\n scrollItem.style.transitionDuration = '0s';\n scrollItem.style.transform = 'translateX(0px)';\n }\n };\n \n const startMarquee = () =\u003e {\n const marquee = () =\u003e {\n scrollItem.style.transitionDuration = `${v.slideSpeed - 2.5}s`;\n scrollItem.style.transform = `translateX(-${marquees[slider.realIndex].limit}px)`;\n };\n scrollItem = slides[slider.realIndex].querySelector('div \u003e span');\n resetMarquee();\n \n window.appierOnsite.set(CREATIVE_ID, {\n marqueeTimeout: setTimeout(() =\u003e {\n marquee();\n }, 1000),\n });\n };\n \n const stopMarquee = () =\u003e {\n if (scrollItem) {\n resetMarquee();\n }\n clearTimeout(window.appierOnsite.get(CREATIVE_ID)?.marqueeTimeout);\n };\n \n // swiper slider\n let slider;\n const initSlider = () =\u003e {\n slider = new Swiper(`[data-creative_id=\"${CREATIVE_ID}\"] .swiper`,\n {\n grabCursor: true,\n speed: 500,\n autoHeight: true,\n autoplay: {\n delay: v.slideSpeed * 1000,\n disableOnInteraction: false,\n },\n slidesPerView: 'auto',\n loop: true,\n }\n );\n \n slider.on('slideChangeTransitionEnd', () =\u003e {\n if (marquees[slider.realIndex].marquee) {\n startMarquee();\n }\n });\n slider.on('slideChange', () =\u003e {\n stopMarquee();\n });\n };\n // width checking\n const checkOffset = () =\u003e {\n slides.forEach((slide, i) =\u003e {\n const item = slide.querySelector('div \u003e span');\n if (!marquees[i].width) {\n marquees[i].width = item.offsetWidth;\n }\n marquees[i].limit = marquees[i].width - wrapOffsetWidth;\n marquees[i].marquee = marquees[i].limit \u003e 0;\n if (marquees[i].marquee \u0026\u0026 slider.realIndex === i) {\n startMarquee();\n } else {\n stopMarquee();\n }\n });\n };\n \n window.addEventListener('resize', () =\u003e {\n clearTimeout(window.appierOnsite.get(CREATIVE_ID)?.resizeDebounce);\n window.appierOnsite.set(CREATIVE_ID, {\n resizeDebounce: setTimeout(() =\u003e {\n wrapOffsetWidth = wrap.offsetWidth;\n checkOffset();\n }, 800),\n });\n });\n \n prepare()\n .then(() =\u003e {\n _init();\n initSlider();\n checkOffset();\n })\n .catch(e =\u003e {\n console.log(e);\n });\n \n return Promise.resolve(true);\n }","revert":"function revert(CAMPAIGN_ID, CREATIVE_ID) {\n window.clearTimeout(window.appierOnsite.get(CREATIVE_ID)?.resizeDebounce);\n window.clearTimeout(window.appierOnsite.get(CREATIVE_ID)?.marqueeTimeout);\n }"},"uiControl":{"content":{"blockBackgroundColor":{"name":"Background \u0026 opacity","order":2,"property":"backgroundColor","type":"css","value":"#dc362e"},"numOfViewsToShow":{"max":5,"min":1,"name":"Number of views (from 1 to 5)","order":0,"type":"int","value":5},"pages":{"content":[{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 1","order":1,"target":"_self","text":"ลงทะเบียนเลย","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 1","order":0,"text":"อย่าพลาดโอกาส! ยูนิตที่ใช่อาจใกล้หมด กรอกข้อมูลเพื่อรับสิทธิพิเศษทันที","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 1","type":"group"},{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 2","order":1,"target":"_blank","text":"ลงทะเบียนก่อนใคร","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 2","order":0,"text":"โอกาสแบบนี้ไม่ได้มีบ่อย! จองสิทธิพิเศษก่อนใคร เพียงกรอกข้อมูลของคุณ","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 2","type":"group"},{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 3","order":1,"target":"_self","text":"รับสิทธิ์ตอนนี้","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 3","order":0,"text":"กำลังฮอต! ยูนิตขายดีอย่างต่อเนื่อง รับสิทธิพิเศษก่อนหมดเวลา","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 3","type":"group"},{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 4","order":1,"target":"_self","text":"ดูเพิ่มเติม","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 4","order":0,"text":"ไม่รีบไม่ได้แล้ว! กรอกข้อมูลด่วนเพื่อรับดีลพิเศษ","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 4","type":"group"},{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 5","order":1,"target":"_self","text":"รับสิทธิ์เลยวันนี้","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 5","order":0,"text":"🎉 สิทธิพิเศษรอคุณอยู่! อย่ารอช้า กรอกข้อมูลเพื่อจองก่อนใคร","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 5","type":"group"}],"name":"Views","order":3,"type":"group"},"slideSpeed":{"name":"Delay (In seconds)","order":1,"type":"int","value":7}},"name":"helloBar","type":"group"},"variables":{"blockBackgroundColor":"#dc362e","numOfViewsToShow":5,"pages":[{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"ลงทะเบียนเลย","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"อย่าพลาดโอกาส! ยูนิตที่ใช่อาจใกล้หมด กรอกข้อมูลเพื่อรับสิทธิพิเศษทันที","textAlign":"center","textDecoration":"none"}},{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_blank","text":"ลงทะเบียนก่อนใคร","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"โอกาสแบบนี้ไม่ได้มีบ่อย! จองสิทธิพิเศษก่อนใคร เพียงกรอกข้อมูลของคุณ","textAlign":"center","textDecoration":"none"}},{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"รับสิทธิ์ตอนนี้","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"กำลังฮอต! ยูนิตขายดีอย่างต่อเนื่อง รับสิทธิพิเศษก่อนหมดเวลา","textAlign":"center","textDecoration":"none"}},{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"ดูเพิ่มเติม","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"ไม่รีบไม่ได้แล้ว! กรอกข้อมูลด่วนเพื่อรับดีลพิเศษ","textAlign":"center","textDecoration":"none"}},{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"รับสิทธิ์เลยวันนี้","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"🎉 สิทธิพิเศษรอคุณอยู่! อย่ารอช้า กรอกข้อมูลเพื่อจองก่อนใคร","textAlign":"center","textDecoration":"none"}}],"slideSpeed":7}}},"target":"#__next \u003e .BlankLayout__Wrapper-sc-qzx1dk-0 \u003e .BlankLayout__Content-sc-qzx1dk-1 \u003e .Content-sc-3y9z36-0 \u003e .cBISoA","type":"blockTemplate","uuid":"d70b997b-c37d-46a6-8bc9-729a4b448e44"}],"schedule":{"start":1752585835,"end":1847193835},"devices":{"ios":true,"android":true,"others":true}},{"id":{"experience":"df3119c0-3d9c-4a4a-8e2e-cab9ad34ad27","creative":"3506ef2a-8d13-447f-ad22-9639ec2bc589"},"rules":{"filter":{"operator":"or","urls":[{"operator":"and","conditions":[{"operator":"regex","values":["^(?:https:\\/\\/)?www\\.pruksa\\.com\\/(?:thepalm|pine)\\/[^\\/]+$"]}]}]},"trigger":{"eventName":"","operator":"","conditions":null}},"changes":[{"action":"insertBefore","content":{"category":"html","id":"3","name":"Hello bar","tags":[],"type":"hello_bar","value":{"html":"\u003cdiv class=\"hellobar\"\u003e\n \u003cdiv class=\"hellobar__container\"\u003e\n \u003cdiv class=\"swiper hellobar__swiper\"\u003e\n \u003cdiv class=\"swiper-wrapper hellobar__swiper_wrapper\"\u003e\u003c/div\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n \u003cstyle\u003e\n [data-creative_id=\"${CREATIVE_ID}\"] .hellobar {\n background-color: ${v.blockBackgroundColor};\n }\n [data-creative_id=\"${CREATIVE_ID}\"] * {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .hellobar__container {\n display: flex;\n position: relative;\n width: 100%;\n padding: 0 100px;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper {\n width: 100%;\n position: relative;\n max-width: 1180px;\n display: flex;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .hellobar__swiper_wrapper {\n transition-timing-function: cubic-bezier(0, -0.01, 0.66, 1) !important;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper-slide {\n width: 100%;\n margin: 0;\n line-height: 1;\n padding: 12px 0;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper-slide \u003e div {\n margin: 0;\n white-space: nowrap;\n overflow: hidden;\n text-align: center;\n position: relative;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper-slide \u003e div + div {\n margin-top: 4px;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper-slide \u003e div \u003e span {\n display: inline-block;\n padding: 0 8px;\n white-space: nowrap;\n transition-timing-function: linear;\n transition-property: transform;\n }\n @media screen and (max-width: 1180px) {\n [data-creative_id=\"${CREATIVE_ID}\"] .hellobar__container {\n padding: 0 16px;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper {\n max-width: 480px;\n }\n }\n \u003c/style\u003e","js":{"init":"function init(CAMPAIGN_ID, CREATIVE_ID, v) {\n const loadCdn = (url, type = 'text/javascript') =\u003e {\n return new Promise((resolve, reject) =\u003e {\n try {\n let el;\n if (type === 'text/javascript') {\n el = document.createElement('script');\n el.type = type;\n } else if (type === 'text/css') {\n el = document.createElement('link');\n el.type = 'text/css';\n el.rel = 'stylesheet';\n el.href = url;\n el.async = true;\n } else {\n reject({\n status: false,\n message: `Failed to load the script ${url}`,\n });\n }\n el.src = url;\n el.addEventListener('load', () =\u003e {\n resolve({ status: true });\n });\n el.addEventListener('error', () =\u003e {\n reject({\n status: false,\n message: `Failed to load the script ${url}`,\n });\n });\n document.body.appendChild(el);\n } catch (e) {\n reject(e);\n }\n });\n };\n \n const wrap = document.querySelector(`[data-creative_id=\"${CREATIVE_ID}\"] .swiper-wrapper`);\n let wrapOffsetWidth;\n let slides = [];\n const marquees = [];\n \n const prepare = async () =\u003e {\n if (window.Swiper) return Promise.resolve();\n try {\n await loadCdn('https://cdnjs.cloudflare.com/ajax/libs/Swiper/10.3.1/swiper-bundle.min.js');\n await loadCdn('https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css', 'text/css');\n } catch (e) {\n throw new Error(e?.message);\n }\n };\n \n const _init = async () =\u003e {\n wrapOffsetWidth = wrap.offsetWidth;\n function buildContainerStyle(obj) {\n return `text-align:${obj.textAlign};`;\n }\n function buildElStyle(obj) {\n return `font-family:${obj.fontFamily};\n font-size:${obj.fontSize};\n color:${obj.color};\n font-weight:${obj.fontWeight};\n font-style:${obj.fontStyle};\n text-decoration:${obj.textDecoration};\n letter-spacing:${obj.letterSpacing};\n line-height:${obj.lineHeight};`;\n }\n let content = '';\n for(let i = 0; i \u003c v.numOfViewsToShow; i++) {\n marquees.push({});\n const pageSetting = v.pages[i];\n const { title, link } = pageSetting;\n content += `\u003cdiv class=\"swiper-slide\"\u003e\n \u003cdiv style=\"${buildContainerStyle(title)}\"\u003e\u003cspan style=\"${buildElStyle(title)}\"\u003e${title.text}\u003c/span\u003e\u003c/div\u003e\n \u003cdiv style=\"${buildContainerStyle(link)}\"\u003e\u003ca href=\"${link.href}\" target=\"${link.href}\" style=\"${buildElStyle(link)}\"\u003e${link.text}\u003c/a\u003e\u003c/div\u003e\n \u003c/div\u003e`;\n }\n wrap.innerHTML = content;\n slides = wrap.querySelectorAll('.swiper-slide');\n };\n \n // Marquee\n let scrollItem;\n \n const resetMarquee = () =\u003e {\n if (scrollItem) {\n scrollItem.style.transitionDuration = '0s';\n scrollItem.style.transform = 'translateX(0px)';\n }\n };\n \n const startMarquee = () =\u003e {\n const marquee = () =\u003e {\n scrollItem.style.transitionDuration = `${v.slideSpeed - 2.5}s`;\n scrollItem.style.transform = `translateX(-${marquees[slider.realIndex].limit}px)`;\n };\n scrollItem = slides[slider.realIndex].querySelector('div \u003e span');\n resetMarquee();\n \n window.appierOnsite.set(CREATIVE_ID, {\n marqueeTimeout: setTimeout(() =\u003e {\n marquee();\n }, 1000),\n });\n };\n \n const stopMarquee = () =\u003e {\n if (scrollItem) {\n resetMarquee();\n }\n clearTimeout(window.appierOnsite.get(CREATIVE_ID)?.marqueeTimeout);\n };\n \n // swiper slider\n let slider;\n const initSlider = () =\u003e {\n slider = new Swiper(`[data-creative_id=\"${CREATIVE_ID}\"] .swiper`,\n {\n grabCursor: true,\n speed: 500,\n autoHeight: true,\n autoplay: {\n delay: v.slideSpeed * 1000,\n disableOnInteraction: false,\n },\n slidesPerView: 'auto',\n loop: true,\n }\n );\n \n slider.on('slideChangeTransitionEnd', () =\u003e {\n if (marquees[slider.realIndex].marquee) {\n startMarquee();\n }\n });\n slider.on('slideChange', () =\u003e {\n stopMarquee();\n });\n };\n // width checking\n const checkOffset = () =\u003e {\n slides.forEach((slide, i) =\u003e {\n const item = slide.querySelector('div \u003e span');\n if (!marquees[i].width) {\n marquees[i].width = item.offsetWidth;\n }\n marquees[i].limit = marquees[i].width - wrapOffsetWidth;\n marquees[i].marquee = marquees[i].limit \u003e 0;\n if (marquees[i].marquee \u0026\u0026 slider.realIndex === i) {\n startMarquee();\n } else {\n stopMarquee();\n }\n });\n };\n \n window.addEventListener('resize', () =\u003e {\n clearTimeout(window.appierOnsite.get(CREATIVE_ID)?.resizeDebounce);\n window.appierOnsite.set(CREATIVE_ID, {\n resizeDebounce: setTimeout(() =\u003e {\n wrapOffsetWidth = wrap.offsetWidth;\n checkOffset();\n }, 800),\n });\n });\n \n prepare()\n .then(() =\u003e {\n _init();\n initSlider();\n checkOffset();\n })\n .catch(e =\u003e {\n console.log(e);\n });\n \n return Promise.resolve(true);\n }","revert":"function revert(CAMPAIGN_ID, CREATIVE_ID) {\n window.clearTimeout(window.appierOnsite.get(CREATIVE_ID)?.resizeDebounce);\n window.clearTimeout(window.appierOnsite.get(CREATIVE_ID)?.marqueeTimeout);\n }"},"uiControl":{"content":{"blockBackgroundColor":{"name":"Background \u0026 opacity","order":2,"property":"backgroundColor","type":"css","value":"#dc362e"},"numOfViewsToShow":{"max":5,"min":1,"name":"Number of views (from 1 to 5)","order":0,"type":"int","value":5},"pages":{"content":[{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 1","order":1,"target":"_self","text":"ลงทะเบียนเลย","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 1","order":0,"text":"อย่าพลาดโอกาส! ยูนิตที่ใช่อาจใกล้หมด กรอกข้อมูลเพื่อรับสิทธิพิเศษทันที","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 1","type":"group"},{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 2","order":1,"target":"_self","text":"ลงทะเบียนก่อนใคร","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 2","order":0,"text":"โอกาสแบบนี้ไม่ได้มีบ่อย! จองสิทธิพิเศษก่อนใคร เพียงกรอกข้อมูลของคุณ","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 2","type":"group"},{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 3","order":1,"target":"_self","text":"รับสิทธิ์ตอนนี้","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 3","order":0,"text":"กำลังฮอต! ยูนิตขายดีอย่างต่อเนื่อง รับสิทธิพิเศษก่อนหมดเวลา","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 3","type":"group"},{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 4","order":1,"target":"_self","text":"ดูเพิ่มเติม","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 4","order":0,"text":"ไม่รีบไม่ได้แล้ว! กรอกข้อมูลด่วนเพื่อรับดีลพิเศษ","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 4","type":"group"},{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 5","order":1,"target":"_self","text":"รับสิทธิ์เลยวันนี้","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 5","order":0,"text":" 🎉 สิทธิพิเศษรอคุณอยู่! อย่ารอช้า กรอกข้อมูลเพื่อจองก่อนใคร","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 5","type":"group"}],"name":"Views","order":3,"type":"group"},"slideSpeed":{"name":"Delay (In seconds)","order":1,"type":"int","value":7}},"name":"helloBar","type":"group"},"variables":{"blockBackgroundColor":"#dc362e","numOfViewsToShow":5,"pages":[{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"ลงทะเบียนเลย","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"อย่าพลาดโอกาส! ยูนิตที่ใช่อาจใกล้หมด กรอกข้อมูลเพื่อรับสิทธิพิเศษทันที","textAlign":"center","textDecoration":"none"}},{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"ลงทะเบียนก่อนใคร","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"โอกาสแบบนี้ไม่ได้มีบ่อย! จองสิทธิพิเศษก่อนใคร เพียงกรอกข้อมูลของคุณ","textAlign":"center","textDecoration":"none"}},{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"รับสิทธิ์ตอนนี้","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"กำลังฮอต! ยูนิตขายดีอย่างต่อเนื่อง รับสิทธิพิเศษก่อนหมดเวลา","textAlign":"center","textDecoration":"none"}},{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"ดูเพิ่มเติม","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"ไม่รีบไม่ได้แล้ว! กรอกข้อมูลด่วนเพื่อรับดีลพิเศษ","textAlign":"center","textDecoration":"none"}},{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"รับสิทธิ์เลยวันนี้","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":" 🎉 สิทธิพิเศษรอคุณอยู่! อย่ารอช้า กรอกข้อมูลเพื่อจองก่อนใคร","textAlign":"center","textDecoration":"none"}}],"slideSpeed":7}}},"target":".BlankLayout__Content-sc-qzx1dk-1 \u003e .Content-sc-3y9z36-0 \u003e #promotion \u003e .Section-sc-tghgoc-0 \u003e .kYNYDE","type":"blockTemplate","uuid":"ab913845-1dc6-4d4c-800d-d11eb30fbea6"}],"schedule":{"start":1752585839,"end":1847193839},"devices":{"ios":true,"android":true,"others":true}},{"id":{"experience":"b0aefbc5-a2d1-40bb-8ca8-3548060440d9","creative":"23e88508-d8c7-44cf-97b1-e7677c0ade91"},"rules":{"filter":{"operator":"or","urls":[{"operator":"and","conditions":[{"operator":"regex","values":["^https:\\/\\/www\\.pruksa\\.com\\/(?:patio|passorn)\\/[^\\/]+$"]}]}]},"trigger":{"eventName":"","operator":"","conditions":null}},"changes":[{"action":"insertBefore","content":{"category":"html","id":"3","name":"Hello bar","tags":[],"type":"hello_bar","value":{"html":"\u003cdiv class=\"hellobar\"\u003e\n \u003cdiv class=\"hellobar__container\"\u003e\n \u003cdiv class=\"swiper hellobar__swiper\"\u003e\n \u003cdiv class=\"swiper-wrapper hellobar__swiper_wrapper\"\u003e\u003c/div\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n \u003cstyle\u003e\n [data-creative_id=\"${CREATIVE_ID}\"] .hellobar {\n background-color: ${v.blockBackgroundColor};\n }\n [data-creative_id=\"${CREATIVE_ID}\"] * {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .hellobar__container {\n display: flex;\n position: relative;\n width: 100%;\n padding: 0 100px;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper {\n width: 100%;\n position: relative;\n max-width: 1180px;\n display: flex;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .hellobar__swiper_wrapper {\n transition-timing-function: cubic-bezier(0, -0.01, 0.66, 1) !important;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper-slide {\n width: 100%;\n margin: 0;\n line-height: 1;\n padding: 12px 0;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper-slide \u003e div {\n margin: 0;\n white-space: nowrap;\n overflow: hidden;\n text-align: center;\n position: relative;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper-slide \u003e div + div {\n margin-top: 4px;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper-slide \u003e div \u003e span {\n display: inline-block;\n padding: 0 8px;\n white-space: nowrap;\n transition-timing-function: linear;\n transition-property: transform;\n }\n @media screen and (max-width: 1180px) {\n [data-creative_id=\"${CREATIVE_ID}\"] .hellobar__container {\n padding: 0 16px;\n }\n [data-creative_id=\"${CREATIVE_ID}\"] .swiper {\n max-width: 480px;\n }\n }\n \u003c/style\u003e","js":{"init":"function init(CAMPAIGN_ID, CREATIVE_ID, v) {\n const loadCdn = (url, type = 'text/javascript') =\u003e {\n return new Promise((resolve, reject) =\u003e {\n try {\n let el;\n if (type === 'text/javascript') {\n el = document.createElement('script');\n el.type = type;\n } else if (type === 'text/css') {\n el = document.createElement('link');\n el.type = 'text/css';\n el.rel = 'stylesheet';\n el.href = url;\n el.async = true;\n } else {\n reject({\n status: false,\n message: `Failed to load the script ${url}`,\n });\n }\n el.src = url;\n el.addEventListener('load', () =\u003e {\n resolve({ status: true });\n });\n el.addEventListener('error', () =\u003e {\n reject({\n status: false,\n message: `Failed to load the script ${url}`,\n });\n });\n document.body.appendChild(el);\n } catch (e) {\n reject(e);\n }\n });\n };\n \n const wrap = document.querySelector(`[data-creative_id=\"${CREATIVE_ID}\"] .swiper-wrapper`);\n let wrapOffsetWidth;\n let slides = [];\n const marquees = [];\n \n const prepare = async () =\u003e {\n if (window.Swiper) return Promise.resolve();\n try {\n await loadCdn('https://cdnjs.cloudflare.com/ajax/libs/Swiper/10.3.1/swiper-bundle.min.js');\n await loadCdn('https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css', 'text/css');\n } catch (e) {\n throw new Error(e?.message);\n }\n };\n \n const _init = async () =\u003e {\n wrapOffsetWidth = wrap.offsetWidth;\n function buildContainerStyle(obj) {\n return `text-align:${obj.textAlign};`;\n }\n function buildElStyle(obj) {\n return `font-family:${obj.fontFamily};\n font-size:${obj.fontSize};\n color:${obj.color};\n font-weight:${obj.fontWeight};\n font-style:${obj.fontStyle};\n text-decoration:${obj.textDecoration};\n letter-spacing:${obj.letterSpacing};\n line-height:${obj.lineHeight};`;\n }\n let content = '';\n for(let i = 0; i \u003c v.numOfViewsToShow; i++) {\n marquees.push({});\n const pageSetting = v.pages[i];\n const { title, link } = pageSetting;\n content += `\u003cdiv class=\"swiper-slide\"\u003e\n \u003cdiv style=\"${buildContainerStyle(title)}\"\u003e\u003cspan style=\"${buildElStyle(title)}\"\u003e${title.text}\u003c/span\u003e\u003c/div\u003e\n \u003cdiv style=\"${buildContainerStyle(link)}\"\u003e\u003ca href=\"${link.href}\" target=\"${link.href}\" style=\"${buildElStyle(link)}\"\u003e${link.text}\u003c/a\u003e\u003c/div\u003e\n \u003c/div\u003e`;\n }\n wrap.innerHTML = content;\n slides = wrap.querySelectorAll('.swiper-slide');\n };\n \n // Marquee\n let scrollItem;\n \n const resetMarquee = () =\u003e {\n if (scrollItem) {\n scrollItem.style.transitionDuration = '0s';\n scrollItem.style.transform = 'translateX(0px)';\n }\n };\n \n const startMarquee = () =\u003e {\n const marquee = () =\u003e {\n scrollItem.style.transitionDuration = `${v.slideSpeed - 2.5}s`;\n scrollItem.style.transform = `translateX(-${marquees[slider.realIndex].limit}px)`;\n };\n scrollItem = slides[slider.realIndex].querySelector('div \u003e span');\n resetMarquee();\n \n window.appierOnsite.set(CREATIVE_ID, {\n marqueeTimeout: setTimeout(() =\u003e {\n marquee();\n }, 1000),\n });\n };\n \n const stopMarquee = () =\u003e {\n if (scrollItem) {\n resetMarquee();\n }\n clearTimeout(window.appierOnsite.get(CREATIVE_ID)?.marqueeTimeout);\n };\n \n // swiper slider\n let slider;\n const initSlider = () =\u003e {\n slider = new Swiper(`[data-creative_id=\"${CREATIVE_ID}\"] .swiper`,\n {\n grabCursor: true,\n speed: 500,\n autoHeight: true,\n autoplay: {\n delay: v.slideSpeed * 1000,\n disableOnInteraction: false,\n },\n slidesPerView: 'auto',\n loop: true,\n }\n );\n \n slider.on('slideChangeTransitionEnd', () =\u003e {\n if (marquees[slider.realIndex].marquee) {\n startMarquee();\n }\n });\n slider.on('slideChange', () =\u003e {\n stopMarquee();\n });\n };\n // width checking\n const checkOffset = () =\u003e {\n slides.forEach((slide, i) =\u003e {\n const item = slide.querySelector('div \u003e span');\n if (!marquees[i].width) {\n marquees[i].width = item.offsetWidth;\n }\n marquees[i].limit = marquees[i].width - wrapOffsetWidth;\n marquees[i].marquee = marquees[i].limit \u003e 0;\n if (marquees[i].marquee \u0026\u0026 slider.realIndex === i) {\n startMarquee();\n } else {\n stopMarquee();\n }\n });\n };\n \n window.addEventListener('resize', () =\u003e {\n clearTimeout(window.appierOnsite.get(CREATIVE_ID)?.resizeDebounce);\n window.appierOnsite.set(CREATIVE_ID, {\n resizeDebounce: setTimeout(() =\u003e {\n wrapOffsetWidth = wrap.offsetWidth;\n checkOffset();\n }, 800),\n });\n });\n \n prepare()\n .then(() =\u003e {\n _init();\n initSlider();\n checkOffset();\n })\n .catch(e =\u003e {\n console.log(e);\n });\n \n return Promise.resolve(true);\n }","revert":"function revert(CAMPAIGN_ID, CREATIVE_ID) {\n window.clearTimeout(window.appierOnsite.get(CREATIVE_ID)?.resizeDebounce);\n window.clearTimeout(window.appierOnsite.get(CREATIVE_ID)?.marqueeTimeout);\n }"},"uiControl":{"content":{"blockBackgroundColor":{"name":"Background \u0026 opacity","order":2,"property":"backgroundColor","type":"css","value":"#dc362e"},"numOfViewsToShow":{"max":5,"min":1,"name":"Number of views (from 1 to 5)","order":0,"type":"int","value":"5"},"pages":{"content":[{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 1","order":1,"target":"_self","text":"ลงทะเบียนเลย","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 1","order":0,"text":"อย่าพลาดโอกาส! ยูนิตที่ใช่อาจใกล้หมด กรอกข้อมูลเพื่อรับสิทธิพิเศษทันที","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 1","type":"group"},{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 2","order":1,"target":"_self","text":"ลงทะเบียนก่อนใคร","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 2","order":0,"text":"โอกาสแบบนี้ไม่ได้มีบ่อย! จองสิทธิพิเศษก่อนใคร เพียงกรอกข้อมูลของคุณ","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 2","type":"group"},{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 3","order":1,"target":"_self","text":"รับสิทธิ์ตอนนี้","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 3","order":0,"text":"กำลังฮอต! ยูนิตขายดีอย่างต่อเนื่อง รับสิทธิพิเศษก่อนหมดเวลา","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 3","type":"group"},{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 4","order":1,"target":"_self","text":"ดูเพิ่มเติม","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 4","order":0,"text":"ไม่รีบไม่ได้แล้ว! กรอกข้อมูลด่วนเพื่อรับดีลพิเศษ","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 4","type":"group"},{"content":{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","name":"Call to Action 5","order":1,"target":"_self","text":"รับสิทธิ์เลยวันนี้","textAlign":"center","textDecoration":"underline","type":"link"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","name":"Title 5","order":0,"text":"🎉 สิทธิพิเศษรอคุณอยู่! อย่ารอช้า กรอกข้อมูลเพื่อจองก่อนใคร","textAlign":"center","textDecoration":"none","type":"text"}},"name":"View 5","type":"group"}],"name":"Views","order":3,"type":"group"},"slideSpeed":{"name":"Delay (In seconds)","order":1,"type":"int","value":7}},"name":"helloBar","type":"group"},"variables":{"blockBackgroundColor":"#dc362e","numOfViewsToShow":"5","pages":[{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"ลงทะเบียนเลย","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"อย่าพลาดโอกาส! ยูนิตที่ใช่อาจใกล้หมด กรอกข้อมูลเพื่อรับสิทธิพิเศษทันที","textAlign":"center","textDecoration":"none"}},{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"ลงทะเบียนก่อนใคร","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"โอกาสแบบนี้ไม่ได้มีบ่อย! จองสิทธิพิเศษก่อนใคร เพียงกรอกข้อมูลของคุณ","textAlign":"center","textDecoration":"none"}},{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"รับสิทธิ์ตอนนี้","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"กำลังฮอต! ยูนิตขายดีอย่างต่อเนื่อง รับสิทธิพิเศษก่อนหมดเวลา","textAlign":"center","textDecoration":"none"}},{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"ดูเพิ่มเติม","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"ไม่รีบไม่ได้แล้ว! กรอกข้อมูลด่วนเพื่อรับดีลพิเศษ","textAlign":"center","textDecoration":"none"}},{"link":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","href":"#promotion","letterSpacing":"1px","lineHeight":"22px","target":"_self","text":"รับสิทธิ์เลยวันนี้","textAlign":"center","textDecoration":"underline"},"title":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"20px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"1px","lineHeight":"22px","text":"🎉 สิทธิพิเศษรอคุณอยู่! อย่ารอช้า กรอกข้อมูลเพื่อจองก่อนใคร","textAlign":"center","textDecoration":"none"}}],"slideSpeed":7}}},"target":"#__next \u003e .BlankLayout__Wrapper-sc-qzx1dk-0 \u003e .BlankLayout__Content-sc-qzx1dk-1 \u003e .Content-sc-3y9z36-0 \u003e .ijapSJ","type":"blockTemplate","uuid":"c823abb0-f10b-42ab-aa72-628df90fad38"}],"schedule":{"start":1752585878,"end":1847193878},"devices":{"ios":true,"android":true,"others":true}},{"id":{"experience":"e92f4577-23d7-41f5-80cb-09b0e1c5750d","creative":"c9eca70f-5c62-432e-af2f-4459407aa5fc"},"rules":{"filter":{"operator":"or","urls":[{"operator":"and","conditions":[{"operator":"contain","values":["pruksa.com/p/pruksa-pass"]}]}]},"trigger":{"eventName":"","operator":"","conditions":null}},"changes":[{"action":"insertReplace","content":{"category":"html","id":"12","name":"HTML editor","tags":[],"type":"html_editor","value":{"html":"\u003cdiv color=\"jet\" class=\"Typography-sc-1bnnldg-0 Typography__Headline2-sc-1bnnldg-9 gCyOBS\"\u003eเลือกโครงการที่สนใจ\u003c/div\u003e","js":{"init":"function init(CAMPAIGN_ID, CREATIVE_ID, v, blockAreaEl) { return Promise.resolve(true); }","revert":"function revert(CAMPAIGN_ID, CREATIVE_ID, v) {}"}}},"target":".CustomLeadForm__Wrapper-sc-12flh2z-0 \u003e form \u003e .mt-4 \u003e .PaddingContainer__Wrapper-sc-1vvkg67-0 \u003e .ComponentFormCase7__HeaderWrapper-sc-1f3yvkp-2","type":"blockTemplate","uuid":"4121dfbd-db88-465a-be04-3cdd8c7f1388"}],"schedule":{"start":1752585823,"end":1847193823},"devices":{"ios":true,"android":true,"others":true}},{"id":{"experience":"752146f0-fc55-438d-a331-a1b3c23aee9f","creative":"cf45df92-16f1-44a0-93e2-39190dafe702"},"rules":{"filter":{"operator":"or","urls":[{"operator":"and","conditions":[{"operator":"contain","values":["single-house?uc2"]}]}]},"trigger":{"eventName":"","operator":"","conditions":null}},"changes":[{"action":"insertBefore","content":{"category":"html","id":"8","name":"Image with title","tags":[],"type":"imageWithTitle","value":{"html":"\u003cdiv class=\"headline-image-container\"\u003e\n \u003cdiv class=\"headline-image__content\"\u003e\n \u003ch1 class=\"headline-image__title\"\u003e${v.headlineTitle.text}\u003c/h1\u003e\n \u003ca class=\"headline-image__cta-button\" href=\"${v.ctaButton.deepLink}\" target=\"${v.ctaButton.target}\"\u003e${v.ctaButton.buttonText.text}\u003c/a\u003e\n \u003c/div\u003e\n \u003cdiv class=\"headline-image__image-container\"\u003e\n \u003cdiv class=\"mask\"\u003e \u003c/div\u003e\n \u003cimg class=\"headline-image__image\" src=\"${v.imageSrc}\" alt=\"${v.imageAlt}\" /\u003e\n \u003c/div\u003e\n\u003c/div\u003e\n\n\u003cstyle\u003e\n [data-creative_id=\"${CREATIVE_ID}\"] .headline-image-container {\n position: relative;\n width: 100%;\n }\n\n [data-creative_id=\"${CREATIVE_ID}\"] .headline-image__content {\n position: absolute;\n width: 100%;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n text-align: center;\n z-index: 100;\n }\n\n [data-creative_id=\"${CREATIVE_ID}\"] .headline-image__title {\n font-family: ${v.headlineTitle.fontFamily};\n font-size: ${v.headlineTitle.fontSize};\n color: ${v.headlineTitle.color};\n font-weight: ${v.headlineTitle.fontWeight};\n font-style: ${v.headlineTitle.fontStyle};\n text-decoration: ${v.headlineTitle.textDecoration};\n text-align: ${v.headlineTitle.textAlign};\n letter-spacing: ${v.headlineTitle.letterSpacing};\n line-height: ${v.headlineTitle.lineHeight};\n }\n\n [data-creative_id=\"${CREATIVE_ID}\"] .headline-image__cta-button {\n font-family: ${v.ctaButton.buttonText.fontFamily};\n font-size: ${v.ctaButton.buttonText.fontSize};\n color: ${v.ctaButton.buttonText.color};\n font-weight: ${v.ctaButton.buttonText.fontWeight};\n font-style: ${v.ctaButton.buttonText.fontStyle};\n text-decoration: ${v.ctaButton.buttonText.textDecoration};\n text-align: ${v.ctaButton.buttonText.textAlign};\n letter-spacing: ${v.ctaButton.buttonText.letterSpacing};\n line-height: ${v.ctaButton.buttonText.lineHeight};\n background-color: ${v.ctaButton.backgroundColor};\n border-radius: ${v.ctaButton.borderRadius};\n padding: ${v.ctaButton.buttonPadding};\n display: inline-block;\n margin-top: 10px;\n }\n\n [data-creative_id=\"${CREATIVE_ID}\"] .headline-image__image-container {\n width: 100%;\n position: relative;\n }\n\n [data-creative_id=\"${CREATIVE_ID}\"] .headline-image__image {\n width: 100%;\n }\n \n [data-creative_id=\"${CREATIVE_ID}\"] .mask {\n position: absolute;\n background-color: #000000;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n opacity: ${v.backgroundOpacity};\n }\n \n @media (max-width: 450px) {\n [data-creative_id=\"${CREATIVE_ID}\"] .headline-image__title {\n font-size: calc(${v.headlineTitle.fontSize} * 0.8);\n letter-spacing: calc(${v.headlineTitle.letterSpacing} * 0.8);\n line-height: calc(${v.headlineTitle.lineHeight} * 0.8);\n }\n \n [data-creative_id=\"${CREATIVE_ID}\"] .headline-image__cta-button {\n font-size: calc(${v.ctaButton.fontSize} * 0.8);\n letter-spacing: calc(${v.ctaButton.letterSpacing} * 0.8);\n line-height: calc(${v.ctaButton.lineHeight} * 0.8);\n }\n }\n\u003c/style\u003e\n\n","js":{"init":"function init(CAMPAIGN_ID, CREATIVE_ID, v, blockAreaEl) {\n return Promise.resolve(true);\n}","revert":"function revert(CAMPAIGN_ID, CREATIVE_ID, v) {}"},"uiControl":{"content":{"backgroundOpacity":{"name":"Image opacity (from 0 to 1)","order":2,"type":"str","value":"0.3"},"ctaButton":{"content":{"backgroundColor":{"name":"Button color","order":6,"property":"backgroundColor","type":"css","value":"#6d981d"},"borderRadius":{"name":"Button border radius","order":7,"property":"borderRadius","type":"css","value":"0px"},"buttonPadding":{"name":"Button padding","order":8,"type":"str","value":"12px"},"buttonText":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"24px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"0px","lineHeight":"24px","name":"Button text","order":0,"text":"ค้นพบความสุขกับบ้านเดี่ยวหลังใหม่ ได้ที่นี่","textAlign":"center","textDecoration":"none","type":"text"},"deepLink":{"name":"Button destination link","order":5,"type":"str","value":""}},"name":"Button","order":4,"type":"group"},"headlineTitle":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"40px","fontStyle":"normal","fontWeight":"bold","letterSpacing":"0px","lineHeight":"38px","name":"Headline","order":3,"text":"บ้านเดี่ยวหลังใหม่ ใกล้ฉัน","textAlign":"center","textDecoration":"none","type":"text"},"imageAlt":{"name":"Image alt text","order":1,"type":"str","value":"image"},"imageSrc":{"name":"Image URL","order":0,"type":"str","value":"https://static.pruksa.com/%E0%B8%81%E0%B8%94%E0%B8%81%E0%B8%94.jpg"}},"name":"uiControl","type":"group"},"variables":{"backgroundOpacity":"0.3","ctaButton":{"backgroundColor":"#6d981d","borderRadius":"0px","buttonPadding":"12px","buttonText":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"24px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"0px","lineHeight":"24px","text":"ค้นพบความสุขกับบ้านเดี่ยวหลังใหม่ ได้ที่นี่","textAlign":"center","textDecoration":"none"},"deepLink":""},"headlineTitle":{"color":"rgba(255, 255, 255, 1)","fontFamily":"inherit","fontSize":"40px","fontStyle":"normal","fontWeight":"bold","letterSpacing":"0px","lineHeight":"38px","text":"บ้านเดี่ยวหลังใหม่ ใกล้ฉัน","textAlign":"center","textDecoration":"none"},"imageAlt":"image","imageSrc":"https://static.pruksa.com/%E0%B8%81%E0%B8%94%E0%B8%81%E0%B8%94.jpg"}}},"target":".inner-ratio \u003e .BackgroundImage__ImageCover-sc-1ipr58o-1 \u003e .content \u003e .AbsoluteFullContainer-sc-it0x7y-0 \u003e .PaddingContainer__Wrapper-sc-1vvkg67-0","type":"blockTemplate","uuid":"b05f8238-464c-40af-a12a-2f51d56d3a3e"}],"schedule":{"start":1752585810,"end":1847193810},"devices":{"ios":true,"android":true,"others":true}},{"id":{"experience":"309b763b-4e72-4a23-8900-c654fd08b5dc","creative":"f45b3264-d202-4f3c-b9ce-ae21d7a300b2"},"rules":{"filter":{"operator":"or","urls":[{"operator":"and","conditions":[{"operator":"contain","values":["/p/pruksa-pass/thankyou"]}]}]},"trigger":{"eventName":"","operator":"","conditions":null}},"changes":[{"action":"insertReplace","content":{"category":"html","id":"6","name":"One image banner","tags":[],"type":"oneImageBanner","value":{"html":"\u003cdiv class=\"full-width-banner\"\u003e\n \u003cdiv class=\"full-width-banner__container\"\u003e\n \u003cdiv class=\"full-width-banner__left\"\u003e\n \u003cimg class=\"full-width-banner__image\" src=\"${v.bannerImage}\" alt=\"Banner Image\"\u003e\n \u003c/div\u003e\n \u003cdiv class=\"full-width-banner__right\"\u003e\n \u003cdiv class=\"full-width-banner__title\"\u003e${v.bannerTitle.text}\u003c/div\u003e\n \u003cdiv class=\"full-width-banner__description\"\u003e${v.bannerDescription.text}\u003c/div\u003e\n \u003ca class=\"full-width-banner__cta\" href=\"${v.bannerCTA.deepLink}\" target=\"_self\"\u003e${v.bannerCTA.buttonText.text}\u003c/a\u003e\n \u003c/div\u003e\n \u003c/div\u003e\n\u003c/div\u003e\n\n\u003cstyle\u003e\n [data-creative_id=\"${CREATIVE_ID}\"] .full-width-banner {\n display: flex;\n }\n\n [data-creative_id=\"${CREATIVE_ID}\"] .full-width-banner__container {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n width: 100%;\n background-color: ${v.bannerBg};\n }\n \n @media (max-width: 450px) {\n [data-creative_id=\"${CREATIVE_ID}\"] .full-width-banner__container {\n flex-direction: column;\n }\n }\n\n [data-creative_id=\"${CREATIVE_ID}\"] .full-width-banner__left {\n flex: 1;\n min-width: 100%;\n }\n\n [data-creative_id=\"${CREATIVE_ID}\"] .full-width-banner__image {\n width: 100%;\n height: auto;\n }\n\n [data-creative_id=\"${CREATIVE_ID}\"] .full-width-banner__right {\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: 16px 24px;\n min-width: 640px;\n max-width: 640px;\n }\n \n @media (max-width: 450px) {\n [data-creative_id=\"${CREATIVE_ID}\"] .full-width-banner__right {\n max-width: 100%;\n min-width: 100%;\n }\n }\n\n @media (min-width: 450px) {\n [data-creative_id=\"${CREATIVE_ID}\"] .full-width-banner__left, [data-creative_id=\"${CREATIVE_ID}\"] .full-width-banner__right {\n min-width: 0;\n }\n }\n\n [data-creative_id=\"${CREATIVE_ID}\"] .full-width-banner__title {\n margin-bottom: 8px;\n font-family: ${v.bannerTitle.fontFamily};\n font-size: ${v.bannerTitle.fontSize};\n color: ${v.bannerTitle.color};\n font-weight: ${v.bannerTitle.fontWeight};\n font-style: ${v.bannerTitle.fontStyle};\n text-decoration: ${v.bannerTitle.textDecoration};\n text-align: ${v.bannerTitle.textAlign};\n letter-spacing: ${v.bannerTitle.letterSpacing};\n line-height: ${v.bannerTitle.lineHeight};\n }\n \n @media (max-width: 450px) {\n [data-creative_id=\"${CREATIVE_ID}\"] .full-width-banner__title {\n font-size: calc(${v.bannerTitle.fontSize} * 0.8);\n letter-spacing: calc(${v.bannerTitle.letterSpacing} * 0.8);\n line-height: calc(${v.bannerTitle.lineHeight} * 0.8);\n }\n }\n\n [data-creative_id=\"${CREATIVE_ID}\"] .full-width-banner__description {\nmargin-bottom: 15px;\n font-family: ${v.bannerDescription.fontFamily};\n font-size: ${v.bannerDescription.fontSize};\n color: ${v.bannerDescription.color};\n font-weight: ${v.bannerDescription.fontWeight};\n font-style: ${v.bannerDescription.fontStyle};\n text-decoration: ${v.bannerDescription.textDecoration};\n text-align: ${v.bannerDescription.textAlign};\n letter-spacing: ${v.bannerDescription.letterSpacing};\n line-height: ${v.bannerDescription.lineHeight};\n text-align: center;\n }\n \n @media (max-width: 450px) {\n [data-creative_id=\"${CREATIVE_ID}\"] .full-width-banner__description {\n font-size: calc(${v.bannerDescription.fontSize} * 0.8);\n letter-spacing: calc(${v.bannerDescription.letterSpacing} * 0.8);\n line-height: calc(${v.bannerDescription.lineHeight} * 0.8);\n }\n }\n\n [data-creative_id=\"${CREATIVE_ID}\"] .full-width-banner__cta {\n font-family: ${v.bannerCTA.buttonText.fontFamily};\n font-size: ${v.bannerCTA.buttonText.fontSize};\n color: ${v.bannerCTA.buttonText.color};\n font-weight: ${v.bannerCTA.buttonText.fontWeight};\n font-style: ${v.bannerCTA.buttonText.fontStyle};\n text-decoration: ${v.bannerCTA.buttonText.textDecoration};\n text-align: ${v.bannerCTA.buttonText.textAlign};\n letter-spacing: ${v.bannerCTA.buttonText.letterSpacing};\n line-height: ${v.bannerCTA.buttonText.lineHeight};\n width: fit-content;\n border-radius: ${v.bannerCTA.btnBorderRadius};\n border: 0;\n background-color: ${v.bannerCTA.btnBgColor};\n padding: ${v.bannerCTA.btnPaddingVertical} ${v.bannerCTA.btnPaddingHorizontal};\n max-width: 100%;\n word-wrap: break-word;\n }\n \n @media (max-width: 450px) {\n [data-creative_id=\"${CREATIVE_ID}\"] .full-width-banner__cta {\n font-size: calc(${v.bannerCTA.buttonText.fontSize} * 0.8);\n letter-spacing: calc(${v.bannerCTA.buttonText.letterSpacing} * 0.8);\n line-height: calc(${v.bannerCTA.buttonText.lineHeight} * 0.8);\n }\n }\n\u003c/style\u003e\n","js":{"init":"function init(CAMPAIGN_ID, CREATIVE_ID, v, blockAreaEl) {\n return Promise.resolve(true);\n}","revert":"function revert(CAMPAIGN_ID, CREATIVE_ID, v)"},"uiControl":{"content":{"bannerBg":{"name":"Background color","order":1,"property":"backgroundColor","type":"css","value":"#f3f3f3"},"bannerCTA":{"content":{"btnBgColor":{"name":"Button color","order":1,"property":"backgroundColor","type":"css","value":"#030303"},"btnBorderRadius":{"name":"Button border radius","order":2,"property":"borderRadius","type":"css","value":"4px"},"btnPaddingHorizontal":{"name":"Button padding horizontal","order":8,"type":"str","value":"12px"},"btnPaddingVertical":{"name":"Button padding vertical","order":8,"type":"str","value":"6px"},"buttonText":{"color":"#ffffff","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"0px","lineHeight":"22px","name":"Button text","text":"เพิ่มเพื่อนเลย","textAlign":"left","textDecoration":"none","type":"text"},"deepLink":{"name":"Button destination URL","order":0,"type":"str","value":"https://pruksa.co/line_pruksapass"}},"name":"Call to action button","order":3,"type":"group"},"bannerDescription":{"color":"rgba(51, 51, 51, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"0px","lineHeight":"22px","name":"Description","order":2,"text":"กดเพิ่มเพื่อน เพื่อสอบถามข้อมูลเพิ่มเติม หรือนัดชมโครงการที่ท่านสนใจค่ะ","textAlign":"left","textDecoration":"none","type":"text"},"bannerImage":{"maxLength":100,"name":"Image URL","order":0,"type":"str","value":"https://static.pruksa.com/250425-PS-PASS2025-Web-Elements_Banner-Pop.jpg"},"bannerTitle":{"color":"#000000","fontFamily":"inherit","fontSize":"24px","fontStyle":"normal","fontWeight":600,"letterSpacing":"0px","lineHeight":"26px","name":"Headline","order":1,"text":"ขอบคุณสำหรับการลงทะเบียน","textAlign":"left","textDecoration":"none","type":"text"}},"name":"Full width banner","type":"group"},"variables":{"bannerBg":"#f3f3f3","bannerCTA":{"btnBgColor":"#030303","btnBorderRadius":"4px","btnPaddingHorizontal":"12px","btnPaddingVertical":"6px","buttonText":{"color":"#ffffff","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"0px","lineHeight":"22px","text":"เพิ่มเพื่อนเลย","textAlign":"left","textDecoration":"none"},"deepLink":"https://pruksa.co/line_pruksapass"},"bannerDescription":{"color":"rgba(51, 51, 51, 1)","fontFamily":"inherit","fontSize":"16px","fontStyle":"normal","fontWeight":"normal","letterSpacing":"0px","lineHeight":"22px","text":"กดเพิ่มเพื่อน เพื่อสอบถามข้อมูลเพิ่มเติม หรือนัดชมโครงการที่ท่านสนใจค่ะ","textAlign":"left","textDecoration":"none"},"bannerImage":"https://static.pruksa.com/250425-PS-PASS2025-Web-Elements_Banner-Pop.jpg","bannerTitle":{"color":"#000000","fontFamily":"inherit","fontSize":"24px","fontStyle":"normal","fontWeight":600,"letterSpacing":"0px","lineHeight":"26px","text":"ขอบคุณสำหรับการลงทะเบียน","textAlign":"left","textDecoration":"none"}}}},"target":"body \u003e #__next \u003e .Thankyou__StyledModalOverlay-sc-1d07bdx-4 \u003e .Thankyou__StyledModal-sc-1d07bdx-3 \u003e .Thankyou__StyledModalBody-sc-1d07bdx-1","type":"blockTemplate","uuid":"abb2e121-4292-48ab-b7a9-1f032ceb494d"}],"schedule":{"start":1752585816,"end":1847193816},"devices":{"ios":true,"android":true,"others":true}},{"id":{"experience":"e0d2e597-50b4-4f03-9611-6ccaadad12bc","creative":"97dea1d4-9b15-415d-92a6-2d52f5b09d1b"},"rules":{"filter":{"operator":"or","urls":[{"operator":"or","conditions":[{"operator":"contain","values":["https://www.pruksa.com/p/"]}]}]},"trigger":{"eventName":"","operator":"","conditions":null}},"changes":[{"action":"insertAfter","content":{"category":"html","id":"12","name":"HTML editor","tags":[],"type":"html_editor","value":{"html":"\u003cstyle type=\"text/css\"\u003e\n  #section-4 \u003e div \u003e form \u003e div.StickyBottom__Wrapper-sc-icsspu-0.kJYyQL \u003e div \u003e div \u003e div \u003e div.NewCheckboxInput__Wrapper-sc-5vnu1b-0.gvCdII.mt-2 \u003e label \u003e div \u003e div.Typography-sc-1bnnldg-0.Typography__Paragraph-sc-1bnnldg-1.Typography__Paragraph2-sc-1bnnldg-2.hJtzId \u003e div \u003e span{\n    font-size: 12px !important;\n    line-height: 1em !important;\n    display: inline-block;\n  }\n\u003c/style\u003e","js":{"init":"function init(CAMPAIGN_ID, CREATIVE_ID, v, blockAreaEl) { return Promise.resolve(true); }","revert":"function revert(CAMPAIGN_ID, CREATIVE_ID, v) {}"}}},"target":".NewCheckboxInput__LabelWrapper-sc-5vnu1b-1 \u003e .Flex-sc-1pra5cc-0 \u003e .Typography-sc-1bnnldg-0 \u003e .Typography-sc-1bnnldg-0 \u003e .interweave","type":"blockTemplate","uuid":"7e3d9b9b-d836-4462-a99c-c81b2c24590f"}],"schedule":{"start":1752585644,"end":1847193644},"devices":{"ios":true,"android":true,"others":true}},{"id":{"experience":"2525a0b0-9a3e-4bc0-9e53-551e4fed6f5b","creative":"4c1b408c-331e-4576-9c73-05fe5b6a2be2"},"rules":{"filter":{"operator":"or","urls":[{"operator":"or","conditions":[{"operator":"contain","values":["/patio/ramintra"]}]}]},"trigger":{"eventName":"","operator":"","conditions":null}},"changes":[{"action":"insertAfter","content":{"category":"html","id":"12","name":"HTML editor","tags":[],"type":"html_editor","value":{"html":"\u003ca id=\"en-brochure\" target=\"_blank\" about=\"_blank\" href=\"https://static.pruksa.com/E-brochure_PTR-Final_ENs.pdf\" style=\"\r\n    position: absolute;\r\n    top: 93%;\r\n    color: #9C8257;\r\n    text-decoration: underline;\r\n    margin-right: 50px;\r\n    font-size: 16px;\r\n\"\u003eEnglish Brochure\u003c/a\u003e\r\n\u003ca id=\"cn-brochure\" target=\"_blank\" about=\"_blank\" href=\"https://static.pruksa.com/E-brochure_PTR-Final_CHs.pdf\" style=\"\r\n    position: absolute;\r\n    left: 110px;\r\n   top: 93%;\r\n    color: #9C8257;\r\n    text-decoration: underline;\r\n    font-size: 12px;\r\n\"\u003e中文宣传册\u003c/a\u003e\r\n\r\n\u003cstyle\u003e\r\n        @media (max-width: 991px) {\r\n            #en-brochure,#cn-brochure {\r\n                display: none;\r\n            }\r\n        }\r\n    \u003c/style\u003e","js":{"init":"function init(CAMPAIGN_ID, CREATIVE_ID, v, blockAreaEl) { return Promise.resolve(true); }","revert":"function revert(CAMPAIGN_ID, CREATIVE_ID, v) {}"}}},"target":".Section-sc-tghgoc-0 \u003e .PaddingContainer__Wrapper-sc-1vvkg67-0 \u003e .no-gutters \u003e .col-lg-6 \u003e .eRjtys","type":"blockTemplate","uuid":"67a04bff-0de8-4f84-9ef4-20a8ab3be17b"}],"schedule":{"start":1752585625,"end":1847193625},"devices":{"ios":true,"android":true,"others":true}},{"id":{"experience":"9a7cf66f-2c04-457b-9388-eb6d25b271a5","creative":"96663e6e-1823-4088-9666-0133b4d69e07"},"rules":{"filter":{"operator":"or","urls":[{"operator":"or","conditions":[{"operator":"contain","values":["/patio/ramintra"]}]}]},"trigger":{"eventName":"","operator":"","conditions":null}},"changes":[{"action":"insertAfter","content":{"category":"html","id":"12","name":"HTML editor","tags":[],"type":"html_editor","value":{"html":"  \u003ca id=\"en-brochure-mobile\" target=\"_blank\" about=\"_blank\" href=\"https://static.pruksa.com/E-brochure_PTR-Final_ENs.pdf\" style=\"\n        position: absolute;\n        bottom: 10px;\n        color: #9C8257;\n        text-decoration: underline;\n        margin-right: 50px;\n        font-size: 16px;\n        left: 20%;\n    \"\u003eEnglish Brochure\u003c/a\u003e\n\n    \u003ca id=\"cn-brochure-mobile\" target=\"_blank\" about=\"_blank\" href=\"https://static.pruksa.com/E-brochure_PTR-Final_CHs.pdf\" style=\"\n        position: absolute;\n        right: 20%;\n        bottom: 10px;\n        color: #9C8257;\n        text-decoration: underline;\n        font-size: 12px;\n    \"\u003e中文宣传册\u003c/a\u003e\n\n    \u003cstyle\u003e\n        @media (min-width: 992px) {\n            #en-brochure-mobile,\n            #cn-brochure-mobile {\n                display: none;\n            }\n        }\n    \u003c/style\u003e","js":{"init":"function init(CAMPAIGN_ID, CREATIVE_ID, v, blockAreaEl) { return Promise.resolve(true); }","revert":"function revert(CAMPAIGN_ID, CREATIVE_ID, v) {}"}}},"target":".Content-sc-3y9z36-0 \u003e #project-diagram \u003e .PaddingContainer__Wrapper-sc-1vvkg67-0 \u003e .Flex-sc-1pra5cc-0 \u003e .Typography-sc-1bnnldg-0:nth-child(1)","type":"blockTemplate","uuid":"72de1b95-5905-4f43-87f9-ee5bb54ed683"}],"schedule":{"start":1752585627,"end":1847193627},"devices":{"ios":true,"android":true,"others":false}},{"id":{"experience":"4505253b-8ad2-4d6b-bd1f-477627fdb8c4","creative":"29ea80bc-4cb2-47b3-acb9-f2d766ba30e1"},"rules":{"filter":{"operator":"or","urls":[{"operator":"or","conditions":[{"operator":"contain","values":["/c/the-real-pruksa-2024"]}]}]},"trigger":{"eventName":"","operator":"","conditions":null}},"changes":[{"action":"insertAfter","content":{"category":"html","id":"12","name":"HTML editor","tags":[],"type":"html_editor","value":{"html":"\u003cstyle type=\"text/css\"\u003e\n  @media (max-width: 991px) {\n    #section-1 \u003e div \u003e div \u003e div \u003e div \u003e div \u003e div \u003e div \u003e div \u003e div \u003e div:nth-child(2) \u003e div \u003e div \u003e div{\n      display:none !important;\n    }\n}\n\u003c/style\u003e","js":{"init":"function init(CAMPAIGN_ID, CREATIVE_ID, v, blockAreaEl) { return Promise.resolve(true); }","revert":"function revert(CAMPAIGN_ID, CREATIVE_ID, v) {}"}}},"target":".PaddingContainer__Wrapper-sc-1vvkg67-0 \u003e .CTA__MotionContentWrapper-sc-17kiasz-0 \u003e div \u003e div \u003e .Typography__BannerHeadline2-sc-1bnnldg-6","type":"blockTemplate","uuid":"95f97e90-6e07-46c6-a3d6-59bb1379ac22"}],"schedule":{"start":1752585623,"end":1847193623},"devices":{"ios":true,"android":true,"others":false}},{"id":{"experience":"28b82fde-116e-4362-a59e-ed2c54c05dac","creative":"55e4e0b9-98e3-407c-a2f8-3e39ca3bdb88"},"rules":{"filter":{"operator":"or","urls":[{"operator":"or","conditions":[{"operator":"contain","values":["pruksa.com"]}]}]},"trigger":{"eventName":"","operator":"","conditions":null}},"changes":[{"action":"insertAfter","content":{"category":"html","id":"12","name":"HTML editor","tags":[],"type":"html_editor","value":{"html":"\u003cstyle type=\"text/css\"\u003e\n  #becookies-container{\n        opacity: 0.95;\n\n  }\n  \n  #becookies-content-container{\n    padding: 20px 35% 0px 40px !important;\n    min-height: 10px !important;\n    \n  }\n  \n  #becookies-banner-title-wrapper{\n    display: none;\n  }\n  \n  #becookies-banner-description-wrapper \u003e span{\n    font-size: 1em !important;\n  }\n  \n  #becookies-content-container \u003e div.becookies-privacy-notice-wrapper{\n    position: relative;\n    top: -11px;\n  }\n  \n  #becookies-banner-description-wrapper{\n    line-height: 0.9 !important;\n     font-size: 0.9em !important;\n  }\n  \n  #becookies-button-reject{\n    display:none;\n  }\n  \n  #becookies-button-accept{\n    font-size: 1em !important;\n    min-width: 10px !important;\n   padding: 10px 15px !important;\n    border-radius: 6px !important;\n  }\n  \n  #becookies-container-content{\n        margin-bottom: 0px !important;\n  }\n  #becookies-action-container{\n   right: 10% !important;\n  }\n  \n  div#becookies-banner-header \u003e div#becookies-language-switcher-container{\n        padding: 10px;\n    height: 0px !important;\n    border-radius: 0px 5px 0px 5px;\n    position: absolute;\n    top: 0px;\n    right: 0px;\n  }\n  \n  \n  \n  @media only screen and (max-width: 768px){\n    \n   #becookies-action-container {\n   \n     position: absolute !important;\n     right: 0% !important;\n   }\n   \n   #becookies-content-container {\n    padding: 0px 30% 0px 5% !important;\n   }\n   \n   \n   #becookies-cookie-setting-btn-wrapper {\n           margin-right: 5% !important;\n    }\n    \n   .becookies-privacy-notice-link {\n    font-size: 0.6em !important;\n     \n   }\n   \n   #becookies-banner-description-wrapper \u003e span {\n    font-size: 0.8em !important;\n    }\n   \n   \n   #becookies-button-accept {\n        font-size: 0.8em !important;\n        padding: 10px 10px !important;\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\u003c/style\u003e","js":{"init":"function init(CAMPAIGN_ID, CREATIVE_ID, v, blockAreaEl) { return Promise.resolve(true); }","revert":"function revert(CAMPAIGN_ID, CREATIVE_ID, v) {}"}}},"target":"html \u003e body \u003e #becookies-container","type":"blockTemplate","uuid":"a23492ab-a54e-49bd-a282-10647fee8e15"}],"schedule":{"start":1752585615,"end":1847193615},"devices":{"ios":true,"android":true,"others":true}},{"id":{"experience":"e3ba7743-9831-4675-a70a-9356c4bb2db8","creative":"f4300fe5-74a4-4da1-bd09-88c82d49cd1f"},"rules":{"filter":{"operator":"or","urls":[{"operator":"or","conditions":[{"operator":"contain","values":["pruksa.com"]}]}]},"trigger":{"eventName":"","operator":"","conditions":null}},"changes":[{"action":"insertReplace","content":{"category":"html","id":"12","name":"HTML editor","tags":[],"type":"html_editor","value":{"html":"\u003cdiv style=\"display:none !important;\"\u003e\u003c/div\u003e","js":{"init":"function init(CAMPAIGN_ID, CREATIVE_ID, v, blockAreaEl) { return Promise.resolve(true); }","revert":"function revert(CAMPAIGN_ID, CREATIVE_ID, v) {}"}}},"target":"#becookies-container \u003e #becookies-container-content \u003e #becookies-action-container \u003e #becookies-button-container \u003e #becookies-button-reject","type":"blockTemplate","uuid":"4376ae4c-5dbe-40ff-ac4d-5fcd063572e0"}],"schedule":{"start":1752585598,"end":1847193598},"devices":{"ios":true,"android":true,"others":true}},{"id":{"experience":"7cc21025-f8e7-40b5-a7c3-742de85ccc59","creative":"335634b6-3cd6-4f05-8c0c-d722c8739cbf"},"rules":{"filter":{"operator":"or","urls":[{"operator":"or","conditions":[{"operator":"contain","values":["pruksa.com"]}]}]},"trigger":{"eventName":"","operator":"","conditions":null}},"changes":[{"action":"insertAfter","content":{"category":"html","id":"12","name":"HTML editor","tags":[],"type":"html_editor","value":{"html":"\u003cstyle type=\"text/css\"\u003e\n  #_mascot_start{\n        width: 80px !important;\n        height: 80px !important;\n        position: relative !important;\n        right: -155px !important;\n        top: -15px;\n     }\n\n     #_mascotCancel_start{\n         left: 170px !important;\n         top: 0px !important;\n         padding: 2px !important;\n         width: 10px !important;\n         height: 10px !important;\n         padding: 2px !important;\n     }\n     \n     #_chatBoxPDPA{\n          position: absolute !important;\n          margin-bottom: 0px !important;\n          bottom: 70px !important;\n          right: -85px !important;\n          text-align: left !important;\n          font-size: 5px !important;\n          width: 138px !important;\n          transform: rotateZ(-90deg) !important;\n     }\n\n     @media screen and (max-width: 992px) {\n         \n         #_mascot_start{\n          right: -95px !important;\n        }\n\n        #_mascotCancel_start {\n          left: 110px !important;\n        }\n     }\n\u003c/style\u003e","js":{"init":"function init(CAMPAIGN_ID, CREATIVE_ID, v, blockAreaEl) { return Promise.resolve(true); }","revert":"function revert(CAMPAIGN_ID, CREATIVE_ID, v) {}"}}},"target":"html \u003e body \u003e #chatBox \u003e #_divMascot_start \u003e #_mascot_start","type":"blockTemplate","uuid":"0fc418c4-31a8-4657-9374-e4b7ec179719"}],"schedule":{"start":1752585596,"end":1847193596},"devices":{"ios":true,"android":true,"others":true}}]