{"id":1887,"date":"2026-05-07T04:30:29","date_gmt":"2026-05-07T04:30:29","guid":{"rendered":"https:\/\/newenergynexus.com\/japan\/?page_id=1887"},"modified":"2026-05-25T09:00:06","modified_gmt":"2026-05-25T09:00:06","slug":"news-and-resources-ja","status":"publish","type":"page","link":"https:\/\/newenergynexus.com\/japan\/ja\/news-and-resources-ja\/","title":{"rendered":"News &amp; stories"},"content":{"rendered":"<style>\n    section#new_news_stories-1_block_3871a3acef65e62c121c6d8f13e5de98{}<\/style><style>.tag_box[data-tag=\"news\"]{display:flex !important ;}.tag_box[data-tag=\"videos\"]{display:flex !important ;}.tag_box[data-tag=\"podcasts\"]{display:flex !important ;}.tag_box[data-tag=\"resources\"]{display:flex !important ;}.tag_box[data-tag=\"blog\"]{display:flex !important ;}<\/style>\n<section id=\"new_news_stories-1_block_3871a3acef65e62c121c6d8f13e5de98\" class=\"section block_new_news_stories block_new_news_stories-1\">\n    <style>\n        .tag_box[data-tag=\"videos\"] {\n            display: none !important;\n        }\n\n        ;\n    <\/style>\n    <div class=\"box\">\n        <div class=\"heading\"><\/div>\n        <div class=\"filter_box\">\n            <!-- array(1) {\n  [0]=>\n  array(2) {\n    [\"value\"]=>\n    string(9) \"blog-news\"\n    [\"label\"]=>\n    string(14) \"NEWS & Stories\"\n  }\n}\n -->\n             <!-- $item['label'] -->\n                            <div class=\"tag\" data-type=\"blog-news\">NEWS &#038; Stories <\/div>\n                    <\/div>\n        <div class=\"tag_box\" style=\"display: none !important;\" style=\"display: none;\">\n            \n                <div data-value=\"42\" style=\"\n                    cursor: pointer;\n                    background-color: #B9D7F8;\n                    color: #000000;\" class=\"tag\">TYPE<\/div>\n            \n                <div data-value=\"46\" style=\"\n                    cursor: pointer;\n                    background-color: #c293ff;\n                    color: #000000;\" class=\"tag\">Story<\/div>\n            \n                <div data-value=\"48\" style=\"\n                    cursor: pointer;\n                    background-color: #B9D7F8;\n                    color: #000000;\" class=\"tag\">REGION<\/div>\n            \n                <div data-value=\"50\" style=\"\n                    cursor: pointer;\n                    background-color: #65aff8;\n                    color: #000000;\" class=\"tag\">Japan<\/div>\n            \n                <div data-value=\"52\" style=\"\n                    cursor: pointer;\n                    background-color: #B9D7F8;\n                    color: #000000;\" class=\"tag\">SECTOR<\/div>\n            \n                <div data-value=\"62\" style=\"\n                    cursor: pointer;\n                    background-color: #ffcc33;\n                    color: #000000;\" class=\"tag\">Renewable energy tech<\/div>\n            \n                <div data-value=\"12\" style=\"\n                    cursor: pointer;\n                    background-color: #B9D7F8;\n                    color: #000000;\" class=\"tag\">TYPE<\/div>\n            \n                <div data-value=\"13\" style=\"\n                    cursor: pointer;\n                    background-color: #c293ff;\n                    color: #000000;\" class=\"tag\">Story<\/div>\n            \n                <div data-value=\"15\" style=\"\n                    cursor: pointer;\n                    background-color: #B9D7F8;\n                    color: #000000;\" class=\"tag\">REGION<\/div>\n            \n                <div data-value=\"16\" style=\"\n                    cursor: pointer;\n                    background-color: #65aff8;\n                    color: #000000;\" class=\"tag\">Japan<\/div>\n            \n                <div data-value=\"17\" style=\"\n                    cursor: pointer;\n                    background-color: #B9D7F8;\n                    color: #000000;\" class=\"tag\">SECTOR<\/div>\n            \n                <div data-value=\"18\" style=\"\n                    cursor: pointer;\n                    background-color: #ffcc33;\n                    color: #000000;\" class=\"tag\">Built Environment<\/div>\n            \n                <div data-value=\"22\" style=\"\n                    cursor: pointer;\n                    background-color: #ffcc33;\n                    color: #000000;\" class=\"tag\">Renewable energy tech<\/div>\n                    <\/div>\n        <div class=\"hint\">\n                                                                                <\/div>\n        <div class=\"tag_box new\">\n            <script>\n                console.log({\"42\":{\"term_id\":42,\"name\":\"TYPE\",\"child\":[{\"term_id\":46,\"name\":\"Story\",\"slug\":\"story-ja\",\"term_group\":0,\"term_taxonomy_id\":46,\"taxonomy\":\"new_tag\",\"description\":\"\",\"parent\":42,\"count\":1,\"filter\":\"raw\",\"term_order\":\"2\"}]},\"48\":{\"term_id\":48,\"name\":\"REGION\",\"child\":[{\"term_id\":50,\"name\":\"Japan\",\"slug\":\"japan-ja\",\"term_group\":0,\"term_taxonomy_id\":50,\"taxonomy\":\"new_tag\",\"description\":\"\",\"parent\":48,\"count\":1,\"filter\":\"raw\",\"term_order\":\"5\"}]},\"52\":{\"term_id\":52,\"name\":\"SECTOR\",\"child\":[{\"term_id\":62,\"name\":\"Renewable energy tech\",\"slug\":\"renewable-energy-tech-ja\",\"term_group\":0,\"term_taxonomy_id\":62,\"taxonomy\":\"new_tag\",\"description\":\"\",\"parent\":52,\"count\":1,\"filter\":\"raw\",\"term_order\":\"8\"}]},\"12\":{\"term_id\":12,\"name\":\"TYPE\",\"child\":[{\"term_id\":13,\"name\":\"Story\",\"slug\":\"story\",\"term_group\":0,\"term_taxonomy_id\":13,\"taxonomy\":\"new_tag\",\"description\":\"\",\"parent\":12,\"count\":2,\"filter\":\"raw\",\"term_order\":\"18\"}]},\"15\":{\"term_id\":15,\"name\":\"REGION\",\"child\":[{\"term_id\":16,\"name\":\"Japan\",\"slug\":\"japan\",\"term_group\":0,\"term_taxonomy_id\":16,\"taxonomy\":\"new_tag\",\"description\":\"\",\"parent\":15,\"count\":2,\"filter\":\"raw\",\"term_order\":\"20\"}]},\"17\":{\"term_id\":17,\"name\":\"SECTOR\",\"child\":[{\"term_id\":18,\"name\":\"Built Environment\",\"slug\":\"built-environment\",\"term_group\":0,\"term_taxonomy_id\":18,\"taxonomy\":\"new_tag\",\"description\":\"\",\"parent\":17,\"count\":1,\"filter\":\"raw\",\"term_order\":\"22\"},{\"term_id\":22,\"name\":\"Renewable energy tech\",\"slug\":\"renewable-energy-tech\",\"term_group\":0,\"term_taxonomy_id\":22,\"taxonomy\":\"new_tag\",\"description\":\"\",\"parent\":17,\"count\":1,\"filter\":\"raw\",\"term_order\":\"26\"}]}})\n            <\/script>\n                                            <div data-value=\"42\" class=\"tag-container\">\n                    <div class=\"text\" style=\"text-transform: capitalize;\">type<\/div>\n                    <select data-type=\"42\" style=\"margin-right:20px\">\n                        <option value=\"42\">All<\/option>\n                        <!-- <option value=\"42\">TYPE<\/option> -->\n                        \n                            <option value=\"46\">Story<\/option>\n                                            <\/select>\n                <\/div>\n                                            <div data-value=\"48\" class=\"tag-container\">\n                    <div class=\"text\" style=\"text-transform: capitalize;\">region<\/div>\n                    <select data-type=\"48\" style=\"margin-right:20px\">\n                        <option value=\"48\">All<\/option>\n                        <!-- <option value=\"48\">REGION<\/option> -->\n                        \n                            <option value=\"50\">Japan<\/option>\n                                            <\/select>\n                <\/div>\n                                            <div data-value=\"52\" class=\"tag-container\">\n                    <div class=\"text\" style=\"text-transform: capitalize;\">sector<\/div>\n                    <select data-type=\"52\" style=\"margin-right:20px\">\n                        <option value=\"52\">All<\/option>\n                        <!-- <option value=\"52\">SECTOR<\/option> -->\n                        \n                            <option value=\"62\">Renewable energy tech<\/option>\n                                            <\/select>\n                <\/div>\n                                            <div data-value=\"12\" class=\"tag-container\">\n                    <div class=\"text\" style=\"text-transform: capitalize;\">type<\/div>\n                    <select data-type=\"12\" style=\"margin-right:20px\">\n                        <option value=\"12\">All<\/option>\n                        <!-- <option value=\"12\">TYPE<\/option> -->\n                        \n                            <option value=\"13\">Story<\/option>\n                                            <\/select>\n                <\/div>\n                                            <div data-value=\"15\" class=\"tag-container\">\n                    <div class=\"text\" style=\"text-transform: capitalize;\">region<\/div>\n                    <select data-type=\"15\" style=\"margin-right:20px\">\n                        <option value=\"15\">All<\/option>\n                        <!-- <option value=\"15\">REGION<\/option> -->\n                        \n                            <option value=\"16\">Japan<\/option>\n                                            <\/select>\n                <\/div>\n                                            <div data-value=\"17\" class=\"tag-container\">\n                    <div class=\"text\" style=\"text-transform: capitalize;\">sector<\/div>\n                    <select data-type=\"17\" style=\"margin-right:20px\">\n                        <option value=\"17\">All<\/option>\n                        <!-- <option value=\"17\">SECTOR<\/option> -->\n                        \n                            <option value=\"18\">Built Environment<\/option>\n                        \n                            <option value=\"22\">Renewable energy tech<\/option>\n                                            <\/select>\n                <\/div>\n                        <div class=\"tag-container\">\n                <div class=\"text\" style=\"visibility: hidden;\">placeholder<\/div>\n                <a href=\"javascript:void(0)\" class=\"btn\">search<\/a>\n            <\/div>\n        <\/div>\n        <div class=\"featured_box\"><\/div>\n        <div class=\"pot\"><\/div>\n            <\/div>\n\n    <script>\n        \/**\n         * \n         * \u89c6\u9891\u64ad\u653e\n         * \n         *\/\n        const VideoEvent = function() {\n            \/\/ \u9650\u5236\u5728\u67d0\u4e00\u7c7b\u578b\u7684block\u4e2d\n            const els = document.querySelectorAll(\"#new_news_stories-1_block_3871a3acef65e62c121c6d8f13e5de98\");\n\n            const videos = new Map();\n            let playEl = null;\n            let prevEl = null;\n\n            const playVideo = (el) => {\n                if (!playEl) {\n                    const videoContainer = document.createElement(\"div\");\n                    videoContainer.classList.add(\"video-container\");\n                    videoContainer.innerHTML = `<video src=\"${videos.get(el)}\" controls><\/video>`;\n                    const icon = document.createElement(\"div\");\n                    icon.classList.add(\"icon-container\");\n                    icon.innerHTML = `<svg t=\"1762158392551\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" p-id=\"6419\" width=\"256\" height=\"256\"><path d=\"M571.733333 512l268.8-268.8c17.066667-17.066667 17.066667-42.666667 0-59.733333-17.066667-17.066667-42.666667-17.066667-59.733333 0L512 452.266667 243.2 183.466667c-17.066667-17.066667-42.666667-17.066667-59.733333 0-17.066667 17.066667-17.066667 42.666667 0 59.733333l268.8 268.8-268.8 268.8c-17.066667 17.066667-17.066667 42.666667 0 59.733333 8.533333 8.533333 17.066667 12.8 29.866666 12.8 12.8 0 21.333333-4.266667 29.866667-12.8l268.8-268.8 268.8 268.8c8.533333 8.533333 17.066667 12.8 29.866667 12.8s21.333333-4.266667 29.866666-12.8c17.066667-17.066667 17.066667-42.666667 0-59.733333L571.733333 512z\" fill=\"#ffffff\" p-id=\"6420\"><\/path><\/svg>`\n                    videoContainer.appendChild(icon);\n                    icon.addEventListener(\"click\",stopVideo);\n                    document.body.appendChild(videoContainer);\n                    playEl = videoContainer;\n                }\n                playEl.classList.add(\"active\")\n                if(prevEl!== el){\n                    playEl.querySelector(\"video\").src = videos.get(el);\n                }\n\n                setTimeout(()=>{\n                    playEl.querySelector(\"video\").play();\n                    prevEl = el;\n                }, 500)\n            }\n\n            const stopVideo = () => {\n                if (!playEl) return;\n                playEl.classList.remove(\"active\");\n                setTimeout(()=>{\n                    playEl.querySelector(\"video\").pause();\n                }, 0)\n            }\n\n\n            const init = () => {\n                els.forEach(el => {\n                    const videoEls = el.querySelectorAll(\".video[data-url]\");\n                    videoEls.forEach(el => {\n                        videos.set(el, el.dataset.url);\n                        console.log(el)\n                        el.addEventListener(\"click\", function() {\n                            playVideo(el);\n                        })\n                    })\n                })\n            }\n            return {\n                init: init\n            }\n        }\n        const loading = (() => {\n            let _loadingIns = null;\n            return function() {\n                if (_loadingIns) return _loadingIns;\n                let loadingEle = null;\n                const createLoading = () => {\n                    const loadingEle = document.createElement('div');\n                    loadingEle.classList.add(\"loading-container\");\n                    loadingEle.innerHTML = `<svg width=\"38\" height=\"38\" viewBox=\"0 0 38 38\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" stroke=\"#ff6600\">\n                        <g fill=\"none\" fill-rule=\"evenodd\">\n                            <g transform=\"translate(1 1)\" stroke-width=\"2\">\n                                <circle stroke-opacity=\".2\" cx=\"18\" cy=\"18\" r=\"18\"\/>\n                                <path d=\"M36 18c0-9.94-8.06-18-18-18\">\n                                    <animateTransform\n                                        attributeName=\"transform\"\n                                        type=\"rotate\"\n                                        from=\"0 18 18\"\n                                        to=\"360 18 18\"\n                                        dur=\"1s\"\n                                        repeatCount=\"indefinite\"\/>\n                                <\/path>\n                            <\/g>\n                        <\/g>\n                    <\/svg>`;\n                    document.querySelector(\"#new_news_stories-1_block_3871a3acef65e62c121c6d8f13e5de98\").appendChild(loadingEle);\n                    return loadingEle;\n                }\n                loadingEle = createLoading();\n                const _hideLoading = () => {\n                    loadingEle.style.visibility = 'hidden';\n                    \/\/ visible\n                }\n                const _showLoading = () => {\n                    loadingEle.style.visibility = 'visible';\n                }\n\n                _loadingIns = {\n                    showLoading: () => {\n                        _showLoading();\n                    },\n                    hideLoading: () => {\n                        if (!_loadingIns) return;\n                        _hideLoading();\n                    },\n                    getLoading: () => {\n                        return _loadingIns;\n                    }\n                };\n                return _loadingIns\n            }\n        })();\n\n        const clearActive = (select) => {\n            document.querySelectorAll(select).forEach(ele => {\n                ele.classList.remove(\"active\");\n            })\n        }\n        jQuery(document).ready(function($) {\n            const getLoactionQuery = (key) => {\n                const urlParams = new URLSearchParams(window.location.search);\n                return urlParams.get(key);\n            }\n            const getData = (options = {}) => {\n                loading().showLoading();\n                const args = {\n                    action: \"get_news_tag\",\n                    group: {\"filter_button\":[{\"value\":\"blog-news\",\"label\":\"NEWS & Stories\"}],\"featured_data_news\":\"\",\"featured_data_blog\":[1875],\"featured_data_resources\":\"\",\"featured_reports\":\"\",\"featured_policy_briefs\":\"\",\"featured_factsheet\":\"\",\"featured_impact_reports\":\"\",\"featured_impact_podcast\":\"\",\"featured_videos\":\"\",\"show\":true,\"filter\":false,\"read_more_or_load_more\":false,\"select\":\"\",\"select_tag\":false,\"mixed_type\":false,\"select_type\":\"news\"},\n                    thetype: \"news\",\n                    thepage: 1,\n                    thenumber: 9,\n                }\n                for (const key in options) {\n                    if (typeof options[key] == \"function\") continue;\n                    args[key] = options[key];\n                }\n                return new Promise((resolve, reject) => {\n                    jQuery.post(\n                        'https:\/\/newenergynexus.com\/japan\/wp-admin\/admin-ajax.php', args,\n                        function(data, status, xhr) {\n                            const container = document.createElement('div');\n                            container.innerHTML = data;\n\n                            \/\/ \u63a8\u8350\u65b0\u95fb \u6e32\u67d3\n                            if (container.querySelector('.featured_box')) {\n                                document.querySelector('.featured_box').innerHTML = container.querySelector('.featured_box').innerHTML;\n                            }\n                            \/\/ \u666e\u901a\u65b0\u95fb \u6e32\u67d3\n                            if (container.querySelector(\".pot\")) {\n                                const containerPot = container.querySelector(\".pot\");\n                                for (const key in containerPot.dataset) {\n                                    document.querySelector(\".pot\").dataset[key] = containerPot.dataset[key];\n                                }\n                                if (document.querySelector(\".underline.filter\")) {\n                                    if (containerPot.dataset.num <= pagesOption.thepage) {\n                                        document.querySelector(\".underline.filter\").style.display = \"none\";\n                                    } else {\n                                        document.querySelector(\".underline.filter\").style.display = \"block\";\n                                    }\n                                }\n                                document.querySelector(\".pot\").innerHTML = container.querySelector(\".pot\").innerHTML;\n                            }\n                            \/**\n                             * options.thepage <= 1\n                             * \u4fdd\u8bc1\u7b2c\u4e00\u6b21\u52a0\u8f7d\n                             * .pot \u91cc\u9762\u6ca1\u6709\u6570\u636e\u7684\u65f6\u5019\n                             * --.featured_box \u91cc\u9762\u6ca1\u6709\u6570\u636e\u7684\u65f6\u5019\n                             * -- --.featured_box \u63d0\u9192\u7528\u6237\u65e0\u6570\u636e\n                             * -- .featured_box \u6709\u6570\u636e\u7684\u65f6\u5019\n                             * -- --.featured_box \u663e\u793a.featured_box \u7684\u5185\u5bb9\n                             * .pot \u6709\u6570\u636e\u7684\u65f6\u5019\n                             * -- .pot \u663e\u793a.pot \u7684\u5185\u5bb9\n                             * --.featured_box \u6709\u6570\u636e\u7684\u65f6\u5019\n                             * -- --.featured_box \u663e\u793a.featured_box \u7684\u5185\u5bb9\n                             * --.featured_box \u6ca1\u6709\u6570\u636e\u7684\u65f6\u5019\n                             * -- -- .featured_box \u4e0d\u663e\u793a\u6216\u7a7a\n                             *\/\n                            if (options.thepage <= 1) {\n                                \/\/\u6ca1\u6709\u6570\u636e\n                                if (!container.querySelector(\".pot\").innerHTML) {\n                                    if (!container.querySelector('.featured_box')) {\n                                        document.querySelector(\".featured_box\").innerHTML = \"<h2>There is currently no content available<\/h2>\";\n                                        document.querySelector(\".pot\").innerHTML = \"\";\n\n                                    }\n                                    if (container.querySelector('.featured_box')) {\n                                        document.querySelector(\".featured_box\").innerHTML = container.querySelector('.featured_box').innerHTML;\n                                        document.querySelector(\".pot\").innerHTML = \"\";\n                                    }\n                                } else {\n                                    if (!container.querySelector('.featured_box')) {\n                                        document.querySelector(\".featured_box\").innerHTML = \"\";\n\n                                    }\n                                    if (container.querySelector('.featured_box')) {\n                                        document.querySelector(\".featured_box\").innerHTML = container.querySelector('.featured_box').innerHTML;\n                                    }\n                                }\n\n                            }\n                            document.querySelectorAll(\".block_new_news_stories .pot .tag_box .tag[data-id],.block_new_news_stories .tag_box .tag[data-id]\").forEach(element => {\n                                element.addEventListener(\"click\", e => {\n                                    e.preventDefault();\n                                    e.stopPropagation();\n\n                                    document.querySelectorAll(\".block_new_news_stories .tag_box.new select\").forEach(ele => {\n                                        document.querySelector(`.tag_box.new [data-value=\"${ele.dataset.type}\"]`).value = ele.dataset.type;\n                                        pagesOption.setTag(ele.dataset.type, ele.dataset.type);\n                                        jQuery(ele).val(ele.dataset.type).trigger('change');\n\n                                    })\n\n                                    pagesOption.setTag(e.target.dataset.parent, e.target.dataset.id);\n                                    document.querySelector(`.tag_box.new [data-value=\"${e.target.dataset.parent}\"]`).value = e.target.dataset.id;\n                                    document.querySelector(`.block_new_news_stories .tag_box .btn`).click();\n\n                                    jQuery(`.block_new_news_stories select[data-type=\"${e.target.dataset.parent}\"]`).val(e.target.dataset.id).trigger('change');\n                                    window.scrollTo({\n                                        top: document.querySelector(\".block_new_news_stories\").offsetTop,\n                                        behavior: 'smooth'\n                                    });\n                                })\n                            })\n                            resolve(data);\n                        });\n                }).finally(() => {\n                    loading().hideLoading();\n                });\n            }\n            const pagesOption = {\n                thenumber: 9,\n                thepage: 1,\n                thetype: \"news\",\n                _thetag: {},\n                thetag: [],\n                setType: function(type) {\n                    this.thetype = type;\n                    this.thepage = 1;\n                    this._thetag = {};\n                },\n                setTag: function(key, type) {\n                    if (!this.thetag) this._thetag = {};\n                    if (type == key) return delete this._thetag[key]\n                    if (key && type) {\n                        this._thetag[key] = type;\n                    }\n                    this.thepage = 1;\n                },\n                setSelectValue(key, value) {\n                    if (!this.selectvalue) this.selectvalue = {};\n                    if (value == key) return delete this.selectvalue[key]\n\n                    if (key && value) {\n                        this.selectvalue[key] = value;\n                    }\n                },\n                getSelectValue() {\n                    if (this.selectvalue) return this.selectvalue\n                    return null;\n                },\n                getOption() {\n                    let thetag = [];\n                    if (Object.keys(this._thetag).length > 0) {\n                        for (const key in this._thetag) {\n                            if (this._thetag[key] == \"all\") continue;\n                            thetag.push(this._thetag[key]);\n                        }\n                    } else {\n                        thetag = 'all';\n                    }\n\n                    return {\n                        thenumber: this.thenumber,\n                        thepage: this.thepage,\n                        thetype: this.thetype,\n                        thetag: thetag,\n                    }\n                }\n            }\n            \/\/ Initialize Select2\n            jQuery(\".block_new_news_stories select\").select2({\n                allowClear: false,\n                multiple: false,\n                minimumResultsForSearch: -1,\n                placeholder: {\n                    id: '', \/\/ the value of the option\n                    text: 'All'\n                }\n            });\n            jQuery(\".block_new_news_stories select\").on(\"change\", function(e) {\n                const parentElement = e.target.parentElement;\n                pagesOption.setTag(parentElement.dataset.value, e.target.value);\n            });\n\n\n            document.querySelectorAll(\".filter_box .tag\").forEach((item) => {\n                item.addEventListener(\"click\", (e) => {\n                    document.querySelector(\".filter_box .tag.active\").classList.remove(\"active\");\n                    if (document.querySelector(\".tag_box .tag.active\")) {\n                        document.querySelector(\".tag_box .tag.active\").classList.remove(\"active\");\n                    }\n                    const type = e.currentTarget.dataset.type;\n                    document.querySelector(\"#new_news_stories-1_block_3871a3acef65e62c121c6d8f13e5de98\").dataset.type = type;\n                    e.currentTarget.classList.add(\"active\");\n                    pagesOption.setType(type);\n                    document.querySelector(\".tag_box\").dataset.tag = pagesOption.thetype;\n                    document.querySelector(\".block_new_news_stories .hint\").dataset.type = document.querySelector(\".filter_box .tag.active\").dataset.type;\n                    jQuery(\".block_new_news_stories select\").val(index => {\n                        pagesOption.setTag(jQuery(\".block_new_news_stories select\")[index].dataset.type, jQuery(\".block_new_news_stories select\")[index].dataset.type);\n\n                        return jQuery(\".block_new_news_stories select\")[index].dataset.type;\n                    }).trigger(\"change\");\n                    getData(pagesOption.getOption()).then((data) => {\n                        datadiv = document.createElement('div');\n                        datadiv.innerHTML = data;\n                        if (datadiv.querySelector(\".featured_box\")) {\n                            document.querySelector(\".featured_box\").innerHTML = datadiv.querySelector(\".featured_box\").innerHTML;\n                        }\n                         if (type == \"videos\") {\n                            VideoEvent().init();\n                        }\n                    })\n                })\n            })\n\n            document.querySelector(\".underline.filter\")?.addEventListener(\"click\", (e) => {\n                pagesOption.thepage++;\n                const phtml = document.querySelector(\".pot\").innerHTML\n                getData(pagesOption.getOption()).then((data) => {\n                    const container = document.createElement('div');\n                    container.innerHTML = data;\n\n                    if (container.querySelector(\".pot\")) {\n                        document.querySelector(\".pot\").innerHTML = phtml + container.querySelector(\".pot\").innerHTML;\n                    }\n                })\n            })\n            document.querySelector(\".block_new_news_stories .tag_box .btn\").addEventListener(\"click\", e => {\n                e.preventDefault();\n                e.stopPropagation();\n                getData(pagesOption.getOption())\n                    .then((data) => {\n                        \/\/ document.querySelector(\".featured_box\").innerHTML = \"\";\n                    })\n            });\n            document.querySelector(\".block_new_news_stories\").addEventListener(\"click\", e => {\n                e.stopPropagation();\n                if (e.target.classList.contains(\"tag\")) {\n                    return;\n                }\n                if (!e.target.dataset.id) return;\n            });\n\n\n\n\n\n            const pageinit = () => {\n                console.log(\"[-- news stories \u6267\u884c\u6d4b\u8bd5 --]\")\n                let type = getLoactionQuery(\"type\");\n                let parent = getLoactionQuery(\"parent\");\n                let value = getLoactionQuery(\"value\");\n                clearActive(\".filter_box .tag\")\n                if (!type) {\n                    pagesOption.setType(document.querySelector(\".filter_box .tag.active\")?.dataset.type || document.querySelector(\".filter_box .tag\").dataset.type);\n                    if (!document.querySelector(\".filter_box .tag\").classList.contains(\"active\")) {\n                        document.querySelector(\".filter_box .tag\").classList.add(\"active\");\n                        document.querySelector(\".block_new_news_stories .hint\").dataset.type = document.querySelector(\".filter_box .tag.active\").dataset.type;\n                    }\n                } else {\n                    document.querySelector(`.filter_box .tag[data-type=\"${type}\"]`).classList.add(\"active\");\n                    pagesOption.setType(type);\n                }\n\n                if (parent) {\n                    jQuery(`.tag_box.new [data-type=\"${parent}\"]select`).val(value || parent).trigger(\"change\");\n                    pagesOption.setTag(parent, value || parent)\n                }\n                getData(pagesOption.getOption()).then((data) => {\n                    document.querySelector(\".tag_box\").dataset.tag = pagesOption.thetype;\n                    document.querySelector(\"#new_news_stories-1_block_3871a3acef65e62c121c6d8f13e5de98\").dataset.type = pagesOption.thetype;\n\n                })\n            }\n\n            pageinit();\n\n\n\n\n        });\n    <\/script>\n<\/section>","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,"inline_featured_image":false,"footnotes":""},"category_media":[],"class_list":["post-1887","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/newenergynexus.com\/japan\/wp-json\/wp\/v2\/pages\/1887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/newenergynexus.com\/japan\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/newenergynexus.com\/japan\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/newenergynexus.com\/japan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/newenergynexus.com\/japan\/wp-json\/wp\/v2\/comments?post=1887"}],"version-history":[{"count":3,"href":"https:\/\/newenergynexus.com\/japan\/wp-json\/wp\/v2\/pages\/1887\/revisions"}],"predecessor-version":[{"id":2028,"href":"https:\/\/newenergynexus.com\/japan\/wp-json\/wp\/v2\/pages\/1887\/revisions\/2028"}],"wp:attachment":[{"href":"https:\/\/newenergynexus.com\/japan\/wp-json\/wp\/v2\/media?parent=1887"}],"wp:term":[{"taxonomy":"category_media","embeddable":true,"href":"https:\/\/newenergynexus.com\/japan\/wp-json\/wp\/v2\/category_media?post=1887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}