{"id":77,"date":"2023-12-19T00:03:26","date_gmt":"2023-12-19T00:03:26","guid":{"rendered":"https:\/\/templates.homherodev.com\/tugun\/?page_id=77"},"modified":"2023-12-19T00:03:26","modified_gmt":"2023-12-19T00:03:26","slug":"review","status":"publish","type":"page","link":"https:\/\/templates.homherodev.com\/tugun\/review\/","title":{"rendered":"Review"},"content":{"rendered":"<div class=\"review-form-wrapper\"><iframe loading=\"lazy\" id=\"booking-frame\" frameborder=\"0\" height=\"400\" width=\"100%\" src=\"https:\/\/booking.homhero.com.au\/reviews.html?api_key=2265ea2c-fb4d-4946-9ac6-2db3dd68a66f&#038;api_domain=production&#038;maincolor=5bbdbb&#038;formcolor=&#038;bgcolor=\"><\/iframe>\r\n\r\n<script>\r\n\r\n    function bindEvent(element, eventName, eventHandler) { \r\n        if (element.addEventListener){ \r\n            element.addEventListener(eventName, eventHandler, false); \r\n        } else if (element.attachEvent) { \r\n            element.attachEvent('on' + eventName, eventHandler); \r\n        } \r\n    } \r\n\r\n    \/\/ Listen to message from child window\r\n    bindEvent(window, 'message', receiveMessage);\r\n\r\n    function receiveMessage(e) {\r\n        if (typeof e.data == 'string' && e.data != \"\" && e.data.charAt(0) == '{') {\r\n            try {\r\n                var args = JSON.parse(e.data);\r\n                if (!args.__postRobot__) {\r\n                    childObj = eval(args.vars);\r\n                    console.log(childObj);\r\n                    console.log(args.method);\r\n                    eval(args.method + \"(childObj)\");\r\n                }\r\n            } catch (error){\r\n                \/\/ Do nothing\r\n            }\r\n        }\r\n    }\r\n\r\n<\/script>\r\n\r\n<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_homhero_tugun_theme_hide_title":false,"_homhero_tugun_theme_transparent_header":false,"footnotes":""},"class_list":["post-77","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/templates.homherodev.com\/tugun\/wp-json\/wp\/v2\/pages\/77","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/templates.homherodev.com\/tugun\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/templates.homherodev.com\/tugun\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/templates.homherodev.com\/tugun\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/templates.homherodev.com\/tugun\/wp-json\/wp\/v2\/comments?post=77"}],"version-history":[{"count":1,"href":"https:\/\/templates.homherodev.com\/tugun\/wp-json\/wp\/v2\/pages\/77\/revisions"}],"predecessor-version":[{"id":78,"href":"https:\/\/templates.homherodev.com\/tugun\/wp-json\/wp\/v2\/pages\/77\/revisions\/78"}],"wp:attachment":[{"href":"https:\/\/templates.homherodev.com\/tugun\/wp-json\/wp\/v2\/media?parent=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}