!function(){function e(e){var n,t=null===(n=e.get("settings"))||void 0===n?void 0:n.get("form_list");if(t&&"0"!==t){var o=document.querySelector("#elementor-panel");if(o){var i=o.querySelectorAll(".fluentform-edit-link"),r=function(e){var n,t=(null===(n=window.fluentformElementor)||void 0===n?void 0:n.adminUrl)||"/wp-admin/admin.php",o=new URLSearchParams({page:"fluent_forms",route:"editor",form_id:e});return t+"?"+o.toString()}(t);i.forEach(function(e){e.href=r,e.setAttribute("data-form-id",t)})}}}document.addEventListener("DOMContentLoaded",function(){window.elementor&&elementor.hooks&&elementor.hooks.addAction("panel/open_editor/widget/fluent-form-widget",function(n,t){e(t),t.get("settings").on("change:form_list",function(){e(t)})})})}();
(()=>{function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function t(t){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?e(Object(i),!0).forEach(function(e){n(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function n(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}jQuery(document).ready(function(){window.fluentFormrecaptchaSuccessCallback=function(e){if(window.innerWidth<768&&/iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream){var t=jQuery(".g-recaptcha").filter(function(t,n){return grecaptcha.getResponse(t)==e});t.length&&jQuery("html, body").animate({scrollTop:t.first().offset().top-jQuery(window).height()/2},0)}},window.ffValidationError=function(){var e=function(){};return(e.prototype=Object.create(Error.prototype)).constructor=e,e}(),window.ff_helper={numericVal:function(e){if(e.hasClass("ff_numeric")){var t=JSON.parse(e.attr("data-formatter"));return currency(e.val(),t).value}return e.val()||0},formatCurrency:function(e,t){if(e.hasClass("ff_numeric")){var n=JSON.parse(e.attr("data-formatter"));return currency(t,n).format()}return t}},function(e,n){e||(e={}),e.stepAnimationDuration=parseInt(e.stepAnimationDuration);var i={};window.fluentFormApp=function(t){var a=t.attr("data-form_instance");a=a?a.replace(/[^a-zA-Z0-9_-]/g,""):"";var f=window["fluent_form_"+a],s=f&&"object"===r(f)?f:null;if(!s)return console.log("No Fluent form JS vars found!"),!1;if(i[a])return i[a];var c,l,u,d,h,p,m,v,g,_,w,y,b,k,C,x,j,S,T,O,Q,E,A,F,P,D=s.form_id_selector,N="."+a;return c=o,l={},u=!1,d=function(){return n("body").find("form"+N)},p=function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"next";t.trigger("update_slider",{goBackToStep:e,animDuration:n,isScrollTop:r,actionType:i})},m=function(e){try{var t=e.find(":input").filter(function(e,t){return"repeater_container"===n(t).attr("data-type")?!n(t).closest(".ff-repeater-container").hasClass("ff_excluded")&&(n(this).closest(".has-conditions").hasClass("ff_excluded")&&n(this).val(""),!0):!n(t).closest(".has-conditions").hasClass("ff_excluded")});C(t);var r=t.serializeArray(),i=r.map(function(e){return e.name});t=t.filter(function(){return!n(this).closest(".ff-el-input--content").find("table").length});var a={};t.each(function(){var t=n(this).attr("name");i.includes(t)||(n(this).is(":checkbox")||n(this).is(":radio"))&&(a[t]||e.find('input[name="'+t+'"]:checked').length||(r.push({name:t,value:""}),a[t]=!0))});var o={data:n.param(n.map(r,function(e){return{name:e.name,value:e.value}})),action:"fluentform_submit",form_id:e.data("form_id")};if(n.each(e.find("[type=file]"),function(e,t){var r={},i=t.name+"[]";r[i]=[],n(t).closest("div").find(".ff-uploaded-list").find(".ff-upload-preview[data-src]").each(function(e,t){r[i][e]=n(this).data("src")}),n.each(r,function(e,t){if(t.length){var r={};r[e]=t,o.data+="&"+n.param(r)}})}),e.find(".ff_uploading").length){var f=n("<div/>",{class:"error text-danger"}),c=n("<span/>",{class:"error-clear",html:"&times;",click:function(e){return n(N+"_errors").html("")}}),u=n("<span/>",{class:"error-text",text:(m="file_upload_in_progress",_="File upload in progress. Please wait...",w="fluentform_submission_messages_"+s.id,window[w]&&window[w][m]?window[w][m]:_)});return n(N+"_errors").html(f.append(u,c)).show()}if(e.find(".ff-el-recaptcha.g-recaptcha").length){var d=e.find(".ff-el-recaptcha.g-recaptcha").data("g-recaptcha_widget_id");void 0!==d&&(o.data+="&"+n.param({"g-recaptcha-response":grecaptcha.getResponse(d)}))}if(e.find(".ff-el-hcaptcha.h-captcha").length){var h=e.find(".ff-el-hcaptcha.h-captcha").data("h-captcha_widget_id");void 0!==h&&(o.data+="&"+n.param({"h-captcha-response":hcaptcha.getResponse(h)}))}if(e.find(".ff-el-turnstile.cf-turnstile").length){var p=e.find(".ff-el-turnstile.cf-turnstile").data("cf-turnstile_widget_id");void 0!==p&&(o.data+="&"+n.param({"cf-turnstile-response":turnstile.getResponse(p)}))}n(N+"_success").remove(),n(N+"_errors").html(""),e.find(".error").html(""),e.parent().find(".ff-errors-in-stack").hide(),function(e,t){var n=[],r=l;return e.hasClass("ff_has_v3_recptcha")&&(r.ff_v3_recptcha=function(e,t){var n=jQuery.Deferred(),r=e.data("recptcha_key");return grecaptcha.execute(r,{action:"submit"}).then(function(e){t.data+="&"+jQuery.param({"g-recaptcha-response":e}),n.resolve()}),n.promise()}),jQuery.each(r,function(r,i){n.push(i(e,t))}),jQuery.when.apply(jQuery,n)}(e,o).then(function(){g(e),v(e,o)})}catch(t){if(!(t instanceof ffValidationError))throw t;e.trigger("fluentform_validation_failed",{form:e,response:t.messages}),x(t.messages),b(350)}var m,_,w},v=function(t,r){var i,a,o,f=(i="t="+Date.now(),a=e.ajaxUrl,a+=(a.split("?")[1]?"&":"?")+i);u||(u=!0,n.post(f,r).then(function(r){if(!r||!r.data||!r.data.result)return t.trigger("fluentform_submission_failed",{form:t,response:r}),void x(r);if(o=r,r.data.append_data&&F(r.data.append_data),r.data.nextAction)t.trigger("fluentform_next_action_"+r.data.nextAction,{form:t,response:r});else{t.triggerHandler("fluentform_submission_success",{form:t,config:s,response:r}),jQuery(document.body).trigger("fluentform_submission_success",{form:t,config:s,response:r});var i=new CustomEvent("fluentform_submission_success",{detail:{form:t[0],config:s,response:r}});if(document.dispatchEvent(i),"redirectUrl"in r.data.result)return r.data.result.message&&(n("<div/>",{id:D+"_success",class:"ff-message-success",role:"status","aria-live":"polite"}).html(r.data.result.message).insertAfter(t).focus(),t.find(".ff-el-is-error").removeClass("ff-el-is-error")),setTimeout(function(){_(t)},500),void(location.href=r.data.result.redirectUrl);var a=D+"_success",f="#"+a;n(f).length&&n(f).slideUp("fast"),n("<div/>",{id:a,class:"ff-message-success",role:"status","aria-live":"polite"}).html(r.data.result.message).insertAfter(t).focus(),t.find(".ff-el-is-error").removeClass("ff-el-is-error"),"hide_form"==r.data.result.action?(t.hide().addClass("ff_force_hide"),t[0].reset()):(jQuery(document.body).trigger("fluentform_reset",[t,s]),t[0].reset());var c=n(f);c.length&&!k(c[0])&&n("html, body").animate({scrollTop:c.offset().top-(n("#wpadminbar")?32:0)-20},e.stepAnimationDuration)}}).fail(function(n){t.trigger("fluentform_submission_failed",{form:t,response:n});var r=new CustomEvent("fluentform_submission_failed",{detail:{form:t[0],response:n,config:s}});if(document.dispatchEvent(r),n&&n.responseJSON&&(n.responseJSON.data||n.responseJSON.errors)){if(o=n,n.responseJSON.append_data&&F(n.responseJSON.append_data),x(n.responseJSON.errors||n.responseJSON.data),b(350),t.find(".fluentform-step").length){var i=t.find(".error").not(":empty:first").closest(".fluentform-step");if(i.length){var a=i.index();p(a,e.stepAnimationDuration,!1)}}_(t)}else x(n.responseText)}).always(function(e){var n;if(u=!1,null===(n=o)||void 0===n||null===(n=n.data)||void 0===n||null===(n=n.result)||void 0===n||!n.hasOwnProperty("redirectUrl")){if(_(t),window.grecaptcha){var r=t.find(".ff-el-recaptcha.g-recaptcha").data("g-recaptcha_widget_id");void 0!==r&&grecaptcha.reset(r)}if(window.hcaptcha){var i=t.find(".ff-el-hcaptcha.h-captcha").data("h-captcha_widget_id");void 0!==i&&hcaptcha.reset(i)}if(window.turnstile){var a=t.find(".ff-el-turnstile.cf-turnstile").data("cf-turnstile_widget_id");void 0!==a&&turnstile.reset(a)}}}))},w=function(){"yes"!=t.attr("data-ff_reinit")&&(n(document).on("submit",N,function(e){e.preventDefault(),window.ff_sumitting_form||(window.ff_sumitting_form=!0,setTimeout(function(){window.ff_sumitting_form=!1},1500),m(n(this)))}),n(document).on("reset",N,function(r){!function(r){n(".ff-step-body",t).length&&p(0,e.stepAnimationDuration,!1),r.find(".ff-el-repeat .ff-t-cell").each(function(){n(this).find("input").not(":first").remove()}),r.find(".ff-el-repeat .ff-el-repeat-buttons-list").find(".ff-el-repeat-buttons").not(":first").remove();var i=r.find("input[type=checkbox],input[type=radio]");i.length&&i.each(function(e,t){(t=n(t)).prop("defaultChecked")?t.closest(".ff-el-form-check").addClass("ff_item_selected"):t.closest(".ff-el-form-check.ff_item_selected").removeClass("ff_item_selected")}),r.find("input[type=file]").closest("div").find(".ff-uploaded-list").html("").end().closest("div").find(".ff-upload-progress").addClass("ff-hidden").find(".ff-el-progress-bar").css("width","0%");var a=r.find('input[type="range"]');a.length&&a.each(function(e,t){(t=n(t)).val(t.data("calc_value")).change()}),n.each(s.conditionals,function(e,t){n.each(t.conditions,function(e,t){y(O(t.field))})})}(n(this))}),n(document).on("keydown",N+' input[type="radio"], '+N+' input[type="checkbox"]',function(e){if("Enter"===e.key)return e.preventDefault(),"radio"===n(this).attr("type")?n(this).prop("checked",!0):"checkbox"===n(this).attr("type")&&n(this).prop("checked",!n(this).prop("checked")),n(this).trigger("change"),e.stopPropagation(),!1}))},y=function(e){var t=e.prop("type");null!=t&&("checkbox"==t||"radio"==t?e.each(function(e,t){var r=n(this);r.prop("checked",r.prop("defaultChecked"))}):t.startsWith("select")?e.find("option").each(function(e,t){var r=n(this);r.prop("selected",r.prop("defaultSelected"))}):e.val(e.prop("defaultValue")),e.trigger("change"))},b=function(e){var r=s.settings.layout.errorMessagePlacement;if(r&&"stackToBottom"!=r){var i=t.find(".ff-el-is-error").first();i.length&&!k(i[0])&&n("html, body").delay(e).animate({scrollTop:i.offset().top-(n("#wpadminbar")?32:0)-20},e)}},k=function(e){if(!e)return!0;var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=n(window).height()&&t.right<=n(window).width()},x=function(e){if(t.parent().find(".ff-errors-in-stack").empty(),e)if("string"!=typeof e){var r=s.settings.layout.errorMessagePlacement;if(!r||"stackToBottom"==r)return j(e),!1;t.find(".error").empty(),t.find(".ff-el-group").removeClass("ff-el-is-error"),n.each(e,function(e,t){"string"==typeof t&&(t=[t]),n.each(t,function(t,n){S(e,n)})})}else j({error:[e]})},j=function(e){var t=d(),r=t.parent().find(".ff-errors-in-stack");e&&(n.isEmptyObject(e)||(n.each(e,function(e,i){"string"==typeof i&&(i=[i]),n.each(i,function(i,a){var o=n("<div/>",{class:"error text-danger"}),f=n("<span/>",{class:"error-clear",html:"&times;"}),s=n("<span/>",{class:"error-text","data-name":O(e).attr("name"),html:a});o.attr("role","alert"),o.append(s,f),n(document.body).trigger("fluentform_error_in_stack",{form:t,element:O(e),message:s}),r.append(o).show()});var a=O(e);if(a){var o=a.attr("name");a.attr("aria-invalid","true");var f=n("[name='"+o+"']").first();f&&f.closest(".ff-el-group").addClass("ff-el-is-error")}}),k(r[0])||n("html, body").animate({scrollTop:r.offset().top-100},350),r.on("click",".error-clear",function(){n(this).closest("div").remove(),r.hide()}).on("click",".error-text",function(){var e=n("[name='".concat(n(this).data("name"),"']")).first();n("html, body").animate({scrollTop:e.offset()&&e.offset().top-100},350,function(t){return e.focus()})})))},S=function(e,r){var i,a;(i=O(e)).length?(i.attr("aria-invalid","true"),(a=n("<div/>",{class:"error text-danger"})).attr("role","alert"),i.closest(".ff-el-group").addClass("ff-el-is-error"),i.closest(".ff-el-input--content").length?(i.closest(".ff-el-input--content").find("div.error").remove(),n(document.body).trigger("fluentform_error_below_element",{form:t,element:i,message:r}),i.closest(".ff-el-input--content").append(a.html(r))):(i.find("div.error").remove(),i.append(a.text(r)))):j([r])},T=function(){t.find(".ff-el-group,.ff_repeater_table, .ff_repeater_container").on("change","input,select,textarea",function(){if(!window.ff_disable_error_clear){n(this).attr("aria-invalid","false");var e=s.settings.layout.errorMessagePlacement;if(e||"stackToBottom"!=e){var t=n(this).closest(".ff-el-group");t.hasClass("ff-el-is-error")&&t.removeClass("ff-el-is-error").find(".error.text-danger").remove()}}})},O=function(e){var t=d(),r=n("[data-name='"+e+"']",t);return(r=r.length?r:n("[name='"+e+"']",t)).length?r:n("[name='"+e+"[]']",t)},Q=function(){t.find(".ff-el-recaptcha.g-recaptcha").length&&window.grecaptcha&&"function"==typeof window.grecaptcha.ready&&window.grecaptcha.ready(function(){t.find(".ff-el-recaptcha.g-recaptcha").each(function(){E("g-recaptcha",n(this),grecaptcha.render)})}),t.find(".ff-el-turnstile.cf-turnstile").length&&window.turnstile&&"function"==typeof window.turnstile.ready&&window.turnstile.ready(function(){t.find(".ff-el-turnstile.cf-turnstile").each(function(){E("cf-turnstile",n(this),turnstile.render)})}),t.find(".ff-el-hcaptcha.h-captcha").length&&window.hcaptcha&&t.find(".ff-el-hcaptcha.h-captcha").each(function(){E("h-captcha",n(this),hcaptcha.render)})},E=function(e,t,n){var r=t.data("sitekey"),i=t.attr("id"),a="data-".concat(e,"_widget_id");try{var o=t.attr(a);if("g-recaptcha"===e||"h-captcha"===e){if(o&&t.find("iframe").length>0)return}else if("cf-turnstile"===e){var f=t.find('input[name="cf-turnstile-response"]');if(f.length&&f.val())return;var s=t.attr(a);s&&window.turnstile&&turnstile.remove(s)}var c=i;"cf-turnstile"===e&&(c="#"+i),o=n(c,{sitekey:r}),t.attr(a,o)}catch(t){console.error("Error rendering ".concat(e,":"),t)}},A=function(e,t,n){var r="data-".concat(e,"_widget_id"),i=t.attr(r);if(i)try{return n(i),!0}catch(n){console.error("Error resetting ".concat(e,":"),n),t.removeAttr(r).removeData("".concat(e,"-rendered"))}return!1},F=function(e){jQuery.each(e,function(e,r){if(r){var i=t.find("input[name="+e+"]");i.length?i.attr("value",r):n("<input>").attr({type:"hidden",name:e,value:r}).appendTo(t)}})},P={initFormHandlers:function(){w(),h(),T(),t.removeClass("ff-form-loading").addClass("ff-form-loaded"),t.on("show_element_error",function(e,t){S(t.element,t.message)})},registerFormSubmissionHandler:w,maybeInlineForm:h=function(){t.hasClass("ff-form-inline")&&t.find("button.ff-btn-submit").css("height","50px")},reinitExtras:function(){t.find(".ff-el-recaptcha.g-recaptcha").length&&window.grecaptcha&&"function"==typeof window.grecaptcha.ready&&window.grecaptcha.ready(function(){t.find(".ff-el-recaptcha.g-recaptcha").each(function(){var e=n(this);A("g-recaptcha",e,grecaptcha.reset)||E("g-recaptcha",e,grecaptcha.render)})}),t.find(".ff-el-turnstile.cf-turnstile").length&&window.turnstile&&"function"==typeof window.turnstile.ready&&window.turnstile.ready(function(){t.find(".ff-el-turnstile.cf-turnstile").each(function(){var e=n(this);A("cf-turnstile",e,turnstile.reset)||E("cf-turnstile",e,turnstile.render)})}),t.find(".ff-el-hcaptcha.h-captcha").length&&window.hcaptcha&&t.find(".ff-el-hcaptcha.h-captcha").each(function(){var e=n(this);A("h-captcha",e,hcaptcha.reset)||E("h-captcha",e,hcaptcha.render)})},initTriggers:function(){t=d(),jQuery(document.body).trigger("fluentform_init",[t,s]),jQuery(document.body).trigger("fluentform_init_"+s.id,[t,s]),t.trigger("fluentform_init_single",[this,s]),t.find("input.ff-el-form-control").on("keypress",function(e){return 13!==e.which}),t.data("is_initialized","yes"),t.find("input.ff-read-only").each(function(){n(this).attr({tabindex:"-1",readonly:"readonly"})}),t.find(".ff-el-tooltip").on("mouseenter",function(e){var r=n(this).data("content"),i=n(".ff-el-pop-content");i.length||(n("<div/>",{class:"ff-el-pop-content"}).appendTo(document.body),i=n(".ff-el-pop-content")),r=r.replace(/<script[^]*?>[^]*?<\/script>/gi,"").replace(/<iframe[^]*?>[^]*?<\/iframe>/gi,"").replace(/<.*?\bon\w+=["'][^"']*["']/gi,"").replace(/javascript:/gi,""),i.html(r);var a=t.innerWidth()-20;i.css("max-width",a);var o=n(this).offset().left,f=i.outerWidth(),s=i.outerHeight(),c=o-f/2+10;c<15&&(c=15),i.css("top",n(this).offset().top-s-5),i.css("left",c)}),t.find(".ff-el-tooltip").on("mouseleave",function(){n(".ff-el-pop-content").remove()}),n(document).on("lity:open",function(){var e;null===(e=window.turnstile)||void 0===e||e.remove(),Q()}),t.one("focus",'input, select, textarea, input[type="checkbox"], input[type="radio"]',function(){t.trigger("fluentform_first_interaction")}),t.on("fluentform_first_interaction",function(){Q()}),t.on("ff_to_next_page ff_to_prev_page",function(e){Q()}),Q()},validate:C=function(e){e.length||(e=n("form.frm-fluent-form").find(":input").not(":button").filter(function(e,t){return!n(t).closest(".has-conditions").hasClass("ff_excluded")})),e.each(function(e,t){n(t).closest(".ff-el-group").removeClass("ff-el-is-error").find(".error").remove()}),c().validate(e,s.rules)},showErrorMessages:x,scrollToFirstError:b,settings:s,formSelector:N,sendData:v,addGlobalValidator:function(e,t){l[e]=t},config:s,showFormSubmissionProgress:g=function(e){e.addClass("ff_submitting"),e.find(".ff-btn-submit").addClass("disabled").addClass("ff-working").prop("disabled",!0)},addFieldValidationRule:function(e,t,n){s.rules[e]||(s.rules[e]={}),s.rules[e][t]=n},removeFieldValidationRule:function(e,t){e in s.rules&&t in s.rules[e]&&delete s.rules[e][t]},hideFormSubmissionProgress:_=function(e){e.removeClass("ff_submitting"),e.find(".ff-btn-submit").removeClass("disabled").removeClass("ff-working").attr("disabled",!1),t.parent().find(".ff_msg_temp").remove()}},i[a]=P,P};var a={init:function(){var e=this;setTimeout(function(){e.initMultiSelect()},100),this.initMask(),this.initNumericFormat(),this.initCheckableActive(),this.maybeInitSpamTokenProtection(),this.maybeHandleCleanTalkSubmitTime(),this.initOtherOptionHandlers()},maybeInitSpamTokenProtection:function(){var e=this;jQuery("form.frm-fluent-form").each(function(t,n){var r=jQuery(n),i=r.find(".fluent-form-token-field");if(0!==i.length&&!r.hasClass("ff_tokenizing")&&!r.hasClass("ff_tokenized")){var a=function(){r.hasClass("ff_tokenized")||r.hasClass("ff_tokenizing")||(r.addClass("ff_tokenizing"),e.generateAndSetToken(r,i))};r.one("ff_to_next_page ff_to_prev_page",function(e){a()}),r.on("fluentform_first_interaction",function(){a()})}})},generateAndSetToken:function(t,n){var r,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=t.data("form_id"),o=e.ajaxUrl+"?t="+Date.now(),f=this;jQuery.post(o,{action:"fluentform_generate_protection_token",form_id:a,nonce:null===(r=e)||void 0===r?void 0:r.token_nonce}).done(function(e){e.success&&e.data.token?(n.val(e.data.token),t.addClass("ff_tokenized")):(n.val(null),console.error("Token generation failed for form ID:",a))}).fail(function(e,r,o){console.error("Error generating token for form ID:",a,o),i&&setTimeout(function(){f.generateAndSetToken(t,n,!1)},1e3)}).always(function(){t.removeClass("ff_tokenizing")})},maybeHandleCleanTalkSubmitTime:function(){var e;null!==(e=window.fluentFormVars)&&void 0!==e&&e.has_cleantalk&&jQuery("form.frm-fluent-form").each(function(e,t){var n=jQuery(t).find(".ff_ct_form_load_time");n.length&&n.val(Math.floor(Date.now()/1e3))})},initOtherOptionHandlers:function(){jQuery(document).on("change",'.ff-other-option input[type="checkbox"]',function(){var e=jQuery(this),t=e.closest(".ff-el-input--content").find(".ff-other-input-wrapper");if(t.length)if(e.is(":checked")){t.show();var n=t.find(".ff-el-form-control");""===n.val().trim()&&setTimeout(function(){n.focus()},50)}else t.hide(),t.find(".ff-el-form-control").val("")}),jQuery(document).on("change",'.ff-other-option input[type="radio"]',function(){var e=jQuery(this),t=e.closest(".ff-el-input--content"),n=t.find(".ff-other-input-wrapper");n.length||(n=e.closest("label").next(".ff-other-input-wrapper")),e.is(":checked")&&(t.find(".ff-other-input-wrapper").hide(),n.length&&(n.show(),n.find(".ff-el-form-control").focus()))}),jQuery(document).on("change",'.ff-el-input--content input[type="radio"]',function(){var e=jQuery(this);if(!e.closest(".ff-other-option").length){var t=e.closest(".ff-el-input--content");t.find(".ff-other-input-wrapper").hide(),t.find(".ff-other-input-wrapper .ff-el-form-control").val("")}})},initMultiSelect:function(){n.isFunction(window.Choices)&&n(".ff_has_multi_select").length&&n(".ff_has_multi_select").each(function(e,r){var i=t(t({},{removeItemButton:!0,silent:!0,shouldSort:!1,searchEnabled:!0,searchResultLimit:50,searchFloor:1,searchChoices:!0,fuseOptions:{threshold:.1,distance:200,ignoreLocation:!0,tokenize:!0,matchAllTokens:!1}}),window.fluentFormVars.choice_js_vars),a=n(r).attr("data-max_selected_options");parseInt(a)&&(i.maxItemCount=parseInt(a),i.maxItemText=function(e){return(1===e?window.fluentFormVars.choice_js_vars.maxItemTextSingular:window.fluentFormVars.choice_js_vars.maxItemTextPlural).replace("%%maxItemCount%%",e)}),i.callbackOnCreateTemplates=function(){n(this.passedElement.element);return{option:function(e){var t=Choices.defaults.templates.option.call(this,e);return e.customProperties&&(t.dataset.calc_value=e.customProperties),t}}},n(r).data("choicesjs",new Choices(r,i))})},initMask:function(){if(null!=jQuery.fn.mask){var e={clearIfNotMatch:window.fluentFormVars.input_mask_vars.clearIfNotMatch,translation:{"*":{pattern:/[0-9a-zA-Z]/},0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}}};jQuery("input[data-mask]").each(function(t,n){var r=(n=jQuery(n)).attr("data-mask"),i=e;n.attr("data-mask-reverse")&&(i.reverse=!0),n.attr("data-clear-if-not-match")&&(i.clearIfNotMatch=!0),r&&n.mask(r,i)})}},initCheckableActive:function(){n(document).on("change",".ff-el-form-check input[type=radio]",function(){n(this).is(":checked")&&(n(this).closest(".ff-el-input--content").find(".ff-el-form-check").removeClass("ff_item_selected"),n(this).closest(".ff-el-form-check").addClass("ff_item_selected"))}),n(document).on("change",".ff-el-form-check input[type=checkbox]",function(){n(this).is(":checked")?n(this).closest(".ff-el-form-check").addClass("ff_item_selected"):n(this).closest(".ff-el-form-check").removeClass("ff_item_selected")})},initNumericFormat:function(){var e=n("form.frm-fluent-form .ff_numeric");n.each(e,function(e,t){var r=n(t),i=JSON.parse(r.attr("data-formatter"));r.val()&&r.val(window.ff_helper.formatCurrency(r,r.val())),r.on("blur change",function(){var e=currency(n(this).val(),i).format();n(this).val(e)})})}},o=function(){return new function(){this.errors={},this.validate=function(e,t){var r,i,a=this,o=!0;e.each(function(e,f){r=n(f),i=r.prop("name").replace("[]",""),"repeater_item"!==r.data("type")&&"repeater_container"!==r.data("type")||(i=r.attr("data-name"),t[i]=t[r.data("error_index")]),t[i]&&n.each(t[i],function(e,t){e in a&&(a[e](r,t)||(o=!1,i in a.errors||(a.errors[i]={}),a.errors[i][e]=t.message))})}),!o&&this.throwValidationException()},this.throwValidationException=function(){var e=new ffValidationError("Validation Error!");throw e.messages=this.errors,e},this.required=function(e,t){if(!t.value)return!0;var r=e.prop("type");if("checkbox"==r||"radio"==r){if(e.parents(".ff-el-group").attr("data-name")&&!t.per_row)return e.parents(".ff-el-group").find("input:checked").length;var i=n('[name="'+e.prop("name")+'"]:checked'),a=e.prop("name").replace("[]","");return i.length&&i.val()==="__ff_other_".concat(a,"__")?n('[name="'.concat(a,'__ff_other_input__"]')).val():i.length}if(r.startsWith("select")){var o=e.find(":selected");return!(!o.length||!o.val().length)}return"file"==r?e.closest("div").find(".ff-uploaded-list").find(".ff-upload-preview[data-src]").length:"false"==e.attr("is-changed")?"":String(n.trim(e.val())).length},this.url=function(e,t){var n=e.val();if(!t.value||!n.length)return!0;return/^(ftp|http|https):\/\/[^ "]+$/.test(n)},this.email=function(e,t){var n=e.val();if(!t.value||!n.length)return!0;return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(n.toLowerCase())},this.numeric=function(e,t){var r=window.ff_helper.numericVal(e);return r=r.toString(),!t.value||!r||n.isNumeric(r)},this.min=function(e,t){if(!e.val())return!0;var n=window.ff_helper.numericVal(e);return n=n.toString(),!t.value||!n.length||(this.numeric(e,t)?Number(n)>=Number(t.value):void 0)},this.max=function(e,t){if(!e.val())return!0;var n=window.ff_helper.numericVal(e);return n=n.toString(),!t.value||!n.length||(this.numeric(e,t)?Number(n)<=Number(t.value):void 0)},this.digits=function(e,t){if(!e.val())return!0;var n=window.ff_helper.numericVal(e);return n=n.toString(),!t.value||!n.length||this.numeric(e,t)&&n.length==t.value},this.max_file_size=function(){return!0},this.max_file_count=function(){return!0},this.allowed_file_types=function(){return!0},this.allowed_image_types=function(){return!0},this.force_failed=function(){return!1},this.valid_phone_number=function(e,t){if(!e.val())return!0;if(e&&e[0]){var n;if(!(n=void 0!==window.intlTelInputGlobals?window.intlTelInputGlobals.getInstance(e[0]):e.data("iti")))return!0;if(e.hasClass("ff_el_with_extended_validation"))return!!("yes"===e.data("strict_validation")&&"function"==typeof n.isValidNumberPrecise?n.isValidNumberPrecise():n.isValidNumber())&&(e.val(n.getNumber()),!0);var r=n.getSelectedCountryData(),i=e.val();return!e.attr("data-original_val")&&i&&r&&r.dialCode&&(e.val("+"+r.dialCode+i),e.attr("data-original_val",i)),!0}}}},f=n("form.frm-fluent-form");function s(e){var t=fluentFormApp(e);if(t)t.initFormHandlers(),t.initTriggers();else var n=0,r=setInterval(function(){(t=fluentFormApp(e))&&(clearInterval(r),t.initFormHandlers(),t.initTriggers()),++n>10&&(clearInterval(r),console.log("Form could not be loaded"))},1e3)}function c(){n(".ff_has_multi_select").each(function(){var e=n(this).data("choicesjs");if(e&&e.passedElement){e.passedElement.element.addEventListener("showDropdown",function(){var e=this.closest(".choices");if(e){var t=e.querySelector(".choices__list--dropdown");if(t){t.style.maxHeight="300px",t.style.overflowY="auto";var n=t.querySelector('.choices__list[role="listbox"]')||t.querySelector(".choices__list:not(.choices__list--dropdown)");n&&(n.style.maxHeight="280px",n.style.overflowY="auto",n.style.webkitOverflowScrolling="touch",n.style.touchAction="pan-y")}}},{passive:!0});var t=e.passedElement.element.closest(".choices");t&&(t.addEventListener("focus",function(n){t.classList.contains("is-open")||e.showDropdown()},!0),t.addEventListener("keydown",function(n){"Tab"===n.key&&t.classList.contains("is-open")&&e.hideDropdown()}))}})}n.each(f,function(e,t){s(n(t))}),n(document).on("ff_reinit",function(e,t){var r=n(t),i=fluentFormApp(r);if(!i)return!1;i.reinitExtras(),s(r),a.init(),r.attr("data-ff_reinit","yes")}),a.init(),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",function(){setTimeout(c,100)}):setTimeout(c,100)}(window.fluentFormVars,jQuery),jQuery(".fluentform").on("submit",".ff-form-loading",function(e){var t;e.preventDefault(),jQuery(this).parent().find(".ff_msg_temp").remove(),jQuery("<div/>",{class:"error text-danger ff_msg_temp"}).html((null===(t=window.fluentform_submission_messages_global)||void 0===t?void 0:t.javascript_handler_failed)||"Javascript handler could not be loaded. Form submission has been failed. Reload the page and try again").insertAfter(jQuery(this))})})})();
!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],b):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){function b(){var b=this;b.top="auto",b.left="auto",b.right="auto",b.bottom="auto",b.set=function(c,d){a.isNumeric(d)&&(b[c]=Math.round(d))}}function c(a,b,c){function d(d,e){g(),a.data(u)?h():d?(e&&a.data(v,!0),i(),c.showTip(a)):(E.tipOpenImminent=!0,k=setTimeout(function(){k=null,f()},b.intentPollInterval))}function e(d){l&&(l=E.closeDelayTimeout=clearTimeout(l),E.delayInProgress=!1),g(),E.tipOpenImminent=!1,a.data(u)&&(a.data(v,!1),d?c.hideTip(a):(E.delayInProgress=!0,E.closeDelayTimeout=setTimeout(function(){E.closeDelayTimeout=null,c.hideTip(a),E.delayInProgress=!1,l=null},b.closeDelay),l=E.closeDelayTimeout))}function f(){var e=Math.abs(E.previousX-E.currentX),f=Math.abs(E.previousY-E.currentY),g=e+f;g<b.intentSensitivity?(h(),i(),c.showTip(a)):(E.previousX=E.currentX,E.previousY=E.currentY,d())}function g(a){k=clearTimeout(k),(E.closeDelayTimeout&&l===E.closeDelayTimeout||a)&&h()}function h(){E.closeDelayTimeout=clearTimeout(E.closeDelayTimeout),E.delayInProgress=!1}function i(){E.delayInProgress&&E.activeHover&&!E.activeHover.is(a)&&E.activeHover.data(t).hide(!0)}function j(){c.resetPosition(a)}var k=null,l=null;this.show=d,this.hide=e,this.cancel=g,this.resetPosition=j}function d(){function a(a,e,g,h,i){var j,k=e.split("-")[0],l=new b;switch(j=f(a)?d(a,k):c(a,k),e){case"n":l.set("left",j.left-g/2),l.set("bottom",E.windowHeight-j.top+i);break;case"e":l.set("left",j.left+i),l.set("top",j.top-h/2);break;case"s":l.set("left",j.left-g/2),l.set("top",j.top+i);break;case"w":l.set("top",j.top-h/2),l.set("right",E.windowWidth-j.left+i);break;case"nw":l.set("bottom",E.windowHeight-j.top+i),l.set("right",E.windowWidth-j.left-20);break;case"nw-alt":l.set("left",j.left),l.set("bottom",E.windowHeight-j.top+i);break;case"ne":l.set("left",j.left-20),l.set("bottom",E.windowHeight-j.top+i);break;case"ne-alt":l.set("bottom",E.windowHeight-j.top+i),l.set("right",E.windowWidth-j.left);break;case"sw":l.set("top",j.top+i),l.set("right",E.windowWidth-j.left-20);break;case"sw-alt":l.set("left",j.left),l.set("top",j.top+i);break;case"se":l.set("left",j.left-20),l.set("top",j.top+i);break;case"se-alt":l.set("top",j.top+i),l.set("right",E.windowWidth-j.left)}return l}function c(a,b){var c,d,e=a.offset(),f=a.outerWidth(),g=a.outerHeight();switch(b){case"n":c=e.left+f/2,d=e.top;break;case"e":c=e.left+f,d=e.top+g/2;break;case"s":c=e.left+f/2,d=e.top+g;break;case"w":c=e.left,d=e.top+g/2;break;case"nw":c=e.left,d=e.top;break;case"ne":c=e.left+f,d=e.top;break;case"sw":c=e.left,d=e.top+g;break;case"se":c=e.left+f,d=e.top+g}return{top:d,left:c}}function d(a,b){function c(){o.push(j.matrixTransform(l))}var d,e,f,g,h=a.closest("svg")[0],i=a[0],j=h.createSVGPoint(),k=i.getBBox(),l=i.getScreenCTM(),m=k.width/2,n=k.height/2,o=[],p=["nw","n","ne","e","se","s","sw","w"];if(j.x=k.x,j.y=k.y,c(),j.x+=m,c(),j.x+=m,c(),j.y+=n,c(),j.y+=n,c(),j.x-=m,c(),j.x-=m,c(),j.y-=n,c(),o[0].y!==o[1].y||o[0].x!==o[7].x)for(e=Math.atan2(l.b,l.a)*D,f=Math.ceil((e%360-22.5)/45),f<1&&(f+=8);f--;)p.push(p.shift());for(g=0;g<o.length;g++)if(p[g]===b){d=o[g];break}return{top:d.y+E.scrollTop,left:d.x+E.scrollLeft}}this.compute=a}function e(c){function e(a){a.data(u,!0),y.queue(function(b){f(a),b()})}function f(b){var d;if(b.data(u)){if(E.isTipOpen)return E.isClosing||g(E.activeHover),void y.delay(100).queue(function(a){f(b),a()});b.trigger("powerTipPreRender"),d=n(b),d&&(y.empty().append(d),b.trigger("powerTipRender"),E.activeHover=b,E.isTipOpen=!0,y.data(x,c.mouseOnToPopup),c.followMouse?h():(i(b),E.isFixedTipOpen=!0),y.addClass(c.popupClass),b.data(v)||q.on("click"+C,function(d){var e=d.target;e!==b[0]&&(c.mouseOnToPopup?e===y[0]||a.contains(y[0],e)||a.powerTip.hide():a.powerTip.hide())}),c.mouseOnToPopup&&!c.manual&&(y.on("mouseenter"+C,function(){E.activeHover&&E.activeHover.data(t).cancel()}),y.on("mouseleave"+C,function(){E.activeHover&&E.activeHover.data(t).hide()})),y.fadeIn(c.fadeInTime,function(){E.desyncTimeout||(E.desyncTimeout=setInterval(k,500)),b.trigger("powerTipOpen")}))}}function g(a){E.isClosing=!0,E.isTipOpen=!1,E.desyncTimeout=clearInterval(E.desyncTimeout),a.data(u,!1),a.data(v,!1),q.off("click"+C),y.off(C),y.fadeOut(c.fadeOutTime,function(){var d=new b;E.activeHover=null,E.isClosing=!1,E.isFixedTipOpen=!1,y.removeClass(),d.set("top",E.currentY+c.offset),d.set("left",E.currentX+c.offset),y.css(d),a.trigger("powerTipClose")})}function h(){if(!E.isFixedTipOpen&&(E.isTipOpen||E.tipOpenImminent&&y.data(w))){var a,d,e=y.outerWidth(),f=y.outerHeight(),g=new b;g.set("top",E.currentY+c.offset),g.set("left",E.currentX+c.offset),a=o(g,e,f),a!==F.none&&(d=p(a),1===d?a===F.right?g.set("left",E.windowWidth-e):a===F.bottom&&g.set("top",E.scrollTop+E.windowHeight-f):(g.set("left",E.currentX-e-c.offset),g.set("top",E.currentY-f-c.offset))),y.css(g)}}function i(b){var d,e;c.smartPlacement?(d=a.fn.powerTip.smartPlacementLists[c.placement],a.each(d,function(a,c){var d=o(j(b,c),y.outerWidth(),y.outerHeight());if(e=c,d===F.none)return!1})):(j(b,c.placement),e=c.placement),y.removeClass("w nw sw e ne se n s w se-alt sw-alt ne-alt nw-alt"),y.addClass(e)}function j(a,d){var e,f,g=0,h=new b;h.set("top",0),h.set("left",0),y.css(h);do e=y.outerWidth(),f=y.outerHeight(),h=l.compute(a,d,e,f,c.offset),y.css(h);while(++g<=5&&(e!==y.outerWidth()||f!==y.outerHeight()));return h}function k(){var b=!1;E.isTipOpen&&!E.isClosing&&!E.delayInProgress&&(a.inArray("mouseleave",c.closeEvents)>-1||a.inArray("mouseout",c.closeEvents)>-1||a.inArray("blur",c.closeEvents)>-1||a.inArray("focusout",c.closeEvents)>-1)&&(E.activeHover.data(u)===!1||E.activeHover.is(":disabled")?b=!0:m(E.activeHover)||E.activeHover.is(":focus")||E.activeHover.data(v)||(y.data(x)?m(y)||(b=!0):b=!0),b&&g(E.activeHover))}var l=new d,y=a("#"+c.popupId);0===y.length&&(y=a("<div/>",{id:c.popupId}),0===s.length&&(s=a("body")),s.append(y),E.tooltips=E.tooltips?E.tooltips.add(y):y),c.followMouse&&(y.data(w)||(q.on("mousemove"+C,h),r.on("scroll"+C,h),y.data(w,!0))),this.showTip=e,this.hideTip=g,this.resetPosition=i}function f(a){return Boolean(window.SVGElement&&a[0]instanceof SVGElement)}function g(a){return Boolean(a&&"number"==typeof a.pageX)}function h(){E.mouseTrackingActive||(E.mouseTrackingActive=!0,i(),a(i),q.on("mousemove"+C,l),r.on("resize"+C,j),r.on("scroll"+C,k))}function i(){E.scrollLeft=r.scrollLeft(),E.scrollTop=r.scrollTop(),E.windowWidth=r.width(),E.windowHeight=r.height()}function j(){E.windowWidth=r.width(),E.windowHeight=r.height()}function k(){var a=r.scrollLeft(),b=r.scrollTop();a!==E.scrollLeft&&(E.currentX+=a-E.scrollLeft,E.scrollLeft=a),b!==E.scrollTop&&(E.currentY+=b-E.scrollTop,E.scrollTop=b)}function l(a){E.currentX=a.pageX,E.currentY=a.pageY}function m(a){var b=a.offset(),c=a[0].getBoundingClientRect(),d=c.right-c.left,e=c.bottom-c.top;return E.currentX>=b.left&&E.currentX<=b.left+d&&E.currentY>=b.top&&E.currentY<=b.top+e}function n(b){var c,d,e=b.data(z),f=b.data(A),g=b.data(B);return e?(a.isFunction(e)&&(e=e.call(b[0])),d=e):f?(a.isFunction(f)&&(f=f.call(b[0])),f.length>0&&(d=f.clone(!0,!0))):g&&(c=a("#"+g),c.length>0&&(d=c.html())),d}function o(a,b,c){var d=E.scrollTop,e=E.scrollLeft,f=d+E.windowHeight,g=e+E.windowWidth,h=F.none;return(a.top<d||Math.abs(a.bottom-E.windowHeight)-c<d)&&(h|=F.top),(a.top+c>f||Math.abs(a.bottom-E.windowHeight)>f)&&(h|=F.bottom),(a.left<e||a.right+b>g)&&(h|=F.left),(a.left+b>g||a.right<e)&&(h|=F.right),h}function p(a){for(var b=0;a;)a&=a-1,b++;return b}var q=a(document),r=a(window),s=a("body"),t="displayController",u="hasActiveHover",v="forcedOpen",w="hasMouseMove",x="mouseOnToPopup",y="originalTitle",z="powertip",A="powertipjq",B="powertiptarget",C=".powertip",D=180/Math.PI,E={elements:null,tooltips:null,isTipOpen:!1,isFixedTipOpen:!1,isClosing:!1,tipOpenImminent:!1,activeHover:null,currentX:0,currentY:0,previousX:0,previousY:0,desyncTimeout:null,closeDelayTimeout:null,mouseTrackingActive:!1,delayInProgress:!1,windowWidth:0,windowHeight:0,scrollTop:0,scrollLeft:0},F={none:0,top:1,bottom:2,left:4,right:8};return a.fn.powerTip=function(b,d){var f,i,j=this;return j.length?"string"===a.type(b)&&a.powerTip[b]?a.powerTip[b].call(j,j,d):(f=a.extend({},a.fn.powerTip.defaults,b),i=new e(f),h(),j.each(function(){var b,d=a(this),e=d.data(z),g=d.data(A),h=d.data(B);d.data(t)&&a.powerTip.destroy(d),b=d.attr("title"),e||h||g||!b||(d.data(z,b),d.data(y,b),d.removeAttr("title")),d.data(t,new c(d,f,i))}),f.manual||(a.each(f.openEvents,function(b,c){a.inArray(c,f.closeEvents)>-1?j.on(c+C,function(b){a.powerTip.toggle(this,b)}):j.on(c+C,function(b){a.powerTip.show(this,b)})}),a.each(f.closeEvents,function(b,c){a.inArray(c,f.openEvents)<0&&j.on(c+C,function(b){a.powerTip.hide(this,!g(b))})}),j.on("keydown"+C,function(b){27===b.keyCode&&a.powerTip.hide(this,!0)})),E.elements=E.elements?E.elements.add(j):j,j):j},a.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:!1,popupId:"powerTip",popupClass:null,intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:!1,offset:10,mouseOnToPopup:!1,manual:!1,openEvents:["mouseenter","focus"],closeEvents:["mouseleave","blur"]},a.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se","n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]},a.powerTip={show:function(b,c){return g(c)?(l(c),E.previousX=c.pageX,E.previousY=c.pageY,a(b).data(t).show()):a(b).first().data(t).show(!0,!0),b},reposition:function(b){return a(b).first().data(t).resetPosition(),b},hide:function(b,c){var d;return c=!b||c,b?d=a(b).first().data(t):E.activeHover&&(d=E.activeHover.data(t)),d&&d.hide(c),b},toggle:function(b,c){return E.activeHover&&E.activeHover.is(b)?a.powerTip.hide(b,!g(c)):a.powerTip.show(b,c),b},destroy:function(b){var c=b?a(b):E.elements;return E.elements&&0!==E.elements.length?(c.off(C).each(function(){var b=a(this),c=[y,t,u,v];b.data(y)&&(b.attr("title",b.data(y)),c.push(z)),b.removeData(c)}),E.elements=E.elements.not(c),0===E.elements.length&&(r.off(C),q.off(C),E.mouseTrackingActive=!1,E.tooltips.remove(),E.tooltips=null),b):b}},a.powerTip.showTip=a.powerTip.show,a.powerTip.closeTip=a.powerTip.hide,a.powerTip});
(function($){
function ihotspotInit(){
$('.ihotspot_hastooltop').each(function(){
$(this).data('powertip', function(){
var htmlThis=$(this).parents('.ihotspot_tooltop_html').attr('data-html');
return htmlThis;
});
var thisPlace=$(this).parents('.ihotspot_tooltop_html').data('placement');
$(this).powerTip({
placement: thisPlace,
smartPlacement: true,
mouseOnToPopup: true,
}).on({
powerTipClose: function(){
$('#powerTip').html('');
}});
});
}
$('body').on('click','.close_ihp',function (){
$.powerTip.hide();
});
$(document).ready(function(){
ihotspotInit();
});
let firstLoad=true;
function scroll_element(){
let $top=$(window).scrollTop();
if($top >=100&&firstLoad){
ihotspotInit();
firstLoad=false;
}}
$(window).scroll(function(){
scroll_element();
});
$(window).bind('touchmove', function(e){
scroll_element();
});
})(jQuery);
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b.st.autoFocusLast&&b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=b.st[d]?b.st[d].markup:!1;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||!(2===c.which||c.ctrlKey||c.metaKey||c.altKey||c.shiftKey)){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void 0===d||d===!1)return!0;if(e=c.split("_"),e.length>1){var f=b.find(p+"-"+e[0]);if(f.length>0){var g=e[1];"replaceWith"===g?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("<img>").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)}}else b.find(p+"-"+c).html(d)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery";return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()});
class HwAccessViewHandle{
constructor(configData=[], elementConfigs=[]){
this.configData=configData;
this.actionsWhiteList=['click'];
this.modal=this.createModal();
this.fontSizeMulti=1;
this.wordSpaceMulti=1;
this.lineHeightMulti=1;
this.letterSpaceMulti=1;
this.cursorSizeMulti=2;
this.activeFilter='';
this.speakerState=false;
this.underlineState=false;
this.autoFocusState=false;
this.speakTimer=null;
this.speakUtterance=null;
this.cookieAvailable=null;
this.autoFocusIndex=-1;
this.autoFocusElements=[];
this._tabLabelHandler=null;
this.settingsByCookies();
elementConfigs.forEach(config=> {
this.setElement(config);
});
this.setAccessViewBtn();
this.initTabAsClickTrigger();
}
setAccessViewBtn(){
const btn=document.getElementById('access-view-open-btn');
if(btn){
btn.addEventListener('click', this.toggleModal.bind(this));
btn.addEventListener('keydown', (e)=> {
if(e.key==='Enter'||e.key===' '){
e.preventDefault();
this.toggleModal();
}});
}}
setElement({type="div", createContent="", titleName="", ariaLabel="", parentId="", classNames=[], idName="", action="", callback="", role="",  toggleActive=null}){
const typeWhiteList=['div', 'span'];
if(!typeWhiteList.includes(type)){
return;
}
let element=document.createElement(`${type}`);
classNames.forEach(className=> {
element.classList.add(`${className}`);
});
let activeClass=false;
if(toggleActive!=null&&toggleActive!=""){
if(toggleActive=="activeFilter"){
if(this.activeFilter=='gray'&&idName=="access-view-modal-invert-filter-btn"){
activeClass=true;
}
if(this.activeFilter=='invert'&&idName=="access-view-modal-gray-filter-btn"){
activeClass=true;
}}else if(toggleActive=='speakerState'){
activeClass=this.speakerState==true ? true:activeClass;
}else if(toggleActive=='underlineState'){
activeClass=this.underlineState==true ? true:activeClass;
}else if(toggleActive=='autoFocusState'){
activeClass=this.autoFocusState==true ? true:activeClass;
}}
if(activeClass==true){
element.classList.add("access-view-modal-column-btn-active");
}
if(idName!=""){
element.id=idName;
}
if(ariaLabel!=""){
element.setAttribute('aria-label', ariaLabel);
}
if(titleName!=""){
element.title=titleName;
}
if(role=='button'){
element.setAttribute('role', `${role}`);
}
element.tabIndex=1;
if(createContent&&typeof this[createContent]==='function'){
const content=this[createContent]();
if(content instanceof HTMLElement){
element.appendChild(content);
}else{
element.innerHTML=String(content);
}}
if(action!=''&&callback!=''){
element=this.addActionToElement(element, action, callback);
}
if(this.modal&&parentId!=''){
const parent=(parentId===this.modal.id)
? this.modal
: this.modal.querySelector(`#${parentId}`);
if(parent){
parent.appendChild(element);
}}
}
createModal(){
let modalElement=document.createElement(`div`);
modalElement.classList.add(`disable-access-view`);
modalElement.id='access-view-modal-container';
modalElement.setAttribute('aria-hidden', 'true');
modalElement.setAttribute('role', 'region');
modalElement.setAttribute('aria-label', "Akadálymentes mód beállítása");
return modalElement;
}
addActionToElement(element, action, callback){
if(action&&callback&&this.actionsWhiteList.includes(action)&&typeof this[callback]==='function'){
element.addEventListener(action, this[callback].bind(this));
if(action=="click"){
element.addEventListener('keydown', (e)=> {
if(e.key==='Enter'||e.key===' '){
e.preventDefault();
this[callback].bind(this)(e);
}});
}}
return element;
}
toggleModal(){
const container=document.getElementById("access-view-container");
const btn=document.getElementById("access-view-open-btn");
if(!container||!btn) return;
container.classList.add("disable-access-view");
btn.classList.add("disable-access-view");
if(container.style.display=='flex'){
container.style.display='none';
container.setAttribute('aria-hidden', 'true');
btn.style.display='flex';
}else{
container.style.display='flex';
container.setAttribute('aria-hidden', 'false');
btn.style.display='none';
if(container.innerHTML==''){
this.renderModal(container);
}}
}
renderModal(container){
container.appendChild(this.modal);
}
settingsByCookies(){
if(!this.isCookieAvailable()) return;
this.cookieAvailable=true;
const fontSize=this.getValidatedCookie('accessViewFontSize', 0.4, 2.1);
if(fontSize!==null){
this.fontSizeMulti=fontSize;
this.setFontSizeByCookie();
}
const lineHeight=this.getValidatedCookie('accessViewLineHeight', 0.4, 2.1);
if(lineHeight!==null){
this.lineHeightMulti=lineHeight;
this.setLineHeightByCookie();
}
const letterSpace=this.getValidatedCookie('accessViewLetterSpacing', 0.4, 2.1);
if(letterSpace!==null){
this.letterSpaceMulti=letterSpace;
this.setLetterSpaceByCookie();
}
const wordSpacing=this.getValidatedCookie('accessViewWordSpacing', 0.4, 2.1);
if(wordSpacing!==null){
this.wordSpaceMulti=wordSpacing;
this.setWordSpaceByCookie();
}
const cursorSizeVal=this.getValidatedCookie('accessViewCursorSize', 1, 10);
if(cursorSizeVal!==null){
this.cursorSizeMulti=cursorSizeVal;
this.changeCursorSize();
}
const filterByCookie=this.getCookie('accessViewFilter');
if(filterByCookie==='gray'){
this.activeFilter=filterByCookie;
this.toggleFilter('grayscale(1)');
}else if(filterByCookie==='invert'){
this.activeFilter=filterByCookie;
this.toggleFilter('invert(1)');
}
if(this.getCookie('accessViewUnderlineNavigating')){
this.toggleUnderlineToNav();
}
if(this.getCookie('accessViewSpeaker')){
this.toggleSpeaker();
}
if(this.getCookie('accessViewAutoFocus')){
this.turnOnAutoFocus();
}}
fontSizePlus(){
if(this.fontSizeMulti <=2){
this.fontSizeMulti +=0.1;
}else{
return;
}
this.changeFontSize();
}
fontSizeMinus(){
if(this.fontSizeMulti >=0.5){
this.fontSizeMulti -=0.1;
}else{
return;
}
this.changeFontSize();
}
setFontSizeByCookie(){
const elements=this.getAccessViewElements();
elements.forEach(element=> {
this.setFontSizeAttrs(element);
});
this.changeFontSize(elements);
}
setFontSizeAttrs(element){
const style=window.getComputedStyle(element);
element.dataset.originalFontSizeFull=style.fontSize;
const inlineFontSize=this.isFontSizeInline(element);
if(inlineFontSize!==false){
element.dataset.originalFontSizeInline=inlineFontSize;
}}
changeFontSize(elements=this.getAccessViewElements()){
this.fontSizeMulti=parseFloat(this.fontSizeMulti.toFixed(1));
elements.forEach(element=> {
if(!element.dataset.originalFontSizeFull){
this.setFontSizeAttrs(element);
}});
elements.forEach(element=> {
const originalValue=element.dataset.originalFontSizeFull;
const match=originalValue.match(/^([\d.]+)([a-z%]*)$/i);
if(match){
const numericValue=parseFloat(match[1]);
const unit=match[2]||"";
if(!isNaN(numericValue)&&this.validateFontSizeUnit(unit)!=='incorrect unit'){
const newSize=numericValue * this.fontSizeMulti;
element.style.fontSize=`${newSize}${unit}`;
}}
});
if(this.cookieAvailable===true&&!isNaN(this.fontSizeMulti)&&this.fontSizeMulti >=0.4&&this.fontSizeMulti <=2.1){
this.setCookie(`accessViewFontSize`, this.fontSizeMulti);
}}
resetFontSize(){
const elements=document.querySelectorAll('[data-original-font-size-full]');
elements.forEach(element=> {
if(element.dataset.originalFontSizeInline){
const inlineStyle=element.dataset.originalFontSizeInline;
const size=parseFloat(this.cleanFontSize(inlineStyle));
const unit=this.getFontSizeUnit(inlineStyle);
if(!isNaN(size)&&this.validateFontSizeUnit(unit)!=='incorrect unit'){
element.style.fontSize=`${size}${unit}`;
}else{
element.style.fontSize="";
}
element.removeAttribute('data-original-font-size-inline');
}else{
element.style.fontSize="";
}
element.removeAttribute('data-original-font-size-full');
});
this.fontSizeMulti=1;
this.deleteCookie(`accessViewFontSize`);
}
isFontSizeInline(element){
if(!(element instanceof Element)){
return false;
}
const inlineFontSize=element.style.fontSize;
const unit=this.getFontSizeUnit(inlineFontSize);
if(inlineFontSize!==""&&this.validateFontSizeUnit(unit)!=='incorrect unit'&&!isNaN(parseFloat(inlineFontSize))){
return inlineFontSize;
}
return false;
}
getFontSizeUnit(fontSize){
const match=fontSize.match(/[a-z%]+$/i);
return match ? match[0]:"";
}
validateFontSizeUnit(unit){
const units=['px', 'vh', 'em', 'rem', '%', 'vw', 'vmin', 'vmax', 'ch', 'ex', 'pt', 'cm', 'mm', 'in', 'pc'];
return units.includes(unit) ? unit:'incorrect unit';
}
cleanFontSize(fontSizeStr){
if(typeof fontSizeStr!=='string') return NaN;
const numberStr=fontSizeStr.trim().replace(/(px|vh|em|rem|%|vw|vmin|vmax|ch|ex|pt|cm|mm|in|pc)$/i, '');
return parseFloat(numberStr);
}
lineHeightPlus(){
if(this.lineHeightMulti <=2){
this.lineHeightMulti +=0.1;
}else{
return;
}
this.changeLineHeight();
}
lineHeightMinus(){
if(this.lineHeightMulti >=0.4){
this.lineHeightMulti -=0.1;
}else{
return;
}
this.changeLineHeight();
}
setLineHeightByCookie(){
const elements=this.getAccessViewElements();
elements.forEach(element=> {
this.setLineHeightAttrs(element);
});
this.changeLineHeight(elements);
}
setLineHeightAttrs(element){
const style=window.getComputedStyle(element);
element.dataset.originalLineHeightFull=style.lineHeight;
const inlineLineHeight=this.isLineHeightInline(element);
if(inlineLineHeight!==false){
element.dataset.originalLineHeightInline=inlineLineHeight;
}}
changeLineHeight(elements=this.getAccessViewElements()){
this.lineHeightMulti=parseFloat(this.lineHeightMulti.toFixed(1));
elements.forEach(element=> {
if(!element.dataset.originalLineHeightFull){
this.setLineHeightAttrs(element);
}});
elements.forEach(element=> {
const originalValue=element.dataset.originalLineHeightFull;
const match=originalValue.match(/^([\d.]+)([a-z%]*)$/i);
if(match){
const numericValue=parseFloat(match[1]);
const unit=match[2]||"";
if(!isNaN(numericValue)&&(unit===""||this.validateFontSizeUnit(unit)!=='incorrect unit')){
const newSize=numericValue * this.lineHeightMulti;
element.style.lineHeight=`${newSize}${unit}`;
}}
});
if(this.cookieAvailable===true&&!isNaN(this.lineHeightMulti)&&this.lineHeightMulti >=0.4&&this.lineHeightMulti <=2.1){
this.setCookie(`accessViewLineHeight`, this.lineHeightMulti);
}}
resetLineHeight(){
const elements=document.querySelectorAll('[data-original-line-height-full]');
elements.forEach(element=> {
if(element.dataset.originalLineHeightInline){
const inlineStyle=element.dataset.originalLineHeightInline;
const size=parseFloat(this.cleanFontSize(inlineStyle));
const unit=this.getFontSizeUnit(inlineStyle);
if(!isNaN(size)&&(unit===""||this.validateFontSizeUnit(unit)!=='incorrect unit')){
element.style.lineHeight=`${size}${unit}`;
}else{
element.style.lineHeight="";
}
element.removeAttribute('data-original-line-height-inline');
}else{
element.style.lineHeight="";
}
element.removeAttribute('data-original-line-height-full');
});
this.lineHeightMulti=1;
this.deleteCookie(`accessViewLineHeight`);
}
isLineHeightInline(element){
if(!(element instanceof Element)){
return false;
}
const inlineLineHeight=element.style.lineHeight;
const unit=this.getFontSizeUnit(inlineLineHeight);
if(inlineLineHeight!==""&&(unit===""||this.validateFontSizeUnit(unit)!=='incorrect unit')&&!isNaN(parseFloat(inlineLineHeight))){
return inlineLineHeight;
}
return false;
}
getUnit(value){
const match=value.match(/[a-z%]+$/i);
return match ? match[0]:"px";
}
letterSpacePlus(){
if(this.letterSpaceMulti < 2){
this.letterSpaceMulti +=0.1;
}else{
return;
}
this.changeLetterSpace();
}
letterSpaceMinus(){
if(this.letterSpaceMulti > 0.4){
this.letterSpaceMulti -=0.1;
}else{
return;
}
this.changeLetterSpace();
}
setLetterSpaceByCookie(){
const elements=this.getAccessViewElements();
elements.forEach(element=> {
this.setLetterSpaceAttrs(element);
});
this.changeLetterSpace(elements);
}
setLetterSpaceAttrs(element){
const style=window.getComputedStyle(element);
const spacing=style.letterSpacing;
let originalSpacingValue;
let originalSpacingUnit;
if(spacing==='normal'||spacing==='0'||spacing==='0px'||spacing===""){
originalSpacingValue=0;
originalSpacingUnit="px";
}else{
originalSpacingUnit=this.getUnit(spacing);
originalSpacingValue=parseFloat(spacing);
if(isNaN(originalSpacingValue)){
originalSpacingValue=0;
originalSpacingUnit="px";
}}
element.dataset.originalLetterSpacing=originalSpacingValue;
element.dataset.originalLetterSpacingUnit=originalSpacingUnit;
const inlineSpacing=element.style.letterSpacing;
if(inlineSpacing&&inlineSpacing!==""){
element.dataset.originalLetterSpacingInline=inlineSpacing;
}}
changeLetterSpace(elements=this.getAccessViewElements()){
this.letterSpaceMulti=parseFloat(this.letterSpaceMulti.toFixed(1));
elements.forEach(element=> {
if(!element.dataset.originalLetterSpacing){
this.setLetterSpaceAttrs(element);
}});
elements.forEach(element=> {
const originalSpacing=parseFloat(element.dataset.originalLetterSpacing);
const unit=element.dataset.originalLetterSpacingUnit||"px";
if(!isNaN(originalSpacing)){
const baseValue=originalSpacing===0 ? 2:originalSpacing;
const newSpacing=baseValue * this.letterSpaceMulti;
element.style.letterSpacing=`${newSpacing}${unit}`;
}});
if(this.cookieAvailable===true&&!isNaN(this.letterSpaceMulti)&&this.letterSpaceMulti >=0.4&&this.letterSpaceMulti <=2.1){
this.setCookie(`accessViewLetterSpacing`, this.letterSpaceMulti);
}}
resetLetterSpace(){
const elements=document.querySelectorAll('[data-original-letter-spacing]');
elements.forEach(element=> {
if(element.dataset.originalLetterSpacingInline){
element.style.letterSpacing=element.dataset.originalLetterSpacingInline;
element.removeAttribute('data-original-letter-spacing-inline');
}else{
element.style.letterSpacing="";
}
element.removeAttribute('data-original-letter-spacing');
element.removeAttribute('data-original-letter-spacing-unit');
});
this.letterSpaceMulti=1;
this.deleteCookie(`accessViewLetterSpacing`);
}
wordSpacePlus(){
if(this.wordSpaceMulti <=2){
this.wordSpaceMulti +=0.1;
}else{
return;
}
this.changeWordSpace();
}
wordSpaceMinus(){
if(this.wordSpaceMulti >=0.5){
this.wordSpaceMulti -=0.1;
}else{
return;
}
this.changeWordSpace();
}
setWordSpaceByCookie(){
const elements=this.getAccessViewElements();
elements.forEach(element=> {
this.setWordSpaceAttrs(element);
});
this.changeWordSpace(elements);
}
setWordSpaceAttrs(element){
const style=window.getComputedStyle(element);
const spacing=style.wordSpacing;
let originalSpacing;
if(spacing==='normal'||spacing==='0'||spacing==='0px'||spacing===null){
originalSpacing=20;
}else{
originalSpacing=parseFloat(spacing);
}
element.dataset.originalWordSpacing=originalSpacing;
}
changeWordSpace(elements=this.getAccessViewElements()){
this.wordSpaceMulti=Math.round(this.wordSpaceMulti * 10) / 10;
elements.forEach(element=> {
if(!element.dataset.originalWordSpacing){
this.setWordSpaceAttrs(element);
}});
elements.forEach(element=> {
if(element.dataset.originalWordSpacing){
const originalSpacing=parseFloat(element.dataset.originalWordSpacing);
if(!isNaN(originalSpacing)&&originalSpacing>0){
const newSpacing=originalSpacing * this.wordSpaceMulti;
element.style.wordSpacing=`${newSpacing}px`;
}}
});
if(this.cookieAvailable==true&&!isNaN(originalWordSpacing)&&originalWordSpacing>=0.4&&originalWordSpacing<=2.1){
this.setCookie(`accessViewWordSpacing`, originalWordSpacing);
}}
resetWordSpace(){
const elements=document.querySelectorAll('[data-original-word-spacing]');
elements.forEach(element=> {
element.style.wordSpacing="";
});
this.wordSpaceMulti=1;
this.deleteCookie(`accessViewWordSpacing`);
}
getAccessViewElements(excludeClass='disable-access-view'){
const selectors=[
'h1', 'h2', 'h3', 'h4', 'h5', 'h6',
'p', 'span', 'div', 'a', 'li', 'dd', 'dt', 'q', 'blockquote', 'pre', 'code', 'samp', 'kbd', 'var',
'cite', 'em', 'strong', 'b', 'i', 'u', 's', 'small', 'mark', 'sub', 'sup', 'ins', 'del', 'abbr', 'data', 'time',
'th', 'td', 'caption',
'ul', 'ol', 'dl',
'label', 'legend', 'output',
'figure', 'figcaption',
'summary', 'details',
'section', 'article', 'nav', 'aside', 'header', 'footer', 'main',
'input[type="text"]',
'input[type="search"]',
'input[type="email"]',
'input[type="tel"]',
'input[type="url"]',
'input[type="password"]',
'textarea',
'select',
'option',
'button',
'input[type="button"]',
'input[type="submit"]',
'input[type="reset"]'
];
const allElements=document.querySelectorAll(selectors.join(', '));
return Array.from(allElements).filter(el=> !el.classList.contains(excludeClass));
}
plusCursorSize(){
this.cursorSizeMulti +=1;
if(this.cursorSizeMulti > 5){
return;
}
this.changeCursorSize();
}
changeCursorSize(){
const size=this.cursorSizeMulti * 10;
const svg=`
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"
fill="white" stroke="black" stroke-width="15"
width="${size}" height="${size}">
<path d="M0 55.2L0 426c0 12.2 9.9 22 22 22c6.3 0 12.4-2.7 16.6-7.5L121.2 346l58.1 
116.3c7.9 15.8 27.1 22.2 42.9 14.3s22.2-27.1 14.3-42.9L179.8 320l118.1 
0c12.2 0 22.1-9.9 22.1-22.1c0-6.3-2.7-12.3-7.4-16.5L38.6 37.9C34.3 34.1 
28.9 32 23.2 32C10.4 32 0 42.4 0 55.2z"/>
</svg>`;
const encoded=encodeURIComponent(svg).replace(/'/g, "%27").replace(/"/g, "%22");
const cursorUrl=`url("data:image/svg+xml,${encoded}") 0 0, auto`;
let styleTag=document.getElementById("custom-cursor-style");
if(!styleTag){
styleTag=document.createElement("style");
styleTag.id="custom-cursor-style";
document.head.appendChild(styleTag);
}
styleTag.textContent=`* { cursor: ${cursorUrl} !important; }`;
if(this.cookieAvailable==true&&Number.isInteger(this.cursorSizeMulti)&&this.cursorSizeMulti>=2&&this.cursorSizeMulti<=10){
this.setCookie(`accessViewCursorSize`, this.cursorSizeMulti);
}}
resetCursorSize(){
const styleTag=document.getElementById("custom-cursor-style");
if(styleTag){
styleTag.remove();
}
this.cursorSizeMulti=2;
this.deleteCookie(`accessViewCursorSize`);
}
underlineToNav(event){
const targetBtn=event.target.closest('.access-view-modal-column-btn');
this.toggleUnderlineToNav(targetBtn);
}
toggleUnderlineToNav(targetBtn=null){
if(this.underlineState==false){
this.underlineState=true;
this.addUnderlineToNav(targetBtn);
if(targetBtn!=null){
targetBtn.classList.add('access-view-modal-column-btn-active');
}}else{
this.underlineState=false;
this.removeUnderlineToNav(targetBtn);
if(targetBtn!=null){
targetBtn.classList.remove('access-view-modal-column-btn-active');
}}
}
addUnderlineToNav(){
const selector=`
a[href],
button[onclick],
button[formaction],
input[type="submit"],
input[type="button"],
[role="button"],
[role="link"]
`;
document.querySelectorAll(selector).forEach(el=> {
if(el.style.textDecoration!='underline'){
el.setAttribute('data-acc-view-underline', 'true');
el.style.textDecoration="underline";
}});
if(this.cookieAvailable==true){
this.setCookie(`accessViewUnderlineNavigating`, true);
}}
removeUnderlineToNav(targetBtn=null){
const elements=document.querySelectorAll('[data-acc-view-underline="true"]');
elements.forEach(element=> {
element.style.textDecoration='none';
element.removeAttribute('data-acc-view-underline');
});
this.deleteCookie(`accessViewUnderlineNavigating`);
this.underlineState=false;
}
addGrayFilter(event){
const targetBtn=event.target.closest('.access-view-modal-column-btn');
this.addFilter(targetBtn,'grayscale(1)','gray');
}
addInvertFilter(event){
const targetBtn=event.target.closest('.access-view-modal-column-btn');
this.addFilter(targetBtn,'invert(1)','invert');
}
addFilter(targetBtn, property, cookieValue){
let result=false;
if(targetBtn){
result=this.toggleFilter(property, targetBtn);
}
if(result==true){
this.activeFilter=cookieValue;
}else{
this.activeFilter='';
}
if(this.cookieAvailable==true&&result==true){
this.setCookie(`accessViewFilter`, cookieValue);
}else if(result==false){
this.deleteCookie(`accessViewFilter`);
}}
toggleFilter(filterProperty,targetBtn=null){
const activeClass='access-view-modal-column-btn-active-filter';
const isActive=targetBtn!=null ? targetBtn.classList.contains(activeClass):null;
if(!isActive&&targetBtn!=null){
document.querySelectorAll(`.${activeClass}`).forEach(el=> el.classList.remove(activeClass));
targetBtn.classList.add(activeClass);
document.documentElement.style.filter=filterProperty;
return true;
}else if(targetBtn!=null){
targetBtn.classList.remove(activeClass);
this.removeFilter();
return false;
}else if(targetBtn==null){
document.documentElement.style.filter=filterProperty;
}}
removeFilter(){
document.documentElement.style.filter="";
this.activeFilter='';
this.deleteCookie(`accessViewFilter`);
}
speakerHoverMouseMove(event){
if(this.speakTimer) clearTimeout(this.speakTimer);
const target=event.target;
this.speakTimer=setTimeout(()=> {
const text=target.innerText?.trim();
if(text){
if(this.speakUtterance) speechSynthesis.cancel();
this.speakUtterance=new SpeechSynthesisUtterance(text);
speechSynthesis.speak(this.speakUtterance);
}}, 500);
}
speakerHoverMouseOut(){
if(this.speakTimer){
clearTimeout(this.speakTimer);
this.speakTimer=null;
}
if(this.speakUtterance){
speechSynthesis.cancel();
this.speakUtterance=null;
}}
toggleSpeakerByClick(event){
const targetBtn=event.target.closest('.access-view-modal-column-btn');
this.toggleSpeaker(targetBtn);
}
turnOnSpeaker(){
document.body.addEventListener('mousemove', this.speakerHoverMouseMove);
document.body.addEventListener('mouseout', this.speakerHoverMouseOut);
this.speakerState=true;
if(this.cookieAvailable==true){
this.setCookie(`accessViewSpeaker`, true);
}}
turnOffSpeaker(){
document.body.removeEventListener('mousemove', this.speakerHoverMouseMove);
document.body.removeEventListener('mouseout', this.speakerHoverMouseOut);
if(this.speakTimer){
clearTimeout(this.speakTimer);
this.speakTimer=null;
}
if(this.speakUtterance){
speechSynthesis.cancel();
this.speakUtterance=null;
}
this.speakerState=false;
this.deleteCookie(`accessViewSpeaker`);
}
toggleSpeaker(targetBtn=null){
if(this.speakerState==false){
this.turnOnSpeaker();
if(targetBtn!=null){
targetBtn.classList.add('access-view-modal-column-btn-active');
}}else{
this.turnOffSpeaker();
if(targetBtn!=null){
targetBtn.classList.remove('access-view-modal-column-btn-active');
}}
}
initTabAsClickTrigger(){
document.addEventListener('keydown', (e)=> {
if(e.key==='Tab'&&!this.autoFocusState){
this.turnOnAutoFocus(null);
}});
}
toggleAutoFocusByClick(event){
const targetBtn=event.target.closest('.access-view-modal-column-btn');
if(!this.autoFocusState){
this.turnOnAutoFocus(targetBtn);
}else{
this.turnOffAutoFocus(targetBtn);
}}
turnOnAutoFocus(targetBtn=null){
this.autoFocusState=true;
this.autoFocusIndex=-1;
this.autoFocusElements=this.getAutoFocusElements();
if(targetBtn!=null){
targetBtn.classList.add('access-view-modal-column-btn-active');
}else{
targetBtn=document.querySelector('#access-view-btn-auto-focus');
if(targetBtn){
targetBtn.classList.add('access-view-modal-column-btn-active');
}}
if(this.cookieAvailable==true){
this.setCookie(`accessViewAutoFocus`, 'true');
}
this.stepAutoFocus();
this.setTabLabelHandler();
}
turnOffAutoFocus(targetBtn=null){
if(this.autoFocusElements&&this.autoFocusIndex >=0){
this.autoFocusElements[this.autoFocusIndex].classList.remove('auto-focus-highlight');
}
this.autoFocusState=false;
this.autoFocusIndex=-1;
if(targetBtn!=null){
targetBtn.classList.remove('access-view-modal-column-btn-active');
}else{
targetBtn=document.querySelector('#access-view-btn-auto-focus');
if(targetBtn){
targetBtn.classList.remove('access-view-modal-column-btn-active');
}}
if(this.cookieAvailable==true){
this.deleteCookie(`accessViewAutoFocus`);
}
this.hideFocusLabel();
this.resetTabLabelHandler();
}
stepAutoFocus(way='next'){
if(!this.autoFocusElements||this.autoFocusElements.length===0) return;
if(this.autoFocusIndex >=0&&this.autoFocusIndex < this.autoFocusElements.length){
this.autoFocusElements[this.autoFocusIndex].classList.remove('auto-focus-highlight');
}
const total=this.autoFocusElements.length;
let loops=0;
do {
if(way==='next'){
this.autoFocusIndex++;
}else if(way==='prev'){
this.autoFocusIndex--;
}
if(this.autoFocusIndex < 0){
this.autoFocusIndex=total - 1;
}
if(this.autoFocusIndex >=total){
this.autoFocusIndex=0;
}
loops++;
if(loops > total){
return;
}} while (!this.isElementVisible(this.autoFocusElements[this.autoFocusIndex]));
const el=this.autoFocusElements[this.autoFocusIndex];
el.focus();
el.classList.add('auto-focus-highlight');
this.showFocusLabel(el);
}
isElementVisible(el){
return !!(
el.offsetParent!==null &&
window.getComputedStyle(el).visibility!=='hidden' &&
window.getComputedStyle(el).display!=='none'
);
}
setTabLabelHandler(){
if(this._tabLabelHandler) return;
this._tabLabelHandler=(e)=> {
if(e.key==='Tab'){
setTimeout(()=> {
const focused=document.activeElement;
if(focused){
this.showFocusLabel(focused);
}}, 10);
}};
document.addEventListener('keydown', this._tabLabelHandler);
}
resetTabLabelHandler(){
if(this._tabLabelHandler){
document.removeEventListener('keydown', this._tabLabelHandler);
this._tabLabelHandler=null;
}}
showFocusLabel(targetElement){
let label=document.getElementById('access-view-auto-focus-label');
if(!label){
label=document.createElement('div');
label.id='access-view-auto-focus-label';
label.classList.add("disable-access-view");
document.body.appendChild(label);
}
const labelContent=this.getAutoFocusLabelContent(targetElement);
label.textContent=`${labelContent}`;
const rect=targetElement.getBoundingClientRect();
label.style.position='absolute';
label.style.top=`${window.scrollY + rect.bottom + 5}px`;
label.style.left=`${window.scrollX + rect.left}px`;
label.style.display='block';
}
hideFocusLabel(){
const label=document.getElementById('access-view-auto-focus-label');
if(label){
label.style.display='none';
}}
getAutoFocusLabelContent(targetElement=null){
let content="";
if(targetElement!=null&&typeof targetElement==='object'){
const tag=targetElement.tagName?.toLowerCase();
const type=targetElement.getAttribute('type');
switch (tag){
case 'a':
content="Ez egy hivatkozás";
break;
case 'button':
content="Ez egy gomb";
break;
case 'input':
switch (type){
case 'text':
content="Szövegmező";
break;
case 'email':
content="Email mező";
break;
case 'tel':
content="Telefonszám mező";
break;
case 'search':
content="Keresőmező";
break;
case 'password':
content="Jelszó mező";
break;
case 'submit':
content="Űrlapküldő gomb";
break;
case 'reset':
content="Űrlap visszaállító gomb";
break;
case 'button':
content="Űrlap gomb";
break;
default:
content="Input mező";
break;
}
break;
case 'textarea':
content="Többsoros szövegmező";
break;
case 'select':
content="Legördülő választó";
break;
default:
content=`${tag} típusú elem`;
break;
}}
if(content===""){
content="Ez az elem van kijelölve";
}
return content;
}
getAutoFocusElements(){
const selectors=[
'a[href]',
'input[type="text"]',
'input[type="search"]',
'input[type="email"]',
'input[type="tel"]',
'input[type="url"]',
'input[type="password"]',
'textarea',
'select',
'button',
'input[type="button"]',
'input[type="submit"]',
'input[type="reset"]',
'[tabindex]:not([tabindex="-1"])'
];
const nodeList=document.querySelectorAll(selectors.join(', '));
const uniqueElements=new Set();
nodeList.forEach(el=> uniqueElements.add(el));
return Array.from(uniqueElements);
}
resetSettings(){
this.resetFontSize();
this.resetLetterSpace();
this.resetLineHeight();
this.resetWordSpace();
this.resetCursorSize();
this.removeUnderlineToNav();
this.removeFilter();
this.turnOffSpeaker();
this.turnOffAutoFocus();
const activeBtns=document.querySelectorAll('.access-view-modal-column-btn-active');
const activeFilterBtns=document.querySelectorAll('.access-view-modal-column-btn-active-filter');
activeBtns.forEach(activeBtn=> {
activeBtn.classList.remove('access-view-modal-column-btn-active');
});
activeFilterBtns.forEach(activeFilterBtn=> {
activeFilterBtn.classList.remove('access-view-modal-column-btn-active-filter');
});
}
isCookieAvailable(){
return true;
}
setCookie(name, value, days=30, path='/'){
const expires=new Date(Date.now() + days * 864e5).toUTCString();
document.cookie=`${encodeURIComponent(name)}=${encodeURIComponent(value)}; expires=${expires}; path=${path}; Secure; SameSite=Strict`;
}
deleteCookie(name, path='/'){
document.cookie=`${encodeURIComponent(name)}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=${path}; Secure; SameSite=Strict`;
}
getCookie(name){
const cookies=document.cookie.split('; ').reduce((acc, cookie)=> {
const [key, val]=cookie.split('=');
acc[decodeURIComponent(key)]=decodeURIComponent(val);
return acc;
}, {});
return cookies[name];
}
getValidatedCookie(name, min, max){
let val=this.getCookie(name);
if(val===null||val===undefined) return null;
val=parseFloat(val);
return !isNaN(val)&&val >=min&&val <=max ? val:null;
}
isLink(str){
if(typeof str!=='string'||str.trim()==='') return false;
const pattern=/^(https?:\/\/|\/|\.\/|\.\.\/|www\.)/i;
return pattern.test(str);
}
infoBtnContent(){
if(!this.configData||!this.configData.infoLink||!this.isLink(this.configData.infoLink)){
return '';
}
return `<a class="disable-access-view" id="access-view-modal-more-information-btn" title="További akadálymentesítési információk link" aria-label="További akadálymentesítési információk link" href="${this.configData.infoLink}"><?xml version="1.0" encoding="UTF-8"?><svg height="20" width="20" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 175 175"><defs><style>.cls-1 {fill: #1B4367;}</style></defs><rect width="175" height="175" rx="24.69" ry="24.69"/><path class="cls-1" d="M82.28,73.98h9.82c5.08,0,9.2,4.12,9.2,9.2v54.48h-19.02v-63.68h0Z"/><path class="cls-1" d="M88.7,103.39h.31c5.08,0,9.2,4.12,9.2,9.2v30.82c0,5.25-4.26,9.51-9.51,9.51h0c-5.25,0-9.51-4.26-9.51-9.51v-30.52c0-5.25,4.26-9.51,9.51-9.51Z" transform="translate(216.85 39.45) rotate(90)"/><path class="cls-1" d="M81.97,64.57h9.92v28.32c0,5.25-4.26,9.51-9.51,9.51h0c-5.25,0-9.51-4.26-9.51-9.51v-19.23c0-5.02,4.08-9.09,9.09-9.09Z" transform="translate(165.87 1.11) rotate(90)"/><circle class="cls-1" cx="88.7" cy="50.09" r="12.68"/></svg>Akadálymentesítési információk</a>`;
}
headerContent(){
return `AKADÁLYMENTESÍTÉS BEÁLLÍTÁSA${this.infoBtnContent()}`;
}
closeBtnContent(){
return '<svg height="30" width="30" alt="Gomb ikon" role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"/></svg>';
}
resetBtnContent(){
return '<div class="disable-access-view"><svg alt="Gomb ikon" role="presentation" height="30" width="30" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M386.3 160L336 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0s-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3s163.8-62.5 226.3 0L386.3 160z"/></svg></div><div class="disable-access-view">Akadálymentesítési beállítások törlése</div>';
}
autoFocusBtnContent(){
return '<div class="disable-access-view"><svg alt="Gomb ikon" role="presentation" height="35" width="35" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M9.4 9.4C21.9-3.1 42.1-3.1 54.6 9.4L160 114.7 160 96c0-17.7 14.3-32 32-32s32 14.3 32 32l0 96c0 4.3-.9 8.5-2.4 12.2c-1.6 3.7-3.8 7.3-6.9 10.3l-.1 .1c-3.1 3-6.6 5.3-10.3 6.9c-3.8 1.6-7.9 2.4-12.2 2.4l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l18.7 0L9.4 54.6C-3.1 42.1-3.1 21.9 9.4 9.4zM256 256a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM114.7 352L96 352c-17.7 0-32-14.3-32-32s14.3-32 32-32l96 0s0 0 0 0l.1 0c8.8 0 16.7 3.6 22.5 9.3l.1 .1c3 3.1 5.3 6.6 6.9 10.3c1.6 3.8 2.4 7.9 2.4 12.2l0 96c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-18.7L54.6 502.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L114.7 352zM416 96c0-17.7 14.3-32 32-32s32 14.3 32 32l0 18.7L585.4 9.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L525.3 160l18.7 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-8.8 0-16.8-3.6-22.6-9.3l-.1-.1c-3-3.1-5.3-6.6-6.9-10.3s-2.4-7.8-2.4-12.2l0-.1s0 0 0 0l0-96zM525.3 352L630.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L480 397.3l0 18.7c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-96s0 0 0 0l0-.1c0-4.3 .9-8.4 2.4-12.2c1.6-3.8 3.9-7.3 6.9-10.4c5.8-5.8 13.7-9.3 22.5-9.4l.1 0s0 0 0 0l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-18.7 0z"/></svg></div><div class="disable-access-view">Auto fókusz (Léptetés: TAB)</div>';
}
fontSizePlusBtnContent(){
return '<div class="disable-access-view">+<?xml version="1.0" encoding="UTF-8"?><svg alt="Gomb ikon" role="presentation" height="35" width="35" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 260 180"><g><rect x="68.85" y="129.03" width="24.51" height="74.59" rx="12.25" ry="12.25" transform="translate(-85.23 247.43) rotate(-90)"/><rect x="68.85" y="4.16" width="24.51" height="174.42"/><g><path d="M18.03,4.16h12.14v36.64c0,6.76-5.49,12.25-12.25,12.25h0c-6.76,0-12.25-5.49-12.25-12.25v-24.27c0-6.82,5.54-12.36,12.36-12.36Z"/><g><rect x="68.85" y="-59.02" width="24.51" height="150.86" rx="12.25" ry="12.25" transform="translate(64.69 97.51) rotate(-90)"/><path d="M144.28,4.16h0c6.76,0,12.25,5.49,12.25,12.25v36.64h-12.14c-6.82,0-12.36-5.54-12.36-12.36v-24.27c0-6.76,5.49-12.25,12.25-12.25Z" transform="translate(288.56 57.21) rotate(180)"/></g></g></g><g><g><g><rect x="181.88" y="129.03" width="24.51" height="74.59" rx="12.25" ry="12.25" transform="translate(27.81 360.46) rotate(-90)"/><rect x="181.88" y="30.74" width="24.51" height="121.26" rx="12.25" ry="12.25" transform="translate(102.77 285.5) rotate(-90)"/><rect x="181.88" y="79.11" width="24.51" height="99.46"/></g><path d="M145.87,79.11h12.14v36.64c0,6.76-5.49,12.25-12.25,12.25h0c-6.76,0-12.25-5.49-12.25-12.25v-24.27c0-6.82,5.54-12.36,12.36-12.36Z"/></g><path d="M242.51,79.11h0c6.76,0,12.25,5.49,12.25,12.25v36.64h-12.14c-6.82,0-12.36-5.54-12.36-12.36v-24.27c0-6.76,5.49-12.25,12.25-12.25Z" transform="translate(485.02 207.12) rotate(180)"/></g></svg></div><div class="disable-access-view">Betűméret növelése</div>';
}
fontSizeMinusBtnContent(){
return '<div class="disable-access-view">-<?xml version="1.0" encoding="UTF-8"?><svg alt="Gomb ikon" role="presentation" height="35" width="35" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 260 180"><g><rect x="68.85" y="129.03" width="24.51" height="74.59" rx="12.25" ry="12.25" transform="translate(-85.23 247.43) rotate(-90)"/><rect x="68.85" y="4.16" width="24.51" height="174.42"/><g><path d="M18.03,4.16h12.14v36.64c0,6.76-5.49,12.25-12.25,12.25h0c-6.76,0-12.25-5.49-12.25-12.25v-24.27c0-6.82,5.54-12.36,12.36-12.36Z"/><g><rect x="68.85" y="-59.02" width="24.51" height="150.86" rx="12.25" ry="12.25" transform="translate(64.69 97.51) rotate(-90)"/><path d="M144.28,4.16h0c6.76,0,12.25,5.49,12.25,12.25v36.64h-12.14c-6.82,0-12.36-5.54-12.36-12.36v-24.27c0-6.76,5.49-12.25,12.25-12.25Z" transform="translate(288.56 57.21) rotate(180)"/></g></g></g><g><g><g><rect x="181.88" y="129.03" width="24.51" height="74.59" rx="12.25" ry="12.25" transform="translate(27.81 360.46) rotate(-90)"/><rect x="181.88" y="30.74" width="24.51" height="121.26" rx="12.25" ry="12.25" transform="translate(102.77 285.5) rotate(-90)"/><rect x="181.88" y="79.11" width="24.51" height="99.46"/></g><path d="M145.87,79.11h12.14v36.64c0,6.76-5.49,12.25-12.25,12.25h0c-6.76,0-12.25-5.49-12.25-12.25v-24.27c0-6.82,5.54-12.36,12.36-12.36Z"/></g><path d="M242.51,79.11h0c6.76,0,12.25,5.49,12.25,12.25v36.64h-12.14c-6.82,0-12.36-5.54-12.36-12.36v-24.27c0-6.76,5.49-12.25,12.25-12.25Z" transform="translate(485.02 207.12) rotate(180)"/></g></svg></div><div class="disable-access-view">Betűméret csökkentése</div>';
}
lineHeightPlusBtnContent(){
return '<div class="disable-access-view">+<?xml version="1.0" encoding="UTF-8"?><svg alt="Gomb ikon" role="presentation" height="35" width="35" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 250 200"><rect x="161.47" y="-25.18" width="24.51" height="123.88" rx="12.25" ry="12.25" transform="translate(136.96 210.48) rotate(-90)"/><rect x="161.47" y="36.57" width="24.51" height="123.88" rx="12.25" ry="12.25" transform="translate(75.21 272.23) rotate(-90)"/><rect x="161.47" y="98.32" width="24.51" height="123.88" rx="12.25" ry="12.25" transform="translate(13.47 333.98) rotate(-90)"/><g><path d="M34.93,5.51h0c6.7,0,12.14,5.44,12.14,12.14v36.28c0,6.76-5.49,12.25-12.25,12.25h0c-6.76,0-12.25-5.49-12.25-12.25V17.87c0-6.82,5.54-12.36,12.36-12.36Z" transform="translate(35.55 -14.12) rotate(45)"/><rect x="36.12" y="10.85" width="24.51" height="174.42" rx="12.25" ry="12.25"/><path d="M61.93,5.51h0c6.76,0,12.25,5.49,12.25,12.25v36.28c0,6.7-5.44,12.14-12.14,12.14h0c-6.82,0-12.36-5.54-12.36-12.36V17.76c0-6.76,5.49-12.25,12.25-12.25Z" transform="translate(131.06 17.41) rotate(135)"/><path d="M34.82,129.94h0c6.76,0,12.25,5.49,12.25,12.25v36.28c0,6.7-5.44,12.14-12.14,12.14h0c-6.82,0-12.36-5.54-12.36-12.36v-36.06c0-6.76,5.49-12.25,12.25-12.25Z" transform="translate(-103.14 71.56) rotate(-45)"/><path d="M62.04,129.94h0c6.7,0,12.14,5.44,12.14,12.14v36.28c0,6.76-5.49,12.25-12.25,12.25h0c-6.76,0-12.25-5.49-12.25-12.25v-36.06c0-6.82,5.54-12.36,12.36-12.36Z" transform="translate(-7.62 317.4) rotate(-135)"/></g></svg></div><div class="disable-access-view">Sortávolság növelése</div>';
}
lineHeightMinusBtnContent(){
return '<div class="disable-access-view">-<?xml version="1.0" encoding="UTF-8"?><svg alt="Gomb ikon" role="presentation" height="35" width="35" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 250 200"><rect x="161.47" y="-25.18" width="24.51" height="123.88" rx="12.25" ry="12.25" transform="translate(136.96 210.48) rotate(-90)"/><rect x="161.47" y="36.57" width="24.51" height="123.88" rx="12.25" ry="12.25" transform="translate(75.21 272.23) rotate(-90)"/><rect x="161.47" y="98.32" width="24.51" height="123.88" rx="12.25" ry="12.25" transform="translate(13.47 333.98) rotate(-90)"/><g><path d="M34.93,5.51h0c6.7,0,12.14,5.44,12.14,12.14v36.28c0,6.76-5.49,12.25-12.25,12.25h0c-6.76,0-12.25-5.49-12.25-12.25V17.87c0-6.82,5.54-12.36,12.36-12.36Z" transform="translate(35.55 -14.12) rotate(45)"/><rect x="36.12" y="10.85" width="24.51" height="174.42" rx="12.25" ry="12.25"/><path d="M61.93,5.51h0c6.76,0,12.25,5.49,12.25,12.25v36.28c0,6.7-5.44,12.14-12.14,12.14h0c-6.82,0-12.36-5.54-12.36-12.36V17.76c0-6.76,5.49-12.25,12.25-12.25Z" transform="translate(131.06 17.41) rotate(135)"/><path d="M34.82,129.94h0c6.76,0,12.25,5.49,12.25,12.25v36.28c0,6.7-5.44,12.14-12.14,12.14h0c-6.82,0-12.36-5.54-12.36-12.36v-36.06c0-6.76,5.49-12.25,12.25-12.25Z" transform="translate(-103.14 71.56) rotate(-45)"/><path d="M62.04,129.94h0c6.7,0,12.14,5.44,12.14,12.14v36.28c0,6.76-5.49,12.25-12.25,12.25h0c-6.76,0-12.25-5.49-12.25-12.25v-36.06c0-6.82,5.54-12.36,12.36-12.36Z" transform="translate(-7.62 317.4) rotate(-135)"/></g></svg></div><div class="disable-access-view">Sortávolság csökkentése</div>';
}
letterSpacePlusBtnContent(){
return `
<div class="disable-access-view">
+
<svg alt="Gomb ikon" role="presentation" width="55" height="40" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200">
<g transform="translate(195 160) rotate(90) translate(-48.38 -87.06)">
<g>
<path d="M34.93,5.51h0c6.7,0,12.14,5.44,12.14,12.14v36.28c0,6.76-5.49,12.25-12.25,12.25h0c-6.76,0-12.25-5.49-12.25-12.25V17.87c0-6.82,5.54-12.36,12.36-12.36Z" transform="translate(35.55 -14.12) rotate(45)"/>
<rect x="36.12" y="10.85" width="24.51" height="174.42" rx="12.25" ry="12.25"/>
<path d="M61.93,5.51h0c6.76,0,12.25,5.49,12.25,12.25v36.28c0,6.7-5.44,12.14-12.14,12.14h0c-6.82,0-12.36-5.54-12.36-12.36V17.76c0-6.76,5.49-12.25,12.25-12.25Z" transform="translate(131.06 17.41) rotate(135)"/>
<path d="M34.82,129.94h0c6.76,0,12.25,5.49,12.25,12.25v36.28c0,6.7-5.44,12.14-12.14,12.14h0c-6.82,0-12.36-5.54-12.36-12.36v-36.06c0-6.76,5.49-12.25,12.25-12.25Z" transform="translate(-103.14 71.56) rotate(-45)"/>
<path d="M62.04,129.94h0c6.7,0,12.14,5.44,12.14,12.14v36.28c0,6.76-5.49,12.25-12.25,12.25h0c-6.76,0-12.25-5.49-12.25-12.25v-36.06c0-6.82,5.54-12.36,12.36-12.36Z" transform="translate(-7.62 317.4) rotate(-135)"/>
</g>
</g>
<g transform="translate(-10 40)">
<rect x="68.85" y="129.03" width="24.51" height="74.59" rx="12.25" ry="12.25" transform="translate(-85.23 247.43) rotate(-90)"/>
<rect x="68.85" y="4.16" width="24.51" height="174.42"/>
<g>
<path d="M18.03,4.16h12.14v36.64c0,6.76-5.49,12.25-12.25,12.25h0c-6.76,0-12.25-5.49-12.25-12.25v-24.27c0-6.82,5.54-12.36,12.36-12.36Z"/>
<g>
<rect x="68.85" y="-59.02" width="24.51" height="150.86" rx="12.25" ry="12.25" transform="translate(64.69 97.51) rotate(-90)"/>
<path d="M144.28,4.16h0c6.76,0,12.25,5.49,12.25,12.25v36.64h-12.14c-6.82,0-12.36-5.54-12.36-12.36v-24.27c0-6.76,5.49-12.25,12.25-12.25Z" transform="translate(288.56 57.21) rotate(180)"/>
</g>
</g>
</g>
<g transform="translate(220 40)">
<rect x="68.85" y="129.03" width="24.51" height="74.59" rx="12.25" ry="12.25" transform="translate(-85.23 247.43) rotate(-90)"/>
<rect x="68.85" y="4.16" width="24.51" height="174.42"/>
<g>
<path d="M18.03,4.16h12.14v36.64c0,6.76-5.49,12.25-12.25,12.25h0c-6.76,0-12.25-5.49-12.25-12.25v-24.27c0-6.82,5.54-12.36,12.36-12.36Z"/>
<g>
<rect x="68.85" y="-59.02" width="24.51" height="150.86" rx="12.25" ry="12.25" transform="translate(64.69 97.51) rotate(-90)"/>
<path d="M144.28,4.16h0c6.76,0,12.25,5.49,12.25,12.25v36.64h-12.14c-6.82,0-12.36-5.54-12.36-12.36v-24.27c0-6.76,5.49-12.25,12.25-12.25Z" transform="translate(288.56 57.21) rotate(180)"/>
</g>
</g>
</g>
</svg>
</div>
<div class="disable-access-view">Betűtávolság növelése</div>
`;
}
letterSpaceMinusBtnContent(){
return `
<div class="disable-access-view">
-
<svg width="55" height="40" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200">
<g transform="translate(195 160) rotate(90) translate(-48.38 -87.06)">
<g>
<path d="M34.93,5.51h0c6.7,0,12.14,5.44,12.14,12.14v36.28c0,6.76-5.49,12.25-12.25,12.25h0c-6.76,0-12.25-5.49-12.25-12.25V17.87c0-6.82,5.54-12.36,12.36-12.36Z" transform="translate(35.55 -14.12) rotate(45)"/>
<rect x="36.12" y="10.85" width="24.51" height="174.42" rx="12.25" ry="12.25"/>
<path d="M61.93,5.51h0c6.76,0,12.25,5.49,12.25,12.25v36.28c0,6.7-5.44,12.14-12.14,12.14h0c-6.82,0-12.36-5.54-12.36-12.36V17.76c0-6.76,5.49-12.25,12.25-12.25Z" transform="translate(131.06 17.41) rotate(135)"/>
<path d="M34.82,129.94h0c6.76,0,12.25,5.49,12.25,12.25v36.28c0,6.7-5.44,12.14-12.14,12.14h0c-6.82,0-12.36-5.54-12.36-12.36v-36.06c0-6.76,5.49-12.25,12.25-12.25Z" transform="translate(-103.14 71.56) rotate(-45)"/>
<path d="M62.04,129.94h0c6.7,0,12.14,5.44,12.14,12.14v36.28c0,6.76-5.49,12.25-12.25,12.25h0c-6.76,0-12.25-5.49-12.25-12.25v-36.06c0-6.82,5.54-12.36,12.36-12.36Z" transform="translate(-7.62 317.4) rotate(-135)"/>
</g>
</g>
<g transform="translate(-10 40)">
<rect x="68.85" y="129.03" width="24.51" height="74.59" rx="12.25" ry="12.25" transform="translate(-85.23 247.43) rotate(-90)"/>
<rect x="68.85" y="4.16" width="24.51" height="174.42"/>
<g>
<path d="M18.03,4.16h12.14v36.64c0,6.76-5.49,12.25-12.25,12.25h0c-6.76,0-12.25-5.49-12.25-12.25v-24.27c0-6.82,5.54-12.36,12.36-12.36Z"/>
<g>
<rect x="68.85" y="-59.02" width="24.51" height="150.86" rx="12.25" ry="12.25" transform="translate(64.69 97.51) rotate(-90)"/>
<path d="M144.28,4.16h0c6.76,0,12.25,5.49,12.25,12.25v36.64h-12.14c-6.82,0-12.36-5.54-12.36-12.36v-24.27c0-6.76,5.49-12.25,12.25-12.25Z" transform="translate(288.56 57.21) rotate(180)"/>
</g>
</g>
</g>
<g transform="translate(220 40)">
<rect x="68.85" y="129.03" width="24.51" height="74.59" rx="12.25" ry="12.25" transform="translate(-85.23 247.43) rotate(-90)"/>
<rect x="68.85" y="4.16" width="24.51" height="174.42"/>
<g>
<path d="M18.03,4.16h12.14v36.64c0,6.76-5.49,12.25-12.25,12.25h0c-6.76,0-12.25-5.49-12.25-12.25v-24.27c0-6.82,5.54-12.36,12.36-12.36Z"/>
<g>
<rect x="68.85" y="-59.02" width="24.51" height="150.86" rx="12.25" ry="12.25" transform="translate(64.69 97.51) rotate(-90)"/>
<path d="M144.28,4.16h0c6.76,0,12.25,5.49,12.25,12.25v36.64h-12.14c-6.82,0-12.36-5.54-12.36-12.36v-24.27c0-6.76,5.49-12.25,12.25-12.25Z" transform="translate(288.56 57.21) rotate(180)"/>
</g>
</g>
</g>
</svg>
</div>
<div class="disable-access-view">Betűtávolság csökkentése</div>
`;
}
wordSpacePlusBtnContent(){
return '<div class="disable-access-view">+<svg alt="Gomb ikon" role="presentation" height="35" width="35" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M32 64c17.7 0 32 14.3 32 32l0 320c0 17.7-14.3 32-32 32s-32-14.3-32-32L0 96C0 78.3 14.3 64 32 64zm214.6 73.4c12.5 12.5 12.5 32.8 0 45.3L205.3 224l229.5 0-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L434.7 288l-229.5 0 41.4 41.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-96-96c-12.5-12.5-12.5-32.8 0-45.3l96-96c12.5-12.5 32.8-12.5 45.3 0zM640 96l0 320c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-320c0-17.7 14.3-32 32-32s32 14.3 32 32z"/></svg></div><div class="disable-access-view">Szavak közötti távolság növelése</div>';
}
wordSpaceMinusBtnContent(){
return '<div class="disable-access-view">-<svg alt="Gomb ikon" role="presentation" height="35" width="35" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M32 64c17.7 0 32 14.3 32 32l0 320c0 17.7-14.3 32-32 32s-32-14.3-32-32L0 96C0 78.3 14.3 64 32 64zm214.6 73.4c12.5 12.5 12.5 32.8 0 45.3L205.3 224l229.5 0-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L434.7 288l-229.5 0 41.4 41.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-96-96c-12.5-12.5-12.5-32.8 0-45.3l96-96c12.5-12.5 32.8-12.5 45.3 0zM640 96l0 320c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-320c0-17.7 14.3-32 32-32s32 14.3 32 32z"/></svg></div><div class="disable-access-view">Szavak közötti távolság csökkentése</div>';
}
invertFilterBtnContent(){
return '<div class="disable-access-view"><svg alt="Gomb ikon" role="presentation" height="35" width="35" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M448 256c0-106-86-192-192-192l0 384c106 0 192-86 192-192zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"/></svg></div><div class="disable-access-view">Fordított színek</div>';
}
grayFilterBtnContent(){
return '<div class="disable-access-view"><svg alt="Gomb ikon" role="presentation" height="35" width="35" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M320 512c53.2 0 101.4-21.6 136.1-56.6l-298.3-235C140 257.1 128 292.3 128 320c0 106 86 192 192 192zM505.2 370.7c4.4-16.2 6.8-33.1 6.8-50.7c0-91.2-130.2-262.3-166.6-308.3C339.4 4.2 330.5 0 320.9 0l-1.8 0c-9.6 0-18.5 4.2-24.5 11.7C277.8 33 240.7 81.3 205.8 136L38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L505.2 370.7zM224 336c0 44.2 35.8 80 80 80c8.8 0 16 7.2 16 16s-7.2 16-16 16c-61.9 0-112-50.1-112-112c0-8.8 7.2-16 16-16s16 7.2 16 16z"/></svg></div><div class="disable-access-view">Szürke árnyalat</div>';
}
plusCursorSizeBtnContent(){
return '<div class="disable-access-view"><svg alt="Gomb ikon" role="presentation" height="35" width="35" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M0 55.2L0 426c0 12.2 9.9 22 22 22c6.3 0 12.4-2.7 16.6-7.5L121.2 346l58.1 116.3c7.9 15.8 27.1 22.2 42.9 14.3s22.2-27.1 14.3-42.9L179.8 320l118.1 0c12.2 0 22.1-9.9 22.1-22.1c0-6.3-2.7-12.3-7.4-16.5L38.6 37.9C34.3 34.1 28.9 32 23.2 32C10.4 32 0 42.4 0 55.2z"/></svg></div><div class="disable-access-view">Nagyobb egérmutató</div>';
}
underlineBtnContent(){
return '<div class="disable-access-view"><svg alt="Gomb ikon" role="presentation" height="35" width="35" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M16 64c0-17.7 14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0 0 128c0 53 43 96 96 96s96-43 96-96l0-128-16 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-16 0 0 128c0 88.4-71.6 160-160 160s-160-71.6-160-160L64 96 48 96C30.3 96 16 81.7 16 64zM0 448c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32z"/></svg></div><div class="disable-access-view">Hivatkozások kiemelése</div>';
}
speakerBtnContent(){
return '<div class="disable-access-view"><svg alt="Gomb ikon" role="presentation" height="35" width="35" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M533.6 32.5C598.5 85.2 640 165.8 640 256s-41.5 170.7-106.4 223.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C557.5 398.2 592 331.2 592 256s-34.5-142.2-88.7-186.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM473.1 107c43.2 35.2 70.9 88.9 70.9 149s-27.7 113.8-70.9 149c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C475.3 341.3 496 301.1 496 256s-20.7-85.3-53.2-111.8c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zm-60.5 74.5C434.1 199.1 448 225.9 448 256s-13.9 56.9-35.4 74.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C393.1 284.4 400 271 400 256s-6.9-28.4-17.7-37.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM301.1 34.8C312.6 40 320 51.4 320 64l0 384c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L131.8 352 64 352c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l67.8 0L266.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3z"/></svg></div><div class="disable-access-view">Felolvasás</div>';
}}
document.addEventListener('DOMContentLoaded', function (){
new HwAccessViewHandle(
accessViewConfig,
[
{
type: "div",
createContent: "headerContent",
titleName: "Akadálymentes mód",
ariaLabel: "",
parentId: "access-view-modal-container",
classNames: ['disable-access-view'],
idName: "access-view-modal-header-container",
action: "",
callback: "",
},
{
type: "div",
createContent: "closeBtnContent",
titleName: "Akadálymentes mód bezárása",
ariaLabel: "Akadálymentes mód bezárása",
parentId: "access-view-modal-header-container",
classNames: ['disable-access-view'],
idName: "access-view-modal-close-container",
action: "click",
callback: "toggleModal",
role: "button",
},
{
type: "div",
createContent: "",
titleName: "",
ariaLabel: "",
parentId: "access-view-modal-container",
classNames: ['disable-access-view'],
idName: "access-view-modal-body-container",
action: "",
callback: "",
},
{
type: "div",
createContent: "",
titleName: "",
ariaLabel: "",
parentId: "access-view-modal-body-container",
classNames: ['disable-access-view','access-view-modal-column'],
idName: "access-view-modal-column",
action: "",
callback: "",
},
{
type: "div",
createContent: "resetBtnContent",
titleName: "Akadálymentes mód beállításainak törlése",
ariaLabel: "Akadálymentes mód beállításainak törlése",
parentId: "access-view-modal-column",
classNames: ['access-view-modal-column-btn','access-view-modal-full-width-btn','disable-access-view'],
idName: "access-view-modal-reset-btn",
action: "click",
callback: "resetSettings",
role: "button"
},
{
type: "div",
createContent: "autoFocusBtnContent",
titleName: "Auto fókusz gomb",
ariaLabel: "Auto fókusz gomb",
parentId: "access-view-modal-column",
classNames: ['access-view-modal-column-btn','disable-access-view'],
idName: "access-view-btn-auto-focus",
action: "click",
callback: "toggleAutoFocusByClick",
toggleActive: "autoFocusState",
role: "button"
},
{
type: "div",
createContent: "speakerBtnContent",
titleName: "Felolvasás gomb",
ariaLabel: "Felolvasás gomb",
parentId: "access-view-modal-column",
classNames: ['access-view-modal-column-btn','disable-access-view'],
idName: "access-view-modal-add-underline-to-nav-btn",
action: "click",
callback: "toggleSpeakerByClick",
toggleActive: "speakerState",
role: "button"
},
{
type: "div",
createContent: "fontSizePlusBtnContent",
titleName: "Betűméret növelése gomb",
ariaLabel: "Betűméret növelése gomb",
parentId: "access-view-modal-column",
classNames: ['access-view-modal-column-btn','disable-access-view'],
idName: "access-view-modal-font-size-plus-btn",
action: "click",
callback: "fontSizePlus",
role: "button"
},
{
type: "div",
createContent: "fontSizeMinusBtnContent",
titleName: "Betűméret csökkentése gomb",
ariaLabel: "Betűméret csökkentése gomb",
parentId: "access-view-modal-column",
classNames: ['access-view-modal-column-btn','disable-access-view'],
idName: "access-view-modal-font-size-minus-btn",
action: "click",
callback: "fontSizeMinus",
role: "button"
},
{
type: "div",
createContent: "lineHeightPlusBtnContent",
titleName: "Sortávolság növelése gomb",
ariaLabel: "Sortávolság növelése gomb",
parentId: "access-view-modal-column",
classNames: ['access-view-modal-column-btn','disable-access-view'],
idName: "access-view-modal-line-height-plus-btn",
action: "click",
callback: "lineHeightPlus",
role: "button"
},
{
type: "div",
createContent: "lineHeightMinusBtnContent",
titleName: "Sortávolság csökkentése gomb",
ariaLabel: "Sortávolság csökkentése gomb",
parentId: "access-view-modal-column",
classNames: ['access-view-modal-column-btn','disable-access-view'],
idName: "access-view-modal-line-height-minus-btn",
action: "click",
callback: "lineHeightMinus",
role: "button"
},
{
type: "div",
createContent: "letterSpacePlusBtnContent",
titleName: "Betűköz növelése gomb",
ariaLabel: "Betűköz növelése gomb",
parentId: "access-view-modal-column",
classNames: ['access-view-modal-column-btn','disable-access-view'],
idName: "access-view-modal-letter-space-plus-btn",
action: "click",
callback: "letterSpacePlus",
role: "button"
},
{
type: "div",
createContent: "letterSpaceMinusBtnContent",
titleName: "Betűköz csökkentése gomb",
ariaLabel: "Betűköz csökkentése gomb",
parentId: "access-view-modal-column",
classNames: ['access-view-modal-column-btn','disable-access-view'],
idName: "access-view-modal-letter-space-minus-btn",
action: "click",
callback: "letterSpaceMinus",
role: "button"
},
{
type: "div",
createContent: "wordSpacePlusBtnContent",
titleName: "Szavak közötti távolság növelése gomb",
ariaLabel: "Szavak közötti távolság növelése gomb",
parentId: "access-view-modal-column",
classNames: ['access-view-modal-column-btn','disable-access-view'],
idName: "access-view-modal-word-space-plus-btn",
action: "click",
callback: "wordSpacePlus",
role: "button"
},
{
type: "div",
createContent: "wordSpaceMinusBtnContent",
titleName: "Szavak közötti távolság csökkentése gomb",
ariaLabel: "Szavak közötti távolság csökkentése gomb",
parentId: "access-view-modal-column",
classNames: ['access-view-modal-column-btn','disable-access-view'],
idName: "access-view-modal-word-space-minus-btn",
action: "click",
callback: "wordSpaceMinus",
role: "button"
},
{
type: "div",
createContent: "invertFilterBtnContent",
titleName: "Fordított színek gomb",
ariaLabel: "Fordított szanek gomb",
parentId: "access-view-modal-column",
classNames: ['access-view-modal-column-btn','disable-access-view'],
idName: "access-view-modal-invert-filter-btn",
action: "click",
callback: "addInvertFilter",
role: "button",
toggleActive: "activeFilter",
},
{
type: "div",
createContent: "grayFilterBtnContent",
titleName: "Szürke árnyalat gomb",
ariaLabel: "Szürke árnyalat gomb",
parentId: "access-view-modal-column",
classNames: ['access-view-modal-column-btn','disable-access-view'],
idName: "access-view-modal-gray-filter-btn",
action: "click",
callback: "addGrayFilter",
role: "button",
toggleActive: "activeFilter",
},
{
type: "div",
createContent: "plusCursorSizeBtnContent",
titleName: "Nagyobb egérmutató gomb",
ariaLabel: "Nagyobb egérmutató gomb",
parentId: "access-view-modal-column",
classNames: ['access-view-modal-column-btn','disable-access-view'],
idName: "access-view-modal-plus-cursor-size-btn",
action: "click",
callback: "plusCursorSize",
role: "button"
},
{
type: "div",
createContent: "underlineBtnContent",
titleName: "Hivatkozások kiemelése gomb",
ariaLabel: "Hivatkozások kiemelése gomb",
parentId: "access-view-modal-column",
classNames: ['access-view-modal-column-btn','disable-access-view'],
idName: "access-view-modal-add-underline-to-nav-btn",
action: "click",
callback: "underlineToNav",
role: "button",
toggleActive: "underlineState",
},
]);
});
(()=>{"use strict";var e,r,_,t,a,n={},i={};function __webpack_require__(e){var r=i[e];if(void 0!==r)return r.exports;var _=i[e]={exports:{}};return n[e].call(_.exports,_,_.exports,__webpack_require__),_.exports}__webpack_require__.m=n,e=[],__webpack_require__.O=(r,_,t,a)=>{if(!_){var n=1/0;for(b=0;b<e.length;b++){for(var[_,t,a]=e[b],i=!0,c=0;c<_.length;c++)(!1&a||n>=a)&&Object.keys(__webpack_require__.O).every(e=>__webpack_require__.O[e](_[c]))?_.splice(c--,1):(i=!1,a<n&&(n=a));if(i){e.splice(b--,1);var o=t();void 0!==o&&(r=o)}}return r}a=a||0;for(var b=e.length;b>0&&e[b-1][2]>a;b--)e[b]=e[b-1];e[b]=[_,t,a]},_=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var a=Object.create(null);__webpack_require__.r(a);var n={};r=r||[null,_({}),_([]),_(_)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~r.indexOf(i);i=_(i))Object.getOwnPropertyNames(i).forEach(r=>n[r]=()=>e[r]);return n.default=()=>e,__webpack_require__.d(a,n),a},__webpack_require__.d=(e,r)=>{for(var _ in r)__webpack_require__.o(r,_)&&!__webpack_require__.o(e,_)&&Object.defineProperty(e,_,{enumerable:!0,get:r[_]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((r,_)=>(__webpack_require__.f[_](e,r),r),[])),__webpack_require__.u=e=>786===e?"397f2d183c19202777d6.bundle.min.js":216===e?"lightbox.570c05c5a283cfb6b223.bundle.min.js":30===e?"text-path.a67c1f3a78d208bc7e1b.bundle.min.js":131===e?"accordion.8b0db5058afeb74622f5.bundle.min.js":707===e?"alert.42cc1d522ef5c60bf874.bundle.min.js":457===e?"counter.12335f45aaa79d244f24.bundle.min.js":234===e?"progress.0ea083b809812c0e3aa1.bundle.min.js":575===e?"tabs.18344b05d8d1ea0702bc.bundle.min.js":775===e?"toggle.2a177a3ef4785d3dfbc5.bundle.min.js":180===e?"video.86d44e46e43d0807e708.bundle.min.js":177===e?"image-carousel.6167d20b95b33386757b.bundle.min.js":212===e?"text-editor.45609661e409413f1cef.bundle.min.js":211===e?"wp-audio.c9624cb6e5dc9de86abd.bundle.min.js":215===e?"nested-tabs.a2401356d329f179475e.bundle.min.js":915===e?"nested-accordion.294d40984397351fd0f5.bundle.min.js":1===e?"contact-buttons.e98d0220ce8c38404e7e.bundle.min.js":336===e?"floating-bars.740d06d17cea5cebdb61.bundle.min.js":557===e?"shared-frontend-handlers.03caa53373b56d3bab67.bundle.min.js":396===e?"shared-editor-handlers.cacdcbed391abf4b48b0.bundle.min.js":768===e?"container-editor-handlers.a2e8e48d28c5544fb183.bundle.min.js":77===e?"section-frontend-handlers.d85ab872da118940910d.bundle.min.js":220===e?"section-editor-handlers.53ffedef32043348b99b.bundle.min.js":304===e?"nested-title-keyboard-handler.2a67d3cc630e11815acc.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},a="elementorFrontend:",__webpack_require__.l=(e,r,_,n)=>{if(t[e])t[e].push(r);else{var i,c;if(void 0!==_)for(var o=document.getElementsByTagName("script"),b=0;b<o.length;b++){var u=o[b];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==a+_){i=u;break}}i||(c=!0,(i=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&i.setAttribute("nonce",__webpack_require__.nc),i.setAttribute("data-webpack",a+_),i.src=e),t[e]=[r];var onScriptComplete=(r,_)=>{i.onerror=i.onload=null,clearTimeout(d);var a=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(_)),r)return r(_)},d=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=onScriptComplete.bind(null,i.onerror),i.onload=onScriptComplete.bind(null,i.onload),c&&document.head.appendChild(i)}},__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var r=__webpack_require__.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var _=r.getElementsByTagName("script");if(_.length)for(var t=_.length-1;t>-1&&(!e||!/^http(s?):/.test(e));)e=_[t--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={76:0};__webpack_require__.f.j=(r,_)=>{var t=__webpack_require__.o(e,r)?e[r]:void 0;if(0!==t)if(t)_.push(t[2]);else if(76!=r){var a=new Promise((_,a)=>t=e[r]=[_,a]);_.push(t[2]=a);var n=__webpack_require__.p+__webpack_require__.u(r),i=new Error;__webpack_require__.l(n,_=>{if(__webpack_require__.o(e,r)&&(0!==(t=e[r])&&(e[r]=void 0),t)){var a=_&&("load"===_.type?"missing":_.type),n=_&&_.target&&_.target.src;i.message="Loading chunk "+r+" failed.\n("+a+": "+n+")",i.name="ChunkLoadError",i.type=a,i.request=n,t[1](i)}},"chunk-"+r,r)}else e[r]=0},__webpack_require__.O.j=r=>0===e[r];var webpackJsonpCallback=(r,_)=>{var t,a,[n,i,c]=_,o=0;if(n.some(r=>0!==e[r])){for(t in i)__webpack_require__.o(i,t)&&(__webpack_require__.m[t]=i[t]);if(c)var b=c(__webpack_require__)}for(r&&r(_);o<n.length;o++)a=n[o],__webpack_require__.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return __webpack_require__.O(b)},r=self.webpackChunkelementorFrontend=self.webpackChunkelementorFrontend||[];r.forEach(webpackJsonpCallback.bind(null,0)),r.push=webpackJsonpCallback.bind(null,r.push.bind(r))})()})();
(self.webpackChunkelementorFrontend=self.webpackChunkelementorFrontend||[]).push([[941],{1:(e,t,r)=>{"use strict";var n=r(5578),i=r(7255),s=r(5755),o=r(1866),a=r(6029),c=r(5022),l=n.Symbol,u=i("wks"),p=c?l.for||l:l&&l.withoutSetter||o;e.exports=function(e){return s(u,e)||(u[e]=a&&s(l,e)?l[e]:p("Symbol."+e)),u[e]}},41:e=>{"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},169:(e,t,r)=>{"use strict";var n=r(4762),i=r(8473),s=r(1483),o=r(5755),a=r(382),c=r(2048).CONFIGURABLE,l=r(7268),u=r(4483),p=u.enforce,d=u.get,h=String,f=Object.defineProperty,g=n("".slice),m=n("".replace),v=n([].join),y=a&&!i(function(){return 8!==f(function(){},"length",{value:8}).length}),w=String(String).split("String"),b=e.exports=function(e,t,r){"Symbol("===g(h(t),0,7)&&(t="["+m(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||c&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),y&&r&&o(r,"arity")&&e.length!==r.arity&&f(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=p(e);return o(n,"source")||(n.source=v(w,"string"==typeof t?t:"")),e};Function.prototype.toString=b(function toString(){return s(this)&&d(this).source||l(this)},"toString")},274:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},348:(e,t,r)=>{"use strict";var n=r(1807),i=r(1483),s=r(1704),o=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&i(r=e.toString)&&!s(a=n(r,e)))return a;if(i(r=e.valueOf)&&!s(a=n(r,e)))return a;if("string"!==t&&i(r=e.toString)&&!s(a=n(r,e)))return a;throw new o("Can't convert object to primitive value")}},382:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},641:(e,t,r)=>{"use strict";r(5724),r(4846),r(7458),r(9655);const Module=function(){const e=jQuery,t=arguments,r=this,n={};let i;this.getItems=function(e,t){if(t){const r=t.split("."),n=r.splice(0,1);if(!r.length)return e[n];if(!e[n])return;return this.getItems(e[n],r.join("."))}return e},this.getSettings=function(e){return this.getItems(i,e)},this.setSettings=function(t,n,s){if(s||(s=i),"object"==typeof t)return e.extend(s,t),r;const o=t.split("."),a=o.splice(0,1);return o.length?(s[a]||(s[a]={}),r.setSettings(o.join("."),n,s[a])):(s[a]=n,r)},this.getErrorMessage=function(e,t){let r;if("forceMethodImplementation"===e)r=`The method '${t}' must to be implemented in the inheritor child.`;else r="An error occurs";return r},this.forceMethodImplementation=function(e){throw new Error(this.getErrorMessage("forceMethodImplementation",e))},this.on=function(t,i){if("object"==typeof t)return e.each(t,function(e){r.on(e,this)}),r;return t.split(" ").forEach(function(e){n[e]||(n[e]=[]),n[e].push(i)}),r},this.off=function(e,t){if(!n[e])return r;if(!t)return delete n[e],r;const i=n[e].indexOf(t);return-1!==i&&(delete n[e][i],n[e]=n[e].filter(e=>e)),r},this.trigger=function(t){const i="on"+t[0].toUpperCase()+t.slice(1),s=Array.prototype.slice.call(arguments,1);r[i]&&r[i].apply(r,s);const o=n[t];return o?(e.each(o,function(e,t){t.apply(r,s)}),r):r},r.__construct.apply(r,t),e.each(r,function(e){const t=r[e];"function"==typeof t&&(r[e]=function(){return t.apply(r,arguments)})}),function(){i=r.getDefaultSettings();const n=t[0];n&&e.extend(!0,i,n)}(),r.trigger("init")};Module.prototype.__construct=function(){},Module.prototype.getDefaultSettings=function(){return{}},Module.prototype.getConstructorID=function(){return this.constructor.name},Module.extend=function(e){const t=jQuery,r=this,child=function(){return r.apply(this,arguments)};return t.extend(child,r),(child.prototype=Object.create(t.extend({},r.prototype,e))).constructor=child,child.__super__=r.prototype,child},e.exports=Module},670:(e,t,r)=>{"use strict";var n=r(382),i=r(5835),s=r(7738);e.exports=function(e,t,r){n?i.f(e,t,s(0,r)):e[t]=r}},751:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724),r(4846),r(9655);class InstanceType{static[Symbol.hasInstance](e){let t=super[Symbol.hasInstance](e);if(e&&!e.constructor.getInstanceType)return t;if(e&&(e.instanceTypes||(e.instanceTypes=[]),t||this.getInstanceType()===e.constructor.getInstanceType()&&(t=!0),t)){const t=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===e.instanceTypes.indexOf(t)&&e.instanceTypes.push(t)}return!t&&e&&(t=e.instanceTypes&&Array.isArray(e.instanceTypes)&&-1!==e.instanceTypes.indexOf(this.getInstanceType())),t}static getInstanceType(){elementorModules.ForceMethodImplementation()}constructor(){let e=new.target;const t=[];for(;e.__proto__&&e.__proto__.name;)t.push(e.__proto__),e=e.__proto__;t.reverse().forEach(e=>this instanceof e)}}t.default=InstanceType},1091:e=>{"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},1265:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(641)),s=n(r(2425)),o=n(r(2946)),a=n(r(3980)),c=n(r(2970)),l=n(r(8685)),u=r(9031),p=r(1462);const d={Module:i.default,ViewModule:s.default,ArgsObject:o.default,ForceMethodImplementation:l.default,utils:{Masonry:a.default,Scroll:c.default},importExport:{createGetInitialState:u.createGetInitialState,customizationDialogsRegistry:p.customizationDialogsRegistry}};window.elementorModules?Object.assign(window.elementorModules,d):window.elementorModules=d;t.default=window.elementorModules},1278:(e,t,r)=>{"use strict";var n=r(4762),i=n({}.toString),s=n("".slice);e.exports=function(e){return s(i(e),8,-1)}},1409:(e,t,r)=>{"use strict";var n=r(5578),i=r(1483);e.exports=function(e,t){return arguments.length<2?(r=n[e],i(r)?r:void 0):n[e]&&n[e][t];var r}},1423:(e,t,r)=>{"use strict";var n=r(1409),i=r(1483),s=r(4815),o=r(5022),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&s(t.prototype,a(e))}},1462:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.customizationDialogsRegistry=void 0;var n=r(7958);t.customizationDialogsRegistry=new n.BaseRegistry},1483:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},1506:(e,t,r)=>{"use strict";var n=r(2914),i=r(1807),s=r(2293),o=r(8761),a=r(5299),c=r(6960),l=r(4815),u=r(4887),p=r(6665),d=r(6721),h=TypeError,Result=function(e,t){this.stopped=e,this.result=t},f=Result.prototype;e.exports=function(e,t,r){var g,m,v,y,w,b,S,x=r&&r.that,E=!(!r||!r.AS_ENTRIES),I=!(!r||!r.IS_RECORD),_=!(!r||!r.IS_ITERATOR),C=!(!r||!r.INTERRUPTED),O=n(t,x),stop=function(e){return g&&d(g,"normal"),new Result(!0,e)},callFn=function(e){return E?(s(e),C?O(e[0],e[1],stop):O(e[0],e[1])):C?O(e,stop):O(e)};if(I)g=e.iterator;else if(_)g=e;else{if(!(m=p(e)))throw new h(o(e)+" is not iterable");if(a(m)){for(v=0,y=c(e);y>v;v++)if((w=callFn(e[v]))&&l(f,w))return w;return new Result(!1)}g=u(e,m)}for(b=I?e.next:g.next;!(S=i(b,g)).done;){try{w=callFn(S.value)}catch(e){d(g,"throw",e)}if("object"==typeof w&&w&&l(f,w))return w}return new Result(!1)}},1507:e=>{"use strict";e.exports={}},1703:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function trunc(e){var n=+e;return(n>0?r:t)(n)}},1704:(e,t,r)=>{"use strict";var n=r(1483);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},1799:(e,t,r)=>{"use strict";var n=r(382),i=r(8473),s=r(3145);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})},1807:(e,t,r)=>{"use strict";var n=r(274),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},1831:(e,t,r)=>{"use strict";var n=r(9557),i=r(5578),s=r(2095),o="__core-js_shared__",a=e.exports=i[o]||s(o,{});(a.versions||(a.versions=[])).push({version:"3.46.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"})},1851:(e,t,r)=>{"use strict";var n,i,s,o=r(8473),a=r(1483),c=r(1704),l=r(5290),u=r(3181),p=r(7914),d=r(1),h=r(9557),f=d("iterator"),g=!1;[].keys&&("next"in(s=[].keys())?(i=u(u(s)))!==Object.prototype&&(n=i):g=!0),!c(n)||o(function(){var e={};return n[f].call(e)!==e})?n={}:h&&(n=l(n)),a(n[f])||p(n,f,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},1866:(e,t,r)=>{"use strict";var n=r(4762),i=0,s=Math.random(),o=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+s,36)}},1975:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(8120),o=r(2293),a=r(41),c=r(8660),l=r(8901),u=r(9557),p=r(6721),d=r(7486),h=r(5267),f=!u&&!d("filter",function(){}),g=!u&&!f&&h("filter",TypeError),m=u||f||g,v=c(function(){for(var e,t,r=this.iterator,n=this.predicate,s=this.next;;){if(e=o(i(s,r)),this.done=!!e.done)return;if(t=e.value,l(r,n,[t,this.counter++],!0))return t}});n({target:"Iterator",proto:!0,real:!0,forced:m},{filter:function filter(e){o(this);try{s(e)}catch(e){p(this,"throw",e)}return g?i(g,this,e):new v(a(this),{predicate:e})}})},1983:(e,t,r)=>{"use strict";var n=r(6721);e.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(void 0!==e[i])try{r=n(e[i].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},2048:(e,t,r)=>{"use strict";var n=r(382),i=r(5755),s=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=i(s,"name"),c=a&&"something"===function something(){}.name,l=a&&(!n||n&&o(s,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},2095:(e,t,r)=>{"use strict";var n=r(5578),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},2121:(e,t,r)=>{"use strict";var n=r(4762),i=r(8473),s=r(1278),o=Object,a=n("".split);e.exports=i(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"===s(e)?a(e,""):o(e)}:o},2278:(e,t,r)=>{"use strict";var n=r(6742),i=r(4741).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return n(e,i)}},2293:(e,t,r)=>{"use strict";var n=r(1704),i=String,s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(i(e)+" is not an object")}},2313:(e,t,r)=>{"use strict";var n=r(7914);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},2347:(e,t,r)=>{"use strict";var n=r(3312),i=Object;e.exports=function(e){return i(n(e))}},2355:(e,t,r)=>{"use strict";var n=r(1807),i=r(1704),s=r(1423),o=r(2564),a=r(348),c=r(1),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!i(e)||s(e))return e;var r,c=o(e,u);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!i(r)||s(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},2425:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(641));t.default=i.default.extend({elements:null,getDefaultElements:()=>({}),bindEvents(){},onInit(){this.initElements(),this.bindEvents()},initElements(){this.elements=this.getDefaultElements()}})},2564:(e,t,r)=>{"use strict";var n=r(8120),i=r(5983);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},2811:(e,t,r)=>{"use strict";var n=r(1409);e.exports=n("document","documentElement")},2890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211);class _default extends elementorModules.ViewModule{getDefaultSettings(){return{selectors:{elements:".elementor-element",nestedDocumentElements:".elementor .elementor-element"},classes:{editMode:"elementor-edit-mode"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$elements:this.$element.find(e.elements).not(this.$element.find(e.nestedDocumentElements))}}getDocumentSettings(e){let t;if(this.isEdit){t={};const e=elementor.settings.page.model;jQuery.each(e.getActiveControls(),r=>{t[r]=e.attributes[r]})}else t=this.$element.data("elementor-settings")||{};return this.getItems(t,e)}runElementsHandlers(){this.elements.$elements.each((e,t)=>setTimeout(()=>elementorFrontend.elementsHandler.runReadyTrigger(t)))}onInit(){this.$element=this.getSettings("$element"),super.onInit(),this.isEdit=this.$element.hasClass(this.getSettings("classes.editMode")),this.isEdit?elementor.on("document:loaded",()=>{elementor.settings.page.model.on("change",this.onSettingsChange.bind(this))}):this.runElementsHandlers()}onSettingsChange(){}}t.default=_default},2914:(e,t,r)=>{"use strict";var n=r(3786),i=r(8120),s=r(274),o=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:s?o(e,t):function(){return e.apply(t,arguments)}}},2946:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(751)),s=n(r(5213));class ArgsObject extends i.default{static getInstanceType(){return"ArgsObject"}constructor(e){super(),this.args=e}requireArgument(e,t=this.args){if(!Object.prototype.hasOwnProperty.call(t,e))throw Error(`${e} is required.`)}requireArgumentType(e,t,r=this.args){if(this.requireArgument(e,r),typeof r[e]!==t)throw Error(`${e} invalid type: ${t}.`)}requireArgumentInstance(e,t,r=this.args){if(this.requireArgument(e,r),!(r[e]instanceof t||(0,s.default)(r[e],t)))throw Error(`${e} invalid instance.`)}requireArgumentConstructor(e,t,r=this.args){if(this.requireArgument(e,r),r[e].constructor.toString()!==t.prototype.constructor.toString())throw Error(`${e} invalid constructor type.`)}}t.default=ArgsObject},2970:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724);t.default=class Scroll{static scrollObserver(e){let t=0;const r={root:e.root||null,rootMargin:e.offset||"0px",threshold:((e=0)=>{const t=[];if(e>0&&e<=100){const r=100/e;for(let e=0;e<=100;e+=r)t.push(e/100)}else t.push(0);return t})(e.sensitivity)};return new IntersectionObserver(function handleIntersect(r){const n=r[0].boundingClientRect.y,i=r[0].isIntersecting,s=n<t?"down":"up",o=Math.abs(parseFloat((100*r[0].intersectionRatio).toFixed(2)));e.callback({sensitivity:e.sensitivity,isInViewport:i,scrollPercentage:o,intersectionScrollDirection:s}),t=n},r)}static getElementViewportPercentage(e,t={}){const r=e[0].getBoundingClientRect(),n=t.start||0,i=t.end||0,s=window.innerHeight*n/100,o=window.innerHeight*i/100,a=r.top-window.innerHeight,c=0-a+s,l=r.top+s+e.height()-a+o,u=Math.max(0,Math.min(c/l,1));return parseFloat((100*u).toFixed(2))}static getPageScrollPercentage(e={},t){const r=e.start||0,n=e.end||0,i=t||document.documentElement.scrollHeight-document.documentElement.clientHeight,s=i*r/100,o=i+s+i*n/100;return(document.documentElement.scrollTop+document.body.scrollTop+s)/o*100}}},3005:(e,t,r)=>{"use strict";var n=r(1703);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},3145:(e,t,r)=>{"use strict";var n=r(5578),i=r(1704),s=n.document,o=i(s)&&i(s.createElement);e.exports=function(e){return o?s.createElement(e):{}}},3181:(e,t,r)=>{"use strict";var n=r(5755),i=r(1483),s=r(2347),o=r(5409),a=r(9441),c=o("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=s(e);if(n(t,c))return t[c];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof l?u:null}},3242:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(1506),o=r(8120),a=r(2293),c=r(41),l=r(6721),u=r(5267)("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{find:function find(e){a(this);try{o(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;return s(t,function(t,n){if(e(t,r++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},3312:(e,t,r)=>{"use strict";var n=r(5983),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},3392:(e,t,r)=>{"use strict";var n=r(3005),i=Math.max,s=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):s(r,t)}},3617:(e,t,r)=>{"use strict";var n=r(8612),i=r(5578),s=r(6021),o=r(2293),a=r(1483),c=r(3181),l=r(3864),u=r(670),p=r(8473),d=r(5755),h=r(1),f=r(1851).IteratorPrototype,g=r(382),m=r(9557),v="constructor",y="Iterator",w=h("toStringTag"),b=TypeError,S=i[y],x=m||!a(S)||S.prototype!==f||!p(function(){S({})}),E=function Iterator(){if(s(this,f),c(this)===f)throw new b("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(e,t){g?l(f,e,{configurable:!0,get:function(){return t},set:function(t){if(o(this),this===f)throw new b("You can't redefine this property");d(this,e)?this[e]=t:u(this,e,t)}}):f[e]=t};d(f,w)||defineIteratorPrototypeAccessor(w,y),!x&&d(f,v)&&f[v]!==Object||defineIteratorPrototypeAccessor(v,E),E.prototype=f,n({global:!0,constructor:!0,forced:x},{Iterator:E})},3658:(e,t,r)=>{"use strict";var n=r(6742),i=r(4741);e.exports=Object.keys||function keys(e){return n(e,i)}},3786:(e,t,r)=>{"use strict";var n=r(1278),i=r(4762);e.exports=function(e){if("Function"===n(e))return i(e)}},3815:(e,t,r)=>{"use strict";var n=r(2355),i=r(1423);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},3864:(e,t,r)=>{"use strict";var n=r(169),i=r(5835);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},3896:(e,t,r)=>{"use strict";var n=r(382),i=r(8473);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},3980:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724);var i=n(r(2425));t.default=i.default.extend({getDefaultSettings:()=>({container:null,items:null,columnsCount:3,verticalSpaceBetween:30}),getDefaultElements(){return{$container:jQuery(this.getSettings("container")),$items:jQuery(this.getSettings("items"))}},run(){var e=[],t=this.elements.$container.position().top,r=this.getSettings(),n=r.columnsCount;t+=parseInt(this.elements.$container.css("margin-top"),10),this.elements.$items.each(function(i){var s=Math.floor(i/n),o=jQuery(this),a=o[0].getBoundingClientRect().height+r.verticalSpaceBetween;if(s){var c=o.position(),l=i%n,u=c.top-t-e[l];u-=parseInt(o.css("margin-top"),10),u*=-1,o.css("margin-top",u+"px"),e[l]+=a}else e.push(a)})}})},3991:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(8120),o=r(2293),a=r(41),c=r(8660),l=r(8901),u=r(6721),p=r(7486),d=r(5267),h=r(9557),f=!h&&!p("map",function(){}),g=!h&&!f&&d("map",TypeError),m=h||f||g,v=c(function(){var e=this.iterator,t=o(i(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:m},{map:function map(e){o(this);try{s(e)}catch(e){u(this,"throw",e)}return g?i(g,this,e):new v(a(this),{mapper:e})}})},4338:(e,t,r)=>{"use strict";var n={};n[r(1)("toStringTag")]="z",e.exports="[object z]"===String(n)},4347:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},4364:(e,t,r)=>{"use strict";r(3991)},4483:(e,t,r)=>{"use strict";var n,i,s,o=r(4644),a=r(5578),c=r(1704),l=r(9037),u=r(5755),p=r(1831),d=r(5409),h=r(1507),f="Object already initialized",g=a.TypeError,m=a.WeakMap;if(o||p.state){var v=p.state||(p.state=new m);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new g(f);return t.facade=e,v.set(e,t),t},i=function(e){return v.get(e)||{}},s=function(e){return v.has(e)}}else{var y=d("state");h[y]=!0,n=function(e,t){if(u(e,y))throw new g(f);return t.facade=e,l(e,y,t),t},i=function(e){return u(e,y)?e[y]:{}},s=function(e){return u(e,y)}}e.exports={set:n,get:i,has:s,enforce:function(e){return s(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}},4644:(e,t,r)=>{"use strict";var n=r(5578),i=r(1483),s=n.WeakMap;e.exports=i(s)&&/native code/.test(String(s))},4741:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4762:(e,t,r)=>{"use strict";var n=r(274),i=Function.prototype,s=i.call,o=n&&i.bind.bind(s,s);e.exports=n?o:function(e){return function(){return s.apply(e,arguments)}}},4815:(e,t,r)=>{"use strict";var n=r(4762);e.exports=n({}.isPrototypeOf)},4846:(e,t,r)=>{"use strict";r(3617)},4887:(e,t,r)=>{"use strict";var n=r(1807),i=r(8120),s=r(2293),o=r(8761),a=r(6665),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(i(r))return s(n(r,e));throw new c(o(e)+" is not iterable")}},4914:(e,t,r)=>{"use strict";var n=r(1278);e.exports=Array.isArray||function isArray(e){return"Array"===n(e)}},4946:(e,t,r)=>{"use strict";var n=r(6784),i=n(r(1265)),s=n(r(2890)),o=n(r(7955)),a=n(r(8140)),c=n(r(7224)),l=n(r(5633)),u=n(r(9603));i.default.frontend={Document:s.default,tools:{StretchElement:o.default},handlers:{Base:c.default,StretchedElement:a.default,SwiperBase:l.default,CarouselBase:u.default}}},4961:(e,t,r)=>{"use strict";var n=r(382),i=r(1807),s=r(7611),o=r(7738),a=r(5599),c=r(3815),l=r(5755),u=r(1799),p=Object.getOwnPropertyDescriptor;t.f=n?p:function getOwnPropertyDescriptor(e,t){if(e=a(e),t=c(t),u)try{return p(e,t)}catch(e){}if(l(e,t))return o(!i(s.f,e,t),e[t])}},5022:(e,t,r)=>{"use strict";var n=r(6029);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5213:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=(e,t)=>{t=Array.isArray(t)?t:[t];for(const r of t)if(e.constructor.name===r.prototype[Symbol.toStringTag])return!0;return!1}},5247:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},5267:(e,t,r)=>{"use strict";var n=r(5578);e.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,s=i&&i[e],o=!1;if(s)try{s.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(e){e instanceof t||(o=!1)}if(!o)return s}},5290:(e,t,r)=>{"use strict";var n,i=r(2293),s=r(5799),o=r(4741),a=r(1507),c=r(2811),l=r(3145),u=r(5409),p="prototype",d="script",h=u("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return"<"+d+">"+e+"</"+d+">"},NullProtoObjectViaActiveX=function(e){e.write(scriptTag("")),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObject=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;NullProtoObject="undefined"!=typeof document?document.domain&&n?NullProtoObjectViaActiveX(n):(t=l("iframe"),r="java"+d+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(scriptTag("document.F=Object")),e.close(),e.F):NullProtoObjectViaActiveX(n);for(var i=o.length;i--;)delete NullProtoObject[p][o[i]];return NullProtoObject()};a[h]=!0,e.exports=Object.create||function create(e,t){var r;return null!==e?(EmptyConstructor[p]=i(e),r=new EmptyConstructor,EmptyConstructor[p]=null,r[h]=e):r=NullProtoObject(),void 0===t?r:s.f(r,t)}},5299:(e,t,r)=>{"use strict";var n=r(1),i=r(6775),s=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[s]===e)}},5409:(e,t,r)=>{"use strict";var n=r(7255),i=r(1866),s=n("keys");e.exports=function(e){return s[e]||(s[e]=i(e))}},5578:function(e,t,r){"use strict";var check=function(e){return e&&e.Math===Math&&e};e.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof r.g&&r.g)||check("object"==typeof this&&this)||function(){return this}()||Function("return this")()},5599:(e,t,r)=>{"use strict";var n=r(2121),i=r(3312);e.exports=function(e){return n(i(e))}},5633:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(7224));class SwiperHandlerBase extends i.default{getInitialSlide(){const e=this.getEditSettings();return e.activeItemIndex?e.activeItemIndex-1:0}getSlidesCount(){return this.elements.$slides.length}togglePauseOnHover(e){e?this.elements.$swiperContainer.on({mouseenter:()=>{this.swiper.autoplay.stop()},mouseleave:()=>{this.swiper.autoplay.start()}}):this.elements.$swiperContainer.off("mouseenter mouseleave")}handleKenBurns(){const e=this.getSettings();this.$activeImageBg&&this.$activeImageBg.removeClass(e.classes.kenBurnsActive),this.activeItemIndex=this.swiper?this.swiper.activeIndex:this.getInitialSlide(),this.swiper?this.$activeImageBg=jQuery(this.swiper.slides[this.activeItemIndex]).children("."+e.classes.slideBackground):this.$activeImageBg=jQuery(this.elements.$slides[0]).children("."+e.classes.slideBackground),this.$activeImageBg.addClass(e.classes.kenBurnsActive)}}t.default=SwiperHandlerBase},5724:(e,t,r)=>{"use strict";var n=r(8612),i=r(2347),s=r(6960),o=r(9273),a=r(1091);n({target:"Array",proto:!0,arity:1,forced:r(8473)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function push(e){var t=i(this),r=s(t),n=arguments.length;a(r+n);for(var c=0;c<n;c++)t[r]=arguments[c],r++;return o(t,r),r}})},5755:(e,t,r)=>{"use strict";var n=r(4762),i=r(2347),s=n({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return s(i(e),t)}},5799:(e,t,r)=>{"use strict";var n=r(382),i=r(3896),s=r(5835),o=r(2293),a=r(5599),c=r(3658);t.f=n&&!i?Object.defineProperties:function defineProperties(e,t){o(e);for(var r,n=a(t),i=c(t),l=i.length,u=0;l>u;)s.f(e,r=i[u++],n[r]);return e}},5835:(e,t,r)=>{"use strict";var n=r(382),i=r(1799),s=r(3896),o=r(2293),a=r(3815),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",d="configurable",h="writable";t.f=n?s?function defineProperty(e,t,r){if(o(e),t=a(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=u(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:p in r?r[p]:n[p],writable:!1})}return l(e,t,r)}:l:function defineProperty(e,t,r){if(o(e),t=a(t),o(r),i)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},5983:e=>{"use strict";e.exports=function(e){return null==e}},6021:(e,t,r)=>{"use strict";var n=r(4815),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},6029:(e,t,r)=>{"use strict";var n=r(6477),i=r(8473),s=r(5578).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},6145:(e,t,r)=>{"use strict";var n=r(4338),i=r(1483),s=r(1278),o=r(1)("toStringTag"),a=Object,c="Arguments"===s(function(){return arguments}());e.exports=n?s:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?r:c?s(t):"Object"===(n=s(t))&&i(t.callee)?"Arguments":n}},6211:(e,t,r)=>{"use strict";r(3242)},6477:(e,t,r)=>{"use strict";var n,i,s=r(5578),o=r(9461),a=s.process,c=s.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},6651:(e,t,r)=>{"use strict";var n=r(5599),i=r(3392),s=r(6960),createMethod=function(e){return function(t,r,o){var a=n(t),c=s(a);if(0===c)return!e&&-1;var l,u=i(o,c);if(e&&r!=r){for(;c>u;)if((l=a[u++])!=l)return!0}else for(;c>u;u++)if((e||u in a)&&a[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},6665:(e,t,r)=>{"use strict";var n=r(6145),i=r(2564),s=r(5983),o=r(6775),a=r(1)("iterator");e.exports=function(e){if(!s(e))return i(e,a)||i(e,"@@iterator")||o[n(e)]}},6721:(e,t,r)=>{"use strict";var n=r(1807),i=r(2293),s=r(2564);e.exports=function(e,t,r){var o,a;i(e);try{if(!(o=s(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw r;if(a)throw o;return i(o),r}},6726:(e,t,r)=>{"use strict";var n=r(5755),i=r(9497),s=r(4961),o=r(5835);e.exports=function(e,t,r){for(var a=i(t),c=o.f,l=s.f,u=0;u<a.length;u++){var p=a[u];n(e,p)||r&&n(r,p)||c(e,p,l(t,p))}}},6742:(e,t,r)=>{"use strict";var n=r(4762),i=r(5755),s=r(5599),o=r(6651).indexOf,a=r(1507),c=n([].push);e.exports=function(e,t){var r,n=s(e),l=0,u=[];for(r in n)!i(a,r)&&i(n,r)&&c(u,r);for(;t.length>l;)i(n,r=t[l++])&&(~o(u,r)||c(u,r));return u}},6775:e=>{"use strict";e.exports={}},6784:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},6960:(e,t,r)=>{"use strict";var n=r(8324);e.exports=function(e){return n(e.length)}},7224:(e,t,r)=>{"use strict";r(5724),r(4846),r(7458),r(6211),r(9655),e.exports=elementorModules.ViewModule.extend({$element:null,editorListeners:null,onElementChange:null,onEditSettingsChange:null,onPageSettingsChange:null,isEdit:null,__construct(e){this.isActive(e)&&(this.$element=e.$element,this.isEdit=this.$element.hasClass("elementor-element-edit-mode"),this.isEdit&&this.addEditorListeners())},isActive:()=>!0,isElementInTheCurrentDocument(){return!!elementorFrontend.isEditMode()&&elementor.documents.currentDocument.id.toString()===this.$element[0].closest(".elementor").dataset.elementorId},findElement(e){var t=this.$element;return t.find(e).filter(function(){return jQuery(this).parent().closest(".elementor-element").is(t)})},getUniqueHandlerID(e,t){return e||(e=this.getModelCID()),t||(t=this.$element),e+t.attr("data-element_type")+this.getConstructorID()},initEditorListeners(){var e=this;if(e.editorListeners=[{event:"element:destroy",to:elementor.channels.data,callback(t){t.cid===e.getModelCID()&&e.onDestroy()}}],e.onElementChange){const t=e.getWidgetType()||e.getElementType();let r="change";"global"!==t&&(r+=":"+t),e.editorListeners.push({event:r,to:elementor.channels.editor,callback(t,r){e.getUniqueHandlerID(r.model.cid,r.$el)===e.getUniqueHandlerID()&&e.onElementChange(t.model.get("name"),t,r)}})}e.onEditSettingsChange&&e.editorListeners.push({event:"change:editSettings",to:elementor.channels.editor,callback(t,r){if(r.model.cid!==e.getModelCID())return;const n=Object.keys(t.changed)[0];e.onEditSettingsChange(n,t.changed[n])}}),["page"].forEach(function(t){var r="on"+t[0].toUpperCase()+t.slice(1)+"SettingsChange";e[r]&&e.editorListeners.push({event:"change",to:elementor.settings[t].model,callback(t){e[r](t.changed)}})})},getEditorListeners(){return this.editorListeners||this.initEditorListeners(),this.editorListeners},addEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach(function(t){elementorFrontend.addListenerOnce(e,t.event,t.callback,t.to)})},removeEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach(function(t){elementorFrontend.removeListeners(e,t.event,null,t.to)})},getElementType(){return this.$element.data("element_type")},getWidgetType(){const e=this.$element.data("widget_type");if(e)return e.split(".")[0]},getID(){return this.$element.data("id")},getModelCID(){return this.$element.data("model-cid")},getElementSettings(e){let t={};const r=this.getModelCID();if(this.isEdit&&r){const e=elementorFrontend.config.elements.data[r],n=e.attributes;let i=n.widgetType||n.elType;n.isInner&&(i="inner-"+i);let s=elementorFrontend.config.elements.keys[i];s||(s=elementorFrontend.config.elements.keys[i]=[],jQuery.each(e.controls,(e,t)=>{(t.frontend_available||t.editor_available)&&s.push(e)})),jQuery.each(e.getActiveControls(),function(e){if(-1!==s.indexOf(e)){let r=n[e];r.toJSON&&(r=r.toJSON()),t[e]=r}})}else t=this.$element.data("settings")||{};return this.getItems(t,e)},getEditSettings(e){var t={};return this.isEdit&&(t=elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes),this.getItems(t,e)},getCurrentDeviceSetting(e){return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(),e)},onInit(){this.isActive(this.getSettings())&&elementorModules.ViewModule.prototype.onInit.apply(this,arguments)},onDestroy(){this.isEdit&&this.removeEditorListeners(),this.unbindEvents&&this.unbindEvents()}})},7255:(e,t,r)=>{"use strict";var n=r(1831);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},7268:(e,t,r)=>{"use strict";var n=r(4762),i=r(1483),s=r(1831),o=n(Function.toString);i(s.inspectSource)||(s.inspectSource=function(e){return o(e)}),e.exports=s.inspectSource},7458:(e,t,r)=>{"use strict";r(1975)},7486:e=>{"use strict";e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},7611:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function propertyIsEnumerable(e){var t=n(this,e);return!!t&&t.enumerable}:r},7738:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7914:(e,t,r)=>{"use strict";var n=r(1483),i=r(5835),s=r(169),o=r(2095);e.exports=function(e,t,r,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:t;if(n(r)&&s(r,l,a),a.global)c?e[t]=r:o(t,r);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},7955:e=>{"use strict";e.exports=elementorModules.ViewModule.extend({getDefaultSettings:()=>({element:null,direction:elementorFrontend.config.is_rtl?"right":"left",selectors:{container:window},considerScrollbar:!1,cssOutput:"inline"}),getDefaultElements(){return{$element:jQuery(this.getSettings("element"))}},stretch(){const e=this.getSettings();let t;try{t=jQuery(e.selectors.container)}catch(e){}t&&t.length||(t=jQuery(this.getDefaultSettings().selectors.container)),this.reset();var r=this.elements.$element,n=t.innerWidth(),i=r.offset().left,s="fixed"===r.css("position"),o=s?0:i,a=window===t[0];if(!a){var c=t.offset().left;s&&(o=c),i>c&&(o=i-c)}if(e.considerScrollbar&&a){o-=window.innerWidth-n}s||(elementorFrontend.config.is_rtl&&(o=n-(r.outerWidth()+o)),o=-o),e.margin&&(o+=e.margin);var l={};let u=n;e.margin&&(u-=2*e.margin),l.width=u+"px",l[e.direction]=o+"px","variables"!==e.cssOutput?r.css(l):this.applyCssVariables(r,l)},reset(){const e={},t=this.getSettings(),r=this.elements.$element;"variables"!==t.cssOutput?(e.width="",e[t.direction]="",r.css(e)):this.resetCssVariables(r)},applyCssVariables(e,t){e.css("--stretch-width",t.width),t.left?e.css("--stretch-left",t.left):e.css("--stretch-right",t.right)},resetCssVariables(e){e.css({"--stretch-width":"","--stretch-left":"","--stretch-right":""})}})},7958:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseRegistry=void 0,r(4846),r(7458),r(9655),r(4364);t.BaseRegistry=class BaseRegistry{constructor(){this.sections=new Map}register(e){if(!e.key||!e.title)throw new Error("Template type must have key and title");const t=this.get(e.key)||this.formatSection(e);if(e.children)if(t.children){const r=new Map(t.children.map(e=>[e.key,e]));e.children.forEach(e=>{const t=this.formatSection(e);r.set(e.key,t)}),t.children=Array.from(r.values())}else t.children=e.children.map(e=>this.formatSection(e));this.sections.set(e.key,t)}formatSection({children:e,...t}){return{key:t.key,title:t.title,description:t.description||"",useParentDefault:!1!==t.useParentDefault,getInitialState:t.getInitialState||null,component:t.component||null,order:t.order||10,isAvailable:t.isAvailable||(()=>!0),...t}}getAll(){return Array.from(this.sections.values()).filter(e=>e.isAvailable()).map(e=>e.children?{...e,children:[...e.children].sort((e,t)=>e.order-t.order)}:e).sort((e,t)=>e.order-t.order)}get(e){return this.sections.get(e)}}},8120:(e,t,r)=>{"use strict";var n=r(1483),i=r(8761),s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(i(e)+" is not a function")}},8140:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211);var i=n(r(7224));class StretchedElement extends i.default{getStretchedClass(){return"e-stretched"}getStretchSettingName(){return"stretch_element"}getStretchActiveValue(){return"yes"}bindEvents(){const e=this.getUniqueHandlerID();elementorFrontend.addListenerOnce(e,"resize",this.stretch),elementorFrontend.addListenerOnce(e,"sticky:stick",this.stretch,this.$element),elementorFrontend.addListenerOnce(e,"sticky:unstick",this.stretch,this.$element),elementorFrontend.isEditMode()&&(this.onKitChangeStretchContainerChange=this.onKitChangeStretchContainerChange.bind(this),elementor.channels.editor.on("kit:change:stretchContainer",this.onKitChangeStretchContainerChange))}unbindEvents(){elementorFrontend.removeListeners(this.getUniqueHandlerID(),"resize",this.stretch),elementorFrontend.isEditMode()&&elementor.channels.editor.off("kit:change:stretchContainer",this.onKitChangeStretchContainerChange)}isActive(e){return elementorFrontend.isEditMode()||e.$element.hasClass(this.getStretchedClass())}getStretchElementForConfig(e=null){return e?this.$element.find(e):this.$element}getStretchElementConfig(){return{element:this.getStretchElementForConfig(),selectors:{container:this.getStretchContainer()},considerScrollbar:elementorFrontend.isEditMode()&&elementorFrontend.config.is_rtl}}initStretch(){this.stretch=this.stretch.bind(this),this.stretchElement=new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig())}getStretchContainer(){return elementorFrontend.getKitSettings("stretched_section_container")||window}isStretchSettingEnabled(){return this.getElementSettings(this.getStretchSettingName())===this.getStretchActiveValue()}stretch(){this.isStretchSettingEnabled()&&this.stretchElement.stretch()}onInit(...e){this.isActive(this.getSettings())&&(this.initStretch(),super.onInit(...e),this.stretch())}onElementChange(e){this.getStretchSettingName()===e&&(this.isStretchSettingEnabled()?this.stretch():this.stretchElement.reset())}onKitChangeStretchContainerChange(){this.stretchElement.setSettings("selectors.container",this.getStretchContainer()),this.stretch()}}t.default=StretchedElement},8324:(e,t,r)=>{"use strict";var n=r(3005),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},8473:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},8612:(e,t,r)=>{"use strict";var n=r(5578),i=r(4961).f,s=r(9037),o=r(7914),a=r(2095),c=r(6726),l=r(8730);e.exports=function(e,t){var r,u,p,d,h,f=e.target,g=e.global,m=e.stat;if(r=g?n:m?n[f]||a(f,{}):n[f]&&n[f].prototype)for(u in t){if(d=t[u],p=e.dontCallGetSet?(h=i(r,u))&&h.value:r[u],!l(g?u:f+(m?".":"#")+u,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(e.sham||p&&p.sham)&&s(d,"sham",!0),o(r,u,d,e)}}},8660:(e,t,r)=>{"use strict";var n=r(1807),i=r(5290),s=r(9037),o=r(2313),a=r(1),c=r(4483),l=r(2564),u=r(1851).IteratorPrototype,p=r(5247),d=r(6721),h=r(1983),f=a("toStringTag"),g="IteratorHelper",m="WrapForValidIterator",v="normal",y="throw",w=c.set,createIteratorProxyPrototype=function(e){var t=c.getterFor(e?m:g);return o(i(u),{next:function next(){var r=t(this);if(e)return r.nextHandler();if(r.done)return p(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:p(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var s=l(i,"return");return s?n(s,i):p(void 0,!0)}if(r.inner)try{d(r.inner.iterator,v)}catch(e){return d(i,y,e)}if(r.openIters)try{h(r.openIters,v)}catch(e){return d(i,y,e)}return i&&d(i,v),p(void 0,!0)}})},b=createIteratorProxyPrototype(!0),S=createIteratorProxyPrototype(!1);s(S,f,"Iterator Helper"),e.exports=function(e,t,r){var n=function Iterator(n,i){i?(i.iterator=n.iterator,i.next=n.next):i=n,i.type=t?m:g,i.returnHandlerResult=!!r,i.nextHandler=e,i.counter=0,i.done=!1,w(this,i)};return n.prototype=t?b:S,n}},8685:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ForceMethodImplementation=void 0;class ForceMethodImplementation extends Error{constructor(e={},t={}){super(`${e.isStatic?"static ":""}${e.fullName}() should be implemented, please provide '${e.functionName||e.fullName}' functionality.`,t),Object.keys(t).length&&console.error(t),Error.captureStackTrace(this,ForceMethodImplementation)}}t.ForceMethodImplementation=ForceMethodImplementation;t.default=e=>{const t=Error().stack.split("\n")[2].trim(),r=t.startsWith("at new")?"constructor":t.split(" ")[1],n={};if(n.functionName=r,n.fullName=r,n.functionName.includes(".")){const e=n.functionName.split(".");n.className=e[0],n.functionName=e[1]}else n.isStatic=!0;throw new ForceMethodImplementation(n,e)}},8730:(e,t,r)=>{"use strict";var n=r(8473),i=r(1483),s=/#|\.prototype\./,isForced=function(e,t){var r=a[o(e)];return r===l||r!==c&&(i(t)?n(t):!!t)},o=isForced.normalize=function(e){return String(e).replace(s,".").toLowerCase()},a=isForced.data={},c=isForced.NATIVE="N",l=isForced.POLYFILL="P";e.exports=isForced},8761:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},8901:(e,t,r)=>{"use strict";var n=r(2293),i=r(6721);e.exports=function(e,t,r,s){try{return s?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},9031:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetInitialState=function createGetInitialState(e,t={}){return(r,n)=>{let i=n;if(r.hasOwnProperty("uploadedData")){i=!1;const t=r.uploadedData.manifest.templates,n=elementorAppConfig?.["import-export-customization"]?.exportGroups||{};for(const r in t){if(n[t[r].doc_type]===e){i=!0;break}}}return{enabled:i,...t}}}},9037:(e,t,r)=>{"use strict";var n=r(382),i=r(5835),s=r(7738);e.exports=n?function(e,t,r){return i.f(e,t,s(1,r))}:function(e,t,r){return e[t]=r,e}},9273:(e,t,r)=>{"use strict";var n=r(382),i=r(4914),s=TypeError,o=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(i(e)&&!o(e,"length").writable)throw new s("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},9441:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})},9461:(e,t,r)=>{"use strict";var n=r(5578).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},9497:(e,t,r)=>{"use strict";var n=r(1409),i=r(4762),s=r(2278),o=r(4347),a=r(2293),c=i([].concat);e.exports=n("Reflect","ownKeys")||function ownKeys(e){var t=s.f(a(e)),r=o.f;return r?c(t,r(e)):t}},9557:e=>{"use strict";e.exports=!1},9603:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211),r(9655);var i=n(r(5633));class CarouselHandlerBase extends i.default{getDefaultSettings(){return{selectors:{carousel:".swiper",swiperWrapper:".swiper-wrapper",slideContent:".swiper-slide",swiperArrow:".elementor-swiper-button",paginationWrapper:".swiper-pagination",paginationBullet:".swiper-pagination-bullet",paginationBulletWrapper:".swiper-pagination-bullets"}}}getDefaultElements(){const e=this.getSettings("selectors"),t={$swiperContainer:this.$element.find(e.carousel),$swiperWrapper:this.$element.find(e.swiperWrapper),$swiperArrows:this.$element.find(e.swiperArrow),$paginationWrapper:this.$element.find(e.paginationWrapper),$paginationBullets:this.$element.find(e.paginationBullet),$paginationBulletWrapper:this.$element.find(e.paginationBulletWrapper)};return t.$slides=t.$swiperContainer.find(e.slideContent),t}getSwiperSettings(){const e=this.getElementSettings(),t=+e.slides_to_show||3,r=1===t,n=elementorFrontend.config.responsive.activeBreakpoints,i={mobile:1,tablet:r?1:2},s={slidesPerView:t,loop:"yes"===e.infinite,speed:e.speed,handleElementorBreakpoints:!0,breakpoints:{}};let o=t;Object.keys(n).reverse().forEach(t=>{const r=i[t]?i[t]:o;s.breakpoints[n[t].value]={slidesPerView:+e["slides_to_show_"+t]||r,slidesPerGroup:+e["slides_to_scroll_"+t]||1},e.image_spacing_custom&&(s.breakpoints[n[t].value].spaceBetween=this.getSpaceBetween(t)),o=+e["slides_to_show_"+t]||r}),"yes"===e.autoplay&&(s.autoplay={delay:e.autoplay_speed,disableOnInteraction:"yes"===e.pause_on_interaction}),r?(s.effect=e.effect,"fade"===e.effect&&(s.fadeEffect={crossFade:!0})):s.slidesPerGroup=+e.slides_to_scroll||1,e.image_spacing_custom&&(s.spaceBetween=this.getSpaceBetween());const a="arrows"===e.navigation||"both"===e.navigation,c="dots"===e.navigation||"both"===e.navigation||e.pagination;return a&&(s.navigation={prevEl:".elementor-swiper-button-prev",nextEl:".elementor-swiper-button-next"}),c&&(s.pagination={el:`.elementor-element-${this.getID()} .swiper-pagination`,type:e.pagination?e.pagination:"bullets",clickable:!0,renderBullet:(e,t)=>`<span class="${t}" role="button" tabindex="0" data-bullet-index="${e}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${e+1}"></span>`}),"yes"===e.lazyload&&(s.lazy={loadPrevNext:!0,loadPrevNextAmount:1}),s.a11y={enabled:!0,prevSlideMessage:elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage,nextSlideMessage:elementorFrontend.config.i18n.a11yCarouselNextSlideMessage,firstSlideMessage:elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage,lastSlideMessage:elementorFrontend.config.i18n.a11yCarouselLastSlideMessage},s.on={slideChange:()=>{this.a11ySetPaginationTabindex(),this.handleElementHandlers(),this.a11ySetSlideAriaHidden()},init:()=>{this.a11ySetPaginationTabindex(),this.a11ySetSlideAriaHidden("initialisation")}},this.applyOffsetSettings(e,s,t),s}getOffsetWidth(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"offset_width","size",e)||0}applyOffsetSettings(e,t,r){const n=e.offset_sides;if(!(elementorFrontend.isEditMode()&&"NestedCarousel"===this.constructor.name)&&n&&"none"!==n)switch(n){case"right":this.forceSliderToShowNextSlideWhenOnLast(t,r),this.addClassToSwiperContainer("offset-right");break;case"left":this.addClassToSwiperContainer("offset-left");break;case"both":this.forceSliderToShowNextSlideWhenOnLast(t,r),this.addClassToSwiperContainer("offset-both")}}forceSliderToShowNextSlideWhenOnLast(e,t){e.slidesPerView=t+.001}addClassToSwiperContainer(e){this.getDefaultElements().$swiperContainer[0].classList.add(e)}async onInit(...e){if(super.onInit(...e),!this.elements.$swiperContainer.length||2>this.elements.$slides.length)return;await this.initSwiper();"yes"===this.getElementSettings().pause_on_hover&&this.togglePauseOnHover(!0)}async initSwiper(){const e=elementorFrontend.utils.swiper;this.swiper=await new e(this.elements.$swiperContainer,this.getSwiperSettings()),this.elements.$swiperContainer.data("swiper",this.swiper)}bindEvents(){this.elements.$swiperArrows.on("keydown",this.onDirectionArrowKeydown.bind(this)),this.elements.$paginationWrapper.on("keydown",".swiper-pagination-bullet",this.onDirectionArrowKeydown.bind(this)),this.elements.$swiperContainer.on("keydown",".swiper-slide",this.onDirectionArrowKeydown.bind(this)),this.$element.find(":focusable").on("focus",this.onFocusDisableAutoplay.bind(this)),elementorFrontend.elements.$window.on("resize",this.getSwiperSettings.bind(this))}unbindEvents(){this.elements.$swiperArrows.off(),this.elements.$paginationWrapper.off(),this.elements.$swiperContainer.off(),this.$element.find(":focusable").off(),elementorFrontend.elements.$window.off("resize")}onDirectionArrowKeydown(e){const t=elementorFrontend.config.is_rtl,r=e.originalEvent.code,n=t?"ArrowLeft":"ArrowRight";if(!(-1!==["ArrowLeft","ArrowRight"].indexOf(r)))return!0;(t?"ArrowRight":"ArrowLeft")===r?this.swiper.slidePrev():n===r&&this.swiper.slideNext()}onFocusDisableAutoplay(){this.swiper.autoplay.stop()}updateSwiperOption(e){const t=this.getElementSettings()[e],r=this.swiper.params;switch(e){case"autoplay_speed":r.autoplay.delay=t;break;case"speed":r.speed=t}this.swiper.update()}getChangeableProperties(){return{pause_on_hover:"pauseOnHover",autoplay_speed:"delay",speed:"speed",arrows_position:"arrows_position"}}onElementChange(e){if(0===e.indexOf("image_spacing_custom"))return void this.updateSpaceBetween(e);if(this.getChangeableProperties()[e])if("pause_on_hover"===e){const e=this.getElementSettings("pause_on_hover");this.togglePauseOnHover("yes"===e)}else this.updateSwiperOption(e)}onEditSettingsChange(e){"activeItemIndex"===e&&this.swiper.slideToLoop(this.getEditSettings("activeItemIndex")-1)}getSpaceBetween(e=null){const t=elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"image_spacing_custom","size",e);return Number(t)||0}updateSpaceBetween(e){const t=e.match("image_spacing_custom_(.*)"),r=t?t[1]:"desktop",n=this.getSpaceBetween(r);"desktop"!==r&&(this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[r].value].spaceBetween=n),this.swiper.params.spaceBetween=n,this.swiper.update()}getPaginationBullets(e="array"){const t=this.$element.find(this.getSettings("selectors").paginationBullet);return"array"===e?Array.from(t):t}a11ySetPaginationTabindex(){const e=this.swiper?.params?.pagination.bulletClass,t=this.swiper?.params?.pagination.bulletActiveClass;this.getPaginationBullets().forEach(e=>{e.classList?.contains(t)||e.removeAttribute("tabindex")});const r="ArrowLeft"===event?.code||"ArrowRight"===event?.code;event?.target?.classList?.contains(e)&&r&&this.$element.find(`.${t}`).trigger("focus")}getSwiperWrapperTranformXValue(){let e=this.elements.$swiperWrapper[0]?.style.transform;return e=e.replace("translate3d(",""),e=e.split(","),e=parseInt(e[0].replace("px","")),e||0}a11ySetSlideAriaHidden(e=""){if("number"!=typeof("initialisation"===e?0:this.swiper?.activeIndex))return;const t=this.getSwiperWrapperTranformXValue(),r=this.elements.$swiperWrapper[0].clientWidth;this.elements.$swiperContainer.find(this.getSettings("selectors").slideContent).each((e,n)=>{0<=n.offsetLeft+t&&r>n.offsetLeft+t?(n.removeAttribute("aria-hidden"),n.removeAttribute("inert")):(n.setAttribute("aria-hidden",!0),n.setAttribute("inert",""))})}handleElementHandlers(){}}t.default=CarouselHandlerBase},9655:(e,t,r)=>{"use strict";r(9930)},9930:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(1506),o=r(8120),a=r(2293),c=r(41),l=r(6721),u=r(5267)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{forEach:function forEach(e){a(this);try{o(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;s(t,function(t){e(t,r++)},{IS_RECORD:!0})}})}},e=>{var t;t=4946,e(e.s=t)}]);
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.3",
x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}),
x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),
x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},
x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),
x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),
x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},
x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}},
W=Math.max,C=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,h=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==n?n:(i=(e=x("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=N(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(f){var c,d,p,g,m,v,y,w,b,_,t,e;return f&&f.of?(v="string"==typeof(f=x.extend({},f)).of?x(document).find(f.of):x(f.of),y=x.position.getWithinInfo(f.within),w=x.position.getScrollInfo(y),b=(f.collision||"flip").split(" "),_={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:N(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},v[0].preventDefault&&(f.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(f[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],f[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===f.at[0]?m.left+=d:"center"===f.at[0]&&(m.left+=d/2),"bottom"===f.at[1]?m.top+=p:"center"===f.at[1]&&(m.top+=p/2),c=E(_.at,d,p),m.left+=c[0],m.top+=c[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=L(this,"marginLeft"),n=L(this,"marginTop"),o=l+e+L(this,"marginRight")+w.width,s=a+n+L(this,"marginBottom")+w.height,h=x.extend({},m),u=E(_.my,r.outerWidth(),r.outerHeight());"right"===f.my[0]?h.left-=l:"center"===f.my[0]&&(h.left-=l/2),"bottom"===f.my[1]?h.top-=a:"center"===f.my[1]&&(h.top-=a/2),h.left+=u[0],h.top+=u[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[c[0]+u[0],c[1]+u[1]],my:f.my,at:f.at,within:y,elem:r})}),f.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):h.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;n<e.collisionWidth?0<r&&l<=0?(i=t.left+r+e.collisionWidth-n-o,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?o+n-e.collisionWidth:o:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;o<e.collisionHeight?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=t.left-e.collisionPosition.marginLeft,r=s-i,s=s+e.collisionWidth-o-i,l="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,a="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+l+a+h+e.collisionWidth-o-n)<0||o<C(r))&&(t.left+=l+a+h):0<s&&(0<(n=t.left-e.collisionPosition.marginLeft+l+a+h-i)||C(n)<s)&&(t.left+=l+a+h)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=t.top-e.collisionPosition.marginTop,r=s-i,s=s+e.collisionHeight-o-i,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,a="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?((o=t.top+l+a+h+e.collisionHeight-o-n)<0||o<C(r))&&(t.top+=l+a+h):0<s&&(0<(n=t.top-e.collisionPosition.marginTop+l+a+h-i)||C(n)<s)&&(t.top+=l+a+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=(i=i||e.body).nodeName?i:e.body},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")},
x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},
x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}),
x.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}});
var f,c=0,d=Array.prototype.hasOwnProperty,p=Array.prototype.slice;x.cleanData=(f=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");f(t)}),x.widget=function(t,i,e){var n,o,s,r={},l=t.split(".")[0],a=l+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[a.toLowerCase()]=function(t){return!!x.data(t,a)},x[l]=x[l]||{},n=x[l][t],o=x[l][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}r[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:a}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,n=p.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],d.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=p.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,e={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+l.eventNamespace,t=t[2];t?r.on(n,t,i):s.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}})});