PageSourceSearch

https://shepetivka-rada.gov.ua/wp-content,_plugins,_ajax-search-li…==1.10.2.pagespeed.jc.YTm1gfki7N.js

js shepetivka-rada.gov.ua collected 2026-10-02 16:50:06 UTC 85,751 bytes, 2 lines download raw bytes

1var mod_pagespeed_adGKH$Sai_ = "(function(){var K={993:(function(D,u){(function(k,P){typeof u==\"object\"&&typeof D==\"object\"?D.exports=P():typeof define==\"function\"&&define.amd?define(\"DoMini\",[],P):typeof u==\"object\"?u.DoMini=P():k.DoMini=P()})(window,(()=>(()=>{\"use strict\";var k={d:(t,i)=>{for(var s in i)k.o(i,s)&&!k.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:i[s]})},o:(t,i)=>Object.prototype.hasOwnProperty.call(t,i)},P={};let g;k.d(P,{default:()=>A}),window.DoMini===void 0?(g=function(t,i){return arguments[2]!==void 0?this.constructor.call(this,t,i):arguments.length!==1||typeof arguments[0]!=\"function\"?new g(t,i,!0):void(document.readyState===\"complete\"||document.readyState===\"loaded\"||document.readyState===\"interactive\"?arguments[0].apply(this,[g]):window.addEventListener(\"DOMContentLoaded\",(()=>{arguments[0].apply(this,[g])})))},g.prototype=g.fn={constructor:function(t,i){if(this.length=0,i!==void 0){if(i instanceof g)return i.find(t);if(this.isValidNode(i)||typeof i==\"string\")return g(i).find(t)}else if(typeof t==\"string\"&&t!==\"\")this.push(...this._(t));else{if(t instanceof g)return t;this.isValidNode(t)&&this.push(t)}return this},_:function(t){return t.charAt(0)===\"<\"?g._fn.createElementsFromHTML(t):[...document.querySelectorAll(t)]},isValidNode:t=>t instanceof Element||t instanceof Document||t instanceof Window,push:Array.prototype.push,pop:Array.prototype.pop,sort:Array.prototype.sort,splice:Array.prototype.splice},g.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],g._fn={},g.version=\"0.2.8\"):g=window.DoMini;const c=g;c.fn.get=function(t){return t===void 0?Array.from(this):this[t]},c.fn.extend=function(){for(let t=1;t<arguments.length;t++)for(let i in arguments[t])arguments[t].hasOwnProperty(i)&&(arguments[0][i]=arguments[t][i]);return arguments[0]},c.fn.forEach=function(t){return this.get().forEach((function(i,s,r){t.apply(i,[i,s,r])})),this},c.fn.each=function(t){return this.get().forEach((function(i,s,r){t.apply(i,[s,i,r])})),this},c.fn.css=function(t,i){for(const s of this)if(arguments.length===1){if(typeof t!=\"object\")return window.getComputedStyle(s)[t];Object.keys(t).forEach((function(r){s.style[r]=t[r]}))}else s.style[t]=i;return this},c.fn.hasClass=function(t){let i=this.get(0);return i!=null&&i.classList.contains(t)},c.fn.addClass=function(t){let i=t;return typeof t==\"string\"&&(i=t.split(\" \")),i=i.filter((function(s){return s.trim()!==\"\"})),i.length>0&&this.forEach((function(s){s.classList.add.apply(s.classList,i)})),this},c.fn.removeClass=function(t){if(t!==void 0){let i=t;typeof t==\"string\"&&(i=t.split(\" \")),i=i.filter((function(s){return s.trim()!==\"\"})),i.length>0&&this.forEach((function(s){s.classList.remove.apply(s.classList,i)}))}else this.forEach((function(i){i.classList.length>0&&i.classList.remove.apply(i.classList,i.classList)}));return this},c.fn.isVisible=function(){let t,i=this.get(0),s=!0;for(;i!==null;){if(t=window.getComputedStyle(i),t.display===\"none\"||t.visibility===\"hidden\"||parseInt(t.opacity)===0){s=!1;break}i=i.parentElement}return s},c.fn.val=function(t){let i;if(arguments.length===1){for(const s of this)if(s.type===\"select-multiple\"){t=typeof t==\"string\"?t.split(\",\"):t;for(let r,_=0,v=s.options.length;_<v;_++)r=s.options[_],r.selected=t.indexOf(r.value)!==-1}else s.value=t;i=this}else{let s=this.get(0);s!=null&&(i=s.type===\"select-multiple\"?Array.prototype.map.call(s.selectedOptions,(function(r){return r.value})):s.value)}return i},c.fn.attr=function(t,i){let s;for(const r of this)if(arguments.length===2)r.setAttribute(t,i),s=this;else{if(typeof t!=\"object\"){s=r.getAttribute(t);break}Object.keys(t).forEach((function(_){r.setAttribute(_,t[_])}))}return s},c.fn.removeAttr=function(t){for(const i of this)i.removeAttribute(t);return this},c.fn.prop=function(t,i){let s;for(const r of this){if(arguments.length!==2){s=r[t]!==void 0?r[t]:null;break}r[t]=i}return arguments.length===2?this:s},c.fn.data=function(t,i){const s=t.replace(/-([a-z])/g,(function(r){return r[1].toUpperCase()}));if(arguments.length===2){for(const r of this)r!=null&&(r.dataset[s]=i);return this}{let r=this.get(0);return r!=null&&r.dataset[s]!==void 0?r.dataset[s]:\"\"}},c.fn.html=function(t){if(arguments.length===1){for(const i of this)i.innerHTML=t;return this}{let i=this.get(0);return i==null?\"\":i.innerHTML}},c.fn.text=function(t){if(arguments.length===1){for(const i of this)i.textContent=t;return this}{let i=this.get(0);return i==null?\"\":i.textContent}},c.fn.position=function(){let t=this.get(0);return t!=null?{top:t.offsetTop,left:t.offsetLeft}:{top:0,left:0}},c.fn.offset=function(){let t=this.get(0);return t!=null?c._fn.hasFixedParent(t)?t.getBoundingClientRect():c._fn.absolutePosition(t):{top:0,left:0}},c.fn.outerWidth=function(t){t=t||!1;let i=this.get(0);return i!=null?t?parseInt(i.offsetWidth)+parseInt(this.css(\"marginLeft\"))+parseInt(this.css(\"marginRight\")):parseInt(i.offsetWidth):0},c.fn.outerHeight=function(t){t=t||!1;let i=this.get(0);return i!=null?t?parseInt(i.offsetHeight)+parseInt(this.css(\"marginTop\"))+
1parseInt(this.css(\"marginBottom\")):parseInt(i.offsetHeight):0},c.fn.noPaddingHeight=function(t){return t=t||!1,this.length>0?t?parseInt(this.css(\"height\"))+parseInt(this.css(\"marginTop\"))+parseInt(this.css(\"marginBottom\")):parseInt(this.css(\"height\")):0},c.fn.noPaddingWidth=function(t){return t=t||!1,this.length>0?t?parseInt(this.css(\"width\"))+parseInt(this.css(\"marginLeft\"))+parseInt(this.css(\"marginRight\")):parseInt(this.css(\"width\")):0},c.fn.innerWidth=function(){let t=this.get(0);if(t!=null){let i=window.getComputedStyle(t);return this.outerWidth()-parseFloat(i.borderLeftWidth)-parseFloat(i.borderRightWidth)}return 0},c.fn.innerHeight=function(){let t=this.get(0);if(t!=null){let i=window.getComputedStyle(t);return this.outerHeight()-parseFloat(i.borderTopWidth)-parseFloat(i.borderBottomtWidth)}return 0},c.fn.width=function(){return this.outerWidth()},c.fn.height=function(){return this.outerHeight()},c.fn.on=function(){let t=arguments,i=function(r,_){let v;if(_.type===\"mouseenter\"||_.type===\"mouseleave\"||_.type===\"mouseover\"){let h=document.elementFromPoint(_.clientX,_.clientY);if(!h.matches(r[1]))for(;(h=h.parentElement)&&!h.matches(r[1]););h!=null&&(v=c(h))}else v=c(_.target).closest(r[1]);if(v!=null&&v.closest(this).length>0){let h=[];if(h.push(_),r[4]!==void 0)for(let y=4;y<r.length;y++)h.push(r[y]);r[2].apply(v.get(0),h)}},s=t[0].split(\" \");for(let r=0;r<s.length;r++){let _=s[r];if(typeof t[1]==\"string\")this.forEach((function(v){if(!c._fn.hasEventListener(v,_,t[2])){let h=i.bind(v,t);v.addEventListener(_,h,t[3]),v._domini_events=v._domini_events===void 0?[]:v._domini_events,v._domini_events.push({type:_,selector:t[1],func:h,trigger:t[2],args:t[3]})}}));else for(let v=0;v<s.length;v++){let h=s[v];this.forEach((function(y){c._fn.hasEventListener(y,h,t[1])||(y.addEventListener(h,t[1],t[2]),y._domini_events=y._domini_events===void 0?[]:y._domini_events,y._domini_events.push({type:h,func:t[1],trigger:t[1],args:t[2]}))}
1))}}return this},c.fn.off=function(t,i){return this.forEach((function(s){if(s._domini_events!==void 0&&s._domini_events.length>0)if(t===void 0){let r;for(;r=s._domini_events.pop();)s.removeEventListener(r.type,r.func,r.args);s._domini_events=[]}else t.split(\" \").forEach((function(r){let _,v=[];for(;_=s._domini_events.pop();)_.type!==r||i!==void 0&&_.trigger!==i?v.push(_):s.removeEventListener(r,_.func,_.args);s._domini_events=v}))})),this},c.fn.offForced=function(){let t=this;return this.forEach((function(i,s){let r=i.cloneNode(!0);i.parentNode.replaceChild(r,i),t[s]=r})),this},c.fn.trigger=function(t,i,s,r){return s=s||!1,r=r||!1,this.forEach((function(_){let v=!1;if(r&&typeof jQuery<\"u\"&&jQuery._data!==void 0&&jQuery._data(_,\"events\")!==void 0&&jQuery._data(_,\"events\")[t]!==void 0&&(jQuery(_).trigger(t,i),v=!0),!v&&s){let h=new Event(t);h.detail=i,_.dispatchEvent(h)}if(_._domini_events!==void 0)_._domini_events.forEach((function(h){if(h.type===t){let y=new Event(t);h.trigger.apply(_,[y].concat(i))}}));else{let h=!1,y=_;for(;y=y.parentElement,y!=null&&(y._domini_events!==void 0&&y._domini_events.forEach((function(p){if(p.selector!==void 0){let d=c(y).find(p.selector);if(d.length>0&&d.get().indexOf(_)>=0&&p.type===t){let w=new Event(t);p.trigger.apply(_,[w].concat(i)),h=!0}}})),!h););}})),this},c.fn.clear=function(){for(const t of this)delete t._domini_events;return this},c.fn.clone=function(){let t=[];for(const i of this)t.push(i.cloneNode(!0));return c().add(t)},c.fn.detach=function(t){let i=this,s=[];t!==void 0&&(i=this.find(t));for(const r of i)r.parentElement!=null&&s.push(r.parentElement.removeChild(r));return c().add(s)},c.fn.remove=function(t){return this.detach(t).off().clear()},c.fn.prepend=function(t){if((t=c._fn.elementArrayFromAny(t)).length>0)for(const i of this)for(const s of t)i.insertBefore(s,i.children[0]);return this},c.fn.append=function(t){if((t=c._fn.elementArrayFromAny(t)).length>0)for(const i of this)for(const s of t)i.appendChild(s);return this},c.fn.is=function(t){let i=!1;for(const s of this)if(s.matches(t)){i=!0;break}return i},c.fn.parent=function(t){let i=[];for(const s of this){let r=s.parentElement;typeof t==\"string\"&&(r==null||r.matches(t)||(r=null)),i.push(r)}return c().add(i)},c.fn.copy=function(t,i){let s,r,_;if(typeof t!=\"object\"||t===null)return s=t,s;for(r in s=new t.constructor,t)t.hasOwnProperty(r)&&(_=typeof t[r],i&&_===\"object\"&&t[r]!==null?s[r]=this.copy(t[r]):s[r]=t[r]);return s},c.fn.first=function(){return c(this[0])},c.fn.last=function(){return c(this[this.length-1])},c.fn.prev=function(t){let i=[];for(const s of this){let r;if(typeof t==\"string\")for(r=s.previousElementSibling;r!=null;){if(r.matches(t)){i.push(r);break}r=r.previousElementSibling}else i.push(s.previousElementSibling)}return c(null).add(i)},c.fn.next=function(t){let i=[];for(const s of this){let r;if(typeof t==\"string\")for(r=s.nextElementSibling;r!=null;){if(r.matches(t)){i.includes(r)||i.push(r);break}r=r.nextElementSibling}else i.push(s.nextElementSibling)}return c(null).add(i)},c.fn.closest=function(t){let i=[];for(let s of this)if(typeof t==\"string\"&&t!==\"\"){for(;!s.matches(t)&&(s=s.parentElement););i.includes(s)||i.push(s)}else{if((t=t instanceof c?t.get(0):t)instanceof Element)for(;s!==t&&(s=s.parentElement););else s=null;i.includes(s)||i.push(s)}return c().add(i)},c.fn.add=function(t){let i=c._fn.elementArrayFromAny(t);for(const s of i)Array.from(this).includes(s)||this.push(s);return this},c.fn.find=function(t){const i=new c;if(typeof t==\"string\"){let s=[];this.get().forEach((function(r){const _=r.querySelectorAll?.(t)??[];s=s.concat(Array.from(_))})),s.length>0&&i.add(s)}return i},c._fn.bodyTransform=function(){let t=0,i=0;if(typeof WebKitCSSMatrix<\"u\"){let s=window.getComputedStyle(document.body);if(s.transform!==void 0){let r=new WebKitCSSMatrix(s.transform);r.m41!==\"undefined\"&&(t=r.m41),r.m42!==\"undefined\"&&(i=r.m42)}}return{x:t,y:i}},c._fn.bodyTransformY=function(){return this.bodyTransform().y},c._fn.bodyTransformX=function(){return this.bodyTransform().x},c._fn.hasFixedParent=function(t){if(c._fn.bodyTransformY()!=0)return!1;do if(window.getComputedStyle(t).position==\"fixed\")return!0;while(t=t.parentElement);return!1},c._fn.hasEventListener=function(t,i,s){if(t._domini_events===void 0)return!1;for(let r=0;r<t._domini_events.length;r++)if(t._domini_events[r].trigger===s&&t._domini_events[r].type===i)return!0;return!1},c._fn.allDescendants=function(t){let i=[],s=this;return Array.isArray(t)||(t=[t]),t.forEach((function(r){for(let _=0;_<r.childNodes.length;_++){let v=r.childNodes[_];i.push(v),i=i.concat(s.allDescendants(v))}})),i},c._fn.createElementsFromHTML=function(t){let i=document.createElement(\"template\");return i.innerHTML=t.replace(/(\\r\\n|\\n|\\r)/gm,\"\"),[...i.content.childNodes]},c._fn.elementArrayFromAny=function(t){if(typeof t==\"string\")t=c(t).get();else if(t instanceof c)t=t.get();else if(t instanceof Element)t=[t];else{if(!(t instanceof Array))return[];t=t.filter((i=>i instanceof Element))}return t},c._fn.ElementArrayFromAny=c._fn.elementArrayFromAny,c._fn.absolutePosition=function(t){if(!t.getClientRects().length)return{top:0,left:0};let i=t.getBoundingClientRect(),s=t.ownerDocument.defaultView;return{top:i.top+s.pageYOffset,left:i.left+s.pageXOffset}},c._fn.plugin=function(t,i){c.fn[t]=function(s){return s!==void 0&&i[s]?i[s].apply(this,Array.prototype.slice.call(arguments,1
1)):this.forEach((function(r){r[\"domini_\"+t]=Object.create(i).init(s,r)}))}},document.dispatchEvent(new Event(\"domini-dom-core-loaded\"));const C=c;c.fn.animate=function(t,i,s){i=i||200,s=s||\"easeInOutQuad\";for(const r of this){let _,v,h,y,p,d=0,w=60,S={},E={};if(h=this.prop(\"_domini_animations\"),h=h??[],t===!1)h.forEach((function(T){clearInterval(T)}));else{let T=function(){d++,d>_?clearInterval(y):(v=p(d/_),Object.keys(E).forEach((function(L){L.indexOf(\"scroll\")>-1?r[L]=S[L]+E[L]*v:r.style[L]=S[L]+E[L]*v+\"px\"})))};p=c.fn.animate.easing[s]??c.fn.animate.easing.easeInOutQuad,Object.keys(t).forEach((function(L){L.indexOf(\"scroll\")>-1?(S[L]=r[L],E[L]=t[L]-S[L]):(S[L]=parseInt(window.getComputedStyle(r)[L]),E[L]=t[L]-S[L])})),_=i/1e3*w,y=setInterval(T,1e3/w),h.push(y),this.prop(\"_domini_animations\",h)}}return this},c.fn.animate.easing={linear:function(t){return t},easeInOutQuad:function(t){return t<.5?2*t*t:1-Math.pow(-2*t+2,2)/2},easeOutQuad:function(t){return 1-(1-t)*(1-t)}},c.fn.unhighlight=function(t){let i={className:\"highlight\",element:\"span\"};return c.fn.extend(i,t),this.find(i.element+\".\"+i.className).forEach((function(){let s=this.parentNode;s.replaceChild(this.firstChild,this),s.normalize()}))},c.fn.highlight=function(t,i){this.defaults={className:\"highlight\",element:\"span\",caseSensitive:!1,wordsOnly:!1,excludeParents:\".excludeFromHighlight\"};const s=c,r={...this.defaults,...i};if(t.constructor===String&&(t=[t]),(t=t.filter((function(p){return p!==\"\"}))).forEach((function(p,d,w){w[d]=p.replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g,\"\\\\$&\").normalize(\"NFD\").replace(/[\\u0300-\\u036f]/g,\"\")})),t.length===0)return this;let _=r.caseSensitive?\"\":\"i\",v=\"(\"+t.join(\"|\")+\")\";r.wordsOnly&&(v=\"(?:,|^|\\\\s)\"+v+\"(?:,|$|\\\\s)\");let h=new RegExp(v,_);function y(p,d,w,S,E){if(E=E===\"\"?s.fn.highlight.defaults:E,p.nodeType===3){if(!s(p.parentNode).is(E)){let T=p.data.normalize(\"NFD\").replace(/[\\u0300-\\u036f]/g,\"\").match(d);if(T){let L,I=document.createElement(w||\"span\");I.className=S||\"highlight\",L=/\\.|,|\\s/.test(T[0].charAt(0))?T.index+1:T.index;let N=p.splitText(L);N.splitText(T[1].length);let H=N.cloneNode(!0);return I.appendChild(H),N.parentNode.replaceChild(I,N),1}}}else if(p.nodeType===1&&p.childNodes&&!/(script|style)/i.test(p.tagName)&&!s(p).closest(E).length>0&&(p.tagName!==w.toUpperCase()||p.className!==S))for(let T=0;T<p.childNodes.length;T++)T+=y(p.childNodes[T],d,w,S,E);return 0}return this.forEach((function(p){y(p,h,r.element,r.className,r.excludeParents)}))},c.fn.serialize=function(){let t=this.get(0);if(!t||t.nodeName!==\"FORM\")return\"\";let i,s,r=[];for(i=t.elements.length-1;i>=0;i-=1)if(t.elements[i].name!==\"\")switch(t.elements[i].nodeName){case\"INPUT\":switch(t.elements[i].type){case\"checkbox\":case\"radio\":t.elements[i].checked&&r.push(t.elements[i].name+\"=\"+encodeURIComponent(t.elements[i].value));break;case\"file\":break;default:r.push(t.elements[i].name+\"=\"+encodeURIComponent(t.elements[i].value))}break;case\"TEXTAREA\":r.push(t.elements[i].name+\"=\"+encodeURIComponent(t.elements[i].value));break;case\"SELECT\":switch(t.elements[i].type){case\"select-one\":r.push(t.elements[i].name+\"=\"+encodeURIComponent(t.elements[i].value));break;case\"select-multiple\":for(s=t.elements[i].options.length-1;s>=0;s-=1)t.elements[i].options[s].selected&&r.push(t.elements[i].name+\"=\"+encodeURIComponent(t.elements[i].options[s].value))}break;case\"BUTTON\":switch(t.elements[i].type){case\"reset\":case\"submit\":case\"button\":r.push(t.elements[i].name+\"=\"+encodeURIComponent(t.elements[i].value))}}return r.join(\"&\")},c.fn.serializeObject=function(t,i){let s,r=[];for(s in t)if(t.hasOwnProperty(s)){let _=i?i+\"[\"+s+\"]\":s,v=t[s];r.push(v!==null&&typeof v==\"object\"?c.fn.serializeObject(v,_):encodeURIComponent(_)+\"=\"+encodeURIComponent(v))}return r.join(\"&\")},c.fn.inViewPort=function(t,i){let s,r,_=this.get(0);if(_==null)return!1;t=t===void 0?0:t,i=i===void 0?window:typeof i==\"string\"?document.querySelector(i):i;let v=_.getBoundingClientRect(),h=v.top,y=v.bottom,p=v.left,d=v.right,w=!1;if(i==null&&(i=window),i===window)s=window.innerWidth||0,r=window.innerHeight||0;else{s=i.clientWidth,r=i.clientHeight;let S=i.getBoundingClientRect();h-=S.top,y-=S.top,p-=S.left,d-=S.left}return t=~~Math.round(parseFloat(t)),d<=0||p>=s||(w=t>0?h>=t&&y<r-t:(y>0&&h<=r-t)|(h<=0&&y>t)),w},c.fn.ajax=function(t){if((t=this.extend({url:\"\",method:\"GET\",cors:\"cors\",data:{},success:null,fail:null,accept:\"text/html\",contentType:\"application/x-www-form-urlencoded; charset=UTF-8\"},t)).cors===\"cors\"){let i=new XMLHttpRequest;return i.onreadystatechange=function(){t.success!=null&&this.readyState===4&&this.status>=200&&this.status<400&&t.success(this.responseText),t.fail!=null&&this.readyState===4&&this.status>=400&&t.fail(this)},i.open(t.method.toUpperCase(),t.url,!0),i.setRequestHeader(\"Content-type\",t.contentType),i.setRequestHeader(\"Accept\",t.accept),i.send(this.serializeObject(t.data)),i}{let i=\"ajax_cb_\"+\"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g,(function(r){let _=16*Math.random()|0;return(r===\"x\"?_:3&_|8).toString(16)})).replaceAll(\"-\",\"\");c.fn[i]=function(){t.success.apply(this,arguments),delete c.fn[t.data.fn]}
1,t.data.callback=\"DoMini.fn.\"+i,t.data.fn=i;let s=document.createElement(\"script\");s.type=\"text/javascript\",s.src=t.url+\"?\"+this.serializeObject(t.data),s.onload=function(){this.remove()},document.body.appendChild(s)}};const A=C;return P.default})()))}),806:(function(D,u,k){\"use strict\";k.r(u),k.d(u,{Base64:function(){return P}});const P={_keyStr:\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\",encode:function(g){return btoa(this._utf8_encode(g))},decode:function(g){return this._utf8_decode(atob(g.replace(/[^A-Za-z0-9\\+\\/\\=]/g,\"\")))},_utf8_encode:function(g){g=g.replace(/\\r\\n/g,`\n`);let c=\"\";for(let C=0;C<g.length;C++){let A=g.charCodeAt(C);A<128?c+=String.fromCharCode(A):A>127&&A<2048?(c+=String.fromCharCode(A>>6|192),c+=String.fromCharCode(A&63|128)):(c+=String.fromCharCode(A>>12|224),c+=String.fromCharCode(A>>6&63|128),c+=String.fromCharCode(A&63|128))}return c},_utf8_decode:function(g){let c=\"\",C=0,A=0,t,i;for(;C<g.length;)A=g.charCodeAt(C),A<128?(c+=String.fromCharCode(A),C++):A>191&&A<224?(t=g.charCodeAt(C+1),c+=String.fromCharCode((A&31)<<6|t&63),C+=2):(t=g.charCodeAt(C+1),i=g.charCodeAt(C+2),c+=String.fromCharCode((A&15)<<12|(t&63)<<6|i&63),C+=3);return c}}}),665:(function(D,u,k){\"use strict\";k.r(u),k.d(u,{formData:function(){return t},isSafari:function(){return C},openInNewTab:function(){return s},recursiveCheckVisibility:function(){return r},scrollToFirstVisibleElement:function(){return _},submitToUrl:function(){return i},whichjQuery:function(){return A}});var P=k(993),g=k.n(P),c=k(919);const C=()=>/^((?!chrome|android).)*safari/i.test(navigator.userAgent),A=v=>{let h=!1;return typeof window.$<\"u\"&&(typeof v>\"u\"||typeof window.$.fn[v]<\"u\")&&(h=window.$),h===!1&&typeof window.jQuery<\"u\"&&(h=window.jQuery,(typeof v>\"u\"||typeof window.jQuery.fn[v]<\"u\")&&(h=window.jQuery)),h},t=function(v,h){let y=v.find(\"input,textarea,select,button\").get();if(arguments.length===1){const p={};return y.forEach(function(d){d.name&&!d.disabled&&(d.checked||/select|textarea/i.test(d.nodeName)||/text/i.test(d.type)||g()(d).hasClass(\"hasDatepicker\")||g()(d).hasClass(\"asp_slider_hidden\"))&&(p[d.name]===void 0&&(p[d.name]=[]),g()(d).hasClass(\"hasDatepicker\")?p[d.name].push(g()(d).parent().find(\".asp_datepicker_hidden\").val()):p[d.name].push(g()(d).val()))}),JSON.stringify(p)}else if(h!==void 0){const p=typeof h!=\"object\"?JSON.parse(h):h;return y.forEach(function(d){if(d.name)if(p[d.name]){let w=p[d.name],S=g()(d);if(Object.prototype.toString.call(w)!==\"[object Array]\"&&(w=[w]),d.type===\"checkbox\"||d.type===\"radio\"){let E=S.val(),T=!1;for(let L=0;L<w.length;L++)if(w[L]===E){T=!0;break}S.prop(\"checked\",T)}else S.val(w[0]),g()(d).hasClass(\"asp_gochosen\")||g()(d).hasClass(\"asp_goselect2\")?(0,c.intervalUntilExecute)(function(E){E(d).trigger(\"change.asp_select2\")},function(){return A(\"asp_select2\")},50,3):g()(d).hasClass(\"hasDatepicker\")&&(0,c.intervalUntilExecute)(function(E){const T=S.get(0);if(T===void 0)return;let L=w[0],I=E(T).datepicker(\"option\",\"dateFormat\");E(T).datepicker(\"option\",\"dateFormat\",\"yy-mm-dd\"),E(T).datepicker(\"setDate\",L),E(T).datepicker(\"option\",\"dateFormat\",I),E(T).trigger(\"selectnochange\")},function(){return A(\"datepicker\")},50,3)}else(d.type===\"checkbox\"||d.type===\"radio\")&&g()(d).prop(\"checked\",!1)}),v}},i=function(v,h,y,p=\"self\"){let d;d=g()('<form style=\"display: none;\" />'),d.attr(\"action\",v),d.attr(\"method\",h),g()(\"body\").append(d),typeof y<\"u\"&&y!==null&&Object.keys(y).forEach(function(w){let S=y[w],E=g()('<input type=\"hidden\" />');E.attr(\"name\",w),E.attr(\"value\",S),d.append(E)}),p==\"new\"&&d.attr(\"target\",\"_blank\"),d.get(0).submit()},s=function(v){Object.assign(document.createElement(\"a\"),{target:\"_blank\",href:v}).click()},r=function(v){if(typeof v.checkVisibility>\"u\")return!0;let h=v,y=!0;for(;h!==null;){if(!h.checkVisibility({opacityProperty:!0,visibilityProperty:!0,contentVisibilityAuto:!0})){y=!1;break}h=h.parentElement}return y},_=function(v,h=0){for(const y of v)if(r(y))return window.scrollTo({top:y.getBoundingClientRect().top-120+window.pageYOffset+h,behavior:\"smooth\"}),!0;return!1}}),451:(function(D,u,k){\"use strict\";k.r(u),k.d(u,{detectIOS:function(){return g},deviceType:function(){return P},isMobile:function(){return c},isTouchDevice:function(){return C}});const P=()=>{let A=window.innerWidth;return A<=640?\"phone\":A<=1024?\"tablet\":\"desktop\"},g=()=>typeof window.navigator<\"u\"&&typeof window.navigator.userAgent<\"u\"?window.navigator.userAgent.match(/(iPod|iPhone|iPad)/)!=null:!1,c=()=>{try{return document.createEvent(\"TouchEvent\"),!0}catch{return!1}},C=()=>\"ontouchstart\"in window}),91:(function(D,u,k){\"use strict\";k.r(u),k.d(u,{Hooks:function(){return P}});const P={filters:{},addFilter:function(g,c,C=10,A=null){this.filters[g]=this.filters[g]||[],this.filters[g].push({priority:C,scope:A,callback:c})},removeFilter:function(g,c){if(typeof this.filters[g]<\"u\")if(typeof c>\"u\")this.filters[g]=[];else{const C=this;this.filters[g].forEach(function(A,t){A.callback===c&&C.filters[g].splice(t,1)})}},applyFilters:function(g){let c=[],C=Array.prototype.slice.call(arguments),A=arguments[1];return typeof this.filters[g]<\"u\"&&this.filters[g].length>0&&(this.filters[g].forEach(function(t){c[t.priority]=c[t.priority]||[],c[t.priority].push({scope:t.scope,callback:t.callback})}
1),C.splice(0,2),c.forEach(function(t){t.forEach(function(i){A=i.callback.apply(i.scope,[A].concat(C))})})),A}}}),685:(function(D,u,k){\"use strict\";const P={},g=k(271);g.keys().forEach(c=>{if(c===\"./index.ts\")return;const C=g(c);Object.keys(C).forEach(A=>{P[A]=C[A]})}),window.WPD.utils=P}),919:(function(D,u,k){\"use strict\";k.r(u),k.d(u,{intervalUntilExecute:function(){return P}});function P(g,c,C=100,A=50){let t,i=0,s=typeof c==\"function\"?c():c;if(s===!1)t=setInterval(function(){if(s=typeof c==\"function\"?c():c,i++,i>A)return clearInterval(t),!1;if(s!==!1)return clearInterval(t),g(s)},C);else return g(s)}}),627:(function(D,u,k){\"use strict\";k.r(u),k.d(u,{buildRestUrl:function(){return C},isNumeric:function(){return A},md5:function(){return P},nicePhrase:function(){return c},parse_str:function(){return g}});function P(t){const i=new TextEncoder().encode(t),s=i.length,r=(s+8>>>6<<6)+64,_=new Uint8Array(r);_.set(i),_[s]=128;const v=new DataView(_.buffer);v.setUint32(r-8,s<<3>>>0,!0),v.setUint32(r-4,s>>>29,!0);let h=1732584193,y=4023233417,p=2562383102,d=271733878;const w=[7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21],S=[3614090360,3905402710,606105819,3250441966,4118548399,1200080426,2821735955,4249261313,1770035416,2336552879,4294925233,2304563134,1804603682,4254626195,2792965006,1236535329,4129170786,3225465664,643717713,3921069994,3593408605,38016083,3634488961,3889429448,568446438,3275163606,4107603335,1163531501,2850285829,4243563512,1735328473,2368359562,4294588738,2272392833,1839030562,4259657740,2763975236,1272893353,4139469664,3200236656,
1681279174,3936430074,3572445317,76029189,3654602809,3873151461,530742520,3299628645,4096336452,1126891415,2878612391,4237533241,1700485571,2399980690,4293915773,2240044497,1873313359,4264355552,2734768916,1309151649,4149444226,3174756917,718787259,3951481745];for(let T=0;T<r;T+=64){const L=[];for(let R=0;R<16;R++)L[R]=v.getUint32(T+R*4,!0);const I=h,N=y,H=p,M=d;for(let R=0;R<64;R++){let O,W;R<16?(O=y&p|~y&d,W=R):R<32?(O=d&y|~d&p,W=(5*R+1)%16):R<48?(O=y^p^d,W=(3*R+5)%16):(O=p^(y|~d),W=7*R%16);const q=h+O+S[R]+L[W]>>>0,Q=d;d=p,p=y,y=y+(q<<w[R]|q>>>32-w[R])>>>0,h=Q}h=h+I>>>0,y=y+N>>>0,p=p+H>>>0,d=d+M>>>0}const E=T=>[T&255,T>>>8&255,T>>>16&255,T>>>24&255].map(L=>L.toString(16).padStart(2,\"0\")).join(\"\");return E(h)+E(y)+E(p)+E(d)}function g(t){const i=p=>decodeURIComponent(p.replace(/\\+/g,\"%20\")),s=p=>{const d=[];let w=0;for(let S=0;S<p.length;S++)if(p[S]===\"[\"&&!w)w=S+1;else if(p[S]===\"]\"&&w&&(d.length||d.push(p.slice(0,w-1)),d.push(p.substring(w,S)),w=0,p[S+1]!==\"[\"))break;return d.length?d:[p]},r=p=>{let d=p;for(let w=0;w<d.length&&((d[w]===\" \"||d[w]===\".\"||d[w]===\"[\")&&(d=d.slice(0,w)+\"_\"+d.slice(w+1)),d[w]!==\"[\");w++);return d},_=p=>{let d=-1;for(const w in p)/^\\d+$/.test(w)&&Number(w)>d&&(d=Number(w));return String(d+1)},v=p=>{const d=Object.keys(p);if(!d.length)return!1;const w=d.filter(S=>/^\\d+$/.test(S)).map(Number).sort((S,E)=>S-E);return w.length!==d.length?!1:w.every((S,E)=>S===E)},h=p=>{if(typeof p!=\"object\"||p===null)return p;if(v(p)){const w=[];return Object.keys(p).map(Number).sort((S,E)=>S-E).forEach(S=>{w[S]=h(p[String(S)])}),w}const d={};for(const w in p)Object.prototype.hasOwnProperty.call(p,w)&&(d[w]=h(p[w]));return d},y={};for(const p of String(t).replace(/^&/,\"\").replace(/&$/,\"\").split(\"&\")){const[d,...w]=p.split(\"=\");let S=i(d??\"\").trimStart();const E=w.length===0?\"\":i(w.join(\"=\")),T=S.indexOf(\"\\0\");if(T>-1&&(S=S.slice(0,T)),!S||S[0]===\"[\")continue;const L=s(S);L[0]=r(L[0]);let I=y,N=y,H=\"\";for(let M=0;M<L.length;M++)H=L[M].replace(/^['\"]/,\"\").replace(/['\"]$/,\"\"),N=I,(H===\"\"||H===\" \")&&M!==0&&(H=_(I)),Object(I[H])!==I[H]&&(I[H]={}),I=I[H];N[H]=E}return h(y)}const c=function(t){return encodeURIComponent(t).replace(/\\%20/g,\"+\")};function C(t,i,s={}){const r=t+i,_=Object.entries(s);if(_.length===0)return r;const v=r.includes(\"?\")?\"&\":\"?\";return r+v+_.map(([h,y])=>`${encodeURIComponent(h)}=${encodeURIComponent(y)}`).join(\"&\")}function A(t){if(typeof t==\"number\"&&!isNaN(t))return!0;if(typeof t==\"string\"){const i=t.trim();if(i===\"\")return!1;const s=Number(i);return!isNaN(s)&&i===String(s).trim()}return!1}}),271:(function(D,u,k){var P={\"./base64.ts\":806,\"./browser.ts\":665,\"./device.ts\":451,\"./hooks-filters.ts\":91,\"./index.ts\":685,\"./interval-until-execute.ts\":919,\"./other.ts\":627};function g(C){var A=c(C);return k(A)}function c(C){if(!k.o(P,C)){var A=new Error(\"Cannot find module '\"+C+\"'\");throw A.code=\"MODULE_NOT_FOUND\",A}return P[C]}g.keys=function(){return Object.keys(P)},g.resolve=c,D.exports=g,g.id=271})},G={};function j(D){var u=G[D];if(u!==void 0)return u.exports;var k=G[D]={exports:{}};return K[D].call(k.exports,k,k.exports,j),k.exports}(function(){j.n=function(D){var u=D&&D.__esModule?function(){return D.default}:function(){return D};return j.d(u,{a:u}),u}})(),(function(){j.d=function(D,u){for(var k in u)j.o(u,k)&&!j.o(D,k)&&Object.defineProperty(D,k,{enumerable:!0,get:u[k]})}})(),(function(){j.o=function(D,u){return Object.prototype.hasOwnProperty.call(D,u)}})(),(function(){j.r=function(D){typeof Symbol<\"u\"&&Symbol.toStringTag&&Object.defineProperty(D,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(D,\"__esModule\",{value:!0})}})();var Z={};(function(){\"use strict\";var D=j(993),u=j.n(D);window.WPD=window.WPD||{},window.WPD.global={utils:{}},window.WPD.dom=u(),window.DoMini=u(),window.WPD.domini=window.WPD.dom,window.WPD.DoMini=window.WPD.dom;var k=j(685);window._asl_instances_storage=window._asl_instances_storage||[];var g={instances:window._asl_instances_storage,get:function(e,n){if(this.clean(),typeof e>\"u\"||e===0)return this.instances;if(typeof n>\"u\"){let o=[];for(let a=0;a<this.instances.length;a++)this.instances[a].o.id===e&&o.push(this.instances[a]);return o.length>0?o:!1}else for(let o=0;o<this.instances.length;o++)if(this.instances[o].o.id===e&&this.instances[o].o.iid===n)return this.instances[o];return!1},set:function(e){return this.exist(e.o.id,e.o.iid)?!1:(this.instances.push(e),!0)},exist:function(e,n){e=typeof e==\"string\"?parseInt(e):e,n=typeof n==\"string\"?parseInt(n):n,this.clean();for(let o=0;o<this.instances.length;o++)if(this.instances[o].o.id===e){if(typeof n>\"u\")return!0;
1if(this.instances[o].o.iid===n)return!0}return!1},clean:function(){let e=[],n=this;this.instances.forEach(function(o,a){u()(\".asl_m_\"+o.o.rid).length===0&&e.push(a)}),e.forEach(function(o){typeof n.instances[o]<\"u\"&&(n.instances[o].destroy(),n.instances.splice(o,1))})},destroy:function(e,n){let o=this.get(e,n);if(o!==!1)if(Array.isArray(o))o.forEach(function(a){a.destroy()}),this.instances=[];else{let a=0;this.instances.forEach(function(l,f){l.o.id===e&&l.o.iid===n&&(a=f)}),o.destroy(),this.instances.splice(a,1)}}};function c(){\"use strict\";const e=function(a,l,f,m){let b=g.get(a,l);if(b!==!1&&!Array.isArray(b)){const x=b[f];typeof x==\"function\"&&x.bind(b).apply(b,[m])}},n=function(a,l,f){let m;if(typeof l==\"number\"&&isFinite(l)){if(m=g.get(a,l),m!==!1&&!Array.isArray(m)){const b=m[f];if(typeof b==\"function\")return b.bind(m).apply(f)}}else if(typeof l==\"string\")return m=g.get(a),m!==!1&&Array.isArray(m)&&m.forEach(function(b){const x=b[l];typeof x==\"function\"&&x.bind(m).apply(b,[f])})},o=function(a,l){let f;return l===\"exists\"?g.exist(a):(f=g.get(a),f!==!1&&Array.isArray(f)&&f.forEach(function(m){const b=m[l];typeof b==\"function\"&&b.bind(m).apply(m)}))};if(arguments.length===4)return e.apply(this,arguments);if(arguments.length===3)return n.apply(this,arguments);if(arguments.length===2)return o.apply(this,arguments);arguments.length===0&&(console.log(\"Usage: ASL.api(id, [optional]instance, function, [optional]args);\"),console.log(\"For more info: https://knowledgebase.ajaxsearchpro.com/other/javascript-api\"))}var A=e=>{let n=!1;const o=()=>document.readyState===\"complete\"||document.readyState===\"interactive\"||document.readyState===\"loaded\",a=()=>{window.removeEventListener(\"DOMContentLoaded\",f),document.removeEventListener(\"readystatechange\",m)},l=()=>{n||(n=!0,e(),a())},f=()=>{l()},m=()=>{o()&&l()};o()?l():(window.addEventListener(\"DOMContentLoaded\",f),document.addEventListener(\"readystatechange\",m))},t=j(665),i=j(627);window.ASL={...window.ASL,instances:g,instance_args:[],api:c,initialized:!1,initCache:function(e=!1){if(this.initialized&&!e)return;const n=window.ASL;n.cache.list=new Set,n.cache.timestamp=new Date().getTime(),!(!n.cache.enabled||n.cache.type!==\"super_file\")&&fetch((0,i.buildRestUrl)(n.rest_url,\"ajax-search-lite/results_cache/keyset\",{t:n.cache.timestamp}),{method:\"GET\"}).then(o=>o.json()).then(o=>{n.cache.list=new Set(o)}).catch(o=>{console.log(o)})},initializeAllSearches:function(){this.getInstances().forEach(function(n,o){u().fn._(\".asl_m_\"+o).forEach(function(a){return typeof a.hasAsp<\"u\"?!0:(a.hasAsp=!0,u()(a).ajaxsearchlite(n))})})},initializeSearchByID:function(e,n=0){const o=this.getInstance(e),a=n===0?\".asl_m_\"+e:\".asl_m_\"+e+\"_\"+n;u().fn._(a).forEach(function(l){return typeof l.hasAsp<\"u\"?!0:(l.hasAsp=!0,u()(l).ajaxsearchlite(o))})},getInstances:function(){return u().fn._(\".asl_init_data\").forEach(e=>{const n=parseInt(e.dataset.aslId||\"\");typeof e.dataset.settings<\"u\"&&(this.instance_args[n]=JSON.parse(e.dataset.settings))}),this.instance_args},getInstance:function(e){return typeof this.instance_args[e]<\"u\"?this.instance_args[e]:this.getInstances()[e]},initialize:function(e){if(typeof window.ASL.version>\"u\")return!1;if(window.ASL.script_async_load||window.ASL.init_only_in_viewport){const n=document.querySelectorAll(\".asl_w_container\");if(n.length){const o=new IntersectionObserver(a=>{a.forEach(l=>{if(l.isIntersecting){const f=parseInt(l.target.dataset.id??\"0\"),m=parseInt(l.target.dataset.instance??\"0\");this.initializeSearchByID(f,m),o.unobserve(l.target)}})});n.forEach(function(a){const l=a;typeof l._is_observed<\"u\"||(l._is_observed=!0,o.observe(l))})}}else typeof e>\"u\"?this.initializeAllSearches():this.initializeSearchByID(e);return this.initCache(),this.initializeMutateDetector(),this.initializeHighlight(),this.initializeOtherEvents(),this.initialized=!0,!0},initializeHighlight:function(){if(window.ASL.highlight.enabled)for(const e of window.ASL.highlight.data){let n=e.selector!==\"\"&&u()(e.selector).length>0?e.selector:\"article\",o;n=u()(n).length>0?n:\"body\";const a=new URLSearchParams(location.search);if(o=a.get(\"s\")??a.get(\"asl_highlight\")??a.get(\"asl_s\")??a.get(\"asl_ls\")??\"\",u()(n).unhighlight({className:\"asl_single_highlighted\"}),o===null||(o=o.trim(),o===\"\"))return;const l=o.trim().split(\" \").map(f=>f.trim()).filter(f=>f.length>=e.minWordLength);u()(n).highlight([o.trim()],{element:\"span\",className:\"asl_single_highlighted asl_single_highlighted_exact\",wordsOnly:e.whole,excludeParents:\".asl_w, .asl-try\"}),l.length>0&&u()(n).highlight(l,{element:\"span\",className:\"asl_single_highlighted\",wordsOnly:e.whole,excludeParents:\".asl_w, .asl-try, .asl_single_highlighted\"}),e.scroll&&((0,t.scrollToFirstVisibleElement)(u()(\".asl_single_highlighted_exact\").get(),e.scroll_offset)||(0,t.scrollToFirstVisibleElement)(u()(\".asl_single_highlighted\").get(),e.scroll_offset))}},initializeOtherEvents:function(){let e,n;const o=u()(\"body\");n=\"#menu-item-search, .fa-search, .fa, .fas\",n=n+\", .fusion-flyout-menu-toggle, .fusion-main-menu-search-open\",n=n+\", #search_button\",n=n+\", .mini-search.popup-search\",n=n+\", .icon-search\",n=n+\", .menu-item-search-dropdown\",n=n+\", .mobile-menu-button\",n=n+\", .td-icon-search, .tdb-search-icon\",n=n+\", .side_menu_button, .search_button\",n=n+\", .raven-search-form-toggle\",n=n+\", [data-elementor-open-lightbox], .elementor-button-link, .elementor-button\",n=n+\", i[class*=-search], a[class*=-search]\",o.on(\"click touchend\",n,()=>{clearTimeout(e),e=setTimeout(()=>{this.initializeAllSearches()},300)}),typeof window.jQuery<\"u\"&&window.jQuery(document).on(\"elementor/popup/show\",()=>{setTimeout(()=>{this.initializeAllSearches()},10)})},initializeMutateDetector:function(){let e;if(typeof window.ASL.detect_ajax<\"u\"&&window.ASL.detect_ajax){const n=new MutationObserver(()=>{clearTimeout(e),e=setTimeout(()=>{this.initializeAllSearches()},500)}),o=document.querySelector(\"body\");if(o==null)return;n.observe(o,{subtree:!0,childList:!0})}},loadScriptStack:function(e){let n;if(e.length>0){const o=e.shift();if(o===void 0)return;n=document.createElement(\"script\"),n.src=o.src,n.onload=()=>{e.length>0?this.loadScriptStack(e):this.ready()},document.body.appendChild(n)}},ready:function(){const e=this;A(()=>{e.initialize()})},init:function(){window.ASL.script_async_load?this.loadScriptStack(window.ASL.additional_scripts):typeof window.WPD.AjaxSearchLite<\"u\"&&this.ready()}};class s{call_num=0;settingsInitialized=!1;resultsInitialized=!1;searching=!1;post=void 0;postAuto=void 0;lastSuccesfulSearch=\"\";lastSearchData={};ktype=\"\";keycode=0;_usingLiveLoader=void 0;nodes={};documentEventHandlers=[];resultsOpened=!1;savedScrollTop=0;savedContainerTop=0;clickTouchend=\"click touchend\";mouseupTouchend=\"mouseup touchend\";dragging=!1;settingsChanged=!1;isAutoP=!1;resAnim={showClass:\"asl_an_fadeInDrop\",showCSS:{visibility:\"visible\",display:\"block\",opacity:1,\"animation-duration\":\"300ms\"},hideClass:\"asl_an_fadeOutDrop\",hideCSS:{visibility:\"hidden\",opacity:0,display:\"none\"},duration:300};settAnim={showClass:\"asl_an_fadeInDrop\",showCSS:{visibility:\"visible\",display:\"block\",opacity:1,\"animation-duration\":\"300ms\"},hideClass:\"asl_an_fadeOutDrop\",hideCSS:{visibility:\"hidden\",opacity:0,display:\"none\"},duration:300};timeouts={searchWithCheck:void 0,search:void 0};o={id:1,iid:1,rid:\"1_1\",name:\"Search name\",homeurl:\"\",resultstype:\"vertical\",resultsposition:\"hover\",itemscount:10,charcount:0,minWordLength:2,highlight:!0,blocking:!1,detectVisibility:!1,redirectOnClick:!0,redirectOnEnter:!0,highlightWholewords:!0,singleHighlight:!1,settingsVisible:0,scrollToResults:{enabled:1,offset:0},resultareaclickable:0,autocomplete:{enabled:1,lang:\"en\",trigger_charcount:0},mobile:{menu_selector:\"#mobile-menu\",force_res_hover:0},trigger:{click:\"ajax_search\",click_location:\"same\",update_href:!1,return:\"ajax_search\",return_location:\"same\",facet:1,type:1,redirect_url:\"/search\",delay:300},animations:{pc:{settings:{anim:\"fadedrop\",dur:300},results:{anim:\"fadedrop\",dur:300},items:\"voidanim\"},mob:{settings:{anim:\"fadedrop\",dur:300},results:{anim:\"fadedrop\",dur:300},items:\"voidanim\"}},autop:{state:\"disabled\",phrase:\"\",count:10},resPage:{useAjax:0,selector:\".search-results\",trigger_type:1,trigger_facet:1,trigger_magnifier:1,trigger_return:1},resultsSnapTo:\"left\",results:{width:\"auto\",width_tablet:\"auto\",width_phone:\"auto\"},settingsimagepos:\"left\",closeOnDocClick:!0,overridewpdefault:!1,override_method:\"get\"}}window.WPD.global.AslPlugin=s;var r;s.prototype.setFilterStateInput=function(e){let n=this;typeof e>\"u\"&&(e=65);let o=function(){JSON.stringify(n.originalFormData)!=JSON.stringify((0,t.formData)(n.n(\"searchsettings\").find(\"form\")))?n.n(\"searchsettings\").find(\"input[name=filters_initial]\").val(0):n.n(\"searchsettings\").find(\"input[name=filters_initial]\").val(1)};e==0?o():setTimeout(function(){o()},e)};var _=null,v;const h=window.ASL;s.prototype.gaEvent=function(e,n){let o=this;if(typeof h.analytics>\"u\"||!h.analytics.method)return;let a=typeof window.gtag==\"function\"?window.gtag:!1;if(a===!1&&typeof window.dataLayer>\"u\")return;let l=o.gaGetTrackingID();const m={...{search_id:o.o.id,search_name:o.o.name,phrase:o.n(\"text\").val(),option_label:\"\",option_value:\"\",result_title:\"\",result_url:\"\",results_count:\"\"},...n},b=h.analytics.event[e]?.items??[];for(const x of b){if(!x.active)continue;const F={send_to:\"\"};for(const z of x.params??[]){if(!z.key)continue;let $=z.value;Object.keys(m).forEach(function(U){const V=String(m[U]).replace(/[\\s\\n\\r]+/g,\" \").trim();$=$.replace(new RegExp(\"\\\\{\"+U+\"\\\\}\",\"gmi\"),V)}),F[z.key]=$}a!==!1?l!==!1?l.forEach(function(z){F.send_to=z,a(\"event\",x.action,F)}):(delete F.send_to,a(\"event\",x.action,F)):window?.dataLayer?.push!==void 0&&window.dataLayer.push({event:\"gaEvent\",eventAction:x.action,...F})}},s.prototype.gaGetTrackingID=function(){return typeof h.analytics>
1\"u\"?!1:h.analytics.tracking_id?[h.analytics.tracking_id]:!1};var y=null,p=j(919),d=j(91),w;const S=window.ASL;s.prototype.getLiveLoadAltSelectors=function(){return[\".search-content\",\"#content #posts-container\",\"#content\",\"#Content\",\"div[role=main]\",\"main[role=main]\",\"div.theme-content\",\"div.td-ss-main-content\",\"main#page-content\",\"main.l-content\",\"#primary\",\"#main-content\",\".main-content\",\".search section .bde-post-loop\",\".archive section .bde-post-loop\",\".search section .bde-post-list\",\".archive section .bde-post-list\",\"main .wp-block-query\",\"main\"]},s.prototype.usingLiveLoader=function(){const e=this;if(e._usingLiveLoader!==void 0)return e._usingLiveLoader;const n=e.o,o=\"asp_es_\"+n.id,a=this.getLiveLoadAltSelectors().join(\",\");if(document.getElementsByClassName(o).length)return e._usingLiveLoader=!0;const l=[\"resPage\"];return e._usingLiveLoader=l.some(f=>{const m=n[f];return m.useAjax&&(document.querySelector(m.selector)||a&&document.querySelector(a))}),e._usingLiveLoader},s.prototype.liveLoad=function(e,n,o,a){if(e==\"body\"||e==\"html\")return console.log(\"Ajax Search Pro: Do not use html or body as the live loader selector.\"),!1;S.pageHTML==\"\"&&(S._ajax_page_html||(S._ajax_page_html=!0,u().fn.ajax({url:location.href,method:\"GET\",success:function(x){S.pageHTML=x},dataType:\"html\"})));function l(x){x=d.Hooks.applyFilters(\"asl/live_load/raw_data\",x,b);let F=new DOMParser,z=F.parseFromString(x,\"text/html\"),$=u()(z);if(x!=\"\"&&$.length>0&&$.find(e).length>0){x=x.replace(/&asl_force_reset_pagination=1/gmi,\"\"),x=x.replace(/%26asl_force_reset_pagination%3D1/gmi,\"\"),x=x.replace(/&#038;asl_force_reset_pagination=1/gmi,\"\"),(0,t.isSafari)()&&(x=x.replace(/srcset/gmi,\"nosrcset\")),x=d.Hooks.applyFilters(\"asl/live_load/html\",x,b.o.id,b.o.iid),$=u()(F.parseFromString(x,\"text/html\"));let U=$.find(e).get(0);if(U=d.Hooks.applyFilters(\"asl/live_load/replacement_node\",U,b,m.get(0),x),U!=null){const V=m.get(0);V!==void 0&&m.get(0)?.parentNode?.replaceChild(U,V)}m=u()(e).first(),o&&(document.title=z.title,history.pushState({},\"\",n)),u()(e).first().find(\".woocommerce-ordering\").on(\"change\",\"select.orderby\",function(){u()(this).closest(\"form\").trigger(\"submit\")}),b.addHighlightString(u()(e).find(\"a\")),d.Hooks.applyFilters(\"asl/live_load/finished\",n,b,e,m.get(0)),S.initialize(),b.lastSuccesfulSearch=b.n(\"searchsettings\").find(\"form\").serialize()+b.n(\"text\").val().trim(),b.lastSearchData=x}b.n(\"s\").trigger(\"asl_search_end\",[b.o.id,b.o.iid,b.n(\"text\").val(),x],!0,!0),b.gaEvent?.(\"search_end\",{results_count:\"unknown\"}),b.hideLoader(),m.css(\"opacity\",1),b.searching=!1,b.n(\"text\").val()!=\"\"&&b.n(\"proclose\").css({display:\"block\"})}o=typeof o>\"u\"?this.o.trigger.update_href:o,a=typeof a>\"u\"?!1:a;let f=this.getLiveLoadAltSelectors();if(e!=\"#main\"&&f.unshift(\"#main\"),u()(e).length<1&&(f.forEach(function(x){if(u()(x).length>0)return e=x,!1}),u()(e).length<1))return console.log(\"Ajax Search Lite: The live search selector does not exist on the page.\"),!1;e=d.Hooks.applyFilters(\"asl/live_load/selector\",e,this);let m=u()(e).first(),b=this;b.searchAbort(),m.css(\"opacity\",.4),d.Hooks.applyFilters(\"asl/live_load/start\",n,b,e,m.get(0)),!a&&b.n(\"searchsettings\").find(\"input[name=filters_initial]\").val()==1&&b.n(\"text\").val()==\"\"?(0,p.intervalUntilExecute)(function(){l(S.pageHTML)},function(){return S.pageHTML!=\"\"}):(b.searching=!0,b.post=u().fn.ajax({url:n,method:\"GET\",success:function(x){l(x)},dataType:\"html\",fail:function(x){m.css(\"opacity\",1),!(x.status===0&&x.readyState===x.UNSENT)&&(m.html(\"This request has failed. Please check your connection.\"),b.hideLoader(),b.searching=!1,b.n(\"proclose\").css({display:\"block\"}))}}))},s.prototype.getCurrentLiveURL=function(){let e=this,n=\"asl_ls=\"+(0,i.nicePhrase)(e.n(\"text\").val()),o=\"&\",a=window.location.href;a=a.indexOf(\"asl_ls=\")>-1?a.slice(0,a.indexOf(\"asl_ls=\")):a,a=a.indexOf(\"asl_ls&\")>-1?a.slice(0,a.indexOf(\"asl_ls&\")):a,a=a.indexOf(\"p_asid=\")>-1?a.slice(0,a.indexOf(\"p_asid=\")):a,a=a.indexOf(\"asl_\")>-1?a.slice(0,a.indexOf(\"asl_\")):a,a.indexOf(\"?\")===-1&&(o=\"?\");let l=a+o+n+\"&asl_active=1&asl_force_reset_pagination=1&p_asid=\"+e.o.id+\"&p_asl_data=1&\"+e.n(\"searchsettings\").find(\"form\").serialize();return l=l.replace(\"?&\",\"?\"),l};var E=null,T;s.prototype.showLoader=function(){this.n(\"proloading\").css({display:\"block\"})},s.prototype.hideLoader=function(){let e=this;e.n(\"proloading\").css({display:\"none\"}),e.n(\"results\").css(\"display\",\"\")};var L=null,I;const N=window.ASL;s.prototype.loadASLFonts=function(){N.font_url!==!1&&(new FontFace(\"aslsicons2\",\"url(\"+N.font_url+\")\",{style:\"normal\",weight:\"normal\",dis
1play:\"swap\"}).load().then(function(n){document.fonts.add(n)}).catch(function(n){}),N.font_url=!1)},s.prototype.updateHref=function(){if(this.o.trigger.update_href&&!this.usingLiveLoader()){let e=this.getStateURL()+(this.resultsOpened?\"&asl_s=\":\"&asl_ls=\")+this.n(\"text\").val();history.replaceState(\"\",\"\",e.replace(location.origin,\"\"))}},s.prototype.fixClonedSelf=function(){let e=this,n=e.o.iid,o=e.o.rid;for(;!N.instances.set(e)&&(++e.o.iid,!(e.o.iid>50)););if(n!=e.o.iid){e.o.rid=e.o.id+\"_\"+e.o.iid;const a=e.n(\"search\").get(0);a!==void 0&&(a.id=\"ajaxsearchlite\"+e.o.rid,e.n(\"search\").removeClass(\"asl_m_\"+o).addClass(\"asl_m_\"+e.o.rid).data(\"instance\",e.o.iid));const l=e.n(\"searchsettings\").get(0);l!==void 0&&(l.id=l.id.replace(\"settings\"+o,\"settings\"+e.o.rid)),e.n(\"searchsettings\").hasClass(\"asl_s_\"+o)?e.n(\"searchsettings\").removeClass(\"asl_s_\"+o).addClass(\"asl_s_\"+e.o.rid).data(\"instance\",e.o.iid):e.n(\"searchsettings\").removeClass(\"asl_sb_\"+o).addClass(\"asl_sb_\"+e.o.rid).data(\"instance\",e.o.iid);const f=e.n(\"resultsDiv\").get(0);f!==void 0&&(f.id=f.id.replace(\"prores\"+o,\"prores\"+e.o.rid),e.n(\"resultsDiv\").removeClass(\"asl_r_\"+o).addClass(\"asl_r_\"+e.o.rid).data(\"instance\",e.o.iid));const m=e.n(\"container\").find(\".asl_init_data\").get(0);m!==void 0&&(e.n(\"container\").find(\".asl_init_data\").data(\"instance\",e.o.iid),m.id=m.id.replace(\"asl_init_id_\"+o,\"asl_init_id_\"+e.o.rid)),e.n(\"prosettings\").data(\"opened\",0)}},s.prototype.destroy=function(){let e=this;Object.keys(e.nodes).forEach(function(n){e.nodes[n].off?.()}),e.n(\"searchsettings\").remove?.(),e.n(\"resultsDiv\").remove?.(),e.n(\"search\").remove?.(),e.n(\"container\").remove?.(),e.documentEventHandlers.forEach(function(n){u()(n.node).off(n.event,n.handler)})};var H=null,M;s.prototype.isRedirectToFirstResult=function(){return!!((this.n(\"resultsDiv\").find(\".asl_res_url\").length>0||u()(\".asl_es_\"+this.o.id+\" a\").length>0||this.o.resPage.useAjax&&u()(this.o.resPage.selector+\"a\").length>0)&&(this.o.redirectOnClick&&this.ktype==\"click\"&&this.o.trigger.click==\"first_result\"||this.o.redirectOnEnter&&(this.ktype==\"input\"||this.ktype==\"keyup\")&&this.keycode==13&&this.o.trigger.return==\"first_result\"))},s.prototype.doRedirectToFirstResult=function(){let e,n=\"\";return this.ktype==\"click\"?e=this.o.trigger.click_location:e=this.o.trigger.return_location,this.n(\"resultsDiv\").find(\".asl_res_url\").length>0?n=u()(this.n(\"resultsDiv\").find(\".asl_res_url\").get(0)).attr(\"href\"):u()(\".asl_es_\"+this.o.id+\" a\").length>0?n=u()(u()(\".asl_es_\"+this.o.id+\" a\").get(0)).attr(\"href\"):this.o.resPage.useAjax&&u()(this.o.resPage.selector+\"a\").length>0&&(n=u()(u()(this.o.resPage.selector+\"a\").get(0)).attr(\"href\")),n!==\"\"&&(e==\"same\"?window.location.href=n:(0,t.openInNewTab)(n),this.hideLoader(),this.hideResults()),!1},s.prototype.doRedirectToResults=function(e){let n;e==\"click\"?n=this.o.trigger.click_location:n=this.o.trigger.return_location;let o=this.getRedirectURL(e);if(this.o.overridewpdefault){if(this.o.resPage.useAjax)return this.hideResults(),this.liveLoad(this.o.resPage.selector,o),this.showLoader(),!1;this.o.override_method==\"post\"?(0,t.submitToUrl)(o,\"post\",{asl_active:1,p_asl_data:this.n(\"searchsettings\").find(\"form\").serialize()},n):n==\"same\"?location.href=o:(0,t.openInNewTab)(o)}else(0,t.submitToUrl)(o,\"post\",{np_asl_data:this.n(\"searchsettings\").find(\"form\").serialize()},n);this.n(\"proloading\").css(\"display\",\"none\"),this.hideLoader(),this.hideResults(),this.searchAbort()},s.prototype.getRedirectURL=function(e=\"enter\"){let n,o,a,l;if(e==\"click\"?o=this.o.trigger.click:o=this.o.trigger.return,o==\"results_page\"||o==\"ajax_search\"?n=\"?s=\"+(0,i.nicePhrase)(this.n(\"text\").val()):o==\"woo_results_page\"?n=\"?post_type=product&s=\"+(0,i.nicePhrase)(this.n(\"text\").val()):(l=this.o.trigger.redirect_url,n=l.replace(/{phrase}/g,(0,i.nicePhrase)(this.n(\"text\").val()))),this.o.homeurl.indexOf(\"?\")>1&&n.indexOf(\"?\")===0&&(n=n.replace(\"?\",\"&\")),this.o.overridewpdefault&&this.o.override_method!=\"post\"){let f=\"&\";this.o.homeurl.indexOf(\"?\")===-1&&n.indexOf(\"?\")===-1&&(f=\"?\");let m=n+f+\"asl_active=1&p_asl_data=1&\"+this.n(\"searchsettings\").find(\"form\").serialize();a=this.o.homeurl+m}else a=this.o.homeurl+n;return a=a.replace(\"https://\",\"https:///\"),a=a.replace(\"http://\",\"http:///\"),a=a.replace(/\\/\\//g,\"/\"),a=d.Hooks.applyFilters(\"asl/redirect/url\",a,this.o.id,this.o.iid),a};var R=null,O=j(451),W;s.prototype.showResults=function(){let e=this;e.initResults(),e.showVerticalResults(),e.hideLoader(),e.n(\"proclose\").css({display:\"block\"}),e.n(\"showmore\")!=null&&(e.n(\"items\").length>0?e.n(\"showmore\").css({display:\"block\"}):e.n(\"showmore\").css({display:\"none\"})),e.resultsOpened=!0},s.prototype.hideResults=function(e=!0){let n=this;if(!n.resultsOpened)return!1;n.n(\"resultsDiv\").removeClass(n.resAnim.showClass).addClass(n.resAnim.hideClass),setTimeout(function(){n.n(\"resultsDiv\").css(n.resAnim.hideCSS)},n.resAnim.duration),n.n(\"proclose\").css({display:\"none\"}),(0,O.isMobile)()&&e&&document.activeElement?.blur(),n.resultsOpened=!1,n.n(\"s\").trigger(\"asl_results_hide\",[n.o.id,n.o.iid],!0,!0)},s.prototype.showResultsBox=function(){let e=this;e.n(\"s\").trigger(\"asl_results_show\",[e.o.id,e.o.iid],!0,!0),e.n(\"resultsDiv\").css({display:\"block\",height:\"auto\"}),e.n(\"resultsDiv\").css(e.resAnim.showCSS),e.n(\"resultsDiv\").removeClass(e.resAnim.hideClass).addClass(e.resAnim.showClass),e.fixResultsPosition(!0)},s.prototype.addHighlightString=function(e){let n=this,o=n.n(\"text\").val().replace(/[\"']/g,\"\");e=typeof e>\"u\"?n.n(\"items\").find(\"a.asl_res_url\"):e,n.o.singleHighlight&&o!=\"\"&&e.length>0&&e.forEach(function(a){try{const l=new URL(u()(a).attr(\"href\"));l.searchParams.set(\"asl_highlight\",o),l.searchParams.set(\"p_asid\",String(n.o.id)),u()(a).attr(\"href\",l.href)}catch{}})},s.prototype.scrollToResults=function(){let e=this,n=Math.floor(window.innerHeight*.1),o;if(!e.resultsOpened||!e.o.scrollToResults.enabled||e.n(\"resultsDiv\").inViewPort(n))return;e.o.resultsposition==\"hover\"?o=e.n(\"probox\").offset().top-20:o=e.n(\"resultsDiv\").offset().top-20,o=o+e.o.scrollToResults.offset;let a=u()(\"#wpadminbar\");a.length>0&&(o-=a.height()),o=o<0?0:o,window.scrollTo({top:o,behavior:\"smooth\"})};var q=null;const Q=window.ASL;let X;const Y=[];function ee(e,n,o,a,l=0,f=0){!Q.statistics?.enabled||!Q.rest_url||(Y.push({phrase:e,page:1,asp_id:n,device_type:o,found_results:a,user_id:l,suggested:0,cached:f}),clearTimeout(X),X=setTimeout(()=>{const m=[...Y];Y.length=0,fetch((0,i.buildRestUrl)(Q.rest_url,\"ajax-search-lite/statistics/searches/add\"),{headers:{\"Content-Type\":\"application/json\"},method:\"POST\",credentials:\"same-origin\",body:JSON.stringify(m)}).catch(()=>{})},1e3))}var se;const J=window.ASL;s.prototype.searchAbort=function(){let e=this;e.post!=null&&e.post.abort()},s.prototype.searchWithCheck=function(e=50){let n=this;n.n(\"text\").val().length<n.o.charcount||(n.searchAbort(),clearTimeout(n.timeouts.searchWithCheck),n.timeouts.searchWithCheck=setTimeout(function(){n.search()},e))},s.prototype.search=function(){let e=this;if(e.searching,e.n(\"text\").val().length<e.o.charcount)return;e.searching=!0,e.n(\"proloading\").css({display:\"block\"}),e.n(\"proclose\").css({display:\"none\"});let n={action:\"ajaxsearchlite_search\",aslp:e.n(\"text\").val(),asid:e.o.id,options:e.n(\"searchsettings\").find(\"form\").serialize(),asl_req_json:1};if(n=d.Hooks.applyFilters(\"asl/search/data\",n),JSON.stringify(n)===JSON.stringify(e.lastSearchData))return e.resultsOpened||e.showResults(),e.hideLoader(),e.isRedirectToFirstResult()&&e.doRedirectToFirstResult(),!1;if(e.gaEvent?.(\"search_start\"),u()(\".asl_es_\"+e.o.id).length>0)e.liveLoad(\".asl_es_\"+e.o.id,e.getCurrentLiveURL(),!1);else if(e.o.resPage.useAjax)e.liveLoad(e.o.resPage.selector,e.getRedirectURL());else{const o=()=>{e.post=u().fn.ajax({url:J.ajaxurl,method:\"POST\",data:n,success:function(a){let l;try{l=JSON.parse(a).html??\"\"}catch{const m=a.replace(/^\\s*[\\r\\n]/gm,\"\").match(/___ASLSTART___(.*[\\s\\S]*)___ASLEND___/);
1if(m===null){e.hideLoader(),console.warn(\"The response inner data is missing!\");return}l=m[1]}if(l=d.Hooks.applyFilters(\"asl/search/html\",l),e.n(\"resdrg\").html(\"\"),e.n(\"resdrg\").html(l),e.n(\"resdrg\").find(\".asl_keyword\").on(\"click\",function(){e.n(\"text\").val(u()(this).html()),e.n(\"container\").find(\"input.orig\").val(u()(this).html()).trigger(\"keydown\"),e.n(\"container\").find(\"form\").trigger(\"submit\",[\"ajax\"]),e.search()}),e.nodes.items=e.n(\"resultsDiv\").find(\".item\"),e.addHighlightString(),e.gaEvent?.(\"search_end\",{results_count:e.n(\"items\").length}),e.isRedirectToFirstResult())return e.doRedirectToFirstResult(),!1;e.hideLoader(),e.showResults(),e.scrollToResults(),e.lastSuccesfulSearch=e.n(\"searchsettings\").find(\"form\").serialize()+e.n(\"text\").val().trim(),e.lastSearchData=n,e.updateHref(),e.n(\"items\").length==0?e.n(\"showmore\")!=null&&e.n(\"showmore\").css(\"display\",\"none\"):e.n(\"showmore\")!=null&&(e.n(\"showmore\").css(\"display\",\"block\"),e.n(\"showmore\").find(\"span\").off(),e.n(\"showmore\").find(\"span\").on(\"click\",function(){let f=e.o.trigger.click,m;f==\"results_page\"?m=\"?s=\"+(0,i.nicePhrase)(e.n(\"text\").val()):f==\"woo_results_page\"?m=\"?post_type=product&s=\"+(0,i.nicePhrase)(e.n(\"text\").val()):m=e.o.trigger.redirect_url.replace(\"{phrase}\",(0,i.nicePhrase)(e.n(\"text\").val())),e.o.overridewpdefault?e.o.override_method==\"post\"?(0,t.submitToUrl)(e.o.homeurl+m,\"post\",{asl_active:1,p_asl_data:e.n(\"searchsettings\").find(\"form\").serialize()}):location.href=e.o.homeurl+m+\"&asl_active=1&p_asid=\"+e.o.id+\"&p_asl_data=1&\"+e.n(\"searchsettings\").find(\"form\").serialize():(0,t.submitToUrl)(e.o.homeurl+m,\"post\",{np_asl_data:e.n(\"searchsettings\").find(\"form\").serialize()})})),d.Hooks.applyFilters(\"asl/search/end\",e,n)},fail:function(a){e.n(\"resdrg\").html(\"\"),e.n(\"resdrg\").html('<div class=\"asl_nores\">The request failed. Please check your connection! Status: '+a.status+\"</div>\"),e.nodes.items=e.n(\"resultsDiv\").find(\".item\"),e.hideLoader(),e.showResults(),e.scrollToResults()}})};if(window.ASL.cache.enabled&&window.ASL.cache.type===\"super_file\"){const a=(0,i.parse_str)(n.options),l=(0,i.md5)(0+e.n(\"text\").val()+JSON.stringify(a)+\"0\").slice(0,14);if(window.ASL.cache.list.has(l)){fetch(window.ASL.cache.url+l+\".json?t=\"+J.cache.timestamp).then(f=>{if(!f.ok)throw new Error(\"Cache response not ok\");return f.json()}).then(f=>{const m=d.Hooks.applyFilters(\"asl/search/html\",f.html??\"\");if(e.n(\"resdrg\").html(\"\"),e.n(\"resdrg\").html(m),e.nodes.items=e.n(\"resultsDiv\").find(\".item\"),e.addHighlightString(),e.gaEvent?.(\"search_end\",{results_count:e.n(\"items\").length}),ee(e.n(\"text\").val(),e.o.id,e.n(\"searchsettings\").find(\"input[name=device]\").val()||\"desktop\",f.full_results_count??0,J.statistics?.uid??0,1),e.isRedirectToFirstResult()){e.doRedirectToFirstResult();return}e.hideLoader(),e.showResults(),e.scrollToResults(),e.lastSuccesfulSearch=e.n(\"searchsettings\").find(\"form\").serialize()+e.n(\"text\").val().trim(),e.lastSearchData=n,e.updateHref()}).catch(()=>{window.ASL.initCache(!0),o()});return}}o()}};var oe=null,re;s.prototype.searchFor=function(e){typeof e<\"u\"&&this.n(\"text\").val(e),this.n(\"textAutocomplete\").val(\"\"),this.search()},s.prototype.toggleSettings=function(e){typeof e<\"u\"?e==\"show\"?this.showSettings():this.hideSettings():parseInt(this.n(\"prosettings\").data(\"opened\"))===1?this.hideSettings():this.showSettings()},s.prototype.closeResults=function(e){typeof e<\"u\"&&e&&(this.n(\"text\").val(\"\"),this.n(\"textAutocomplete\").val(\"\")),this.hideResults(),this.n(\"proloading\").css(\"display\",\"none\"),this.hideLoader(),this.searchAbort()},s.prototype.getStateURL=function(){let e,n;return e=location.href.split(\"p_asid\")[0],e=e.replace(\"&asl_active=1\",\"\"),e=e.replace(\"?asl_active=1\",\"\"),e=e.slice(-1)==\"?\"?e.slice(0,-1):e,e=e.slice(-1)==\"&\"?e.slice(0,-1):e,n=e.indexOf(\"?\")>1?\"&\":\"?\",e+n+\"p_asid=\"+this.o.id+\"&p_asl_data=1&\"+this.n(\"searchsettings\").find(\"form\").serialize()},s.prototype.filtersInitial=function(){return this.n(\"searchsettings\").find(\"input[name=filters_initial]\").val()==1},s.prototype.filtersChanged=function(){return this.n(\"searchsettings\").find(\"input[name=filters_changed]\").val()==1};var ae=null,le;s.prototype.detectAndFixFixedPositioning=function(){let e=this,n=!1,o=e.n(\"search\").get(0);for(;o;)if(o=o.parentElement,o!=null&&window.getComputedStyle(o).position===\"fixed\"){n=!0;break}n||e.n(\"search\").css(\"position\")==\"fixed\"?(e.n(\"resultsDiv\").css(\"position\")==\"absolute\"&&e.n(\"resultsDiv\").css({position:\"fixed\",\"z-index\":2147483647}),e.o.blocking||e.n(\"searchsettings\").css({position:\"fixed\",\"z-index\":2147483647})):(e.n(\"resultsDiv\").css(\"position\")==\"fixed\"&&e.n(\"resultsDiv\").css(\"position\",\"absolute\"),e.o.blocking||e.n(\"searchsettings\").css(\"position\",\"absolute\"))},s.prototype.fixResultsPosition=function(e=!1){let n=this,o=u()(\"body\"),a=0,l=n.n(\"resultsDiv\").css(\"position\");if((u()._fn.bodyTransformY()!=0||o.css(\"position\")!=\"static\")&&(a=o.offset().top),u()._fn.bodyTransformY()!=0&&l==\"fixed\"&&(l=\"absolute\",n.n(\"resultsDiv\").css(\"position\",\"absolute\")),l==\"fixed\"&&(a=0),!(l!=\"fixed\"&&l!=\"absolute\")&&(e||n.n(\"resultsDiv\").css(\"visibility\")==\"visible\")){let f=n.n(\"search\").offset(),m=0;if((u()._fn.bodyTransformX()!=0||o.css(\"position\")!=\"static\")&&(m=o.offset().left),typeof f<\"u\"){let b,x=0;(0,O.deviceType)()===\"phone\"?b=n.o.results.width_phone:(0,O.deviceType)()==\"tablet\"?b=n.o.results.width_tablet:b=n.o.results.width,b==\"auto\"&&(b=n.n(\"search\").outerWidth()<240?240:n.n(\"search\").outerWidth()),n.n(\"resultsDiv\").css(\"width\",(0,i.isNumeric)(b)?b+\"px\":b),n.o.resultsSnapTo==\"right\"?x=n.n(\"resultsDiv\").outerWidth()-n.n(\"search\").outerWidth():n.o.resultsSnapTo==\"center\"&&(x=Math.floor((n.n(\"resultsDiv\").outerWidth()-parseInt(String(n.n(\"search\").outerWidth())))/2)),n.n(\"resultsDiv\").css({top:f.top+n.n(\"search\").outerHeight(!0)-a+\"px\",left:f.left-x-m+\"px\"})}}},s.prototype.fixSettingsPosition=function(e=!1){let n=this,o=u()(\"body\"),a=0,l=n.n(\"searchsettings\").css(\"position\");if((u()._fn.bodyTransformY()!=0||o.css(\"position\")!=\"static\")&&(a=o.offset().top),u()._fn.bodyTransformY()!=0&&l==\"fixed\"&&(l=\"absolute\",n.n(\"searchsettings\").css(\"position\",\"absolute\")),l==\"fixed\"&&(a=0),e||n.n(\"prosettings\").data(\"opened\")!==\"0\"){let f,m,b,x,F=0;(u()._fn.bodyTransformX()!=0||o.css(\"position\")!=\"static\")&&(F=o.offset().left),n.fixSettingsWidth(),n.n(\"prosettings\").css(\"display\")!=\"none\"?f=n.n(\"prosettings\"):f=n.n(\"promagnifier\"),m=f.offset(),b=m.top+f.height()-2-a+\"px\",x=n.o.settingsimagepos==\"left\"?m.left:m.left+f.width()-n.n(\"searchsettings\").width(),x=x-F+\"px\",n.n(\"searchsettings\").css({display:\"block\",top:b,left:x})}},s.prototype.fixSettingsWidth=function(){},s.prototype.hideOnInvisibleBox=function(){let e=this;e.o.detectVisibility&&!e.n(\"search\").hasClass(\"hiddend\")&&(e.n(\"search\").is(\":hidden\")||!e.n(\"search\").is(\":visible\"))&&(e.hideSettings?.(),e.hideResults())};var ce=null,ue;s.prototype.initMagnifierEvents=function(){let e=this,n;
1e.n(\"promagnifier\").on(\"click\",function(o){if(e.keycode=o.keyCode||o.which,e.ktype=o.type,e.gaEvent?.(\"magnifier\"),e.n(\"text\").val().length>=e.o.charcount&&e.o.redirectOnClick&&e.o.trigger.click!==\"first_result\")return e.doRedirectToResults(\"click\"),clearTimeout(n),!1;if(!(e.o.trigger.click==\"ajax_search\"||e.o.trigger.click==\"first_result\"))return!1;e.searchAbort(),clearTimeout(e.timeouts.search),e.n(\"proloading\").css(\"display\",\"none\"),e.timeouts.search=setTimeout(function(){e.n(\"searchsettings\").find(\"form\").serialize()+e.n(\"text\").val().trim()!=e.lastSuccesfulSearch||!e.resultsOpened&&!e.usingLiveLoader()?e.search():e.isRedirectToFirstResult()?e.doRedirectToFirstResult():e.n(\"proclose\").css(\"display\",\"block\")},e.o.trigger.delay)})};var de=null;s.prototype.initInputEvents=function(){let e=this,n=!1,o=function(){e.n(\"text\").off(\"mousedown touchstart keydown\",o),n||(e._initFocusInput(),e.o.trigger.type&&e._initSearchInput(),e._initEnterEvent(),e._initFormEvent(),e.initAutocompleteEvent?.(),n=!0)};e.n(\"text\").on(\"mousedown touchstart keydown\",o,{passive:!0})},s.prototype._initFocusInput=function(){let e=this;e.n(\"text\").on(\"click\",function(n){if(n.stopPropagation(),n.stopImmediatePropagation(),u()(this).trigger(\"focus\",[]),e.gaEvent?.(\"focus\"),e.n(\"searchsettings\").find(\"form\").serialize()+e.n(\"text\").val().trim()==e.lastSuccesfulSearch)return!e.resultsOpened&&!e.usingLiveLoader()&&e.showResults(),!1}),e.n(\"text\").on(\"focus input\",function(n){e.searching||(u()(this).val()!=\"\"?e.n(\"proclose\").css(\"display\",\"block\"):e.n(\"proclose\").css({display:\"none\"}))})},s.prototype._initSearchInput=function(){let e=this;e.n(\"text\").on(\"input\",function(n){if(e.keycode=n.keyCode||n.which,e.ktype=n.type,e.updateHref(),e.n(\"text\").val().length<e.o.charcount)return e.n(\"proloading\").css(\"display\",\"none\"),e.hideResults(!1),e.searchAbort(),clearTimeout(e.timeouts.search),!1;e.searchAbort(),clearTimeout(e.timeouts.search),e.n(\"proloading\").css(\"display\",\"none\"),e.timeouts.search=setTimeout(function(){e.n(\"searchsettings\").find(\"form\").serialize()+e.n(\"text\").val().trim()!=e.lastSuccesfulSearch||!e.resultsOpened&&!e.usingLiveLoader()?e.search():e.isRedirectToFirstResult()?e.doRedirectToFirstResult():e.n(\"proclose\").css(\"display\",\"block\")},e.o.trigger.delay)})},s.prototype._initEnterEvent=function(){let e=this,n,o=!1;e.n(\"text\").on(\"keyup\",function(a){if(e.keycode=a.keyCode||a.which,e.ktype=a.type,e.keycode==13){if(clearTimeout(n),n=setTimeout(function(){o=!1},300),o)return!1;o=!0}let l=u()(this).hasClass(\"orig\");e.n(\"text\").val().length>=e.o.charcount&&l&&e.keycode==13&&(e.gaEvent?.(\"return\"),e.o.redirectOnEnter?e.o.trigger.return!=\"first_result\"?e.doRedirectToResults(e.ktype):e.search():e.o.trigger.return==\"ajax_search\"&&(e.n(\"searchsettings\").find(\"form\").serialize()+e.n(\"text\").val().trim()!=e.lastSuccesfulSearch||!e.resultsOpened&&!e.usingLiveLoader())&&e.search(),clearTimeout(e.timeouts.search))})},s.prototype._initFormEvent=function(){let e=this;u()(e.n(\"text\").closest(\"form\").get(0)).on(\"submit\",function(n,o){if(n.preventDefault(),(0,O.isMobile)())if(e.o.redirectOnEnter){let a=new Event(\"keyup\");a.keyCode=a.which=13,e.n(\"text\").get(0).dispatchEvent(a)}else e.search(),document?.activeElement?.blur();else typeof o<\"u\"&&o==\"ajax\"&&e.search()})},s.prototype.initNavigationEvents=function(){let e=this,n=function(o){let a=o.keyCode||o.which;if(u()(\".item\",e.n(\"resultsDiv\")).length>0&&e.n(\"resultsDiv\").css(\"display\")!=\"none\"&&e.o.resultstype==\"vertical\"){if(a==40||a==38){let l=e.n(\"resultsDiv\").find(\".item.hovered\");if(e.n(\"text\").trigger(\"blur\",[]),l.length==0?e.n(\"resultsDiv\").find(\".item\").first().addClass(\"hovered\"):(a==40&&(l.next(\".item\").length==0?e.n(\"resultsDiv\").find(\".item\").removeClass(\"hovered\").first().addClass(\"hovered\"):l.removeClass(\"hovered\").next(\".item\").addClass(\"hovered\")),a==38&&(l.prev(\".item\").length==0?e.n(\"resultsDiv\").find(\".item\").removeClass(\"hovered\").last().addClass(\"hovered\"):l.removeClass(\"hovered\").prev(\".item\").addClass(\"hovered\"))),o.stopPropagation(),o.preventDefault(),!e.n(\"resultsDiv\").find(\".resdrg .item.hovered\").inViewPort(50,e.n(\"resultsDiv\").get(0))){let f=e.n(\"resultsDiv\").find(\".resdrg .item.hovered\").get(0);f!=null&&typeof f.scrollIntoView<\"u\"&&f.scrollIntoView({behavior:\"smooth\",block:\"start\",inline:\"nearest\"})}}a==13&&e.n(\"resultsDiv\").find(\".item.hovered\").length>0&&(o.stopPropagation(),o.preventDefault(),e.n(\"resultsDiv\").find(\".item.hovered a.asl_res_url\").get(0).click())}};e.documentEventHandlers.push({node:document,event:\"keydown\",handler:n}),u()(document).on(\"keydown\",n)},s.prototype.initOtherEvents=function(){let e=this,n,o;(0,O.isMobile)()&&(0,O.detectIOS)()&&e.n(\"text\").on(\"touchstart\",function(){e.savedScrollTop=window.scrollY,e.savedContainerTop=e.n(\"search\").offset().top}),e.n(\"proclose\").on(e.clickTouchend,function(a){a.preventDefault(),a.stopImmediatePropagation(),e.n(\"text\").val(\"\"),e.n(\"textAutocomplete\").val(\"\"),e.hideResults(),e.n(\"text\").trigger(\"focus\",[]),e.n(\"proloading\").css(\"display\",\"none\"),e.hideLoader(),e.searchAbort(),u()(\".asl_es_\"+e.o.id).length>0?(e.showLoader(),e.liveLoad(\".asl_es_\"+e.o.id,e.getCurrentLiveURL(),!1)):e.o.resPage.useAjax&&(e.showLoader(),e.liveLoad(e.o.resPage.selector,e.getRedirectURL())),e.n(\"text\").get(0).focus()}),(0,O.isMobile)()?(n=function(){e.orientationChange(),setTimeout(function(){e.orientationChange()},600)},e.documentEventHandlers.push({node:window,event:\"orientationchange\",handler:n}),u()(window).on(\"orientationchange\",n)):(n=function(){e.resize()},e.documentEventHandlers.push({node:window,event:\"resize\",handler:n}),u()(window).on(\"resize\",n,{passive:!0})),o=function(){e.scrolling(!1)},e.documentEventHandlers.push({node:window,event:\"scroll\",handler:o}),u()(window).on(\"scroll\",o,{passive:!0}),(0,O.isMobile)()&&e.o.mobile.menu_selector!=\"\"&&u()(e.o.mobile.menu_selector).on(\"touchend\",function(){let a=this;setTimeout(function(){let l=u()(a).find(\"input.orig\");l=l.length==0?u()(a).next().find(\"input.orig\"):l,l=l.length==0?u()(a).parent().find(\"input.orig\"):l,l=l.length==0?e.n(\"text\"):l,e.n(\"search\").inViewPort()&&l.get(0).focus()},300)}),(0,O.detectIOS)()&&(0,O.isMobile)()&&(0,O.isTouchDevice)()&&parseInt(e.n(\"text\").css(\"font-size\"))<16&&(e.n(\"text\").data(\"fontSize\",e.n(\"text\").css(\"font-size\")).css(\"font-size\",\"16px\"),e.n(\"textAutocomplete\").css(\"font-size\",\"16px\"),u()(\"body\").append(\"<style>#ajaxsearchlite\"+e.o.rid+\" input.orig::-webkit-input-placeholder{font-size: 16px !important;}</style>\"))},s.prototype.orientationChange=function(){let e=this;e.detectAndFixFixedPositioning(),e.fixSettingsPosition(),e.fixResultsPosition()},s.prototype.resize=function(){let e=this;e.detectAndFixFixedPositioning(),e.fixSettingsPosition(),e.fixResultsPosition()},s.prototype.scrolling=function(e){let n=this;n.detectAndFixFixedPositioning(),n.hideOnInvisibleBox(),n.fixSettingsPosition(e),n.fixResultsPosition(e)};var fe;s.prototype.initResultsEvents=function(){let e=this;e.n(\"resultsDiv\").css({opacity:\"0\"});let n=function(o){let a=o.keyCode||o.which,l=o.type;if(u()(o.target).closest(\".asl_w\").length==0&&(e.hideOnInvisibleBox(),l!=\"click\"||l!=\"touchend\"||a!=3)){if(!e.resultsOpened||!e.o.closeOnDocClick)return;e.dragging||(e.hideLoader(),e.searchAbort(),e.hideResults())}};e.documentEventHandlers.push({node:document,event:e.clickTouchend,handler:n}),u()(document).on(e.clickTouchend,n),e.n(\"resultsDiv\").on(\"click\",\".results .item\",function(){e.gaEvent?.(\"result_click\",{result_title:u()(this).find(\"a.asl_res_url\").text(),result_url:u()(this).find(\"a.asl_res_url\").attr(\"href\")})})};var he=null,pe;s.prototype.monitorTouchMove=function(){let e=this;e.dragging=!1,u()(\"body\").on(\"touchmove\",function(){e.dragging=!0}).on(\"touchstart\",function(){e.dragging=!1})};var ge=null,me;s.prototype.init=function(e,n){return this.o={...this.o,...e},this.nodes={},this.nodes.search=u()(n),this.initNodeVariables(),this.o.redirectOnClick=this.o.trigger.click!=\"ajax_search\"&&this.o.trigger.click!=\"nothing\",this.o.redirectOnEnter=this.o.trigger.return!=\"ajax_search\"&&this.o.trigger.return!=\"nothing\",this.usingLiveLoader()&&(this.o.trigger.type=this.o.resPage.trigger_type,this.o.trigger.facet=this.o.resPage.trigger_facet,this.o.resPage.trigger_magnifier&&(this.o.redirectOnClick=!1,this.o.trigger.click=\"ajax_search\"),this.o.resPage.trigger_return&&
1(this.o.redirectOnEnter=!1,this.o.trigger.return=\"ajax_search\")),this.monitorTouchMove(),this.initEvents(),this.n(\"s\").trigger(\"asl_init_search_bar\",[this.o.id,this.o.iid],!0,!0),this},s.prototype.n=function(e){if(typeof this.nodes[e]<\"u\")return this.nodes[e];switch(e){case\"s\":this.nodes[e]=this.nodes.search;break;case\"container\":this.nodes[e]=this.nodes.search.closest(\".asl_w_container\");break;case\"searchsettings\":this.nodes[e]=this.n(\"container\").find(\".asl_s\");break;case\"resultsDiv\":this.nodes[e]=this.n(\"container\").find(\".asl_r\");break;case\"probox\":this.nodes[e]=this.nodes.search.find(\".probox\");break;case\"proinput\":this.nodes[e]=this.nodes.search.find(\".proinput\");break;case\"text\":this.nodes[e]=this.nodes.search.find(\".proinput input.orig\");break;case\"textAutocomplete\":this.nodes[e]=this.nodes.search.find(\".proinput input.autocomplete\");break;case\"proloading\":this.nodes[e]=this.nodes.search.find(\".proloading\");break;case\"proclose\":this.nodes[e]=this.nodes.search.find(\".proclose\");break;case\"promagnifier\":this.nodes[e]=this.nodes.search.find(\".promagnifier\");break;case\"prosettings\":this.nodes[e]=this.nodes.search.find(\".prosettings\");break;case\"settingsAppend\":this.nodes[e]=u()(\"#wpdreams_asl_settings_\"+this.o.id);break;case\"resultsAppend\":this.nodes[e]=u()(\"#wpdreams_asl_results_\"+this.o.id);break;case\"trythis\":this.nodes[e]=u()(\"#asp-try-\"+this.o.rid);break;case\"hiddenContainer\":this.nodes[e]=this.n(\"container\").find(\".asl_hidden_data\");break;case\"aspItemOverlay\":this.nodes[e]=this.n(\"hiddenContainer\").find(\".asl_item_overlay\");break;case\"showmore\":this.nodes[e]=this.n(\"resultsDiv\").find(\".showmore\");break;case\"items\":this.nodes[e]=this.n(\"resultsDiv\").find(\".item\").length>0?this.n(\"resultsDiv\").find(\".item\"):this.n(\"resultsDiv\").find(\".photostack-flip\");break;case\"results\":this.nodes[e]=this.n(\"resultsDiv\").find(\".results\");break;case\"resdrg\":this.nodes[e]=this.n(\"resultsDiv\").find(\".resdrg\");break}return this.nodes[e]},s.prototype.initNodeVariables=function(){let e=this;e.o.id=parseInt(e.nodes.search.data(\"id\")),e.o.iid=parseInt(e.nodes.search.data(\"instance\")),e.o.rid=e.o.id+\"_\"+e.o.iid,e.fixClonedSelf()},s.prototype.initEvents=function(){this.initSettingsSwitchEvents?.(),this.initOtherEvents(),this.initMagnifierEvents(),this.initInputEvents()};var _e=null,ve;s.prototype.initResults=function(){this.resultsInitialized||(this.initResultsBox(),this.initResultsEvents(),this.initNavigationEvents?.())},s.prototype.initResultsBox=function(){let e=this;e.initResultsAnimations(),(0,O.isMobile)()&&e.o.mobile.force_res_hover==1?(e.o.resultsposition=\"hover\",e.nodes.resultsDiv=e.n(\"resultsDiv\").clone(),u()(\"body\").append(e.nodes.resultsDiv),e.nodes.resultsDiv.css({position:\"absolute\"}),e.detectAndFixFixedPositioning()):e.o.resultsposition==\"hover\"&&e.n(\"resultsAppend\").length<=0?(e.nodes.resultsDiv=e.n(\"resultsDiv\").clone(),u()(\"body\").append(e.n(\"resultsDiv\"))):(e.o.resultsposition=\"block\",e.n(\"resultsDiv\").css({position:\"static\"}),e.n(\"resultsAppend\").length>0&&(e.n(\"resultsAppend\").find(\".asl_w\").length>0?e.nodes.resultsDiv=e.n(\"resultsAppend\").find(\".asl_w\"):(e.nodes.resultsDiv=e.n(\"resultsDiv\").clone(),e.nodes.resultsAppend.append(e.n(\"resultsDiv\"))))),e.nodes.showmore=e.n(\"resultsDiv\").find(\".showmore\"),e.nodes.items=e.n(\"resultsDiv\").find(\".item\").length>0?e.n(\"resultsDiv\").find(\".item\"):e.n(\"resultsDiv\").find(\".photostack-flip\"),e.nodes.results=e.n(\"resultsDiv\").find(\".results\"),e.nodes.resdrg=e.n(\"resultsDiv\").find(\".resdrg\"),e.n(\"resultsDiv\").get(0).id=e.n(\"resultsDiv\").get(0).id.replace(\"__original__\",\"\"),e.detectAndFixFixedPositioning(),e.resultsInitialized=!0},s.prototype.initResultsAnimations=function(){this.n(\"resultsDiv\").css({\"-webkit-animation-duration\":this.resAnim.duration+\"ms\",\"animation-duration\":this.resAnim.duration+\"ms\"})};var ye=null,we;s.prototype.autocompleteGoogleOnly=function(){const e=this,n=String(e.n(\"text\").val());if(e.n(\"text\").val()==\"\"){e.n(\"textAutocomplete\").val(\"\");return}let o=String(e.n(\"textAutocomplete\").val());if(o!=\"\"&&o.indexOf(n)==0)return;e.n(\"textAutocomplete\").val(\"\");let a=e.o.autocomplete.lang;[\"wpml_lang\",\"polylang_lang\",\"qtranslate_lang\"].forEach(function(l){e.n(\"searchsettings\").find('input[name=\"'+l+'\"]').length>
10&&String(e.n(\"searchsettings\").find('input[name=\"'+l+'\"]').val()).length>1&&(a=String(e.n(\"searchsettings\").find('input[name=\"'+l+'\"]').val()))}),String(e.n(\"text\").val()).length>=e.o.autocomplete.trigger_charcount&&u().fn.ajax({url:\"https://clients1.google.com/complete/search\",cors:\"no-cors\",data:{q:n,hl:a,nolabels:\"t\",client:\"hp\",ds:\"\"},success:function(l){if(l[1].length>0){let f=l[1][0][0].replace(/(<([^>]+)>)/ig,\"\");f=u()(\"<textarea />\").html(f).text(),f=f.substr(n.length),e.n(\"textAutocomplete\").val(n+f)}}})},s.prototype.fixAutocompleteScrollLeft=function(){const e=this.n(\"textAutocomplete\").get(0);if(e===void 0){console.warn(\"textAutocomplete missing\");return}e.scrollLeft=this.n(\"text\").get(0)?.scrollLeft??0};var be=null,xe;s.prototype.initAutocompleteEvent=function(){let e=this;e.o.autocomplete.enabled&&(e.n(\"text\").on(\"keyup\",function(n){e.keycode=n.keyCode||n.which,e.ktype=n.type;let o=39;u()(\"body\").hasClass(\"rtl\")&&(o=37),e.keycode===o&&e.n(\"textAutocomplete\").val()!==\"\"?(n.preventDefault(),e.n(\"text\").val(e.n(\"textAutocomplete\").val()),e.post!=null&&e.post.abort(),e.search()):(e.postAuto!=null&&e.postAuto.abort(),e.autocompleteGoogleOnly())}),e.n(\"text\").on(\"keyup mouseup input blur select\",function(){e.fixAutocompleteScrollLeft()}))};var Se=null,Ae;s.prototype.showVerticalResults=function(){let e=this;if(e.showResultsBox(),e.n(\"items\").length>0){let o=e.n(\"items\").length<e.o.itemscount?e.n(\"items\").length:e.o.itemscount;o=o<=0?9999:o;let a=e.n(\"resultsDiv\").find(\".asl_group_header\");if(e.o.itemscount==0||e.n(\"items\").length<=e.o.itemscount)e.n(\"results\").css({height:\"auto\"});else if(e.call_num<1&&e.n(\"results\").css({height:\"30px\"}),e.call_num<1){let l=0,f=0,m=0,b=0;e.n(\"items\").forEach(function(x){f+=u()(x).outerHeight(!0),u()(x).outerHeight(!0)>b&&(b=u()(x).outerHeight(!0)),l++}),m=b*o,m>f&&(m=f),l=l<1?1:l,f=f/l*o,a.length>0&&a.forEach(function(x,F){if(!F||!x||!x.parentNode)return;let z=Array.prototype.slice.call(x.parentNode.children).indexOf(x);z-F-Math.floor(z/3)<o&&(m+=u()(x).outerHeight(!0))}),e.n(\"results\").css({height:m+\"px\"})}if(e.n(\"items\").last().addClass(\"asl_last_item\"),e.n(\"results\").find(\".asl_group_header\").prev(\".item\").addClass(\"asl_last_item\"),e.o.highlight){const l=e.n(\"text\").val().split(\" \").map(f=>f.trim()).filter(f=>f.length>=e.o.minWordLength);e.n(\"resultsDiv\").find(\"div.item\").highlight(l,{element:\"span\",className:\"highlighted\",wordsOnly:e.o.highlightWholewords})}}e.resize(),e.n(\"items\").length==0&&e.n(\"results\").css({height:\"auto\"}),e.n(\"results\").css({overflowY:\"auto\"});const n=e.n(\"results\").get(0);n&&(n.scrollTop=0),e.fixResultsPosition(!0),e.searching=!1};var ke=null,Ce;s.prototype.showSettings=function(){let e=this;e.initSettings?.(),e.n(\"searchsettings\").css(e.settAnim.showCSS),e.n(\"searchsettings\").removeClass(e.settAnim.hideClass).addClass(e.settAnim.showClass),e.n(\"prosettings\").data(\"opened\",1),e.fixSettingsPosition(!0)},s.prototype.hideSettings=function(){let e=this;e.initSettings?.(),e.n(\"searchsettings\").removeClass(e.settAnim.showClass).addClass(e.settAnim.hideClass),setTimeout(function(){e.n(\"searchsettings\").css(e.settAnim.hideCSS)},e.settAnim.duration),e.n(\"prosettings\").data(\"opened\",0)};var Ee=null;s.prototype.initFacetEvents=function(){let e=this;e.o.trigger.facet&&e.n(\"searchsettings\").find(\"input[type=checkbox]\").on(\"asl_chbx_change\",function(n){e.ktype=n.type,e.n(\"searchsettings\").find(\"input[name=filters_changed]\").val(1),e.gaEvent?.(\"facet_change\",{option_label:u()(this).closest(\"fieldset\").find(\"legend\").text(),option_value:u()(this).closest(\".asl_option\").find(\".asl_option_label\").text()+(u()(this).prop(\"checked\")?\"(checked)\":\"(unchecked)\")}),e.setFilterStateInput(65),e.searchWithCheck(80)})};var Le;s.prototype.initSettingsSwitchEvents=function(){let e=this;e.n(\"prosettings\").on(\"click\",function(){e.n(\"prosettings\").data(\"opened\")===\"0\"?e.showSettings():e.hideSettings()}),e.o.settingsVisible==1&&e.showSettings()},s.prototype.initSettingsEvents=function(){let e=this,n,o=function(){typeof e.originalFormData>\"u\"&&(e.originalFormData=(0,t.formData)(e.n(\"searchsettings\").find(\"form\"))),e.n(\"searchsettings\").off(\"mousedown touchstart mouseover\",o)};e.n(\"searchsettings\").on(\"mousedown touchstart mouseover\",o);let a=function(l){u()(l.target).closest(\".asl_w\").length==0&&(e.dragging||e.hideSettings?.())};e.documentEventHandlers.push({node:document,event:e.clickTouchend,handler:a}),u()(document).on(e.clickTouchend,a),e.n(\"searchsettings\").on(\"click\",function(){e.settingsChanged=!0}),e.n(\"searchsettings\").on(e.clickTouchend,function(l){e.updateHref(),(typeof l.target<\"u\"&&!u()(l.target).hasClass(\"noUi-handle\")||l.type==\"click\")&&l.stopImmediatePropagation()}),e.n(\"searchsettings\").find(\"div.asl_option\").on(e.mouseupTouchend,function(l){if(l.preventDefault(),l.stopImmediatePropagation(),e.dragging)return!1;u()(this).find('input[type=\"checkbox\"]').prop(\"checked\",!u()(this).find('input[type=\"checkbox\"]').prop(\"checked\")),clearTimeout(n);let f=this;n=setTimeout(function(){u()(f).find('input[type=\"checkbox\"]').trigger(\"asl_chbx_change\",[])},50)}),e.n(\"searchsettings\").find(\"div.asl_option label\").on(\"click\",function(l){l.preventDefault()}),e.n(\"searchsettings\").find(\"fieldset.asl_checkboxes_filter_box\").forEach(function(){let l=!0;u()(this).find('.asl_option:not(.asl_option_selectall) input[type=\"checkbox\"]').forEach(function(){if(u()(this).prop(\"checked\")==!0)return l=!1,!1}),l&&u()(this).find('.asl_option_selectall input[type=\"checkbox\"]').prop(\"checked\",!1).removeAttr(\"data-origvalue\")}),e.n(\"searchsettings\").find(\"fieldset\").forEach(function(){u()(this).find(\".asl_option:not(.hiddend)\").last().addClass(\"asl-o-last\")}),e.n(\"searchsettings\").find('.asl_option_cat input[type=\"checkbox\"], .asl_option_cff input[type=\"checkbox\"]').on(\"asl_chbx_change\",function(){let l=u()(this).data(\"targetclass\");typeof l==\"string\"&&l!=\"\"&&e.n(\"searchsettings\").find(\"input.\"+l).prop(\"checked\",u()(this).prop(\"checked\"))})};var Te=null,De;s.prototype.initSettings=function(){this.settingsInitialized||(this.loadASLFonts?.(),this.initSettingsBox?.(),this.initSettingsEvents?.(),this.initFacetEvents?.())},s.prototype.initSettingsBox=function(){let e=this,n=function(o){let a=e.n(\"searchsettings\").get(0);e.nodes.searchsettings=e.n(\"searchsettings\").clone(),o.append(e.n(\"searchsettings\")),u()(a).find(\"*[id]\").forEach(function(l){l!==void 0&&l.id.indexOf(\"__original__\")<0&&(l.id=\"__original__\"+l.id)}),e.n(\"searchsettings\").find(\"*[id]\").forEach(function(l){l!==void 0&&l.id.indexOf(\"__original__\")>-1&&(l.id=l.id.replace(\"__original__\",\"\"))})};e.initSettingsAnimations?.(),n(u()(\"body\")),e.n(\"searchsettings\").get(0).id=e.n(\"searchsettings\").get(0).id.replace(\"__original__\",\"\"),e.detectAndFixFixedPositioning(),e.settingsInitialized=!0},s.prototype.initSettingsAnimations=function(){let e=this;const n=(0,O.isMobile)()?e.o.animations.mob:e.o.animations.pc;
1e.settAnim.duration=n.settings.dur,e.settAnim.showCSS[\"animation-duration\"]=n.settings.dur+\"ms\",n.settings.anim===\"fade\"&&(e.settAnim.showClass=\"asl_an_fadeIn\",e.settAnim.hideClass=\"asl_an_fadeOut\"),n.settings.anim===\"fadedrop\"&&!e.o.blocking?(e.settAnim.showClass=\"asl_an_fadeInDrop\",e.settAnim.hideClass=\"asl_an_fadeOutDrop\"):n.settings.anim===\"fadedrop\"&&(e.settAnim.showClass=\"asl_an_fadeIn\",e.settAnim.hideClass=\"asl_an_fadeOut\"),e.n(\"searchsettings\").css({\"-webkit-animation-duration\":e.settAnim.duration+\"ms\",\"animation-duration\":e.settAnim.duration+\"ms\"})};var Pe=null,B={plugin:new s,addons:{addons:[],add(e){if(this.addons.indexOf(e)===-1){const n=this.addons.push(e);this.addons[n-1].init()}},remove(e){this.addons=this.addons.filter(n=>n.name===e?(typeof n.destroy<\"u\"&&n.destroy(),!1):!0)}}},Re;class te{name=\"WooCommerce Add To Cart\";requests=[];$liveRegion=void 0;init(){d.Hooks.addFilter(\"asl/search/end\",this.finished.bind(this),10,this)}finished(n){typeof window.wc_add_to_cart_params>\"u\"||typeof jQuery>\"u\"||(this.addRequest=this.addRequest.bind(this),this.run=this.run.bind(this),this.$liveRegion=this.createLiveRegion(),jQuery(n.n(\"resdrg\").get(0)).find(\".add-to-cart-button:not(.wc-interactive)\").off().on(\"click\",{addToCartHandler:this},this.onAddToCart))}addRequest(n){this.requests.push(n),this.requests.length===1&&this.run()}run(){const n=this,o=n.requests[0].complete;n.requests[0].complete=function(){typeof o==\"function\"&&o(),n.requests.shift(),n.requests.length>0&&n.run()},jQuery.ajax(this.requests[0])}onAddToCart(n){if(typeof window.wc_add_to_cart_params>\"u\"||typeof jQuery>\"u\")return;const o=jQuery(this);if(o.is(\".ajax-add-to-cart\")){if(!o.attr(\"data-product_id\"))return!0;if(n.data.addToCartHandler.$liveRegion.text(\"\").removeAttr(\"aria-relevant\"),n.preventDefault(),o.removeClass(\"added\"),o.addClass(\"loading\"),jQuery(document.body).triggerHandler(\"should_send_ajax_request.adding_to_cart\",[o])===!1)return jQuery(document.body).trigger(\"ajax_request_not_sent.adding_to_cart\",[!1,!1,o]),!0;const a={};jQuery.each(o.data(),function(f,m){a[f]=m}),jQuery.each(o[0].dataset,function(f,m){a[f]=m});const l=o.closest(\".add-to-cart-container\").find(\".add-to-cart-quantity\");l.length>0&&(a.quantity=l.get(0).value),jQuery(document.body).trigger(\"adding_to_cart\",[o,a]),n.data.addToCartHandler.addRequest({type:\"POST\",url:window.wc_add_to_cart_params.wc_ajax_url.toString().replace(\"%%endpoint%%\",\"add_to_cart\"),data:a,success:function(f){if(f){if(f.error&&f.product_url){window.location=f.product_url;return}if(!(typeof window.wc_add_to_cart_params>\"u\"||typeof jQuery>\"u\")){if(window.wc_add_to_cart_params.cart_redirect_after_add===\"yes\"){window.location=window.wc_add_to_cart_params.cart_url;return}jQuery(document.body).trigger(\"added_to_cart\",[f.fragments,f.cart_hash,o])}}},dataType:\"json\"})}}createLiveRegion(){const n=jQuery(\".widget_shopping_cart_live_region\");return n.length?n:jQuery('<div class=\"widget_shopping_cart_live_region screen-reader-text\" role=\"status\"></div>').appendTo(\"body\")}}B.addons.add(new te);var je=null,Ie;class ne{name=\"Divi Addon\";init(){window.DiviArea!==void 0&&window.DiviArea.addAction(\"click_overlay\",()=>window.ASL.api(0,\"closeResults\"))}}B.addons.add(new ne);var Fe=null;function ie(){(0,p.intervalUntilExecute)(()=>window.ASL.init(),function(){return typeof window.ASL.version<\"u\"})}window.WPD.AjaxSearchLite=B,u()._fn.plugin(\"ajaxsearchlite\",B.plugin),ie()})(),window.AjaxSearchLite=Z.default})();\n";
2var mod_pagespeed_nfhkf_6bCF = "!function(e){\"use strict\";\"function\"==typeof define&&define.amd?define([\"jquery\"],e):\"object\"==typeof module&&module.exports?module.exports=e(require(\"jquery\")):jQuery&&!jQuery.fn.hoverIntent&&e(jQuery)}(function(f){\"use strict\";function u(e){return\"function\"==typeof e}var i,r,v={interval:100,sensitivity:6,timeout:0},s=0,a=function(e){i=e.pageX,r=e.pageY},p=function(e,t,n,o){if(Math.sqrt((n.pX-i)*(n.pX-i)+(n.pY-r)*(n.pY-r))<o.sensitivity)return t.off(n.event,a),delete n.timeoutId,n.isActive=!0,e.pageX=i,e.pageY=r,delete n.pX,delete n.pY,o.over.apply(t[0],[e]);n.pX=i,n.pY=r,n.timeoutId=setTimeout(function(){p(e,t,n,o)},o.interval)};f.fn.hoverIntent=function(e,t,n){function o(e){var u=f.extend({},e),r=f(this),v=((t=r.data(\"hoverIntent\"))||r.data(\"hoverIntent\",t={}),t[i]),t=(v||(t[i]=v={id:i}
2),v.timeoutId&&(v.timeoutId=clearTimeout(v.timeoutId)),v.event=\"mousemove.hoverIntent.hoverIntent\"+i);\"mouseenter\"===e.type?v.isActive||(v.pX=u.pageX,v.pY=u.pageY,r.off(t,a).on(t,a),v.timeoutId=setTimeout(function(){p(u,r,v,d)},d.interval)):v.isActive&&(r.off(t,a),v.timeoutId=setTimeout(function(){var e,t,n,o,i;e=u,t=r,n=v,o=d.out,(i=t.data(\"hoverIntent\"))&&delete i[n.id],o.apply(t[0],[e])},d.timeout))}var i=s++,d=f.extend({},v);f.isPlainObject(e)?(d=f.extend(d,e),u(d.out)||(d.out=d.over)):d=u(t)?f.extend(d,{over:e,out:t,selector:n}):f.extend(d,{over:e,out:e,selector:t});return this.on({\"mouseenter.hoverIntent\":o,\"mouseleave.hoverIntent\":o},d.selector)}});";

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.