{"id":2526,"date":"2023-08-28T17:04:52","date_gmt":"2023-08-28T10:04:52","guid":{"rendered":"https:\/\/www.ikaritrading.co.th\/?page_id=2526"},"modified":"2023-08-28T17:06:51","modified_gmt":"2023-08-28T10:06:51","slug":"leo-trap-cal","status":"publish","type":"page","link":"https:\/\/www.ikaritrading.co.th\/en\/leo-trap-cal\/","title":{"rendered":"Leo-Trap Calculator"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"2526\" class=\"elementor elementor-2526\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-809a366 e-flex e-con-boxed e-con e-parent\" data-id=\"809a366\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\" data-core-v316-plus=\"true\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f011cb0 elementor-widget__width-initial elementor-widget elementor-widget-html\" data-id=\"f011cb0\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2>How many <span class=\"leo-trap\">Leo-Trap<\/span> does your house need?<\/h2>\n<h3>Your home area size<\/h3>\n<div class=\"number-input\">\n    <input type=\"text\" id=\"sqmInput\" value=\"50\" pattern=\"\\d*\" oninput=\"validateInput(); updateAreaAndTraps('input')\">\n    <h5>Square meter<\/h5>\n<\/div>\n<input class=\"slider\" type=\"range\" id=\"sqmSlider\" value=\"50\" min=\"0\" max=\"300\" step=\"5\" oninput=\"updateAreaAndTraps('slider')\">\n<h4>LeO-Trap <span id=\"useTrap\"><\/span> Traps = <span id=\"boxes\"><\/span> Box<\/h4>\n\n<script>\n\tfunction validateInput() {\n\t\tlet sqmInput = document.getElementById('sqmInput');\n\t\tlet valid = \/^\\d*$\/.test(sqmInput.value);\n\t\tif (!valid) {\n\t\t\tsqmInput.value = sqmInput.value.replace(\/[^\\d]\/g, '');\n\t\t}\n\t}\n\n\tfunction updateAreaAndTraps(source) {\n\t\tlet sqmInput = document.getElementById('sqmInput');\n\t\tlet sqmSlider = document.getElementById('sqmSlider');\n\n\t\tif (source === 'input') {\n\t\t\tsqmSlider.value = sqmInput.value;\n\t\t} else if (source === 'slider') {\n\t\t\tsqmInput.value = sqmSlider.value;\n\t\t}\n\n\t\tlet sqm = parseInt(sqmInput.value, 10);\n\t\tlet useTrap = Math.round(sqm \/ 30);\n\t\tlet boxes = Math.round(useTrap \/ 2);\n\t\tdocument.getElementById('useTrap').innerText = useTrap;\n\t\tdocument.getElementById('boxes').innerText = boxes;\n\t}\n\n\tupdateAreaAndTraps('input');\n<\/script>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>\u0e1a\u0e49\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49 Leo-Trap \u0e01\u0e35\u0e48\u0e2d\u0e31\u0e19 ? \u0e1e\u0e37\u0e49\u0e19\u0e17\u0e35\u0e48\u0e17\u0e35\u0e48\u0e1a\u0e49\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13 \u0e15\u0e32\u0e23\u0e32\u0e07\u0e40\u0e21\u0e15\u0e23 \u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49 Leo Trap \u0e01\u0e31\u0e1a\u0e14\u0e31\u0e01 (\u0e40\u0e17\u0e48\u0e32\u0e01\u0e31\u0e1a \u0e01\u0e25\u0e48\u0e2d\u0e07)<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2526","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Leo-Trap Calculator - Ikari Trading<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ikaritrading.co.th\/en\/leo-trap-cal\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Leo-Trap Calculator - Ikari Trading\" \/>\n<meta property=\"og:description\" content=\"\u0e1a\u0e49\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49 Leo-Trap \u0e01\u0e35\u0e48\u0e2d\u0e31\u0e19 ? \u0e1e\u0e37\u0e49\u0e19\u0e17\u0e35\u0e48\u0e17\u0e35\u0e48\u0e1a\u0e49\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13 \u0e15\u0e32\u0e23\u0e32\u0e07\u0e40\u0e21\u0e15\u0e23 \u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49 Leo Trap \u0e01\u0e31\u0e1a\u0e14\u0e31\u0e01 (\u0e40\u0e17\u0e48\u0e32\u0e01\u0e31\u0e1a \u0e01\u0e25\u0e48\u0e2d\u0e07)\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ikaritrading.co.th\/en\/leo-trap-cal\/\" \/>\n<meta property=\"og:site_name\" content=\"Ikari Trading\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-28T10:06:51+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ikaritrading.co.th\/leo-trap-cal\/\",\"url\":\"https:\/\/www.ikaritrading.co.th\/leo-trap-cal\/\",\"name\":\"Leo-Trap Calculator - Ikari Trading\",\"isPartOf\":{\"@id\":\"https:\/\/www.ikaritrading.co.th\/#website\"},\"datePublished\":\"2023-08-28T10:04:52+00:00\",\"dateModified\":\"2023-08-28T10:06:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ikaritrading.co.th\/leo-trap-cal\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ikaritrading.co.th\/leo-trap-cal\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ikaritrading.co.th\/leo-trap-cal\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.ikaritrading.co.th\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Leo-Trap Calculator\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.ikaritrading.co.th\/#website\",\"url\":\"https:\/\/www.ikaritrading.co.th\/\",\"name\":\"Ikari Trading\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.ikaritrading.co.th\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.ikaritrading.co.th\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.ikaritrading.co.th\/#organization\",\"name\":\"Ikari Trading\",\"url\":\"https:\/\/www.ikaritrading.co.th\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ikaritrading.co.th\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.ikaritrading.co.th\/wp-content\/uploads\/2023\/05\/ikari-logo-1-e1684742743868.webp\",\"contentUrl\":\"https:\/\/www.ikaritrading.co.th\/wp-content\/uploads\/2023\/05\/ikari-logo-1-e1684742743868.webp\",\"width\":346,\"height\":106,\"caption\":\"Ikari Trading\"},\"image\":{\"@id\":\"https:\/\/www.ikaritrading.co.th\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Leo-Trap Calculator - Ikari Trading","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ikaritrading.co.th\/en\/leo-trap-cal\/","og_locale":"en_US","og_type":"article","og_title":"Leo-Trap Calculator - Ikari Trading","og_description":"\u0e1a\u0e49\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49 Leo-Trap \u0e01\u0e35\u0e48\u0e2d\u0e31\u0e19 ? \u0e1e\u0e37\u0e49\u0e19\u0e17\u0e35\u0e48\u0e17\u0e35\u0e48\u0e1a\u0e49\u0e32\u0e19\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13 \u0e15\u0e32\u0e23\u0e32\u0e07\u0e40\u0e21\u0e15\u0e23 \u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49 Leo Trap \u0e01\u0e31\u0e1a\u0e14\u0e31\u0e01 (\u0e40\u0e17\u0e48\u0e32\u0e01\u0e31\u0e1a \u0e01\u0e25\u0e48\u0e2d\u0e07)","og_url":"https:\/\/www.ikaritrading.co.th\/en\/leo-trap-cal\/","og_site_name":"Ikari Trading","article_modified_time":"2023-08-28T10:06:51+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.ikaritrading.co.th\/leo-trap-cal\/","url":"https:\/\/www.ikaritrading.co.th\/leo-trap-cal\/","name":"Leo-Trap Calculator - Ikari Trading","isPartOf":{"@id":"https:\/\/www.ikaritrading.co.th\/#website"},"datePublished":"2023-08-28T10:04:52+00:00","dateModified":"2023-08-28T10:06:51+00:00","breadcrumb":{"@id":"https:\/\/www.ikaritrading.co.th\/leo-trap-cal\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ikaritrading.co.th\/leo-trap-cal\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ikaritrading.co.th\/leo-trap-cal\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ikaritrading.co.th\/"},{"@type":"ListItem","position":2,"name":"Leo-Trap Calculator"}]},{"@type":"WebSite","@id":"https:\/\/www.ikaritrading.co.th\/#website","url":"https:\/\/www.ikaritrading.co.th\/","name":"Ikari Trading","description":"","publisher":{"@id":"https:\/\/www.ikaritrading.co.th\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ikaritrading.co.th\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.ikaritrading.co.th\/#organization","name":"Ikari Trading","url":"https:\/\/www.ikaritrading.co.th\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ikaritrading.co.th\/#\/schema\/logo\/image\/","url":"https:\/\/www.ikaritrading.co.th\/wp-content\/uploads\/2023\/05\/ikari-logo-1-e1684742743868.webp","contentUrl":"https:\/\/www.ikaritrading.co.th\/wp-content\/uploads\/2023\/05\/ikari-logo-1-e1684742743868.webp","width":346,"height":106,"caption":"Ikari Trading"},"image":{"@id":"https:\/\/www.ikaritrading.co.th\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.ikaritrading.co.th\/en\/wp-json\/wp\/v2\/pages\/2526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ikaritrading.co.th\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ikaritrading.co.th\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ikaritrading.co.th\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ikaritrading.co.th\/en\/wp-json\/wp\/v2\/comments?post=2526"}],"version-history":[{"count":9,"href":"https:\/\/www.ikaritrading.co.th\/en\/wp-json\/wp\/v2\/pages\/2526\/revisions"}],"predecessor-version":[{"id":2535,"href":"https:\/\/www.ikaritrading.co.th\/en\/wp-json\/wp\/v2\/pages\/2526\/revisions\/2535"}],"wp:attachment":[{"href":"https:\/\/www.ikaritrading.co.th\/en\/wp-json\/wp\/v2\/media?parent=2526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}