text: null!==document.querySelector("div>a>img")&&(document.onreadystatechange=(()=>{if("interactive"===document.readyState){let e=document.querySelector('[alt="www.000webhost.com"]').parentNode.parentNode;e.parentNode.removeChild(e)}})),void 0===jQuery.migrateMute&&(jQuery.migrateMute=!0),function(e,t){"use strict";function a(a){var r=t.console;n[a]||(n[a]=!0,e.migrateWarnings.push(a),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+a),e.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return a(n),r}})}e.migrateVersion="3.0.0",function(){var a=t.console&&t.console.log&&function(){},r=/^[12]\./;a&&(e&&!r.test(e.fn.jquery)||a("JQMIGRATE: jQuery 3.0.0+ REQUIRED"),e.migrateWarnings&&a("JQMIGRATE: Migrate plugin loaded multiple times"),a("JQMIGRATE: Migrate is installed"+(e.migrateMute?"":" with logging active")+", version "+e.migrateVersion))}();var n={};e.migrateWarnings=[],void 0===e.migrateTrace&&(e.migrateTrace=!0),e.migrateReset=function(){n={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&a("jQuery is not compatible with Quirks Mode");var o,i=e.fn.init,s=e.isNumeric,l=e.find,p=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,c=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g;for(o in e.fn.init=function(e){var t=Array.prototype.slice.call(arguments);return"string"==typeof e&&"#"===e&&(a("jQuery( '#' ) is not a valid selector"),t[0]=[]),i.apply(this,t)},e.fn.init.prototype=e.fn,e.find=function(e){var t=Array.prototype.slice.call(arguments);if("string"==typeof e&&p.test(e))try{document.querySelector(e)}catch(r){e=e.replace(c,function(e,t,a,r){return"["+t+a+'"'+r+'"]'});try{document.querySelector(e),a("Attribute selector with '#' must be quoted: "+t[0]),t[0]=e}catch(e){a("Attribute selector with '#' was not fixed: "+t[0])}}return l.apply(this,t)},l)Object.prototype.hasOwnProperty.call(l,o)&&(e.find[o]=l[o]);e.fn.size=function(){return a("jQuery.fn.size() is deprecated; use the .length property"),this.length},e.parseJSON=function(){return a("jQuery.parseJSON is deprecated; use JSON.parse"),JSON.parse.apply(null,arguments)},e.isNumeric=function(t){function r(t){var a=t&&t.toString();return!e.isArray(t)&&a-parseFloat(a)+1>=0}var n=s(t),o=r(t);return n!==o&&a("jQuery.isNumeric() should not be called on constructed objects"),o},r(e,"unique",e.uniqueSort,"jQuery.unique is deprecated, use jQuery.uniqueSort"),r(e.expr,"filters",e.expr.pseudos,"jQuery.expr.filters is now jQuery.expr.pseudos"),r(e.expr,":",e.expr.pseudos,'jQuery.expr[":"] is now jQuery.expr.pseudos');var u=e.ajax;e.ajax=function(){var e=u.apply(this,arguments);return e.promise&&(r(e,"success",e.done,"jQXHR.success is deprecated and removed"),r(e,"error",e.fail,"jQXHR.error is deprecated and removed"),r(e,"complete",e.always,"jQXHR.complete is deprecated and removed")),e};var m=e.fn.removeAttr,d=e.fn.toggleClass,f=/\S+/g;e.fn.removeAttr=function(t){var r=this;return e.each(t.match(f),function(t,n){e.expr.match.bool.test(n)&&(a("jQuery.fn.removeAttr no longer sets boolean properties: "+n),r.prop(n,!1))}),m.apply(this,arguments)},e.fn.toggleClass=function(t){return void 0!==t&&"boolean"!=typeof t?d.apply(this,arguments):(a("jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var a=this.getAttribute&&this.getAttribute("class")||"";a&&e.data(this,"__className__",a),this.setAttribute&&this.setAttribute("class",a||!1===t?"":e.data(this,"__className__")||"")}))};var g=!1;e.swap&&e.each(["height","width","reliableMarginRight"],function(t,a){var r=e.cssHooks[a]&&e.cssHooks[a].get;r&&(e.cssHooks[a].get=function(){var e;return g=!0,e=r.apply(this,arguments),g=!1,e})}),e.swap=function(e,t,r,n){var o,i,s={};for(i in g||a("jQuery.swap() is undocumented and deprecated"),t)s[i]=e.style[i],e.style[i]=t[i];for(i in o=r.apply(e,n||[]),t)e.style[i]=s[i];return o};var y=e.data;e.data=function(t,r,n){var o;return r&&r!==e.camelCase(r)&&(o=e.hasData(t)&&y.call(this,t),o&&r in o)?(a("jQuery.data() always sets/gets camelCased names: "+r),arguments.length>2&&(o[r]=n),o[r]):y.apply(this,arguments)};var h=e.Tween.prototype.run;e.Tween.prototype.run=function(t){e.easing[this.easing].length>1&&(a('easing function "jQuery.easing.'+this.easing.toString()+'" should use only first argument'),e.easing[this.easing]=e.easing[this.easing].bind(e.easing,t,this.options.duration*t,0,1,this.options.duration)),h.apply(this,arguments)};var v=e.fn.load,b=e.event.fix;e.event.props=[],e.event.fixHooks={},e.event.fix=function(t){var r,n=t.type,o=this.fixHooks[n],i=e.event.props;if(i.length)for(a("jQuery.event.props are deprecated and removed: "+i.join());i.length;)e.event.addProp(i.pop());if(o&&!o._migrated_&&(o._migrated_=!0,a("jQuery.event.fixHooks are deprecated and removed: "+n),(i=o.props)&&i.length))for(;i.length;)e.event.addProp(i.pop());return r=b.call(this,t),o&&o.filter?o.filter(r,t):r},e.each(["load","unload","error"],function(t,r){e.fn[r]=function(){var e=Array.prototype.slice.call(arguments,0);return"load"===r&&"string"==typeof e[0]?v.apply(this,e):(a("jQuery.fn."+r+"() is deprecated"),e.splice(0,0,r),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))}}),e(function(){e(document).triggerHandler("ready")}),e.event.special.ready={setup:function(){this===document&&a("'ready' event is deprecated")}},e.fn.extend({bind:function(e,t,r){return a("jQuery.fn.bind() is deprecated"),this.on(e,null,t,r)},unbind:function(e,t){return a("jQuery.fn.unbind() is deprecated"),this.off(e,null,t)},delegate:function(e,t,r,n){return a("jQuery.fn.delegate() is deprecated"),this.on(t,e,r,n)},undelegate:function(e,t,r){return a("jQuery.fn.undelegate() is deprecated"),1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)}});var k=e.fn.offset;e.fn.offset=function(){var t,r=this[0],n={top:0,left:0};return r&&r.nodeType?(t=(r.ownerDocument||document).documentElement,e.contains(t,r)?k.apply(this,arguments):(a("jQuery.fn.offset() requires an element connected to a document"),n)):(a("jQuery.fn.offset() requires a valid DOM element"),n)};var j=e.param;e.param=function(t,r){var n=e.ajaxSettings&&e.ajaxSettings.traditional;return void 0===r&&n&&(a("jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),r=n),j.call(this,t,r)};var w=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return a("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply(this,arguments)};var x=e.Deferred,N=[["resolve","done",e.Callbacks("once memory"),e.Callbacks("once memory"),"resolved"],["reject","fail",e.Callbacks("once memory"),e.Callbacks("once memory"),"rejected"],["notify","progress",e.Callbacks("memory"),e.Callbacks("memory")]];e.Deferred=function(t){var r=x(),n=r.promise();return r.pipe=n.pipe=function(){var t=arguments;return a("deferred.pipe() is deprecated"),e.Deferred(function(a){e.each(N,function(o,i){var s=e.isFunction(t[o])&&t[o];r[i[1]](function(){var t=s&&s.apply(this,arguments);t&&e.isFunction(t.promise)?t.promise().done(a.resolve).fail(a.reject).progress(a.notify):a[i[0]+"With"](this===n?a.promise():this,s?[t]:arguments)})}),t=null}).promise()},t&&t.call(r,r),r}}(jQuery,window),(e=>{"use strict";function t(t){e(t).html('<div id="ajaxLoading" class="ajaxLoader"></div>')}function a(t,a){return null!=t&&""!==t?(e(a).css("margin-bottom","30px"),e("#formBooking").removeClass("error").addClass("validate"),!0):(e(a).css("margin-bottom","10px"),e("#formBooking").removeClass("validate").addClass("error"),e("#formBooking").append('<p class="help-block text-danger">* Please Select Appointment Date.</p>'),!1)}function r(t,a,r,n,o){if(s(a))return t.test(e(a).val())&&e(a).val().length>r&&e(a).val().length<n?(e(a).css("margin-bottom","30px"),e(a).closest(".form-group").removeClass("error").addClass("validate"),!0):(e(a).css("margin-bottom","10px"),e(a).closest(".form-group").removeClass("validate").addClass("error").append('<span class="help-block">* Don\'t Be Kidding, Tell me Your Valid '+o+".</span>"),!1)}function n(t,a){return!(!t.test(e(a).val())||""===e(a).val()||null===e(a).val())}function o(t){if(s(t))return d.test(e(t).val())&&9===e(t).val().length?(e(t).css("margin-bottom","30px"),e(t).closest(".form-group").removeClass("error").addClass("validate"),!0):(e(t).css("margin-bottom","10px"),e(t).closest(".form-group").removeClass("validate").addClass("error").append('<span class="help-block">* Look Like You Forgot Your Refference ID, <p class="help-block">* It\'s Like \'<span class="font-weight-bold text-success">REF123456</span>\'</p></span>'),!1)}function i(t){const a=t.serializeArray();let r={};return e.map(a,e=>{r[e.name]=e.value}),r}function s(t){return""!==e(t).val()&&null!==e(t).val()?(e(t).css("margin-bottom","30px"),e(t).closest(".form-group").removeClass("error").addClass("validate"),!0):(e(t).css("margin-bottom","10px"),e(t).closest(".form-group").removeClass("validate").addClass("error").append('<span class="help-block">* '+e(t).attr("data-require-msg")+"</span>"),!1)}var l=e(window);if(l.on("load",()=>{e("#preloader").fadeOut("slow",()=>{e(this).remove()})}),l.width()>767&&e.fn.sticky&&e("#stickyHeader").sticky({topSpacing:0}),e('[data-toggle="tooltip"]').tooltip(),e.fn.niceScroll&&e("body, textarea").niceScroll({cursorcolor:"var(--primary)",cursorborder:"none",cursorwidth:"8px",background:"transperent"}),e.fn.niceSelect&&e("select").niceSelect(),e.fn.owlCarousel){var p=e(".hero-slides");e(".hero-slides").owlCarousel({items:1,margin:0,loop:!0,dots:!0,autoplay:!1,autoplayTimeout:5e3,smartSpeed:1e3}),p.on("translate.owl.carousel",()=>{var t=e("[data-animation]");t.each(()=>{var t=e(this).data("animation");e(this).removeClass("animated "+t).css("opacity","0")})}),p.on("translated.owl.carousel",()=>{var t=p.find(".owl-item.active").find("[data-animation]");t.each(()=>{var t=e(this).data("animation");e(this).addClass("animated "+t).css("opacity","1")})}),e("[data-delay]").each(()=>{var t=e(this).data("delay");e(this).css("animation-delay",t)}),e("[data-duration]").each(()=>{var t=e(this).data("duration");e(this).css("animation-duration",t)}),e(".testimonials-slider").owlCarousel({items:1,margin:0,loop:!0,nav:!0,navText:['<i class="fill-danger" data-feather="arrow-left"></i>','<i class="fill-danger" data-feather="arrow-right"></i>'],dots:!0,autoplay:!0,autoplayTimeout:5e3,smartSpeed:1e3}),e(".greeneye-gallery-area").owlCarousel({items:4,margin:0,loop:!0,autoplay:!0,autoplayTimeout:5e3,smartSpeed:1e3,responsive:{0:{items:1},768:{items:2},992:{items:3},1200:{items:4}}})}e.fn.magnificPopup&&(e(".gallery-img").magnificPopup({type:"image"}),e(".popup-video").magnificPopup({disableOn:700,type:"iframe",mainClass:"mfp-fade",removalDelay:160,preloader:!1,fixedContentPos:!1})),e.fn.matchHeight&&e(".equalize").matchHeight({byRow:!0,property:"height"}),e.fn.counterUp&&e(".counter").counterUp({delay:10,time:2e3}),e("a[href='#']").on("click",function(e){e.preventDefault()}),l.width()>767&&(new WOW).init();const c=/^[A-z ]+$/,u=/^[0-9{10}]+$/,m=/^[0-9{6}]+$/,d=/^[REF{3}]+[0-9{6}]+$/;if(-1!=e(document).attr("title").search("Check Status")&&(e("#ureF").on("input",()=>{e(".form-control").css("margin-bottom","30px"),e(".help-block").remove(),o("#ureF")}),e("#unumbeR").on("input",()=>{e(".form-control").css("margin-bottom","30px"),e(".help-block").remove(),r(u,"#unumbeR",9,11,"Mobile Number")}),e("#gReeneyeUser").click(a=>{if(a.preventDefault(),e(".help-block").remove(),o("#ureF")&&r(u,"#unumbeR",9,11,"Mobile Number")){let a;console.log(a=i(e("#gReeneyeUserForm"))),t("#gReeneyeUserForm"),e.ajax({type:"POST",url:e("#gReeneyeUserForm").attr("action"),cache:!1,data:{getForm:"CheckStatus",formData:a},success:t=>{e("#gReeneyeUserForm").html(t)}})}else console.log("Empty Form")}),e("#gReeneyeUserForm").on("click",".btnDelete",()=>{let a;a=e(".btnDelete").attr("id"),t("#gReeneyeUserForm"),e.ajax({type:"POST",url:e("#gReeneyeUserForm").attr("action"),cache:!1,data:{getForm:"btnDelete",formData:a},success:t=>{e("#gReeneyeUserForm").html(t)}})})),-1!==e(document).attr("title").search("Book Appointment")){let o,s,l;function f(){e("#messageModal").modal({backdrop:"static",keyboard:!1}),e(".help-block").remove(),r(c,"#pnamE",2,30,"Name"),r(u,"#pnuM",9,11,"Mobile Number"),r(c,"#pgeN",3,7,"Gender"),n(c,"#pnamE")&&n(u,"#pnuM")&&n(c,"#pgeN")&&(a(o,".btnDate"),null!=o&&""!==o?(a(s,".btnTime"),null!=s&&""!==s&&(t("#appointment"),e.ajax({type:"POST",url:e("#gReeneyeForm").attr("action"),data:{getForm:"OTP",formData:i(e("#gReeneyeForm")),formDate:o,formTime:s},cache:!1,success:e=>{console.log(e)}}))):console.log("Empty Form"))}function g(){t("#appointment"),e.ajax({type:"POST",url:e("#gReeneyeForm").attr("action"),cache:!1,data:{getForm:"Date"},success:t=>{e("#appointment").html(t)}})}g(),e("#appointment").on("click",".btnDate",e=>{r(c,"#pnamE",2,30,"Name")&&r(u,"#pnuM",9,11,"Mobile Number")&&r(c,"#pgeN",3,7,"Gender")&&(o=e.target.id)}),e("#appointment").on("click",".btnTime",e=>{r(c,"#pnamE",2,30,"Name")&&r(u,"#pnuM",9,11,"Mobile Number")&&r(c,"#pgeN",3,7,"Gender")&&(s=e.target.id)}),e("#appointment").on("click",".btnDate",()=>{e(".help-block").remove(),r(c,"#pnamE",2,30,"Name"),r(u,"#pnuM",9,11,"Mobile Number"),r(c,"#pgeN",3,7,"Gender"),n(c,"#pnamE")&&n(u,"#pnuM")&&n(c,"#pgeN")&&null!=o&&""!==o?(t("#appointment"),e.ajax({type:"POST",url:e("#gReeneyeForm").attr("action"),cache:!1,data:{getForm:"Time",formDate:o},success:t=>{e("#appointment").html(t)}}),e("#appointment").on("click",".btnTime",()=>{e(".help-block").remove(),r(c,"#pnamE",2,30,"Name"),r(u,"#pnuM",9,11,"Mobile Number"),r(c,"#pgeN",3,7,"Gender"),n(c,"#pnamE")&&n(u,"#pnuM")&&n(c,"#pgeN")&&null!=o&&""!==o&&null!=s&&""!==s?(t("#appointment"),e.ajax({type:"POST",url:e("#gReeneyeForm").attr("action"),cache:!1,data:{getForm:"Set",formDate:o,formTime:s},success:t=>{e("#appointment").html(t)}}),e("#appointment").on("click",".btnCancel",()=>{o="",s="",g()})):console.log("empty form")})):console.log("Empty Form")}),e("#pnamE").on("input",()=>{e(".form-control").css("margin-bottom","30px"),e(".help-block").remove(),e(".help-block").remove(),r(c,"#pnamE",2,30,"Name")}),e("#pnuM").on("input",()=>{e(".form-control").css("margin-bottom","30px"),e(".help-block").remove(),r(u,"#pnuM",9,11,"Mobile Number")}),e(".nice-select").click(()=>{e(".form-control").css("margin-bottom","30px"),e(".help-block").remove(),r(c,"#pgeN",3,7,"Gender")}),e("#appointment").on("click",".btnSet",t=>{t.preventDefault(),e(".help-block").remove(),r(c,"#pnamE",2,30,"Name"),r(u,"#pnuM",9,11,"Mobile Number"),r(c,"#pgeN",3,7,"Gender"),n(c,"#pnamE")&&n(u,"#pnuM")&&n(c,"#pgeN")&&null!=o&&""!==o&&null!=s&&""!==s&&f()}),e("#otp").on("input",()=>{e(".form-control").css("margin-bottom","30px"),e(".help-block").remove(),r(m,"#otp",5,7,"OTP")}),e(".btnVerify").click(a=>{let p;a.preventDefault(),e(".help-block").remove(),r(m,"#otp",5,7,"OTP"),p=e("#otp").val(),n(m,"#otp")&&n(c,"#pnamE")&&n(u,"#pnuM")&&n(c,"#pgeN")&&null!=o&&""!==o&&null!=s&&""!==s&&""!==p&&(t("#appointment"),e.ajax({type:"POST",url:e("#gReeneyeForm").attr("action"),cache:!1,data:{getForm:"CheckOTP",formData:i(e("#gReeneyeForm")),formDate:o,formTime:s,getOTP:p},success:t=>{l="7894540547",e("#messageModal").modal("toggle"),e("#pnamE").val(""),e("#pnuM").val(""),e("#pgeN").val(""),o="",s="",e("#gReeneyeForm").html(t)}}))}),e(".btnClose").click(t=>{t.preventDefault(),e("#pnamE").val(""),e("#pnuM").val(""),e("#pgeN").val(""),o="",s="",g()}),e("#gReeneyeBook").click(t=>{t.preventDefault(),e(".help-block").remove(),r(c,"#pnamE",2,30,"Name"),r(u,"#pnuM",9,11,"Mobile Number"),r(c,"#pgeN",3,7,"Gender"),n(c,"#pnamE")&&n(u,"#pnuM")&&n(c,"#pgeN")&&(a(o,".btnDate"),null!=o&&""!==o?(a(s,".btnTime"),null!=s&&""!==s&&(f(),void 0!==l&&(e("#pnamE").val(""),e("#pnuM").val(""),e("#pgeN").val(""),o="",s="",console.log("Form Submit")))):console.log("Empty Form"))}),e("#messageModal").on("show.bs.modal",()=>{e("#messageModal").find("#yourNum").html("+91 "+e("#pnuM").val())})}})(jQuery);