{"id":32,"date":"2020-10-19T20:30:25","date_gmt":"2020-10-19T20:30:25","guid":{"rendered":"https:\/\/wwww.msd.cz\/en\/?page_id=32"},"modified":"2024-05-31T06:41:59","modified_gmt":"2024-05-31T06:41:59","slug":"stories","status":"publish","type":"page","link":"https:\/\/www.msd.cz\/en\/stories\/","title":{"rendered":"Stories"},"content":{"rendered":"\n<div class=\"text-hero-block mccberg-block mb-2\">\n\t\t\t\t<small class=\"text-slug\">Our stories<\/small>\n\t    <h1 class=\"heading\">We have always been and always will be inventing for the single greatest purpose: Life<\/h1>\t<p><\/p>\n\n\t\n\t\n\t\n<\/div>\n\n\n<div id=\"mco-featured-stories-e1-block-block_a5f58ec3c5a2f650c4c0af39da1dd8c3\"\n     class=\"mco-featured-stories-e1-block full mccberg-block\">\n\n    <div class=\"mco-featured-stories-e1-content-container\">\n\t\t                    <div class=\"mco-featured-stories-e1-content-item-first\">\n                        <div class=\"mco-featured-stories-e1-content-item-first-image-container \">\n\n\t\t\t\t\t\t\t                            <a\n                                href=\"https:\/\/www.msd.cz\/en\/stories\/active-september-at-msd-czech-republic\/\"\n                                aria-label=\"Active September at MSD Czech Republic\"                            >\n\t\t\t\t\t\t\t\t                                    <picture>\n                                        <source media=\"(max-width: 767px)\"\n                                                data-srcset=\"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2025\/11\/A7401228_small-e1764157766333.jpg?resize=375%2C196&#038;quality=70&#038;allow_lossy=1\">\n                                        <source media=\"(min-width: 768px) and (max-width: 1199px)\"\n                                                data-srcset=\"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2025\/11\/A7401228_small-e1764157766333.jpg?resize=656%2C399&#038;quality=70&#038;allow_lossy=1\">\n                                        <source media=\"(min-width: 1200px)\"\n                                                data-srcset=\"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2025\/11\/A7401228_small-e1764157766333.jpg?resize=560%2C404&#038;quality=70&#038;allow_lossy=1\">\n                                        <img\n                                                data-src=\"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2025\/11\/A7401228_small-e1764157766333.jpg?resize=560%2C404&#038;quality=70&#038;allow_lossy=1\"\n                                                alt=\"Article thumbnail\"\n                                                class=\"lazyload\"\n                                                loading=\"lazy\"\n                                        \/>\n                                    <\/picture>\n\t\t\t\t\t\t\t\t\t                            <\/a>\n\t\t\t\t\t\t                        <\/div>\n\n                        <div class=\"mco-featured-stories-e1-content-item-first-content-container\">\n                            <a\n                                href=\"https:\/\/www.msd.cz\/en\/stories\/active-september-at-msd-czech-republic\/\"\n                                aria-label=\"Active September at MSD Czech Republic\"                            >\n\t\t\t\t\t\t\t\t                                    <small class=\"tagline\">Our people<\/small>\n\t\t\t\t\t\t\t\t                                <h4><span>Active September at MSD Czech Republic<\/span><\/h4>\n                                <p>Active September at MSD Czech Republic&nbsp; This year MSD Czech Republic joined the nationwide Active September&nbsp;campaign,&nbsp;a month of movement, workshops and wellbeing activities designed to make healthy choices easier at work and beyond.&nbsp;It was the first time we were part of this&nbsp;campaign,&nbsp;and it was&nbsp;a big success:&nbsp;1369&nbsp;colleagues took part in&nbsp;more than 30&nbsp;activities, the EPP&nbsp;Pom\u00e1hej&nbsp;pohybem&nbsp;app&nbsp;Steps Challenge&nbsp;participants&nbsp;collected&nbsp;73,665 points.&nbsp;Take [&hellip;]<\/p>\n                            <\/a>\n                        <\/div>\n\n                    <\/div>\n\t\t\t\t\t                    <div class=\"mco-featured-stories-e1-content-item\">\n\n                        <div class=\"mco-featured-stories-e1-content-item-content-container\">\n                            <a\n                                href=\"https:\/\/www.msd.cz\/en\/stories\/turning-blue-for-breath\/\"\n                                aria-label=\"Turning Blue for Breath\"                            >\n\t\t\t\t\t\t\t\t                                    <small class=\"tagline\">Health awareness<\/small>\n\t\t\t\t\t\t\t\t                                <h4><span>Turning Blue for Breath<\/span><\/h4>\n                                <p>Turning Blue for Breath: How MSD Supports Patients with Pulmonary Arterial Hypertension (PAH) On May 5, World Pulmonary Hypertension Day, MSD lit up its Riverview building in Prague with blue lights. This was to show support for patients with pulmonary hypertension (PH), a serious condition that causes high blood pressure in the lungs. It affects [&hellip;]<\/p>\n                            <\/a>\n                        <\/div>\n\n                        <div class=\"mco-featured-stories-e1-content-item-image-container\">\n                            <a\n                                href=\"https:\/\/www.msd.cz\/en\/stories\/turning-blue-for-breath\/\"\n                                aria-label=\"Turning Blue for Breath\"                            >\n\t\t\t\t\t\t\t\t                                    <picture>\n                                        <source media=\"(max-width: 767px)\"\n                                                data-srcset=\"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2025\/07\/Picture1-e1752679622602.jpg?resize=133%2C133&#038;quality=70&#038;allow_lossy=1\">\n                                        <source media=\"(min-width: 768px) and (max-width: 1199px)\"\n                                                data-srcset=\"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2025\/07\/Picture1-e1752679622602.jpg?resize=141%2C144&#038;quality=70&#038;allow_lossy=1\">\n                                        <source media=\"(min-width: 1200px)\"\n                                                data-srcset=\"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2025\/07\/Picture1-e1752679622602.jpg?resize=180%2C180&#038;quality=70&#038;allow_lossy=1\">\n                                        <img\n                                                data-src=\"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2025\/07\/Picture1-e1752679622602.jpg?resize=180%2C180&#038;quality=70&#038;allow_lossy=1\"\n                                                alt=\"Article thumbnail\"\n                                                class=\"lazyload\"\n                                                loading=\"lazy\"\n                                        \/>\n                                    <\/picture>\n\t\t\t\t\t\t\t\t\t                            <\/a>\n                        <\/div>\n                    <\/div>\n\t\t\t\t\t                    <div class=\"mco-featured-stories-e1-content-item\">\n\n                        <div class=\"mco-featured-stories-e1-content-item-content-container\">\n                            <a\n                                href=\"https:\/\/www.msd.cz\/en\/stories\/celebrating-womens-empowerment-at-msd\/\"\n                                aria-label=\"Celebrating Women\u2019s Empowerment at MSD\"                            >\n\t\t\t\t\t\t\t\t                                    <small class=\"tagline\">Our people<\/small>\n\t\t\t\t\t\t\t\t                                <h4><span>Celebrating Women\u2019s Empowerment at MSD<\/span><\/h4>\n                                <p>Celebrating Women\u2019s Empowerment at MSD On March 14 the MSD Czech Republic proudly hosted the Sustainable Brunch, an event organized by the Association of Social Responsibility in celebration of International Women\u2019s Day. This gathering brought together over 120 leaders, innovators, and change-makers to honor women\u2019s achievements and discuss the barriers they continue to break.&nbsp; At [&hellip;]<\/p>\n                            <\/a>\n                        <\/div>\n\n                        <div class=\"mco-featured-stories-e1-content-item-image-container\">\n                            <a\n                                href=\"https:\/\/www.msd.cz\/en\/stories\/celebrating-womens-empowerment-at-msd\/\"\n                                aria-label=\"Celebrating Women\u2019s Empowerment at MSD\"                            >\n\t\t\t\t\t\t\t\t                                    <picture>\n                                        <source media=\"(max-width: 767px)\"\n                                                data-srcset=\"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2025\/03\/2E8A8154_sm.jpg?resize=133%2C133&#038;quality=70&#038;allow_lossy=1\">\n                                        <source media=\"(min-width: 768px) and (max-width: 1199px)\"\n                                                data-srcset=\"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2025\/03\/2E8A8154_sm.jpg?resize=141%2C144&#038;quality=70&#038;allow_lossy=1\">\n                                        <source media=\"(min-width: 1200px)\"\n                                                data-srcset=\"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2025\/03\/2E8A8154_sm.jpg?resize=180%2C180&#038;quality=70&#038;allow_lossy=1\">\n                                        <img\n                                                data-src=\"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2025\/03\/2E8A8154_sm.jpg?resize=180%2C180&#038;quality=70&#038;allow_lossy=1\"\n                                                alt=\"Article thumbnail\"\n                                                class=\"lazyload\"\n                                                loading=\"lazy\"\n                                        \/>\n                                    <\/picture>\n\t\t\t\t\t\t\t\t\t                            <\/a>\n                        <\/div>\n                    <\/div>\n\t\t\t\t\t                    <div class=\"mco-featured-stories-e1-content-item\">\n\n                        <div class=\"mco-featured-stories-e1-content-item-content-container\">\n                            <a\n                                href=\"https:\/\/www.msd.cz\/en\/stories\/leading-with-empathy-an-international-womens-day-interview-with-barbora-hlavinkova\/\"\n                                aria-label=\"Leading with Empathy: An International Women\u2019s Day Interview with Barbora Hlavinkov\u00e1\"                            >\n\t\t\t\t\t\t\t\t                                    <small class=\"tagline\">Our people<\/small>\n\t\t\t\t\t\t\t\t                                <h4><span>Leading with Empathy: An International Women\u2019s Day Interview with Barbora Hlavinkov\u00e1<\/span><\/h4>\n                                <p>Leading with Empathy: An International Women\u2019s Day Interview with Barbora Hlavinkov\u00e1 To celebrate International Women\u2019s Day, we spoke with Barbora Hlavinkov\u00e1, a Manager in Order Management at MSD Czech Republic. As we focus on fostering diversity, equity, and inclusion, we support women\u2019s development through various avenues, including Women&#8217;s Network employee resource group, which offers opportunities [&hellip;]<\/p>\n                            <\/a>\n                        <\/div>\n\n                        <div class=\"mco-featured-stories-e1-content-item-image-container\">\n                            <a\n                                href=\"https:\/\/www.msd.cz\/en\/stories\/leading-with-empathy-an-international-womens-day-interview-with-barbora-hlavinkova\/\"\n                                aria-label=\"Leading with Empathy: An International Women\u2019s Day Interview with Barbora Hlavinkov\u00e1\"                            >\n\t\t\t\t\t\t\t\t                                    <picture>\n                                        <source media=\"(max-width: 767px)\"\n                                                data-srcset=\"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2025\/03\/1IMG_8010_sm_41b141.jpg?resize=133%2C133&#038;quality=70&#038;allow_lossy=1\">\n                                        <source media=\"(min-width: 768px) and (max-width: 1199px)\"\n                                                data-srcset=\"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2025\/03\/1IMG_8010_sm_41b141.jpg?resize=141%2C144&#038;quality=70&#038;allow_lossy=1\">\n                                        <source media=\"(min-width: 1200px)\"\n                                                data-srcset=\"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2025\/03\/1IMG_8010_sm_41b141.jpg?resize=180%2C180&#038;quality=70&#038;allow_lossy=1\">\n                                        <img\n                                                data-src=\"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2025\/03\/1IMG_8010_sm_41b141.jpg?resize=180%2C180&#038;quality=70&#038;allow_lossy=1\"\n                                                alt=\"Article thumbnail\"\n                                                class=\"lazyload\"\n                                                loading=\"lazy\"\n                                        \/>\n                                    <\/picture>\n\t\t\t\t\t\t\t\t\t                            <\/a>\n                        <\/div>\n                    <\/div>\n\t\t\t\t\t    <\/div>\n\n    <div class=\"mco-stock-ticker-hero-modal popup\" style=\"display: none;\">\n        <div class=\"popup-wrapper\">\n            <div class=\"mco-featured-stories-e1-modal-content popup-content\">\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n\n<div id=\"mco-e2-all-stories-block-block_a53a84fe2fbb59bdc2ae47fda175de26\" class=\"mco-e2-all-stories-block full mccberg-block old-style\">\n    <div class=\"mco-e2-all-stories-filter-container\" style=\"--mcc-e2-filter-label-color: white;\">\n        <div class=\"wrapper\">\n            <p>Filter by:<\/p>\n\n                            <div class=\"dropdown-list-container\">\n                    <select class=\"dropdown-list mco-e2-ddl\" aria-label=\"Filter by\">\n                        <option selected value=\"View All\">\n                            View All                        <\/option>\n                    <\/select>\n                <\/div>\n\n                        <\/div>\n    <\/div>\n    <div class=\"mco-e2-all-stories-stories-container wrapper\">\n\n    <\/div>\n<\/div>\n<script\n    src=\"https:\/\/www.msd.cz\/en\/wp-content\/themes\/cex-wpvip-mhh-mhh2-mcc-theme\/js\/tinyslider.js\"><\/script>\n<script>\n        let main_url = \"https:\/\/www.msd.cz\/en\";\n    let mcc_image_optimization_enabled = true;\n    let mcc_image_quality_desktop = 80;\n    let mcc_image_quality_mobile = 70;\n    let global_posts = [];\n\n    function setSessionStorageItem(key, value) {\n        sessionStorage.setItem(encodeURIComponent(key), value);\n    }\n\n    function getSessionStorageItem(key) {\n        return sessionStorage.getItem(encodeURIComponent(key));\n    }\n\n    \/* Filter Slider Code *\/\n    function setAllStoriesE2Sliders() {\n        try {\n            let sliders = document.getElementsByClassName(\"mco-e2-all-stories-pills-container\");\n            let slider_controls = document.getElementsByClassName(\"mco-e2-all-stories-arrow-slider-control\");\n            for (let i = 0; i < sliders.length; i++) {\n                let next_btn = slider_controls[i];\n                let slider = tns({\n                    container: sliders[i],\n                    items: 2,\n                    slideBy: 1,\n                    autoplay: false,\n                    controls: false,\n                    nav: false,\n                    responsive: {\n                        768: {\n                            \/\/ enable slider on big viewport\n                            items: 4\n                        },\n                        1280: {\n                            \/\/ enable slider on big viewport\n                            items: 6\n                        }\n                    }\n                });\n                next_btn.onclick = function () {\n                    slider.goTo('next');\n                }\n                sliders[i].classList.remove('no-slider');\n            }\n        } catch (ex) {\n            console.log(ex);\n        }\n    }\n\n    function allStoriesE2SliderNavClearFix(slider_nav_items) {\n        try {\n            for (let i = 0; i < slider_nav_items.length; i++) {\n                slider_nav_items[i].classList.remove('active');\n            }\n        } catch (ex) {\n            console.log(ex);\n        }\n    }\n\n\n    function allStoriesE2NumberOfCardsVisible() {\n        try {\n            if (window.innerWidth < 768) {\n                return 2;\n            } else if (window.innerWidth >= 768 && window.innerWidth < 1280) {\n                return 4;\n            } else {\n                return 6;\n            }\n        } catch (ex) {\n            console.log(ex);\n        }\n    }\n\n    function allStoriesE2BindDropdownList(ddl, content_topics) {\n        try {\n            ddl.addEventListener('change', function (el) {\n                let value = el.target.options[el.target.selectedIndex].value;\n                allStoriesE2FetchPosts(value, content_topics); \/\/ Content Control\n            });\n        } catch (ex) {\n            console.log(ex);\n        }\n    }\n\n    function allStoriesE2ResetPills(pills) {\n        try {\n            for (let i = 0; i < pills.length; i++) {\n                pills[i].classList.remove('active');\n            }\n        } catch (ex) {\n            console.log(ex);\n        }\n    }\n\n    function allStoriesE2BindPills(pills, content_topics) {\n        try {\n            for (let i = 0; i < pills.length; i++) {\n                pills[i].addEventListener('click', function (el) {\n                    allStoriesE2ResetPills(pills);\n                    pills[i].classList.add('active');\n                    allStoriesE2FetchPosts(pills[i].textContent, content_topics); \/\/ Content Control\n                });\n            }\n        } catch (ex) {\n            console.log(ex);\n        }\n    }\n\n    function calculateFilterTerm() {\n        if (sessionStorage.getItem('e2FilterSource') !== 'default_filter') {\n            return sessionStorage.getItem('e2FilterSource');\n        }\n\n        return sessionStorage.getItem('isE2ToggleStyle') == '0' ? 'content_topic' : 'tags';\n    }\n\n\n    \/* This function inits session storage variables and fetches all the content topic term ids *\/\n    function allStoriesE2Init() {\n        \/\/ Set Up Session Storage\n        sessionStorage.setItem('isE2ToggleStyle', 0);\n        sessionStorage.setItem('e2FilterSource', 'default_filter');\n        sessionStorage.setItem('e2_all_stores_post_data', JSON.stringify([]));\n        sessionStorage.setItem('pill_all_last_page_loaded', '1');\n        sessionStorage.setItem('All', '1');\n\n        let url = window.location.host;\n        let path_check = window.location.pathname.split('\/')[1];\n        if (path_check === 'mcc') {\n            url = url + \"\/\" + path_check;\n        }\n\n        let filterTerm = calculateFilterTerm();\n        url = main_url + \"\/wp-json\/wp\/v2\/\" + filterTerm + \"?per_page=100\" + \"&#038;hide_empty=1\";\n\n        var xhr = new XMLHttpRequest();\n        xhr.open('GET', htmlDecode(url), true);\n        xhr.onload = function (e) {\n            if (this.status == 200) {\n                let response = JSON.parse(this.responseText);\n                let content_topics_or_tags = response;\n\n                if (calculateFilterTerm() === 'tags') {\n                    content_topics_or_tags = e2StoriesTags;\n                }\n\n                let ddl = document.getElementsByClassName('mco-e2-ddl')[0];\n                let pills = document.getElementsByClassName('mco-e2-all-stories-pill');\n                for (let i = 0; i < content_topics_or_tags.length; i++) {\n                    let content_topic_or_tag = content_topics_or_tags[i].name;\n                    setSessionStorageItem(content_topic_or_tag, '1');\n\n                    if (sessionStorage.getItem('isE2ToggleStyle') == '0') {\n                        let option = document.createElement(\"option\");\n                        option.text = content_topic_or_tag;\n                        option.value = content_topic_or_tag;\n                        ddl.add(option);\n                    } else if (content_topics_or_tags[i].id === undefined) {\n                        content_topics_or_tags[i].id = content_topics_or_tags[i].term_id;\n                    }\n                }\n                bindInfiniteScroll(content_topics_or_tags);\n\n                sessionStorage.getItem('isE2ToggleStyle') == '0' ? allStoriesE2BindDropdownList(ddl, content_topics_or_tags) : allStoriesE2BindPills(pills, content_topics_or_tags);\n                allStoriesE2FetchPosts('View All', content_topics_or_tags);\n            }\n        };\n\n        xhr.send(null);\n\n\n    }\n\n    function bindInfiniteScroll(content_topics) {\n        let scrollDebounce = true;\n        document.onscroll = function () {\n            try {\n                let stories_container = document.getElementsByClassName('mco-e2-all-stories-stories-container')[0];\n                if (shouldLazyLoadMorePosts(stories_container)) {\n                    if (scrollDebounce) {\n                        scrollDebounce = false;\n                        let active_pill = sessionStorage.getItem('isE2ToggleStyle') == '0' ?\n                            document.getElementsByClassName('mco-e2-ddl')[0] :\n                            document.querySelectorAll('.mco-e2-all-stories-pill.active')[0];\n\n                        let section = sessionStorage.getItem('isE2ToggleStyle') == '0' ?\n                            active_pill.options[active_pill.selectedIndex].value.trim() :\n                            active_pill.textContent.trim();\n\n                        let page;\n                        switch (section) {\n                            case 'View All':\n                                page = sessionStorage.getItem('pill_all_last_page_loaded') ?? '';\n                                break;\n                            default:\n                                page = getSessionStorageItem(section) ?? '';\n                        }\n                        if (page.toString() !== \"-1\") {\n                            allStoriesE2FetchPosts(section, content_topics);\n                        }\n\n                        setTimeout(function () { scrollDebounce = true; }, 500);\n                    }\n                }\n            } catch (ex) {\n                console.log(ex);\n            }\n        }\n    }\n\n    \/* This function fetches stories based on the inputed topic and adds them to the array of post data *\/\n    function allStoriesE2FetchPosts(section, content_topics) {\n        try {\n            let page, content_topic_id;\n            let filterType = calculateFilterTerm();\n            let url = window.location.host;\n            let path_check = window.location.pathname.split('\/')[1];\n            if (path_check === 'mcc') {\n                url = url + \"\/\" + path_check;\n            }\n            section = section.trim();\n            sessionStorage.setItem(\"active_pill_text\", section);\n            switch (section) {\n                case 'View All':\n                case 'All':\n                    page = sessionStorage.getItem('pill_all_last_page_loaded') ?? '';\n                    if (page.toString() !== \"-1\") {\n                        content_topic_id = \"\";\n                        for (let i = 0; i < content_topics.length; i++) {\n                            let term = content_topics[i];\n                            if (content_topic_id === \"\") {\n                                content_topic_id += term.id;\n                            } else {\n                                content_topic_id += \",\" + term.id;\n                            }\n                        }\n\n                        url = main_url + \"\/wp-json\/wp\/v2\/story\/?per_page=7&#038;pretty=true&#038;page=\" +\n                            page +\n                            `&#038;${filterType}=` + content_topic_id;\n                        sessionStorage.setItem('pill_all_last_page_loaded', (parseInt(page) + 1).toString());\n                    }\n                    break;\n                default:\n                    page = getSessionStorageItem(section) ?? '';\n                    if (page.toString() !== \"-1\") {\n                        const content_topic = content_topics\n                            .find( (content_topic) => encodeURIComponent(content_topic.name) === encodeURIComponent(section));\n                        content_topic_id = content_topic?.id ?? content_topic?.term_id;\n\n                        url = main_url + \"\/wp-json\/wp\/v2\/story\/?per_page=7&pretty=true&page=\" +\n                            page +\n                            `&${filterType}=` + content_topic_id;\n                        setSessionStorageItem(section, (parseInt(page) + 1).toString());\n                    }\n            }\n            var xhr = new XMLHttpRequest();\n\n            xhr.open('GET', htmlDecode(url), true);\n            xhr.onload = function (e) {\n                let post_data = global_posts;\n                if (this.status == 200) {\n                    let response = JSON.parse(this.responseText);\n\n                    response.forEach(function (post) {\n                        \/\/ let found_post = post_data.findIndex((obj => obj.id == post.id));\n                        \/\/ https:\/\/stackoverflow.com\/a\/37699217\/3019650\n                        \/\/ https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Global_Objects\/Array\/some#Browser_compatibility\n                        let found_post = post_data.filter(function (p) {\n                            return p.id == post.id\n                        });\n                        if (found_post.length === 0) {\n                            post_data.push(post);\n                        }\n                    });\n                    global_posts = post_data;\n                }\n\n                if (this.status == 400 || this.status == 404) {\n                    \/\/ No more posts to load\n                    switch (section) {\n                        case 'View All':\n                            sessionStorage.setItem('pill_all_last_page_loaded', \"-1\");\n                            break;\n\n                        default:\n                            setSessionStorageItem(section, \"-1\");\n                    }\n                }\n\n                \/\/ Filter post_data based on section\n                let filtered_post_data;\n                if (section === 'View All' || section == 'All') {\n                    filtered_post_data = post_data;\n                } else {\n                    const content_topic = content_topics\n                        .find( (content_topic) => encodeURIComponent(content_topic.name) === encodeURIComponent(section));\n                    content_topic_id = content_topic?.id ?? content_topic?.term_id;\n                    filtered_post_data = post_data.filter(function (p) {\n                        if (sessionStorage.getItem('isE2ToggleStyle') == '0') {\n                            return p.content_topic.includes(content_topic_id)\n                        } else if (sessionStorage.getItem('isE2ToggleStyle') == '1') {\n                            return (calculateFilterTerm() === 'tags' ? p.tags.includes(content_topic_id) : p.content_topic.includes(content_topic_id));\n                        }\n                    });\n                }\n                filtered_post_data = filtered_post_data.sort((a, b) => new Date(b.date) - new Date(a.date));\n                allStoriesE2InsertContent(filtered_post_data, content_topics);\n            };\n            xhr.send(null);\n        } catch (ex) {\n            console.log(ex);\n        }\n    }\n\n    \/**\n     * Apply image optimization parameters\n     *\n     * @param url\n     * @param isDesktop\n     * @returns {string|*}\n     *\/\n    function applyImageOptimization(url, isDesktop = true) {\n        if (!mcc_image_optimization_enabled) return url;\n        let quality = isDesktop ? mcc_image_quality_desktop : mcc_image_quality_mobile;\n\n        return quality ? url + `&allow_lossy=1&quality=${quality}` : url;\n    }\n\n    \/* This post handles the insertion of content onthe page based on the post_pdata it is fed *\/\n    function allStoriesE2InsertContent(post_data, content_topics) {\n        try {\n            let img_dataprefix = 'loading' in HTMLImageElement.prototype ? '' : 'data-';\n            let stories_container = document.getElementsByClassName('mco-e2-all-stories-stories-container')[0];\n            stories_container.innerHTML = \"\";\n            let i = 1;\n            let added_posts = {};\n            post_data.forEach(function (post) {\n\n                let post_url = post.link;\n                let post_html = \"<div class='mco-e2-all-stories-story'>\";\n                let post_image = post.extended_data.featured_image ? post.extended_data.featured_image.split('?')[0] : '';\n\n                \/\/ Image Section of Post\n                \/\/ console.log(i % 4 === 0);\n                let picture_tags = (i % 4 === 0) ?\n                    `<picture>\n                        <source media=\"(max-width: 767px)\" ${img_dataprefix}srcset=\"${applyImageOptimization(post_image+'?w=321', false)} 1x,${applyImageOptimization(post_image+'?w=642', false)} 2x,${applyImageOptimization(post_image+'?w=963', false)} 3x\">\n                        <source media=\"(min-width: 768px) and (max-width: 1199px)\" ${img_dataprefix}srcset=\"${applyImageOptimization(post_image+'?w=656', false)} 1x,${applyImageOptimization(post_image+'?w=1312', false)} 2x,${applyImageOptimization(post_image+'?w=1968', false)} 3x\">\n                        <source media=\"(min-width: 1200px)\" ${img_dataprefix}srcset=\"${applyImageOptimization(post_image+'?w=852')} 1x,${applyImageOptimization(post_image+'?w=1704')} 2x,${applyImageOptimization(post_image+'?w=2556')} 3x\">\n                        <img\n                            ${img_dataprefix}src=\"${applyImageOptimization(post_image+'?w=852')}\"\n                            srcset=\"${applyImageOptimization(post_image+'?w=852')} 1x,${applyImageOptimization(post_image+'?w=1704')} 2x,${applyImageOptimization(post_image+'?w=2556')} 3x\"\n                            alt=\"${post.title.rendered}\"\n                            class=\"lazyload\"\n                            loading=\"lazy\"\n                        \/>\n                    <\/picture>`\n                    :\n                    `<picture>\n                        <source media=\"(max-width: 767px)\" ${img_dataprefix}srcset=\"${applyImageOptimization(post_image+'?w=321', false)} 1x,${applyImageOptimization(post_image+'?w=642', false)} 2x,${applyImageOptimization(post_image+'?w=963', false)} 3x\">\n                        <source media=\"(min-width: 768px) and (max-width: 1199px)\" ${img_dataprefix}srcset=\"${applyImageOptimization(post_image+'?w=313', false)} 1x,${applyImageOptimization(post_image+'?w=626', false)} 2x,${applyImageOptimization(post_image+'?w=939', false)} 3x\">\n                        <source media=\"(min-width: 1200px)\" ${img_dataprefix}srcset=\"${applyImageOptimization(post_image+'?w=405')} 1x,${applyImageOptimization(post_image+'?w=810')} 2x,${applyImageOptimization(post_image+'?w=1215')} 3x\">\n                        <img\n                            ${img_dataprefix}src=\"${applyImageOptimization(post_image+'?w=405')}\"\n                            srcset=\"${applyImageOptimization(post_image+'?w=405')} 1x,${applyImageOptimization(post_image+'?w=810')} 2x,${applyImageOptimization(post_image+'?w=1215')} 3x\"\n                            alt=\"${post.title.rendered}\"\n                            class=\"lazyload\"\n                            loading=\"lazy\"\n                        \/>\n                    <\/picture>`;\n                i++;\n                if (!post.extended_data.acf_fields.video_hosting_selection) {\n                    post_html += \"<div class='mco-e2-all-stories-story-image-container'>\";\n                    \/\/ No Video Present\n                    post_html += `<a href='${post_url}'>${picture_tags}<\/a>`;\n                } else {\n                    post_html +=\n                        \"<div class='mco-e2-all-stories-story-image-container'>\";\n                    \/\/ Video Present\n                    post_html += `<a href='${post_url}'>${picture_tags}<\/a>`\n                    post_html +=\n                        `<div style='display: none;' class='mco-e2-all-stories-story-video-type'>${post.extended_data.acf_fields.video_hosting_selection}<\/div>`;\n                    post_html +=\n                        `<div style='display: none;' class='mco-e2-all-stories-story-video-accessible-name'>${post.extended_data.acf_fields.video_accessible_name}<\/div>`;\n                    \/\/ Handle Video Info\n                    if (post.extended_data.acf_fields.video_hosting_selection === \"brightcove\") {\n                        \/\/ Brightcove Video\n                        let account_id = post.extended_data.acf_fields.brightcove_account_id;\n                        let video_id = post.extended_data.acf_fields.brightcove_video_id;\n                        post_html +=\n                            `<div style='display: none;' class='mco-e2-all-stories-story-brightcove-info'>${account_id}:${video_id}<\/div>`;\n                    } else {\n                        \/\/ YouTube Video\n                        let video_url = post.extended_data.acf_fields.youtube_url;\n                        post_html +=\n                            `<div style='display: none;' class='mco-e2-all-stories-story-youtube-info'>${video_url}<\/div>`;\n                    }\n                }\n                post_html += \"<div class='mco-e2-all-stories-story-box'><\/div>\";\n                post_html += \"<\/div>\";\n                \/\/ End Image Section\n\n                \/\/ Content Section of Post\n                post_html += \"<div class='mco-e2-all-stories-story-content-container'>\";\n\n                let content_topic_name;\n\n                if (sessionStorage.getItem('isE2ToggleStyle') == '0') {\n                    content_topic_name = content_topics.filter(function (t) {\n                        return t.id === post.content_topic[0];\n                    })[0].name;\n                } else if (sessionStorage.getItem('isE2ToggleStyle') == '1') {\n                    const active_pill_text = sessionStorage.getItem('active_pill_text');\n                    const has_no_filtered_tag = active_pill_text.includes('All');\n                    if (has_no_filtered_tag) {\n                        content_topic_name = content_topics.filter(function (t) {\n                            return t.id === (calculateFilterTerm() === 'tags' ? post.tags[0] : post.content_topic[0]);\n                        })[0].name;\n                    } else {\n                        content_topic_name = active_pill_text;\n                    }\n                }\n\n                post_html += `<small class='tagline'>${content_topic_name}<\/small>`;\n                post_html += `<h3><a href='${post_url}'>${post.title.rendered}<\/a><\/h3>`;\n                let content_data = (post.extended_data.acf_fields.subheader_title !== null && post\n                    .extended_data\n                    .acf_fields.subheader_title !== undefined) ?\n                    `<p>${post.extended_data.acf_fields.subheader_title}<\/p>` : '';\n                post_html += content_data;\n                let date = new Date(post.date);\n                let date_format = MCC_scripts_vars.format;\n                let post_year = date.getFullYear();\n                let post_month = date.getMonth() + 1;\n                let post_day = date.getDate();\n                if (date_format.includes('d') && date_format.includes('m') && date_format.includes('Y')) {\n                    const formatted_date = date_format.map(format => {\n                        if (format === 'd') {\n                            format = padTo2Digits(post_day);\n                        }\n                        if (format === 'm') {\n                            format = padTo2Digits(post_month);\n                        }\n                        if (format === 'Y') {\n                            format = post_year;\n                        }\n                        return format;\n                    });\n                    date = formatted_date.join('');\n                } else {\n                    let months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];\n                    date = months[post_month - 1] + \" \" + post_day + \", \" + post_year;\n                }\n                if ('yes' === 'yes') {\n                    post_html += `<p class='mco-e2-all-stories-story-date'>${date}<\/p>`;\n                }\n                post_html += \"<\/div>\";\n                \/\/ End Content Section\n\n                post_html += \"<\/div>\";\n                stories_container.innerHTML += post_html;\n            });\n        } catch (ex) {\n            console.log(ex);\n        }\n    }\n\n    function padTo2Digits(num) {\n        return num.toString().padStart(2, '0');\n    }\n\n    function htmlDecode(input) {\n        var e = document.createElement('div');\n        e.innerHTML = input;\n        return e.childNodes[0].nodeValue;\n    }\n\n    window.onunload = function () {\n        try {\n            \/\/ Clear Fetching Session Variables\n            sessionStorage.removeItem('pill_all_last_page_loaded');\n            sessionStorage.removeItem('pill_our_people_last_page_loaded');\n            sessionStorage.removeItem('pill_patients_last_page_loaded');\n            sessionStorage.removeItem('pill_health_awareness_last_page_loaded');\n            sessionStorage.removeItem('pill_responsibility_last_page_loaded');\n            sessionStorage.removeItem('pill_innovation_last_page_loaded');\n            sessionStorage.removeItem('e2_all_stores_post_data');\n            sessionStorage.removeItem('isE2ToggleStyle');\n            sessionStorage.removeItem('e2FilterSource');\n            sessionStorage.removeItem('All');\n        } catch (ex) {\n            console.log(ex);\n        }\n    }\n\n    \/* Lazy Load More Posts\/Infinite Scroll *\/\n    function shouldLazyLoadMorePosts(el) {\n        var rect = el.getBoundingClientRect(),\n            elemBottom = rect.bottom,\n            isVisible = false;\n        isVisible = elemBottom <= (window.innerHeight || document.documentElement.clientHeight)\n        return isVisible;\n    }\n\n    allStoriesE2Init();\n    setAllStoriesE2Sliders();\n<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":9,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"bdl_company_name":[],"bdl_item_external_link":[],"editor_notices":[],"footnotes":""},"class_list":["post-32","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Stories - MSD Czech Republic<\/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.msd.cz\/en\/stories\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Stories - MSD Czech Republic\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.msd.cz\/en\/stories\/\" \/>\n<meta property=\"og:site_name\" content=\"MSD Czech Republic\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MSDInvents\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-31T06:41:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2020\/10\/MSD.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2536\" \/>\n\t<meta property=\"og:image:height\" content=\"1382\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@MSDczech\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.msd.cz\\\/en\\\/stories\\\/\",\"url\":\"https:\\\/\\\/www.msd.cz\\\/en\\\/stories\\\/\",\"name\":\"Stories - MSD Czech Republic\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.msd.cz\\\/en\\\/#website\"},\"datePublished\":\"2020-10-19T20:30:25+00:00\",\"dateModified\":\"2024-05-31T06:41:59+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.msd.cz\\\/en\\\/stories\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.msd.cz\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.msd.cz\\\/en\\\/\",\"name\":\"MSD Czech Republic\",\"description\":\"Just another vip2-msd.com site\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.msd.cz\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.msd.cz\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.msd.cz\\\/en\\\/#organization\",\"name\":\"MSD Czech Republic\",\"url\":\"https:\\\/\\\/www.msd.cz\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.msd.cz\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.msd.cz\\\/en\\\/wp-content\\\/uploads\\\/sites\\\/98\\\/2020\\\/10\\\/MSD.png\",\"contentUrl\":\"https:\\\/\\\/www.msd.cz\\\/en\\\/wp-content\\\/uploads\\\/sites\\\/98\\\/2020\\\/10\\\/MSD.png\",\"width\":2536,\"height\":1382,\"caption\":\"MSD Czech Republic\"},\"image\":{\"@id\":\"https:\\\/\\\/www.msd.cz\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/MSDInvents\\\/\",\"https:\\\/\\\/x.com\\\/MSDczech\",\"https:\\\/\\\/www.instagram.com\\\/msdinvents\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/msdczech\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCzw0K-BF3OzlQVYn6BGHQQw\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Stories - MSD Czech Republic","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.msd.cz\/en\/stories\/","og_locale":"en_US","og_type":"article","og_title":"Stories - MSD Czech Republic","og_url":"https:\/\/www.msd.cz\/en\/stories\/","og_site_name":"MSD Czech Republic","article_publisher":"https:\/\/www.facebook.com\/MSDInvents\/","article_modified_time":"2024-05-31T06:41:59+00:00","og_image":[{"width":2536,"height":1382,"url":"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2020\/10\/MSD.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@MSDczech","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.msd.cz\/en\/stories\/","url":"https:\/\/www.msd.cz\/en\/stories\/","name":"Stories - MSD Czech Republic","isPartOf":{"@id":"https:\/\/www.msd.cz\/en\/#website"},"datePublished":"2020-10-19T20:30:25+00:00","dateModified":"2024-05-31T06:41:59+00:00","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.msd.cz\/en\/stories\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.msd.cz\/en\/#website","url":"https:\/\/www.msd.cz\/en\/","name":"MSD Czech Republic","description":"Just another vip2-msd.com site","publisher":{"@id":"https:\/\/www.msd.cz\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.msd.cz\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.msd.cz\/en\/#organization","name":"MSD Czech Republic","url":"https:\/\/www.msd.cz\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.msd.cz\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2020\/10\/MSD.png","contentUrl":"https:\/\/www.msd.cz\/en\/wp-content\/uploads\/sites\/98\/2020\/10\/MSD.png","width":2536,"height":1382,"caption":"MSD Czech Republic"},"image":{"@id":"https:\/\/www.msd.cz\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/MSDInvents\/","https:\/\/x.com\/MSDczech","https:\/\/www.instagram.com\/msdinvents\/","https:\/\/www.linkedin.com\/company\/msdczech\/","https:\/\/www.youtube.com\/channel\/UCzw0K-BF3OzlQVYn6BGHQQw"]}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/www.msd.cz\/en\/wp-json\/wp\/v2\/pages\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.msd.cz\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.msd.cz\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.msd.cz\/en\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.msd.cz\/en\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":9,"href":"https:\/\/www.msd.cz\/en\/wp-json\/wp\/v2\/pages\/32\/revisions"}],"predecessor-version":[{"id":4222,"href":"https:\/\/www.msd.cz\/en\/wp-json\/wp\/v2\/pages\/32\/revisions\/4222"}],"wp:attachment":[{"href":"https:\/\/www.msd.cz\/en\/wp-json\/wp\/v2\/media?parent=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}