/* MIT License */
/* Copyright (c) 2019 Maykheld (http://www.davidgoweb.com) */
jQuery.fn.extend({WAFloatBox:function(){$(this).prepend('\n        <div class="myk-btn">\n            <img src="wa-icon.png" class="myk-wa-icon">\n        </div>\n        <div class="myk-panel"></div>\n        '),$(".myk-panel").append('\n        <div class="myk-panelhead">\n            <span class="myk-close">x</span>\n                <img src="wa-icon.png" class="myk-wa-icon" width="30px">\n            <h2 class="myk-paneltitle">Questions? </h2>\n        </div>\n        <div class="myk-panelbody"></div>\n        '),$(".myk-item").each(function(){$(".myk-panelbody").append(`\n        <a target='_blank' href="https://wa.me/${$(this).data("wanumber")}?text=I'm%20inquiring%20about%20the%20apartment%20listing" class="myk-list">\n            <img src="${$(this).data("waava")}" class="myk-ava">\n            <div class="myk-number">\n                <p class="myk-who"><b>${$(this).data("wadivision")}</b></p>\n                <p class="myk-name">${$(this).data("waname")}</p>\n            </div>\n        </a>\n        `)}),$(".myk-btn").click(function(){$(".myk-panel").toggleClass("myk-show")}),$(".myk-close").click(function(){$(".myk-panel").toggleClass("myk-show")})}});
