/* eslint-disable */
(function () {
    let source, isMicroSite, activationStatus, enterpriseNumber;
    let secondIframeLoaded = false, onceClickedOnSecFrame = false, windowIframeBody;

    try {
        if (window && window.parent && window.parent.__INITIAL_STATE__ && window.parent.__INITIAL_STATE__.homeReducer && window.parent.__INITIAL_STATE__.homeReducer.data) {
            let homeReducerData = window.parent.__INITIAL_STATE__.homeReducer.data;
            isMicroSite = true; //ask microsite
            enterpriseNumber = homeReducerData.enterpriseInfo ? homeReducerData.enterpriseInfo.businessNumber : homeReducerData.businessNumber;
            source = 6;
            activationStatus = homeReducerData.activationStatus;
            //var businessName = homeReducerData.name;
        }
    } catch (e) {
        log(e);
    }

    if (!document.getElementsByClassName) {
        document.getElementsByClassName = function(className) {
            return this.querySelectorAll("." + className);
        };
        Element.prototype.getElementsByClassName = document.getElementsByClassName;
    }
    let bfi;
    let totalWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
    let totalHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;
    let parentTitle = document.title;
    let newTitle = isMicroSite ? document.title : "(1) New Message!";
    let titleChangeInterval;
    let titleFlag = 0;
    let tries = 1;
    let extensionInterval;
    let env;
    let windowIframe;
    window.be_webchat = null;

    function playBubbleSound() {
        let context, source = "https://d3cnqzq0ivprch.cloudfront.net/prod/media/notification-sound.mp3";
        try {
            window.AudioContext = window.AudioContext || window.webkitAudioContext;
            context = new AudioContext();
            let request = new XMLHttpRequest();
            request.open("GET", source, true);
            request.responseType = "arraybuffer";
            request.onload = function() {
                context.decodeAudioData(request.response, function(buffer) {
                    let source = context.createBufferSource();
                    source.buffer = buffer;
                    source.connect(context.destination);
                    source.start(0);
                    context.resume();
                }, function(e) {
                    console.log("error", e);
                });
            };
            request.send();
        } catch (e) {
            if (/Edge\/|Trident\/|MSIE /.test(navigator.userAgent)) {
                let audio = document.createElement("audio");
                audio.autoplay = true;
                audio.src = source;
                audio.play();
            }
        }
    };

    function getGoodBot(type) {
        const goodBots = ["facebookexternalhit", "Facebot", "Googlebot", "Google", "LinkedInBot"];
        const ua = navigator.userAgent;
        let isGoodBots = false;
        let botName = "";

        for (let i = 0; i < goodBots.length; i++) {
            const bot = goodBots[i];
            if (ua.indexOf(bot) > -1) {
                isGoodBots = true;
                botName = bot.toLowerCase();
                break;
            }
        }
        if (type == "isGoodBot") {
            return isGoodBots;
        } else {
            botName = (botName != "") ? botName : "facebook";
            botName = botName.indexOf("face") > -1 ? "facebook" : botName;
            botName = botName.indexOf("linked") > -1 ? "linked-in" : botName;
            return botName;
        }
    }

    function initIframe() {
        
        let bfdiv = document.getElementById("bf-revz-widget-" + window.wid);
        if (!bfdiv) {
            tries++;
            if (tries > 50) {
                return false;
            }
            setTimeout(initIframe, 500);
            return;
        }

        if (!bfdiv.firstChild) {
            bfdiv.appendChild(bfi);
        } else if (bfdiv.firstChild && bfdiv.firstChild.nodeName != "IFRAME") {
            bfdiv.insertBefore(bfi, bfdiv.firstChild);
        }
    }

    let winHeight = 670;
    if (window.innerHeight < 670) {
        winHeight = window.innerHeight;
    }

    window.addEventListener("resize", function() {
        if (window.innerHeight < 727) {
            winHeight = window.innerHeight;
        } else {
            winHeight = 773;
        }
    });

    const openWebchatFromOutside = (objFromClient) => {
        const firstIframe = document.getElementById("bewebchat");
        const secondIframe = document.getElementById("window-iframe");
        firstIframe.contentWindow.postMessage({type: "post-message-from-outside", clientObj: objFromClient, beWebchatWindowObj: JSON.stringify(window.be_webchat), isWidgetAlignLeft: window.isWidgetAlignLeft }, "*");
        secondIframe.contentWindow.postMessage({type: "post-message-from-outside-chat", clientObj: objFromClient, beWebchatWindowObj: JSON.stringify(window.be_webchat), isWidgetAlignLeft: window.isWidgetAlignLeft }, "*");
    }

    window.onmessage = function(e) {
        if (e.data && e.data.split) {
            let dataReceivedSplit = e.data.split("***");
            let dataReceived = dataReceivedSplit[0];
            let widthReceived = dataReceivedSplit[1];
            if (totalWidth < 960) {
                widthReceived = "drawer";
            }

            if (dataReceived == "icon-clicked") {
                if (!secondIframeLoaded) {

                    if (!onceClickedOnSecFrame) {
                        loadNewIframe();
                    }
                }
                document.getElementById("bewebchat").style.height = "80px";
                document.getElementById("bewebchat").style.width = "70px";

                if (widthReceived == "floating") {
                    document.getElementById("window-iframe").setAttribute("style", `-webkit-overflow-scrolling: touch; visibility: visible; opacity: 1; ${window.isWidgetAlignLeft ? "left:20px" : "right:20px" }; bottom:20px; position:fixed; overflow:hidden; width:346px; z-index:9999998; border: 0; height: ${winHeight + "px"}; `);
                } else {
                    document.getElementById("window-iframe").setAttribute("style", `-webkit-overflow-scrolling: touch; visibility: visible; opacity: 1; z-index: 9999999; ${window.isWidgetAlignLeft ? "left:0px" : "right:0px" }; bottom:0px; position:fixed; overflow:hidden; width:346px; height: 100%; border: 0;`);
                }

                if (titleChangeInterval) {
                    clearInterval(titleChangeInterval);
                }
                document.title = parentTitle;

                window.be_webchat = {
                    ...window.be_webchat,
                    windowOpened: true
                };

            } else if (dataReceived == "icon-closed") {
                let wid = "20px";
                if (totalWidth < 960) {
                    wid = "20px";
                }

                let element = document.getElementById("window-iframe");
                element.style.height = 0;

                secondIframeLoaded = false;

                window.be_webchat = {
                    ...window.be_webchat,
                    windowOpened: false
                };

            } else if (dataReceived == "getwidth") {
                e.source.postMessage({width: totalWidth, height: totalHeight, src: "birdeye", updateValFromParent: window.update}, "*");
            } else if (dataReceived == "show-bubble") {

                bfi.setAttribute("style", `-webkit-overflow-scrolling: touch; visibility: visible; opacity: 1; z-index: 9999999; ${window.isWidgetAlignLeft ? "left:20px" : "right:20px" }; bottom:20px; position:fixed; overflow:hidden; width:340px; height: 227px; border: 0;`);

                if (!getGoodBot("isGoodBot")) {
                    titleChangeInterval = setInterval(function() {
                        document.title = titleFlag ? parentTitle : newTitle;
                        titleFlag = !titleFlag;
                    }, 2500);
                }
            } else if (dataReceived == "hide-bubble") {
                bfi.setAttribute("style", `-webkit-overflow-scrolling: touch; visibility: visible; opacity: 1; z-index: 9999999; ${window.isWidgetAlignLeft ? "left:20px" : "right:20px" }; bottom:20px; position:fixed; overflow:hidden; width:70px; height: 80px; border: 0;`);

                if (titleChangeInterval) {
                    clearInterval(titleChangeInterval);
                }
                document.title = parentTitle;
            } else if (dataReceived == "get-parent-url") {
                if (!window.be_webchat) {
                    window.be_webchat = {
                        open: openWebchatFromOutside
                    };
                }
                e.source.postMessage({type: "put-parent-url", url: document.location.href,hostname: document.location.hostname, href: document.location.origin, src: "birdeye", isMicroSite: isMicroSite ? isMicroSite : false, frmMicrosite: frmMicrosite ? frmMicrosite : false, isWidgetAlignLeft: window.isWidgetAlignLeft ? window.isWidgetAlignLeft : false, enterpriseNumber: isMicroSite ? enterpriseNumber : null, width: totalWidth, height: totalHeight, src: "birdeye", updateValFromParent: window.update, bizDataResp: window.bizDataResp, beWebchatWindowObj: JSON.stringify(window.be_webchat), updatedBizData: true }, "*");
            } else if (dataReceived == "push-datalayer" && window && typeof (window.dataLayer) !== "undefined") {
                window.dataLayer.push(JSON.parse(dataReceivedSplit[1]));
            } else if (dataReceived == "push-analytics") {
                try {
                    try {
                        const config = JSON.parse(dataReceivedSplit[1]);

                        switch (config.googleAnalyticsVersion) {
                            case "UA":
                                if (ga && typeof (ga) == "function") {
                                    const nonInteractionObj = config.nonInteraction ? {'nonInteraction': 1} : null;

                                    ga('send', 'event', 'webchat', config.action, config.actionLabel, nonInteractionObj);
                                } else {
                                    console.warn("Webchat Analytics ReferenceError: ga is not defined");
                                }
                                break;
                            case "GST":
                                if (gtag && typeof (gtag) == "function") {
                                    const nonInteractionObj = config.nonInteraction ? {'non_interaction': true} : {};

                                    gtag('event', config.action, {
                                        'event_category': 'webchat',
                                        'event_label': config.actionLabel.trim(),
                                        'value': 1,
                                        ...nonInteractionObj
                                    });
                                } else {
                                    console.warn("Webchat Analytics ReferenceError: gtag is not defined");
                                }
                                break;
                        }
                    } catch (e) {
                        console.warn("Webchat Analytics", e);
                    }
                } catch (e) {
                    console.warn("Webchat Analytics", e);
                }
            } else if (dataReceived == "be-custom-event-fire") {
                const customEventData = JSON.parse(dataReceivedSplit[1]);
                const be_event = new CustomEvent("beWebchatCustomEvent", { detail: customEventData });
                window.parent.document.dispatchEvent(be_event);
            }
            else if(dataReceived == "bubble-icon-sound") {
                playBubbleSound();
            }
        }
    };

    if(document.readyState === "complete") {
        extensionInterval = setInterval(function() {
            env = window.envObj ? window.envObj : {};
            const bizResp = window.bizDataResp ? window.bizDataResp : {};
            const locationListLen = bizResp ? bizResp["businessLocations"] && bizResp["businessLocations"].length : 0;

            if (Object.keys(env).length && locationListLen > 0) {
                getFirstIframeAndInit(env);
            }
        }, 100);

    } else {
        if (window.addEventListener) {
            // DOM2 standard
            window.addEventListener("load", windowOnloadHandler, false);
        }
        else if (window.attachEvent) {
            // Microsoft's precursor to it, IE8 and earlier
            window.attachEvent("onload", windowOnloadHandler);
        }
        else {
            // Some pre-1999 browser
            window.onload = windowOnloadHandler;
        }
        
        function windowOnloadHandler() {
            env = window.envObj ? window.envObj : {};
            const bizResp = window.bizDataResp ? window.bizDataResp : {};
            const locationListLen = bizResp ? bizResp["businessLocations"] && bizResp["businessLocations"].length : 0;

            if (locationListLen > 0) {
                getFirstIframeAndInit(env);
            }
        }
    }

    function getFirstIframeAndInit(env) {
        extensionInterval && clearInterval(extensionInterval);
        bfi = document.createElement("iframe");
        bfi.name = "bfiframe";
        bfi.id = "bewebchat";
        bfi.loading = "lazy";
        bfi.title="Webchat widget";
        bfi.src = env.protocol + env.domain + `/getBubbleContent?update=${window.update}&source=${window.source}&bNum=${window.bNum}&apikey=${window.apikey}&widgetApiVersion=${window.widgetApiVersion}`;
        bfi.setAttribute("style", `-webkit-overflow-scrolling: touch; visibility: visible; opacity: 1; z-index: 9999999; ${window.isWidgetAlignLeft ? "left:20px" : "right:20px" }; bottom:20px; position:fixed; overflow:hidden; width:70px; height: 80px; border:0`);
        initIframe();
        bfi.onload = loadNewIframe.bind(this);
    }

    function appendSecondIframe() {
        secondIframeLoaded = true;
        onceClickedOnSecFrame = true;
        let bfdiv = document.getElementById("bf-revz-widget-" + window.wid);

        bfdiv.appendChild(windowIframe);

        const bodyEl = document.querySelector("#window-iframe").parentElement.parentElement;
        windowIframeBody = document.querySelector("#window-iframe").contentDocument ?  document.querySelector("#window-iframe").contentDocument.body : null;

        bodyEl.addEventListener("click", function(e){
            let emojiEl = windowIframeBody && windowIframeBody.querySelector(".emoji-wrap");

            if (emojiEl && e.target !== document.querySelector("#window-iframe")) {
                emojiEl.classList.add("hide-emoji");
                emojiEl.style.display= "none";
            }
        });
    }

    function loadNewIframe() {
        windowIframe = document.createElement("iframe");
        windowIframe.name = "wciframe";
        windowIframe.id = "window-iframe";
        windowIframe.loading = "lazy";
        windowIframe.title = "Webchat widget";
        windowIframe.src = env.protocol + env.domain + `/getChatWindowContent?emailRequired=${window.emailRequired}&bNum=${window.bNum}&mobileRequired=${window.mobileRequired}&defaultCountryCode=${window.defaultCountryCode}&apikey=${window.apikey}&widgetApiVersion=${window.widgetApiVersion}&isMicroSite=${window.isMicroSite}&activationStatus=${window.activationStatus}&isWidgetAlignLeft=${window.isWidgetAlignLeft}`;
        windowIframe.setAttribute("style", `-webkit-overflow-scrolling: touch; visibility: visible; opacity: 1; ${window.isWidgetAlignLeft ? "left:20px" : "right:20px" }; bottom:20px; position:fixed; overflow:hidden; width:346px; z-index:9999998; border: 0; height: 0px;`);
        appendSecondIframe();
    }
})();


 
    var wid = 2983915657; 
    var update = 0; 
    var soundOff = 1; 
    var envObj = {"domain":"webchat.birdeye.com","protocol":"https://","isWidgetAlignLeft":false};
    var emailRequired = 0;
    var defaultCountryCode = 0;
    var mobileRequired = 1;
    var apikey = "c821edb990a70dd80b10688dfc1f3060247536049b0f08fd";
    var widgetApiVersion = 2;
    var bNum = 167860;
    var update = 0;
    var isMicroSite = false;
    var frmMicrosite = false;
    var isWidgetAlignLeft = false;
    var activationStatus = false;
    var source = false;
    var bizDataResp = {"businessId":168450623827648,"chatTheme":"floating","chatIcon":"hamburger","chatIconValue":null,"bannerColor":"#92278f","bannerTextColor":"#ffffff","btnColor":"#0089d0","btnTxtColor":"#FFFFFF","enableReplyInBusinessHr":1,"enableReplyPostBusinessHr":1,"autoReplyTxt":"Thank you for contacting YMCA of Greater Oklahoma City! Someone from our team will reach out shortly.","replyTextPostBusinessHr":"Thank you for contacting us! We are currently out of business hours, but we’ll get back to you as soon as we can.","headerHeadline":"Hi there!","headerDescription":"Questions? We are here to help! Send us a message below.","webChatOnlineClosingMessageHeader":"We will text you !","webChatOnlineClosingMessageBody":"We will follow up with you soon. You can always text us at [Business Phone] ","apiKey":null,"businessDomain":null,"smb":false,"popupInterval":5,"microsite":0,"userProfile":[{"userProfileName":"","userProfileImage":""}],"businessLocations":[{"businessId":168452222848260,"location":"Bethany, OK","businessSMSPhoneNumber":"(405) 913-7041","address":null,"name":"Bethany YMCA","countryCode":"US","zipcode":"73008","address1":"3400 N Mueller Ave","address2":"","chatEnabled":true,"city":"Bethany","state":"OK","locationName":"Bethany YMCA","businessAlias":"Bethany YMCA","businessName":"Bethany YMCA","primaryName":null,"secondaryName":null,"shortBusinessId":1117103,"latitude":35.5050478,"longitude":-97.63167759,"phone":"(405) 789-0231","emailId":"bethinfo@ymcaokc.org"},{"businessId":168452230135135,"location":"Chickasha, OK","businessSMSPhoneNumber":"(405) 817-6996","address":null,"name":"Chickasha Area YMCA","countryCode":"US","zipcode":"73018","address1":"725 W Chickasha Ave","address2":"","chatEnabled":true,"city":"Chickasha","state":"OK","locationName":"Chickasha Area YMCA","businessAlias":"Chickasha Area YMCA","businessName":"Chickasha Area YMCA","primaryName":null,"secondaryName":null,"shortBusinessId":1117104,"latitude":35.05081599,"longitude":-97.94217599,"phone":"(405) 224-2281","emailId":"cainfo@ymcaokc.org"},{"businessId":168643215099676,"location":"Davis, OK","businessSMSPhoneNumber":"(580) 722-4424","address":null,"name":"YMCA Camp Classen","countryCode":"US","zipcode":"73030","address1":"10840 Main Camp Rd","address2":"","chatEnabled":true,"city":"Davis","state":"OK","locationName":"YMCA Camp Classen","businessAlias":"YMCA Camp Classen","businessName":"YMCA Camp Classen","primaryName":null,"secondaryName":null,"shortBusinessId":1125927,"latitude":34.460428,"longitude":-97.15313,"phone":"(580) 369-2272","emailId":"fulfillment@ymca.net"},{"businessId":168452245393745,"location":"Edmond, OK - 1220 S Rankin St","businessSMSPhoneNumber":"(405) 913-4870","address":null,"name":"Rankin YMCA","countryCode":"US","zipcode":"73034","address1":"1220 S Rankin St","address2":"","chatEnabled":true,"city":"Edmond","state":"OK","locationName":"Rankin YMCA","businessAlias":"Rankin YMCA","businessName":"Rankin YMCA","primaryName":null,"secondaryName":null,"shortBusinessId":1117112,"latitude":35.64064239,"longitude":-97.4725239,"phone":"(405) 348-9622","emailId":"edinfo@ymcaokc.org"},{"businessId":168452241984896,"location":"Edmond, OK - 2901 Marilyn Williams Dr","businessSMSPhoneNumber":"(405) 913-4950","address":null,"name":"Mitch Park YMCA","countryCode":"US","zipcode":"73003","address1":"2901 Marilyn Williams Dr","address2":"","chatEnabled":true,"city":"Edmond","state":"OK","locationName":"Mitch Park YMCA","businessAlias":"Mitch Park YMCA","businessName":"Mitch Park YMCA","primaryName":null,"secondaryName":null,"shortBusinessId":1117110,"latitude":35.6847017,"longitude":-97.5083114,"phone":"(405) 330-4016","emailId":"mpinfo@ymcaokc.org"},{"businessId":168452236106278,"location":"Guthrie, OK","businessSMSPhoneNumber":"(405) 913-4845","address":null,"name":"Guthrie YMCA","countryCode":"US","zipcode":"73044","address1":"114 E Oklahoma Ave","address2":"","chatEnabled":true,"city":"Guthrie","state":"OK","locationName":"Guthrie YMCA","businessAlias":"Guthrie YMCA","businessName":"Guthrie YMCA","primaryName":null,"secondaryName":null,"shortBusinessId":1117107,"latitude":35.87834369,"longitude":-97.4246581,"phone":"(405) 282-8206","emailId":"guthinfo@ymcaokc.org"},{"businessId":168452240624884,"location":"Midwest City, OK","businessSMSPhoneNumber":"(405) 913-4773","address":null,"name":"Midwest City YMCA","countryCode":"US","zipcode":"73110","address1":"2817 N Woodcrest Dr","address2":"","chatEnabled":true,"city":"Midwest City","state":"OK","locationName":"Midwest City YMCA","businessAlias":"Midwest City YMCA","businessName":"Midwest City YMCA","primaryName":null,"secondaryName":null,"shortBusinessId":1117109,"latitude":35.4651078,"longitude":-97.4182769,"phone":"(405) 733-9622","emailId":"mcinfo@ymcaokc.org"},{"businessId":168452234498811,"location":"Oklahoma City, OK - 1 NW 4th St","businessSMSPhoneNumber":"(405) 784-4981","address":null,"name":"Edward L. Gaylord Downtown YMCA","countryCode":"US","zipcode":"73102","address1":"1 NW 4th St","address2":"","chatEnabled":true,"city":"Oklahoma City","state":"OK","locationName":"Edward L. Gaylord Downtown YMCA","businessAlias":"Edward L. Gaylord Downtown YMCA","businessName":"Edward L. Gaylord Downtown YMCA","primaryName":null,"secondaryName":null,"shortBusinessId":1117106,"latitude":35.4723769,"longitude":-97.5127738,"phone":"(405) 297-7700","emailId":"dtinfo@ymcaokc.org"},{"businessId":168970120647188,"location":"Oklahoma City, OK - 1 NW 4th St","businessSMSPhoneNumber":"(405) 784-6532","address":null,"name":"YMCA Child Development Center Oklahoma City","countryCode":"US","zipcode":"73102","address1":"1 NW 4th St","address2":"","chatEnabled":true,"city":"Oklahoma City","state":"OK","locationName":"YMCA Child Development Center Oklahoma City","businessAlias":"YMCA Child Development Center Oklahoma City","businessName":"YMCA Child Development Center Oklahoma City","primaryName":null,"secondaryName":null,"shortBusinessId":1146170,"latitude":35.4723769,"longitude":-97.5127738,"phone":"(405) 297-7760","emailId":""},{"businessId":168452239086920,"location":"Oklahoma City, OK - 100 W Main St","businessSMSPhoneNumber":"(405) 913-4947","address":null,"name":"Main Street YMCA","countryCode":"US","zipcode":"73102","address1":"100 W Main St","address2":"","chatEnabled":true,"city":"Oklahoma City","state":"OK","locationName":"Main Street YMCA","businessAlias":"Main Street YMCA","businessName":"Main Street YMCA","primaryName":null,"secondaryName":null,"shortBusinessId":1117108,"latitude":35.4672569,"longitude":-97.51569769,"phone":"(405) 702-9003","emailId":"msinfo@ymcaokc.org"},{"businessId":168452231419964,"location":"Oklahoma City, OK - 11801 S May Ave","businessSMSPhoneNumber":"(405) 913-4935","address":null,"name":"Earlywine Park YMCA","countryCode":"US","zipcode":"73170","address1":"11801 S May Ave","address2":"","chatEnabled":true,"city":"Oklahoma City","state":"OK","locationName":"Earlywine Park YMCA","businessAlias":"Earlywine Park YMCA","businessName":"Earlywine Park YMCA","primaryName":null,"secondaryName":null,"shortBusinessId":1117105,"latitude":35.3497861,"longitude":-97.5661122,"phone":"(405) 378-0420","emailId":"epinfo@ymcaokc.org"},{"businessId":168643212058262,"location":"Oklahoma City, OK - 500 N Broadway Ave STE 500, Ste. 500","businessSMSPhoneNumber":"(405) 913-6178","address":null,"name":"YMCA of Greater Oklahoma City","countryCode":"US","zipcode":"73102","address1":"500 N Broadway Ave STE 500","address2":"Ste. 500","chatEnabled":true,"city":"Oklahoma City","state":"OK","locationName":"YMCA of Greater Oklahoma City","businessAlias":"YMCA of Greater Oklahoma City","businessName":"YMCA of Greater Oklahoma City","primaryName":null,"secondaryName":null,"shortBusinessId":1125926,"latitude":35.47205979,"longitude":-97.5141062,"phone":"(405) 297-7777","emailId":"info@ymcaokc.org"},{"businessId":168643225331341,"location":"Oklahoma City, OK - 5520 N Independence Ave","businessSMSPhoneNumber":"(405) 296-6580","address":null,"name":"YMCA Healthy Living Center - INTEGRIS","countryCode":"US","zipcode":"73112","address1":"5520 N Independence Ave","address2":"","chatEnabled":true,"city":"Oklahoma City","state":"OK","locationName":"YMCA Healthy Living Center - INTEGRIS","businessAlias":"YMCA Healthy Living Center - INTEGRIS","businessName":"YMCA Healthy Living Center - INTEGRIS","primaryName":null,"secondaryName":null,"shortBusinessId":1125930,"latitude":35.52693339,"longitude":-97.5743992,"phone":"(405) 942-9622","emailId":"pam.forducey@integrisok.com"},{"businessId":168643222370385,"location":"Oklahoma City, OK - 8300 Glade Ave","businessSMSPhoneNumber":"(405) 913-6086","address":null,"name":"Rockwell Plaza YMCA","countryCode":"US","zipcode":"73132","address1":"8300 Glade Ave","address2":"","chatEnabled":true,"city":"Oklahoma City","state":"OK","locationName":"Rockwell Plaza YMCA","businessAlias":"Rockwell Plaza YMCA","businessName":"Rockwell Plaza YMCA","primaryName":null,"secondaryName":null,"shortBusinessId":1125929,"latitude":35.5545776,"longitude":-97.6427667,"phone":"(405) 621-5858","emailId":"rpinfo@ymcaokc.org"},{"businessId":168452246986146,"location":"Stillwater, OK","businessSMSPhoneNumber":"(405) 855-1576","address":null,"name":"Stillwater YMCA","countryCode":"US","zipcode":"74074","address1":"204 S Duck St","address2":"","chatEnabled":true,"city":"Stillwater","state":"OK","locationName":"Stillwater YMCA","businessAlias":"Stillwater YMCA","businessName":"Stillwater YMCA","primaryName":null,"secondaryName":null,"shortBusinessId":1117113,"latitude":36.1201478,"longitude":-97.063205,"phone":"(405) 372-5833","emailId":"swinfo@ymcaokc.org"},{"businessId":168452244211726,"location":"The Village, OK","businessSMSPhoneNumber":"(405) 913-4861","address":null,"name":"North Side YMCA","countryCode":"US","zipcode":"73120","address1":"10000 N Pennsylvania Ave","address2":"","chatEnabled":true,"city":"The Village","state":"OK","locationName":"North Side YMCA","businessAlias":"North Side YMCA","businessName":"North Side YMCA","primaryName":null,"secondaryName":null,"shortBusinessId":1117111,"latitude":35.572452,"longitude":-97.5486072,"phone":"(405) 751-6363","emailId":"nsinfo@ymcaokc.org"}],"chatBubble":"Have a question? We are here to help!","enableChatBubble":1,"enableChatBubbleSound":1,"chatIconColor":"#92278f","chatIconForeColor":"#FFFFFF","chatConfigId":null,"widgetConfigId":167860,"supportedCountryCodes":["US","PR","VI","MX","CA"],"businessName":"YMCA of Greater Oklahoma City","widgetName":null,"enabled":1,"businessSMSPhoneNumber":null,"isLiveChatEnabled":true,"isChatbotEnabled":true,"businessTypeTitle":null,"teams":null,"enableGoogleAnalytics":false,"googleAnalyticsVersion":"","googleTrackingId":"","webChatOfflineClosingMessageHeader":"We will text you !","webChatOfflineClosingMessageBody":"We will follow up with you soon. You can always text us at [Business Phone].","liveChatOfflineClosingMessageHeader":"Text us!","liveChatOfflineClosingMessageBody":"The best way to get ahold of us is to text us [Business Texting Number].","liveChatOnlineClosingMessageHeader":"Text us!","liveChatOnlineClosingMessageBody":"The best way to get ahold of us is to text us [Business Texting Number].","liveChatOfflineWelcomeMessage":"We're closed right now but we got your message. We'll text you on your number when we're back!","liveChatOnlineWelcomeMessage":"Give us a moment while we look for someone available to help you.","installed":1,"websites":["https%3A//ymcaokc.org"],"statusUpdateOn":1700190087000,"emailMandatory":false,"customFields":null,"disclaimer":"By sending this message, you expressly consent to receive communications from us. You may opt out at any time.","autoDetectLocationEnabled":true,"accountType":1,"livechatTimeout":60,"businessOpen":false};
    