PageSourceSearch

https://xn--80aaiayg0ak.xn--p1acf/wp-content/boost-cache/static/5b8d79603d.min.js

js xn--80aaiayg0ak.xn--p1acf collected 2026-10-04 13:33:49 UTC 57,294 bytes, 90 lines download raw bytes

1/*! This file is auto-generated */
2!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}),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)}});;
3/*! Max Mega Menu jQuery Plugin */(function(n){"use strict";let K=0;n.maxmegamenu=function(E,P){const e=this,i=n(E),m=i.parent(),b=i.siblings(".mega-menu-toggle"),w=i.attr("id"),k=".megamenu-"+(w+"-"+ ++K),_=n(["li.mega-menu-megamenu.mega-menu-item-has-children","li.mega-menu-flyout.mega-menu-item-has-children","li.mega-menu-tabbed > ul.mega-sub-menu > li.mega-menu-item-has-children","li.mega-menu-flyout li.mega-menu-item-has-children"].join(","),i),T=n("li.mega-menu-megamenu li.mega-menu-item-has-children.mega-collapse-children > a.mega-menu-link",i),S="a.mega-menu-link, button.mega-menu-link, .mega-search span[role=button]",V="Tab",z="Escape",R="Enter",B=" ",F="ArrowLeft",L="ArrowUp",W="ArrowRight",A="ArrowDown",N={event:i.attr("data-event"),effect:i.attr("data-effect"),effect_speed:parseInt(i.attr("data-effect-speed")),effect_mobile:i.attr("data-effect-mobile"),effect_speed_mobile:parseInt(i.attr("data-effect-speed-mobile")),panel_width:i.attr("data-panel-width"),panel_inner_width:i.attr("data-panel-inner-width"),mobile_force_width:i.attr("data-mobile-force-width"),mobile_overlay:i.attr("data-mobile-overlay"),mobile_state:i.attr("data-mobile-state"),mobile_direction:i.attr("data-mobile-direction"),second_click:i.attr("data-second-click"),vertical_behaviour:i.attr("data-vertical-behaviour"),document_click:i.attr("data-document-click"),breakpoint:i.attr("data-breakpoint"),unbind_events:i.attr("data-unbind"),hover_intent_timeout:i.attr("data-hover-intent-timeout")??300,hover_intent_interval:i.attr("data-hover-intent-interval")??100};e.settings={};let y;e.addAnimatingClass=function(t){if(e.settings.effect==="disabled")return;n(".mega-animating",m).removeClass("mega-animating");const l=e.settings.effect_speed+parseInt(e.settings.hover_intent_timeout,10);t.addClass("mega-animating"),setTimeout(function(){t.removeClass("mega-animating")},l)},e.hideAllPanels=function(){n(".mega-toggle-on > a.mega-menu-link",i).each(function(){e.hidePanel(n(this),!1)})},e.expandMobileSubMenus=function(){if(e.settings.mobile_direction==="vertical"&&(n(".mega-menu-item-has-children.mega-expand-on-mobile > a.mega-menu-link",i).each(function(){e.showPanel(n(this),!0)}),e.settings.mobile_state==="expand_all"&&n(".mega-menu-item-has-children:not(.mega-toggle-on) > a.mega-menu-link",i).each(function(){e.showPanel(n(this),!0)}),e.settings.mobile_state==="expand_active")){const t=["li.mega-current-menu-ancestor.mega-menu-item-has-children > a.mega-menu-link","li.mega-current-menu-item.mega-menu-item-has-children > a.mega-menu-link","li.mega-current-menu-parent.mega-menu-item-has-children > a.mega-menu-link","li.mega-current_page_ancestor.mega-menu-item-has-children > a.mega-menu-link","li.mega-current_page_item.mega-menu-item-has-children > a.mega-menu-link"];i.find(t.join(", ")).each(function(){e.showPanel(n(this),!0)})}},e.hideSiblingPanels=function(t,l){t.parent().parent().find(".mega-toggle-on").children("a.mega-menu-link").each(function(){e.hidePanel(n(this),l)})},e.isDesktopView=function(){return Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)>e.settings.breakpoint},e.isMobileView=function(){return!e.isDesktopView()},e.isHorizontalMobileSubmenuMode=function(){return e.isMobileView()&&e.isMobileOffCanvas()&&e.settings.mobile_direction==="horizontal"};const M=function(t){return t.find("> li.mega-mobile-back:visible > button.mega-mobile-back-link").first()},I=function(){return n("li.mega-toggle-on:not(.mega-collapse-children) > ul.mega-sub-menu",i).last()};e.getFocusableItemsInSubmenu=function(t){return t.find(S).not(".mega-mobile-back-link").filter(function(){return n(this).is(":visible")&&window.getComputedStyle(this).visibility!=="hidden"})},e.focusFirstItemInOpenedSubmenu=function(t){if(!e.isHorizontalMobileSubmenuMode()||!m.hasClass("mega-keyboard-navigation"))return;const l=t.children("ul.mega-sub-menu");if(!l.length)return;const a=l.find(S).not(".mega-mobile-back-link").filter(":visible").first();a.length?a.trigger("focus"):M(l).trigger("focus")},e.deferFocusFirstItemInOpenedSubmenu=function(t){const l=Math.min(120,parseInt(e.settings.effect_speed_mobile,10)||0);setTimeout(function(){e.focusFirstItemInOpenedSubmenu(t),setTimeout(function(){t.find("ul.mega-sub-menu").has(document.activeElement).length!==0||e.focusFirstItemInOpenedSubmenu(t)},40)},l)};const O=function(t){return typeof t=="number"||typeof t=="string"&&t.trim()!==""&&!isNaN(t)?n("li.mega-menu-item-"+t,i).find("a.mega-menu-link").first():t.is("li.mega-menu-item")?t.f
3ind("a.mega-menu-link").first():t};e.showPanel=function(t,l){t=O(t);const a=t.parent(),d=e.isDesktopView(),v=!d;if(a.triggerHandler("before_open_panel"),a.find("[aria-expanded]").first().attr("aria-expanded","true"),n(".mega-animating",m).removeClass("mega-animating"),!(v&&a.hasClass("mega-hide-sub-menu-on-mobile"))){if(d&&(i.hasClass("mega-menu-horizontal")||i.hasClass("mega-menu-vertical"))&&!a.hasClass("mega-collapse-children")&&e.hideSiblingPanels(t,!0),(v&&m.hasClass("mega-keyboard-navigation")||e.settings.vertical_behaviour==="accordion")&&e.hideSiblingPanels(t,!1),e.calculateDynamicSubmenuWidths(t),e.shouldUseSlideAnimation(t,l)){const p=v?e.settings.effect_speed_mobile:e.settings.effect_speed;t.siblings(".mega-sub-menu").css("display","none").animate({height:"show",paddingTop:"show",paddingBottom:"show",minHeight:"show"},p,function(){n(this).css("display","")})}a.addClass("mega-toggle-on").triggerHandler("open_panel"),e.deferFocusFirstItemInOpenedSubmenu(a)}},e.shouldUseSlideAnimation=function(t,l){if(l===!0)return!1;if(t.parent().hasClass("mega-collapse-children"))return!0;const a=e.isDesktopView();if(a&&e.settings.effect==="slide")return!0;if(!a){if(e.settings.effect_mobile==="slide")return!0;if(e.isMobileOffCanvas())return e.settings.mobile_direction!=="horizontal"}return!1},e.hidePanel=function(t,l){t=O(t);const a=t.parent(),d=t.siblings(".mega-sub-menu"),v=e.isMobileView();if(a.triggerHandler("before_close_panel"),a.find("[aria-expanded]").first().attr("aria-expanded","false"),e.shouldUseSlideAnimation(t)){const p=v?e.settings.effect_speed_mobile:e.settings.effect_speed;d.animate({height:"hide",paddingTop:"hide",paddingBottom:"hide",minHeight:"hide"},p,function(){d.css("display",""),a.removeClass("mega-toggle-on").triggerHandler("close_panel")});return}l&&d.css("display","none").delay(e.settings.effect_speed).queue(function(){n(this).css("display","").dequeue()}),d.find(".widget_media_video video").each(function(){this.player&&this.player.pause()}),a.removeClass("mega-toggle-on").triggerHandler("close_panel"),e.addAnimatingClass(a)};const x=function(t){return t==="$menu"?i:t==="$wrap"?m:n(t)};e.calculateDynamicSubmenuWidths=function(t){const l=t.parent(),a=t.siblings(".mega-sub-menu"),d=e.isDesktopView(),v=l.hasClass("mega-menu-megamenu")&&l.parent().hasClass("max-mega-menu");if(v&&e.settings.panel_width)if(d){const p=i.offset();if(e.settings.panel_width==="100vw"){const h=n("body").offset();a.css({left:h.left-p.left+"px"})}else{const h=x(e.settings.panel_width);h.length>0&&a.css({width:h.outerWidth(),left:h.offset().left-p.left+"px"})}}else a.css({width:"",left:""});if(v&&e.settings.panel_inner_width){const p=x(e.settings.panel_inner_width);if(p.length>0){const h=parseInt(p.width(),10);a.css({paddingLeft:"",paddingRight:""});const C=parseInt(a.innerWidth(),10);d&&h>0&&h<C&&a.css({paddingLeft:(C-h)/2+"px",paddingRight:(C-h)/2+"px"})}}};const H=function(){e.calculateDynamicSubmenuWidths(n("> li.mega-menu-megamenu > a.mega-menu-link",i))};e.bindClickEvents=function(){e.unbindClickEvents(!0);let t=!1;n(document).on({["touchmove"+k]:function(){t=!0},["touchstart"+k]:function(){t=!1}}),n(document).on("click"+k+" touchend"+k,function(a){!t&&e.settings.document_click==="collapse"&&!n(a.target).closest(".mega-menu-wrap").length&&(e.hideAllPanels(),e.hideMobileMenu()),t=!1}),T.off("click.megamenu touchend.megamenu");const l=n("> a.mega-menu-link",_).add(T);l.on("touchend.megamenu",function(a){e.settings.event==="hover_intent"&&e.unbindHoverIntentEvents(),e.settings.event==="hover"&&e.unbindHoverEvents()}),l.on("click.megamenu",function(a){if(!n(a.target).hasClass("mega-indicator")){if(e.isDesktopView()&&n(this).parent().hasClass("mega-toggle-on")&&n(this).closest("ul.mega-sub-menu").parent().hasClass("mega-menu-tabbed")){if(e.settings.second_click==="go")return;a.preventDefault();return}t||e.isMobileView()&&n(this).parent().hasClass("mega-hide-sub-menu-on-mobile")||((e.settings.second_click==="go"||n(this).parent().hasClass("mega-click-click-go"))&&n(this).attr("href")!==void 0?n(this).parent().hasClass("mega-toggle-on")||(a.preventDefault(),e.showPanel(n(this))):(a.preventDefault(),n(this).parent().hasClass("mega-toggle-on")?e.hidePanel(n(this),!1):e.showPanel(n(this))))}}),e.settings.second_click==="disabled"&&l.off("click.megamenu"),n(".mega-close-after-click:not(.mega-menu-item-has-children) > a.mega-menu-link",i).on("click.megamenu",function(){e.hideAllPanels(),e.hideMobileMenu()}),n("button.mega-close",m).on("click.megamenu",function(a){e.hideMobileMenu()})},e.bindHoverEvents=function(){_.on({"mouseenter.megamenu":function(){e.unbindClickEvents(),n(this).hasClass("mega-toggle-on")||e.showPanel(n(this).children("a.mega-menu-link"))},"mouseleave.megamenu":function(){n(this).hasClass("mega-toggle-on")&&!n(this).hasClass("mega-disable-collapse")&&!n(this).parent().parent().hasClass("mega-menu-tabbed")&&e.hidePanel(n(this).children("a.mega-menu-link"),!1)}})},e.bindHoverIntentEvents=function(){_.hoverIntent({over:function(){e.unbindClickEvents(),n(this).hasClass("mega-toggle-on")||e.showPanel(n(this).children("a.mega-menu-link"))},out:function(){n(this).hasClass("mega-toggle-on")&&!n(this).hasClass("mega-disable-collapse")&&!n(this).parent().parent().hasClass("mega-menu-tabbed")&&e.hidePanel(n(this).children("a.mega-menu-link"),!1)},timeout:e.settings.hover_intent_timeout,interval:e.settings.hover_intent_interval})},e.isMobileOffCanvas=function(){return e.settings.effect_mobile==="slide_left"||e.settings.effect_mobile==="slide_right"},e.shouldGoToNextTopLevelItem=function(t){return(t===W&&e.isDesktopView()||t===A&&e.isMobileView())&&i.hasClass("mega-menu-horizontal")},e.shouldGoToPreviousTopLevelItem=function(t){return(t===F&&e.isDesktopView()||t===L&&e.isMobileView())&&i.hasClass("mega-menu-horizontal")},e.bindKeyboardEvents=function(){const t=i.find("a.mega-menu-link").first(),l=m.find("button.mega-close").first(),a=S.split(", ").map(s=>"> "+s).join(", "),d=function(s){!s||!s.length||(s.parent().hasClass("mega-toggle-on")&&!s.closest("ul.mega-sub-menu").parent().hasClass("mega-menu-tabbed")?e.hidePanel(s):e.showPanel(s))},v=function(){const s=i[0].contains(document.activeElement)?n(document.activeElement):n(),o=n("> a.mega-menu-link",s.closest(".mega-toggle-on"));return o.length?(e.hidePanel(o),o.trigger("focus"),!0):!1},p=function(s,o,g,f){if(o.is(l)&&f){if(s.shiftKey){if(g){const u=e.getFocusableItemsInSubmenu(I()).last();u.length&&(s.preventDefault(),u.trigger("focus"))}}else{s.preventDefault();const u=g?M(I()):n();(u.length?u:t).trigger("focus")}return}if(f&&s.shiftKey&&o.is(t)){s.preventDefault(),l.trigger("focus");return}if(g){const u=I();if(u.length&&!u.has(o).length){if(s.preventDefault(),s.shiftKey)l.trigger("focus");else{const c=M(u);(c.length?c:e.getFocusableItemsInSubmenu(u).first()).trigger("focus")}return}const r=o.parentsUntil(i,"ul.mega-sub-menu").filter(function(){const c=n(this).parent();return c.hasClass("mega-toggle-on")&&!c.hasClass("mega-collapse-children")}).first();if(r.length)if(s.shiftKey)if(o.hasClass("mega-mobile-back-link"))s.preventDefault(),l.trigger("focus");else{const c=e.getFocusableItemsInSubmenu(r),D=M(r);c.length&&D.length&&o.is(c.first())&&(s.preventDefault(),D.trigger("focus"))}else{const c=e.getFocusableItemsInSubmenu(r);
3c.length&&o.is(c.last())&&(s.preventDefault(),l.trigger("focus"))}}},h=function(s){s.preventDefault(),b.hasClass("mega-menu-open")?e.hideMobileMenu():(e.showMobileMenu(),y=setTimeout(function(){i.find("a.mega-menu-link").first().trigger("focus")},e.settings.effect_speed_mobile))},C=function(s,o){o.is("a.mega-menu-link")?(s.preventDefault(),o.parent().is(_)&&d(o)):o.is(".mega-indicator")&&(s.preventDefault(),d(o.parent()))},U=function(){const s=n(".mega-toggle-on",i).length!==0;s&&v()||e.isMobileView()&&!s&&e.hideMobileMenu()},j=function(s,o){if(o.is(".mega-indicator")){d(o.parent());return}if(o.parent().is(_)){if(e.isMobileView()&&o.parent().is(".mega-hide-sub-menu-on-mobile"))return;if(!o.is("[href]")){d(o);return}if(o.parent().hasClass("mega-toggle-on")&&!o.closest("ul.mega-sub-menu").parent().hasClass("mega-menu-tabbed"))return;s.preventDefault(),e.showPanel(o)}},q=function(s,o){s.preventDefault();const g=I();if(g.length){const f=M(g),u=e.getFocusableItemsInSubmenu(g),r=[];f.length&&r.push(f[0]),u.each(function(){r.push(this)}),l.length&&r.push(l[0]);const c=r.indexOf(document.activeElement),D=c<0?o?0:r.length-1:(c+(o?1:-1)+r.length)%r.length;n(r[D]).trigger("focus")}else{const f=i.children("li.mega-menu-item:visible").find(a),u=f.index(document.activeElement);if(u>=0){const r=(u+(o?1:-1)+f.length)%f.length;f.eq(r).trigger("focus")}}},G=function(s,o){s.preventDefault();const g=i.children("li.mega-menu-item:visible").find(a),f=n(document.activeElement).closest(i.children("li.mega-menu-item")).find(a).first(),u=g.index(f),r=o?u+1:u-1;u>=0&&r>=0&&(e.hideAllPanels(),g.eq(r).trigger("focus"))};m.on("keyup.megamenu",".max-mega-menu, .mega-menu-toggle",function(s){if(s.key!==V)return;m.addClass("mega-keyboard-navigation"),e.bindClickEvents();const o=n(s.target);e.isDesktopView()&&o.is(".mega-menu-link")&&o.parent().parent().hasClass("max-mega-menu")&&e.hideAllPanels()}),m.on("keydown.megamenu","a.mega-menu-link, button.mega-menu-link, button.mega-mobile-back-link, .mega-indicator, .mega-menu-toggle-block, .mega-menu-toggle-animated-block button, button.mega-close",function(s){if(!m.hasClass("mega-keyboard-navigation"))return;const o=s.key,g=n(s.target),f=e.isHorizontalMobileSubmenuMode(),u=e.isMobileView()&&e.isMobileOffCanvas();switch(o){case V:p(s,g,f,u);break;case B:g.is(".mega-menu-toggle-block button, .mega-menu-toggle-animated-block button")?h(s):C(s,g);break;case R:g.is(".mega-menu-toggle-block button, .mega-menu-toggle-animated-block button")?h(s):j(s,g);break;case z:U();break;case L:case A:f&&q(s,o===A);break;case F:case W:const r=e.shouldGoToNextTopLevelItem(o),c=e.shouldGoToPreviousTopLevelItem(o);(r||c)&&G(s,r);break}}),m.on("focusout.megamenu",function(s){m.hasClass("mega-keyboard-navigation")&&setTimeout(function(){m[0].contains(document.activeElement)||(m.removeClass("mega-keyboard-navigation"),e.hideAllPanels(),e.hideMobileMenu())},10)})},e.unbindAllEvents=function(){n(document).off(k),n("ul.mega-sub-menu, li.mega-menu-item, li.mega-menu-row, li.mega-menu-column, a.mega-menu-link, .mega-indicator",i).off()},e.unbindClickEvents=function(t){!t&&m.hasClass("mega-keyboard-navigation")||(n(document).off(k),n("> a.mega-menu-link",_).not(T).off("click.megamenu touchend.megamenu"))},e.unbindHoverEvents=function(){_.off("mouseenter.megamenu mouseleave.megamenu")},e.unbindHoverIntentEvents=function(){_.off("mouseenter mouseleave").removeProp("hoverIntent_t").removeProp("hoverIntent_s")},e.unbindKeyboardEvents=function(){m.off("keyup.megamenu keydown.megamenu focusout.megamenu")},e.unbindMegaMenuEvents=function(){e.settings.event==="hover_intent"&&e.unbindHoverIntentEvents(),e.settings.event==="hover"&&e.unbindHoverEvents(),e.unbindClickEvents(),e.unbindKeyboardEvents()},e.bindMegaMenuEvents=function(){e.unbindMegaMenuEvents();const t=e.isDesktopView();t&&e.settings.event==="hover_intent"&&e.bindHoverIntentEvents(),t&&e.settings.event==="hover"&&e.bindHoverEvents(),e.bindClickEvents(),e.bindKeyboardEvents()},e.checkWidth=function(){e.isMobileView()&&i.data("view")==="desktop"&&e.switchToMobile(),e.isDesktopView()&&i.data("view")==="mobile"&&e.switchToDesktop(),H()},e.reverseRightAlignedItems=function(){!n("body").hasClass("rtl")&&i.hasClass("mega-menu-horizontal")&&i.css("display")!=="flex"&&i.append(i.children("li.mega-item-align-right").get().reverse())},e.addClearClassesToMobileItems=function(){n(".mega-menu-row",i).each(function(){n("> .mega-sub-menu > .mega-menu-column:not(.mega-hide-on-mobile)",n(this)).filter(":even").addClass("mega-menu-clear")}
3)},e.initDesktop=function(){i.data("view","desktop"),e.bindMegaMenuEvents(),e.initIndicators(),i.trigger("mmm:switchToDesktop")},e.initMobile=function(){e.switchToMobile()},e.switchToDesktop=function(){i.data("view","desktop"),e.bindMegaMenuEvents(),e.reverseRightAlignedItems(),e.hideAllPanels(),e.hideMobileMenu(!0),i.removeAttr("role"),i.removeAttr("aria-modal"),i.removeAttr("aria-hidden"),i.trigger("mmm:switchToDesktop")},e.switchToMobile=function(){i.data("view","mobile"),e.isMobileOffCanvas()&&b.is(":visible")&&(i.attr("role","dialog"),i.attr("aria-modal","true"),i.attr("aria-hidden","true")),e.bindMegaMenuEvents(),e.initIndicators(),e.reverseRightAlignedItems(),e.addClearClassesToMobileItems(),e.hideAllPanels(),e.expandMobileSubMenus(),i.trigger("mmm:switchToMobile")},e.initToggleBar=function(){b.on("click",function(t){n(t.target).closest(".mega-menu-toggle-block, button.mega-toggle-animated, .mega-menu-toggle-custom-block",this).length?(t.preventDefault(),n(this).hasClass("mega-menu-open")?e.hideMobileMenu():e.showMobileMenu()):t.target===this&&e.isMobileOffCanvas()&&e.hideMobileMenu()})},e.initIndicators=function(){i.off("click.megamenu",".mega-indicator"),i.on("click.megamenu",".mega-indicator",function(t){t.preventDefault(),t.stopPropagation(),n(this).closest(".mega-menu-item").hasClass("mega-toggle-on")?(!n(this).closest("ul.mega-sub-menu").parent().hasClass("mega-menu-tabbed")||e.isMobileView())&&e.hidePanel(n(this).parent(),!1):e.showPanel(n(this).parent(),!1)})},e.hideMobileMenu=function(t=!1){if(!b.is(":visible")&&!t)return;i.attr("aria-hidden","true"),clearTimeout(y),y=setTimeout(function(){n("body").removeClass(w+"-mobile-open"),n("html").removeClass(w+"-off-canvas-open")},e.settings.effect_speed_mobile),m.hasClass("mega-keyboard-navigation")&&n(".mega-menu-toggle-block button, button.mega-toggle-animated",b).first().trigger("focus"),n(".mega-toggle-label, .mega-toggle-animated",b).attr("aria-expanded","false");const l=function(){i.css({width:"",left:"",display:""}),b.removeClass("mega-menu-open")};e.settings.effect_mobile==="slide"&&!t?i.animate({height:"hide"},e.settings.effect_speed_mobile,l):l(),i.triggerHandler("mmm:hideMobileMenu")},e.showMobileMenu=function(){b.is(":visible")&&(clearTimeout(y),n("body").addClass(w+"-mobile-open"),e.expandMobileSubMenus(),e.isMobileOffCanvas()&&n("html").addClass(w+"-off-canvas-open"),e.settings.effect_mobile==="slide"&&i.animate({height:"show"},e.settings.effect_speed_mobile,function(){n(this).css("display","")}),n(".mega-toggle-label, .mega-toggle-animated",b).attr("aria-expanded","true"),b.addClass("mega-menu-open"),e.toggleBarForceWidth(),i.attr("aria-hidden","false"),i.triggerHandler("mmm:showMobileMenu"))},e.toggleBarForceWidth=function(){const t=n(e.settings.mobile_force_width);if(t.length&&(e.settings.effect_mobile==="slide"||e.settings.effect_mobile==="disabled")){const l=b.offset(),a=t.offset();i.css({width:t.outerWidth(),left:a.left-l.left+"px"})}},e.doConsoleChecks=function(){e.settings.mobile_force_width!=="false"&&!n(e.settings.mobile_force_width).length&&(e.settings.effect_mobile==="slide"||e.settings.effect_mobile==="disabled")&&console.warn("Max Mega Menu #"+m.attr("id")+": Mobile Force Width element ("+e.settings.mobile_force_width+") not found");const t=/^((\d+(\.\d+)?(px|%|em|rem|vw|vh|ch|ex|cm|mm|in|pt|pc))|auto)$/i;e.settings.panel_width!==void 0&&!t.test(e.settings.panel_width)&&!x(e.settings.panel_width).length&&console.warn("Max Mega Menu #"+m.attr("id")+": Panel Width (Outer) element ("+e.settings.panel_width+") not found"),e.settings.panel_inner_width!==void 0&&!t.test(e.settings.panel_inner_width)&&!x(e.settings.panel_inner_width).length&&console.warn("Max Mega Menu #"+m.attr("id")+": Panel Width (Inner) element ("+e.settings.panel_inner_width+") not found")},e.init=function(){i.triggerHandler("before_mega_menu_init"),e.settings=n.extend({},N,P),window.console&&e.doConsoleChecks(),i.removeClass("mega-no-js"),e.initToggleBar(),e.settings.unbind_events==="true"&&e.unbindAllEvents(),document.readyState==="complete"?H():n(window).on("load",H),e.isDesktopView()?e.initDesktop():e.initMobile(),n(window).on("resize",function(){e.checkWidth()}),i.triggerHandler("after_mega_menu_init")}
3,e.init()},n.fn.maxmegamenu=function(E){return this.each(function(){if(n(this).data("maxmegamenu")===void 0){const P=new n.maxmegamenu(this,E);n(this).data("maxmegamenu",P)}})},n(function(){n(".max-mega-menu").maxmegamenu()})})(jQuery);
4;
5!function(e,n){"use strict";var t=function(e,n){var t=e.find(".elementor-widget");t.length&&void 0!==jQuery(t).data("settings")&&"yes"===jQuery(t).data("settings").upk_link_new_tab&&t.find(".upk-title a, .upk-readmore").attr("target","_blank")};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/global",t)}))}(jQuery,window.elementorFrontend);;
6function ivory_search_cursor_at_end(s){var e=s.val().length;s.trigger("focus"),s[0].setSelectionRange(e,e)}function ivory_search_analytics(s,e,i){try{var t="function"==typeof __gaTracker?__gaTracker:"function"==typeof ga&&ga,a="function"==typeof gtag&&gtag;if(!1!==a){a("event","Ivory Search - "+s,{event_label:e,event_category:i});return}!1!==t&&t("send",{hitType:"event",eventCategory:i,eventAction:"Ivory Search - "+s,eventLabel:e})}catch(n){}}!function(s){"use strict";s(window).on("load",function(){if(s(".is-menu a, .is-menu a svg").on("click",function(e){if(e.stopPropagation(),e.preventDefault(),"static"===s(this).closest("ul").css("position")&&s(this).closest("ul").css("position","relative"),s(this).closest(".is-menu-wrapper").length&&(s(this).closest(".is-menu").hasClass("sliding")||s(this).closest(".is-menu").hasClass("full-width-menu"))&&s(this).closest(".is-menu-wrapper").addClass("is-expanded"),s(this).closest(".is-menu").hasClass("sliding")||s(this).closest(".is-menu").hasClass("full-width-menu")){s(this).closest(".is-menu").find("button.is-search-submit").hide();var i=s(this).closest("li.is-menu").outerHeight();i/=2,s(this).closest(".is-menu").find("form").css({top:i-18+"px"}),s(this).closest(".is-menu").find(".search-close").css({top:i-10+"px"})}if(s(this).closest(".is-menu").hasClass("is-dropdown"))s(this).closest(".is-menu").find("form").fadeIn();else if(s(this).closest(".is-menu").hasClass("sliding"))s(this).closest(".is-menu").find("form").animate({width:"310"},function(){s(this).closest(".is-menu").addClass("open"),s(this).closest(".is-menu").find("button.is-search-submit").show()});else if(s(this).closest(".is-menu").hasClass("full-width-menu")){var t=s(this).closest("ul").outerWidth();if(s(this).closest(".is-menu-wrapper").hasClass("is-expanded"))t=s(window).width(),s(this).closest(".is-menu").find("form").css("right","-5px"),s(this).closest(".is-menu").find(".search-close").hide();else{var a=s(this).offset();if(!s(this).closest(".is-menu").hasClass("is-first")&&a.left<t){t=a.left;var n=s(this).closest("li").outerWidth();n>t&&(t=n)}}s(this).closest(".is-menu").find("form").animate({width:t+"px"},function(){s(this).closest(".is-menu").addClass("active-search"),s(this).closest(".is-menu").addClass("open"),s(this).closest(".is-menu").find("button.is-search-submit").show()})}else s(this).closest(".is-menu").hasClass("popup")&&(s("#is-popup-wrapper").fadeIn(),ivory_search_cursor_at_end(s("#is-popup-wrapper form .is-search-input")));s(this).closest(".is-menu").hasClass("popup")||ivory_search_cursor_at_end(s(this).closest(".is-menu").find("form .is-search-input"))}),s("#is-popup-wrapper .popup-search-close").on("click",function(e){s("#is-popup-wrapper, .is-ajax-search-result, .is-ajax-search-details").fadeOut()}),"undefined"!=typeof IvorySearchVars&&void 0!==IvorySearchVars.is_analytics_enabled&&void 0!==IvorySearchVars.is_search&&(IvorySearchVars.is_search,1)){var e,i=void 0!==IvorySearchVars.is_id?IvorySearchVars.is_id:"Default";ivory_search_analytics(i,void 0!==IvorySearchVars.is_label?IvorySearchVars.is_label:"",void 0!==IvorySearchVars.is_cat?IvorySearchVars.is_cat:"")}window.matchMedia("(max-width: 1024px)").matches&&s(".is-menu a").attr("href",""),s(window).resize(function(){window.matchMedia("(max-width: 1024px)").matches&&s(".is-menu a").attr("href","")})}),s(document).keyup(function(e){27===e.keyCode&&s("#is-popup-wrapper, .is-ajax-search-result, .is-ajax-search-details").hide()}),s('.is-menu form input[type="search"], .is-menu form input[type="text"]').on("click",function(s){return s.stopPropagation(),!1}),s("form.is-search-form, form.search-form").on("mouseover",function(e){s(this).next(".is-link-container").length&&s(this).append(s(this).next(".is-link-container").remove())}),s(window).click(function(e){0===e.button&&0===s(e.target).closest(".is-search-input").length&&0===s(e.target).closest(".is-search-submit").length&&0===s(e.target).closest(".is-ajax-search-result").length&&0===s(e.target).closest(".is-ajax-search-details").length&&(s(".is-menu").hasClass("open")?(s(".is-menu button.is-search-submit").hide(),s(".is-menu form").animate({width:"0"},400,function(){s(".is-menu").removeClass("active-search"),s(".is-menu").removeClass("open"),s(".is-menu-wrapper").removeClass("is-expanded")}),s(".is-ajax-search-result, .is-ajax-search-details").hide()):s(".is-menu").hasClass("is-dropdown")&&(s(".is-menu form").fadeOut(),s(".is-ajax-search-result, .is-ajax-search-details").hide()))})}(jQuery);;
7var quotes_llama_ajaxurl=quotesllamaOption.ajaxurl;var quotes_llama_cid=0;var quotes_llama_lastid=jQuery('.quotes-llama-page-link').last().attr('localid');var quotes_llama_foregroundcolor=quotesllamaOption.ForegroundColor;
7var quotes_llama_backgroundcolor=quotesllamaOption.BackgroundColor;var quotes_llama_quotelimit=quotesllamaOption.Limit;var quotes_llama_show_timer=quotesllamaOption.GalleryShowTimer;var quotes_llama_galleryinterval=quotesllamaOption.GalleryInterval;var quotes_llama_galleryminimum=quotesllamaOption.GalleryMinimum;var quotes_llama_ellipses=quotesllamaOption.Ellipses;var quotes_llama_sidebarpos=quotesllamaOption.Sidebarpos;var quotes_llama_moretext=quotesllamaOption.MoreText;var quotes_llama_lesstext=quotesllamaOption.LessText;var quotes_llama_sourcenewline=quotesllamaOption.SourceNewLine;var quotes_llama_showicons=quotesllamaOption.ShowIcons;var quotes_llama_this_url=quotesllamaOption.ThisURL;var quotes_llama_borderradius=quotesllamaOption.BorderRadius;var quotes_llama_alignquote=quotesllamaOption.AlignQuote;var quotes_llama_imageattop=quotesllamaOption.ImageAtTop;var quotes_llama_transitionspeed=parseInt(quotesllamaOption.TransitionSpeed);var quotes_llama_quotes=quotesllamaOption.AllQuotes;var quotes_llama_old_auto_uid=0;var quotes_llama_old_widget_uid=0;function quotes_llama_media_gallery(selector,button_selector){let clicked_button;clicked_button=!1;jQuery(selector).each(function(i,input){let button;button=jQuery(input).next(button_selector);button.click(function(event){event.preventDefault();let selected_img;selected_img;clicked_button=jQuery(this);if(wp.media.frames.quotes_llama_frame){wp.media.frames.quotes_llama_frame.open();return}
8wp.media.frames.quotes_llama_frame=wp.media({title:'Select image',multiple:!1,library:{type:'image'},button:{text:'Get Thumbnail URL'}});let quotes_llama_media_gallery_set_image;quotes_llama_media_gallery_set_image=function(){let selection;selection=wp.media.frames.quotes_llama_frame.state().get('selection');if(!selection){return}
9selection.each(function(attachment){let url;url=attachment.attributes.sizes.thumbnail.url;clicked_button.prev(selector).val(url)})};wp.media.frames.quotes_llama_frame.on('close',quotes_llama_media_gallery_set_image);wp.media.frames.quotes_llama_frame.on('select',quotes_llama_media_gallery_set_image);wp.media.frames.quotes_llama_frame.open()})})};jQuery(document).on('click','.quotes-llama-media-button',function(){quotes_llama_media_gallery('#quotes_llama_imgurl','.quotes-llama-media-button')});quotes_llama_media_gallery('#quotes_llama_imgurl','.quotes-llama-media-button');jQuery('.ql-manage-cat').each(function(){jQuery(this).on('click',function(){jQuery('.ql-manage-cat').css('text-decoration','none');let cat;cat=jQuery(this).html();jQuery('#ql-bulk-category').val(cat);jQuery('#ql-bulk-category-old').val(cat);jQuery(this).css('text-decoration','underline')})});function quotes_llama_change_table_confirm(){return confirm("Are you sure you want to take this action?\n This action cannot be undone!")}
10jQuery(document).on('click','#ql-new-cat-btn',function(){let container=jQuery('.ql-category');let newCat=jQuery('#ql-new-category').val();if(newCat){let category='<label><input checked type="checkbox" name="ql_category[]" value="'+newCat+'"> '+newCat+'</label><br>';jQuery(category).prependTo(container);jQuery('#ql-new-category').val('')}});if(jQuery('.quotes-llama-auto')[0]){let quotes_llama_auto;quotes_llama_auto=jQuery('.quotes-llama-auto');jQuery.each(quotes_llama_auto,function(i,list){let quotes_llama_elements;let quotes_llama_list_class;let quotes_llama_auto_category;quotes_llama_elements=jQuery(list).children('div');quotes_llama_list_class={data:[]};quotes_llama_auto_category=quotes_llama_elements.attr('gcategory');quotes_llama_auto_nonce=quotes_llama_elements.attr('gnonce');jQuery.each(quotes_llama_elements,function(i,element){let quotes_llama_this_class;quotes_llama_this_class=jQuery(element).attr('class');quotes_llama_list_class.data[i]=quotes_llama_this_class});quotes_llama_quote('auto',!0,quotes_llama_list_class.data,0,quotes_llama_auto_category,quotes_llama_auto_nonce)})}
11jQuery(document).on('click','.quotes-llama-auto-reenable',function(){if(jQuery(this).children('span').attr('id')=='quotes-llama-restart'){let uid;let rcategory;uid=jQuery(this).parent().attr('class');rcategory=jQuery(this).parent().attr('gcategory');rnonce=jQuery(this).parent().attr('gnonce');quotes_llama_quote('auto',!0,uid,0,rcategory,rnonce);jQuery('.'+uid+'-reenable').html('');jQuery('.'+uid+'-quotebox').attr('id','loop');jQuery('.'+uid+'-quotebox').attr('gcategory',rcategory)}});if(jQuery('.quotes-llama-gallery')[0]){let quotes_llama_gallery;quotes_llama_gallery=jQuery('.quotes-llama-gallery');jQuery.each(quotes_llama_gallery,function(i,list){let quotes_llama_elements;let quotes_llama_list_class;let quotes_llama_gallery_category;let quotes_llama_gallery_nonce;quotes_llama_elements=jQuery(list).children('div');quotes_llama_list_class={data:[]};quotes_llama_gallery_category=quotes_llama_elements.attr('gcategory');quotes_llama_gallery_nonce=quotes_llama_elements.attr('gnonce');jQuery.each(quotes_llama_elements,function(i,element){let quotes_llama_this_class;quotes_llama_this_class=jQuery(element).attr('class');quotes_llama_list_class.data[i]=quotes_llama_this_class});quotes_llama_quote('gallery',!0,quotes_llama_list_class.data,0,quotes_llama_gallery_category,quotes_llama_gallery_nonce)})}
12jQuery(document).on('click','.quotes-llama-gallery-reenable',function(){if(jQuery(this).children('span').attr('id')=='quotes-llama-restart'){let uid;let lcategory;uid=jQuery(this).parent().parent().attr('class');lcategory=jQuery(this).parent().parent().attr('gcategory');lnonce=jQuery(this).parent().parent().attr('gnonce');quotes_llama_quote('gallery',!0,uid,0,lcategory,lnonce);jQuery('.'+uid+'-reenable').html('');jQuery('.'+uid+'-quotebox').attr('id','loop');jQuery('.'+uid+'-quotebox').attr('gcategory',lcategory)}});function quotes_llama_manualnext(uid,tuid,suid,mode,cat,nonce){let qid;qid=jQuery('.'+uid+'-quotebox').attr('id');if(qid=='loop'){quotes_llama_stoptimer(tuid);quotes_llama_stoptimer(suid);jQuery('.'+uid+'-countdown').html('<span class="'+uid+'-reenable dashicons dashicons-controls-forward" id="quotes-llama-restart" title="Restart"></span>');jQuery('.'+uid+'-quotebox').attr('id','manual')}else{quotes_llama_quote(mode,!1,uid,0,cat,nonce)}}
13function quotes_llama_move(quotebox,container){let new_top;let new_left;let parent_width;let parent_height;let quote_height;let quote_from_top;let container_width;parent_height=jQuery('.'+container+'-quotes-llama-gallery').height()*.2;parent_width=jQuery('.'+container+'-quotes-llama-gallery').width()*.4;new_left=Math.floor(quotes_llama_random_number(0,parent_width));new_top=Math.floor(quotes_llama_random_number(0,parent_height));container_width=jQuery('.'+container).outerWidth();if(26>
13new_top){new_top=26}
14jQuery('.'+quotebox).width(container_width-new_left-15);jQuery('.'+quotebox).animate({opacity:'0.1',top:new_top,left:new_left},quotes_llama_transitionspeed,function(){quote_height=jQuery('.'+quotebox).outerHeight();quote_from_top=parseInt(jQuery('.'+quotebox).css('top'),20);jQuery('.'+container+'-quotes-llama-gallery').height(quote_height+quote_from_top);jQuery('.'+container+'-quotes-llama-gallery-rotate').height(quote_height+quote_from_top)})}
15if(jQuery('.quotes-llama-widget-gallery')[0]){let quotes_llama_this_widget;quotes_llama_this_widget=jQuery('.quotes-llama-widget-gallery');jQuery.each(quotes_llama_this_widget,function(i,list){let quotes_llama_widget_uid;quotes_llama_widget_uid=jQuery(list).attr('id');quotes_llama_widget_cat=jQuery(list).attr('category');quotes_llama_widget_nonce=jQuery(list).attr('nonce');quotes_llama_widget_quote(quotes_llama_widget_uid,0,quotes_llama_widget_cat,quotes_llama_widget_nonce)})}
16jQuery(document).on('click','.quotes-llama-widget-next',function(){let author;let source;let category;let img;let div_instance;let nonce;author=jQuery(this).attr('author');source=jQuery(this).attr('source');category=jQuery(this).attr('category');img=jQuery(this).attr('img');div_instance=jQuery(this).attr('divid');nonce=jQuery(this).attr('nonce');jQuery.post(quotes_llama_ajaxurl,{action:'widget_instance',author:author,source:source,category:category,img:img,div_instance:div_instance,nonce:nonce,},function(response){jQuery('.quotes-llama-'+div_instance+'-next').fadeOut(500);jQuery('#'+div_instance).fadeOut(quotes_llama_transitionspeed,function(){jQuery('#'+div_instance).html(response.substr(response.length-1,1)==='0'?response.substr(0,response.length-1):response);if(quotes_llama_quotelimit>0){quotes_llama_limit_format('.quotes-llama-'+div_instance+'-next-more',div_instance+'-next');quotes_llama_limit_more('.quotes-llama-'+div_instance+'-next-morelink');jQuery('.quotes-llama-'+div_instance+'-next-morelink').prev().css('display','none')}
17if(quotes_llama_borderradius){jQuery('.quotes-llama-widget-random img').css('border-radius','50%')}
18if(quotes_llama_imageattop){jQuery('.quotes-llama-widget-random img').css(quotes_llama_css_image_at_top())}
19jQuery('.quotes-llama-widget-random').css(quotes_llama_css_align_quote());jQuery('.quotes-llama-icons img').css(quotes_llama_css_icons_reformat());jQuery('#'+div_instance).fadeIn(quotes_llama_transitionspeed);jQuery('.quotes-llama-'+div_instance+'-next').fadeIn(1000)})})});function quotes_llama_widget_quote(uid,tuid,cat,nonce){let show_author;let show_source;let show_image;show_author=jQuery('#'+uid).attr('wauthor');show_source=jQuery('#'+uid).attr('wsource');show_image=jQuery('#'+uid).attr('wimage');let quote_data=[];let quote_use=[];let cat_use=[];let cat_cats;let cat_kits;let quote_keys;let quote_rand;if(cat){jQuery.each(quotes_llama_quotes,function(i,q){cat_cats=q.category.split(',');cat_kits=cat.split(',');jQuery.each(cat_kits,function(k,c){if(jQuery.inArray(c,cat_cats)>-1){quote_use.push(q);return}})})}else{quote_use=quotes_llama_quotes.slice()}
20quote_keys=Object.keys(quote_use);quote_rand=quote_keys.length*Math.random();quote_data=quote_use[quote_keys[quote_rand<<0]];jQuery('#'+uid).stop(!0,!0).fadeOut(quotes_llama_transitionspeed,function(){let rand_quote;let author_icon;let source_icon;let rand_title;let rand_first;let rand_last;let rand_source;let rand_img;let rand_author_icon;let rand_source_icon;let rand_category;let rand_comma;let delayTime;let rand_length;rand_quote=quotes_llama_stripslashes(quotes_llama_nl2br(quote_data.quote,!1));author_icon='';source_icon='';rand_title=quotes_llama_stripslashes(quote_data.title_name)+' ';rand_first=quotes_llama_stripslashes(quote_data.first_name)+' ';rand_last=quotes_llama_stripslashes(quote_data.last_name);rand_source=quotes_llama_stripslashes(quote_data.source);rand_img=quotes_llama_stripslashes(quote_data.img_url);rand_author_icon=quotes_llama_stripslashes(quote_data.author_icon);rand_source_icon=quotes_llama_stripslashes(quote_data.source_icon);rand_category=quotes_llama_stripslashes(quote_data.category);rand_comma='';if(null===rand_title){rand_title=''}
21author_icon=show_icons(rand_author_icon);if(rand_title&&(!1==show_author)){rand_title=''}
22if(rand_first&&(!1==show_author)){rand_first=''}
23if(rand_last&&(!1==show_author)){rand_last=''}
24if((rand_first||rand_last&&(!1!=show_author))&&(rand_source&&(!1!=show_source))){if(quotes_llama_sourcenewline=='br'){rand_comma='<br>'}else{rand_comma=', '}}
25if(rand_source&&(!1!=show_source)){source_icon=show_icons(rand_source_icon);rand_source='<span class="quotes-llama-widget-source">'+rand_source+'</span>'}else{rand_source=''}
26if(rand_img&&(!1!=show_image)){rand_img='<img src="'+rand_img+'" title="'+rand_title+rand_first+rand_last+'">'}else{rand_img=''}
27rand_length=rand_quote.length+rand_first.length+rand_last.length+rand_s
27ource.length;delayTime=parseInt(rand_length/quotes_llama_galleryinterval);if(delayTime<quotes_llama_galleryminimum){delayTime=quotes_llama_galleryminimum}
28jQuery('.quotes-llama-'+uid+'-countdown').quotes_llama_countdown(delayTime,'widget',uid);quotes_llama_stoptimer(tuid);tuid=setInterval(function(){quotes_llama_stoptimer(tuid);quotes_llama_widget_quote(uid,tuid,cat,nonce)},delayTime*1000);jQuery('#'+uid).html('<div class="quotes-llama-widget-quote">'+'<span class="quotes-llama-'+uid+'-countdown quotes-llama-widget-countdown"></span> '+rand_img+'<span class="quotes-llama-'+uid+'-more">'+rand_quote+'</span>'+'<span class="quotes-llama-widget-author">'+author_icon.trim()+rand_title+rand_first+rand_last+rand_comma+'<span class="quotes-llama-widget-source">'+source_icon+rand_source+'</span>'+'</span></div>');if(quotes_llama_quotelimit>0){quotes_llama_limit_format('.quotes-llama-'+uid+'-more',uid);quotes_llama_limit_more('.quotes-llama-'+uid+'-morelink');jQuery('.quotes-llama-'+uid+'-morelink').prev().css('display','none')}
29if(quotes_llama_borderradius){jQuery('.quotes-llama-widget-gallery img, .quotes-llama-widget-random img').css('border-radius','50%')}
30if(quotes_llama_imageattop){jQuery('.quotes-llama-widget-gallery img, .quotes-llama-widget-random img').css(quotes_llama_css_image_at_top())}
31jQuery('.quotes-llama-widget-gallery, .quotes-llama-widget-random').css(quotes_llama_css_align_quote());jQuery('.quotes-llama-icons img').css(quotes_llama_css_icons_reformat());jQuery('#'+uid).fadeIn(quotes_llama_transitionspeed)})}
32jQuery(document).on('click','.quotes-llama-page-link',function(){let title;let first;let last;let nonce;let localid;title=jQuery(this).attr('title-name');first=jQuery(this).attr('first');last=jQuery(this).attr('last');nonce=jQuery(this).attr('nonce');localid=jQuery(this).attr('localid');jQuery('.quotes-llama-page-status').html('<center>Loading '+title+' '+first+' '+last+'</center>');jQuery.post(quotes_llama_ajaxurl,{action:'select_author',author:1,title:title,first:first,last:last,nonce:nonce},function(quotes){jQuery('.quotes-llama-page-quote').fadeOut(quotes_llama_transitionspeed,function(){jQuery('.quotes-llama-page-quote').html(quotes);if(quotes_llama_quotelimit>0){quotes_llama_limit_format('.quotes-llama-page-quote-more','page');quotes_llama_limit_more('.quotes-llama-page-morelink')}
33if(quotes_llama_borderradius){jQuery('.quotes-llama-page-quote img').css('border-radius','50%')}
34if(quotes_llama_imageattop){jQuery('.quotes-llama-page-quote img').css(quotes_llama_css_image_at_top())}
35jQuery('.quotes-llama-page-quote').css(quotes_llama_css_align_quote());jQuery('.quotes-llama-icons img').css(quotes_llama_css_icons_reformat());jQuery('.quotes-llama-page-quote').fadeIn(quotes_llama_transitionspeed);jQuery('.quotes-llama-page-status').html('')})});quotes_llama_cid=localid;jQuery('html,body').animate({scrollTop:jQuery('.quotes-llama-page-container').offset().top-40},1000)});jQuery(document).on('click','.quotes-llama-page-next',function(){++quotes_llama_cid;if(quotes_llama_cid>=quotes_llama_lastid){quotes_llama_cid=quotes_llama_lastid};jQuery('.quotes-llama-page-link').eq(quotes_llama_cid).click();jQuery('.quotes-llama-current').html(quotes_llama_cid)});jQuery('div.quotes-llama-page-quotes-form').submit(function(){let quotesearch;let quotecolumn;let nonce;quotesearch=jQuery('.quotes-llama-page-quotesearch').val();quotecolumn=jQuery('.sc').val();nonce=jQuery('.quotes-llama-page-token').val();if(quotesearch){jQuery('.quotes-llama-page-status').html('<div>Searching... '+quotesearch+'</div>');jQuery.post(quotes_llama_ajaxurl,{action:'select_search_page',search_for_quote:1,term:quotesearch,sc:quotecolumn,ql_token:nonce},function(quotes){jQuery('.quotes-llama-page-quote').fadeOut(quotes_llama_transitionspeed,function(){jQuery('.quotes-llama-page-quote').html(quotes);if(quotes_llama_quotelimit>0){quotes_llama_limit_format('.quotes-llama-page-quote-more','page');quotes_llama_limit_more('.quotes-llama-page-morelink')}
36if(quotes_llama_borderradius){jQuery('.quotes-llama-page-quote img').css('border-radius','50%')}
37if(quotes_llama_imageattop){jQuery('.quotes-llama-page-quotebox img').css(quotes_llama_css_image_at_top())}
38jQuery('.quotes-llama-page-author').css(quotes_llama_css_align_quote());jQuery('.quotes-llama-page-quotebox').css(quotes_llama_css_align_quote());jQuery('.quotes-llama-icons img').css(quotes_llama_css_icons_reformat());jQuery('.quotes-llama-page-quote').fadeIn(quotes_llama_transitionspeed);jQuery('.quotes-llama-page-status').html('')})});jQuery('html, body').animate({scrollTop:jQuery('.quotes-llama-page-sidebarleft').offset().top-30},1000)}});function quotes_llama_printdiv(s){jQuery('.quotes-llama-page-author-back').hide();jQuery('.quotes-llama-page-more > img.emoji').css({'width':'15px','height':'15px'});jQuery('.quotes-llama-page-more > img:not( [class] )').css({'width':'150px','height':'150px'});let printContents;printContents=document.getElementById('quotes-llama-printquote').innerHTML;jQuery('.quotes-llama-page-author-back').show();let mywindow;mywindow=window.open('','quotes-llama-window','height=400','width=600');
38mywindow.document.write('<html><head><title>quotes</title></head><body>');mywindow.document.write(printContents);mywindow.document.write('</body></html>');mywindow.document.close();mywindow.focus();mywindow.print();mywindow.close()}
39jQuery(document).on('click','.quotes-llama-print',function(){quotes_llama_printdiv()});jQuery(document).on('click','.quotes-llama-page-previous',function(){--quotes_llama_cid;if(quotes_llama_cid<0){quotes_llama_cid=0};jQuery('.quotes-llama-page-link').eq(quotes_llama_cid).click();jQuery('.quotes-llama-current').html(quotes_llama_cid)});jQuery('div.quotes-llama-search-quotes-form').submit(function(){var quotesearch;var quotecolumn;var quotetarget;var nonce;quotetarget=jQuery('.quotes-llama-search-quotesearch').attr('target');quotesearch=jQuery('.quotes-llama-search-quotesearch').val();quotecolumn=jQuery('.sc').val();nonce=jQuery('.quotes-llama-search-token').val();if(quotesearch){if(jQuery('.'+quotetarget).length>0){jQuery('.quotes-llama-search-status').html('<div>Searching... '+quotesearch+'</div>');jQuery.post(quotes_llama_ajaxurl,{action:'select_search',search_form:1,target:quotetarget,term:quotesearch,sc:quotecolumn,ql_token:nonce},function(quote){jQuery('.'+quotetarget).fadeOut(quotes_llama_transitionspeed,function(){jQuery('.'+quotetarget).html(quote);jQuery('.'+quotetarget+' img').css({'border-radius':'5px','max-width':'150px','max-height':'150px','box-shadow':'5px 10px 12px 0px rgba(0,0,0,0.75)','float':'left','object-fit':'cover','margin-right':'15px','margin-bottom':'15px'});if(quotes_llama_quotelimit>0){quotes_llama_limit_format('.'+quotetarget+'-quote-more',quotetarget,!0);quotes_llama_limit_more('.'+quotetarget+'-morelink')}
40jQuery('.'+quotetarget+'-morelink').prev().css('display','none');
40if(quotes_llama_borderradius){jQuery('.'+quotetarget+' img').css('border-radius','50%')}
41if(quotes_llama_imageattop){jQuery('.'+quotetarget+'-quotebox img').css(quotes_llama_css_image_at_top())}
42jQuery('.'+quotetarget+'-author').css(quotes_llama_css_align_quote());jQuery('.'+quotetarget+'-quotebox').css(quotes_llama_css_align_quote());jQuery('.quotes-llama-icons img').css(quotes_llama_css_icons_reformat());jQuery('.'+quotetarget+'-source').css({'display':'block','text-align':'right','font-size':'small','font-style':'italic'});jQuery('.'+quotetarget+' hr').css({'clear':'left'});jQuery('.'+quotetarget+'-quotebox').css({'padding':'5px'});jQuery('.'+quotetarget).fadeIn(quotes_llama_transitionspeed);jQuery('.quotes-llama-search-status').html('')})})}else{jQuery('.quotes-llama-search-status').html('<div style="font-size:small; color:red;"><li>Output class ('+quotetarget+') not found.</li></div>')}}});jQuery.fn.quotes_llama_countdown=function(duration,mode,uid){if(quotes_llama_show_timer){let gallery_timer;let widget_timer;let auto_timer;gallery_timer={};widget_timer={};auto_timer={};if(mode=='gallery'){quotes_llama_stoptimer(gallery_timer[uid]);gallery_timer[uid]=setInterval(function(){if(--duration>0){jQuery('.'+uid+'-countdown').html('<small>'+duration+'s</small>')}},1000);jQuery('.'+uid+'-countdown').html('');return gallery_timer[uid]}
43if(mode=='auto'){quotes_llama_stoptimer(auto_timer[quotes_llama_old_auto_uid]);quotes_llama_old_auto_uid=uid;auto_timer[uid]=setInterval(function(){if(--duration>0){jQuery('.'+uid+'-countdown').html('<small>'+duration+'s</small>')}},1000);jQuery('.'+uid+'-countdown').html('');return auto_timer[uid]}
44if(mode=='widget'){quotes_llama_stoptimer(widget_timer[quotes_llama_old_widget_uid]);quotes_llama_old_widget_uid=uid;widget_timer[uid]=setInterval(function(){if(--duration>0){jQuery('.quotes-llama-'+uid+'-countdown').html('<small>'+duration+'s</small>')}},1000)}}};function quotes_llama_stoptimer(i){clearInterval(i);i=!1}
45function quotes_llama_limit_format(s,m,search=0){jQuery(s).each(function(){if(+quotes_llama_quotelimit>0){let content;content=jQuery(this).html().trim();if(content.length>quotes_llama_quotelimit){let al;let eow;let stl;let ls;let rs;let html;let iend;iend=0;if(content.charAt(0)=='<'){iend=content.indexOf('>')}
46al=content.substr(+quotes_llama_quotelimit+iend);eow=al.indexOf(' ');if(eow<0){return}
47stl=+quotes_llama_quotelimit+iend+eow;ls=content.substr(0,stl);rs=content.substr(+quotes_llama_quotelimit+iend+eow);if(search){html=ls+'<span class="quotes-llama-widget-moreellipses"> '+quotes_llama_ellipses+'</span><span class="'+m+'-morecontent"><span>'+rs+'</span>&nbsp;<a href="" class="'+m+'-morelink">'+quotes_llama_moretext+'</a></span>'}else{html=ls+'<span class="quotes-llama-widget-moreellipses"> '+quotes_llama_ellipses+'</span><span class="quotes-llama-'+m+'-morecontent"><span>'+rs+'</span>&nbsp;<a href="" class="quotes-llama-'+m+'-morelink">'+quotes_llama_moretext+'</a></span>'}
48jQuery(this).html(html)}}})}
49function quotes_llama_limit_more(s){jQuery(s).click(function(){if(jQuery(this).hasClass('quotes-llama-less')){jQuery(this).removeClass('quotes-llama-less');jQuery(this).html(quotes_llama_moretext)}else{jQuery(this).addClass('quotes-llama-less');jQuery(this).html(quotes_llama_lesstext)}
50jQuery(this).parent().prev().toggle();jQuery(this).prev().toggle();return!1})}
51function quotes_llama_quote(mode,loop,uid,tuid,cat,nonce){let quote_data=[];let quote_use=[];let cat_use=[];let cat_cats;let cat_kits;let quote_keys;let quote_rand;if(cat){jQuery.each(quotes_llama_quotes,function(i,q){cat_cats=q.category.split(',');cat_kits=cat.split(',');jQuery.each(cat_kits,function(k,c){if(jQuery.inArray(c,cat_cats)>-1){quote_use.push(q);return}})})}else{quote_use=quotes_llama_quotes.slice()}
52quote_keys=Object.keys(quote_use);quote_rand=quote_keys.length*Math.random();quote_data=quote_use[quote_keys[quote_rand<<0]];if(quote_data.quote){let show_author;let show_source;let show_image;let gcategory;show_author=jQuery('.'+uid).attr('gauthor');show_source=jQuery('.'+uid).attr('gsource');show_image=jQuery('.'+uid).attr('gimage');gcategory=jQuery('.'+uid).attr('gcategory');jQuery('.'+uid+'-quotebox').stop(!0,!0).fadeTo(quotes_llama_transitionspeed,0,function(){let rand_quote;let author_icon;let source_icon;let rand_title;let rand_first;let rand_last;let rand_source;let rand_img;let rand_author_icon;let rand_source_icon;let rand_comma;let suid;rand_quote=quotes_llama_stripslashes(quotes_llama_nl2br(quote_data.quote,!1));author_icon='';source_icon='';rand_title=quotes_llama_stripslashes(quote_data.title_name)+' ';rand_first=quotes_llama_stripslashes(quote_data.first_name)+' ';rand_last=quotes_llama_stripslashes(quote_data.last_name);rand_source=quotes_llama_stripslashes(quote_data.source);rand_img=quotes_llama_stripslashes(quote_data.img_url);rand_author_icon=quotes_llama_stripslashes(quote_data.author_icon);rand_source_icon=quotes_llama_stripslashes(quote_data.source_icon);rand_comma='';suid=0;if(null===rand_title){rand_title=''}
53if((rand_first||rand_last)&&show_author){author_icon=show_icons(rand_author_icon)}
54if(rand_title&&(!1==show_author)){rand_title=''}
55if(rand_first&&(!1==show_author)){rand_first=''}
56if(rand_last&&(!1==show_author)){rand_last=''}
57if((rand_first||rand_last&&(!1!=show_author))&&(rand_source&&(!1!=show_source))){if(quotes_llama_sourcenewline=='br'){rand_comma='<br>'}else{rand_comma=', '}}
58if(rand_source&&(!1!=show_source)){if('<br>
58'===rand_comma){source_icon=show_icons(rand_source_icon)}
59rand_source='<span class="quotes-llama-'+mode+'-source">'+rand_source+'</span>'}else{rand_source=''}
60if(' '===rand_first&&!rand_last){rand_title='';author_icon='';rand_comma='';source_icon=show_icons(rand_source_icon);rand_source='<span class="quotes-llama-'+mode+'-source">'+rand_source+'</span>'}
61let fin_name=rand_title+rand_first+rand_last;let rand_name=fin_name.trim();if(rand_img&&(!1!=show_image)){rand_img='<img src="'+rand_img+'" title="'+rand_name+'">'}else{rand_img=''}
62if(loop){let rand_length;let delayTime;rand_length=rand_quote.length+rand_title.length+rand_name.length+rand_source.length;delayTime=parseInt(rand_length/quotes_llama_galleryinterval);if(delayTime<quotes_llama_galleryminimum){delayTime=quotes_llama_galleryminimum}
63if(mode=='gallery'){suid=jQuery('.'+uid+'-countdown').quotes_llama_countdown(delayTime,'gallery',uid)}
64if(mode=='auto'){suid=jQuery('.'+uid+'-countdown').quotes_llama_countdown(delayTime,'auto',uid)}
65quotes_llama_stoptimer(tuid);tuid=setInterval(function(){quotes_llama_stoptimer(tuid);quotes_llama_quote(mode,!0,uid,tuid,gcategory,nonce)},delayTime*1000)}
66jQuery('.'+uid+'-quotebox').html("<div class='quotes-llama-"+mode+"-quote quotes-llama-click' data-uid='"+uid+"' data-tuid='"+tuid+"' data-suid='"+suid+"' data-mode='"+mode+"' data-gcategory='"+gcategory+"' data-nonce='"+nonce+"'>"+rand_img+"<div class='quotes-llama-"+mode+"-quote quotes-llama-"+uid+"-more'>"+rand_quote+" <span class='quotes-llama-"+mode+"-author'>"+author_icon.trim()+rand_name+rand_comma+"<span class='quotes-llama-"+mode+"-source'>
66"+source_icon+rand_source+"</span>"+"</span>"+"</div>"+"</div>");if(quotes_llama_quotelimit>0){quotes_llama_limit_format('.quotes-llama-'+uid+'-more',uid);quotes_llama_limit_more('.quotes-llama-'+uid+'-morelink');jQuery('.quotes-llama-'+uid+'-morelink').prev().css('display','none')}
67if(quotes_llama_borderradius){jQuery('.quotes-llama-gallery img, .quotes-llama-auto img').css('border-radius','50%')}
68if(quotes_llama_imageattop){jQuery('.quotes-llama-gallery img, .quotes-llama-auto img').css(quotes_llama_css_image_at_top())}
69jQuery('.quotes-llama-gallery, .quotes-llama-auto-quote').css(quotes_llama_css_align_quote());jQuery('.quotes-llama-icons img').css(quotes_llama_css_icons_reformat());if(mode=='gallery'){quotes_llama_move(uid+'-quotebox',uid)}
70jQuery('.'+uid+'-quotebox').fadeTo(quotes_llama_transitionspeed,1)})}}
71document.addEventListener("click",function(e){const elem=e.target.closest(".quotes-llama-click");if(!elem){return}
72quotes_llama_manualnext(elem.dataset.uid,parseInt(elem.dataset.tuid),parseInt(elem.dataset.suid),elem.dataset.mode,elem.dataset.gcategory,elem.dataset.nonce)});function show_icons(icon){if(quotes_llama_showicons){let png=icon.includes('.png');let jpg=icon.includes('.jpg');let jpeg=icon.includes('.jpeg');let gif=icon.includes('.gif');let svg=icon.includes('.svg');if(png||jpg||jpeg||gif||svg){icon='<span class="quotes-llama-icons"><img src="'+quotes_llama_this_url+icon+'"></span>'}else{icon='<span class="dashicons dashicons-'+icon+'"></span>'}
73return icon}
74return''}
75function quotes_llama_css_image_at_top(){return{'float':'none','display':'block','margin-right':'auto','margin-left':'auto','width':'50%','max-height':'150px'}}
76function quotes_llama_css_align_quote(){let align;align=quotes_llama_alignquote;return{'text-align':align}}
77function quotes_llama_css_icons_reformat(){return{'all':'unset','display':'inline-block','width':'16px','height':'16px','vertical-align':'middle','margin-right':'8px','margin-bottom':'1px','text-align':'right','float':'none'}}
78function quotes_llama_stripslashes(str){return(str+'').replace(/\\(.?)/g,function(s,n1){switch(n1){case '\\':return'\\';case '0':return'\u0000';case '':return'';default:return n1}})}
79function quotes_llama_var_dump(object,doreturn){let returning;let elem;returning='';for(var element in object){elem=object[element];if(typeof elem=='object'){elem=var_dump(object[element],!0)}
80returning+=element+': '+elem+'\n'}
81if(returning==''){returning='Empty object'}
82if(doreturn===!0){return returning}
83alert(returning)}
84function quotes_llama_random_number(min,max){return Math.random()*(max-min)}
85function quotes_llama_nl2br(str,is_xhtml){let breakTag;if(typeof str==='undefined'||str===null){return''}
86breakTag=(is_xhtml||typeof is_xhtml==='undefined')?'<br />':'<br>';return(str+'').replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,'$1'+breakTag+'$2')}
87if(quotes_llama_quotelimit>0){quotes_llama_limit_format('.quotes-llama-widget-more','widget');quotes_llama_limit_more('.quotes-llama-widget-morelink');quotes_llama_limit_format('.quotes-llama-widget-next-more','widget-next');quotes_llama_limit_more('.quotes-llama-widget-next-morelink');quotes_llama_limit_format('.quotes-llama-widget-static-more','widget-static');quotes_llama_limit_more('.quotes-llama-widget-static-morelink')}
88jQuery('.quotes-llama-page-sidebarleft').css('float',quotes_llama_sidebarpos);jQuery('.quotes-llama-page-title, .quotes-llama-page-letter').css('background',quotes_llama_backgroundcolor);jQuery('.quotes-llama-page-title, .quotes-llama-page-letter a').css('color',quotes_llama_foregroundcolor);
88if(quotes_llama_borderradius){jQuery('.quotes-llama-url-list img, .quotes-llama-widget-random img, .quotes-llama-count-quote img, .quotes-llama-id img, .quotes-llama-all-quote img').css('border-radius','50%')}
89if(quotes_llama_imageattop){jQuery('.quotes-llama-url-list img, .quotes-llama-widget-random img, .quotes-llama-count-quote img, .quotes-llama-id img, .quotes-llama-all-quote img').css(quotes_llama_css_image_at_top())}
90jQuery('.quotes-llama-widget-random, .quotes-llama-url-author, .quotes-llama-url-quote').css(quotes_llama_css_align_quote());jQuery('.quotes-llama-icons img').css(quotes_llama_css_icons_reformat());jQuery(window).on('load',function(){if(jQuery('.qlmsg')[0]){setTimeout(function(){jQuery('.qlmsg').fadeOut(1000)},5000)}});

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.