https://the-soccer-legends.com/wp-content/litespeed/js/2edad0e6245c4b763fabda2f56fb3677.js?ver=e2cb4
1window._nslDOMReady=(function(){const executedCallbacks=new Set();return function(callback){if(executedCallbacks.has(callback))return;const wrappedCallback=function(){if(executedCallbacks.has(callback))return;executedCallbacks.add(callback);callback()};if(document.readyState==="complete"||document.readyState==="interactive"){wrappedCallback()}else{document.addEventListener("DOMContentLoaded",wrappedCallback)}}})() 2;var responsiveBlockControlOptions={"breakPoints":{"base":0,"mobile":320,"tablet":740,"desktop":980,"wide":1480},"addCssToHead":"1","customCss":"@media (min-width: 320px) and (max-width: 739px) {\n\t\t\t\t .rbc-is-hidden-on-mobile {\n\t\t\t\t\tclip: rect(1px, 1px, 1px, 1px) !important; clip-path: inset(50%) !important; height: 1px !important; width: 1px !important; margin: -1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important;\n\t\t\t\t }\n\t\t\t\t}@media (min-width: 740px) and (max-width: 979px) {\n\t\t\t\t .rbc-is-hidden-on-tablet {\n\t\t\t\t\tclip: rect(1px, 1px, 1px, 1px) !important; clip-path: inset(50%) !important; height: 1px !important; width: 1px !important; margin: -1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important;\n\t\t\t\t }\n\t\t\t\t}@media (min-width: 980px) and (max-width: 1479px) {\n\t\t\t\t .rbc-is-hidden-on-desktop {\n\t\t\t\t\tclip: rect(1px, 1px, 1px, 1px) !important; clip-path: inset(50%) !important; height: 1px !important; width: 1px !important; margin: -1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important;\n\t\t\t\t }\n\t\t\t\t}@media (min-width: 1480px) {\n\t\t\t\t .rbc-is-hidden-on-wide {\n\t\t\t\t\tclip: rect(1px, 1px, 1px, 1px) !important; clip-path: inset(50%) !important; height: 1px !important; width: 1px !important; margin: -1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important;\n\t\t\t\t }\n\t\t\t\t}"} 3;!function(){"use strict";let e=window.responsiveBlockControlOptions;if(!e||!e.addCssToHead||!e.customCss||document.querySelector("style.rbc-styles"))return;let t=document.createElement("style");t.className="rbc-styles",t.textContent=e.customCss.trim(),document.head.appendChild(t)}() 4;/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 5"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.no
5deName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={}
5,r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s}) 6;window._nslDOMReady(function(){var container=document.getElementById('nsl-custom-login-form-1'),form=container.closest('form');var innerContainer=container.querySelector('.nsl-container');if(innerContainer){innerContainer.classList.add('nsl-container-embedded-login-layout-below');innerContainer.style.display='block'} 7form.appendChild(container)}) 8;(function(){const css=` 9 /* ===== WIDGET API-SPORTS â CARDS STYLE ===== */ 10 api-sports-widget { 11 max-height : 350px; 12 } 13:where(api-sports-widget.initialized:not([data-type=config])) .widget-header, .modal-widget .widget-header { 14box-shadow : unset !important; 15} 16body.home api-sports-widget[data-type=games]>.widget-header>.widget-toolbar { 17 background-color: transparent !important; 18} 19:where(api-sports-widget.initialized:not([data-type=config])) .widget-header .widget-toolbar .widget-toolbar-btns, .modal
19-widget .widget-header .widget-toolbar .widget-toolbar-btns { 20 margin: 1em 0; 21 gap: 1em; 22} 23:where(api-sports-widget.initialized:not([data-type=config])) .widget-header .widget-toolbar .widget-toolbar-btns .btn-widget, .modal-widget .widget-header .widget-toolbar .widget-toolbar-btns .btn-widget { 24 flex-basis: 200px; 25 height: 100%; 26 flex-grow: unset !important; 27 border-radius: 20px; 28} 29date-picker button.prev-day, date-picker button.next-day{ 30 background: transparent; 31 border-radius: 10px; 32 padding: 0; 33 color: var(--primary-color); 34 border: 1px solid #ededed; 35 width: 30px; 36 height: 25px; 37 display: flex; 38 align-items: center; 39 justify-content: center; 40} 41date-picker .calendar-button { 42 padding: 0 0.5em; 43} 44 45body.home api-sports-widget[data-type=games] games-component { 46 display: flex !important; 47 max-height: 350px !important; 48} 49body.home api-sports-widget[data-type=games] .widget-container { 50 height: unset !important; 51} 52game-list:not(.hidden) { 53 padding: 0 1em; 54 margin-bottom: 1em; 55} 56game-list .game-list-header { 57 display: flex; 58 justify-content: space-between; 59 padding: 5px; 60 cursor: pointer; 61 font-size: var(--title-font-size); 62 position: relative; 63 box-sizing: border-box; 64 min-height: var(--league-height); 65 background-color: transparent; 66} 67body.home api-sports-widget[data-type=games] games-component game-list .games-container { 68 display: flex !important; 69 flex-direction: row !important; 70 flex-grow: 1; 71 gap: 1em; 72 padding: 1em 0.2em; 73} 74body.home api-sports-widget[data-type=games] games-component game-list .games-container game-item { 75 display: flex !important; 76 flex-direction: column; 77 position: relative; 78 align-items: center !important; 79 padding: 1em 1em !important; 80 border-radius: 20px; 81 gap: 1em; 82 min-width: 200px; 83 min-height: 150px; 84 box-shadow: 0px 8px 13px rgba(0, 0, 0, 0.1) !important; 85 border: unset !important; 86} 87body.home api-sports-widget[data-type=games] games-component game-list .games-container { 88 display: flex !important; 89 flex-direction: row !important; 90 flex-grow: 1; 91 gap: 1em; 92 padding: 1em 0.2em; 93 94} 95game-item .game-infos { 96 width: 100%; 97 font-family: unset !important; 98 text-align: start; 99 max-width: unset !important; 100} 101api-sports-widget[data-games-style="2"] game-item .team-info{ 102 position: relative; 103 display: flex; 104 flex-direction: row; 105 align-items: center; 106 flex: 1; 107 gap: 0.5em; 108 justify-content: start; 109 width: 100%; 110} 111.team-home .score-home, .team-away .score-away { 112 margin-left: auto !important; 113} 114.team-info > .team-name.leading + [class^="score"] { 115 font-weight: 700; 116} 117game-item .game-infos:not(.status-live) { 118 justify-content: start; 119 margin-bottom: 6px; 120} 121.btn-widget-toggle.open { 122 display: none !important; 123} 124:where(api-sports-widget.initialized:not([data-type=config]))[data-league]:not([data-league=""]) .widget-toolbar-btns, .modal-widget[data-league]:not([data-league=""]) .widget-toolbar-btns { 125 display: none; 126} 127.game-score { 128 display: none !important; 129} 130body.home api-sports-widget[data-type=games] .widget-container { 131 max-height: unset !important; 132} 133api-sports-widget[data-games-style="2"] game-item .team-info.team-away { 134 flex-direction: row !important; 135} 136:where(api-sports-widget.initialized:not([data-type=config])) .widget-header .widget-toolbar .search-filter-button, .modal-widget .widget-header .widget-toolbar .search-filter-button { 137 display: none; 138} 139.game-item-details { 140 padding-top: 0.5em; 141 border-top: 1px solid #eee; 142 width: 100%; 143 display: flex; 144 justify-content: flex-end; 145} 146.game-item-details > p { 147 border-radius: 10px; 148 border: 1px solid black; 149 padding: 6px 16px; 150 color: var(--wp--preset--color--primary); 151 margin-top: 0.5em; 152 margin-bottom: 0; 153 position: relative; 154} 155game-list .games-container { 156 border: unset; 157} 158`;if(!document.body.classList.contains('home'))return;let cssInjected=!1;function moveScores(){document.querySelectorAll('game-item').forEach(game=>{if(game.dataset.scoresInjected)return;const gameScoreHome=game.querySelector('.score-home');const gameScoreAway=game.querySelector('.score-away');const teamHome=game.querySelector('.team-home');const teamAway=game.querySelector('.team-away');let details=document.createElement('div');let button=document.createElement('p');button.textContent='Details â';details.className="game-item-details";details.append(button);
158game.append(details);if(gameScoreHome&&teamHome)teamHome.append(gameScoreHome);if(gameScoreAway&&teamAway)teamAway.append(gameScoreAway);game.dataset.scoresInjected='1'})} 159function injectCSS(){if(!document.querySelector('game-item'))return;if(!cssInjected){const style=document.createElement('style');style.textContent=css;document.head.appendChild(style);cssInjected=!0} 160moveScores()} 161const observer=new MutationObserver(injectCSS);observer.observe(document.body,{childList:!0,subtree:!0})})() 162;document.querySelectorAll('a[data-plugin="nsl"]').forEach(function(link){const realUrl=link.href;link.setAttribute('href','#');link.addEventListener('click',function(e){e.preventDefault();window.location.href=realUrl})}) 163;!function(){const t=["none","bounce","flash","pulse","rubberBand","shakeX","shakeY","headShake","swing","tada","wobble","jello","heartBeat","hinge","jackInTheBox","backInDown","backInLeft","backInRight","backInUp","backOutDown","backOutLeft","backOutRight","backOutUp","bounceIn","bounceInDown","bounceInLeft","bounceInRight","bounceInUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeIn","fadeInDown","fadeInDownBig","fadeInLeft","fadeInLeftBig","fadeInRight","fadeInRightBig","fadeInUp","fadeInTopLeft","fadeInTopRight","fadeInBottomLeft","fadeInBottomRight","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","fadeOutTopLeft","fadeOutTopRight","fadeOutBottomRight","fadeOutBottomLeft","flip","flipInX","flipInY","flipOutX","flipOutY","lightSpeedInRight","lightSpeedInLeft","lightSpeedOutRight","lightSpeedOutLeft","rotateIn","rotateInDownLeft","rotateInDownRight","rotateInUpLeft","rotateInUpRight","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideInDown","slideInLeft","slideInRight","slideInUp","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomIn","zoomInDown","zoomInLeft","zoomInRight","zoomInUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollIn","rollOut"],e=["backOutDown","backOutLeft","backOutRight","backOutUp","bounceOut","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","fadeOutTopLeft","fadeOutTopRight","fadeOutBottomRight","fadeOutBottomLeft","flipOutX","flipOutY","lightSpeedOutRight","lightSpeedOutLeft","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","slideOutDown","slideOutLeft","slideOutRight","slideOutUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","rollOut"],n=["none","delay-100ms","delay-200ms","delay-500ms","delay-1s","delay-2s","delay-3s","delay-4s","delay-5s"],o=["none","slow","slower","fast","faster"],a=[];let i=!1;const s=(i,s=d(i))=>{if(i.classList.contains("o-anim-ready"))return;const u=i.classList;if(i.animationClasses=[],!s){const e=t.find((t=>Array.from(u).find((e=>e===t)))),a=n.find((t=>Array.from(u).find((e=>e===t)))),s=o.find((t=>Array.from(u).find((e=>e===t))));e&&(i.animationClasses.push(e),i.classList.remove(e)),a&&(i.animationClasses.push(a),i.classList.remove(a)),s&&(i.animationClasses.push(s),i.classList.remove(s)),i.classList.add("hidden-animated")}if(u.add("o-anim-ready"),e.forEach((t=>{i.className.includes(t)&&i.addEventListener("animationend",(()=>{i.classList.remove(t)}),{once:!0})})),u.contains("o-anim-hover")){i.classList.remove("hidden-animated"),i.classList.remove("animated");const{animationName:t}=i.style;i.style.animationName="none",i.addEventListener("mouseenter",(()=>{i.classList.add("animated"),i.style.animationName=t}))}i.addEventListener("animationend",(()=>{i.classList.remove("animated")})),i.animationClasses&&0<i.animationClasses.length&&a.push({element:i,triggerOffset:f(i)})},d=t=>{const e=window.scrollY||window.pageYOffset,n=l(f(t)),o=t.getBoundingClientRect().top+e+n,a=e,i=e+window.innerHeight,s=o,d=o+t.clientHeight;return d>=a&&s<=i||s<=i&&d>=i||d>=a&&s<=a},u=t=>{let e=[],n=[];for(const o of t){const t=o.classList;if(t.contains("o-anim-custom-delay")){let n;for(const e of t)if(e.includes("o-anim-value-delay-")){n=e;break}n&&e.push(n)}if(t.contains("o-anim-custom-speed")){let e;for(const n of t)if(n.includes("o-anim-value-speed-")){e=n;break}e&&n.push(e)}}if(e=[...new Set(e)],n=[...new Set(n)],0<e.length||0<n.length){const t=document.createElement("style");t.id="o-anim-custom-values";const o=t=>t.replace(/([!"#$%&'()*+,.\/:;<=>?@[\\\]^`{|}~])/g,"\\$1");t.innerHTML=e.reduce(((t,e)=>{const n=e.replace("o-anim-value-delay-","");return t+`.animated.${o(e)} { animation-delay: ${n}; -webkit-animation-delay: ${n}; }`}),"")+"\n"+n.reduce(((t,e)=>{const n=e.replace("o-anim-value-speed-","");return t+`.animated.${o(e)} { animation-duration: ${n}; -webkit-animation-duration: ${n}; }`}),""),document.body.appendChild(t)}},f=t=>{let e=0;for(const n of t.classList.entries())if(n[1].includes("o-anim-offset-")){const t=n[1].replace("o-anim-offset-","");if(isNaN(t.charAt(0)))continue;e=t.endsWith("px")?parseFloat(t):t;break}return e},l=t=>("string"==typeof t?(t=parseFloat(t)??0,t=Math.min(Math.max(t,0),100),t=window.innerHeight*(t/100)):"number"!=typeof t&&(t=0),t);document.querySelectorAll(".wp-lightbox-container").forEach((t=>{t.addEventListener("click",(()=>{(()=>{const t=document.querySelectorAll(".animated:not(.o-anim-ready)");if(0!==t.length){u(t);for(const e of t)s(e)}})()}))})),window.addEventListener("load",(()=>{const t=document.querySelectorAll(".animated");u(t);const e=new Map;for(const n of t)e.set(n,d(n));for(const n of t)s(n,e.get(n));i||(window.addEventListener("scroll",(()=>{requestAnimationFrame((()=>{const t=[];for(const e of a){const{element:n,triggerOffset:o}=e,{top:a}=n.getBoundingClientRect();
163a+l(o)<=.95*window.innerHeight&&0<a&&(n.animationClasses.forEach((t=>n.classList.add(t))),n.classList.remove("hidden-animated"),delete n.animationClasses,t.push(e))}t.forEach((t=>{const e=a.indexOf(t);a.splice(e,1)}))}))})),i=!0)}))}() 164;/*! This file is auto-generated */ 165(function(){"use strict";var wp;(wp||={}).hooks=(()=>{var v=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var w=(e,n)=>{for(var s in n)v(e,s,{get:n[s],enumerable:!0})},D=(e,n,s,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of g(n))!I.call(e,t)&&t!==s&&v(e,t,{get:()=>n[t],enumerable:!(r=S(n,t))||r.enumerable});return e};var T=e=>D(v({},"__esModule",{value:!0}),e);var le={};w(le,{actions:()=>ae,addAction:()=>J,addFilter:()=>K,applyFilters:()=>N,applyFiltersAsync:()=>ee,createHooks:()=>F,currentAction:()=>te,currentFilter:()=>re,defaultHooks:()=>b,didAction:()=>ie,didFilter:()=>se,doAction:()=>X,doActionAsync:()=>Y,doingAction:()=>ne,doingFilter:()=>oe,filters:()=>ce,hasAction:()=>P,hasFilter:()=>Q,removeAction:()=>L,removeAllActions:()=>U,removeAllFilters:()=>W,removeFilter:()=>M});function z(e){return typeof e!="string"||e===""?(console.error("The namespace must be a non-empty string."),!1):/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)?!0:(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}var m=z;function E(e){return typeof e!="string"||e===""?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)?!0:(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}var f=E;function Z(e,n){return function(r,t,a,i=10){let c=e[n];if(!f(r)||!m(t))return;if(typeof a!="function"){console.error("The hook callback must be a function.");return}if(typeof i!="number"){console.error("If specified, the hook priority must be a number.");return}let l={callback:a,priority:i,namespace:t};if(c[r]){let o=c[r].handlers,d;for(d=o.length;d>0&&!(i>=o[d-1].priority);d--);d===o.length?o[d]=l:o.splice(d,0,l),c.__current.forEach(h=>{h.name===r&&h.currentIndex>=d&&h.currentIndex++})}else c[r]={handlers:[l],runs:0};r!=="hookAdded"&&e.doAction("hookAdded",r,t,a,i)}}var H=Z;function C(e,n,s=!1){return function(t,a){let i=e[n];if(!f(t)||!s&&!m(a))return;if(!i[t])return 0;let c=0;if(s)c=i[t].handlers.length,i[t]={runs:i[t].runs,handlers:[]};else{let l=i[t].handlers;for(let o=l.length-1;o>=0;o--)l[o].namespace===a&&(l.splice(o,1),c++,i.__current.forEach(d=>{d.name===t&&d.currentIndex>=o&&d.currentIndex--}))}return t!=="hookRemoved"&&e.doAction("hookRemoved",t,a),c}}var p=C;function O(e,n){return function(r,t){let a=e[n];return typeof t<"u"?r in a&&a[r].handlers.some(i=>i.namespace===t):r in a}}var _=O;function j(e,n,s,r){return function(a,...i){let c=e[n];c[a]||(c[a]={handlers:[],runs:0}),c[a].runs++;let l=c[a].handlers;if(!l||!l.length)return s?i[0]:void 0;let o={name:a,currentIndex:0};async function d(){try{c.__current.add(o);let u=s?i[0]:void 0;for(;o.currentIndex<l.length;)u=await l[o.currentIndex].callback.apply(null,i),s&&(i[0]=u),o.currentIndex++;return s?u:void 0}finally{c.__current.delete(o)}}function h(){try{c.__current.add(o);let u=s?i[0]:void 0;for(;o.currentIndex<l.length;)u=l[o.currentIndex].callback.apply(null,i),s&&(i[0]=u),o.currentIndex++;return s?u:void 0}finally{c.__current.delete(o)}}return(r?d:h)()}}var A=j;function $(e,n){return function(){let r=e[n];return Array.from(r.__current).at(-1)?.name??null}}var y=$;function V(e,n){return function(r){let t=e[n];return typeof r>"u"?t.__current.size>0:Array.from(t.__current).some(a=>a.name===r)}}var k=V;function q(e,n){return function(r){let t=e[n];if(f(r))return t[r]&&t[r].runs?t[r].runs:0}}var x=q;var B=class{actions;filters;addAction;addFilter;removeAction;removeFilter;hasAction;hasFilter;removeAllActions;removeAllFilters;doAction;doActionAsync;applyFilters;applyFiltersAsync;currentAction;currentFilter;doingAction;doingFilter;didAction;didFilter;constructor(){this.actions=Object.create(null),this.actions.__current=ne
165w Set,this.filters=Object.create(null),this.filters.__current=new Set,this.addAction=H(this,"actions"),this.addFilter=H(this,"filters"),this.removeAction=p(this,"actions"),this.removeFilter=p(this,"filters"),this.hasAction=_(this,"actions"),this.hasFilter=_(this,"filters"),this.removeAllActions=p(this,"actions",!0),this.removeAllFilters=p(this,"filters",!0),this.doAction=A(this,"actions",!1,!1),this.doActionAsync=A(this,"actions",!1,!0),this.applyFilters=A(this,"filters",!0,!1),this.applyFiltersAsync=A(this,"filters",!0,!0),this.currentAction=y(this,"actions"),this.currentFilter=y(this,"filters"),this.doingAction=k(this,"actions"),this.doingFilter=k(this,"filters"),this.didAction=x(this,"actions"),this.didFilter=x(this,"filters")}};function G(){return new B}var F=G;var b=F(),{addAction:J,addFilter:K,removeAction:L,removeFilter:M,hasAction:P,hasFilter:Q,removeAllActions:U,removeAllFilters:W,doAction:X,doActionAsync:Y,applyFilters:N,applyFiltersAsync:ee,currentAction:te,currentFilter:re,doingAction:ne,doingFilter:oe,didAction:ie,didFilter:se,actions:ae,filters:ce}=b;return T(le)})();(window.wp||={}).hooks=wp.hooks})() 166;/*! This file is auto-generated */ 167(function(){"use strict";var wp;(wp||={}).i18n=(()=>{var nt=Object.create;var L=Object.defineProperty;var at=Object.getOwnPropertyDescriptor;var it=Object.getOwnPropertyNames;var ut=Object.getPrototypeOf,lt=Object.prototype.hasOwnProperty;var ft=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),ot=(t,r)=>{for(var e in r)L(t,e,{get:r[e],enumerable:!0})},O=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let u of it(r))!lt.call(t,u)&&u!==e&&L(t,u,{get:()=>r[u],enumerable:!(n=at(r,u))||n.enumerable});return t};var st=(t,r,e)=>(e=t!=null?nt(ut(t)):{},O(r||!t||!t.__esModule?L(e,"default",{value:t,enumerable:!0}):e,t)),pt=t=>O(L({},"__esModule",{value:!0}),t);var $=ft((It,M)=>{M.exports=window.wp.hooks});var yt={};ot(yt,{__:()=>Z,_n:()=>G,_nx:()=>B,_x:()=>q,createI18n:()=>R,defaultI18n:()=>H,getLocaleData:()=>j,hasTranslation:()=>Q,isRTL:()=>J,resetLocaleData:()=>U,setLocaleData:()=>z,sprintf:()=>P,subscribe:()=>X});var ct=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function T(t,...r){var e=0;return Array.isArray(r[0])&&(r=r[0]),t.replace(ct,function(){var n,u,l,o,f;return n=arguments[3],u=arguments[5],l=arguments[7],o=arguments[9],o==="%"?"%":(l==="*"&&(l=r[e],e++),u===void 0?(n===void 0&&(n=e+1),e++,f=r[n-1]):r[0]&&typeof r[0]=="object"&&r[0].hasOwnProperty(u)&&(f=r[0][u]),o==="f"?f=parseFloat(f)||0:o==="d"&&(f=parseInt(f)||0),l!==void 0&&(o==="f"?f=f.toFixed(l):o==="s"&&(f=f.substr(0,l))),f??"")})}function P(t,...r){return T(t,...r)}var D,I,h,N;D={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1};I=["(","?"];h={")":["("],":":["?","?:"]};N=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;function b(t){for(var r=[],e=[],n,u,l,o;n=t.match(N);){for(u=n[0],l=t.substr(0,n.index).trim(),l&&r.push(l);o=e.pop();){if(h[u]){if(h[u][0]===o){u=h[u][1]||u;break}}else if(I.indexOf(o)>=0||D[o]<D[u]){e.push(o);break}r.push(o)}h[u]||e.push(u),t=t.substr(n.index+u.length)}return t=t.trim(),t&&r.push(t),r.concat(e.reverse())}var dt={"!":function(t){return!t},"*":function(t,r){return t*r},"/":function(t,r){return t/r},"%":function(t,r){return t%r},"+":function(t,r){return t+r},"-":function(t,r){return t-r},"<":function(t,r){return t<r},"<=":function(t,r){return t<=r},">":function(t,r){return t>r},">=":function(t,r){return t>=r},"==":function(t,r){return t===r},"!=":function(t,r){return t!==r},"&&":function(t,r){return t&&r},"||":function(t,r){return t||r},"?:":function(t,r,e){if(t)throw r;return e}};function g(t,r){var e=[],n,u,l,o,f,_;for(n=0;n<t.length;n++){if(f=t[n],o=dt[f],o){for(u=o.length,l=Array(u);u--;)l[u]=e.pop();try{_=o.apply(null,l)}catch(v){return v}}else r.hasOwnProperty(f)?_=r[f]:_=+f;e.push(_)}return e[0]}function A(t){var r=b(t);return function(e){return g(r,e)}}function E(t){var r=A(t);return function(e){return+r({n:e})}}var S={contextDelimiter:"�",onMissingKey:null};function _t(t){var r,e,n;for(r=t.split(";"),e=0;e<r.length;e++)if(n=r[e].trim(),n.indexOf("plural=")===0)return n.substr(7)}function x(t,r){var e;this.data=t,this.pluralForms={},this.options={};for(e in S)this.options[e]=r!==void 0&&e in r?r[e]:S[e]}x.prototype.getPluralForm=function(t,r){var e=this.pluralForms[t],n,u,l;return e||(n=this.data[t][""],l=n["Plural-Forms"]||n["plural-forms"]||n.plural_forms,typeof l!="function"&&(u=_t(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),l=E(u)),e=this.pluralForms[t]=l),e(r)};x.prototype.dcnpgettext=function(t,r,e,n,u){var l,o,f;return u===void 0?l=0:l=this.getPluralForm(t,u),o=e,r&&(o=r+this.options.contextDelimiter+e),f=this.data[t][o],f&&f[l]?f[l]:(this.options.onMissingKey&&this.options.onMissingKey(e,t),l===0?e:n)};var K={"":{plural_forms(t){return t===1?0:1}}},vt=/^i18n\.(n?gettext|has_translation)(_|$)/,R=(t,r,e)=>{let n=new x({}),u=new Set,l=()=>{u.forEach(a=>a())},o=a=>(u.add(a),()=>u.delete(a)),f=(a="default")=>n.data[a],_=(a,i="default")=>{n.data[i]={...n.data[i],...a},n.data[i][""]={...K[""],...n.data[i]?.[""]},delete n.pluralForms[i]},v=(a,i)=>{_(a,i),l()},V=(a,i="default")=>{n.data[i]={...n.data[i],...a,"":{...K[""],...n.data[i]?.[""],...a?.[""]}},delete n.pluralForms[i],l()},W=(a,i)=>{n.data={},n.pluralForms={},v(a,i)},m=(a="default",i,s,c,d)=>(n.data[a]||_(void 0,a),n.dcnpgettext(a,i,s,c,d)),y=a=>a||"default",Y=(a,i)=>{let s=m(i,void 0,a);return e?(s=e.applyFilters("i18n.gettext",s,a,i),e.applyFilters("i18n.gettext_"+y(i),s,a,i)):s},w=(a,i,s)=>{let c=m(s,i,a);return e?(c=e.applyFilters("i18n.gettext_with_context",c,a,i,s),e.applyFilters("i18n.gettext_with_context_"+y(s),c,a,i,s)):c},k=(a,i,s,c)=>{let d=m(c,void 0,a,i,s);return e?(d=e.applyFilters("i18n.ngettext",d,a,i,s,c),e.applyFilters("i18n.ngettext_"+y(c),d,a,i,s,c)):d},tt=(a,i,s,c,d)=>{let F=m(d,c,a,i,s);return e?(F=e.applyFilters("i18n.ngettext_with_context",F,a,i,s,c,d),e.applyFilters("i18n.ngettext_with_context_"+y(d),F,a,i,s,c,d)):F},rt=()=>w("ltr","text direction")==="rtl",et=(a,i,s)=>{let c=i?i+"�"+a:a,d=!!n.data?.[s??"default"]?.[c];return e&&(d=e.applyFilters("i18n.has_translation",d,a,i,s),d=e.applyFilters("i18n.has_translation_"+y(s),d,a,i,s)),d};if(t&&v(t,r),e){let a=i=>{vt.test(i)&&l()};e.addAction("hookAdded","core/i18n",a),e.addAction("hookRemoved","core/i18n",a)}return{getLocaleData:f,setLocaleData:v,addLocaleData:V,resetLocaleData:W,subscribe:o,__:Y,_x:w,_n:k,_nx:tt,isRTL:rt,hasTranslation:et}};var C=st($(),1);var p=R(void 0,void 0,C.defaultHooks),H=p,j=p.getLocaleData.bind(p),z=p.setLocaleData.bind(p),U=p.resetLocaleData.bind(p),X=p.subscribe.bind(p),Z=p.__.bind(p),q=p._x.bind(p),G=p._n.bind(p),B=p._nx.bind(p),J=p.isRTL.bind(p),Q=p.hasTranslation.bind(p);return pt(yt)})();(window.wp||={}).i18n=wp.i18n})() 168;wp.i18n.setLocaleData({'text direction\u0004ltr':['ltr']}) 169;(()=>{"use strict";const t="transitionend",e=t=>null==t?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),i=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),s=t=>{return i(t)?t?.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(((e=t)&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,e)=>`#${CSS.escape(e)}`)),e)):null;var e},n=(e,i,s=!1)=>
169{if("function"==typeof e){if(s)return void e();const n=5,l=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const s=Number.parseFloat(e),n=Number.parseFloat(i);return s||n?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(i)+n;let a=!1;const r=({target:s})=>{s===i&&(a=!0,i.removeEventListener(t,r),o(e))};i.addEventListener(t,r),setTimeout(()=>{a||i.dispatchEvent(new Event(t))},l)}},o=t=>{"function"==typeof t&&t()},l=t=>{t.offsetHeight},a=()=>"rtl"===document.documentElement.dir,r=(t,e)=>{var i;window.CBB=null!==(i=window?.CBB)&&void 0!==i?i:{},window.CBB={...window.CBB,[t]:e}},c=t=>{try{return JSON.parse(Object.assign(document.createElement("textarea"),{innerHTML:t||"{}"}).value)}catch{return{}}},d=t=>"loading"!==document.readyState?t():document.addEventListener("DOMContentLoaded",t),h=t=>{var i;"object"!==e(t)&&console.error("The parameter must be an object");let s=null!==(i=window?.CBB?.Util)&&void 0!==i&&i;s="object"===e(s)?{...s,...t}:t,r("Util",s)};h({toType:e,getUID:t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t},noop:()=>{},isElement:i,executeAfterTransition:n,execute:o,reflow:l,isRTL:a,parseJSON:c,domReady:d,exposeComponent:r});const u={SHOW:"show.boldblocks",SHOWN:"shown.boldblocks",HIDE:"hide.boldblocks",HIDDEN:"hidden.boldblocks",INIT:"init.boldblocks"},g=(t,e,i={})=>{const s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:i});return t.dispatchEvent(s),s};function f(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function m(t){return t.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function p(t,e){return f(t.getAttribute(`data-${m(e)}`))}h({EVENTS:u,triggerEvent:g}),r("Dataset",{normalizeData:f,normalizeDataKey:m,getDataAttributes:function(t,e=t=>t,i=t=>t){if(!t)return{};const s={},n=Object.keys(t.dataset).filter(e);for(const e of n){let n=i(e);n=n.charAt(0).toLowerCase()+n.slice(1,n.length),s[n]=f(t.dataset[e])}return s},getDataAttribute:p,setDataAttribute:function(t,e,i){t.setAttribute(`data-${m(e)}`,i)},removeDataAttribute:function(t,e){t.removeAttribute(`data-${m(e)}`)}});const y=new Map,b={set(t,e,i){y.has(t)||y.set(t,new Map);const s=y.get(t);s.has(e)||0===s.size?s.set(e,i):console.error(`Doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`)},get:(t,e)=>y.has(t)&&y.get(t).get(e)||null,remove(t,e){if(!y.has(t))return;const i=y.get(t);i.delete(e),0===i.size&&y.delete(t)}};r("Data",b);class _{constructor(t,e){(t=s(t))&&(this._element=t,this._config=this._getConfig(e),b.set(this._element,this.constructor.DATA_KEY,this))}dispose(){b.remove(this._element,this.constructor.DATA_KEY)}_queueCallback(t,e,i=!1){n(t,e,i)}_getConfig(t,e=this._element){return this._mergeConfigObj(t,e)}_mergeConfigObj(t,e){const s=i(e)?p(e,"cbbConfig"):{};return{...this.defaultConfig(),..."object"==typeof s?s:{},..."object"==typeof t?t:{}}}_parseConfigObj(t){return{...this.constructor.Default,..."object"==typeof t?t:{}}}defaultConfig(){return{}}filterKey(t){return t}refineKey(t){return t}static getInstance(t){return b.get(s(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`cbb.${this.NAME}`}}r("BaseComponent",_);class v{constructor(t={}){this._element=null,this._isAppended=!1;const e={isVisible:!0,rootElement:document.body,classBackdrop:"modal-backdrop fade",classShow:"show",clickCallback:null};this._config=Object.assign(e,t)}show(t){this._config.isVisible?(this._append(),l(this._getElement()),this._getElement().classList.add(this._config.classShow),n(t,this._getElement())):o(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove(this._config.classShow),n(()=>{this.dispose(),t()},this._getElement())):o(t)}dispose(){this._isAppended&&(this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.classBackdrop,this._element=t}return this._element}_append(){this._isAppended||(this._config.rootElement.appendChild(this._getElement()),"function"==typeof this._config.clickCallback&&this._getElement().addEventListener("click",t=>{t.preventDefault(),this._config.clickCallback()}),this._isAppended=!0)}}r("Backdrop",v);const w="padding-right";class E{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,w,e=>e+t)}reset(){this._resetElementAttributes("overflow"),this._resetElementAttributes(w)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const s=this.getWidth();this._applyManipulationCallback(t,t=>{if(window.innerWidth>t.clientWidth+s)return;this._saveInitialAttribute(t,e);const n=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(n))}px`)})}_saveInitialAttribute(t,e){const i=t.style.getPropertyValue(e);i&&t.setAttribute(`data-${e}`,i)}_resetElementAttributes(t){const e=this._element?.dataset?this._element.dataset[t]:null;this._element.removeAttribute(`data-${t}`),e?this._element.style.setProperty(t,e):this._element.style.removeProperty(t)}
169_applyManipulationCallback(t,e){e(t)}}r("ScrollBarHelper",E);const A=new class{constructor(){this.observedContainers=new WeakMap,this.pendingFrames=new WeakMap}update(t=document,e){g(document,"cbb.observer.updated",{container:t,args:e})}observe(t,e={}){if("string"==typeof t&&(t=document.querySelector(t)),!(t instanceof HTMLElement))return;if(this.observedContainers.has(t))return;const i=new MutationObserver(i=>{if(this.pendingFrames.has(t))return;const s=requestAnimationFrame(()=>{this.pendingFrames.delete(t),this.update(t,e)});this.pendingFrames.set(t,s)});i.observe(t,{childList:!0,subtree:!0}),this.observedContainers.set(t,i)}},x=t=>{document.addEventListener("cbb.observer.updated",e=>{const{detail:{container:i,args:s}}=e;i&&t(i,s,e)})};d(()=>{document.querySelectorAll(".wp-block-query").forEach(t=>{t?.hasAttribute("data-wp-interactive")&&A.observe(t)})});class S extends _{constructor(t,e={}){var i;if(super(t,e),!t)return;this.element=this._element;const{dataset:s={},datasetElement:n,triggerArray:o}=this._config;this._dataset=Object.assign({toggleStateShown:"shown"},s,null!==(i=n?.dataset)&&void 0!==i?i:{});const{toggleElement:l,transitionProperty:a="height",toggleState:r,toggleStateShown:c}=this._dataset;if(o)this._triggerArray=o;else{const t=l&&l.trim();this._triggerArray=t?Array.from(document.querySelectorAll(t)):[]}this.transitionProperty=a,this.calculatedTransitionProperty=-1!==["width","height"].indexOf(a)?`scroll${a[0].toUpperCase()+a.slice(1)}`:"",this.isOpen=r===c,this._isTransitioning=!1,this.init()}static get NAME(){return"collapse"}defaultConfig(){return{triggerArray:null,dataset:null,datasetElement:this._element,classTarget:"collapse",classTrigger:"",classShow:"show",classCollapsing:"collapsing",classToggledOn:"is-toggled-on",classToggledOff:"is-toggled-off",selectorText:".toggle__text",instanceIndex:0}}init(){this._setupClasses(),this._addAriaAndToggledClass(),this._attachClickHandler(),this.isOpen&&requestAnimationFrame(()=>{g(window,u.SHOWN,{target:this._element})}),g(window,u.INIT,{target:this._element})}_setupClasses(){const t=this._element,e=this._triggerArray,{classTrigger:i,classTarget:s,classShow:n,instanceIndex:o}=this._config;t.classList.add(`transition-${this.transitionProperty}`),t.classList.contains(s)||t.classList.add(s);const l=this.isOpen;t.classList.toggle(n,l);let a=t.getAttribute("id");if(a||(a=`bb-collapse-${o}`,t.setAttribute("id",a)),i&&e.length)for(const t of e)t.classList.contains(i)||t.classList.add(i),t.setAttribute("aria-controls",`#${a}`),"DIV"!==t.tagName.toUpperCase()||t?.role||t.setAttribute("role","button")}_attachClickHandler(){this.clickHandler=this.toggle.bind(this);const t=this._triggerArray;if(t?.length)for(const e of t)e.addEventListener("click",this.clickHandler),["BUTTON","INPUT"].includes(e.tagName)||e.addEventListener("keydown",t=>{13!==t.keyCode&&32!==t.keyCode||(t.preventDefault(),this.clickHandler())})}toggle(t){t&&t?.preventDefault&&t.preventDefault(),this.isOpen?this.hide():this.show()}show(){if(this.isOpen||this._isTransitioning)return;const t=this._element,{classCollapsing:e,classTarget:i}=this._config,s=this.transitionProperty;g(t,u.SHOW),this.isOpen=!0,this._setTransitioning(!0),this._addAriaAndToggledClass(),t.classList.remove(i),t.classList.add(e),t.style[s]=0,this._queueCallback(this._transitionEnd.bind(this),t),t.style[s]=`${t[this.calculatedTransitionProperty]}px`}hide(){if(!this.isOpen||this._isTransitioning)return;const t=this._element,{classCollapsing:e,classTarget:i,classShow:s}=this._config,n=this.transitionProperty;g(t,u.HIDE),this.isOpen=!1,this._setTransitioning(!0),this._addAriaAndToggledClass(),t.style[n]=`${t[this.calculatedTransitionProperty]}px`,l(t),t.classList.add(e),t.classList.remove(i,s),t.style[n]="",this._queueCallback(this._transitionEnd.bind(this),t)}_addAriaAndToggledClass(){const t=this.isOpen,e=this._triggerArray;if(e.length){const{classToggledOn:i,classToggledOff:s}=this._config;for(const n of e)n.classList.toggle(i,t),n.classList.toggle(s,!t),n.setAttribute("aria-expanded",t)}}_setTransitioning(t){this._isTransitioning=t}_transitionEnd(){this._setTransitioning(!1);const t=this._element,{classCollapsing:e,classTarget:i,classShow:s}=this._config,n=this.isOpen;t.classList.remove(e),n?(t.style[this.transitionProperty]="",t.classList.add(i,s),"true"===this._dataset?.toggleFocusFirstElement&&this._focusFirstFocusableElement(t),g(t,u.SHOWN),g(window,u.SHOWN,{target:t})):(t.classList.add(i),g(t,u.HIDDEN),g(window,u.HIDDEN,{target:t}))}_focusFirstFocusableElement(t){const e=t.querySelector('button, input
169:not([type="hidden"]), select, textarea');e&&e.focus()}dispose(){super.dispose();const t=this._triggerArray,{classToggledOn:e,classToggledOff:i,classShow:s}=this._config;if(t.length)for(const s of t)s.classList.remove(e),s.classList.remove(i),s.removeEventListener("click",this.clickHandler);this._element.classList.add(s)}}r("Collapse",S);const L=S;class T extends _{constructor(t,e={}){super(t,e),t&&(this.toggleElements=Array.from(t.querySelectorAll(".accordion-header")),this.toggleElements.length&&(this.collapseInstances=[],this.init()))}static get NAME(){return"accordion"}defaultConfig(){return{multipleOpens:"true"===this._element?.dataset?.multipleOpens}}init(){this.collapseInstances=this.toggleElements.map(t=>{const e=t.parentNode.querySelector(".accordion-collapse");return e.addEventListener(u.SHOW,()=>{t.classList.toggle("is-expanded",!0)}),e.addEventListener(u.HIDE,()=>{t.classList.toggle("is-expanded",!1)}),new L(e,{triggerArray:[t.querySelector(".accordion-link")],datasetElement:t})}),window.addEventListener(u.SHOWN,({detail:{target:t={}}={}}={})=>{t?.previousSibling?.classList&&t.previousSibling.classList.toggle("is-expanded",!0)}),this._config.multipleOpens||this.collapseInstances.forEach((t,e)=>t.element.addEventListener(u.SHOW,this.toggleOtherActiveElements.bind(this,e)))}toggleOtherActiveElements(t){this.collapseInstances.filter((e,i)=>e.isOpen&&t!==i).forEach(t=>t.hide())}dispose(){super.dispose(),this.collapseInstances.forEach(t=>t.dispose())}}r("Accordion",T);const C=T;d(()=>document.querySelectorAll(".is-accordion").forEach(t=>new C(t)));const O=Math.min,k=Math.max,D=Math.round,H=Math.floor,I=t=>({x:t,y:t}),M={left:"right",right:"left",bottom:"top",top:"bottom"};function N(t,e,i){return k(t,O(e,i))}function R(t,e){return"function"==typeof t?t(e):t}function B(t){return t.split("-")[0]}function F(t){return t.split("-")[1]}function q(t){return"x"===t?"y":"x"}function P(t){return"y"===t?"height":"width"}function $(t){const e=t[0];return"t"===e||"b"===e?"y":"x"}function W(t){return q($(t))}function j(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const z=["left","right"],V=["right","left"],U=["top","bottom"],Y=["bottom","top"];function K(t){const e=B(t);return M[e]+t.slice(e.length)}function J(t){const{x:e,y:i,width:s,height:n}=t;return{width:s,height:n,top:i,left:e,right:e+s,bottom:i+n,x:e,y:i}}function X(t,e,i){let{reference:s,floating:n}=t;const o=$(e),l=W(e),a=P(l),r=B(e),c="y"===o,d=s.x+s.width/2-n.width/2,h=s.y+s.height/2-n.height/2,u=s[a]/2-n[a]/2;let g;switch(r){case"top":g={x:d,y:s.y-n.height};break;case"bottom":g={x:d,y:s.y+s.height};break;case"right":g={x:s.x+s.width,y:h};break;case"left":g={x:s.x-n.width,y:h};break;default:g={x:s.x,y:s.y}}switch(F(e)){case"start":g[l]-=u*(i&&c?-1:1);break;case"end":g[l]+=u*(i&&c?-1:1)}return g}async function Z(t,e){var i;void 0===e&&(e={});const{x:s,y:n,platform:o,rects:l,elements:a,strategy:r}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:u=!1,padding:g=0}=R(e,t),f=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(g),m=a[u?"floating"===h?"reference":"floating":h],p=J(await o.getClippingRect({element:null==(i=await(null==o.isElement?void 0:o.isElement(m)))||i?m:m.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:r})),y="floating"===h?{x:s,y:n,width:l.floating.width,height:l.floating.height}:l.reference,b=await(null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),_=await(null==o.isElement?void 0:o.isElement(b))&&await(null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},v=J(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:b,strategy:r}):y);return{top:(p.top-v.top+f.top)/_.y,bottom:(v.bottom-p.bottom+f.bottom)/_.y,left:(p.left-v.left+f.left)/_.x,right:(v.right-p.right+f.right)/_.x}}function G(){return"undefined"!=typeof window}
vendor: 2,756 bytes, line 169
169function Q(t){return it(t)?(t.nodeName||"").toLowerCase():"#document"}function tt(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function et(t){var e;return null==(e=(it(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function it(t){return!!G()&&(t instanceof Node||t instanceof tt(t).Node)}function st(t){return!!G()&&(t instanceof Element||t instanceof tt(t).Element)}function nt(t){return!!G()&&(t instanceof HTMLElement||t instanceof tt(t).HTMLElement)}function ot(t){return!(!G()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof tt(t).ShadowRoot)}function lt(t){const{overflow:e,overflowX:i,overflowY:s,display:n}=pt(t);return/auto|scroll|overlay|hidden|clip/.test(e+s+i)&&"inline"!==n&&"contents"!==n}function at(t){return/^(table|td|th)$/.test(Q(t))}function rt(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const ct=/transform|translate|scale|rotate|perspective|filter/,dt=/paint|layout|strict|content/,ht=t=>!!t&&"none"!==t;let ut;function gt(t){const e=st(t)?pt(t):t;return ht(e.transform)||ht(e.translate)||ht(e.scale)||ht(e.rotate)||ht(e.perspective)||!ft()&&(ht(e.backdropFilter)||ht(e.filter))||ct.test(e.willChange||"")||dt.test(e.contain||"")}function ft(){return null==ut&&(ut="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ut}function mt(t){return/^(html|body|#document)$/.test(Q(t))}function pt(t){return tt(t).getComputedStyle(t)}function yt(t){return st(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function bt(t){if("html"===Q(t))return t;const e=t.assignedSlot||t.parentNode||ot(t)&&t.host||et(t);return ot(e)?e.host:e}function _t(t){const e=bt(t);return mt(e)?t.ownerDocument?t.ownerDocument.body:t.body:nt(e)&<(e)?e:_t(e)}function vt(t,e,i){var s;void 0===e&&(e=[]),void 0===i&&(i=!0);const n=_t(t),o=n===(null==(s=t.ownerDocument)?void 0:s.body),l=tt(n);if(o){const t=wt(l);return e.concat(l,l.visualViewport||[],lt(n)?n:[],t&&i?vt(t):[])}return e.concat(n,vt(n,[],i))}function wt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Et(t){const e=pt(t);let i=parseFloat(e.width)||0,s=parseFloat(e.height)||0;const n=nt(t),o=n?t.offsetWidth:i,l=n?t.offsetHeight:s,a=D(i)!==o||D(s)!==l;return a&&(i=o,s=l),{width:i,height:s,$:a}}function At(t){return st(t)?t:t.contextElement}function xt(t){const e=At(t);if(!nt(e))return I(1);const i=e.getBoundingClientRect(),{width:s,height:n,$:o}=Et(e);let l=(o?D(i.width):i.width)/s,a=(o?D(i.height):i.height)/n;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}const St=I(0);function Lt(t){const e=tt(t);
vendor: 5,473 bytes, line 169
169return ft()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:St}function Tt(t,e,i,s){void 0===e&&(e=!1),void 0===i&&(i=!1);const n=t.getBoundingClientRect(),o=At(t);let l=I(1);e&&(s?st(s)&&(l=xt(s)):l=xt(t));const a=function(t,e,i){return void 0===e&&(e=!1),!(!i||e&&i!==tt(t))&&e}(o,i,s)?Lt(o):I(0);let r=(n.left+a.x)/l.x,c=(n.top+a.y)/l.y,d=n.width/l.x,h=n.height/l.y;if(o){const t=tt(o),e=s&&st(s)?tt(s):s;let i=t,n=wt(i);for(;n&&s&&e!==i;){const t=xt(n),e=n.getBoundingClientRect(),s=pt(n),o=e.left+(n.clientLeft+parseFloat(s.paddingLeft))*t.x,l=e.top+(n.clientTop+parseFloat(s.paddingTop))*t.y;r*=t.x,c*=t.y,d*=t.x,h*=t.y,r+=o,c+=l,i=tt(n),n=wt(i)}}return J({width:d,height:h,x:r,y:c})}function Ct(t,e){const i=yt(t).scrollLeft;return e?e.left+i:Tt(et(t)).left+i}function Ot(t,e){const i=t.getBoundingClientRect();return{x:i.left+e.scrollLeft-Ct(t,i),y:i.top+e.scrollTop}}function kt(t,e,i){let s;if("viewport"===e)s=function(t,e){const i=tt(t),s=et(t),n=i.visualViewport;let o=s.clientWidth,l=s.clientHeight,a=0,r=0;if(n){o=n.width,l=n.height;const t=ft();(!t||t&&"fixed"===e)&&(a=n.offsetLeft,r=n.offsetTop)}const c=Ct(s);if(c<=0){const t=s.ownerDocument,e=t.body,i=getComputedStyle(e),n="CSS1Compat"===t.compatMode&&parseFloat(i.marginLeft)+parseFloat(i.marginRight)||0,l=Math.abs(s.clientWidth-e.clientWidth-n);l<=25&&(o-=l)}else c<=25&&(o+=c);return{width:o,height:l,x:a,y:r}}(t,i);else if("document"===e)s=function(t){const e=et(t),i=yt(t),s=t.ownerDocument.body,n=k(e.scrollWidth,e.clientWidth,s.scrollWidth,s.clientWidth),o=k(e.scrollHeight,e.clientHeight,s.scrollHeight,s.clientHeight);let l=-i.scrollLeft+Ct(t);const a=-i.scrollTop;return"rtl"===pt(s).direction&&(l+=k(e.clientWidth,s.clientWidth)-n),{width:n,height:o,x:l,y:a}}(et(t));else if(st(e))s=function(t,e){const i=Tt(t,!0,"fixed"===e),s=i.top+t.clientTop,n=i.left+t.clientLeft,o=nt(t)?xt(t):I(1);return{width:t.clientWidth*o.x,height:t.clientHeight*o.y,x:n*o.x,y:s*o.y}}(e,i);else{const i=Lt(t);s={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return J(s)}function Dt(t,e){const i=bt(t);return!(i===e||!st(i)||mt(i))&&("fixed"===pt(i).position||Dt(i,e))}function Ht(t,e,i){const s=nt(e),n=et(e),o="fixed"===i,l=Tt(t,!0,o,e);let a={scrollLeft:0,scrollTop:0};const r=I(0);function c(){r.x=Ct(n)}if(s||!s&&!o)if(("body"!==Q(e)||lt(n))&&(a=yt(e)),s){const t=Tt(e,!0,o,e);r.x=t.x+e.clientLeft,r.y=t.y+e.clientTop}else n&&c();o&&!s&&n&&c();const d=!n||s||o?I(0):Ot(n,a);return{x:l.left+a.scrollLeft-r.x-d.x,y:l.top+a.scrollTop-r.y-d.y,width:l.width,height:l.height}}function It(t){return"static"===pt(t).position}function Mt(t,e){if(!nt(t)||"fixed"===pt(t).position)return null;if(e)return e(t);let i=t.offsetParent;return et(t)===i&&(i=i.ownerDocument.body),i}function Nt(t,e){const i=tt(t);if(rt(t))return i;if(!nt(t)){let e=bt(t);for(;e&&!mt(e);){if(st(e)&&!It(e))return e;e=bt(e)}return i}let s=Mt(t,e);for(;s&&at(s)&&It(s);)s=Mt(s,e);return s&&mt(s)&&It(s)&&!gt(s)?i:s||function(t){let e=bt(t);for(;nt(e)&&!mt(e);){if(gt(e))return e;if(rt(e))return null;e=bt(e)}return null}(t)||i}const Rt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:i,offsetParent:s,strategy:n}=t;const o="fixed"===n,l=et(s),a=!!e&&rt(e.floating);if(s===l||a&&o)return i;let r={scrollLeft:0,scrollTop:0},c=I(1);const d=I(0),h=nt(s);if((h||!h&&!o)&&(("body"!==Q(s)||lt(l))&&(r=yt(s)),h)){const t=Tt(s);c=xt(s),d.x=t.x+s.clientLeft,d.y=t.y+s.clientTop}const u=!l||h||o?I(0):Ot(l,r);return{width:i.width*c.x,height:i.height*c.y,x:i.x*c.x-r.scrollLeft*c.x+d.x+u.x,y:i.y*c.y-r.scrollTop*c.y+d.y+u.y}},getDocumentElement:et,getClippingRect:function(t){let{element:e,boundary:i,rootBoundary:s,strategy:n}=t;const o=[..."clippingAncestors"===i?rt(e)?[]:function(t,e){const i=e.get(t);if(i)return i;let s=vt(t,[],!1).filter(t=>st(t)&&"body"!==Q(t)),n=null;const o="fixed"===pt(t).position;let l=o?bt(t):t;for(;st(l)&&!mt(l);){const e=pt(l),i=gt(l);i||"fixed"!==e.position||(n=null),(o?!i&&!n:!i&&"static"===e.position&&n&&("absolute"===n.position||"fixed"===n.position)||lt(l)&&!i&&Dt(t,l))?s=s.filter(t=>t!==l):n=e,l=bt(l)}return e.set(t,s),s}(e,this._c):[].concat(i),s],l=kt(e,o[0],n);let a=l.top,r=l.right,c=l.bottom,d=l.left;for(let t=1;t<o.length;t++){const i=kt(e,o[t],n);a=k(i.top,a),r=O(i.right,r),c=O(i.bottom,c),d=k(i.left,d)}return{width:r-d,height:c-a,x:d,y:a}},getOffsetParent:Nt,getElementRects:async function(t){const e=this.getOffsetParent||Nt,i=this.getDimensions,s=await i(t.floating);return{reference:Ht(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:i}=Et(t);return{width:e,height:i}},getScale:xt,isElement:st,isRTL:function(t){return"rtl"===pt(t).direction}};function Bt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}const Ft=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var i,s;const{placement:n,middlewareData:o,rects:l,initialPlacement:a,platform:r,elements:c}=e,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:u,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...p}=R(t,e);if(null!=(i=o.arrow)&&i.alignmentOffset)return{};const y=B(n),b=$(a),_=B(a)===a,v=await(null==r.isRTL?void 0:r.isRTL(c.floating)),w=u||(_||!m?[K(a)]:function(t){const e=K(t);return[j(t),e,j(e)]}(a)),E="none"!==f;
169!u&&E&&w.push(...function(t,e,i,s){const n=F(t);let o=function(t,e,i){switch(t){case"top":case"bottom":return i?e?V:z:e?z:V;case"left":case"right":return e?U:Y;default:return[]}}(B(t),"start"===i,s);return n&&(o=o.map(t=>t+"-"+n),e&&(o=o.concat(o.map(j)))),o}(a,m,f,v));const A=[a,...w],x=await r.detectOverflow(e,p),S=[];let L=(null==(s=o.flip)?void 0:s.overflows)||[];if(d&&S.push(x[y]),h){const t=function(t,e,i){void 0===i&&(i=!1);const s=F(t),n=W(t),o=P(n);let l="x"===n?s===(i?"end":"start")?"right":"left":"start"===s?"bottom":"top";return e.reference[o]>e.floating[o]&&(l=K(l)),[l,K(l)]}(n,l,v);S.push(x[t[0]],x[t[1]])}if(L=[...L,{placement:n,overflows:S}],!S.every(t=>t<=0)){var T,C;const t=((null==(T=o.flip)?void 0:T.index)||0)+1,e=A[t];if(e&&("alignment"!==h||b===$(e)||L.every(t=>$(t.placement)!==b||t.overflows[0]>0)))return{data:{index:t,overflows:L},reset:{placement:e}};let i=null==(C=L.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:C.placement;if(!i)switch(g){case"bestFit":{var O;const t=null==(O=L.filter(t=>{if(E){const e=$(t.placement);return e===b||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:O[0];t&&(i=t);break}case"initialPlacement":i=a}if(n!==i)return{reset:{placement:i}}}return{}}}};class qt extends _{constructor(t,e={}){if(super(t,e),!t)return;const{modalType:i,dataset:s={},datasetElement:n,triggerArray:o}=this._config;this.isModal="modal"===i,this.isPopover="popover"===i,this.isOffcanvas="offcanvas"===i,this._dataset=Object.assign({toggleStateShown:"shown"},s,n?.dataset??{});const{modalSettings:l={},toggleElement:a,toggleState:r,toggleStateShown:c}=this._dataset;if(this._modalSettings=l,o)this._triggerArray=o;else{const t=a&&a.trim();this._triggerArray=t?Array.from(document.querySelectorAll(t)):[]}this._triggerElement=this._triggerArray?.length?this._triggerArray[0]:null,this.hasHover=this.isPopover&&this._modalSettings?.triggerOnHover&&this._triggerElement,this._isOpen=r===c,this._isTransitioning=!1,this._dialog=null,this._modal=this._getModalMar
169kup(),this._backdrop=this._initializeBackDrop(),this._scrollBar=this._initializeScrollbar(),this.init()}static get NAME(){return"modal"}defaultConfig(){return{modalType:"modal",triggerArray:null,dataset:null,datasetElement:this._element,rootElement:document.body,classModalInitialized:"bb-modal-initialized",classModalHeader:"bb-modal-header",classModalTitle:"bb-modal-title",classTarget:"bb-modal-body",classModal:"bb-modal",classModalDialog:"bb-modal-dialog",classModalContent:"bb-modal-content",classAnimation:"fade",classTrigger:"",classShow:"show",classToggledOn:"is-toggled-on",classToggledOff:"is-toggled-off",classRootOpen:"modal-open",classDismiss:"is-close-modal",classStatic:"is-modal-static",classAnimatedWaiting:"animate__waiting",classAnimating:"is-animating",selectorFocus:".is-focus-first",selectorText:".toggle__text",instanceIndex:0,cachePrefix:"bb-modal-"}}init(){this._setupClasses(),this._addAriaAndToggledClass(),this._attachClickHandler(),this._attachHoverHandler(),this._isOpen&&(this._isOpen=!1,this.show(),this._setTransitioning(!1)),this.handleCustomState(this._dataset?.toggleState),this._onEscape=this._closeOnEscapeKey.bind(this),g(window,u.INIT,{target:this._element,modal:this._modal})}_setupClasses(){const t=this._element,e=this._modal,i=this._triggerArray,{classTrigger:s,classTarget:n,instanceIndex:o}=this._config,{placement:l="start",popoverPlacement:a="bottom"}=this._modalSettings;t.classList.add(n);const r=`bb-modal-${o}`;if(t.setAttribute("id",r),this.isOffcanvas)e.classList.add(`placement-${l}`);else if(this.isPopover){const t=a.startsWith("top")||a.startsWith("bottom")?"y":"x";e.classList.add(`placement-${t}`)}if(s&&i?.length)for(const t of i)t.classList.contains(s)||(t.classList.add(s),t.setAttribute("aria-haspopup","dialog"),t.setAttribute("aria-controls",r),"DIV"!==t.tagName.toUpperCase()||t?.role||(t.setAttribute("role","button"),t.setAttribute("tabindex",0)))}_attachClickHandler(){this.clickHandler=this.toggle.bind(this);const t=this._triggerArray;if(t?.length)for(const e of t)e.addEventListener("click",this.clickHandler),["BUTTON","INPUT"].includes(e.tagName)||e.addEventListener("keydown",t=>{13!==t.keyCode&&32!==t.keyCode||(t.preventDefault(),this.clickHandler())})}_attachHoverHandler(){if(!this.hasHover)return;const t=this._triggerElement,e=this._modal;let i;const s=()=>{clearTimeout(i),i=setTimeout(()=>{this._isOpen&&this.hide(!0)},120)};t.addEventListener("pointerenter",()=>{clearTimeout(i),this._isOpen||this.show(!0)}),t.addEventListener("pointerleave",t=>{e.contains(t.relatedTarget)||s()}),e.addEventListener("pointerenter",()=>{clearTimeout(i)}),e.addEventListener("pointerleave",e=>{t.contains(e.relatedTarget)||s()})}_isOpenHovered(){return!!this.hasHover&&(this._triggerElement.matches(":hover")||this._modal.matches(":hover"))}handleCustomState(t){if("custom"===t){const{uniqueId:t,customState:e="delay",delayTime:i,scrollElement:s,minTimeOnPage:n,storedTime:o}=this._modalSettings,l=!!t&&`${this._config.cachePrefix}${t}`;if(l&&this.getClosedState(l))return;if("delay"===e?this.triggerByDelay(i):"scrollElement"===e?this.triggerByScrollToElement(s):"exitIntent"===e&&this.triggerByExitIntent(n),l){const t=o;t&&this._element.addEventListener(u.HIDDEN,()=>{this.setClosedState(l,t)})}}}triggerByDelay(t){let e=0;if(t){const i=parseInt(t,10);isNaN(i)||(e=i)}setTimeout(()=>{this.show()},1e3*e)}triggerByExitIntent(t){t=parseInt(t),isNaN(t)&&(t=5e3);const e=t=>{t.clientY<=0&&(this.show(),document.removeEventListener("mouseleave",e))};setTimeout(()=>{document.addEventListener("mouseleave",e)},1e3*t)}triggerByScrollToElement(t){if(!t)return;const e=document.querySelectorAll(t);if(!e.length)return;const i=new IntersectionObserver(t=>{for(const e of t)if(e.isIntersecting){this.show(),i.disconnect();break}},{root:null,threshold:0});e.forEach(t=>i.observe(t))}getClosedState(t){let e=localStorage.getItem(t);return e&&"permanent"!==e&&(e=parseFloat(e),!isNaN(e)&&(new Date).getTime()/864e5>e)?(localStorage.removeItem(t),null):e}setClosedState(t,e){if("permanent"===e)localStorage.setItem(t,e);else if(e=parseFloat(e),!isNaN(e)){const i=(new Date).getTime()/864e5;localStorage.setItem(t,i+e)}}toggle(t){if(t&&t?.preventDefault&&t.preventDefault(),this._triggerArray?.length>1&&i(t.target)){let e=null;const{classTrigger:i}=this._config;i&&(e=t.target.closest(`.${i}`)),e||(e=t.target),this._triggerElement=e}this._isOpenHovered()||(this._isOpen?this.hide():this.show())}show(t=!1){if(!t&&(this._isOpen||this._isTransitioning))return;g(this._element,u.SHOW);const{rootElement:e,classRootOpen:i}=this._config;this._isOpen=!0,this._setTransitioning(!0),this._addAriaAndToggledClass(),this.activeElement=this._triggerElement?this._triggerElement:document.activeElement,this._modalSettings?.disableBackdrop||
vendor: 2,400 bytes, line 169
169(this._scrollBar.hide(),this._adjustDialog()),e.classList.add(i),this._setEscapeEvent(),this._backdrop.show(this._showModal.bind(this))}_showModal(){const t=this._modal,e=this._triggerElement,i=this.isModal;if(i?t.style.display="flex":t.style.visibility="visible",t.removeAttribute("aria-hidden"),t.setAttribute("role","dialog"),t.setAttribute("aria-modal",!0),this.isPopover&&e){const i=this._modalSettings?.popoverPlacement??"bottom";!function(t,e,i,s){void 0===s&&(s={});const{ancestorScroll:n=!0,ancestorResize:o=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:r=!1}=s,c=At(t),d=n||o?[...c?vt(c):[],...e?vt(e):[]]:[];d.forEach(t=>{n&&t.addEventListener("scroll",i,{passive:!0}),o&&t.addEventListener("resize",i)});const h=c&&a?function(t,e){let i,s=null;const n=et(t);function o(){var t;clearTimeout(i),null==(t=s)||t.disconnect(),s=null}return function l(a,r){void 0===a&&(a=!1),void 0===r&&(r=1),o();const c=t.getBoundingClientRect(),{left:d,top:h,width:u,height:g}=c;if(a||e(),!u||!g)return;const f={rootMargin:-H(h)+"px "+-H(n.clientWidth-(d+u))+"px "+-H(n.clientHeight-(h+g))+"px "+-H(d)+"px",threshold:k(0,O(1,r))||1};let m=!0;function p(e){const s=e[0].intersectionRatio;if(s!==r){if(!m)return l();s?l(!1,s):i=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==s||Bt(c,t.getBoundingClientRect())||l(),m=!1}try{s=new IntersectionObserver(p,{...f,root:n.ownerDocument})}catch(t){s=new IntersectionObserver(p,f)}s.observe(t)}(!0),o}(c,i):null;let u,g=-1,f=null;l&&(f=new ResizeObserver(t=>{let[s]=t;s&&s.target===c&&f&&e&&(f.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var t;null==(t=f)||t.observe(e)})),i()}),c&&!r&&f.observe(c),e&&f.observe(e));let m=r?Tt(t):null;r&&function e(){const s=Tt(t);m&&!Bt(m,s)&&i(),m=s,u=requestAnimationFrame(e)}(),i()}(e,t,()=>{var s;((t,e,i)=>{const s=new Map,n={platform:Rt,...i},o={...n.platform,_c:s};return(async(t,e,i)=>{const{placement:s="bottom",strategy:n="absolute",middleware:o=[],platform:l}=i,a=l.detectOverflow?l:{...l,detectOverflow:Z},r=await(null==l.isRTL?void 0:l.isRTL(e));let c=await l.getElementRects({reference:t,floating:e,strategy:n}),{x:d,y:h}=X(c,s,r),u=s,g=0;const f={};for(let i=0;i<o.length;i++){const m=o[i];if(!m)continue;const{name:p,fn:y}=m,{x:b,y:_,data:v,reset:w}=await y({x:d,y:h,initialPlacement:s,placement:u,strategy:n,middlewareData:f,re
169cts:c,platform:a,elements:{reference:t,floating:e}});d=null!=b?b:d,h=null!=_?_:h,f[p]={...f[p],...v},w&&g<50&&(g++,"object"==typeof w&&(w.placement&&(u=w.placement),w.rects&&(c=!0===w.rects?await l.getElementRects({reference:t,floating:e,strategy:n}):w.rects),({x:d,y:h}=X(c,u,r))),i=-1)}return{x:d,y:h,placement:u,strategy:n,middlewareData:f}})(t,e,{...n,platform:o})})(e,t,{strategy:"fixed",placement:i,middleware:[Ft(),(void 0===s&&(s={}),{name:"shift",options:s,async fn(t){const{x:e,y:i,placement:n,platform:o}=t,{mainAxis:l=!0,crossAxis:a=!1,limiter:r={fn:t=>{let{x:e,y:i}=t;return{x:e,y:i}}},...c}=R(s,t),d={x:e,y:i},h=await o.detectOverflow(t,c),u=$(B(n)),g=q(u);let f=d[g],m=d[u];if(l){const t="y"===g?"bottom":"right";f=N(f+h["y"===g?"top":"left"],f,f-h[t])}if(a){const t="y"===u?"bottom":"right";m=N(m+h["y"===u?"top":"left"],m,m-h[t])}const p=r.fn({...t,[g]:f,[u]:m});return{...p,data:{x:p.x-e,y:p.y-i,enabled:{[g]:l,[u]:a}}}}})]}).then(({x:e,y:i})=>{Object.assign(t.style,{left:`${e}px`,top:`${i}px`})})})}l(t),t.classList.add(this._config.classShow),this._queueCallback(this._transitionEnd.bind(this),i?this._dialog:t)}hide(t=!1){const e=this._modal,{classShow:i,classAnimating:s}=this._config;(t||this._isOpen&&!this._isTransitioning&&!e.classList.contains(s))&&(g(this._element,u.HIDE),this._isOpen=!1,this._setTransitioning(!0),this._addAriaAndToggledClass(),e.classList.remove(i),this._setEscapeEvent(),this._queueCallback(this._hideModal.bind(this),this.isModal?this._dialog:e))}_hideModal(){if(this._isOpen)return;const t=this._modal;this.isModal?t.style.display="none":t.style.visibility="hidden",this._focusElement(this.activeElement),t.setAttribute("aria-hidden",!0),t.removeAttribute("aria-modal"),t.removeAttribute("role");const{classAnimation:e,classAnimatedWaiting:i}=this._config;"custom-animation"===e&&this._element.classList.add(i),this._backdrop.hide(this._transitionEnd.bind(this))}_getModalMarkup(){if(this?._modal)return this.modal;const t=this._element,{classTarget:e,classModal:i,classAnimation:s,classModalInitialized:n,modalType:o,instanceIndex:l,classModalDialog:a,classModalContent:r,classModalHeader:c,classModalTitle:d,classDismiss:h}=this._config;let u=t.classList.contains(e)?t.closest(`.${i}`):null,g=null,f=null;if(u)g=t.closest(`.${a}`),f=t.closest(`.${r}`);else{const e=this.isModal,{title:m,selector:p,modalPosition:y,cssText:b,cssTextModal:_,closeButtonColor:v,hideCloseButton:w}=this._modalSettings;u=document.createElement("div"),u.classList.add(i,s,n,`is-${o}`),u.setAttribute("tabindex",-1),m&&u.setAttribute("aria-labelledby",`bb-dialog-title-${l}`),p&&u.classList.add(p),e&&y&&u.classList.add("modal--custom-position"),g=document.createElement("div"),g.classList.add(...a.split(" ")),b&&(e?g.style.cssText=b:u.style.cssText=b),_&&e&&(u.style.cssText=_),f=document.createElement("div"),f.classList.add(r);const E=document.createElement("div");if(E.classList.add(c),m){const t=document.createElement("div");t.classList.add(d),t.textContent=m,t.setAttribute("id",`bb-dialog-title-${l}`),t.style.cssText="position: absolute;width: 1px;height: 1px;padding: 0;margin: -1px;overflow: hidden;clip: rect(0, 0, 0, 0);white-space: nowrap;border-width: 0;",E.appendChild(t),E.classList.add("has-title")}else E.classList.add("has-no-title");if(t.style.cssText){let e=t.style.cssText.split(";");e.length>0&&(e=e.filter(t=>-1!==t.trim().indexOf("--bb--margin-top")||-1!==t.trim().indexOf("--bb--margin-right")),e.length>0&&(E.style.cssText=e.join(";")))}if(!w){const t=document.createElement("button");t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="btn-close__icon"><path d="m13 11.8 6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"/></svg>',t.setAttribute("type","button"),t.setAttribute("aria-label","Close"),t.classList.add("btn-close",h),v&&t.style.setProperty("color",v),E.appendChild(t)}f.appendChild(E),t.parentNode.insertBefore(u,t).appendChild(g).appendChild(f).appendChild(t),t.classList.remove("is-modal-body")}return u.addEventListener("click",t=>{f.contains(t.target)||(this._modalSettings?.forceCloseButtons?this._highlightModal():this.hide())}),f.querySelectorAll(`.${h}`).forEach(t=>{t.addEventListener("click",t=>{t.preventDefault(),this.hide()})}),this._dialog=g,this._modal=u,this._modal}_setEscapeEvent(){const t=this._modal,e=this._onEscape;this._isOpen?t.addEventListener("keydown",e):t.removeEventListener("keydown",e)}_closeOnEscapeKey(t){"Escape"===t.key&&(t.preventDefault(),this._modalSettings?.forceCloseButtons?this._highlightModal():this.hide())}_addAriaAndToggledClass(){const t=this._isOpen,e=this._triggerArray;
169if(e.length){const{classToggledOn:i,classToggledOff:s}=this._config;for(const n of e)n.classList.toggle(i,t),n.classList.toggle(s,!t),n.setAttribute("aria-expanded",t)}this.hasHover&&this._triggerElement.classList.toggle("is-hovered",t)}_setTransitioning(t){this._isTransitioning=t}_transitionEnd(){this._setTransitioning(!1);const t=this._element,e=this._modal,i=this._modalSettings,s=this._config;this._isOpen?(e.focus(),"true"===this._dataset?.toggleFocusFirstElement&&this._focusFirstFocusableElement(t),g(t,u.SHOWN),g(window,u.SHOWN,{target:t,modal:e,config:s,modalSettings:i})):(s.rootElement.classList.remove(s.classRootOpen),i?.disableBackdrop||(this._resetAdjustments(),this._scrollBar.reset()),g(t,u.HIDDEN),g(window,u.HIDDEN,{target:t,modal:e,config:s,modalSettings:i}))}_focusElement(t){if(!t||!document.contains(t))return;if("function"==typeof t.focus&&t.tabIndex>=0)return void t.focus();const e=t.querySelector('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');e?.focus()}_focusFirstFocusableElement(t){let e=t.querySelector(this._config.selectorFocus);e?"DIV"===e?.tagName&&e.classList.contains("wp-block-button")&&(e=e.querySelector("a")):e=t.querySelector('button, input:not([type="hidden"]), select, textarea, a[href]'),e&&requestAnimationFrame(()=>{e.focus()})}_adjustDialog(){const t=this._element,e=t.scrollHeight>document.documentElement.clientHeight,i=this._scrollBar.getWidth(),s=i>0;if(s&&!e){const e=a()?"paddingLeft":"paddingRight";t.style[e]=`${i}px`}if(!s&&e){const e=a()?"paddingRight":"paddingLeft";t.style[e]=`${i}px`}}_resetAdjustments(){const t=this._element;t.style.paddingLeft="",t.style.paddingRight=""}_initializeBackDrop(){const{disableBackdrop:t,forceCloseButtons:e}=this._modalSettings;return new v({isVisible:!t,clickCallback:e?this._highlightModal.bind(this):this.hide.bind(this),rootElement:this._config.rootElement})}_initializeScrollbar(){return this._modalSettings?.disableBackdrop?null:new E}_highlightModal(){const t=this._modal,e=t.style.overflowY,i=this._config,s=this.isModal,n=this._dialog;t.classList.contains(i.classStatic)||(t.classList.add(i.classStatic),t.style.overflowY="hidden",this._queueCallback(()=>{t.classList.remove(i.classStatic),this._queueCallback(()=>{t.style.overflowY=e},s?n:t)},s?n:t))}}r("Modal",qt);const Pt=qt;class $t{constructor(t=""){t||(t=window.location.href),this.parsedURL=new URL(t)}get(t,e=null){return this.parsedURL.searchParams.get(t)||e}set(t,e,i=!0){this.parsedURL.searchParams.set(t,e),i&&history.pushState&&history.pushState({},null,this.parsedURL.href)}delete(t,e=!0){this.parsedURL.searchParams.delete(t),e&&history.pushState&&history.pushState({},null,this.parsedURL.href)}reload(){history?.go?history.go():window.location.reload()}getHref(){return this.parsedURL.href}}window.addEventListener(u.HIDDEN,function({detail:{target:t,modal:e}={}}){t&&e&&t.querySelectorAll(".wp-block-embed-youtube, .wp-block-video, .wp-block-boldblocks-youtube-block").forEach(t=>{var e;t.classList.contains("wp-block-video")?(e=t.querySelector("video"))&&(e.pause(),e.currentTime=0):((t=>t.classList.contains("wp-block-embed-youtube"))(t)||(t=>t.classList.contains("wp-block-boldblocks-youtube-block"))(t))&&(t=>{const e=t.querySelector("iframe");e&&e.src&&e.contentWindow.postMessage('{"event":"command","func":"stopVideo","args":""}',"*")})(t)})}),window.addEventListener(u.SHOWN,function({detail:{target:t,modal:i}={}}){t&&i&&(t.querySelectorAll(".wp-block-embed-youtube").forEach(t=>{const e=t.querySelector("iframe");if(e&&e.src){const t=new $t(e.src);let i=!1;t.get("enablejsapi")||(t.set("enablejsapi",1,!1),i=!0),t.get("playsinline")||(t.set("playsinline",1,!1),i=!0),i&&e.setAttribute("src",t.getHref())}}),t.querySelectorAll(".wp-block-boldblocks-youtube-block .yb-player").forEach(t=>{let i=f(t.getAttribute("data-params"));"object"===e(i)?i.enablejsapi=1:i={enablejsapi:1},t.setAttribute("data-params",JSON.stringify(i))}))});const Wt=new WeakSet;let jt=0;function zt(t){if(Wt.has(t))return;Wt.add(t);let e=t.dataset??{};const i=jt++,s=e?.toggleType??"collapse",n=function(t){const e=t?.dataset?.toggleElement??"";if(e.includes(">>")){const[i,s]=e.split(">>").map(t=>t.trim());let n=i?t.closest(i):null;return n||(n=document),Array.from(n.querySelectorAll(s))}return null}(t);if("collapse"===s)new L(t,{triggerArray:n,classTrigger:"toggle-content-trigger",instanceIndex:i});else if(["modal","offcanvas","popover"].includes(s)){const o=e?e?.toggleModalSettings:null;o&&(e={...e,modalSettings:c(o)}),new Pt(t,{modalType:s,dataset:e,triggerArray:n,classTrigger:"toggle-content-trigger",classRootOpen:`${s}-open`,classAnimation:e?.revealAnimation?"custom-animation":"modal"===s?"fade":"translate",instanceIndex:i})}e?.dynamicContentContainer&&A.observe(e.dynamicContentContainer,{type:"toggle"})}function Vt(t=document){const e=Array.from(t.querySelectorAll(".is-toggle-content"));for(const t of e)zt(t)}d(()=>{Vt()}),x((t,{type:e})=>{e&&"toggle"!==e||Vt(t)});class Ut{constructor(t,e={}){t&&(this.element=t,this.options=Object.assign({root:window},e),this.root=this.options.root,this.isInFlow=t.classList.contains("is-in-flow"),this.isDetectingScroll=t.classList.contains("is-detecting-scroll"),this.resizeTicking=!1,this.scrollTicking=!1,this.init())}init(){this.eventBinding(),this.isDetectingScroll&&requestAnimationFrame(this.handleScroll.bind(this)),this.isInFlow&&requestAnimationFrame(this.calculateStyle.bind(this))}eventBinding(){this.isDetectingScroll&&this.root.addEventListener("scroll",this.updateOnScroll.bind(this)),this.isInFlow&&this.root.addEventListener("resize",this.updateOnResize.bind(this))}buildPlaceholderNode(){if(!this.placeholderNode){const t=document.createElement("div");t.classList.add("is-sticky-placeholder"),t.style.height=`${this.getOuterHeight()}px`,this.element.insertAdjacentElement("afterend",t),this.placeholderNode=t}}getOuterHeight(){return this.element.offsetHeight+parseFloat(this.elementStyle.marginTop)+parseFloat(this.elementStyle.marginBottom)}calculateStyle(){this.elementStyle||(this.elementStyle=getComputedStyle(this.element)),this.buildPlaceholderNode(),this.placeholderNode.style.height=`${this.getOuterHeight()}px`,this.resizeTicking=!1}updateOnResize(){this.resizeTicking||(requestAnimationFrame(this.calculateStyle.bind(this)),this.resizeTicking=!0)}handleScroll(){this.element.classList.toggle("has-scrolled",this.root.scrollY>0),this.scrollTicking=!1}updateOnScroll(){this.scrollTicking||(requestAnimationFrame(this.handleScroll.bind(this)),this.scrollTicking=!0)}}d(()=>document.querySelectorAll(".is-fixed.is-in-flow, .is-fixed.is-detecting-scroll").forEach(t=>new Ut(t)));const Yt=t=>
169{const e=t.querySelector("video"),i=t.querySelector(".cbb-video-play-pause");if(e&&i){const t=(t,e)=>{t.classList.toggle("is-paused",e),t.classList.toggle("is-playing",!e)};e.addEventListener("play",()=>{t(i,!1)}),e.addEventListener("pause",()=>{t(i,!0)}),i.addEventListener("click",()=>{e?.paused?e.play():e.pause()})}};d(()=>document.querySelectorAll(".cbb-has-video-controls").forEach(Yt));const Kt="is__animated",Jt="is__animating",Xt="animate__waiting",Zt=t=>(t._cbbAnimationData||(t._cbbAnimationData=c(t.dataset.revealAnimation)),t._cbbAnimationData),Gt=(t="")=>t.trim().split(" ")[0]??"";function Qt(t,{effectClass:e,animatingClass:i=Jt,animatedClass:s=Kt}={}){t.style.animation="",e&&t.classList.remove(e),t.classList.remove(i),s&&t.classList.remove(s)}function te(t,{waitingClass:e=Xt}={}){t.classList.add(e)}function ee(t,e={}){((t,{prefix:e="effect__",name:i,animation:s,multipleTimes:n,animatedClass:o=Kt,animatingClass:l=Jt,waitingClass:a=Xt,callback:r,forwards:c})=>{if(!i||!s)return;if(t.classList.contains(l))return;const d=i.split(",").map(t=>t.trim()),h=s.split(/,(?![^()]*\))/).map(t=>t.trim());let u=0,g=d[u]?`${e}${d[u]}`:"",f=Gt(h[u]);const m=Math.min(d.length,h.length);new Promise(i=>{t.classList.remove(a),t.style.animation&&(t.style.animation="",t.offsetWidth),t.style.animation=h[u],t.classList.add(l,o),g&&t.classList.add(g),t.addEventListener("animationend",function s(o){if(o.target===t){if(o.stopPropagation(),g&&t.classList.remove(g),u++,u<m){g=d[u]?`${e}${d[u]}`:"";const i=h[u]??"",s=Gt(i);return t.style.animation="",f===s&&t.offsetWidth,t.style.animation=i,g&&t.classList.add(g),void(f=s)}t.removeEventListener("animationend",s),t.classList.remove(l),n&&(c||Qt(t,{effectClass:g,animatedClass:""}),"function"==typeof r&&r()),i(`Animation ${u} ended`)}})})})(t,{...Zt(t),...e})}const ie=new class{constructor(t={}){this.options=Object.assign({root:null,rootMargin:"0px",animatingClass:Jt,animatedClass:Kt},t),this.observedElements=new WeakSet,this.observer=new IntersectionObserver(this.handleIntersect.bind(this),{root:this.options.root,rootMargin:this.options.rootMargin})}observe(t=[],e){Array.from(t).forEach(t=>{e&&(delete t._cbbAnimationData,Qt(t),te(t)),this.observedElements.has(t)?ee(t,this.options):(this.observedElements.add(t),this.observer.observe(t))})}handleIntersect(t){const{animatedClass:e,animatingClass:i}=this.options;t.forEach(t=>{const s=t.target;if(t.isIntersecting)return void(s.classList.contains(e)||ee(s,this.options));const n=Zt(s);if(n?.multipleTimes){if((n.name?.split(",").length??0)<=1)return Qt(s),void te(s);s.classList.contains(i)||(Qt(s),te(s))}})}};function se(t,e=!1){ie.observe(t,e)}r("doAnimation",se);const ne=(t=document)=>{let e=[].slice.call(t.querySelectorAll("[data-reveal-animation]"));e.length&&(e=e.filter(t=>!t.closest(".js-carousel-layout")&&!t.closest(".is-toggle-content")),se(e))};d(()=>{ne()}),x((t,{type:e})=>{e||ne(t)})})() 170;var CBBBreakpoints={"sm":{"breakpoint":576,"prefix":"sm","breakpointMax":575,"minQuery":"","maxQuery":"@media (max-width: 575px){##MAX_CONTENT##}"},"md":{"breakpoint":768,"prefix":"md","breakpointMax":767,"minQuery":"@media (min-width: 768px){##CONTENT##}","maxQuery":"@media (max-width: 767px){##MAX_CONTENT##}"},"lg":{"breakpoint":1024,"prefix":"lg","breakpointMax":1023,"minQuery":"@media (min-width: 1024px){##CONTENT##}","maxQuery":"@media (max-width: 1023px){##MAX_CONTENT##}"}} 171;(()=>{var e={803:()=>{window.addEventListener("cbb.carousel.afterInit",function({detail:{swiper:e}}){const t=e.el.parentNode;if(t.classList.contains("has-preloader")){let e=t.firstElementChild;for(;e;){if(e.classList.contains("cbb-loader")){e.remove();break}e=e.nextElementSibling}}})}},t={};function s(i){var a=t[i];if(void 0!==a)return a.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,s),r.exports}(()=>{"use strict";const e="transitionend",t=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),i=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),a=e=>{return i(e)?e?.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(((t=e)&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),t)):null;var t}
171,r=(t,s,i=!1)=>{if("function"==typeof t){if(i)return void t();const a=5,r=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:s}=window.getComputedStyle(e);const i=Number.parseFloat(t),a=Number.parseFloat(s);return i||a?(t=t.split(",")[0],s=s.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(s))):0})(s)+a;let l=!1;const o=({target:i})=>{i===s&&(l=!0,s.removeEventListener(e,o),n(t))};s.addEventListener(e,o),setTimeout(()=>{l||s.dispatchEvent(new Event(e))},r)}},n=e=>{"function"==typeof e&&e()},l=e=>{e.offsetHeight},o=(e,t)=>{var s;window.CBB=null!==(s=window?.CBB)&&void 0!==s?s:{},window.CBB={...window.CBB,[e]:t}},d=e=>{try{return JSON.parse(Object.assign(document.createElement("textarea"),{innerHTML:e||"{}"}).value)}catch{return{}}},c=e=>"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e),p=e=>{var s;"object"!==t(e)&&console.error("The parameter must be an object");let i=null!==(s=window?.CBB?.Util)&&void 0!==s&&s;i="object"===t(i)?{...i,...e}:e,o("Util",i)};p({toType:t,getUID:e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e},noop:()=>{},isElement:i,executeAfterTransition:r,execute:n,reflow:l,isRTL:()=>"rtl"===document.documentElement.dir,parseJSON:d,domReady:c,exposeComponent:o});const u={SHOW:"show.boldblocks",SHOWN:"shown.boldblocks",HIDE:"hide.boldblocks",HIDDEN:"hidden.boldblocks",INIT:"init.boldblocks"},h=(e,t,s={})=>{const i=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:s});return e.dispatchEvent(i),i};function m(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function f(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function g(e,t){return m(e.getAttribute(`data-${f(t)}`))}p({EVENTS:u,triggerEvent:h}),o("Dataset",{normalizeData:m,normalizeDataKey:f,getDataAttributes:function(e,t=e=>e,s=e=>e){if(!e)return{};const i={},a=Object.keys(e.dataset).filter(t);for(const t of a){let a=s(t);a=a.charAt(0).toLowerCase()+a.slice(1,a.length),i[a]=m(e.dataset[t])}return i},getDataAttribute:g,setDataAttribute:function(e,t,s){e.setAttribute(`data-${f(t)}`,s)},removeDataAttribute:function(e,t){e.removeAttribute(`data-${f(t)}`)}});const v=new Map,b={set(e,t,s){v.has(e)||v.set(e,new Map);const i=v.get(e);i.has(t)||0===i.size?i.set(t,s):console.error(`Doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(e,t)=>v.has(e)&&v.get(e).get(t)||null,remove(e,t){if(!v.has(e))return;const s=v.get(e);s.delete(t),0===s.size&&v.delete(e)}};o("Data",b);class w{constructor(e,t){(e=a(e))&&(this._element=e,this._config=this._getConfig(t),b.set(this._element,this.constructor.DATA_KEY,this))}dispose(){b.remove(this._element,this.constructor.DATA_KEY)}_queueCallback(e,t,s=!1){r(e,t,s)}_getConfig(e,t=this._element){return this._mergeConfigObj(e,t)}_mergeConfigObj(e,t){const s=i(t)?g(t,"cbbConfig"):{};return{...this.defaultConfig(),..."object"==typeof s?s:{},..."object"==typeof e?e:{}}}_parseConfigObj(e){return{...this.constructor.Default,..."object"==typeof e?e:{}}}defaultConfig(){return{}}filterKey(e){return e}refineKey(e){return e}static getInstance(e){return b.get(a(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`cbb.${this.NAME}`}}o("BaseComponent",w),o("Backdrop",class{constructor(e={}){this._element=null,this._isAppended=!1;const t={isVisible:!0,rootElement:document.body,classBackdrop:"modal-backdrop fade",classShow:"show",clickCallback:null};this._config=Object.assign(t,e)}show(e){this._config.isVisible?(this._append(),l(this._getElement()),this._getElement().classList.add(this._config.classShow),r(e,this._getElement())):n(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove(this._config.classShow),r(()=>{this.dispose(),e()},this._getElement())):n(e)}dispose(){this._isAppended&&(this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.classBackdrop,this._element=e}return this._element}_append(){this._isAppended||(this._config.rootElement.appendChild(this._getElement()),"function"==typeof this._config.clickCallback&&this._getElement().addEventListener("click",e=>{e.preventDefault(),this._config.clickCallback()}),this._isAppended=!0)}});const y="padding-right";function S(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}
171function E(e={},t={}){const s=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>s.indexOf(e)<0).forEach(s=>{void 0===e[s]?e[s]=t[s]:S(t[s])&&S(e[s])&&Object.keys(t[s]).length>0&&E(e[s],t[s])})}o("ScrollBarHelper",class{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,y,t=>t+e)}reset(){this._resetElementAttributes("overflow"),this._resetElementAttributes(y)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,s){const i=this.getWidth();this._applyManipulationCallback(e,e=>{if(window.innerWidth>e.clientWidth+i)return;this._saveInitialAttribute(e,t);const a=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${s(Number.parseFloat(a))}px`)})}_saveInitialAttribute(e,t){const s=e.style.getPropertyValue(t);s&&e.setAttribute(`data-${t}`,s)}_resetElementAttributes(e){const t=this._element?.dataset?this._element.dataset[e]:null;this._element.removeAttribute(`data-${e}`),t?this._element.style.setProperty(e,t):this._element.style.removeProperty(e)}
vendor: 29,258 bytes, line 171
171_applyManipulationCallback(e,t){t(e)}}),new class{constructor(){this.observedContainers=new WeakMap,this.pendingFrames=new WeakMap}update(e=document,t){h(document,"cbb.observer.updated",{container:e,args:t})}observe(e,t={}){if("string"==typeof e&&(e=document.querySelector(e)),!(e instanceof HTMLElement))return;if(this.observedContainers.has(e))return;const s=new MutationObserver(s=>{if(this.pendingFrames.has(e))return;const i=requestAnimationFrame(()=>{this.pendingFrames.delete(e),this.update(e,t)});this.pendingFrames.set(e,i)});s.observe(e,{childList:!0,subtree:!0}),this.observedContainers.set(e,s)}};const x={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function T(){const e="undefined"!=typeof document?document:{};return E(e,x),e}const C={document:x,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function M(){const e="undefined"!=typeof window?window:{};return E(e,C),e}function P(e=""){return e.trim().split(" ").filter(e=>!!e.trim())}function L(e,t=0){return setTimeout(e,t)}function I(){return Date.now()}function A(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function k(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function O(...e){const t=Object(e[0]),s=["__proto__","constructor","prototype"];for(let i=1;i<e.length;i+=1){const a=e[i];if(null!=a&&!k(a)){const e=Object.keys(Object(a)).filter(e=>s.indexOf(e)<0);for(let s=0,i=e.length;s<i;s+=1){const i=e[s],r=Object.getOwnPropertyDescriptor(a,i);void 0!==r&&r.enumerable&&(A(t[i])&&A(a[i])?a[i].__swiper__?t[i]=a[i]:O(t[i],a[i]):!A(t[i])&&A(a[i])?(t[i]={},a[i].__swiper__?t[i]=a[i]:O(t[i],a[i])):t[i]=a[i])}}}return t}function $(e,t,s){e.style.setProperty(t,s)}function z({swiper:e,targetPosition:t,side:s}){const i=M(),a=-e.translate;let r,n=null;const l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(e.cssModeFrameID);const o=t>a?"next":"prev",d=(e,t)=>"next"===o&&e>=t||"prev"===o&&e<=t,c=()=>{r=(new Date).getTime(),null===n&&(n=r);const o=Math.max(Math.min((r-n)/l,1),0),p=.5-Math.cos(o*Math.PI)/2;let u=a+p*(t-a);if(d(u,t)&&(u=t),e.wrapperEl.scrollTo({[s]:u}),d(u,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:u})}),void i.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=i.requestAnimationFrame(c)};c()}function D(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function _(e,t=""){const s=M(),i=[...e.children];return s.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t?i.filter(e=>e.matches(t)):i}function B(e){try{return void console.warn(e)}catch(e){}}function G(e,t=[]){const s=document.createElement(e);return s.classList.add(...Array.isArray(t)?t:P(t)),s}function N(e,t){return M().getComputedStyle(e,null).getPropertyValue(t)}function q(e){let t,s=e;if(s){for(t=0;null!==(s=s.previousSibling);)1===s.nodeType&&(t+=1);return t}}function F(e,t){const s=[];let i=e.parentElement;for(;i;)t?i.matches(t)&&s.push(i):s.push(i),i=i.parentElement;return s}function H(e,t,s){const i=M();return s?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function V(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function R(e){return t=>Math.abs(t)>0&&e.browser&&e.browser.need3dFix&&Math.abs(t)%90==0?t+.001:t}function j(e,t=""){"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let W,Y,X;function U(){return W||(W=function(){const e=M(),t=T();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),W}function K(e={}){return Y||(Y=function({userAgent:e}={}){const t=U(),s=M(),i=s.navigator.platform,a=e||s.navigator.userAgent,r={ios:!1,android:!1},n=s.screen.width,l=s.screen.height,o=a.match(/(Android);?[\s\/]+([\d.]+)?/);let d=a.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const c=a.match(/(iPod)(.*OS\s([\d_]+))?/),p=!d&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),u="Win32"===i;let h="MacIntel"===i;return!d&&h&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${n}x${l}`)>=0&&(d=a.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),h=!1),o&&!u&&(r.os="android",r.android=!0),(d||p||c)&&(r.os="ios",r.ios=!0),r}(e)),Y}function Z(){return X||(X=function(){const e=M(),t=K();let s=!1;function i(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(i()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,i]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));s=e<16||16===e&&i<2}}const a=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),r=i();return{isSafari:s||r,needPerspectiveFix:s,need3dFix:r||a&&t.ios,isWebView:a}}()),X}var J={on(e,t,s){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const a=s?"unshift":"push";return e.split(" ").forEach(e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][a](t)}),i},once(e,t,s){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function a(...s){i.off(e,a),a.__emitterProxy&&delete a.__emitterProxy,t.apply(i,s)}return a.__emitterProxy=t,i.on(e,a,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const i=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[i](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach((i,a)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&s.eventsListeners[e].splice(a,1)})}),s):s},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let s,i,a;return"string"==typeof e[0]||Array.isArray(e[0])?(s=e[0],i=e.slice(1,e.length),a=t):(s=e[0].events,i=e[0].data,a=e[0].context||t),i.unshift(a),(Array.isArray(s)?s:s.split(" ")).forEach(e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(t=>{t.apply(a,[e,...i])}),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach(e=>{e.apply(a,i)})}),t}};const Q=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)},ee=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)},te=(e,t)=>{if(!e||e.destroyed||!e.params)return;const s=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(s){let t=s.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(s.shadowRoot?t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{s.shadowRoot&&(t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&!t.lazyPreloaderManaged&&t.remove())})),t&&!t.lazyPreloaderManaged&&t.remove()}},se=(e,t)=>{if(!e.slides[t])return;const s=e.slides[t].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")},ie=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const s=e.slides.length;if(!s||!t||t<0)return;t=Math.min(t,s);const i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),a=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const s=a,r=[s-t];return r.push(...Array.from({length:t}).map((e,t)=>s+i+t)),void e.slides.forEach((t,s)=>{r.includes(t.column)&&se(e,s)})}const r=a+i-1;if(e.params.rewind||e.params.loop)for(let i=a-t;i<=r+t;i+=1){const t=(i%s+s)%s;(t<a||t>r)&&se(e,t)}else for(let i=Math.max(a-t,0);i<=Math.min(r+t,s-1);i+=1)i!==a&&(i>r||i<a)&&se(e,i)};var ae={updateSize:function(){const e=this;let t,s;const i=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:i.clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:i.clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(N(i,"padding-left")||0,10)-parseInt(N(i,"padding-right")||0,10),s=s-parseInt(N(i,"padding-top")||0,10)-parseInt(N(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))},updateSlides:function(){const e=this;function t(t,s){return parseFloat(t.getPropertyValue(e.getDirectionLabel(s))||0)}const s=e.params,{wrapperEl:i,slidesEl:a,rtlTranslate:r,wrongRTL:n}=e,l=e.virtual&&s.virtual.enabled,o=l?e.virtual.slides.length:e.slides.length,d=_(a,`.${e.params.slideClass}, swiper-slide`),c=l?e.virtual.slides.length:d.length;let p=[];const u=[],h=[];let m=s.slidesOffsetBefore;"function"==typeof m&&(m=s.slidesOffsetBefore.call(e));let f=s.slidesOffsetAfter;"function"==typeof f&&(f=s.slidesOffsetAfter.call(e));const g=e.snapGrid.length,v=e.slidesGrid.length,b=e.size-m-f;let w=s.spaceBetween,y=-m,S=0,E=0;if(void 0===b)return;"string"==typeof w&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*b:"string"==typeof w&&(w=parseFloat(w)),e.virtualSize=-w-m-f,d.forEach(e=>{r?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),s.centeredSlides&&s.cssMode&&($(i,"--swiper-centered-offset-before",""),$(i,"--swiper-centered-offset-after","")),s.cssMode&&($(i,"--swiper-slides-offset-before",`${m}px`),$(i,"--swiper-slides-offset-after",`${f}px`));const x=s.grid&&s.grid.rows>1&&e.grid;let T;x?e.grid.initSlides(d):e.grid&&e.grid.unsetSlides();const C="auto"===s.slidesPerView&&s.breakpoints&&Object.keys(s.breakpoints).filter(e=>void 0!==s.breakpoints[e].slidesPerView).length>0;for(let i=0;i<c;i+=1){T=0;const a=d[i];if(!a||(x&&e.grid.updateSlide(i,a,d),"none"!==N(a,"display"))){if(l&&"auto"===s.slidesPerView)s.virtual.slidesPerViewAutoSlideSize&&(T=s.virtual.slidesPerViewAutoSlideSize),T&&a&&(s.roundLengths&&(T=Math.floor(T)),a.style[e.getDirectionLabel("width")]=`${T}px`);else if("auto"===s.slidesPerView){C&&(a.style[e.getDirectionLabel("width")]="");const i=getComputedStyle(a),r=a.style.transform,n=a.style.webkitTransform;if(r&&(a.style.transform="none"),n&&(a.style.webkitTransform="none"),s.roundLengths)T=e.isHorizontal()?H(a,"width",!0):H(a,"height",!0);else{const e=t(i,"width"),s=t(i,"padding-left"),r=t(i,"padding-right"),n=t(i,"margin-left"),l=t(i,"margin-right"),o=i.getPropertyValue("box-sizing");if(o&&"border-box"===o)T=e+n+l;else{const{clientWidth:t,offsetWidth:i}=a;T=e+s+r+n+l+(i-t)}}r&&(a.style.transform=r),n&&(a.style.webkitTransform=n),s.roundLengths&&(T=Math.floor(T))}else T=(b-(s.slidesPerView-1)*w)/s.slidesPerView,s.roundLengths&&(T=Math.floor(T)),a&&(a.style[e.getDirectionLabel("width")]=`${T}px`);a&&(a.swiperSlideSize=T),h.push(T),s.centeredSlides?(y=y+T/2+S/2+w,0===S&&0!==i&&(y=y-b/2-w),0===i&&(y=y-b/2-w),Math.abs(y)<.001&&(y=0),s.roundLengths&&(y=Math.floor(y)),E%s.slidesPerGroup===0&&p.push(y),u.push(y)):(s.roundLengths&&(y=Math.floor(y)),(E-Math.min(e.params.slidesPerGroupSkip,E))%e.params.slidesPerGroup===0&&p.push(y),u.push(y),y=y+T+w),e.virtualSize+=T+w,S=T,E+=1}}if(e.virtualSize=Math.max(e.virtualSize,b)+f,r&&n&&("slide"===s.effect||"coverflow"===s.effect)&&(i.style.width=`${e.virtualSize+w}px`),s.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=`${e.virtualSize+w}px`),x&&e.grid.updateWrapperSize(T,p),!s.centeredSlides){const t="auto"!==s.slidesPerView&&s.slidesPerView%1!=0,i=s.snapToSlideEdge&&!s.loop&&("auto"===s.slidesPerView||t);let a=p.length;if(i){let e;if("auto"===s.slidesPerView){e=1;let t=0;for(let s=h.length-1;s>=0&&(t+=h[s]+(s<h.length-1?w:0),t<=b);s-=1)e=h.length-s}else e=Math.floor(s.slidesPerView);a=Math.max(c-e,0)}const r=[];for(let t=0;t<p.length;t+=1){let n=p[t];s.roundLengths&&(n=Math.floor(n)),i?t<=a&&r.push(n):p[t]<=e.virtualSize-b&&r.push(n)}p=r,Math.floor(e.virtualSize-b)-Math.floor(p[p.length-1])>1&&(i||p.push(e.virtualSize-b))}if(l&&s.loop){const t=h[0]+w;if(s.slidesPerGroup>1){const i=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/s.slidesPerGroup),a=t*s.slidesPerGroup;for(let e=0;e<i;e+=1)p.push(p[p.length-1]+a)}for(let i=0;i<e.virtual.slidesBefore+e.virtual.slidesAfter;i+=1)1===s.slidesPerGroup&&p.push(p[p.length-1]+t),u.push(u[u.length-1]+t),e.virtualSize+=t}if(0===p.length&&(p=[0]),0!==w){const t=e.isHorizontal()&&r?"marginLeft":e.getDirectionLabel("marginRight");d.filter((e,t)=>!(s.cssMode&&!s.loop)||t!==d.length-1).forEach(e=>{e.style[t]=`${w}px`})}if(s.centeredSlides&&s.centeredSlidesBounds){let e=0;h.forEach(t=>{e+=t+(w||0)}),e-=w;const t=e>b?e-b:0;p=p.map(e=>e<=0?-m:e>t?t+f:e)}if(s.centerInsufficientSlides){let e=0;h.forEach(t=>{e+=t+(w||0)}),e-=w;const t=(m||0)+(f||0);if(e+t<b){const s=(b-e-t)/2;p.forEach((e,t)=>{p[t]=e-s}),u.forEach((e,t)=>{u[t]=e+s})}}if(Object.assign(e,{slides:d,snapGrid:p,slidesGrid:u,slidesSizesGrid:h}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){$(i,"--swiper-centered-offset-before",-p[0]+"px"),$(i,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+s)}if(c!==o&&e.emit("slidesLengthChange"),p.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),u.length!==v&&e.emit("slidesGridLengthChange"),s.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||s.cssMode||"slide"!==s.effect&&"fade"!==s.effect)){const t=`${s.containerModifierClass}backface-hidden`,i=e.el.classList.contains(t);c<=s.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,s=[],i=t.virtual&&t.params.virtual.enabled;let a,r=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const n=e=>i?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{s.push(e)});else for(a=0;a<Math.ceil(t.params.slidesPerView);a+=1){const e=t.activeIndex+a;if(e>t.slides.length&&!i)break;s.push(n(e))}else s.push(n(t.activeIndex));for(a=0;a<s.length;a+=1)if(void 0!==s[a]){const e=s[a].offsetHeight;r=e>r?e:r}(r||0===r)&&(t.wrapperEl.style.height=`${r}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,s=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=(e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop)-s-e.cssOverflowAdjustment()},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,s=t.params,{slides:i,rtlTranslate:a,snapGrid:r}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let n=-e;a&&(n=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let l=s.spaceBetween;"string"==typeof l&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*t.size:"string"==typeof l&&(l=parseFloat(l));for(let e=0;e<i.length;e+=1){const o=i[e];let d=o.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(d-=i[0].swiperSlideOffset);const c=(n+(s.centeredSlides?t.minTranslate():0)-d)/(o.swiperSlideSize+l),p=(n-r[0]+(s.centeredSlides?t.minTranslate():0)-d)/(o.swiperSlideSize+l),u=-(n-d),h=u+t.slidesSizesGrid[e],m=u>=0&&u<=t.size-t.slidesSizesGrid[e],f=u>=0&&u<t.size-1||h>1&&h<=t.size||u<=0&&h>=t.size;f&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(e)),Q(o,f,s.slideVisibleClass),Q(o,m,s.slideFullyVisibleClass),o.progress=a?-c:c,o.originalProgress=a?-p:p}},updateProgress:function(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:a,isBeginning:r,isEnd:n,progressLoop:l}=t;const o=r,d=n;if(0===i)a=0,r=!0,n=!0;else{a=(e-t.minTranslate())/i;const s=Math.abs(e-t.minTranslate())<1,l=Math.abs(e-t.maxTranslate())<1;r=s||a<=0,n=l||a>=1,s&&(a=0),l&&(a=1)}if(s.loop){const s=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),a=t.slidesGrid[s],r=t.slidesGrid[i],n=t.slidesGrid[t.slidesGrid.length-1],o=Math.abs(e);l=o>=a?(o-a)/n:(o+n-r)/n,l>1&&(l-=1)}Object.assign(t,{progress:a,progressLoop:l,isBeginning:r,isEnd:n}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),n&&!d&&t.emit("reachEnd toEdge"),(o&&!r||d&&!n)&&t.emit("fromEdge"),t.emit("progress",a)},updateSlidesClasses:function(){const e=this,{slides:t,params:s,slidesEl:i,activeIndex:a}=e,r=e.virtual&&s.virtual.enabled,n=e.grid&&s.grid&&s.grid.rows>1,l=e=>_(i,`.${s.slideClass}${e}, swiper-slide${e}`)[0];let o,d,c;if(r)if(s.loop){let t=a-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),o=l(`[data-swiper-slide-index="${t}"]`)}else o=l(`[data-swiper-slide-index="${a}"]`);else n?(o=t.find(e=>e.column===a),c=t.find(e=>e.column===a+1),d=t.find(e=>e.column===a-1)):o=t[a];o&&(n||(c=function(e,t){const s=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;t?i.matches(t)&&s.push(i):s.push(i),e=i}return s}(o,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!c&&(c=t[0]),d=function(e,t){const s=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;t?i.matches(t)&&s.push(i):s.push(i),e=i}return s}(o,`.${s.slideClass}, swiper-slide`)[0],s.loop&&0===!d&&(d=t[t.length-1]))),t.forEach(e=>{ee(e,e===o,s.slideActiveClass),ee(e,e===c,s.slideNextClass),ee(e,e===d,s.slidePrevClass)}),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:a,activeIndex:r,realIndex:n,snapIndex:l}=t;let o,d=e;const c=e=>{let s=e-t.virtual.slidesBefore;return s<0&&(s=t.virtual.slides.length+s),s>=t.virtual.slides.length&&(s-=t.virtual.slides.length),s};if(void 0===d&&(d=function(e){const{slidesGrid:t,params:s}=e,i=e.rtlTranslate?e.translate:-e.translate;let a;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?i>=t[e]&&i<t[e+1]-(t[e+1]-t[e])/2?a=e:i>=t[e]&&i<t[e+1]&&(a=e+1):i>=t[e]&&(a=e);return s.normalizeSlideIndex&&(a<0||void 0===a)&&(a=0),a}(t)),i.indexOf(s)>=0)o=i.indexOf(s);else{const e=Math.min(a.slidesPerGroupSkip,d);o=e+Math.floor((d-e)/a.slidesPerGroup)}if(o>=i.length&&(o=i.length-1),d===r&&!t.params.loop)return void(o!==l&&(t.snapIndex=o,t.emit("snapIndexChange")));if(d===r&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=c(d));const p=t.grid&&a.grid&&a.grid.rows>1;let u;if(t.virtual&&a.virtual.enabled)u=a.loop?c(d):d;else if(p){const e=t.slides.find(e=>e.column===d);let s=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(s)&&(s=Math.max(t.slides.indexOf(e),0)),u=Math.floor(s/a.grid.rows)}else if(t.slides[d]){const e=t.slides[d].getAttribute("data-swiper-slide-index");u=e?parseInt(e,10):d}else u=d;Object.assign(t,{previousSnapIndex:l,snapIndex:o,previousRealIndex:n,realIndex:u,previousIndex:r,activeIndex:d}),t.initialized&&ie(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(n!==u&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const s=this,i=s.params;let a=e.closest(`.${i.slideClass}, swiper-slide`);!a&&s.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!a&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(a=e)});let r,n=!1;if(a)for(let e=0;e<s.slides.length;e+=1)if(s.slides[e]===a){n=!0,r=e;break}if(!a||!n)return s.clickedSlide=void 0,void(s.clickedIndex=void 0);s.clickedSlide=a,s.virtual&&s.params.virtual.enabled?s.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):s.clickedIndex=r,i.slideToClickedSlide&&void 0!==s.clickedIndex&&s.clickedIndex!==s.activeIndex&&s.slideToClickedSlide()}};function re({swiper:e,runCallbacks:t,direction:s,step:i}){const{activeIndex:a,previousIndex:r}=e;let n=s;n||(n=a>r?"next":a<r?"prev":"reset"),e.emit(`transition${i}`),t&&"reset"===n?e.emit(`slideResetTransition${i}`):t&&a!==r&&(e.emit(`slideChangeTransition${i}`),"next"===n?e.emit(`slideNextTransition${i}`):e.emit(`slidePrevTransition${i}`))}var ne={slideTo:function(e=0,t,s=!0,i,a){"string"==typeof e&&(e=parseInt(e,10));const r=this;let n=e;n<0&&(n=0);const{params:l,snapGrid:o,slidesGrid:d,previousIndex:c,activeIndex:p,rtlTranslate:u,wrapperEl:h,enabled:m}=r;if(!m&&!i&&!a||r.destroyed||r.animating&&l.preventInteractionOnTransition)return!1;void 0===t&&(t=r.params.speed);const f=Math.min(r.params.slidesPerGroupSkip,n);let g=f+Math.floor((n-f)/r.params.slidesPerGroup);g>=o.length&&(g=o.length-1);const v=-o[g];if(l.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){const t=-Math.floor(100*v),s=Math.floor(100*d[e]),i=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=s&&t<i-(i-s)/2?n=e:t>=s&&t<i&&(n=e+1):t>=s&&(n=e)}if(r.initialized&&n!==p){if(!r.allowSlideNext&&(u?v>r.translate&&v>r.minTranslate():v<r.translate&&v<r.minTranslate()))return!1;if(!r.allowSlidePrev&&v>r.translate&&v>r.maxTranslate()&&(p||0)!==n)return!1}let b;n!==(c||0)&&s&&r.emit("beforeSlideChangeStart"),r.updateProgress(v),b=n>p?"next":n<p?"prev":"reset";const w=r.virtual&&r.params.virtual.enabled;if((!w||!a)&&(u&&-v===r.translate||!u&&v===r.translate))return r.updateActiveIndex(n),l.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==l.effect&&r.setTranslate(v),"reset"!==b&&(r.transitionStart(s,b),r.transitionEnd(s,b)),!1;if(l.cssMode){const e=r.isHorizontal(),s=u?v:-v;if(0===t)w&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),w&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[e?"scrollLeft":"scrollTop"]=s})):h[e?"scrollLeft":"scrollTop"]=s,w&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1});else{if(!r.support.smoothScroll)return z({swiper:r,targetPosition:s,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}const y=Z().isSafari;return w&&!a&&y&&r.isElement&&r.virtual.update(!1,!1,n),r.setTransition(t),r.setTranslate(v),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(s,b),0===t?r.transitionEnd(s,b):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(s,b))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t,s=!0,i){"string"==typeof e&&(e=parseInt(e,10));const a=this;if(a.destroyed)return;void 0===t&&(t=a.params.speed);const r=a.grid&&a.params.grid&&a.params.grid.rows>1;let n=e;if(a.params.loop)if(a.virtual&&a.params.virtual.enabled)n+=a.virtual.slidesBefore;else{let e;if(r){const t=n*a.params.grid.rows;e=a.slides.find(e=>1*e.getAttribute("data-swiper-slide-index")===t).column}else e=a.getSlideIndexByData(n);const t=r?Math.ceil(a.slides.length/a.params.grid.rows):a.slides.length,{centeredSlides:s,slidesOffsetBefore:l,slidesOffsetAfter:o}=a.params,d=s||!!l||!!o;let c=a.params.slidesPerView;"auto"===c?c=a.slidesPerViewDynamic():(c=Math.ceil(parseFloat(a.params.slidesPerView,10)),d&&c%2==0&&(c+=1));let p=t-e<c;if(d&&(p=p||e<Math.ceil(c/2)),i&&d&&"auto"!==a.params.slidesPerView&&!r&&(p=!1),p){const s=d?e<a.activeIndex?"prev":"next":e-a.activeIndex-1<a.params.slidesPerView?"next":"prev";a.loopFix({direction:s,slideTo:!0,activeSlideIndex:"next"===s?e+1:e-t+1,slideRealIndex:"next"===s?a.realIndex:void 0})}if(r){const e=n*a.params.grid.rows;n=a.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e).column}else n=a.getSlideIndexByData(n)}return requestAnimationFrame(()=>{a.slideTo(n,t,s,i)}),a},slideNext:function(e,t=!0,s){const i=this,{enabled:a,params:r,animating:n}=i;if(!a||i.destroyed)return i;void 0===e&&(e=i.params.speed);let l=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(l=Math.max(i.slidesPerViewDynamic("current",!0),1));const o=i.activeIndex<r.slidesPerGroupSkip?1:l,d=i.virtual&&r.virtual.enabled;if(r.loop){if(n&&!d&&r.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+o,e,t,s)}),!0}return r.rewind&&i.isEnd?i.slideTo(0,e,t,s):i.slideTo(i.activeIndex+o,e,t,s)},slidePrev:function(e,t=!0,s){const i=this,{params:a,snapGrid:r,slidesGrid:n,rtlTranslate:l,enabled:o,animating:d}=i;if(!o||i.destroyed)return i;void 0===e&&(e=i.params.speed);const c=i.virtual&&a.virtual.enabled;if(a.loop){if(d&&!c&&a.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}function p(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const u=p(l?i.translate:-i.translate),h=r.map(e=>p(e)),m=a.freeMode&&a.freeMode.enabled;let f=r[h.indexOf(u)-1];if(void 0===f&&(a.cssMode||m)){let e;r.forEach((t,s)=>{u>=t&&(e=s)}),void 0!==e&&(f=m?r[e]:r[e>0?e-1:e])}let g=0;if(void 0!==f&&(g=n.indexOf(f),g<0&&(g=i.activeIndex-1),"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(g=g-i.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),a.rewind&&i.isBeginning){const a=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(a,e,t,s)}return a.loop&&0===i.activeIndex&&a.cssMode?(requestAnimationFrame(()=>{i.slideTo(g,e,t,s)}),!0):i.slideTo(g,e,t,s)},slideReset:function(e,t=!0,s){const i=this;if(!i.destroyed)return void 0===e&&(e=i.params.speed),i.slideTo(i.activeIndex,e,t,s)},slideToClosest:function(e,t=!0,s,i=.5){const a=this;if(a.destroyed)return;void 0===e&&(e=a.params.speed);let r=a.activeIndex;const n=Math.min(a.params.slidesPerGroupSkip,r),l=n+Math.floor((r-n)/a.params.slidesPerGroup),o=a.rtlTranslate?a.translate:-a.translate;if(o>=a.snapGrid[l]){const e=a.snapGrid[l];o-e>(a.snapGrid[l+1]-e)*i&&(r+=a.params.slidesPerGroup)}else{const e=a.snapGrid[l-1];o-e<=(a.snapGrid[l]-e)*i&&(r-=a.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,a.slidesGrid.length-1),a.slideTo(r,e,t,s)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:s}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let a,r=e.getSlideIndexWhenGrid(e.clickedIndex);const n=e.isElement?"swiper-slide":`.${t.slideClass}`,l=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;a=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(a):r>(l?(e.slides.length-i)/2-(e.params.grid.rows-1):e.slides.length-i)?(e.loopFix(),r=e.getSlideIndex(_(s,`${n}[data-swiper-slide-index="${a}"]`)[0]),L(()=>{e.slideTo(r)})):e.slideTo(r)}else e.slideTo(r)}},le={loopCreate:function(e,t){const s=this,{params:i,slidesEl:a}=s;if(!i.loop||s.virtual&&s.params.virtual.enabled)return;const r=()=>{_(a,`.${i.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})},n=s.grid&&i.grid&&i.grid.rows>1;i.loopAddBlankSlides&&(i.slidesPerGroup>1||n)&&(()=>{const e=_(a,`.${i.slideBlankClass}`);e.forEach(e=>{e.remove()}),e.length>0&&(s.recalcSlides(),s.updateSlides())})();const l=i.slidesPerGroup*(n?i.grid.rows:1),o=s.slides.length%l!==0,d=n&&s.slides.length%i.grid.rows!==0,c=e=>{for(let t=0;t<e;t+=1){const e=s.isElement?G("swiper-slide",[i.slideBlankClass]):G("div",[i.slideClass,i.slideBlankClass]);s.slidesEl.append(e)}};o?(i.loopAddBlankSlides?(c(l-s.slides.length%l),s.recalcSlides(),s.updateSlides()):B("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may
171not function properly. You need to add more slides (or make duplicates, or empty slides)"),r()):d?(i.loopAddBlankSlides?(c(i.grid.rows-s.slides.length%i.grid.rows),s.recalcSlides(),s.updateSlides()):B("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),r()):r();const p=i.centeredSlides||!!i.slidesOffsetBefore||!!i.slidesOffsetAfter;s.loopFix({slideRealIndex:e,direction:p?void 0:"next",initial:t})},loopFix:function({slideRealIndex:e,slideTo:t=!0,direction:s,setTranslate:i,activeSlideIndex:a,initial:r,byController:n,byMousewheel:l}={}){const o=this;if(!o.params.loop)return;o.emit("beforeLoopFix");const{slides:d,allowSlidePrev:c,allowSlideNext:p,slidesEl:u,params:h}=o,{centeredSlides:m,slidesOffsetBefore:f,slidesOffsetAfter:g,initialSlide:v}=h,b=m||!!f||!!g;if(o.allowSlidePrev=!0,o.allowSlideNext=!0,o.virtual&&h.virtual.enabled)return t&&(b||0!==o.snapIndex?b&&o.snapIndex<h.slidesPerView?o.slideTo(o.virtual.slides.length+o.snapIndex,0,!1,!0):o.snapIndex===o.snapGrid.length-1&&o.slideTo(o.virtual.slidesBefore,0,!1,!0):o.slideTo(o.virtual.slides.length,0,!1,!0)),o.allowSlidePrev=c,o.allowSlideNext=p,void o.emit("loopFix");let w=h.slidesPerView;"auto"===w?w=o.slidesPerViewDynamic():(w=Math.ceil(parseFloat(h.slidesPerView,10)),b&&w%2==0&&(w+=1));const y=h.slidesPerGroupAuto?w:h.slidesPerGroup;let S=b?Math.max(y,Math.ceil(w/2)):y;S%y!==0&&(S+=y-S%y),S+=h.loopAdditionalSlides,o.loopedSlides=S;const E=o.grid&&h.grid&&h.grid.rows>1;d.length<w+S||"cards"===o.params.effect&&d.length<w+2*S?B("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):E&&"row"===h.grid.fill&&B("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const x=[],T=[],C=E?Math.ceil(d.length/h.grid.rows):d.length,M=r&&C-v<w&&!b;let P=M?v:o.activeIndex;void 0===a?a=o.getSlideIndex(d.find(e=>e.classList.contains(h.slideActiveClass))):P=a;const L="next"===s||!s,I="prev"===s||!s;let A=0,k=0;const O=(E?d[a].column:a)+(b&&void 0===i?-w/2+.5:0);if(O<S){A=Math.max(S-O,y);for(let e=0;e<S-O;e+=1){const t=e-Math.floor(e/C)*C;if(E){const e=C-t-1;for(let t=d.length-1;t>=0;t-=1)d[t].column===e&&x.push(t)}else x.push(C-t-1)}}else if(O+w>C-S){k=Math.max(O-(C-2*S),y),M&&(k=Math.max(k,w-C+v+1));for(let e=0;e<k;e+=1){const t=e-Math.floor(e/C)*C;E?d.forEach((e,s)=>{e.column===t&&T.push(s)}):T.push(t)}}if(o.__preventObserver__=!0,requestAnimationFrame(()=>{o.__preventObserver__=!1}),"cards"===o.params.effect&&d.length<w+2*S&&(T.includes(a)&&T.splice(T.indexOf(a),1),x.includes(a)&&x.splice(x.indexOf(a),1)),I&&x.forEach(e=>{d[e].swiperLoopMoveDOM=!0,u.prepend(d[e]),d[e].swiperLoopMoveDOM=!1}),L&&T.forEach(e=>{d[e].swiperLoopMoveDOM=!0,u.append(d[e]),d[e].swiperLoopMoveDOM=!1}),o.recalcSlides(),"auto"===h.slidesPerView?o.updateSlides():E&&(x.length>0&&I||T.length>0&&L)&&o.slides.forEach((e,t)=>{o.grid.updateSlide(t,e,o.slides)}),h.watchSlidesProgress&&o.updateSlidesOffset(),t)if(x.length>
vendor: 7,443 bytes, line 171
1710&&I){if(void 0===e){const e=o.slidesGrid[P],t=o.slidesGrid[P+A]-e;l?o.setTranslate(o.translate-t):(o.slideTo(P+Math.ceil(A),0,!1,!0),i&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-t,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-t))}else if(i){const e=E?x.length/h.grid.rows:x.length;o.slideTo(o.activeIndex+e,0,!1,!0),o.touchEventsData.currentTranslate=o.translate}}else if(T.length>0&&L)if(void 0===e){const e=o.slidesGrid[P],t=o.slidesGrid[P-k]-e;l?o.setTranslate(o.translate-t):(o.slideTo(P-k,0,!1,!0),i&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-t,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-t))}else{const e=E?T.length/h.grid.rows:T.length;o.slideTo(o.activeIndex-e,0,!1,!0)}if(o.allowSlidePrev=c,o.allowSlideNext=p,o.controller&&o.controller.control&&!n){const r={slideRealIndex:e,direction:s,setTranslate:i,activeSlideIndex:a,byController:!0};Array.isArray(o.controller.control)?o.controller.control.forEach(e=>{!e.destroyed&&e.params.loop&&e.loopFix({...r,slideTo:e.params.slidesPerView===h.slidesPerView&&t})}):o.controller.control instanceof o.constructor&&o.controller.control.params.loop&&o.controller.control.loopFix({...r,slideTo:o.controller.control.params.slidesPerView===h.slidesPerView&&t})}o.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:s}=e;if(!t.loop||!s||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const i=[];e.slides.forEach(e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;i[t]=e}),e.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),i.forEach(e=>{s.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function oe(e,t,s){const i=M(),{params:a}=e,r=a.edgeSwipeDetection,n=a.edgeSwipeThreshold;return!r||!(s<=n||s>=i.innerWidth-n)||"prevent"===r&&(t.preventDefault(),!0)}function de(e){const t=this,s=T();let i=e;i.originalEvent&&(i=i.originalEvent);const a=t.touchEventsData;if("pointerdown"===i.type){if(null!==a.pointerId&&a.pointerId!==i.pointerId)return;a.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(a.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void oe(t,i,i.targetTouches[0].pageX);const{params:r,touches:n,enabled:l}=t;if(!l)return;if(!r.simulateTouch&&"mouse"===i.pointerType)return;if(t.animating&&r.preventInteractionOnTransition)return;!t.animating&&r.cssMode&&r.loop&&t.loopFix();let o=i.target;if("wrapper"===r.touchEventsTarget&&!function(e,t){const s=M();let i=t.contains(e);return!i&&s.HTMLSlotElement&&t instanceof HTMLSlotElement&&(i=[...t.assignedElements()].includes(e),i||(i=function(e,t){const s=[t];for(;s.length>0;){const t=s.shift();if(e===t)return!0;s.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t))),i}(o,t.wrapperEl))return;if("which"in i&&3===i.which)return;if("button"in i&&i.button>0)return;if(a.isTouched&&a.isMoved)return;const d=!!r.noSwipingClass&&""!==r.noSwipingClass,c=i.composedPath?i.composedPath():i.path;d&&i.target&&i.target.shadowRoot&&c&&(o=c[0]);const p=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,u=!(!i.target||!i.target.shadowRoot);if(r.noSwiping&&(u?function(e,t=this){return function t(s){if(!s||s===T()||s===M())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(e);return i||s.getRootNode?i||t(s.getRootNode().host):null}(t)}(p,o):o.closest(p)))return void(t.allowClick=!0);if(r.swipeHandler&&!o.closest(r.swipeHandler))return;n.currentX=i.pageX,n.currentY=i.pageY;const h=n.currentX,m=n.currentY;if(!oe(t,i,h))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),n.startX=h,n.startY=m,a.touchStartTime=I(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(a.allowThresholdMove=!1);let f=!0;o.matches(a.focusableElements)&&(f=!1,"SELECT"===o.nodeName&&(a.isTouched=!1)),s.activeElement&&s.activeElement.matches(a.focusableElements)&&s.activeElement!==o&&("mouse"===i.pointerType||"mouse"!==i.pointerType&&!o.matches(a.focusableElements))&&s.activeElement.blur();const g=f&&t.allowTouchMove&&r.touchStartPreventDefault;!r.touchStartForcePreventDefault&&!g||o.isContentEditable||i.preventDefault(),r.freeMode&&r.freeMode.enabled&&t.freeMode&&t.animating&&!r.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",i)}function ce(e){const t=T(),s=this,i=s.touchEventsData,{params:a,touches:r,rtlTranslate:n,enabled:l}=s;if(!l)return;if(!a.simulateTouch&&"mouse"===e.pointerType)return;let o,d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type){if(null!==i.touchId)return;if(d.pointerId!==i.pointerId)return}if("touchmove"===d.type){if(o=[...d.changedTouches].find(e=>e.identifier===i.touchId),!o||o.identifier!==i.touchId)return}else o=d;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&s.emit("touchMoveOpposite",d));const c=o.pageX,p=o.pageY;if(d.preventedByNestedSwiper)return r.startX=c,void(r.startY=p);if(!s.allowTouchMove)return d.target.matches(i.focusableElements)||(s.allowClick=!1),void(i.isTouched&&(Object.assign(r,{startX:c,startY:p,currentX:c,currentY:p}),i.touchStartTime=I()));if(a.touchReleaseOnEdges&&!a.loop)if(s.isVertical()){if(p<r.startY&&s.translate<=s.maxTranslate()||p>r.startY&&s.translate>=s.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else{if(n&&(c>r.startX&&-s.translate<=s.maxTranslate()||c<r.startX&&-s.translate>=s.minTranslate()))return;if(!n&&(c<r.startX&&s.translate<=s.maxTranslate()||c>r.startX&&s.translate>=s.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==d.target&&"mouse"!==d.pointerType&&t.activeElement.blur(),t.activeElement&&d.target===t.activeElement&&d.target.matches(i.focusableElements))return i.isMoved=!0,void(s.allowClick=!1);i.allowTouchCallbacks&&s.emit("touchMove",d),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=c,r.currentY=p;const u=r.currentX-r.startX,h=r.currentY-r.startY;if(s.params.threshold&&Math.sqrt(u**2+h**2)<s.params.threshold)return;if(void 0===i.isScrolling){let e;s.isHorizontal()&&r.currentY===r.startY||s.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:u*u+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(u))/Math.PI,i.isScrolling=s.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(i.isScrolling&&s.emit("touchMoveOpposite",d),void 0===i.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling||"touchmove"===d.type&&i.preventTouchMoveFromPointerMove)return void(i.isTouched=!1);if(!i.startMoving)return;s.allowClick=!1,!a.cssMode&&d.cancelable&&d.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&d.stopPropagation();let m=s.isHorizontal()?u:h,f=s.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;a.oneWayMovement&&(m=Math.abs(m)*(n?1:-1),f=Math.abs(f)*(n?1:-1)),r.diff=m,m*=a.touchRatio,n&&(m=-m,f=-f);const g=s.touchesDirection;s.swipeDirection=m>0?"prev":"next",s.touchesDirection=f>0?"prev":"next";const v=s.params.loop&&!a.cssMode,b="next"===s.touchesDirection&&s.allowSlideNext||"prev"===s.touchesDirection&&s.allowSlidePrev;if(!i.isMoved){if(v&&b&&s.loopFix({direction:s.swipeDirection}),i.startTranslate=s.getTranslate(),s.setTransition(0),s.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});
vendor: 2,162 bytes, line 171
171s.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,!a.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",d)}if((new Date).getTime(),!1!==a._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&g!==s.touchesDirection&&v&&b&&Math.abs(m)>=1)return Object.assign(r,{startX:c,startY:p,currentX:c,currentY:p,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);s.emit("sliderMove",d),i.isMoved=!0,i.currentTranslate=m+i.startTranslate;let w=!0,y=a.resistanceRatio;if(a.touchReleaseOnEdges&&(y=0),m>0?(v&&b&&i.allowThresholdMove&&i.currentTranslate>(a.centeredSlides?s.minTranslate()-s.slidesSizesGrid[s.activeIndex+1]-("auto"!==a.slidesPerView&&s.slides.length-a.slidesPerView>=2?s.slidesSizesGrid[s.activeIndex+1]+s.params.spaceBetween:0)-s.params.spaceBetween:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>s.minTranslate()&&(w=!1,a.resistance&&(i.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+i.startTranslate+m)**y))):m<0&&(v&&b&&i.allowThresholdMove&&i.currentTranslate<(a.centeredSlides?s.maxTranslate()+s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween+("auto"!==a.slidesPerView&&s.slides.length-a.slidesPerView>=2?s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween:0):s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-("auto"===a.slidesPerView?s.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),i.currentTranslate<s.maxTranslate()&&(w=!1,a.resistance&&(i.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-i.startTranslate-m)**y))),w&&(d.preventedByNestedSwiper=!0),!s.allowSlideNext&&"next"===s.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!s.allowSlidePrev&&"prev"===s.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),s.allowSlidePrev||s.allowSlideNext||(i.currentTranslate=i.startTranslate),a.threshold>0){if(!(Math.abs(m)>a.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);
vendor: 9,314 bytes, line 171
171if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=s.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&s.freeMode||a.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(i.currentTranslate),s.setTranslate(i.currentTranslate))}function pe(e){const t=this,s=t.touchEventsData;let i,a=e;if(a.originalEvent&&(a=a.originalEvent),"touchend"===a.type||"touchcancel"===a.type){if(i=[...a.changedTouches].find(e=>e.identifier===s.touchId),!i||i.identifier!==s.touchId)return}else{if(null!==s.touchId)return;if(a.pointerId!==s.pointerId)return;i=a}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)&&(!["pointercancel","contextmenu"].includes(a.type)||!t.browser.isSafari&&!t.browser.isWebView))return;s.pointerId=null,s.touchId=null;const{params:r,touches:n,rtlTranslate:l,slidesGrid:o,enabled:d}=t;if(!d)return;if(!r.simulateTouch&&"mouse"===a.pointerType)return;if(s.allowTouchCallbacks&&t.emit("touchEnd",a),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&r.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);r.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=I(),p=c-s.touchStartTime;if(t.allowClick){const e=a.path||a.composedPath&&a.composedPath();t.updateClickedSlide(e&&e[0]||a.target,e),t.emit("tap click",a),p<300&&c-s.lastClickTime<300&&t.emit("doubleTap doubleClick",a)}if(s.lastClickTime=I(),L(()=>{t.destroyed||(t.allowClick=!0)}),!s.isTouched||!s.isMoved||!t.swipeDirection||0===n.diff&&!s.loopSwapReset||s.currentTranslate===s.startTranslate&&!s.loopSwapReset)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let u;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,u=r.followFinger?l?t.translate:-t.translate:-s.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:u});const h=u>=-t.maxTranslate()&&!t.params.loop;let m=0,f=t.slidesSizesGrid[0];for(let e=0;e<o.length;e+=e<r.slidesPerGroupSkip?1:r.slidesPerGroup){const t=e<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;void 0!==o[e+t]?(h||u>=o[e]&&u<o[e+t])&&(m=e,f=o[e+t]-o[e]):(h||u>=o[e])&&(m=e,f=o[o.length-1]-o[o.length-2])}let g=null,v=null;r.rewind&&(t.isBeginning?v=r.virtual&&r.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const b=(u-o[m])/f,w=m<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(p>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(b>=r.longSwipesRatio?t.slideTo(r.rewind&&t.isEnd?g:m+w):t.slideTo(m)),"prev"===t.swipeDirection&&(b>1-r.longSwipesRatio?t.slideTo(m+w):null!==v&&b<0&&Math.abs(b)>r.longSwipesRatio?t.slideTo(v):t.slideTo(m))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||a.target!==t.navigation.nextEl&&a.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==g?g:m+w),"prev"===t.swipeDirection&&t.slideTo(null!==v?v:m)):a.target===t.navigation.nextEl?t.slideTo(m+w):t.slideTo(m)}}function ue(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:a,snapGrid:r}=e,n=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const l=n&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||l?e.params.loop&&!n?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=a,e.allowSlideNext=i,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function he(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function me(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:i}=e;if(!i)return;let a;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();a=0===r?0:(e.translate-e.minTranslate())/r,a!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function fe(e){const t=this;te(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function ge(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const ve=(e,t)=>{const s=T(),{params:i,el:a,wrapperEl:r,device:n}=e,l=!!i.nested,o="on"===t?"addEventListener":"removeEventListener",d=t;a&&"string"!=typeof a&&(s[o]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),a[o]("touchstart",e.onTouchStart,{passive:!1}),a[o]("pointerdown",e.onTouchStart,{passive:!1}),s[o]("touchmove",e.onTouchMove,{passive:!1,capture:l}),s[o]("pointermove",e.onTouchMove,{passive:!1,capture:l}),s[o]("touchend",e.onTouchEnd,{passive:!0}),s[o]("pointerup",e.onTouchEnd,{passive:!0}),s[o]("pointercancel",e.onTouchEnd,{passive:!0}),s[o]("touchcancel",e.onTouchEnd,{passive:!0}),s[o]("pointerout",e.onTouchEnd,{passive:!0}),s[o]("pointerleave",e.onTouchEnd,{passive:!0}),s[o]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&a[o]("click",e.onClick,!0),i.cssMode&&r[o]("scroll",e.onScroll),i.updateOnWindowResize?e[d](n.ios||n.android?"resize orientationchange observerUpdate":"resize observerUpdate",ue,!0):e[d]("observerUpdate",ue,!0),a[o]("load",e.onLoad,{capture:!0}))},be=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var we={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function ye(e,t){return function(s={}){const i=Object.keys(s)[0],a=s[i];"object"==typeof a&&null!==a?(!0===e[i]&&(e[i]={enabled:!0}),"navigation"===i&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),i in e&&"enabled"in a?("object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),O(t,s)):O(t,s)):O(t,s)}}const Se={eventsEmitter:J,update:ae,translate:{getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:s,translate:i,wrapperEl:a}=this;if(t.virtualTranslate)return s?-i:i;if(t.cssMode)return i;let r=function(e,t="x"){const s=M();let i,a,r;const n=function(e){const t=M();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(a=n.transform||n.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map(e=>e.replace(",",".")).join(", ")),r=new s.WebKitCSSMatrix("none"===a?"":a)):(r=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=r.toString().split(",")),"x"===t&&(
vendor: 7,861 bytes, line 171
171a=s.WebKitCSSMatrix?r.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(a=s.WebKitCSSMatrix?r.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),a||0}(a,e);return r+=this.cssOverflowAdjustment(),s&&(r=-r),r||0},setTranslate:function(e,t){const s=this,{rtlTranslate:i,params:a,wrapperEl:r,progress:n}=s;let l,o=0,d=0;s.isHorizontal()?o=i?-e:e:d=e,a.roundLengths&&(o=Math.floor(o),d=Math.floor(d)),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?o:d,a.cssMode?r[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-o:-d:a.virtualTranslate||(s.isHorizontal()?o-=s.cssOverflowAdjustment():d-=s.cssOverflowAdjustment(),r.style.transform=`translate3d(${o}px, ${d}px, 0px)`);const c=s.maxTranslate()-s.minTranslate();l=0===c?0:(e-s.minTranslate())/c,l!==n&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,s=!0,i=!0,a){const r=this,{params:n,wrapperEl:l}=r;if(r.animating&&n.preventInteractionOnTransition)return!1;const o=r.minTranslate(),d=r.maxTranslate();let c;if(c=i&&e>o?o:i&&e<d?d:e,r.updateProgress(c),n.cssMode){const e=r.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-c;else{if(!r.support.smoothScroll)return z({swiper:r,targetPosition:-c,side:e?"left":"top"}),!0;l.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"})}return!0}return 0===t?(r.setTransition(0),r.setTranslate(c),s&&(r.emit("beforeTransitionStart",t,a),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(c),s&&(r.emit("beforeTransitionStart",t,a),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,r.animating=!1,s&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){const s=this;s.params.cssMode||(s.wrapperEl.style.transitionDuration=`${e}ms`,s.wrapperEl.style.transitionDelay=0===e?"0ms":""),s.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const s=this,{params:i}=s;i.cssMode||(i.autoHeight&&s.updateAutoHeight(),re({swiper:s,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){const s=this,{params:i}=s;s.animating=!1,i.cssMode||(s.setTransition(0),re({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},slide:ne,loop:le,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),s.style.cursor="move",s.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=de.bind(e),e.onTouchMove=ce.bind(e),e.onTouchEnd=pe.bind(e),e.onDocumentTouchStart=ge.bind(e),t.cssMode&&(e.onScroll=me.bind(e)),e.onClick=he.bind(e),e.onLoad=fe.bind(e),ve(e,"on")},detachEvents:function(){ve(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:s,params:i,el:a}=e,r=i.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const n=T(),l="window"!==i.breakpointsBase&&i.breakpointsBase?"container":i.breakpointsBase,o=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:n.querySelector(i.breakpointsBase),d=e.getBreakpoint(r,l,o);if(!d||e.currentBreakpoint===d)return;const c=(d in r?r[d]:void 0)||e.originalParams,p=be(e,i),u=be(e,c),h=e.params.grabCursor,m=c.grabCursor,f=i.enabled;p&&!u?(a.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&u&&(a.classList.add(`${i.containerModifierClass}grid`),(c.grid.fill&&"column"===c.grid.fill||!c.grid.fill&&"column"===i.grid.fill)&&a.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),h&&!m?e.unsetGrabCursor():!h&&m&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===c[t])return;const s=i[t]&&i[t].enabled,a=c[t]&&c[t].enabled;s&&!a&&e[t].disable(),!s&&a&&e[t].enable()});const g=c.direction&&c.direction!==i.direction,v=i.loop&&(c.slidesPerView!==i.slidesPerView||g),b=i.loop;g&&s&&e.changeDirection(),O(e.params,c);const w=e.params.enabled,y=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),f&&!w?e.disable():!f&&w&&e.enable(),e.currentBreakpoint=d,e.emit("_beforeBreakpoint",c),s&&(v?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!b&&y?(e.loopCreate(t),e.updateSlides()):b&&!y&&e.loopDestroy()),e.emit("breakpoint",c)},getBreakpoint:function(e,t="window",s){if(!e||"container"===t&&!s)return;let i=!1;const a=M(),r="window"===t?a.innerHeight:s.clientHeight,n=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:r*t,point:e}}return{value:e,point:e}});n.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<n.length;e+=1){const{point:r,value:l}=n[e];"window"===t?a.matchMedia(`(min-width: ${l}px)`).matches&&(i=r):l<=s.clientWidth&&(i=r)}return i||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:i}=s;if(i){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:s,rtl:i,el:a,device:r}=e,n=function(e,t){const s=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(i=>{e[i]&&s.push(t+i)}):"string"==typeof e&&s.push(t+e)}),s}(["initialized",s.direction,{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:i},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...n),a.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},Ee={};class xe{constructor(...e){let t,s;1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?s=e[0]:[t,s]=e,s||(s={}),s=O({},s),t&&!s.el&&(s.el=t);const i=T();if(s.el&&"string"==typeof s.el&&i.querySelectorAll(s.el).length>1){const e=[];return i.querySelectorAll(s.el).forEach(t=>{const i=O({},s,{el:t});e.push(new xe(i))}),e}const a=this;a.__swiper__=!0,a.support=U(),a.device=K({userAgent:s.userAgent}),a.browser=Z(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],s.modules&&Array.isArray(s.modules)&&a.modules.push(...s.modules);const r={};a.modules.forEach(e=>{e({params:s,swiper:a,extendParams:ye(s,r),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const n=O({},we,r);return a.params=O({},n,Ee,s),a.originalParams=O({},a.params),a.passedParams=O({}
vendor: 12,429 bytes, line 171
171,s),a.params&&a.params.on&&Object.keys(a.params.on).forEach(e=>{a.on(e,a.params.on[e])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:s}=this,i=q(_(t,`.${s.slideClass}, swiper-slide`)[0]);return q(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=_(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const i=s.minTranslate(),a=(s.maxTranslate()-i)*e+i;s.translateTo(a,void 0===t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(s=>{const i=e.getSlideClasses(s);t.push({slideEl:s,classNames:i}),e.emit("_slideClass",s,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:s,slides:i,slidesGrid:a,slidesSizesGrid:r,size:n,activeIndex:l}=this;let o=1;if("number"==typeof s.slidesPerView)return s.slidesPerView;if(s.centeredSlides){let e,t=i[l]?Math.ceil(i[l].swiperSlideSize):0;for(let s=l+1;s<i.length;s+=1)i[s]&&!e&&(t+=Math.ceil(i[s].swiperSlideSize),o+=1,t>n&&(e=!0));for(let s=l-1;s>=0;s-=1)i[s]&&!e&&(t+=i[s].swiperSlideSize,o+=1,t>n&&(e=!0))}else if("current"===e)for(let e=l+1;e<i.length;e+=1)(t?a[e]+r[e]-a[l]<n:a[e]-a[l]<n)&&(o+=1);else for(let e=l-1;e>=0;e-=1)a[l]-a[e]<n&&(o+=1);return o}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:s}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,s=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let a;if(s.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(t=>{t.complete&&te(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),s.freeMode&&s.freeMode.enabled&&!s.cssMode)i(),s.autoHeight&&e.updateAutoHeight();else{if(("auto"===s.slidesPerView||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const t=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;a=e.slideTo(t.length-1,0,!1,!0)}else a=e.slideTo(e.activeIndex,0,!1,!0);a||i()}s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const s=this,i=s.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(s.el.classList.remove(`${s.params.containerModifierClass}${i}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let s=e||t.params.el;if("string"==typeof s&&(s=document.querySelector(s)),!s)return!1;s.swiper=t,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(i()):_(s,i())[0];return!a&&t.params.createElements&&(a=G("div",t.params.wrapperClass),s.append(a),_(s,`.${t.params.slideClass}`).forEach(e=>{a.append(e)})),Object.assign(t,{el:s,wrapperEl:a,slidesEl:t.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:a,hostEl:t.isElement?s.parentNode.host:s,mounted:!0,rtl:"rtl"===s.dir.toLowerCase()||"rtl"===N(s,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===N(s,"direction")),wrongRTL:"-webkit-box"===N(a,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const s=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&s.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),s.forEach(e=>{e.complete?te(t,e):e.addEventListener("load",e=>{te(t,e.target)})}),ie(t),t.initialized=!0,ie(t),t.emit("init"),t.emit("afterInit"),t}destroy(e=!0,t=!0){const s=this,{params:i,el:a,wrapperEl:r,slides:n}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),i.loop&&s.loopDestroy(),t&&(s.removeClasses(),a&&"string"!=typeof a&&a.removeAttribute("style"),r&&r.removeAttribute("style"),n&&n.length&&n.forEach(e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(e=>{s.off(e)}),!1!==e&&(s.el&&"string"!=typeof s.el&&(s.el.swiper=null),function(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})}(s)),s.destroyed=!0),null}static extendDefaults(e){O(Ee,e)}static get extendedDefaults(){return Ee}static get defaults(){return we}static installModule(e){xe.prototype.__modules__||(xe.prototype.__modules__=[]);const t=xe.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>xe.installModule(e)),xe):(xe.installModule(e),xe)}}function Te(e,t,s,i){return e.params.createElements&&Object.keys(i).forEach(a=>{if(!s[a]&&!0===s.auto){let r=_(e.el,`.${i[a]}`)[0];r||(r=G("div",i[a]),r.className=i[a],e.el.append(r)),s[a]=r,t[a]=r}}),s}Object.keys(Se).forEach(e=>{Object.keys(Se[e]).forEach(t=>{xe.prototype[t]=Se[e][t]})}),xe.use([function({swiper:e,on:t,emit:s}){const i=M();let a=null,r=null;const n=()=>{e&&!e.destroyed&&e.initialized&&(s("beforeResize"),s("resize"))},l=()=>{e&&!e.destroyed&&e.initialized&&s("orientationchange")};t("init",()=>{e.params.resizeObserver&&void 0!==i.ResizeObserver?e&&!e.destroyed&&e.initialized&&(a=new ResizeObserver(t=>{r=i.requestAnimationFrame(()=>{const{width:s,height:i}=e;let a=s,r=i;t.forEach(({contentBoxSize:t,contentRect:s,target:i})=>{i&&i!==e.el||(a=s?s.width:(t[0]||t).inlineSize,r=s?s.height:(t[0]||t).blockSize)}),a===s&&r===i||n()})}),a.observe(e.el)):(i.addEventListener("resize",n),i.addEventListener("orientationchange",l))}),t("destroy",()=>{r&&i.cancelAnimationFrame(r),a&&a.unobserve&&e.el&&(a.unobserve(e.el),a=null),i.removeEventListener("resize",n),i.removeEventListener("orientationchange",l)})},function({swiper:e,extendParams:t,on:s,emit:i}){const a=[],r=M(),n=(t,s={})=>{const n=new(r.MutationObserver||r.WebkitMutationObserver)(t=>{if(e.__preventObserver__)return;if(1===t.length)return void i("observerUpdate",t[0]);const s=function(){i("observerUpdate",t[0])};r.requestAnimationFrame?r.requestAnimationFrame(s):r.setTimeout(s,0)});n.observe(t,{attributes:void 0===s.attributes||s.attributes,childList:e.isElement||(void 0===s.childList||s).childList,characterData:void 0===s.characterData||s.characterData}),a.push(n)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",()=>{if(e.params.observer){if(e.params.observeParents){const t=F(e.hostEl);for(let e=0;e<t.length;e+=1)n(t[e])}n(e.hostEl,{childList:e.params.observeSlideChildren}),n(e.wrapperEl,{attributes:!1})}}),s("destroy",()=>{a.forEach(e=>{e.disconnect()}),a.splice(0,a.length)})}]);const Ce='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function Me(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}function Pe(e){const{effect:t,swiper:s,on:i,setTranslate:a,setTransition:r,overwriteParams:n,perspective:l,recreateShadows:o,getEffectParams:d}=e;let c;i("beforeInit",()=>{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),l&&l()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const e=n?n():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)}),i("setTranslate _virtualUpdated",()=>{s.params.effect===t&&a()}),i("setTransition",(e,i)=>{s.params.effect===t&&r(i)}),i("transitionEnd",()=>{if(s.params.effect===t&&o){if(!d||!d().slideShadows)return;s.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),o()}}),i("virtualUpdate",()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestAnimationFrame(()=>{c&&s.slides&&s.slides.length&&(a(),c=!1)}))})}function Le(e,t){const s=D(t);return s!==t&&(s.style.backfaceVisibility="hidden",s.style["-webkit-backface-visibility"]="hidden"),s}function Ie({swiper:e,duration:t,transformElements:s,allSlides:i}){const{activeIndex:a}=e;if(e.params.virtualTranslate&&0!==t){let t,r=!1;t=i?s:s.filter(t=>{const s=t.classList.contains("swiper-slide-transform")?(t=>t.parentElement?t.parentElement:e.slides.find(e=>e.shadowRoot&&e.shadowRoot===t.parentNode))(t):t;return e.getSlideIndex(s)===a}),t.forEach(t=>{!function(e,t){t&&e.addEventListener("transitionend",function s(i){i.target===e&&(t.call(e,i),e.removeEventListener("transitionend",s))})}(t,()=>{if(r)return;if(!e||e.destroyed)return;r=!0,e.animating=!1;const t=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});
171e.wrapperEl.dispatchEvent(t)})})}}function Ae(e,t,s){const i=`swiper-slide-shadow${s?`-${s}`:""}${e?` swiper-slide-shadow-${e}`:""}`,a=D(t);let r=a.querySelector(`.${i.split(" ").join(".")}`);return r||(r=G("div",i.split(" ")),a.append(r)),r}const ke=(...e)=>(...t)=>{for(const s of e)"function"==typeof s&&s(...t)},Oe=(e={},s={})=>{for(const i in s){const a=e[i],r=s[i];a&&r&&"object"===t(a)&&"object"===t(r)?Oe(a,r):e[i]=r}return e},$e=e=>{const s={};return{add(e,t){null!=t&&""!==t&&!1!==t&&(s[e]=t)},addColor(e,i){var a;(a=i)&&("string"===t(a)||"object"===t(a)&&a?.value)&&(s[e]=(e=>"object"===t(e)?e?.slug?`var(--wp--preset--color--${e?.slug}, ${e?.value})`:e?.value:e)(i))},apply(){if(!e)return;const t=e.style;for(const e in s)t.setProperty(e,s[e])}}};xe.use([function({swiper:e,extendParams:t,on:s,emit:i}){function a(t){let s;return t&&"string"==typeof t&&e.isElement&&(s=e.el.querySelector(t)||e.hostEl.querySelector(t),s)?s:(t&&("string"==typeof t&&(s=[...document.querySelectorAll(t)]),e.params.uniqueNavElements&&"string"==typeof t&&s&&s.length>1&&1===e.el.querySelectorAll(t).length?s=e.el.querySelector(t):s&&1===s.length&&(s=s[0])),t&&!s?t:s)}function r(t,s){const i=e.params.navigation;(t=V(t)).forEach(t=>{t&&(t.classList[s?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===t.tagName&&(t.disabled=s),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](i.lockClass))})}function n(){const{nextEl:t,prevEl:s}=e.navigation;if(e.params.loop)return r(s,!1),void r(t,!1);r(s,e.isBeginning&&!e.params.rewind),r(t,e.isEnd&&!e.params.rewind)}function l(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function o(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function d(){const t=e.params.navigation;if(e.params.navigation=Te(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;let s=a(t.nextEl),i=a(t.prevEl);Object.assign(e.navigation,{nextEl:s,prevEl:i}),s=V(s),i=V(i);const r=(s,i)=>{if(s){if(t.addIcons&&s.matches(".swiper-button-next,.swiper-button-prev")&&!s.querySelector("svg")){const e=document.createElement("div");j(e,Ce),s.appendChild(e.querySelector("svg")),e.remove()}s.addEventListener("click","next"===i?o:l)}!e.enabled&&s&&s.classList.add(...t.lockClass.split(" "))};s.forEach(e=>r(e,"next")),i.forEach(e=>r(e,"prev"))}function c(){let{nextEl:t,prevEl:s}=e.navigation;t=V(t),s=V(s);const i=(t,s)=>{t.removeEventListener("click","next"===s?o:l),t.classList.remove(...e.params.navigation.disabledClass.split(" "))};t.forEach(e=>
171i(e,"next")),s.forEach(e=>i(e,"prev"))}t({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null,arrowSvg:Ce},s("init",()=>{!1===e.params.navigation.enabled?p():(d(),n())}),s("toEdge fromEdge lock unlock",()=>{n()}),s("destroy",()=>{c()}),s("enable disable",()=>{let{nextEl:t,prevEl:s}=e.navigation;t=V(t),s=V(s),e.enabled?n():[...t,...s].filter(e=>!!e).forEach(t=>t.classList.add(e.params.navigation.lockClass))}),s("click",(t,s)=>{let{nextEl:a,prevEl:r}=e.navigation;a=V(a),r=V(r);const n=s.target;let l=r.includes(n)||a.includes(n);if(e.isElement&&!l){const e=s.path||s.composedPath&&s.composedPath();e&&(l=e.find(e=>a.includes(e)||r.includes(e)))}if(e.params.navigation.hideOnClick&&!l){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===n||e.pagination.el.contains(n)))return;let t;a.length?t=a[0].classList.contains(e.params.navigation.hiddenClass):r.length&&(t=r[0].classList.contains(e.params.navigation.hiddenClass)),i(!0===t?"navigationShow":"navigationHide"),[...a,...r].filter(e=>!!e).forEach(t=>t.classList.toggle(e.params.navigation.hiddenClass))}});const p=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),c()};Object.assign(e.navigation,{enable:()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),d(),n()},disable:p,update:n,init:d,destroy:c})},function({swiper:e,extendParams:t,on:s,emit:i}){const a="swiper-pagination";let r;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${a}-bullet`,bulletActiveClass:`${a}-bullet-active`,modifierClass:`${a}-`,currentClass:`${a}-current`,totalClass:`${a}-total`,hiddenClass:`${a}-hidden`,progressbarFillClass:`${a}-progressbar-fill`,progressbarOppositeClass:`${a}-progressbar-opposite`,clickableClass:`${a}-clickable`,lockClass:`${a}-lock`,horizontalClass:`${a}-horizontal`,verticalClass:`${a}-vertical`,paginationDisabledClass:`${a}-disabled`}}),e.pagination={el:null,bullets:[]};let n=0;function l(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&0===e.pagination.el.length}function o(t,s){const{bulletActiveClass:i}=e.params.pagination;t&&(t=t[("prev"===s?"previous":"next")+"ElementSibling"])&&(t.classList.add(`${i}-${s}`),(t=t[("prev"===s?"previous":"next")+"ElementSibling"])&&t.classList.add(`${i}-${s}-${s}`))}function d(t){const s=t.target.closest(Me(e.params.pagination.bulletClass));if(!s)return;t.preventDefault();const i=q(s)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===i)return;const t=(a=e.realIndex,r=i,(r%=n=e.slides.length)===1+(a%=n)?"next":r===a-1?"previous":void 0);"next"===t?e.slideNext():"previous"===t?e.slidePrev():e.slideToLoop(i)}else e.slideTo(i);var a,r,n}function c(){const t=e.rtl,s=e.params.pagination;if(l())return;let a,d,c=e.pagination.el;c=V(c);const p=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,u=e.params.loop?Math.ceil(p/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(d=e.previousRealIndex||0,a=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):void 0!==e.snapIndex?(a=e.snapIndex,d=e.previousSnapIndex):(d=e.previousIndex||0,a=e.activeIndex||0),"bullets"===s.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const i=e.pagination.bullets;let l,p,u;if(s.dynamicBullets&&(r=H(i[0],e.isHorizontal()?"width":"height",!0),c.forEach(t=>{t.style[e.isHorizontal()?"width":"height"]=r*(s.dynamicMainBullets+4)+"px"}),s.dynamicMainBullets>1&&void 0!==d&&(n+=a-(d||0),n>s.dynamicMainBullets-1?n=s.dynamicMainBullets-1:n<0&&(n=0)),l=Math.max(a-n,0),p=l+(Math.min(i.length,s.dynamicMainBullets)-1),u=(p+l)/2),i.forEac
171h(e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${s.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),c.length>1)i.forEach(t=>{const i=q(t);i===a?t.classList.add(...s.bulletActiveClass.split(" ")):e.isElement&&t.setAttribute("part","bullet"),s.dynamicBullets&&(i>=l&&i<=p&&t.classList.add(...`${s.bulletActiveClass}-main`.split(" ")),i===l&&o(t,"prev"),i===p&&o(t,"next"))});else{const t=i[a];if(t&&t.classList.add(...s.bulletActiveClass.split(" ")),e.isElement&&i.forEach((e,t)=>{e.setAttribute("part",t===a?"bullet-active":"bullet")}),s.dynamicBullets){const e=i[l],t=i[p];for(let e=l;e<=p;e+=1)i[e]&&i[e].classList.add(...`${s.bulletActiveClass}-main`.split(" "));o(e,"prev"),o(t,"next")}}if(s.dynamicBullets){const a=Math.min(i.length,s.dynamicMainBullets+4),n=(r*a-r)/2-u*r,l=t?"right":"left";i.forEach(t=>{t.style[e.isHorizontal()?l:"top"]=`${n}px`})}}c.forEach((t,r)=>{if("fraction"===s.type&&(t.querySelectorAll(Me(s.currentClass)).forEach(e=>{e.textContent=s.formatFractionCurrent(a+1)}),t.querySelectorAll(Me(s.totalClass)).forEach(e=>{e.textContent=s.formatFractionTotal(u)})),"progressbar"===s.type){let i;i=s.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const r=(a+1)/u;let n=1,l=1;"horizontal"===i?n=r:l=r,t.querySelectorAll(Me(s.progressbarFillClass)).forEach(t=>{t.style.transform=`translate3d(0,0,0) scaleX(${n}) scaleY(${l})`,t.style.transitionDuration=`${e.params.speed}ms`})}"custom"===s.type&&s.renderCustom?(j(t,s.renderCustom(e,a+1,u)),0===r&&i("paginationRender",t)):(0===r&&i("paginationRender",t),i("paginationUpdate",t)),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](s.lockClass)})}function p(){const t=e.params.pagination;if(l())return;const s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let a=e.pagination.el;a=V(a);let r="";if("bullets"===t.type){let i=e.params.loop?Math.ceil(s/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&i>s&&(i=s);for(let s=0;s<i;s+=1)t.renderBullet?r+=t.renderBullet.call(e,s,t.bulletClass):r+=`<${t.bulletElement} ${e.isElement?'part="bullet"':""} class="${t.bulletClass}"></${t.bulletElement}>`}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`),e.pagination.bullets=[],a.forEach(s=>{"custom"!==t.type&&j(s,r||""),"bullets"===t.type&&e.pagination.bullets.push(...s.querySelectorAll(Me(t.bulletClass)))}),"custom"!==t.type&&i("paginationRender",a[0])}function u(){e.params.pagination=Te(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let s;"string"==typeof t.el&&e.isElement&&(s=e.el.querySelector(t.el)),s||"string"!=typeof t.el||(s=[...document.querySelectorAll(t.el)]),s||(s=t.el),s&&0!==s.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(s)&&s.length>1&&(s=[...e.el.querySelectorAll(t.el)],s.length>1&&(s=s.find(t=>F(t,".swiper")[0]===e.el))),Array.isArray(s)&&1===s.length&&(s=s[0]),Object.assign(e.pagination,{el:s}
171),s=V(s),s.forEach(s=>{"bullets"===t.type&&t.clickable&&s.classList.add(...(t.clickableClass||"").split(" ")),s.classList.add(t.modifierClass+t.type),s.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(s.classList.add(`${t.modifierClass}${t.type}-dynamic`),n=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&s.classList.add(t.progressbarOppositeClass),t.clickable&&s.addEventListener("click",d),e.enabled||s.classList.add(t.lockClass)}))}function h(){const t=e.params.pagination;if(l())return;let s=e.pagination.el;s&&(s=V(s),s.forEach(s=>{s.classList.remove(t.hiddenClass),s.classList.remove(t.modifierClass+t.type),s.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(s.classList.remove(...(t.clickableClass||"").split(" ")),s.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" ")))}s("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const t=e.params.pagination;let{el:s}=e.pagination;
vendor: 6,181 bytes, line 171
171s=V(s),s.forEach(s=>{s.classList.remove(t.horizontalClass,t.verticalClass),s.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),s("init",()=>{!1===e.params.pagination.enabled?m():(u(),p(),c())}),s("activeIndexChange",()=>{void 0===e.snapIndex&&c()}),s("snapIndexChange",()=>{c()}),s("snapGridLengthChange",()=>{p(),c()}),s("destroy",()=>{h()}),s("enable disable",()=>{let{el:t}=e.pagination;t&&(t=V(t),t.forEach(t=>t.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),s("lock unlock",()=>{c()}),s("click",(t,s)=>{const a=s.target,r=V(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&r&&r.length>0&&!a.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&a===e.navigation.nextEl||e.navigation.prevEl&&a===e.navigation.prevEl))return;const t=r[0].classList.contains(e.params.pagination.hiddenClass);i(!0===t?"paginationShow":"paginationHide"),r.forEach(t=>t.classList.toggle(e.params.pagination.hiddenClass))}});const m=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=V(t),t.forEach(t=>t.classList.add(e.params.pagination.paginationDisabledClass))),h()};Object.assign(e.pagination,{enable:()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=V(t),t.forEach(t=>t.classList.remove(e.params.pagination.paginationDisabledClass))),u(),p(),c()},disable:m,render:p,update:c,init:u,destroy:h})},function({swiper:e,extendParams:t,on:s,emit:i}){const a=T();let r,n,l,o,d=!1,c=null,p=null;function u(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:s}=e,{dragEl:i,el:a}=t,r=e.params.scrollbar,o=e.params.loop?e.progressLoop:e.progress;let d=n,p=(l-n)*o;s?(p=-p,p>0?(d=n-p,p=0):-p+n>l&&(d=l+p)):p<0?(d=n+p,p=0):p+n>l&&(d=l-p),e.isHorizontal()?(i.style.transform=`translate3d(${p}px, 0, 0)`,i.style.width=`${d}px`):(i.style.transform=`translate3d(0px, ${p}px, 0)`,i.style.height=`${d}px`),r.hide&&(clearTimeout(c),a.style.opacity=1,c=setTimeout(()=>{a.style.opacity=0,a.style.transitionDuration="400ms"},1e3))}function h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{dragEl:s,el:i}=t;s.style.width="",s.style.height="",l=e.isHorizontal()?i.offsetWidth:i.offsetHeight,o=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),n="auto"===e.params.scrollbar.dragSize?l*o:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?s.style.width=`${n}px`:s.style.height=`${n}px`,i.style.display=o>=1?"none":"",e.params.scrollbar.hide&&(i.style.opacity=0),e.params.watchOverflow&&e.enabled&&t.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function m(t){return e.isHorizontal()?t.clientX:t.clientY}function f(t){const{scrollbar:s,rtlTranslate:i}=e,{el:a}=s;let o;o=(m(t)-function(e){const t=M(),s=T(),i=e.getBoundingClientRect(),a=s.body,r=e.clientTop||a.clientTop||0,n=e.clientLeft||a.clientLeft||0,l=e===t?t.scrollY:e.scrollTop,o=e===t?t.scrollX:e.scrollLeft;return{top:i.top+l-r,left:i.left+o-n}}(a)[e.isHorizontal()?"left":"top"]-(null!==r?r:n/2))/(l-n),o=Math.max(Math.min(o,1),0),i&&(o=1-o);const d=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*o;e.updateProgress(d),e.setTranslate(d),e.updateActiveIndex(),e.updateSlidesClasses()}function g(t){const s=e.params.scrollbar,{scrollbar:a,wrapperEl:n}=e,{el:l,dragEl:o}=a;d=!0,r=t.target===o?m(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),n.style.transitionDuration="100ms",o.style.transitionDuration="100ms",f(t),clearTimeout(p),l.style.transitionDuration="0ms",s.hide&&(l.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),i("scrollbarDragStart",t)}function v(t){const{scrollbar:s,wrapperEl:a}=e,{el:r,dragEl:n}=s;d&&(t.preventDefault&&t.cancelable?t.preventDefault():t.returnValue=!1,f(t),a.style.transitionDuration="0ms",r.style.transitionDuration="0ms",n.style.transitionDuration="0ms",i("scrollbarDragMove",t))}function b(t){const s=e.params.scrollbar,{scrollbar:a,wrapperEl:r}=e,{el:n}=a;d&&(d=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",r.style.transitionDuration=""),s.hide&&(clearTimeout(p),p=L(()=>{n.style.opacity=0,n.style.transitionDuration="400ms"},1e3)),i("scrollbarDragEnd",t),s.snapOnRelease&&e.slideToClosest())}function w(t){const{scrollbar:s,params:i}=e,r=s.el;if(!r)return;const n=r,l=!!i.passiveListeners&&{passive:!1,capture:!1},o=!!i.passiveListeners&&{passive:!0,capture:!1};if(!n)return;const d="on"===t?"addEventListener":"removeEventListener";n[d]("pointerdown",g,l),a[d]("pointermove",v,l),a[d]("pointerup",b,o)}function y(){const{scrollbar:t,el:s}=e;e.params.scrollbar=Te(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const i=e.params.scrollbar;if(!i.el)return;let r,n;if("string"==typeof i.el&&e.isElement&&(r=e.el.querySelector(i.el)),r||"string"!=typeof i.el)r||(r=i.el);else if(r=a.querySelectorAll(i.el),!r.length)return;e.params.uniqueNavElements&&"string"==typeof i.el&&r.length>1&&1===s.querySelectorAll(i.el).length&&(r=s.querySelector(i.el)),r.length>0&&(r=r[0]),r.classList.add(e.isHorizontal()?i.horizontalClass:i.verticalClass),r&&(n=r.querySelector(Me(e.params.scrollbar.dragClass)),n||(n=G("div",e.params.scrollbar.dragClass),r.append(n))),Object.assign(t,{el:r,dragEl:n}),i.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&w("on"),r&&r.classList[e.enabled?"remove":"add"](...P(e.params.scrollbar.lockClass))}function S(){const t=e.params.scrollbar,s=e.scrollbar.el;s&&s.classList.remove(...P(e.isHorizontal()?t.horizontalClass:t.verticalClass)),e.params.scrollbar.el&&e.scrollbar.el&&w("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null},s("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const t=e.params.scrollbar;let{el:s}=e.scrollbar;
171s=V(s),s.forEach(s=>{s.classList.remove(t.horizontalClass,t.verticalClass),s.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),s("init",()=>{!1===e.params.scrollbar.enabled?E():(y(),h(),u())}),s("update resize observerUpdate lock unlock changeDirection",()=>{h()}),s("setTranslate",()=>{u()}),s("setTransition",(t,s)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&(e.scrollbar.dragEl.style.transitionDuration=`${t}ms`)}(s)}),s("enable disable",()=>{const{el:t}=e.scrollbar;t&&t.classList[e.enabled?"remove":"add"](...P(e.params.scrollbar.lockClass))}),s("destroy",()=>{S()});const E=()=>{e.el.classList.add(...P(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...P(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:()=>{e.el.classList.remove(...P(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...P(e.params.scrollbar.scrollbarDisabledClass)),y(),h(),u()},disable:E,updateSize:h,setTranslate:u,init:y,destroy:S})},function({swiper:e,extendParams:t,on:s}){t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0,wrapperLiveRegion:!0}}),e.a11y={clicked:!1};let i,a,r=null,n=(new Date).getTime();function l(e){const t=r;0!==t.length&&j(t,e)}function o(e){(e=V(e)).forEach(e=>{e.setAttribute("tabIndex","0")})}function d(e){(e=V(e)).forEach(e=>{e.setAttribute("tabIndex","-1")})}function c(e,t){(e=V(e)).forEach(e=>{e.setAttribute("role",t)})}function p(e,t){(e=V(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function u(e,t){(e=V(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function h(e){(e=V(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function m(e){(e=V(e)).forEach(e=>{e.setAttribute("aria-disabled",!1)})}function f(t){if(13!==t.keyCode&&32!==t.keyCode)return;const s=e.params.a11y,i=t.target;if(!e.pagination||!e.pagination.el||i!==e.pagination.el&&!e.pagination.el.contains(t.target)||t.target.matches(Me(e.params.pagination.bulletClass))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const t=V(e.navigation.prevEl);V(e.navigation.nextEl).includes(i)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?l(s.lastSlideMessage):l(s.nextSlideMessage)),t.includes(i)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?l(s.firstSlideMessage):l(s.prevSlideMessage))}e.pagination&&i.matches(Me(e.params.pagination.bulletClass))&&i.click()}}function g(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function v(){return g()&&e.params.pagination.clickable}const b=(e,t,s)=>{o(e),"BUTTON"!==e.tagName&&(c(e,"button"),e.addEventListener("keydown",f)),u(e,s),function(e,t){(e=V(e)).forEach(e=>{e.setAttribute("aria-controls",t)})}(e,t)},w=t=>{a&&a!==t.target&&!a.contains(t.target)&&(i=!0),e.a11y.clicked=!0},y=()=>{i=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},S=e=>{n=(new Date).getTime()},E=t=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus)return;if((new Date).getTime()-n<100)return;const s=t.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!s||!e.slides.includes(s))return;a=s;const r=e.slides.indexOf(s)===e.activeIndex,l=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(s);r||l||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{i||(e.params.loop?e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(s.getAttribute("data-swiper-slide-index"))),0):e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(s)),0),i=!1)}))},x=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&p(e.slides,t.itemRoleDescriptionMessage),t.slideRole&&c(e.slides,t.slideRole);const s=e.slides.length;
171t.slideLabelMessage&&e.slides.forEach((i,a)=>{const r=e.params.loop?parseInt(i.getAttribute("data-swiper-slide-index"),10):a;u(i,t.slideLabelMessage.replace(/\{\{index\}\}/,r+1).replace(/\{\{slidesLength\}\}/,s))})};s("beforeInit",()=>{r=G("span",e.params.a11y.notificationClass),r.setAttribute("aria-live","assertive"),r.setAttribute("aria-atomic","true")}),s("afterInit",()=>{e.params.a11y.enabled&&(()=>{const t=e.params.a11y;e.el.append(r);const s=e.el;t.containerRoleDescriptionMessage&&p(s,t.containerRoleDescriptionMessage),t.containerMessage&&u(s,t.containerMessage),t.containerRole&&c(s,t.containerRole);const i=e.wrapperEl,a=t.id||i.getAttribute("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}(16)}`;var n,l,o;n=a,V(i).forEach(e=>{e.setAttribute("id",n)}),t.wrapperLiveRegion&&(l=i,o=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite",(l=V(l)).forEach(e=>{e.setAttribute("aria-live",o)})),x();let{nextEl:d,prevEl:h}=e.navigation?e.navigation:{};d=V(d),h=V(h),d&&d.forEach(e=>b(e,a,t.nextSlideMessage)),h&&h.forEach(e=>b(e,a,t.prevSlideMessage)),v()&&V(e.pagination.el).forEach(e=>{e.addEventListener("keydown",f)}),T().addEventListener("visibilitychange",S),e.el.addEventListener("focus",E,!0),e.el.addEventListener("pointerdown",w,!0),e.el.addEventListener("pointerup",y,!0)})()}),s("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&x()}),s("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:t,prevEl:s}=e.navigation;s&&(e.isBeginning?(h(s),d(s)):(m(s),o(s))),t&&(e.isEnd?(h(t),d(t)):(m(t),o(t)))}()}),s("paginationUpdate",()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;g()&&e.pagination.bullets.forEach(s=>{e.params.pagination.clickable&&(o(s),e.params.pagination.renderBullet||(c(s,"button"),u(s,t.paginationBulletMessage.replace(/\{\{index\}\}/,q(s)+1)))),s.matches(Me(e.params.pagination.bulletActiveClass))?s.setAttribute("aria-current","true"):s.removeAttribute("aria-current")})}()}),s("destroy",()=>{e.params.a11y.enabled&&function(){r&&r.remove();let{nextEl:t,prevEl:s}=e.navigation?e.navigation:{};t=V(t),s=V(s),t&&t.forEach(e=>e.removeEventListener("keydown",f)),s&&s.forEach(e=>e.removeEventListener("keydown",f)),v()&&V(e.pagination.el).forEach(e=>{e.removeEventListener("keydown",f)}),T().removeEventListener("visibilitychange",S),e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("focus",E,!0),e.el.removeEventListener("pointerdown",w,!0),e.el.removeEventListener("pointerup",y,!0))}()})},function({swiper:e,extendParams:t,on:s,emit:i,params:a}){let r,n;e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,o,d,c,p,u,h,m=a&&a.autoplay?a.autoplay.delay:3e3,f=a&&a.autoplay?a.autoplay.delay:3e3,g=(new Date).getTime();function v(t){e&&!e.destroyed&&e.wrapperEl&&t.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",v),h||t.detail&&t.detail.bySwiperTouchMove||C())}const b=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?o=!0:o&&(f=l,o=!1);const t=e.autoplay.paused?l:g+f-(new Date).getTime();e.autoplay.timeLeft=t,i("autoplayTimeLeft",t,t/m),n=requestAnimationFrame(()=>{b()})},w=()=>{let t=e.params.autoplay.delay;const s=(()=>{let t;if(t=e.virtual&&e.params.virtual.enabled?e.slides.find(e=>e.classList.contains("swiper-slide-active")):e.slides[e.activeIndex],t)return parseInt(t.getAttribute("data-swiper-autoplay"),10)})();return!Number.isNaN(s)&&s>0&&(t=s),t},y=t=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(n),b();let s=t;void 0===s&&(s=w(),m=s,f=s),l=s;const a=e.params.speed,o=()=>{e&&!e.destroyed&&(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(a,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,a,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(a,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,a,!0,!0),i("autoplay")),e.params.cssMode&&(g=(new Date).getTime(),requestAnimationFrame(()=>{y()})))};return s>0?(clearTimeout(r),r=setTimeout(()=>{o()},s)):requestAnimationFrame(()=>{o()}),s},S=()=>{g=(new Date).getTime(),e.autoplay.running=!0,y(),i("autoplayStart")},E=()=>
171{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(n),i("autoplayStop")},x=(t,s)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),t||(u=!0);const a=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",v):C()};if(e.autoplay.paused=!0,s)return void a();const n=l||e.params.autoplay.delay;l=n-((new Date).getTime()-g),e.isEnd&&l<0&&!e.params.loop||(l<0&&(l=0),a())},C=()=>{e.isEnd&&l<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(g=(new Date).getTime(),u?(u=!1,y(l)):y(),e.autoplay.paused=!1,i("autoplayResume"))},M=()=>{if(e.destroyed||!e.autoplay.running)return;const t=T();"hidden"===t.visibilityState&&(u=!0,x(!0)),"visible"===t.visibilityState&&C()},P=t=>{"mouse"===t.pointerType&&(u=!0,h=!0,e.animating||e.autoplay.paused||x(!0))},L=t=>{"mouse"===t.pointerType&&(h=!1,e.autoplay.paused&&C())};s("init",()=>{e.params.autoplay.enabled&&(e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",P),e.el.addEventListener("pointerleave",L)),T().addEventListener("visibilitychange",M),S())}),s("destroy",()=>{e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("pointerenter",P),e.el.removeEventListener("pointerleave",L)),T().removeEventListener("visibilitychange",M),e.autoplay.running&&E()}),s("_freeModeStaticRelease",()=>{(c||u)&&C()}),s("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?E():x(!0,!0)}),s("beforeTransitionStart",(t,s,i)=>{!e.destroyed&&e.autoplay.running&&(i||!e.params.autoplay.disableOnInteraction?x(!0,!0):E())}),s("sliderFirstMove",()=>{!e.destroyed&&e.autoplay.running&&(e.params.autoplay.disableOnInteraction?E():(d=!0,c=!1,u=!1,p=setTimeout(()=>{u=!0,c=!0,x(!0)},200)))}),s("touchEnd",()=>{if(!e.destroyed&&e.autoplay.running&&d){if(clearTimeout(p),clearTimeout(r),e.params.autoplay.disableOnInteraction)return c=!1,void(d=!1);c&&e.params.cssMode&&C(),c=!1,d=!1}}),s("slideChange",()=>{!e.destroyed&&e.autoplay.running&&e.autoplay.paused&&(l=w(),m=w())}),Object.assign(e.autoplay,{start:S,stop:E,pause:x,resume:C})},function({swiper:e,extendParams:t,on:s}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,a=!1;function r(){const t=e.thumbs.swiper;return!(!t||t.destroyed)&&t.params.virtual&&t.params.virtual.enabled}function n(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const s=t.clickedIndex,i=t.clickedSlide;if(i&&i.classList.contains(e.params.thumbs.slideThumbActiveClass))return;if(null==s)return;let a;a=t.params.loop?parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10):s,e.params.loop?e.slideToLoop(a):e.slideTo(a)}function l(){const{thumbs:t}=e.params;if(i)return!1;i=!0;const s=e.constructor;if(t.swiper instanceof s){if(t.swiper.destroyed)return i=!1,!1;e.thumbs.swiper=t.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update()}else if(A(t.swiper)){const i=Object.assign({},t.swiper);Object.assign(i,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new s(i),a=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",n),r()&&e.thumbs.swiper.on("virtualUpdate",()=>{o(!1,{autoScroll:!1})}),!0}function o(t,s){const i=e.thumbs.swiper;if(!i||i.destroyed)return;let a=1;const n=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(a=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(a=1),a=Math.floor(a),i.slides.forEach(e=>e.classList.remove(n)),i.params.loop||r())for(let t=0;t<a;t+=1)_(i.slidesEl,`[data-swiper-slide-index="${e.realIndex+t}"]`).forEach(e=>{e.classList.add(n)});else for(let t=0;t<a;t+=1)i.slides[e.realIndex+t]&&i.slides[e.realIndex+t].classList.add(n);(s?.autoScroll??1)&&function(t){const s=e.thumbs.swiper;if(!s||s.destroyed)return;const i="auto"===s.params.slidesPerView?s.slidesPerViewDynamic():s.params.slidesPerView,a=e.params.thumbs.autoScrollOffset,r=a&&!s.params.loop;if(e.realIndex!==s.realIndex||r){const n=s.activeIndex;let l,o;if(s.params.loop){const t=s.slides.find(t=>t.getAttribute("data-swiper-slide-index")===`${e.realIndex}`);l=s.slides.indexOf(t),o=e.activeIndex>e.previousIndex?"next":"prev"}else l=e.realIndex,o=l>e.previousIndex?"next":"prev";r&&(l+="next"===o?a:-1*a),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(l)<0&&(s.params.centeredSlides?l=l>n?l-Math.floor(i/2)+1:l+Math.floor(i/2)-1:l>n&&s.params.slidesPerGroup,s.slideTo(l,t))}}(t?0:void 0)}e.thumbs={swiper:null},s("beforeInit",()=>{const{thumbs:t}=e.params;if(t&&t.swiper)if("string"==typeof t.swiper||t.swiper instanceof HTMLElement){const s=T(),i=()=>{const i="string"==typeof t.swiper?s.querySelector(t.swiper):t.swiper;if(i&&i.swiper)t.swiper=i.swiper,l(),o(!0);else if(i){const s=`${e.params.eventsPrefix}init`,a=r=>{t.swiper=r.detail[0],i.removeEventListener(s,a),l(),o(!0),t.swiper.update(
vendor: 9,610 bytes, line 171
171),e.update()};i.addEventListener(s,a)}return i},a=()=>{e.destroyed||i()||requestAnimationFrame(a)};requestAnimationFrame(a)}else l(),o(!0)}),s("slideChange update resize observerUpdate",()=>{o()}),s("setTransition",(t,s)=>{const i=e.thumbs.swiper;i&&!i.destroyed&&i.setTransition(s)}),s("beforeDestroy",()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&a&&t.destroy()}),Object.assign(e.thumbs,{init:l,update:o})},function({swiper:e,extendParams:t,on:s}){t({fadeEffect:{crossFade:!1}}),Pe({effect:"fade",swiper:e,on:s,setTranslate:()=>{const{slides:t}=e;e.params.fadeEffect;for(let s=0;s<t.length;s+=1){const t=e.slides[s];let i=-t.swiperSlideOffset;e.params.virtualTranslate||(i-=e.translate);let a=0;e.isHorizontal()||(a=i,i=0);const r=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t.progress),0):1+Math.min(Math.max(t.progress,-1),0),n=Le(0,t);n.style.opacity=r,n.style.transform=`translate3d(${i}px, ${a}px, 0px)`}},setTransition:t=>{const s=e.slides.map(e=>D(e));s.forEach(e=>{e.style.transitionDuration=`${t}ms`}),Ie({swiper:e,duration:t,transformElements:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})},function({swiper:e,extendParams:t,on:s}){t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(e,t,s)=>{let i=s?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),a=s?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=G("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"left":"top")).split(" ")),e.append(i)),a||(a=G("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"right":"bottom")).split(" ")),e.append(a)),i&&(i.style.opacity=Math.max(-t,0)),a&&(a.style.opacity=Math.max(t,0))};Pe({effect:"cube",swiper:e,on:s,setTranslate:()=>{const{el:t,wrapperEl:s,slides:a,width:r,height:n,rtlTranslate:l,size:o,browser:d}=e,c=R(e),p=e.params.cubeEffect,u=e.isHorizontal(),h=e.virtual&&e.params.virtual.enabled;let m,f=0;p.shadow&&(u?(m=e.wrapperEl.querySelector(".swiper-cube-shadow"),m||(m=G("div","swiper-cube-shadow"),e.wrapperEl.append(m)),m.style.height=`${r}px`):(m=t.querySelector(".swiper-cube-shadow"),m||(m=G("div","swiper-cube-shadow"),t.append(m))));for(let e=0;e<a.length;e+=1){const t=a[e];let s=e;h&&(s=parseInt(t.getAttribute("data-swiper-slide-index"),10));let r=90*s,n=Math.floor(r/360);l&&(r=-r,n=Math.floor(-r/360));const d=Math.max(Math.min(t.progress,1),-1);let m=0,g=0,v=0;s%4==0?(m=4*-n*o,v=0):(s-1)%4==0?(m=0,v=4*-n*o):(s-2)%4==0?(m=o+4*n*o,v=o):(s-3)%4==0&&(m=-o,v=3*o+4*o*n),l&&(m=-m),u||(g=m,m=0);const b=`rotateX(${c(u?0:-r)}deg) rotateY(${c(u?r:0)}deg) translate3d(${m}px, ${g}px, ${v}px)`;d<=1&&d>-1&&(f=90*s+90*d,l&&(f=90*-s-90*d)),t.style.transform=b,p.slideShadows&&i(t,d,u)}if(s.style.transformOrigin=`50% 50% -${o/2}px`,s.style["-webkit-transform-origin"]=`50% 50% -${o/2}px`,p.shadow)if(u)m.style.transform=`translate3d(0px, ${r/2+p.shadowOffset}px, ${-r/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${p.shadowScale})`;else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=p.shadowScale,i=p.shadowScale/t,a=p.shadowOffset;m.style.transform=`scale3d(${s}, 1, ${i}) translate3d(0px, ${n/2+a}px, ${-n/2/i}px) rotateX(-89.99deg)`}const g=(d.isSafari||d.isWebView)&&d.needPerspectiveFix?-o/2:0;s.style.transform=`translate3d(0px,0,${g}px) rotateX(${c(e.isHorizontal()?0:f)}deg) rotateY(${c(e.isHorizontal()?-f:0)}deg)`,s.style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:t=>{const{el:s,slides:i}=e;if(i.forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=`${t}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const e=s.querySelector(".swiper-cube-shadow");e&&(e.style.transitionDuration=`${t}ms`)}},recreateShadows:()=>{const t=e.isHorizontal();e.slides.forEach(e=>{const s=Math.max(Math.min(e.progress,1),-1);i(e,s,t)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function({swiper:e,extendParams:t,on:s}){t({flipEffect:{slideShadows:!0,limitRotation:!0}});const i=(t,s)=>{let i=e.isHorizontal()?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),a=e.isHorizontal()?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");i||(i=Ae("flip",t,e.isHorizontal()?"left":"top")),a||(a=Ae("flip",t,e.isHorizontal()?"right":"bottom")),i&&(i.style.opacity=Math.max(-s,0)),a&&(a.style.opacity=Math.max(s,0))};Pe({effect:"flip",swiper:e,on:s,setTranslate:()=>{const{slides:t,rtlTranslate:s}=e,a=e.params.flipEffect,r=R(e);for(let n=0;n<t.length;n+=1){const l=t[n];let o=l.progress;e.params.flipEffect.limitRotation&&(o=Math.max(Math.min(l.progress,1),-1));const d=l.swiperSlideOffset;let c=-180*o,p=0,u=e.params.cssMode?-d-e.translate:-d,h=0;e.isHorizontal()?s&&(c=-c):(h=u,u=0,p=-c,c=0),l.style.zIndex=-Math.abs(Math.round(o))+t.length,a.slideShadows&&i(l,o);const m=`translate3d(${u}px, ${h}px, 0px) rotateX(${r(p)}deg) rotateY(${r(c)}deg)`;Le(0,l).style.transform=m}},setTransition:t=>{const s=e.slides.map(e=>D(e));s.forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=`${t}ms`})}),Ie({swiper:e,duration:t,transformElements:s})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(t=>{let s=t.progress;e.params.flipEffect.limitRotation&&(s=Math.max(Math.min(t.progress,1),-1)),i(t,s)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})},function({swiper:e,extendParams:t,on:s}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),Pe({effect:"coverflow",swiper:e,on:s,setTranslate:()=>{const{width:t,height:s,slides:i,slidesSizesGrid:a}=e,r=e.params.coverflowEffect,n=e.isHorizontal(),l=e.translate,o=n?t/2-l:s/2-l,d=n?r.rotate:-r.rotate,c=r.depth,p=R(e);for(let e=0,t=i.length;e<t;e+=1){const t=i[e],s=a[e],l=(o-t.swiperSlideOffset-s/2)/s,u="function"==typeof r.modifier?r.modifier(l):l*r.modifier;let h=n?d*u:0,m=n?0:d*u,f=-c*Math.abs(u),g=r.stretch;"string"==typeof g&&-1!==g.indexOf("%")&&(g=parseFloat(r.stretch)/100*s);let v=n?0:g*u,b=n?g*u:0,w=1-(1-r.scale)*Math.abs(u);Math.abs(b)<.001&&(b=0),Math.abs(v)<.001&&(v=0),Math.abs(f)<.001&&(f=0),Math.abs(h)<.001&&(h=0),Math.abs(m)<.001&&(m=0),Math.abs(w)<.001&&(w=0);const y=`translate3d(${b}px,${v}px,${f}px) rotateX(${p(m)}deg) rotateY(${p(h)}deg) scale(${w})`;if(Le(0,t).style.transform=y,t.style.zIndex=1-Math.abs(Math.round(u)),r.slideShadows){let e=n?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),s=n?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");e||(e=Ae("coverflow",t,n?"left":"top")),s||(s=Ae("coverflow",t,n?"right":"bottom")),e&&(e.style.opacity=u>0?u:0),s&&(s.style.opacity=-u>0?-u:0)}}},setTransition:t=>{e.slides.map(e=>D(e)).forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=`${t}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function({swiper:e,extendParams:t,on:s}){t({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=e=>"string"==typeof e?e:`${e}px`;Pe({effect:"creative",swiper:e,on:s,setTranslate:()=>{const{slides:t,wrapperEl:s,slidesSizesGrid:a}=e,r=e.params.creativeEffect,{progressMultiplier:n}=r,l=e.params.centeredSlides,o=R(e);if(l){const t=a[0]/2-e.params.slidesOffsetBefore||0;s.style.transform=`translateX(calc(50% - ${t}px))`}for(let s=0;s<t.length;s+=1){const a=t[s],d=a.progress,c=Math.min(Math.max(a.progress,-r.limitProgress),r.limitProgress);let p=c;l||(p=Math.min(Math.max(a.originalProgress,-r.limitProgress),r.limitProgress));const u=a.swiperSlideOffset,h=[e.params.cssMode?-u-e.translate:-u,0,0],m=[0,0,0];let f=!1;e.isHorizontal()||(h[1]=h[0],h[0]=0);let g={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};c<0?(g=r.next,f=!0):c>0&&(g=r.prev,f=!0),h.forEach((e,t)=>{h[t]=`calc(${e}px + (${i(g.translate[t])} * ${Math.abs(c*n)}))`}),m.forEach((e,t)=>{let s=g.rotate[t]*Math.abs(c*n);m[t]=s}),a.style.zIndex=-Math.abs(Math.round(d))+t.length;const v=h.join(", "),b=`rotateX(${o(m[0])}deg) rotateY(${o(m[1])}deg) rotateZ(${o(m[2])}deg)`,w=p<0?`scale(${1+(1-g.scale)*p*n})`:`scale(${1-(1-g.scale)*p*n})`,y=p<0?1+(1-g.opacity)*p*n:1-(1-g.opacity)*p*n,S=`translate3d(${v}) ${b} ${w}`;if(f&&g.shadow||!f){let e=a.querySelector(".swiper-slide-shadow");if(!e&&g.shadow&&(e=Ae("creative",a)),e){const t=r.shadowPerProgress?c*(1/r.limitProgress):c;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const E=Le(0,a);E.style.transform=S,E.style.opacity=y,g.origin&&(E.style.transformOrigin=g.origin)}},setTransition:t=>{const s=e.slides.map(e=>D(e));
171s.forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow").forEach(e=>{e.style.transitionDuration=`${t}ms`})}),Ie({swiper:e,duration:t,transformElements:s,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})},function({swiper:e,extendParams:t,on:s}){t({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),Pe({effect:"cards",swiper:e,on:s,setTranslate:()=>{const{slides:t,activeIndex:s,rtlTranslate:i}=e,a=e.params.cardsEffect,{startTranslate:r,isTouched:n}=e.touchEventsData,l=i?-e.translate:e.translate;for(let o=0;o<t.length;o+=1){const d=t[o],c=d.progress,p=Math.min(Math.max(c,-4),4);let u=d.swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&(e.wrapperEl.style.transform=`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(u-=t[0].swiperSlideOffset);let h=e.params.cssMode?-u-e.translate:-u,m=0;const f=-100*Math.abs(p);let g=1,v=-a.perSlideRotate*p,b=a.perSlideOffset-.75*Math.abs(p);const w=e.virtual&&e.params.virtual.enabled?e.virtual.from+o:o,y=(w===s||w===s-1)&&p>0&&p<1&&(n||e.params.cssMode)&&l<r,S=(w===s||w===s+1)&&p<0&&p>-1&&(n||e.params.cssMode)&&l>r;if(y||S){const t=(1-Math.abs((Math.abs(p)-.5)/.5))**.5;v+=-28*p*t,g+=-.5*t,b+=96*t,m=(a.rotate||e.isHorizontal()?-25:0)*t*Math.abs(p)+"%"}if(h=p<0?`calc(${h}px ${i?"-":"+"} (${b*Math.abs(p)}%))`:p>0?`calc(${h}px ${i?"-":"+"} (-${b*Math.abs(p)}%))`:`${h}px`,!e.isHorizontal()){const e=m;m=h,h=e}const E=p<0?""+(1+(1-g)*p):""+(1-(1-g)*p),x=`\n translate3d(${h}, ${m}, ${f}px)\n rotateZ(${a.rotate?i?-v:v:0}deg)\n scale(${E})\n `;if(a.slideShadows){let e=d.querySelector(".swiper-slide-shadow");e||(e=Ae("cards",d)),e&&(e.style.opacity=Math.min(Math.max((Math.abs(p)-.5)/.5,0),1))}d.style.zIndex=-Math.abs(Math.round(c))+t.length,Le(0,d).style.transform=x}},setTransition:t=>{const s=e.slides.map(e=>D(e));s.forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow").forEach(e=>{e.style.transitionDuration=`${t}ms`})}),Ie({swiper:e,duration:t,transformElements:s})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:e.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!e.params.cssMode})})}]);class ze extends w{constructor(e,t={}){if(super(e,t),!e)return;if(this.cbbCarouselId=e.dataset.cbbCarouselId,this.cbbCarouselId&&this.slider)return this;this.sliderElement=this._element,this.originalSource=e.cloneNode(!0),this.document=e.ownerDocument,this.settings=this._config;const{datasetSelector:s}=this.settings;this.datasetElement=s&&e.querySelector(s)||e,this.sliderOptions=this.getSliderOptions(t?.sliderOptions),this.slider=null,this.init()}static get NAME(){return"carousel"}defaultConfig(){return{selector:".js-carousel-layout",wrapperSelector:".carousel__inner",itemSelector:".is-carousel-item",containerClass:"swiper",wrapperClass:"swiper-wrapper",itemClass:"swiper-slide",paginationClass:"swiper-pagination",navigationNextClass:"swiper-button-next",navigationPrevClass:"swiper-button-prev",scrollbarClass:"swiper-scrollbar",preloadClass:"cbb-carousel-preload",instanceId:"cbb-carousel-1",datasetSelector:""}}getSliderOptions(e){const t=e=>h(window,"cbb.carousel.slideChangeTransitionStart",{swiper:e}),s=e=>h(window,"cbb.carousel.slideChangeTransitionEnd",{swiper:e});let i={direction:"horizontal",loop:!1,grabCursor:!0,pagination:!0,navigation:!1,scrollbar:!1,slidesPerView:1,slidesPerGroup:1,spaceBetween:0,watchSlidesProgress:!0,on:{afterInit(e){h(window,"cbb.carousel.afterInit",{swiper:e})},slideChangeTransitionStart:t,slideChangeTransitionEnd:s,slideResetTransitionStart:t,slideResetTransitionEnd:s}};const a=this.datasetElement.dataset?.carouselSettings,r=d(a);return i=Oe(i,r),e&&(i=Oe(i,e)),i}init(){this.cbbCarouselId?this.restoreSlider():this.buildSlider()}buildSlider(){const{sliderElement:e,sliderOptions:t}=this,{itemSelector:s,itemClass:i,wrapperSelector:a,wrapperClass:r,containerClass:n,preloadClass:l,instanceId:o}=this.settings,d=Array.from(e.querySelectorAll(s));
171this.sliderItems=d,d.forEach(e=>this.addClass(e,i));let c=e.querySelector(a);c?this.hasSlideWrapper=!0:(this.hasSlideWrapper=!1,c=this.document.createElement("div")),this.sliderWrapper=c,this.addClass(c,r);const{equalHeight:p,effect:u,centeredSlides:h,centeredSlidesSettings:m={}}=t;p&&this.addClass(c,"is-equal-height");const f=this.getSliderStyle();if("slide"===u&&h&&m?.enable){let e=parseFloat(m?.inactiveSize);isNaN(e)||(this.addClass(c,"centered-active-slide"),f.add("--swiper-inactive-scale",e))}this.hasSlideWrapper||c.append(...d);const g=Object.assign(this.document.createElement("div"),{className:n});this.sliderContainer=g,g.appendChild(c),e.appendChild(g),this.buildNavigation(),this.buildPlayPause(),this.buildPagination(),this.buildScrollbar(),this.addClass(e,"slider-initialized"),this.removeClass(e,l),f.apply(),this.slider=new xe(g,t),e.setAttribute("data-cbb-carousel-id",o)}restoreSlider(){const e=this._element.querySelector(`.${this.settings.containerClass}`);if(!e)return void this.buildSlider();const{cbbCarouselId:t}=this,s={...this.sliderOptions};s.navigation&&(s.navigation={...s.navigationSettings,nextEl:this.document.getElementById(`${t}-navigation-next`),prevEl:this.document.getElementById(`${t}-navigation-prev`)}),s.pagination&&(s.pagination=this.buildPaginationOptions({...s.paginationSettings,el:this.document.getElementById(`${t}-pagination`)})),s.scrollbar&&(s.scrollbar={...s.scrollbarSettings,el:this.document.getElementById(`${t}-scrollbar`)}),s?.playPause?.enable&&(this.sliderPlayPause=this.document.getElementById(`${t}-play-pause`),this.sliderPlayPause&&this.bindPlayPause(this.sliderPlayPause)),this.slider=new xe(e,s)}dispose(){super.dispose(),this.slider&&(this.slider.destroy(),this.slider=null,this.settings?.isClone||this.sliderElement.replaceWith(this.originalSource))}buildSliderControls(){if(!this.sliderControls){const e=this.document.createElement("div");e.setAttribute("id",`${this.settings.instanceId}-controls`),e.classList.add("cbb-carousel-controls"),this.sliderControls=e,this.sliderElement.appendChild(e)}return this.sliderControls}hasCarouselControls(e=""){const{pagination:t,paginationSettings:s,direction:i,navigation:a,navigationSettings:r={},playPause:n={}}=this.sliderOptions;if(!t||"horizontal"!==i)return!1;const l="with-pagination",o=a&&r?.position===l,d=n?.enable&&n?.position===l;return e?"navigation"===e?o:"playPause"===e?d:void 0:!!(s?.position||o||d)}getSliderControls(e){return this.hasCarouselControls(e)?this.buildSliderControls():this.sliderElement}buildPagination(){if(this.sliderOptions.pagination){const e=this.getSliderControls(),{sliderElement:t,sliderOptions:s,settings:{instanceId:i,paginationClass:a}={}}=this,r=this.document.createElement("div");this.sliderPagination=r,r.setAttribute("id",`${i}-pagination`),r.classList.add(a);const{direction:n,paginationSettings:l={}}=s,{position:o,xOffset:d,type:c="bullets",size:p,bulletWidth:u=p,bulletHeight:h=p,activeBulletWidth:m,activeBulletHeight:f,spacing:g,color:v,inactiveColor:b,opacity:w,borderColor:y,fractionColor:S,horizontalGap:E,dynamicBullets:x=!1}=l,T=this.getSliderStyle();if(o&&"horizontal"===n&&((this.hasCarouselControls()?this.sliderControls:r).classList.add("pag-custom-position",`pag-is-${o}`),T.add("--cbb--pag-x-offset",d)),"bullets"===c?(u===h?T.add("--swiper-pagination-bullet-size",u):(T.add("--swiper-pagination-bullet-width",u),T.add("--swiper-pagination-bullet-height",h)),m&&(this.sliderPagination.classList.add("active-bullet-width"),T.add("--swiper-pagination-active-bullet-width",m)),f&&(this.sliderPagination.classList.add("active-bullet-height"),T.add("--swiper-pagination-active-bullet-height",f)),T.addColor("--swiper-pagination-color",v),T.addColor("--swiper-pagination-bullet-inactive-color",b),T.addColor("--swiper-pagination-bullet-b-color",y),T.add("--swiper-pagination-bullet-inactive-opacity",w)):T.addColor
171("--swiper-pagination-fraction-color",S),g){const e="vertical"===n?"--swiper-pagination-right":"--swiper-pagination-bottom";T.add(e,g)}T.add("--swiper-pagination-bullet-horizontal-gap",E),this.sliderOptions.pagination=this.buildPaginationOptions({el:r,type:c,dynamicBullets:x}),e.appendChild(r)}}buildPaginationOptions(e){return{...e,renderBullet:e=>`<span class="swiper-pagination-bullet" tabindex="0" role="button" aria-label="Go to slide ${e+1}"><span class="swiper-pagination-bullet__dot"></span></span>`,clickable:!0}}buildNavigation(){if(this.sliderOptions.navigation){const{sliderElement:e,settings:{instanceId:t,navigationNextClass:s,navigationPrevClass:i}={}}=this,{nextIcon:a={},prevIcon:r={},size:n,position:l,xOffset:o,yOffset:d,spacing:c,color:p,...u}=this.sliderOptions.navigationSettings,h=this.getSliderControls("navigation"),m=this.document.createElement("div");this.sliderNavigationNext=m,m.setAttribute("id",`${t}-navigation-next`),m.classList.add(s),a?.value&&(m.classList.add("has-custom-icon"),m.insertAdjacentHTML("afterbegin",a.value));const f=this.document.createElement("div");this.sliderNavigationPrev=f,f.setAttribute("id",`${t}-navigation-prev`),f.classList.add(i),r?.value&&(f.classList.add("has-custom-icon"),f.insertAdjacentHTML("afterbegin",r.value));const g=this.getSliderStyle();g.add("--swiper-navigation-size",n),l?(m.classList.add("nav-custom-position",`is-${l}`),f.classList.add("nav-custom-position",`is-${l}`),g.add("--cbb--nav-x-offset",o),g.add("--cbb--nav-y-offset",d)):g.add("--swiper-navigation-sides-offset",c),g.addColor("--swiper-navigation-color",p),this.sliderOptions.navigation={...u,nextEl:m,prevEl:f},h.appendChild(m),h.appendChild(f),e.classList.add("swiper--has-navigation")}}buildPlayPause(){const{playPause:e={}}=this.sliderOptions;if(e?.enable){const{size:t,position:s="bottom-right",xOffset:i,yOffset:a,color:r,trackColor:n,progressColor:l}=e,o=this.getSliderControls("playPause"),d=this.document.createElement("div");d.innerHTML='<svg viewBox="0 0 48 48"><circle class="track" cx="24" cy="24" r="20"></circle><circle cx="24" cy="24" r="20"></circle></svg>',d.setAttribute("id",`${this.settings.instanceId}-play-pause`),d.setAttribute("tabindex",0),d.setAttribute("role","button"),d.classList.add("cbb-play-pause","cbb-carousel-play-pause",`is-${s}`);const c=$e(d);c.add("--cbb--pp-size",t),c.add("--cbb--pp-x-offset",i),c.add("--cbb--pp-y-offset",a),c.addColor("--cbb--pp-color",r),c.addColor("--cbb--progress-track-color",n),c.addColor("--cbb--progress-color",l),c.apply(),this.bindPlayPause(d),this.sliderPlayPause=d,o.appendChild(d)}}bindPlayPause(e){const{autoplay:t,on:s={}}=this.sliderOptions,i=(e,t)=>{e.setAttribute("aria-pressed",t?"false":"true"),e.classList.toggle("is-playing",t),e.classList.toggle("is-paused",!t),e.setAttribute("aria-label",t?"Pause":"Play")},a=t=>e.style.setProperty("--cbb--progress",t.toFixed(5)),r=()=>{const{running:t,start:s,resume:a,pause:r}=this.slider.autoplay;t?(this.autoplaying?r():a(),this.autoplaying=!this.autoplaying,i(e,this.autoplaying)):(s(),a(),i(e,!0),this.autoplaying=!0)};e.addEventListener("click",r),e.addEventListener("keydown",e=>{["Enter"," ","Spacebar"].includes(e.key)&&(e.preventDefault(),r())}),this.autoplaying=!!t,i(e,!!t),s.afterInit=ke(s.afterInit,t=>{e.setAttribute("aria-controls",t.wrapperEl.getAttribute("id"))}),s.autoplayStop=()=>{i(e,!1),a(0)},s.autoplayResume=()=>i(e,!0),s.slideChange=ke(s.slideChange,e=>{this.autoplaying||e.autoplay.stop()}),s.lock=t=>e.classList.add("swiper-button-lock"),s.unlock=t=>e.classList.remove("swiper-button-lock"),s.autoplayTimeLeft=(e,t,s)=>{if(e.isLocked||e.autoplay.paused)return;const i=e.slides[e.activeIndex],r=parseInt(i.getAttribute("data-swiper-autoplay"),10);a(1-(r>0?t/r:s))},this.sliderOptions.on=s}buildScrollbar(){if(this.sliderOptions.scrollbar){const{sliderElement:e,settings:{instanceId:t,scrollbarClass:s}={}}=this,i=this.document.createElement("div");this.sliderScrollbar=i,i.setAttribute("id",`${t}-scrollbar`),i.classList.add(s);const{direction:a,scrollbarSettings:r={}}=this.sliderOptions,{trackSize:n,spacing:l,trackColor:o,sliderColor:d,trackOpacity:c,...p}=r,u=this.getSliderStyle();if(u.add("--swiper-scrollbar-size",n),l){const e="vertical"===a?"--swiper-scrollbar-right":"--swiper-scrollbar-bottom";u.add(e,l)}
171u.addColor("--swiper-scrollbar-track-color",o),u.addColor("--swiper-scrollbar-slider-color",d),u.add("--swiper-scrollbar-track-opacity",c),this.sliderOptions.scrollbar={...p,el:i},this.sliderContainer.appendChild(i)}}getSliderStyle(){return this.sliderStyle||(this.sliderStyle=$e(this.sliderElement)),this.sliderStyle}addClass(e,t){e.classList.contains(t)||e.classList.add(t)}removeClass(e,t){t&&e.classList.remove(t)}}const De=(e,t,s=[])=>{const i=(window?.CBBCarousels||(window.CBBCarousels={}),window.CBBCarousels),{instanceId:a}=t;if(!i[a]||!i[a]?.slider){if(s.length>1){const i=_e(e,s);i&&(t.sliderOptions={thumbs:{swiper:i.slider}})}e.classList.contains("wp-block-query")&&(t.wrapperSelector="ul",t.itemSelector="li");const r=new ze(e,t);return i[r?.cbbCarouselId||a]=r,r}return i[a]},_e=(e,t)=>{let s=e?.dataset?.carouselSettings;if(!s)return null;s=d(s);const i=s?.thumbsSettings?.enable?s.thumbsSettings?.selector:"";if(!i)return null;const a=e.ownerDocument.querySelector(i);if(!a)return null;const r=t.findIndex(e=>e.isSameNode(a));return-1===r?null:De(a,{instanceId:`cbb-carousel-${r+1}`},t)};o("CarouselScript",ze);const Be=e=>{e&&e.play()};window.addEventListener("cbb.carousel.afterInit",function({detail:{swiper:e}}){if(e.hasVideo=!!e.wrapperEl.querySelector("video[autoplay]"),e.hasVideo&&e.visibleSlides){const t=e.visibleSlides.reduce((e,t)=>{const s=t.querySelectorAll("video[autoplay]");return e.push(...s),e},[]);t&&t.length&&t.forEach(e=>{Be(e)})}}),window.addEventListener("cbb.carousel.slideChangeTransitionEnd",function({detail:{swiper:e}}){if(e.visibleSlidesIndexes){if(e.hasVideo){const t=e.visibleSlidesIndexes.reduce((t,s)=>{const i=e.slides[s].querySelectorAll("video[autoplay]");return t.push(...i),t},[]);t&&t.length&&t.forEach(e=>{Be(e)})}const t=e.slides.reduce((t,s,i)=>{if(e.visibleSlidesIndexes.includes(i))return t;const a=s.querySelectorAll("video");return t.push(...a),t},[]);t&&t.length&&t.forEach(e=>{(e=>{e&&(e.pause(),e.currentTime=0)})(e)})}}),s(803);const Ge=new WeakSet,Ne=(e,t)=>{e?.slider&&Ge.add(t)};let qe=0;function Fe(e=document){const t=Array.from(e.querySelectorAll(".js-carousel-layout:not(.is-block-editor)"));t.forEach(e=>{!function(e,t){if(Ge.has(e))return;const s={instanceId:"cbb-carousel-"+ ++qe};e.closest(".is-toggle-content")||Ne(De(e,s,t),e),e.addEventListener("cbb.carousel.start",()=>{const i=De(e,s,t);Ne(i,e),i?.sliderOptions?.autoplay&&i.slider.autoplay.start()}),e.addEventListener("cbb.carousel.pause",()=>{const i=De(e,s,t);Ne(i,e),i?.slider?.autoplay?.running&&i.slider.autoplay.pause()})}(e,t)})}var He;c(()=>{Fe()}),He=(e,{type:t})=>{t||Fe(e)},document.addEventListener("cbb.observer.updated",e=>{const{detail:{container:t,args:s}}=e;t&&He(t,s)}),window.addEventListener(u.SHOWN,function({detail:{target:e}={}}){e&&e.querySelectorAll(".js-carousel-layout").forEach(e=>h(e,"cbb.carousel.start"))})})()})() 172;(()=>{var e={};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),(()=>{var t;e.g.importScripts&&(t=e.g.location+"");var i=e.g.document;if(!t&&i&&(i.currentScript&&(t=i.currentScript.src),!t)){var s=i.getElementsByTagName("script");if(s.length)for(var n=s.length-1;n>-1&&(!t||!/^http(s?):/.test(t));)t=s[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t})(),jQuery((function(e){e(".hamburger").on("click",(function(){e(this).toggleClass("is-active"),e(this).hasClass("is-active")&&(e(".search-section").removeClass("visible"),document.body.style.overflow=""),e("body").toggleClass("is-open-main-menu")})),e("#icon-search").on("click",(function(){e(".hamburger").hasClass("is-active")&&(e(".hamburger").toggleClass("is-active"),e("body").toggleClass("is-open-main-menu")),e(".search-section").toggleClass("visible"),e(".search-section").hasClass("visible")?document.body.style.overflow="hidden":document.body.style.overflow=""})),e('<span class="submenu-btn icon-chevron-bas"></span>').prependTo(['[id^="menu-principal-"]>.menu-item-has-children']),e('[id^="menu-principal-"] a[href="#"]').on("click",(function(t){t.preventDefault(),e(this).siblings(".submenu-btn").click()}
172)),e(".submenu-btn").on("click",(function(){e(this).parent().find(".sub-menu").is(":animated")||e(this).parent().toggleClass("active")})),e(document).on("click",".global-link",(function(t){let i=e(this).find("a:first");i.length&&(t.preventDefault(),"_blank"===i.attr("target")?window.open(i.attr("href"),"_blank"):document.location.href=i.attr("href"))}));let t=0,i=!1,s=e("header");e(window).on("scroll",(function(){let n=document.querySelector(".search-section").classList.contains("visible"),o=e(this).scrollTop();o>450&&!n?o>t&&!i?(s.addClass("is-hidden"),i=!0):o<t&&i&&(s.removeClass("is-hidden"),i=!1):i&&(s.removeClass("is-hidden"),i=!1),t=o}))})),document.querySelectorAll(".schema-faq-question").forEach((e=>{e.addEventListener("click",(()=>{e.parentElement.classList.toggle("active")}))})),document.querySelectorAll("em").forEach((e=>e.replaceWith(...e.childNodes))),(()=>{"use strict";e.p})(),(()=>{"use strict";e.p})()})() 173;var wpApiSettings={"root":"https://the-soccer-legends.com/wp-json/"} 174;document.addEventListener("DOMContentLoaded",(function(){const e=document.querySelector("[id^=wp-block-search__input-]"),n=document.getElementById("search-results");let t;e.addEventListener("keyup",(function(){clearTimeout(t);const e=this.value.trim();e.length<2?n.innerHTML="":t=setTimeout((()=>{n.innerHTML='<p class="loader"></p>',Promise.all([fetch(`${wpApiSettings.root}wp/v2/posts?search=${encodeURIComponent(e)}`).then((e=>e.json())),fetch(`${wpApiSettings.root}wp/v2/players?search=${encodeURIComponent(e)}`).then((e=>e.json())),fetch(`${wpApiSettings.root}wp/v2/clubs?search=${encodeURIComponent(e)}`).then((e=>e.json())),fetch(`${wpApiSettings.root}wp/v2/leagues?search=${encodeURIComponent(e)}`).then((e=>e.json())),fetch(`${wpApiSettings.root}wp/v2/countries?search=${encodeURIComponent(e)}`).then((e=>e.json()))]).then((([e,t,s,l,a])=>{let c="";0!==e.length||0!==t.length||0!==s.length||0!==l.length||0!==a.length?(n.style.paddingBottom="100px",e.length>0&&(c+="<h3>Posts</h3><div class='posts-grid'>",e.forEach((e=>{const n=e.featured_media_url?e.featured_media_url:"https://via.placeholder.com/150",t=new Date(e.date).toLocaleDateString("fr-FR");c+=`\n <div class="post-card">\n <div class="post-thumb">\n <img src="${n}" alt="${e.title.rendered}">\n </div>\n <div class="post-content">\n <a href="${e.link}" class="post-title">${e.title.rendered}</a>\n <div class="post-date">${t}</div>\n </div>\n </div>\n `})),c+="</div>"),t.length>0&&(c+="<h3>Players</h3><div class='players-grid'>",t.forEach((e=>{const n=e.acf||{},t=n.photo_joueur?n.photo_joueur:"https://via.placeholder.com/300x300?text=Player",s=n.poste_joueur?n.poste_joueur:"";c+=`\n <div class="player-card">\n <div class="player-thumb">\n <img src="${t}" alt="${e.title.rendered}">\n </div>\n <h4 class="player-name">${e.title.rendered}</h4>\n <p class="player-position">${s}</p>\n <a href="${e.link}" class="player-btn">View more</a>\n </div>\n `})),c+="</div>"),s.length>0&&(c+="<h3>Clubs</h3><div class='clubs-grid'>",s.forEach((e=>{const n=e.acf||{},t=n.logo_du_club?n.logo_du_club:"https://via.placeholder.com/300x300?text=Club",s=n.pays_du_club?n.pays_du_club:"";c+=`\n <div class="club-card">\n <figure class="club-thumb">\n <img src="${t}" alt="${e.title.rendered}">\n </figure>\n <h4 class="club-name">${e.title.rendered}</h4>\n <p class="club-country">${s}</p>\n <a href="${e.link}" class="club-btn">View more</a>\n </div>\n `})),c+="</div>"),l.length>0&&(c+="<h3>Leagues</h3><div class='championships-grid'>",l.forEach((e=>{const n=e.acf||{},t=n.logo_league?n.logo_league:"https://via.placeholder.com/300x300?text=Championship",s=n.pays_league?n.pays_league:"";c+=`\n <div class="championship-card">\n <div class="championship-thumb">\n <img src="${t}" alt="${e.title.rendered}">\n </div>\n <h4 class="championship-name">${e.title.rendered}</h4>\n <p class="championship-country">${s}</p>\n <a href="${e.link}" class="championship-btn">View more</a>\n </div>\n `})),c+="</div>"),a.length>0&&(console.log(a),c+="<h3>Countries</h3><div class='clubs-grid'>",a.forEach((e=>{const n=e.acf||{},t=n.drapeau?n.drapeau:"https://via.placeholder.com/300x300?text=Club";c+=`\n <div class="club-card">\n <figure class="club-thumb">\n <img src="${t}" alt="${e.title.rendered}">\n </figure>\n <h4 class="club-name">${e.title.rendered}</h4>\n <a href="${e.link}" class="club-btn">View more</a>\n </div>\n `})),c+="</div>"),n.innerHTML=c):n.innerHTML="<p style='color: var(--wp--preset--color--primary);'>No results...</p>"})).catch((e=>{console.error(e),n.innerHTML="<p>Erreur lors de la recherche</p>"}))}),300)}))})) 175;window._googlesitekit=window._googlesitekit||{};window._googlesitekit.contentEvents={"postID":11,"isSinglePost":!1,"hasVimeoEmbed":!1} 176;(()=>{"use strict";function e(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;
176!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(e,r)||function(e,r){if(e){if("string"==typeof e)return t(e,r);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,r):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function r(e){return e.pathname.split("/").filter(Boolean)}function n(e){return(e||"").toLowerCase()}const o=[{type:"phone",schemes:["tel:"]},{type:"email",schemes:["mailto:"]},{type:"sms",schemes:["sms:","smsto:"]},{type:"whatsapp",schemes:["whatsapp:"],hosts:["wa.me","api.whatsapp.com","web.whatsapp.com"],hasRecipient:t=>{if("wa.me"===t.hostname){const o=e(r(t),2),i=o[0],a=o[1];return/^\d+$/.test(i||"")||["message","qr"].includes(n(i))&&!!a}return!!t.searchParams.get("phone")}},{type:"messenger",schemes:["fb-messenger:"],hosts:["m.me","messenger.com"],hasRecipient:t=>{if("m.me"===t.hostname)return r(t).length>0;if("messenger.com"===t.hostname){const o=e(r(t),2),i=o[0],a=o[1];return"t"===n(i)&&!!a}return["user-thread","user"].includes(t.hostname)}},{type:"telegram",schemes:["tg:"],hosts:["t.me","telegram.me"],hasRecipient:t=>{if("tg:"===t.protocol)return"resolve"===t.hostname&&!!t.searchParams.get("domain");const o=e(r(t),1)[0];return!!o&&!o.startsWith("+")&&!["share","joinchat","addstickers","proxy"].includes(n(o))}},{type:"viber",schemes:["viber:"],hasRecipient:e=>["chat","add","pa"].includes(e.hostname)},{type:"signal",schemes:["sgnl:"],hosts:["signal.me"],hasRecipient:e=>"sgnl:"===e.protocol||e.hash.startsWith("#p/")&&e.hash.length>3},{type:"line",schemes:["line:"],hosts:["line.me","page.line.me"],hasRecipient:t=>{if("page.line.me"===t.hostname)return r(t).length>0;const o="line:"===t.protocol?[t.hostname,...r(t)]:r(t),i=e("r"===n(o[0])?o.slice(1):o,4),a=i[0],c=i[1],l=i[2],s=i[3];return"ti"===n(a)&&"p"===n(c)&&!!l&&!s}}],i=Object.create(null),a=Object.create(null);o.forEach(e=>{var t,r;null===(t=e.schemes)||void 0===t||t.forEach(t=>{i[t]=e}),null===(r=e.hosts)||void 0===r||r.forEach(t=>{a[t]=e})});const c=["sponsored","ugc","nofollow"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e){return"http:"===e.protocol||"https:"===e.protocol?{transport_type:"beacon"}:{}}const f="a.post-page-numbers";function h(e){var t;try{const t=new URL(e.href);for(const e of["page","paged"]){const r=parseInt(t.searchParams.get(e)||"",10);if(r>0)return r}const r=t.pathname.split("/").filter(Boolean).pop()||"";if(/^\d+$/.test(r)){const e=parseInt(r,10);if(e>0)return e}}catch(e){}const r=parseInt((null===(t=e.textContent)||void 0===t?void 0:t.trim())||"",10);return r>0?r:1}const m="https://player.vimeo.com/api/player.js",y="data-googlesitekit-vimeo-sdk";function g(){return globalThis.Vimeo}function d(e,t){return new Promise((r,n)=>{let o;function i(e){return function(){clearTimeout(o),e(...arguments)}}e.addEventListener("load",i(()=>r()),{once:!0}),e.addEventListener("error",i(()=>n(new Error("Site Kit: failed to load the Vimeo Player SDK script."))),{once:!0}),void 0!==t&&(o=setTimeout(i(()=>n(new Error("Site Kit: timed out waiting for the Vimeo Player SDK script to load."))),t))})}let b=null;function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
176t%2?v(Object(r),!0).forEach(function(t){O(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function O(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}const P=[10,25,50,75];function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function k(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(){var e;return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach(function(t){k(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({postID:0,isSinglePost:!1,hasVimeoEmbed:!1},(null===(e=globalThis._googlesitekit)||void 0===e?void 0:e.contentEvents)||{})}!async function(e){if(!e.hasVimeoEmbed)return;const t=globalThis.document.querySelectorAll('iframe[src*="player.vimeo.com"]');if(t.length)try{const e=await function(){const e=g();return"function"==typeof(null==e?void 0:e.Player)?Promise.resolve(e.Player):(b||(b=async function(){const e=globalThis.document.querySelector('script[src^="'.concat(m,'"]'));if(e&&!e.hasAttribute(y))return void await d(e,1e4);null==e||e.remove();const t=globalThis.document.createElement("script");t.src=m,t.setAttribute(y,"");const r=d(t);globalThis.document.head.appendChild(t),await r}().then(()=>{var e;const t=null===(e=g())||void 0===e?void 0:e.Player;if("function"!=typeof t)throw new Error("Site Kit: the Vimeo Player SDK script did not expose Vimeo.Player.");return t}).catch(e=>{throw b=null,e})),b)}();await Promise.allSettled(Array.from(t).map(async(t,r)=>{await async function(e,t){const r=Promise.all([e.getVideoTitle(),e.getVideoUrl()]).then(e=>{let r=(o=2,function(e){if(Array.isArray(e))return e}(n=e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(n,o)||function(e,t){if(e){if("string"==typeof e)return j(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?j(e,t):void 0}}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());var n,o;return{video_provider:"vimeo",video_title:r[0],video_url:r[1],video_instance_index:t}});function n(e,t){r.then(r=>{var n,o;null===(n=globalThis._googlesitekit)||void 0===n||null===(o=n.gtagEvent)||void 0===o||o.call(n,e,w(w({},r),{},{video_percent:t}))}).catch(()=>{})}r.catch(e=>{console.error("Site Kit: failed to fetch this Vimeo videoâs title/URL; its engagement events will not be tracked.",e)});let o=!1,i=!1;const a=new Set;e.on("play",()=>{o||(o=!0,n("video_start",0))}),e.on("timeupdate",e=>
176{if(a.size===P.length)return;const t=Math.floor(100*e.percent);P.forEach(e=>{t>=e&&!a.has(e)&&(a.add(e),n("video_progress",e))})}),e.on("ended",()=>{i||(i=!0,n("video_complete",100))}),await r}(new e(t),r)}))}catch(e){console.error("Site Kit: failed to load the Vimeo Player SDK; video engagement events will not be tracked on this page.",e)}}(E());try{_=E(),globalThis.document.addEventListener("click",e=>{try{var t,r;if(!(e.target instanceof Element))return;const n=e.target.closest("".concat(f,", ").concat("body.single-topic .bbp-pagination-links a.page-numbers"));if(!n)return;const o=n.matches(f)?"post":"bbpress";null===(t=globalThis._googlesitekit)||void 0===t||null===(r=t.gtagEvent)||void 0===r||r.call(t,"pagination_click",{pagination_type:o,page_number:h(n),post_id:_.postID,transport_type:"beacon"})}catch(e){console.error("Site Kit: failed to track this pagination click.",e)}})}catch(e){console.error("Site Kit: failed to initialize pagination click tracking.",e)}var _;try{globalThis.document.addEventListener("click",e=>{try{if(!(e.target instanceof Element))return;const l=e.target.closest("a[href]");if(!l)return;let u;try{u=new URL(l.href)}catch(e){return}const f=function(e){const t=new URL(e),r="http:"===t.protocol||"https:"===t.protocol;t.hostname=r?t.hostname.replace(/^www\./,""):t.hostname.toLowerCase();const n=r?a[t.hostname]:i[t.protocol];return n?n.hasRecipient?n.hasRecipient(t)?n.type:null:n.type:null}(u);if(f){var t,r;null===(t=globalThis._googlesitekit)||void 0===t||null===(r=t.gtagEvent)||void 0===r||r.call(t,"contact_link_click",s({link_type:f},p(u)))}else{const e=function(e,t){if("http:"!==t.protocol&&"https:"!==t.protocol||t.hostname===globalThis.location.hostname)return null;const r=new Set((e.getAttribute("rel")||"").toLowerCase().split(/[\s,]+/).filter(Boolean));return c.filter(e=>r.has(e)).join(" ")||null}(l,u);var n,o;e&&(null===(n=globalThis._googlesitekit)||void 0===n||null===(o=n.gtagEvent)||void 0===o||o.call(n,"outbound_link_click",s({link_rel:e,link_url:u.href,link_domain:u.hostname},p(u))))}}catch(e){console.error("Site Kit: failed to track this link click.",e)}})}catch(e){console.error("Site Kit: failed to initialize link click tracking.",e)}})() 177;var complianz={"prefix":"cmplz_","debug":"","user_banner_id":"1","set_cookies":[],"block_ajax_content":"0","banner_version":"32","version":"7.5.5","store_consent":"","do_not_track_enabled":"1","consenttype":"optout","region":"us","geoip":"","dismiss_timeout":"","disable_cookiebanner":"","soft_cookiewall":"","dismiss_on_scroll":"1","cookie_expiry":"365","url":"https://the-soccer-legends.com/wp-json/complianz/v1/","locale":"lang=en&locale=en_US","set_cookies_on_root":"0","cookie_domain":"","current_policy_id":"34","cookie_path":"/","categories":{"statistics":"statistics","marketing":"marketing"},"tcf_active":"","placeholdertext":"Click to accept {category} cookies and enable this content","css_file":"https://the-soccer-legends.com/wp-content/uploads/complianz/css/banner-{banner_id}-{type}.css?v=32","page_links":{"us":{"cookie-statement":{"title":"","url":"https://the-soccer-legends.com/news/barcelona-host-athletic-club-riding-a-5-0-wave-but-europe-is-far-from-locked-up/"},"privacy-statement":{"title":"Privacy Policy","url":"https://the-soccer-legends.com/privacy-policy/"},"impressum":{"title":"Legal notice","url":"https://the-soccer-legends.com/legal-notice/"}},"eu":{"impressum":{"title":"Legal notice","url":"https://the-soccer-legends.com/legal-notice/"}},"uk":{"impressum":{"title":"Legal notice","url":"https://the-soccer-legends.com/legal-notice/"}},"ca":{"impressum":{"title":"Legal notice","url":"https://the-soccer-legends.com/legal-notice/"}},"au":{"impressum":{"title":"Legal notice","url":"https://the-soccer-legends.com/legal-notice/"}},"za":{"impressum":{"title":"Legal notice","url":"https://the-soccer-legends.com/legal-notice/"}},"br":{"impressum":{"title":"Legal notice","url":"https://the-soccer-legends.com/legal-notice/"}}},"tm_categories":"","forceEnableStats":"","preview":"","clean_cookies":"","aria_label":"Click to accept {category} cookies and enable this content","iapi_nav":"fallback"} 178;let cmplz_cookie_data=[],cmplzCleanCookieInterval;function cmplz_log(...e){"undefined"!=typeof complianz&&complianz.debug&&console.warn(...e)}
178function cmplz_create_element(e,t){e=document.createElement(e);return e.innerHtml=t,e}function cmplz_add_event(e,t,c){document.addEventListener(e,e=>{e.target.closest(t)&&c(e)})}function cmplz_is_hidden(e){return null===e.offsetParent}function cmplz_html_decode(e){return(new DOMParser).parseFromString(e,"text/html").documentElement.textContent}function cmplz_sanitize_placeholder_html(e){var t=document.createElement("template");return t.innerHTML=String(e||""),t.content.querySelectorAll("script, iframe, object, embed, link, style, base, meta").forEach(e=>{e.remove()}),t.content.querySelectorAll("*").forEach(n=>{Array.from(n.attributes).forEach(e=>{var t,c=e.name.toLowerCase();0!==c.indexOf("on")&&(t=e.value.trim(),"href"!==c&&"src"!==c&&"xlink:href"!==c||!/^\s*(javascript:|data:)/i.test(t))||n.removeAttribute(e.name)})}),t.innerHTML}function cmplz_is_safe_script_src(e){if("string"!=typeof e)return!1;e=e.trim();if(!e)return!1;try{var t=new URL(e,window.location.href);return"http:"===t.protocol||"https:"===t.protocol}catch(e){return!1}}function cmplz_trap_focus(){var e;cmplz_banner&&(cmplz_original_active_element=cmplz_banner.ownerDocument.activeElement,complianz.soft_cookiewall&&document.body.classList.add("cmplz-banner-active"),document.addEventListener("keydown",cmplz_handle_tab_navigation),0<(e=cmplz_banner.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).length)&&e[0].focus()}function cmplz_handle_tab_navigation(e){var t,c,n,o;"Tab"===e.key&&cmplz_banner&&(0===(c=Array.from(cmplz_banner.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(function(e){return null!==e.offsetParent})).length?e.preventDefault():(t=c[0],c=c[c.length-1],n=cmplz_banner.ownerDocument.activeElement,o=cmplz_banner.contains(n),e.shiftKey?o&&n!==t||(e.preventDefault(),c.focus()):o&&n!==c||(e.preventDefault(),t.focus())))}function cmplz_release_focus_trap(){document.removeEventListener("keydown",cmplz_handle_tab_navigation),document.body.classList.remove("cmplz-banner-active");var e=cmplz_banner_trigger_source;if(cmplz_banner_trigger_source="page-load","manage-consent"===e){if(cmplz_original_active_element&&cmplz_original_active_element.focus)try{cmplz_original_active_element.focus()}catch(e){document.body.focus()}}else cmplz_last_input_was_keyboard&&(document.querySelector('a[href="#content"], a[href="#main"], a[href="#main-content"], .skip-link')||document.body).focus()}function cmplzLoadConsentAreaContent(e,r){document.querySelectorAll(".cmplz-consent-area.cmplz-placeholder").forEach(t=>{let c=t.getAttribute("data-category"),n=t.getAttribute("data-service");var o=t.getAttribute("data-post_id"),a=t.getAttribute("data-block_id");if(e===c||r===n){let e=new XMLHttpRequest;e.open("GET",complianz.url+"consent-area/"+o+"/"+a,!0),e.setRequestHeader("Content-type","application/json"),e.send(),t.classList.remove("cmplz-placeholder"),e.onload=function(){t.innerHTML=JSON.parse(e.response),t.querySelectorAll("script").forEach(e=>{cmplz_run_script(e.innerHTML,c,n,"inline",e)})}}})}document.querySelectorAll(".cmplz-consent-area.cmplz-placeholder").forEach(e=>{e.addEventListener("click",e=>{let t=e.target;(t=t.classList.contains("cmplz-consent-area")?t:e.target.closest(".cmplz-consent-area.cmplz-placeholder"))&&(cmplz_set_service_consent(e=t.getAttribute("data-service"),!0),cmplzLoadConsentAreaContent(!1,e),cmplz_enable_category(null,e),cmplz_set_banner_status("dismissed"))}),document.addEventListener("cmplz_enable_category",function(e){cmplzLoadConsentAreaContent(e.detail.category,e.detail.service)})}),document.addEventListener("cmplz_manage_consent_container_loaded",function(){var e,t=window.location.href;-1!==t.indexOf("#")&&(e=-1!==t.lastIndexOf("?")?t.lastIndexOf("?"):void 0,t=t.substring(t.indexOf("#")+1,e),e=document.getElementById(t))&&(t=e.getBoundingClientRect().top+window.pageYOffset-200,window.scrollTo({top:t,behavior:"smooth"}))}),complianz.locale=complianz.locale+"&token="+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5),(()=>{function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var c=document.createEvent("CustomEvent");return c.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),c}"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,window.CustomEvent=e)})();let cmplz_banner,cmplz_banner_container=document.getElementById("cmplz-cookiebanner-container"),cmplz_manage_consent_button,cmplz_waiting_inline_scripts=[],cmplz_waiting_scripts=[],cmplz_fired_scripts=[],cmplz_placeholder_class_index=0,cmplz_all_scripts_hook_fired=!1,cmplz_consent_stored_once=!1,cmplz_fired_category_events=["functional"],cmplz_fired_service_events=[],cmplz_categories=["functional","preferences","statistics","marketing"],cmplz_original_active_element=null,cmplz_banner_trigger_source="page-load",cmplz_last_input_was_keyboard=!1,cmplz_set_category_as_body_class=(document.addEventListener("keydown",function(){cmplz_last_input_was_keyboard=!0},!0),document.addEventListener("pointerdown",function(){cmplz_last_input_was_keyboard=!1},!0),window.cmplz_get_cookie=function(t){if("undefined"!=typeof document){t=complianz.prefix+t;var c=document.cookie.split(";");for(let e=0;e<c.length;e++){var n=c[e].trim();if(n.startsWith(t+"="))return n.substring(t.length+1)}}return""},window.cmplz_set_cookie=function(e,t,c){var n,o,a,r;"undefined"!=typeof document&&(c=void 0===c||c,n="https:"===window.location.protocol?";
178secure":"",(o=new Date).setTime(o.getTime()+24*complianz.cookie_expiry*60*60*1e3),o=";expires="+o.toGMTString(),a=0<(a=cmplz_get_cookie_domain()).length?";domain="+a:"",c=c?complianz.prefix:"",r=cmplz_get_cookie_path(),document.cookie=""+c+e+`=${t};SameSite=Lax${n}${o}${a};path=`+r)},window.cmplz_in_array=function(e,t){return t.includes(e)},window.cmplz_highest_accepted_category=function(){var t=cmplz_accepted_categories(),c=["marketing","statistics","preferences"];for(let e=0;e<c.length;e++)if(cmplz_in_array(c[e],t))return c[e];return"functional"},()=>{let c=document.body.classList;for(let e=c.length-1;0<=e;e--)c[e].startsWith("cmplz-")&&"cmplz-document"!==c[e]&&c.remove(c[e]);var e=cmplz_accepted_categories(),e=(Object.values(e).forEach(e=>{"string"==typeof e&&c.add("cmplz-"+e)}),cmplz_get_all_service_consents()),e=(Object.entries(e).forEach(([e,t])=>{t&&c.add("cmplz-"+e)}),c.add("cmplz-"+complianz.region,"cmplz-"+complianz.consenttype),new CustomEvent("cmplz_set_category_as_bodyclass"));document.dispatchEvent(e)}),cmplz_append_css=e=>{var t=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.setAttribute("type","text/css"),c.appendChild(document.createTextNode(e)),t.appendChild(c)},cmplz_load_css=e=>{var t=document.head||document.getElementsByTagName("head")[0],c=document.createElement("link");c.rel="stylesheet",c.type="text/css",c.href=e,t.appendChild(c)};function cmplz_run_script(t,c,n,e,o){var a=document.createElement("script");if("inline"!==e&&cmplz_is_safe_script_src(t)?a.src=t:("string"!=typeof t&&(t=t.innerHTML),a.textContent=[t,"cmplzScriptLoaded();"].join("\n")),!cmplz_in_array(t,cmplz_fired_scripts)){cmplzCopyAttributes(o,a);try{"inline"!==e?a.onload=function(){cmplz_run_after_all_scripts(c,n),cmplz_maybe_run_waiting_scripts(t,c,n,o)}:window.cmplzScriptLoaded=function(){cmplz_run_after_all_scripts(c,n),cmplz_maybe_run_waiting_scripts(t,c,n,o)},document.head.appendChild(a)}catch(e){throw cmplz_run_after_all_scripts(c,n),"Something went wrong "+e+" while loading "+t}}}function cmplz_maybe_run_waiting_scripts(e,t,c,n){var o=cmplz_get_waiting_script(cmplz_waiting_scripts,e),o=(o&&cmplz_run_script(o,t,c,"src",n),cmplz_get_waiting_script(cmplz_waiting_inline_scripts,e));o&&cmplz_run_script(o,t,c,"inline",n)}let cmplzLazyLoader=()=>{var e=document.querySelectorAll(".cmplz-blocked-content-container");let t=new IntersectionObserver((e,n)=>{e.forEach(e=>{var t,c;e.isIntersecting&&((t=(e=e.target).getAttribute("data-placeholder-image"))&&(c=e.getAttribute("data-placeholder_class_index"),cmplz_append_css(".cmplz-placeholder-"+c+" {background-image: url("+t+") !important;}"),cmplz_set_blocked_content_container_aspect_ratio(e,t,c)),n.unobserve(e))})});e.forEach(e=>{t.observe(e)})};function cmplz_set_blocked_content_container(){document.querySelectorAll(".cmplz-image").forEach(e=>{var t,c,n,o;e.classList.contains("cmplz-processed")||(e.classList.add("cmplz-processed"),t=e.getAttribute("data-service"),c=e.getAttribute("data-category"),(n=e.parentElement).classList.add("cmplz-blocked-content-container"),o=n.getAttribute("data-placeholder_class_index"),"lazy"===e.getAttribute("loading")&&(e.removeAttribute("loading"),e.setAttribute("data-deferlazy",1)),null===o&&(cmplz_placeholder_class_index++,n.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index,"cmplz-blocked-content-container"),n.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index),cmplz_insert_placeholder_text(n,c,t)))}),document.querySelectorAll(".cmplz-placeholder-element").forEach(t=>{if(!t.classList.contains("cmplz-processed")){t.classList.add("cmplz-processed");var c=t.getAttribute("data-service"),n=t.getAttribute("data-category");let e;null===(e=t.classList.contains("cmplz-iframe")?("lazy"===t.getAttribute("loading")&&(t.removeAttribute("loading"),t.setAttribute("data-deferlazy",1)),t.parentElement):t).getAttribute("data-placeholder_class_index")&&(cmplz_placeholder_class_index++,e.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index,"cmplz-blocked-content-container"),e.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index),cmplz_insert_placeholder_text(e,n,c),n=t.getAttribute("data-placeholder-image"))&&void 0!==n&&n.length&&e.setAttribute("data-placeholder-image",n)}}),cmplzLazyLoader(),cmplz_has_consent("statistics")&&cmplz_enable_category("statistics"),cmplz_has_consent("marketing")&&cmplz_enable_category("marketing")}function cmplz_insert_placeholder_text(e,n,o){if(!e.querySelector(".cmplz-blocked-content-notice")){let t=complianz.placeholdertext;n=n||"marketing";let c;if(void 0!==t){if(1===Number(complianz.clean_cookies)){let e=o?o.replace("-"," "):"";e=e.charAt(0).toUpperCase()+e.slice(1),t=t.replace("{service}
178",e),(c=cmplz_create_element("div",t)).innerHTML=cmplz_sanitize_placeholder_html(t),c.classList.add("cmplz-blocked-content-notice");var a=c.querySelector("button"),a=(a.setAttribute("data-service",o),a.setAttribute("data-category",n),a.setAttribute("aria-label",complianz.aria_label.replace("{service}",e)),complianz.page_links[complianz.region]),r=c.querySelector(".cmplz-links a");a&&a.hasOwnProperty("cookie-statement")?(r.setAttribute("href",a["cookie-statement"].url),"{title}"===r.innerText&&(r.innerText=a["cookie-statement"].title)):r&&(r.parentElement.style.display="none")}else{a=cmplz_create_element("button",""),r=complianz.categories.hasOwnProperty(n)?complianz.categories[n]:"marketing";a.innerText=t.replace("{category}",r),a.classList.add("cmplz-blocked-content-notice","cmplz-accept-category","cmplz-accept-"+n),a.setAttribute("data-service",o),a.setAttribute("data-category",n),a.setAttribute("aria-label",complianz.aria_label.replace("{category}",n)),c=a}("VIDEO"!==e.tagName?e:e.parentElement).appendChild(c)}}}function cmplz_set_blocked_content_container_aspect_ratio(t,c,n){var e;null!=t&&((e=new Image).addEventListener("load",function(){var e=this.naturalWidth||1,e=this.naturalHeight*(t.clientWidth/e),e=-1===c.indexOf("placeholder.jpg")?"height:"+e+"px;":"";cmplz_append_css(".cmplz-placeholder-"+n+" {"+e+"}")}),e.src=c)}let cmplzResizeTimer;function cmplz_enable_category(o,a){1===Number(complianz.tm_categories)&&""!==o&&cmplz_run_tm_event(o);var t={},t=(t.category=o,t.categories=cmplz_accepted_categories(),t.region=complianz.region,new CustomEvent("cmplz_before_category",{detail:t}));if(document.dispatchEvent(t),a=void 0!==a?a:"do_not_match","functional"!==(o=""===o?"do_not_match":o)){"marketing"===o&&cmplz_set_integrations_cookies();let e;e="do_not_match"!==a?'.cmplz-blocked-content-notice [data-service="'+a+'"]':1!==Number(complianz.clean_cookies)?".cmplz-blocked-content-notice.cmplz-accept-"+o:'.cmplz-blocked-content-notice [data-category="'+o+'"]',document.querySelectorAll(e).forEach(e=>{var t=e.getAttribute("data-service");e.parentNode.classList.contains("cmplz-blocked-content-notice")&&(e=e.parentNode),cmplz_is_service_denied(t)||e.parentNode.removeChild(e)}),document.querySelectorAll('[data-category="'+o+'"], [data-service="'+a+'"]').forEach(t=>{var e=t.getAttribute("data-service");if(!cmplz_is_service_denied(e)&&"functional"!==t.getAttribute("data-category")&&!t.classList.contains("cmplz-activated")){var e=t.tagName;if("LINK"===e){t.classList.add("cmplz-activated");var c=t.getAttribute("data-href");cmplz_load_css(c,o)}else if("IMG"===e){t.classList.add("cmplz-activated");c=t.getAttribute("data-src-cmplz");t.setAttribute("src",c),t.getAttribute("data-deferlazy")&&t.setAttribute("loading","lazy"),cmplz_remove_placeholder(t)}else if("IFRAME"===e){t.classList.add("cmplz-activated");let e=t.getAttribute("data-src-cmplz");c=t.getAttribute("data-cmplz-target")?t.getAttribute("data-cmplz-target"):"src";"1"===cmplz_get_url_parameter(t.getAttribute(c),"autoplay")&&(e+="&autoplay=1"),t.getAttribute("data-deferlazy")&&t.setAttribute("loading","lazy"),t.addEventListener("load",()=>{cmplz_remove_placeholder(t)}),t.setAttribute(c,e)}else t.classList.contains("cmplz-placeholder-element")&&(t.classList.add("cmplz-activated"),e=t.getAttribute("data-placeholder_class_index"),t.classList.remove("cmplz-blocked-content-container","cmplz-placeholder-"+e))}});t=document.querySelectorAll('script[data-category="'+o+'"], script[data-service="'+a+'"]');t.forEach(e=>{var t=e.getAttribute("data-waitfor"),c=e.getAttribute("data-cmplz-src");t&&(c?cmplz_waiting_scripts[t]=c:0<e.innerText.length&&(cmplz_waiting_inline_scripts[t]=e)),e.parentElement&&e.parentElement.removeChild(e)}),t.forEach(e=>{var t,c,n=e.getAttribute("type");!e.classList.contains("cmplz-activated")&&n&&"text/javascript"!==n&&(e.classList.add("cmplz-activated"),(n=e.getAttribute("data-cmplz-src"))?(e.removeAttribute("type"),cmplz_is_waiting_script(cmplz_waiting_scripts,n)||(e.getAttribute("data-post_scribe_id")?(t="#"+e.getAttribute("data-post_scribe_id"),(c=document.querySelector(t))&&(c.innerHtml(""),postscribe(t,"<script src="+n+"><\/script>"))):cmplz_run_script(n,o,a,"src",e))):0<e.innerText.length&&(cmplz_is_
178waiting_script(cmplz_waiting_inline_scripts,e.innerText)||cmplz_run_script(e.innerText,o,a,"inline",e)))}),cmplz_run_after_all_scripts(o,a)}}function cmplz_remove_placeholder(e){var t,c=e.closest(".cmplz-blocked-content-container");c&&(t=c.getAttribute("data-placeholder_class_index"),c.classList.remove("cmplz-blocked-content-container","cmplz-placeholder-"+t)),e.classList.remove("cmplz-iframe-styles","cmplz-iframe","video-wrap")}function cmplz_get_waiting_script(e,t){for(var c in e){var n;if(e.hasOwnProperty(c))if(-1!==t.indexOf(c))return n=e[c],delete e[c],n}return!1}function cmplz_array_is_empty(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function cmplz_is_waiting_script(t,c){for(var n in t)if(t.hasOwnProperty(n)){let e=t[n];if("string"!=typeof e&&(e=e.innerText),-1!==c.indexOf(e)||-1!==e.indexOf(c))return!0}return!1}function cmplz_run_after_all_scripts(e,t){var c="do_not_match"!==t&&!cmplz_in_array(t,cmplz_fired_service_events),n="do_not_match"!==e&&!cmplz_in_array(e,cmplz_fired_category_events);(n||c)&&(n&&cmplz_fired_category_events.push(e),c&&cmplz_fired_service_events.push(t),(n={}).category=e,n.service=t,n.categories=cmplz_accepted_categories(),n.services=cmplz_get_all_service_consents(),n.region=complianz.region,c=new CustomEvent("cmplz_enable_category",{detail:n}),document.dispatchEvent(c)),!cmplz_all_scripts_hook_fired&&cmplz_array_is_empty(cmplz_waiting_inline_scripts)&&cmplz_array_is_empty(cmplz_waiting_scripts)&&(n=new CustomEvent("cmplz_run_after_all_scripts",{detail:e,service:t}),document.dispatchEvent(n),cmplz_all_scripts_hook_fired=!0)}window.addEventListener("resize",function(){clearTimeout(cmplzResizeTimer),cmplzResizeTimer=setTimeout(cmplz_set_blocked_content_container,500)},!0),1===Number(complianz.block_ajax_content)&&setInterval(function(){cmplz_set_blocked_content_container()},2e3);let cmplz_fired_events=[];function cmplz_run_tm_event(e){-1===cmplz_fired_events.indexOf(e)&&(cmplz_fired_events.push(e),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"cmplz_event_"+e}),e=new CustomEvent("cmplz_tag_manager_event",{detail:e}),document.dispatchEvent(e))}function cmplz_fire_before_categories_consent(e){var t={},e=(t.categories=e,t.region=complianz.region,new CustomEvent("cmplz_before_categories_consent",{detail:t}));document.dispatchEvent(e)}function cmplz_check_cookie_policy_id(){var e=cmplz_get_cookie("policy_id");e&&parseInt(complianz.current_policy_id)!==parseInt(e)&&(cmplz_deny_all(),cmplz_set_banner_status("show"),cmplz_clear_cookies("cmplz"))}function cmplz_do_not_track(){var e="doNotTrack"in navigator&&"1"===navigator.doNotTrack,t="globalPrivacyControl"in navigator&&navigator.globalPrivacyControl;return!(!complianz.do_not_track_enabled||!t&&!e)}function cmplz_get_services_on_page(){let c=[];return document.querySelectorAll("[data-service]").forEach(e=>{var t=e.getAttribute("data-service"),e=e.getAttribute("data-category");-1===c.indexOf(t)&&c.push({category:e,service:t})}),c}function cmplzEnsureBannerCss(){var e="cmplz-banner-"+complianz.user_banner_id+"-"+complianz.consenttype+"-css",e=document.getElementById(e);if(e&&"stylesheet"===e.rel)return e.sheet&&e.sheet.disabled&&(e.sheet.disabled=!1),e;var t,e=complianz.css_file.replace("{type}",complianz.consenttype).replace("{banner_id}",complianz.user_banner_id);-1!==complianz.css_file.indexOf("cookiebanner/css/defaults/banner")&&cmplz_log("Fallback default css file used. Please re-save banner settings, or check file writing permissions in uploads directory");let c=e.split("?")[0].split("/").pop(),n=null;return document.querySelectorAll('link[rel="stylesheet"]').forEach(function(e){e.href.split("?")[0].split("/").pop()===c&&(n=e)}),n?(n.sheet&&n.sheet.disabled&&(n.sheet.disabled=!1),n):((t=document.createElement("link")).href=e,t.type="text/css",t.rel="stylesheet",document.getElementsByTagName("head")[0].appendChild(t),t)}function cmplzSyncConsentState(){var e=document.querySelectorAll(".cmplz-cookiebanner");1<e.length&&e.forEach(function(e){e.closest("[data-wp-router-region]")&&e.remove()});let t="dismissed"===cmplz_get_banner_status();document.querySelectorAll(".cmplz-cookiebanner").forEach(function(e){e.classList.toggle("cmplz-show",!t),e.classList.toggle("cmplz-dismissed",t)});e=document.querySelectorAll("#cmplz-manage-consent");Array.prototype.some.call(e,function(e){return!e.closest("[data-wp-router-region]")})&&e.forEach(function(e){e.closest("[data-wp-router-region]")&&e.remove()})}function cmplzInitNavigationHook(){if(document.querySelector("[data-wp-router-region]")){let e=function(){cmplzEnsureBannerCss(),cmplzSyncConsentState()};
178if("module"===complianz.iapi_nav)document.addEventListener("cmplz_router_navigated",e);else{let c=function(){requestAnimationFrame(function(){e(),setTimeout(e,150)})};["pushState","replaceState"].forEach(function(e){let t=history[e];history[e]=function(){var e=t.apply(this,arguments);return c(),e}}),window.addEventListener("popstate",c)}}}function cmplz_is_bot(){var e=new RegExp("(googlebot/|Googlebot-Mobile|Google-InspectionTool|Googlebot-Image|Google favicon|Mediapartners-Google|bingbot|slurp|java|wget|curl|Commons-HttpClient|Python-urllib|libwww|httpunit|nutch|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|biglotron|teoma|convera|seekbot|gigablast|exabot|ngbot|ia_archiver|GingerCrawler|webmon |httrack|webcrawler|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|bibnum.bnf|findlink|msrbot|panscient|yacybot|AISearchBot|IOI|ips-agent|tagoobot|MJ12bot|dotbot|woriobot|yanga|buzzbot|mlbot|yandexbot|purebot|Linguee Bot|Voyager|CyberPatrol|voilabot|baiduspider|citeseerxbot|spbot|twengabot|postrank|turnitinbot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|blekkobot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|ahrefsbot|Aboundex|domaincrawler|wbsearchbot|summify|ccbot|edisterbot|seznambot|ec2linkfinder|gslfbot|aihitbot|intelium_bot|facebookexternalhit|yeti|RetrevoPageAnalyzer|lb-spider|sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net.com.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|seokicks-robot|it2media-domain-crawler|ip-web-crawler.com|siteexplorer.info|elisabot|proximic|changedetection|blexbot|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|Lipperhey SEO Service|CC Metadata Scaper|g00g1e.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Livelapbot|Twitterbot|cXensebot|smtbot|bnf.fr_bot|A6-Indexer|ADmantX|Facebot|Twitterbot|OrangeBot|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|SemrushBot|yoozBot|lipperhey|y!j-asr|Domain Re-Animator Bot|AddThis)","i"),t=navigator.userAgent;return e.test(t)}function cmplz_is_speedbot(){var e=navigator.userAgent;return new RegExp("(GTmetrix|pingdom|pingbot|Lighthouse)","i").test(e)}function cmplz_exists_service_consent(){var e,t=cmplz_get_cookie("consented_services");try{for(var c in e=JSON.parse(t))if(e.hasOwnProperty(c)&&!0===e[c])return!0}catch(e){}return!1}function cmplz_set_service_consent(e,t){var c=cmplz_get_cookie("consented_services");let n;try{n=JSON.parse(c)}catch(e){n={}}n[e]=t,cmplz_set_cookie("consented_services",JSON.stringify(n));c={},c.service=e,c.value=t,c.region=complianz.region,cmplz_all_scripts_hook_fired=!1,e=new CustomEvent("cmplz_status_change_service",{detail:c});document.dispatchEvent(e)}function cmplz_clear_all_service_consents(){cmplz_set_cookie("consented_services","")}function cmplz_get_all_service_consents(){var e=cmplz_get_cookie("consented_services");let t;try{t=JSON.parse(e)}catch(e){t={}}return t}function cmplz_get_cookie_path(){return void 0!==complianz.cookie_path&&""!==complianz.cookie_path?complianz.cookie_path:"/"}function cmplz_get_cookie_domain(){return 1===Number(complianz.set_cookies_on_root)&&3<complianz.cookie_domain.length&&!complianz.cookie_domain.includes("localhost")?complianz.cookie_domain:""}function cmplz_reload_browser_compatible(){var e;-1<navigator.userAgent.toLowerCase().indexOf("firefox")?((e=new
178URL(window.location.href)).searchParams.set("cmplz-force-reload",Date.now().toString()),window.location.href=e.toString()):window.location.reload()}window.cmplz_accept_all=function(){for(var e in cmplz_clear_all_service_consents(),cmplz_fire_before_categories_consent(cmplz_categories),cmplz_categories)cmplz_categories.hasOwnProperty(e)&&cmplz_set_consent(cmplz_categories[e],"allow");cmplz_sync_category_checkboxes()},window.cmplz_deny_all=function(){for(var e in cmplz_categories)cmplz_categories.hasOwnProperty(e)&&cmplz_set_consent(cmplz_categories[e],"deny");let t=!1;"functional"===cmplz_highest_accepted_category()&&!cmplz_exists_service_consent()||(t=!0),cmplz_clear_cookies("cmplz_service")&&(t=!0),cmplz_clear_all_service_consents(),cmplz_integrations_revoke(),cmplz_fire_categories_event(),cmplz_track_status();var c=new CustomEvent("cmplz_revoke",{detail:t});document.dispatchEvent(c),!complianz.tcf_active&&t&&cmplz_reload_browser_compatible()},window.conditionally_show_banner=function(){complianz=cmplz_merge_object(complianz,cmplz_user_data),cmplz_maybe_auto_redirect(),cmplz_set_blocked_content_container(),window.wp_consent_type=complianz.consenttype;var e,t,c,n=new CustomEvent("wp_consent_type_defined"),o=(document.dispatchEvent(n),n=new CustomEvent("cmplz_before_cookiebanner"),document.dispatchEvent(n),1===Number(complianz.forceEnableStats)&&"optin"===complianz.consenttype&&cmplz_set_consent("statistics","allow"),cmplz_categories.reverse()),a=[];for(e in o)o.hasOwnProperty(e)&&(t=cmplz_categories[e],cmplz_has_consent(t))&&a.push(t);for(c in cmplz_fire_before_categories_consent(a),a)o.hasOwnProperty(c)&&cmplz_enable_category(a[c]);if(cmplz_exists_service_consent()){cmplz_enable_category("","general");var r,l,i,s=cmplz_get_services_on_page();for(r in s)s.hasOwnProperty(r)&&(l=s[r].service,i=s[r].category,cmplz_has_service_consent(l,i))&&(document.querySelectorAll('.cmplz-accept-service[data-service="'+l+'"]').forEach(e=>{e.checked=!0}),cmplz_enable_category("",l))}cmplz_sync_category_checkboxes(),cmplz_integrations_init(),cmplz_check_cookie_policy_id(),cmplz_set_up_auto_dismiss(),cmplz_load_manage_consent_container(),n=new CustomEvent("cmplz_cookie_banner_data",{detail:complianz}),document.dispatchEvent(n),""===cmplz_get_cookie("saved_categories")&&("optin"!==complianz.consenttype&&"optout"!==complianz.consenttype?cmplz_track_status():cmplz_do_not_track()&&cmplz_track_status("do_not_track")),cmplz_set_category_as_body_class(),cmplz_fire_categories_event(),cmplz_do_not_track()?(cmplz_log("global privacy control or do not track detected: no banner."),cmplz_track_status("do_not_track")):("optin"===complianz.consenttype?(complianz.forceEnableStats&&cmplz_enable_category("statistics"),cmplz_log("opt-in"),show_cookie_banner):"optout"===complianz.consenttype?(cmplz_log("opt-out"),show_cookie_banner):(cmplz_log("other consent type, no cookie warning"),cmplz_accept_all))()},window.show_cookie_banner=function(){let t=complianz.disable_cookiebanner||cmplz_is_speedbot(),e=!1;(document.querySelector("#cmplz-manage-consent-container")||document.querySelector(".cmplz-dropdown-cookiepolicy"))&&(e=!0);var c=document.getElementById("cmplz-cookiebanner-container");c&&document.body.prepend(c);let n=complianz.page_links[complianz.region];(cmplz_banner=document.querySelector(".cmplz-cookiebanner.banner-"+complianz.user_banner_id+"."+complianz.consenttype))||(t=!0),cmplz_manage_consent_button=document.querySelector("#cmplz-manage-consent .cmplz-manage-consent.manage-consent-"+complianz.user_banner_id);function o(){var e;t||(cmplz_banner.classList.remove("cmplz-hidden"),cmplz_manage_consent_button.classList.remove("cmplz-hidden"),"show"===cmplz_get_banner_status()&&(cmplz_trap_focus(),e=cmplz_banner.querySelector(".cmplz-close"))&&e.focus())}c=cmplzEnsureBannerCss(),t||((!c||!c.sheet)&&c?(c.addEventListener("load",o),setTimeout(o,500)):o()),cmplz_banner&&!t&&(cmplz_banner.querySelectorAll(".cmplz-links a:not(.cmplz-external), .cmplz-buttons a:not(.cmplz-external)").forEach(e=>{var t,c=e;for(t in c.classList.add("cmplz-hidden"),n)n.hasOwnProperty(t)&&c.classList.contains(t)&&(c.setAttribute("href",n[t].url+c.getAttribute("data-relative_url")),"{title}"===c.innerText&&(c.innerText=cmplz_html_decode(n[t].title)),c.classList.remove("cmplz-hidden"))}),cmplz_set_banner_status(),e)&&(cmplz_banner.classList.remove("cmplz-show"),cmplz_banner.classList.add("cmplz-dismissed"),cmplz_manage_consent_button.classList.remove("cmplz-dismissed"),cmplz_manage_consent_button.classList.add("cmplz-show")),c=new CustomEvent("cmplz_cookie_warning_loaded",{detail:complianz.region});document.dispatchEvent(c)},window.cmplz_get_banner_status=function(){return cmplz_get_cookie("banner-status")},window.cmplz_set_banner_status=function(e){let t=cmplz_get_cookie("banner-status");(e=void 0!==e?e:t)!==t&&cmplz_set_cookie("banner-status",e),0===e.length&&(e="show"),t="show"===e?"dismissed":"show",cmplz_banner&&0<e.length&&(cmplz_banner.classList.remove("cmplz-"+t),cmplz_banner.classList.add("cmplz-"+e),cmplz_manage_consent_button)&&(cmplz_manage_consent_button.classList.add("cmplz-"+t),cmplz_manage_consent_button.classList.remove("cmplz-"+e)),cmplz_banner_container&&complianz.soft_cookiewall&&(cmplz_banner_container.classList.remove("cmplz-"+t),cmplz_banner_container.classList.add("cmplz-"+e,"cmplz-soft-cookiewall"));var c=new CustomEvent("cmplz_banner_status",{detail:e});document.dispatchEvent(c),cmplz_start_clean(),"show"===e?(cmplz_trap_focus(),(c=cmplz_banner.querySelector(".cmplz-close"))&&c.focus()):cmplz_release_focus_trap()},window.cmplz_has_consent=function(e){if(cmplz_is_bot())return!0;
178if("functional"===e)return!0;let t,c;return t=cmplz_do_not_track()?(c=cmplz_get_cookie(e),"allow"===c):(c=cmplz_get_cookie(e),("optout"===complianz.consenttype||"other"===complianz.consenttype)&&""===c||"allow"===c)},window.cmplz_is_service_denied=function(e){var t=cmplz_get_cookie("consented_services");let c;try{c=JSON.parse(t)}catch(e){c={}}return!!c.hasOwnProperty(e)&&!c[e]},window.cmplz_has_service_consent=function(e,t){var c=cmplz_get_cookie("consented_services");let n;try{n=JSON.parse(c)}catch(e){n={}}return n.hasOwnProperty(e)?n[e]:cmplz_has_consent(t)},window.cmplz_set_consent=function(e,t){cmplz_set_accepted_cookie_policy_id(),t="functional"===e?"allow":t;var c,n=cmplz_get_cookie(e);let o="allow"===t;document.querySelectorAll("input.cmplz-"+e).forEach(e=>{e.checked=o}),n!==t&&(cmplz_set_cookie(e,t),"allow"===t&&cmplz_enable_category(e),cmplz_wp_set_consent(e,t),"statistics"===e&&cmplz_wp_set_consent("statistics-anonymous","allow"),(c=new Object).category=e,c.value=t,c.region=complianz.region,c.categories=cmplz_accepted_categories(),cmplz_all_scripts_hook_fired=!1,c=new CustomEvent("cmplz_status_change",{detail:c}),document.dispatchEvent(c),"marketing"===e)&&"deny"===t&&"allow"===n&&(cmplz_integrations_revoke(),setTimeout(function(){cmplz_reload_browser_compatible()},500))};let cmplz_user_data=[];if("undefined"!=typeof Storage&&sessionStorage.cmplz_user_data&&(cmplz_user_data=JSON.parse(sessionStorage.cmplz_user_data)),1!==Number(complianz.geoip)||0!==cmplz_user_data.length&&cmplz_user_data.version===complianz.version&&cmplz_user_data.banner_version===complianz.banner_version)conditionally_show_banner();else{let e=new XMLHttpRequest,t=cmplz_get_url_parameter(window.location.href,"cmplz_user_region");t=t?"&cmplz_user_region="+t:"",e.open("GET",complianz.url+"banner?"+complianz.locale+t,!0),e.setRequestHeader("Content-type","application/json"),e.send(),e.onload=function(){cmplz_user_data=JSON.parse(e.response),sessionStorage.cmplz_user_data=JSON.stringify(cmplz_user_data),conditionally_show_banner()}}if(cmplzInitNavigationHook(),1===Number(complianz.store_consent)){let e=cmplz_get_cookie("id"),t="",c="";"undefined"!=typeof Storage&&sessionStorage.cmplz_id&&(t=JSON.parse(sessionStorage.cmplz_id)),0===e.length&&0<t.length&&(c=t,cmplz_set_cookie("id",c)),0<e.length&&0===t.length&&(c=e),"undefined"!=typeof Storage&&(sessionStorage.cmplz_id=JSON.stringify(c))}function cmplz_track_status_end(){cmplz_consent_stored_once||cmplz_track_status()}function cmplz_set_up_auto_dismiss(){if("dismissed"!==cmplz_get_banner_status()){if("optout"===complianz.consenttype&&1===Number(complianz.dismiss_on_scroll)){let e=function(){window.pageYOffset>Math.floor(400)&&(window.removeEventListener("scroll",e),this.onWindowScroll=null,"dismissed"!==cmplz_get_banner_status())&&(cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())};window.addEventListener("scroll",e)}var e=parseInt(complianz.dismiss_timeout);"optout"===complianz.consenttype&&0<e&&window.setTimeout(function(){"dismissed"!==cmplz_get_banner_status()&&(cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())},Math.floor(e))}}function cmplz_fire_categories_event(){var e=new Object,e=(e.category=cmplz_highest_accepted_category(),e.categories=cmplz_accepted_categories(),e.region=complianz.region,new CustomEvent("cmplz_fire_categories",{detail:e}));document.dispatchEvent(e)}function cmplz_track_status(e){let t=[];e=void 0!==e&&e;var c=new CustomEvent("cmplz_track_status",{detail:e});document.dispatchEvent(c),t=e?[e]:cmplz_accepted_categories(),cmplz_set_category_as_body_class();let n,o;try{n=JSON.parse(cmplz_get_cookie("saved_categories"))}catch(e){n={}}try{o=JSON.parse(cmplz_get_cookie("saved_services"))}catch(e){o={}}var c=cmplz_get_all_service_consents();cmplz_equals(n,t)&&cmplz_equals(o,c)||1!==Number(complianz.store_consent)||cmplz_is_bot()||cmplz_is_speedbot()||(cmplz_set_cookie("saved_categories",JSON.stringify(t)),cmplz_set_cookie("saved_services",JSON.stringify(c)),cmplz_consent_stored_once=!0,e={consented_categories:t,consented_services:c,consenttype:window.wp_consent_type},(c=new XMLHttpRequest).open("POST",complianz.url+"track",!0),c.setRequestHeader("Content-type","application/json"),c.send(JSON.stringify(e)))}function cmplz_accepted_categories(){let e=cmplz_categories,t=[];for(var c in e)e.hasOwnProperty(c)&&(c=e[c],cmplz_has_consent(c))&&t.pu
178sh(c);return e=e.filter(function(e){return cmplz_in_array(e,t)})}function cmplz_sync_category_checkboxes(){for(var e in cmplz_categories)cmplz_categories.hasOwnProperty(e)&&(e=cmplz_categories[e],cmplz_has_consent(e)||"functional"===e?document.querySelectorAll("input.cmplz-"+e).forEach(e=>{e.checked=!0}):document.querySelectorAll("input.cmplz-"+e).forEach(e=>{e.checked=!1})),document.querySelectorAll(".cmplz-accept-service").forEach(e=>{var t=e.getAttribute("data-service"),c=e.getAttribute("data-category");cmplz_has_service_consent(t,c)?e.checked=!0:cmplz_is_service_denied(t)?e.checked=!1:e.checked=!!cmplz_has_consent(c)})}function cmplz_merge_object(e,t){var c,n,o={};for(c in t)t.hasOwnProperty(c)&&(o[c]=t[c]);for(n in e)t.hasOwnProperty(n)&&void 0!==t[n]||e.hasOwnProperty(n)&&(o[n]=e[n]);return o}function cmplz_clear_cookies(t){if("undefined"==typeof document)return!1;let a=!1,r="https:"===window.location.protocol?";secure":"",l="expires="+(new Date).toGMTString(),i=location.pathname.replace(/^\/|\/$/g,"").split("/");return document.cookie.split("; ").forEach(function(e){let n=e.split(";")[0].split("=")[0];if(-1!==n.indexOf(t)){a=!0;let c=window.location.hostname.split(".");var o=1<c.length;for(i.forEach(function(e){e="/"+e;document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain=."+c.join(".")+";path="+e,document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain=."+c.join(".")+";path="+e+"/"});0<c.length;){let t="."+c.join(".");
178c.shift(),o&&1===c.length&&c.shift(),i.forEach(function(e){e="/"+e;document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain="+t+";path="+e,document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain="+t+";path="+e+"/"})}}}),cmplz_set_accepted_cookie_policy_id(),a}function cmplz_set_accepted_cookie_policy_id(){cmplz_set_cookie("policy_id",complianz.current_policy_id)}function cmplz_integrations_init(){var e,t=complianz.set_cookies;for(e in t)t.hasOwnProperty(e)&&"1"===t[e][1]&&cmplz_set_cookie(e,t[e][1],!1)}function cmplz_integrations_revoke(){var e,t,c=complianz.set_cookies;for(e in c)c.hasOwnProperty(e)&&(t=c[e][1],cmplz_set_cookie(e,t,!1),0===Number(t))&&cmplz_clear_cookies(e)}function cmplz_set_integrations_cookies(){var e,t=complianz.set_cookies;for(e in t)t.hasOwnProperty(e)&&cmplz_set_cookie(e,t[e][0],!1)}function cmplz_get_url_parameter(e,t){if(e&&void 0!==e&&-1!==e.indexOf("?")){e=e.split("?")[1];if(e){var c=e.split("&");for(let e=0;e<c.length;e++){var n=c[e].split("=");if(n[0]===t)return void 0===n[1]||decodeURIComponent(n[1])}}}return!1}function cmplz_maybe_auto_redirect(){var e=cmplz_get_url_parameter(window.location.href,"cmplz_region_redirect"),t=cmplz_get_url_parameter(window.location.href,"cmplz-region");e&&!t&&(e=window.location.href.split("#")[0]+"&cmplz-region="+complianz.region,t=window.location.hash,window.location.href=e+t)}function cmplz_wp_set_consent(e,t){"function"==typeof wp_set_consent&&wp_set_consent(e,t)}function cmplz_start_clean(){if(1===Number(complianz.clean_cookies))if((cmplz_cookie_data="undefined"!=typeof Storage?JSON.parse(sessionStorage.getItem("cmplz_cookie_data")):cmplz_cookie_data)&&0!==cmplz_cookie_data.length)cmplz_setup_clean_interval();else{let e=new XMLHttpRequest;e.open("GET",complianz.url+"cookie_data",!0),e.setRequestHeader("Content-type","application/json"),e.send(),e.onload=function(){cmplz_cookie_data=JSON.parse(e.response),sessionStorage.setItem("cmplz_cookie_data",JSON.stringify(cmplz_cookie_data)),cmplz_setup_clean_interval()}}}function cmplz_do_cleanup(){var e;for(e of["preferences","statistics","marketing"])if(!cmplz_has_consent(e)&&cmplz_cookie_data.hasOwnProperty(e)){var t,c,n=cmplz_cookie_data[e];for(t in n)if(!cmplz_has_service_consent(t,e))for(c of n[t])cmplz_clear_cookies(c),cmplz_clear_storage(c)}}function cmplz_setup_clean_interval(){!cmplz_cookie_data||cmplzCleanCookieInterval||(cmplz_do_cleanup(),cmplzCleanCookieInterval=setInterval(cmplz_do_cleanup,1e3))}function cmplz_clear_storage(e){"undefined"!=typeof Storage&&(localStorage.getItem(e)&&localStorage.removeItem(e),sessionStorage.getItem(e))&&sessionStorage.removeItem(e)}function cmplz_load_manage_consent_container(){let c=document.querySelector(".cmplz-manage-consent-container");if(c){let t=new XMLHttpRequest;t.open("GET",complianz.url+"manage_consent_html?"+complianz.locale,!0),t.setRequestHeader("Content-type","application/json"),t.send(),t.onload=function(){var e=JSON.parse(t.response);c.insertAdjacentHTML("beforeend",e),cmplz_sync_category_checkboxes();document.querySelector("#cmplz-manage-consent-container-nojavascript").style.display="none",c.style.display="block";e=new CustomEvent("cmplz_manage_consent_container_loaded");document.dispatchEvent(e)}}}function cmplz_equals(c,n){if("object"!=typeof c||null===c||Array.isArray(c)||"object"!=typeof n||null===n||Array.isArray(n)){if(Array.isArray(c)||(c=Object.keys(c),n=Object.keys(n)),!c||!n)return!1;if(c.length!==n.length)return!1;for(let e=0,t=c.length;e<t;e++)if(c[e]instanceof Array&&n[e]instanceof Array){if(!cmplz_equals(c[e],n[e]))return!1}else if(c[e]!==n[e])return!1}else{var e;for(e of[...new Set([...Object.keys(c),...Object.keys(n)])])if(c[e]!==n[e])return!1}return!0}function cmplzCopyAttributes(e,t){let c=["type","data-service","data-category","async"];Array.from(e.attributes).forEach(e=>{"data-script-type"===e.nodeName&&"module"===e.nodeValue?(t.setAttribute("type","module"),t.removeAttribute("data-script-type")):c.includes(e.nodeName)||t.setAttribute(e.nodeName,e.nodeValue)})}document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&cmplz_track_status_end()}),window.addEventListener("pagehide",cmplz_track_status_end,!1),window.addEventListener("beforeunload",cmplz_track_status_end,!1),document.addEventListener("cmplz_consent_action",function(e){cmplz_set_consent(e.detail.category,"allow"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-accept",function(e){e.preventDefault(),setTimeout(()=>{cmplz_accept_all(),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()},0)}),cmplz_add_event("click",".cmplz-accept-category, .cmplz-accept-marketing",function(e){e.preventDefault();var e=e.target,t=e.getAttribute("data-service"),e=e.getAttribute("data-category")||"marketing";1===Number(complianz.clean_cookies)&&void 0!==t&&t?(cmplz_set_service_consent(t,!0),cmplz_enable_category("","general"),cmplz_enable_category("",t)):cmplz_set_consent(e,"allow"),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-accept-service",function(e){var e=e.target;"INPUT"!==e.tagName&&(void 0!==(e=e.getAttribute("data-service"))&&(cmplz_set_service_consent(e,!0),cmplz_enable_category("","general"),cmplz_enable_category("",e)),cmplz_fire_categories_event(),cmplz_track_status())}),cmplz_add_event("change",".cmplz-accept-service",function(e){var t=e.target,c=t.tagName,n=t.getAttribute("data-service");void 0!==n&&("INPUT"===c?(cmplz_set_banner_status("dismissed"),t.checked?(cmplz_set_service_consent(n,!0),cmplz_enable_category("",n)):(cmplz_set_service_consent(n,!1),setTimeout(function(){cmplz_reload_browser_compatible()},500))):(e.preventDefault(),cmplz_set_service_consent(n,!0),cmplz_enable_category("","general"),cmplz_enable_category("",n),setTimeout(function(){cmplz_reload_browser_compatible()},500))),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-save-preferences",function(e){var t,c,n,o,a,e=e.target,r=(cmplz_banner=e.closest(".cmplz-cookiebanner"),[]);for(t in cmplz_categories)cmplz_categories.hasOwnProperty(t)&&(c=cmplz_categories[t],n=cmplz_banner.querySelector("input.cmplz-"+c))&&n.checked&&r.push(c);for(o in cmplz_fire_before_categories_consent(r),cmplz_categories)cmplz_categories.hasOwnProperty(o)&&(a=cmplz_categories[o],r.includes(a)?cmplz_set_consent(a,"allow"):cmplz_set_consent(a,"deny"));cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-close",function(){cmplz_set_banner_status("dismissed")}),cmplz_add_event("click",".cmplz-view-preferences",function(e){var e=e.target;(cmplz_banner=e.closest(".cmplz-cookiebanner")).querySelector(".cmplz-categories").classList.contains("cmplz-fade-in")?(cmplz_banner.classList.remove("cmplz-categories-v
178isible"),cmplz_banner.querySelector(".cmplz-categories").classList.remove("cmplz-fade-in"),cmplz_banner.querySelector(".cmplz-view-preferences").style.display="block",cmplz_banner.querySelector(".cmplz-save-preferences").style.display="none"):(cmplz_banner.classList.add("cmplz-categories-visible"),cmplz_banner.querySelector(".cmplz-categories").classList.add("cmplz-fade-in"),cmplz_banner.querySelector(".cmplz-view-preferences").style.display="none",cmplz_banner.querySelector(".cmplz-save-preferences").style.display="block",(e=cmplz_banner.querySelector(".cmplz-categories .cmplz-category"))&&(e=e.querySelector(".cmplz-category-toggle"))&&e.focus())}),cmplz_add_event("click",".cmplz-category-toggle",function(e){var t,e=e.target.closest(".cmplz-category-toggle");e&&(t="true"===e.getAttribute("aria-expanded"),e.setAttribute("aria-expanded",String(!t)),e=e.closest(".cmplz-category"))&&(e=e.querySelector(".cmplz-description"))&&(e.hidden=t)}),cmplz_add_event("change",".cmplz-manage-consent-container .cmplz-category",function(){for(var e in cmplz_categories){var t;cmplz_categories.hasOwnProperty(e)&&(e=cmplz_categories[e],t=document.querySelector(".cmplz-manage-consent-container input.cmplz-"+e))&&(t.checked?cmplz_set_consent(e,"allow"):cmplz_set_consent(e,"deny"),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())}}),cmplz_add_event("click",".cmplz-deny",function(e){e.preventDefault(),cmplz_set_banner_status("dismissed"),cmplz_deny_all()}),cmplz_add_event("click","button.cmplz-manage-settings",function(e){e.preventDefault();var e=document.querySelector(".cmplz-cookiebanner .cmplz-categories"),t=document.querySelector(".cmplz-save-settings"),c=document.querySelector("button.cmplz-manage-settings");cmplz_is_hidden(e)?(t.style.display="block",c.style.display="none",e.style.display="block"):(t.style.display="none",c.style.display="block",e.style.display="none")}),cmplz_add_event("click","button.cmplz-manage-consent",function(e){e.preventDefault(),cmplz_banner_trigger_source="manage-consent",cmplz_set_banner_status("show")}),cmplz_add_event("keypress",".cmplz-banner-slider label",function(e){32===(e.keyCode||e.which)&&e.target.click()}),cmplz_add_event("keypress",".cmplz-cookiebanner .cmplz-header .cmplz-close",function(e){13===(e.keyCode||e.which)&&e.target.click()});let cmplz_has_wp_video=document.querySelector(".cmplz-wp-video-shortcode"),cmplz_times_checked=0;void 0!==window.jQuery&&jQuery(document).ready(function(i){if(cmplz_has_wp_video){document.addEventListener("cmplz_enable_category",function(){t()});let e=setInterval(function(){cmplz_times_checked+=1,document.querySelector(".cmplz-wp-video-shortcode")&&cmplz_times_checked<100?t():clearInterval(e)},500)}function t(){if(document.querySelector(".cmplz-wp-video-shortcode")){var e,t,n,o=cmplz_accepted_categories(),a=cmplz_get_all_service_consents(),r=[];for(e in o)if(o.hasOwnProperty(e)){var l=o[e];if("functional"===l)break;r.push('.cmplz-wp-video-shortcode[data-category="'+l+'"]')}for(t in a)a.hasOwnProperty(t)&&r.push('.cmplz-wp-video-shortcode[data-service="'+t+'"]');n=r.join(",");let c=!1;0<n.length&&document.querySelectorAll(n).forEach(e=>{c=!0,e.setAttribute("controls","controls"),e.classList.add("wp-video-shortcode","cmplz-processed"),e.classList.remove("cmplz-wp-video-shortcode"),e.closest(".cmplz-wp-video").classList.remove("cmplz-wp-video");var t=e.closest(".wp-video").querySelector(".cmplz-blocked-content-notice");t&&t.parentElement.removeChild(t),e.classList.remove("cmplz-blocked-content-container")}),c&&(window.wp.mediaelement?window.wp.mediaelement.initialize():(n={videoWidth:"100%",videoHeight:"100%",enableAutosize:!0},i(".wp-video-shortcode").mediaelementplayer(n)))}}function c(e){e=i(e);"function"==typeof e.parent().fitVids&&e.parent().fitVids()}document.querySelectorAll(".cmplz-video.cmplz-activated").forEach(e=>{c(e)}),document.addEventListener("cmplz_enable_category",function(){document.querySelectorAll(".cmplz-video.cmplz-activated").forEach(e=>{c(e)})})}) 179;(function(undefined){let scriptOptions={"_localizedStrings":{"redirect_overlay_title":"Hold On","redirect_overlay_text":"You are being redirected to another page,<br>it may take a few seconds.","webview_notification_text":"The selected provider doesn't support embedded browsers!"},"_targetWindow":"prefer-popup","_redirectOverlay":"overlay-with-spinner-and-message","_unsupportedWebviewBehavior":""};window._nslHasOpenedPopup=!1;window._nslWebViewNoticeElement=null;window.NSLPopup=function(url,title,w,h){if(typeof BroadcastChannel==="function"){const _nslLoginBroadCastChannel=new BroadcastChannel('nsl_login_broadcast_channel');_nslLoginBroadCastChannel.onmessage=(event)=>{if(window?._nslHasOpenedPopup&&event.data?.action==='redirect'){window._nslHasOpenedPopup=!1;const url=event.data?.href;_nslLoginBroadCastChannel.close();if(typeof window.nslRedirect==='function'){window.nslRedirect(url)}else{window.opener.location=url}}}} 180const userAgent=navigator.userAgent,mobile=function(){return/\b(iPhone|iP[ao]d)/.test(userAgent)||/\b(iP[ao]d)/.test(userAgent)||/Android/i.test(userAgent)||/Mobile/i.test(userAgent)},screenX=window.screenX!==undefined?window.screenX:window.screenLeft,screenY=window.screenY!==undefined?window.screenY:window.screenTop,outerWidth=window.outerWidth!==undefined?window.outerWidth:document.documentElement.clientWidth,outerHeight=window.outerHeight!==undefined?window.outerHeight:document.documentElement.clientHeight-22,targetWidth=mobile()?null:w,targetHeight=mobile()?null:h,left=parseInt(screenX+(outerWidth-targetWidth)/2,10),right=parseInt(screenY+(outerHeight-targetHeight)/2.5,10),features=[];if(targetWidth!==null){features.push('width='+targetWidth)} 181if(targetHeight!==null){features.push('height='+targetHeight)} 182features.push('left='+left);features.push('top='+right);features.push('scrollbars=1');const newWindow=window.open(url,title,features.join(','));if(window.focus){newWindow.focus()} 183window._nslHasOpenedPopup=!0;return newWindow};let isWebView=null;
183function checkWebView(){if(isWebView===null){function _detectOS(ua){if(/Android/.test(ua)){return"Android"}else if(/iPhone|iPad|iPod/.test(ua)){return"iOS"}else if(/Windows/.test(ua)){return"Windows"}else if(/Mac OS X/.test(ua)){return"Mac"}else if(/CrOS/.test(ua)){return"Chrome OS"}else if(/Firefox/.test(ua)){return"Firefox OS"} 184return""} 185function _detectBrowser(ua){let android=/Android/.test(ua);if(/Opera Mini/.test(ua)||/ OPR/.test(ua)||/ OPT/.test(ua)){return"Opera"}else if(/CriOS/.test(ua)){return"Chrome for iOS"}else if(/Edge/.test(ua)){return"Edge"}else if(android&&/Silk\//.test(ua)){return"Silk"}else if(/Chrome/.test(ua)){return"Chrome"}else if(/Firefox/.test(ua)){return"Firefox"}else if(android){return"AOSP"}else if(/MSIE|Trident/.test(ua)){return"IE"}else if(/Safari\//.test(ua)){return"Safari"}else if(/AppleWebKit/.test(ua)){return"WebKit"} 186return""} 187function _detectBrowserVersion(ua,browser){if(browser==="Opera"){return/Opera Mini/.test(ua)?_getVersion(ua,"Opera Mini/"):/ OPR/.test(ua)?_getVersion(ua," OPR/"):_getVersion(ua," OPT/")}else if(browser==="Chrome for iOS"){return _getVersion(ua,"CriOS/")}else if(browser==="Edge"){return _getVersion(ua,"Edge/")}else if(browser==="Chrome"){return _getVersion(ua,"Chrome/")}else if(browser==="Firefox"){return _getVersion(ua,"Firefox/")}else if(browser==="Silk"){return _getVersion(ua,"Silk/")}else if(browser==="AOSP"){return _getVersion(ua,"Version/")}else if(browser==="IE"){return/IEMobile/.test(ua)?_getVersion(ua,"IEMobile/"):/MSIE/.test(ua)?_getVersion(ua,"MSIE "):_getVersion(ua,"rv:")}else if(browser==="Safari"){return _getVersion(ua,"Version/")}else if(browser==="WebKit"){return _getVersion(ua,"WebKit/")} 188return"0.0.0"} 189function _getVersion(ua,token){try{return _normalizeSemverString(ua.split(token)[1].trim().split(/[^\w\.]/)[0])}catch(o_O){} 190return"0.0.0"} 191function _normalizeSemverString(version){const ary=version.split(/[\._]/);return(parseInt(ary[0],10)||0)+"."+(parseInt(ary[1],10)||0)+"."+(parseInt(ary[2],10)||0)} 192function _isWebView(ua,os,browser,version,options){switch(os+browser){case "iOSSafari":return!1;case "iOSWebKit":return _isWebView_iOS(options);case "AndroidAOSP":return!1;case "AndroidChrome":return parseFloat(version)>=42?/; wv/.test(ua):/\d{2}\.0\.0/.test(version)?!0:_isWebView_Android(options)} 193return!1} 194function _isWebView_iOS(options){const document=(window.document||{});if("WEB_VIEW" in options){return options.WEB_VIEW} 195return!("fullscreenEnabled" in document||"webkitFullscreenEnabled" in document||!1)} 196function _isWebView_Android(options){if("WEB_VIEW" in options){return options.WEB_VIEW} 197return!("requestFileSystem" in window||"webkitRequestFileSystem" in window||!1)} 198const options={},nav=window.navigator||{},ua=nav.userAgent||"",os=_detectOS(ua),browser=_detectBrowser(ua),browserVersion=_detectBrowserVersion(ua,browser);isWebView=_isWebView(ua,os,browser,browserVersion,options)} 199return isWebView} 200function isAllowedWebViewForUserAgent(provider){const facebookAllowedWebViews=['Instagram','FBAV','FBAN'];let whitelist=[];if(provider&&provider==='facebook'){whitelist=facebookAllowedWebViews} 201const nav=window.navigator||{},ua=nav.userAgent||"";if(whitelist.length&&ua.match(new RegExp(whitelist.join('|')))){return!0} 202return!1} 203function disableButtonInWebView(providerButtonElement){if(providerButtonElement){providerButtonElement.classList.add('nsl-disabled-provider');providerButtonElement.setAttribute('href','#');providerButtonElement.addEventListener('pointerdown',(e)=>{const closeNotice=function(){if(window._nslWebViewNoticeElement){window._nslWebViewNoticeElement.remove();window._nslWebViewNoticeElement=null}};closeNotice();window._nslWebViewNoticeElement=document.createElement('div');window._nslWebViewNoticeElement.id="nsl-notices-fallback";window._nslWebViewNoticeElement.role='alert';window._nslWebViewNoticeElement.ariaLive='assertive';window._nslWebViewNoticeElement.ariaAtomic='true';window._nslWebViewNoticeElement.addEventListener('pointerdown',closeNotice);window._nslWebViewNoticeElement.addEventListener('keydown',function(e){if(e.key==='Enter'){e.preventDefault();closeNotice()}});const webviewNoticeHTML='<div class="error"><p>'+scriptOptions._localizedStrings.webview_notification_text+'</p></div>';window._nslWebViewNoticeElement.insertAdjacentHTML("afterbegin",webviewNoticeHTML);document.body.appendChild(window._nslWebViewNoticeElement)})}} 204window._nslDOMReady(function(){window.nslRedirect=function(url){if(scriptOptions._redirectOverlay){const overlay=document.createElement('div');overlay.id="nsl-redirect-overlay";let overlayHTML='';
204const overlayContainer="<div id='nsl-redirect-overlay-container'>",overlayContainerClose="</div>",overlaySpinner="<div id='nsl-redirect-overlay-spinner'></div>",overlayTitle="<p id='nsl-redirect-overlay-title'>"+scriptOptions._localizedStrings.redirect_overlay_title+"</p>",overlayText="<p id='nsl-redirect-overlay-text'>"+scriptOptions._localizedStrings.redirect_overlay_text+"</p>";switch(scriptOptions._redirectOverlay){case "overlay-only":break;case "overlay-with-spinner":overlayHTML=overlayContainer+overlaySpinner+overlayContainerClose;break;default:overlayHTML=overlayContainer+overlaySpinner+overlayTitle+overlayText+overlayContainerClose;break} 205overlay.insertAdjacentHTML("afterbegin",overlayHTML);document.body.appendChild(overlay)} 206window.location=url};let targetWindow=scriptOptions._targetWindow||'prefer-popup',lastPopup=!1;document.addEventListener('click',function(e){if(e.target){const buttonLinkElement=e.target.closest('a[data-plugin="nsl"][data-action="connect"]')||e.target.closest('a[data-plugin="nsl"][data-action="link"]');if(buttonLinkElement){if(lastPopup&&!lastPopup.closed){e.preventDefault();lastPopup.focus()}else{let href=buttonLinkElement.href,success=!1;if(href.indexOf('?')!==-1){href+='&'}else{href+='?'} 207const redirectTo=buttonLinkElement.dataset.redirect;if(redirectTo==='current'){href+='redirect='+encodeURIComponent(window.location.href)+'&'}else if(redirectTo&&redirectTo!==''){href+='redirect='+encodeURIComponent(redirectTo)+'&'} 208if(targetWindow!=='prefer-same-window'&&checkWebView()){targetWindow='prefer-same-window'} 209if(targetWindow==='prefer-popup'){lastPopup=NSLPopup(href+'display=popup','nsl-social-connect',buttonLinkElement.dataset.popupwidth,buttonLinkElement.dataset.popupheight);if(lastPopup){success=!0;e.preventDefault()}}else if(targetWindow==='prefer-new-tab'){const newTab=window.open(href+'display=popup','_blank');if(newTab){if(window.focus){newTab.focus()} 210success=!0;window._nslHasOpenedPopup=!0;e.preventDefault()}} 211if(!success){window.location=href;e.preventDefault()}}}}});let buttonCountChanged=!1;const googleLoginButtons=document.querySelectorAll(' a[data-plugin="nsl"][data-provider="google"]');if(googleLoginButtons.length&&checkWebView()){googleLoginButtons.forEach(function(googleLoginButton){if(scriptOptions._unsupportedWebviewBehavior==='disable-button'){disableButtonInWebView(googleLoginButton)}else{googleLoginButton.remove();buttonCountChanged=!0}})} 212const facebookLoginButtons=document.querySelectorAll(' a[data-plugin="nsl"][data-provider="facebook"]');if(facebookLoginButtons.length&&checkWebView()&&/Android/.test(window.navigator.userAgent)&&!isAllowedWebViewForUserAgent('facebook')){facebookLoginButtons.forEach(function(facebookLoginButton){if(scriptOptions._unsupportedWebviewBehavior==='disable-button'){disableButtonInWebView(facebookLoginButton)}else{facebookLoginButton.remove();buttonCountChanged=!0}})} 213const separators=document.querySelectorAll('div.nsl-separator');if(buttonCountChanged&&separators.length){separators.forEach(function(separator){const separatorParentNode=separator.parentNode;if(separatorParentNode){const separatorButtonContainer=separatorParentNode.querySelector('div.nsl-container-buttons');if(separatorButtonContainer&&!separatorButtonContainer.hasChildNodes()){separator.remove()}}})}})})() 214;(function(){var els=document.querySelectorAll('[data-sl-ship]');if(!els.length)return;function apply(zone){for(var i=0;i<els.length;i++){try{var map=JSON.parse(els[i].getAttribute('data-sl-map')||'{}');els[i].textContent=map[zone]?map[zone]:''}catch(e){}}} 215var cached=null;try{cached=sessionStorage.getItem('slZone')}catch(e){} 216if(cached){apply(cached);return} 217fetch('/go/?zone=1',{credentials:'omit'}).then(function(r){return r.ok?r.json():null}).then(function(d){if(!d||!d.zone)return;try{sessionStorage.setItem('slZone',d.zone)}catch(e){} 218apply(d.zone)}).catch(function(){})})() 219;
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.