[{"id":"64b7a9b","elType":"section","settings":{"layout":"full_width","background_background":"classic","background_color":"#dfdfdf","structure":"20","jet_parallax_layout_list":[{"jet_parallax_layout_image":{"url":""},"_id":"cb355c2","jet_parallax_layout_image_tablet":{"url":"","id":""},"jet_parallax_layout_image_mobile":{"url":"","id":""},"jet_parallax_layout_speed":{"unit":"%","size":50,"sizes":[]},"jet_parallax_layout_type":"scroll","jet_parallax_layout_direction":"1","jet_parallax_layout_fx_direction":"fade-in","jet_parallax_layout_z_index":"","jet_parallax_layout_bg_x":50,"jet_parallax_layout_bg_y":50,"jet_parallax_layout_bg_size":"auto","jet_parallax_layout_animation_prop":"transform","jet_parallax_layout_on":["desktop","tablet"]}]},"elements":[{"id":"e191f26","elType":"column","settings":{"_column_size":50,"background_background":"classic","_inline_size":55,"content_position":"center","_inline_size_mobile":70},"elements":[{"id":"9e87e99","elType":"widget","settings":{"title":"PUNJAB","header_size":"h1","align":"right","title_color":"#000000","eael_tooltip_section_content":"I am a tooltip","eael_ext_content_protection_password_placeholder":"Enter Password","eael_ext_content_protection_password_submit_btn_txt":"Submit","typography_typography":"custom","typography_font_family":"Harabara Mais","typography_font_weight":"100"},"elements":[],"widgetType":"heading"}],"isInner":false},{"id":"9c36624","elType":"column","settings":{"_column_size":50,"_inline_size":45,"_inline_size_mobile":20},"elements":[{"id":"1dc4efa","elType":"widget","settings":{"html":"<div class=\"wrapper\">\r\n    <a onclick=\"this.firstChild.play()\" class=\"button\"><audio src=\"http:\/\/digidownload.libero.it\/rimesparseworks\/12%20Nuvole%20bianche.mp3\"><\/audio> <img width=\"40px\" height=\"40px\" src=\"http:\/\/btg.beamashal.com\/wp-content\/uploads\/2019\/12\/Artboard-2.png\" class=\"attachment-large size-large\" alt=\"\" sizes=\"100px\"><\/a>\r\n<\/div>","eael_tooltip_section_content":"I am a tooltip","eael_ext_content_protection_password_placeholder":"Enter Password","eael_ext_content_protection_password_submit_btn_txt":"Submit"},"elements":[],"widgetType":"html"}],"isInner":false}],"isInner":false},{"id":"f3782aa","elType":"section","settings":{"layout":"full_width","background_background":"classic","background_color":"#999999","margin":{"unit":"px","top":"0","right":0,"bottom":"-15","left":0,"isLinked":false},"margin_mobile":{"unit":"px","top":"0","right":0,"bottom":"-15","left":0,"isLinked":false},"jet_parallax_layout_list":[{"jet_parallax_layout_image":{"url":""},"_id":"6658306","jet_parallax_layout_image_tablet":{"url":"","id":""},"jet_parallax_layout_image_mobile":{"url":"","id":""},"jet_parallax_layout_speed":{"unit":"%","size":50,"sizes":[]},"jet_parallax_layout_type":"scroll","jet_parallax_layout_direction":"1","jet_parallax_layout_fx_direction":"fade-in","jet_parallax_layout_z_index":"","jet_parallax_layout_bg_x":50,"jet_parallax_layout_bg_y":50,"jet_parallax_layout_bg_size":"auto","jet_parallax_layout_animation_prop":"transform","jet_parallax_layout_on":["desktop","tablet"]}]},"elements":[{"id":"f92882f","elType":"column","settings":{"_column_size":100},"elements":[{"id":"2e0bd84","elType":"widget","settings":{"space":{"unit":"px","size":20,"sizes":[]},"eael_tooltip_section_content":"I am a tooltip","eael_ext_content_protection_password_placeholder":"Enter Password","eael_ext_content_protection_password_submit_btn_txt":"Submit"},"elements":[],"widgetType":"spacer"}],"isInner":false}],"isInner":false},{"id":"6c7e594","elType":"section","settings":{"layout":"full_width","height":"min-height","custom_height":{"unit":"px","size":226,"sizes":[]},"background_background":"classic","background_color":"#fcae21","background_image":{"url":"http:\/\/btg.beamashal.com\/wp-content\/uploads\/2019\/11\/punjab.png","id":284},"background_position":"bottom center","background_repeat":"no-repeat","background_size":"initial","background_bg_width":{"unit":"%","size":5,"sizes":[]},"custom_height_mobile":{"unit":"px","size":98,"sizes":[]},"background_position_mobile":"bottom center","background_size_mobile":"initial","background_bg_width_mobile":{"unit":"px","size":34,"sizes":[]},"background_overlay_background":"classic","margin_mobile":{"unit":"px","top":"0","right":0,"bottom":"0","left":0,"isLinked":true},"jet_parallax_layout_list":[{"jet_parallax_layout_image":{"url":""},"_id":"56ee5ff","jet_parallax_layout_image_tablet":{"url":"","id":""},"jet_parallax_layout_image_mobile":{"url":"","id":""},"jet_parallax_layout_speed":{"unit":"%","size":50,"sizes":[]},"jet_parallax_layout_type":"scroll","jet_parallax_layout_direction":"1","jet_parallax_layout_fx_direction":"fade-in","jet_parallax_layout_z_index":"","jet_parallax_layout_bg_x":50,"jet_parallax_layout_bg_y":50,"jet_parallax_layout_bg_size":"auto","jet_parallax_layout_animation_prop":"transform","jet_parallax_layout_on":["desktop","tablet"]}]},"elements":[{"id":"3598fb3","elType":"column","settings":{"_column_size":100,"background_background":"classic","margin_mobile":{"unit":"px","top":"-35","right":"0","bottom":"0","left":"0","isLinked":false}},"elements":[{"id":"552b157","elType":"widget","settings":{"image":{"url":"http:\/\/btg.beamashal.com\/wp-content\/uploads\/2019\/11\/banner-stars.png","id":295},"image_size":"medium","align_mobile":"center","width_mobile":{"unit":"%","size":100,"sizes":[]},"space_mobile":{"unit":"%","size":100,"sizes":[]},"eael_tooltip_section_content":"I am a tooltip","eael_ext_content_protection_password_placeholder":"Enter Password","eael_ext_content_protection_password_submit_btn_txt":"Submit","width":{"unit":"%","size":100,"sizes":[]},"space":{"unit":"%","size":100,"sizes":[]}},"elements":[],"widgetType":"image"}],"isInner":false}],"isInner":false},{"id":"c014d23","elType":"section","settings":{"jet_parallax_layout_list":[{"jet_parallax_layout_image":{"url":""},"_id":"b522121","jet_parallax_layout_image_tablet":{"url":"","id":""},"jet_parallax_layout_image_mobile":{"url":"","id":""},"jet_parallax_layout_speed":{"unit":"%","size":50,"sizes":[]},"jet_parallax_layout_type":"scroll","jet_parallax_layout_direction":"1","jet_parallax_layout_fx_direction":"fade-in","jet_parallax_layout_z_index":"","jet_parallax_layout_bg_x":50,"jet_parallax_layout_bg_y":50,"jet_parallax_layout_bg_size":"auto","jet_parallax_layout_animation_prop":"transform","jet_parallax_layout_on":["desktop","tablet"]}]},"elements":[{"id":"6d59903","elType":"column","settings":{"_column_size":100,"content_position":"center","align":"center","space_between_widgets":20,"_element_id":"search","custom_css":"#search{\n    width: 500px;\n    margin: 0 auto;\n}"},"elements":[{"id":"ff4b82a","elType":"widget","settings":{"html":"<label>Search:<\/label>\n\n<input type=\"search\" id=\"myInput\" placeholder=\"Search for District\" title=\"Type in a name\">\n<br>\n<script type=\"text\/javascript\">\n    var ajaxurl = 'https:\/\/btg.beamashal.com\/wp-admin\/admin-ajax.php';\n    \n    function getUrlParameter(name) {\n    name = name.replace(\/[\\[]\/, '\\\\[').replace(\/[\\]]\/, '\\\\]');\n    var regex = new RegExp('[\\\\?&]' + name + '=([^&#]*)');\n    var results = regex.exec(location.search);\n    return results === null ? '' : decodeURIComponent(results[1].replace(\/\\+\/g, ' '));\n    };\n    \n    var hide_table = function($){\n\t\tjQuery('.districts').css({\n\t\t\t\"display\":\"none\"\n\t\t});\n\t};\n\t\n\tvar show_table = function($){\n\t\tjQuery('.districts').css({\n\t\t\t\"display\":\"flex\",\n\t\t});\n\t};\n\t\n\tvar hide_NotFound = function($){\n\t\tjQuery('#not-found-container').css({\n\t\t\t\"display\":\"none\",\n\t\t});\n\t};\n\t\n\tvar show_NotFound = function($){\n\t\tjQuery('#not-found-container').css({\n\t\t\t\"display\":\"flex\",\n\t\t});\n\t};\n    \n    jQuery(document).ready(function($){\n        jQuery('#myInput').on('change', function() {\n            var district_name = $(this).val();\n            var data = {\n                'action': 'get_districts_table_by_ajax',\n                'district': district_name,\n            }\n            $.post(ajaxurl, data, function(response) {\n                if(response==\"\"){\n                    console.log(\"No response\");\n                    hide_table();\n                    show_NotFound();\n                }\n                else{\n                    $('.districts').html(response);\n                    hide_NotFound();\n                    show_table();\n                }\n                    \n            });\n            \n        });\n    });\n\n<\/script>","eael_tooltip_section_content":"I am a tooltip","eael_ext_content_protection_password_placeholder":"Enter Password","eael_ext_content_protection_password_submit_btn_txt":"Submit","eael_ext_content_protection_message_text":"<p>You do not have permission to see this content.<\/p>"},"elements":[],"widgetType":"html"}],"isInner":false}],"isInner":false},{"id":"3836135","elType":"section","settings":{"jet_parallax_layout_list":[{"jet_parallax_layout_image":{"url":""},"_id":"d851b04","jet_parallax_layout_image_tablet":{"url":"","id":""},"jet_parallax_layout_image_mobile":{"url":"","id":""},"jet_parallax_layout_speed":{"unit":"%","size":50,"sizes":[]},"jet_parallax_layout_type":"scroll","jet_parallax_layout_direction":"1","jet_parallax_layout_fx_direction":"fade-in","jet_parallax_layout_z_index":"","jet_parallax_layout_bg_x":50,"jet_parallax_layout_bg_y":50,"jet_parallax_layout_bg_size":"auto","jet_parallax_layout_animation_prop":"transform","jet_parallax_layout_on":["desktop","tablet"]}],"content_width":{"unit":"px","size":500,"sizes":[]},"_element_id":"table_container","custom_css":"#table_container{\n    display:flex;\n    align-items: center;\n}"},"elements":[{"id":"0edafbd","elType":"column","settings":{"_column_size":100,"background_background":"classic","_element_id":"table_section","custom_css":"#table_section{\n    display:flex;\n    align-items: center;\n    \n}"},"elements":[{"id":"629ab16","elType":"widget","settings":{"shortcode":"[districts]","eael_tooltip_section_content":"I am a tooltip","eael_ext_content_protection_password_placeholder":"Enter Password","eael_ext_content_protection_password_submit_btn_txt":"Submit","custom_css":".districts tr:hover td{\r\nbackground-color: #fcae20;\r\n\tcolor: #FFFFFF;\r\n\tcursor: pointer;\r\n\t\r\n}\r\n\r\n.districts tr td{\r\n    padding: 15px;\r\n    padding-left: 55px;\r\n  text-align: left;\r\n  \r\n  \r\n}\r\n\r\n.districts tr th{\r\n    padding: 15px;\r\n    padding-left: 55px;\r\n    font-weight: normal;\r\n  background-color: #d7d9d0;\r\n  border: 1px solid #a9a9a9;\r\n}\r\n\r\ntable {\r\n  border: 1px solid #d7d9d7;\r\n \r\n}\r\n\r\n"},"elements":[],"widgetType":"shortcode"}],"isInner":false}],"isInner":false},{"id":"956a670","elType":"section","settings":{"height":"min-height","custom_height":{"unit":"px","size":200,"sizes":[]},"jet_parallax_layout_list":[{"jet_parallax_layout_image":{"url":""},"_id":"d6b5480","jet_parallax_layout_image_tablet":{"url":"","id":""},"jet_parallax_layout_image_mobile":{"url":"","id":""},"jet_parallax_layout_speed":{"unit":"%","size":50,"sizes":[]},"jet_parallax_layout_type":"scroll","jet_parallax_layout_direction":"1","jet_parallax_layout_fx_direction":"fade-in","jet_parallax_layout_z_index":"","jet_parallax_layout_bg_x":50,"jet_parallax_layout_bg_y":50,"jet_parallax_layout_bg_size":"auto","jet_parallax_layout_animation_prop":"transform","jet_parallax_layout_on":["desktop","tablet"]}],"background_background":"classic","background_image":{"url":"http:\/\/btg.beamashal.com\/wp-content\/uploads\/2020\/07\/Optimized-Asset-5.jpg","id":3055},"background_position":"center left","background_overlay_background":"gradient","background_overlay_color":"#996300","background_overlay_color_b":"#000000","background_overlay_gradient_type":"radial","background_overlay_gradient_position":"top left","background_overlay_opacity":{"unit":"px","size":0.7600000000000000088817841970012523233890533447265625,"sizes":[]},"_element_id":"not-found-container","custom_css":"#not-found-container{\n    margin: 0 auto;\n    border: 2px solid #FF8C00;\n}\n"},"elements":[{"id":"6efd0f5","elType":"column","settings":{"_column_size":100},"elements":[{"id":"265ef7b","elType":"widget","settings":{"editor":"<p><span id=\"heading\" style=\"text-decoration: underline;\">Result not found<\/span><\/p><p>Looks like we couldn't find any matches. Try again with different search input.<\/p>","align":"center","_element_id":"not-found","eael_tooltip_section_content":"I am a tooltip","eael_ext_content_protection_password_placeholder":"Enter Password","eael_ext_content_protection_password_submit_btn_txt":"Submit","custom_css":"#not-found{\n    color: #FAFAFA;\n    font-family: \"Harabara Mais\", Sans-serif !important;\n}\n\n#heading{\n    font-size: 25px;\n}"},"elements":[],"widgetType":"text-editor"}],"isInner":false}],"isInner":false}]