PageSourceSearch

https://www.myllynparas.fi/sites/default/files/js/js_4pGSzZq2GX8WD…bmXcTb3y9ZN8UY2X7C_PNSGzhkqUX5-vSmevPyuSZ7w

js myllynparas.fi collected 2026-10-02 07:15:48 UTC 250,595 bytes, 275 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2/*! @source https://purl.eligrey.com/github/classList.js/blob/master/classList.js */
3if("document" in self){if(!("classList" in document.createElement("_"))){(function(j){"use strict";if(!("Element" in j)){return}var a="classList",f="prototype",m=j.Element[f],b=Object,k=String[f].trim||function(){return this.replace(/^\s+|\s+$/g,"")},c=Array[f].indexOf||function(q){var p=0,o=this.length;for(;p<o;p++){if(p in this&&this[p]===q){return p}}return -1},n=function(o,p){this.name=o;this.code=DOMException[o];this.message=p},g=function(p,o){if(o===""){throw new n("SYNTAX_ERR","An invalid or illegal string was specified")}if(/\s/.test(o)){throw new n("INVALID_CHARACTER_ERR","String contains an invalid character")}return c.call(p,o)},d=function(s){var r=k.call(s.getAttribute("class")||""),q=r?r.split(/\s+/):[],p=0,o=q.length;for(;p<o;p++){this.push(q[p])}this._updateClassName=function(){s.setAttribute("class",this.toString())}},e=d[f]=[],i=function(){return new d(this)};n[f]=Error[f];e.item=function(o){return this[o]||null};e.contains=function(o){o+="";return g(this,o)!==-1};e.add=function(){var s=arguments,r=0,p=s.length,q,o=false;do{q=s[r]+"";if(g(this,q)===-1){this.push(q);o=true}}while(++r<p);if(o){this._updateClassName()}};e.remove=function(){var t=arguments,s=0,p=t.length,r,o=false,q;do{r=t[s]+"";q=g(this,r);while(q!==-1){this.splice(q,1);o=true;q=g(this,r)}}while(++s<p);if(o){this._updateClassName()}};e.toggle=function(p,q){p+="";var o=this.contains(p),r=o?q!==true&&"remove":q!==false&&"add";if(r){this[r](p)}if(q===true||q===false){return q}else{return !o}};e.toString=function(){return this.join(" ")};if(b.defineProperty){var l={get:i,enumerable:true,configurable:true};try{b.defineProperty(m,a,l)}catch(h){if(h.number===-2146823252){l.enumerable=false;b.defineProperty(m,a,l)}}}else{if(b[f].__defineGetter__){m.__defineGetter__(a,i)}}}(self))}else{(function(){var b=document.createElement("_");b.classList.add("c1","c2");if(!b.classList.contains("c2")){var c=function(e){var d=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(h){var g,f=arguments.length;for(g=0;g<f;g++){h=arguments[g];d.call(this,h)}}};c("add");c("remove")}b.classList.toggle("c3",false);if(b.classList.contains("c3")){var a=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(d,e){if(1 in arguments&&!this.contains(d)===!e){return e}else{return a.call(this,d)}}}b=null}())}};;
4/**
5 * @file
6 * A promise-polyfill by @taylorhakes.
7 *
8 * License: MIT
9 * @see https://github.com/taylorhakes/promise-polyfill
10 */
11!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(0,function(){"use strict";function e(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){return t.reject(n)})})}function t(e){return new this(function(t,n){function o(e,n){if(n&&("object"==typeof n||"function"==typeof n)){var f=n.then;if("function"==typeof f)return void f.call(n,function(t){o(e,t)},function(n){r[e]={status:"rejected",reason:n},0==--i&&t(r)})}r[e]={status:"fulfilled",value:n},0==--i&&t(r)}if(!e||"undefined"==typeof e.length)return n(new TypeError(typeof e+" "+e+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);for(var i=r.length,f=0;r.length>f;f++)o(f,r[f])})}function n(e){return!(!e||"undefined"==typeof e.length)}function o(){}function r(e){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=undefined,this._deferreds=[],l(e,this)}function i(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var o;try{o=n(e._value)}catch(r){return void u(t.promise,r)}f(t.promise,o)}else(1===e._state?f:u)(t.promise,e._value)})):e._deferreds.push(t)}function f(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof r)return e._state=3,e._value=t,void c(e);if("function"==typeof n)return void l(function(e,t){return function(){e.apply(t,arguments)}}(n,t),e)}e._state=1,e._value=t,c(e)}catch(o){u(e,o)}}function u(e,t){e._state=2,e._value=t,c(e)}function c(e){2===e._state&&0===e._deferreds.length&&r._immediateFn(function(){e._handled||r._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;n>t;t++)i(e,e._deferreds[t]);e._deferreds=null}function l(e,t){var n=!1;try{e(function(e){n||(n=!0,f(t,e))},function(e){n||(n=!0,u(t,e))})}catch(o){if(n)return;n=!0,u(t,o)}}var a=setTimeout,s="undefined"!=typeof setImmediate?setImmediate:null;r.prototype["catch"]=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(o);return i(this,new function(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(e,t,n)),n},r.prototype["finally"]=e,r.all=function(e){return new r(function(t,o){function r(e,n){try{if(n&&("object"==typeof n||"function"==typeof n)){var u=n.then;if("function"==typeof u)return void u.call(n,function(t){r(e,t)},o)}i[e]=n,0==--f&&t(i)}catch(c){o(c)}}if(!n(e))return o(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(e);
11if(0===i.length)return t([]);for(var f=i.length,u=0;i.length>u;u++)r(u,i[u])})},r.allSettled=t,r.resolve=function(e){return e&&"object"==typeof e&&e.constructor===r?e:new r(function(t){t(e)})},r.reject=function(e){return new r(function(t,n){n(e)})},r.race=function(e){return new r(function(t,o){if(!n(e))return o(new TypeError("Promise.race accepts an array"));for(var i=0,f=e.length;f>i;i++)r.resolve(e[i]).then(t,o)})},r._immediateFn="function"==typeof s&&function(e){s(e)}||function(e){a(e,0)},r._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var d=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("unable to locate global object")}();"function"!=typeof d.Promise?d.Promise=r:(d.Promise.prototype["finally"]||(d.Promise.prototype["finally"]=e),d.Promise.allSettled||(d.Promise.allSettled=t))});
12;
13/**
14 * @file
15 * A requestAnimationFrame polyfill.
16 *
17 * by Erik Möller. fixes from Paul Irish and Tino Zijdel.
18 * MIT license
19 *
20 * @see https://gist.github.com/paulirish/1579671
21 */
22!function(m){for(var o=0,n=["ms","moz","webkit","o"],e=0;e<n.length&&!m.requestAnimationFrame;++e)m.requestAnimationFrame=window[n[e]+"RequestAnimationFrame"],m.cancelAnimationFrame=window[n[e]+"CancelAnimationFrame"]||window[n[e]+"CancelRequestAnimationFrame"];m.requestAnimationFrame||(m.requestAnimationFrame=function(n,e){var i=(new Date).getTime(),a=Math.max(0,16-(i-o)),t=m.setTimeout(function(){n(i+a)},a);return o=i+a,t}),m.cancelAnimationFrame||(m.cancelAnimationFrame=function(n){clearTimeout(n)})}(this);
23;
24/* @license GPL-2.0-or-later https://git.drupalcode.org/project/once/-/raw/v1.0.1/LICENSE.md */
25/*! @drupal/once - v1.0.1 - 2021-06-12 */
26var once=function(){"use strict";var n=/[\11\12\14\15\40]+/,e="data-once",t=document;function r(n,t,r){return n[t+"Attribute"](e,r)}function o(e){if("string"!=typeof e)throw new TypeError("once ID must be a string");if(""===e||n.test(e))throw new RangeError("once ID must not be empty or contain spaces");return'[data-once~="'+e+'"]'}function u(n){if(!(n instanceof Element))throw new TypeError("The element must be an instance of Element");return!0}function i(n,e){void 0===e&&(e=t);var r=n;if(null===n)r=[];else{if(!n)throw new TypeError("Selector must not be empty");"string"!=typeof n||e!==t&&!u(e)?n instanceof Element&&(r=[n]):r=e.querySelectorAll(n)}return Array.prototype.slice.call(r)}function c(n,e,t){return e.filter((function(e){var r=u(e)&&e.matches(n);return r&&t&&t(e),r}))}function f(e,t){var o=t.add,u=t.remove,i=[];r(e,"has")&&r(e,"get").trim().split(n).forEach((function(n){i.indexOf(n)<0&&n!==u&&i.push(n)})),o&&i.push(o);var c=i.join(" ");r(e,""===c?"remove":"set",c)}function a(n,e,t){return c(":not("+o(n)+")",i(e,t),(function(e){return f(e,{add:n})}))}return a.remove=function(n,e,t){return c(o(n),i(e,t),(function(e){return f(e,{remove:n})}))},a.filter=function(n,e,t){return c(o(n),i(e,t))},a.find=function(n,e){return i(n?o(n):"[data-once]",e)},a}();
27
28;
29/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
30window.drupalTranslations={"strings":{"":{"Please wait...":"Odota hetki...","Changed":"Muuttunut","Open":"K\u00e4yt\u00f6ss\u00e4","Home":"Etusivu","Edit":"Muokkaa","Image":"Kuva","By @name on @date":"Kirjoittanut @name, @date","By @name":"@name Kirjoittanut ","Automatic alias":"Automaattinen alias","Cancel":"Peruuta","Hide row weights":"Piilota rivien painoarvot","Show row weights":"N\u00e4yt\u00e4 rivien painoarvot","Advanced":"Edistyneet","ID":"ID","Title":"Otsikko","Error message":"Virheviesti","Add":"Lis\u00e4\u00e4","Apply":"K\u00e4yt\u00e4","Not in menu":"Ei valikossa","%left characters left":"%left merkki\u00e4 j\u00e4ljell\u00e4.","Not scheduled":"Ei ajastettu","Choose your favorite content":"Valitse suosikkisis\u00e4lt\u00f6si","Your settings":"Omat asetukset","Close settings banner":"Sulje personointiasetusten banneri","Your settings have been saved":"Omat asetuksesi on tallennettu","You can modify your settings by clicking the knife and fork -icon in the bottom left corner.":"P\u00e4\u00e4set muokkaamaan asetuksiasi painamalla ruudun vasemmassa alakulmassa n\u00e4kyv\u00e4\u00e4 haarukka ja lusikka -painiketta.","Personalization removed":"Personointi poistettu k\u00e4yt\u00f6st\u00e4","You can re-activate personalization by clicking the knife and fork -icon in the bottom left corner.":"P\u00e4\u00e4set aktivoimaan personoinnin painamalla ruudun vasemmassa alakulmassa n\u00e4kyv\u00e4\u00e4 haarukka ja lusikka -painiketta.","Personalize your content":"R\u00e4\u00e4t\u00e4l\u00f6i sis\u00e4lt\u00f6\u00e4si","We personalize your content":"R\u00e4\u00e4t\u00e4l\u00f6imme sis\u00e4lt\u00f6\u00e4si"}},"pluralFormula":{"1":0,"default":1}};;
31window.Drupal={behaviors:{},locale:{}};(function(Drupal,drupalSettings,drupalTranslations,console,Proxy,Reflect){Drupal.throwError=function(error){setTimeout(()=>{throw error;},0);};Drupal.attachBehaviors=function(context,settings){context=context||document;settings=settings||drupalSettings;const behaviors=Drupal.behaviors;Object.keys(behaviors||{}
31).forEach((i)=>{if(typeof behaviors[i].attach==='function')try{behaviors[i].attach(context,settings);}catch(e){Drupal.throwError(e);}});};Drupal.detachBehaviors=function(context,settings,trigger){context=context||document;settings=settings||drupalSettings;trigger=trigger||'unload';const behaviors=Drupal.behaviors;Object.keys(behaviors||{}).forEach((i)=>{if(typeof behaviors[i].detach==='function')try{behaviors[i].detach(context,settings,trigger);}catch(e){Drupal.throwError(e);}});};Drupal.checkPlain=function(str){str=str.toString().replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,'&quot;').replace(/'/g,'&#39;');return str;};Drupal.formatString=function(str,args){const processedArgs={};Object.keys(args||{}).forEach((key)=>{switch(key.charAt(0)){case '@':processedArgs[key]=Drupal.checkPlain(args[key]);break;case '!':processedArgs[key]=args[key];break;default:processedArgs[key]=Drupal.theme('placeholder',args[key]);break;}});return Drupal.stringReplace(str,processedArgs,null);};Drupal.stringReplace=function(str,args,keys){if(str.length===0)return str;if(!Array.isArray(keys)){keys=Object.keys(args||{});keys.sort((a,b)=>a.length-b.length);}if(keys.length===0)return str;const key=keys.pop();const fragments=str.split(key);if(keys.length){for(let i=0;i<fragments.length;i++)fragments[i]=Drupal.stringReplace(fragments[i],args,keys.slice(0));}return fragments.join(args[key]);};Drupal.t=function(str,args,options){options=options||{};options.context=options.context||'';if(drupalTranslations?.strings?.[options.context]?.[str])str=drupalTranslations.strings[options.context][str];if(args)str=Drupal.formatString(str,args);return str;};Drupal.url=function(path){return drupalSettings.path.baseUrl+drupalSettings.path.pathPrefix+path;};Drupal.url.toAbsolute=function(url){const urlParsingNode=document.createElement('a');urlParsingNode.setAttribute('href',url);return urlParsingNode.href;};Drupal.url.isLocal=function(url){let absoluteUrl=Drupal.url.toAbsolute(url);let {protocol}=window.location;if(protocol==='http:'&&absoluteUrl.startsWith('https:'))protocol='https:';let baseUrl=`${protocol}//${window.location.host}${drupalSettings.path.baseUrl.slice(0,-1)}`;try{absoluteUrl=decodeURIComponent(absoluteUrl);}catch(e){}try{baseUrl=decodeURIComponent(baseUrl);}catch(e){}return absoluteUrl===baseUrl||absoluteUrl.startsWith(`${baseUrl}/`);};Drupal.formatPlural=function(count,singular,plural,args,options){args=args||{};args['@count']=count;const pluralDelimiter=drupalSettings.pluralDelimiter;const translations=Drupal.t(singular+pluralDelimiter+plural,args,options).split(pluralDelimiter);let index=0;if(drupalTranslations?.pluralFormula)index=count in drupalTranslations.pluralFormula?drupalTranslations.pluralFormula[count]:drupalTranslations.pluralFormula.default;else{if(args['@count']!==1)index=1;}return translations[index];};Drupal.encodePath=function(item){return window.encodeURIComponent(item).replace(/%2F/g,'/');};Drupal.deprecationError=({message})=>{if(drupalSettings.suppressDeprecationErrors===false&&console?.warn)console.warn(`[Deprecation] ${message}`);};Drupal.deprecatedProperty=({target,deprecatedProperty,message})=>{if(!Proxy||!Reflect)return target;return new Proxy(target,{get:(target,key,...rest)=>{if(key===deprecatedProperty)Drupal.deprecationError({message});return Reflect.get(target,key,...rest);}});};Drupal.theme=function(func,...args){if(typeof Drupal.theme?.[func]==='function')return Drupal.theme[func](...args);Drupal.throwError(new TypeError(`Drupal.theme.${func} must be function type.`));};Drupal.theme.placeholder=function(str){return `<em class="placeholder">${Drupal.checkPlain(str)}</em>`;};Drupal.elementIsVisible=function(elem){return !!(elem.offsetWidth||elem.offsetHeight||elem.getClientRects().length);};Drupal.elementIsHidden=function(elem){return !Drupal.elementIsVisible(elem);};})(Drupal,window.drupalSettings,window.drupalTranslations,window.console,window.Proxy,window.Reflect);;
32if(window.jQuery)jQuery.noConflict();document.documentElement.className+=' js';(function(Drupal,drupalSettings){const domReady=(callback)=>{const listener=()=>{callback();document.removeEventListener('DOMContentLoaded',listener);};if(document.readyState!=='loading')setTimeout(callback,0);else document.addEventListener('DOMContentLoaded',listener);};domReady(()=>{Drupal.attachBehaviors(document,drupalSettings);});})(Drupal,window.drupalSettings);;
33Drupal.debounce=function(func,wait,immediate){let timeout;let result;return function(...args){const context=this;const later=function(){timeout=null;if(!immediate)result=func.apply(context,args);};const callNow=immediate&&!timeout;clearTimeout(timeout);timeout=setTimeout(later,wait);if(callNow)result=func.apply(context,args);return result;};};;
34!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e){"use strict";return e.ui=e.ui||{},e.ui.version="1.14.2"});
35
36/*!
37 * jQuery UI :data 1.14.2
38 * https://jqueryui.com
39 *
40 * Copyright OpenJS Foundation and other contributors
41 * Released under the MIT license.
42 * https://jquery.org/license
43 */
44!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(e){"use strict";return e.extend(e.expr.pseudos,{data:e.expr.createPseudo(function(n){return function(t){return!!e.data(t,n)}})})});
45
46/*!
47 * jQuery UI Disable Selection 1.14.2
48 * https://jqueryui.com
49 *
50 * Copyright OpenJS Foundation and other contributors
51 * Released under the MIT license.
52 * https://jquery.org/license
53 */
54!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(e){"use strict";return e.fn.extend({disableSelection:(n="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(n+".ui-disableSelection",function(e){e.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}});var n});
55
56/*!
57 * jQuery UI Legacy jQuery Core patches 1.14.2
58 * https://jqueryui.com
59 *
60 * Copyright OpenJS Foundation and other contributors
61 * Released under the MIT license.
62 * https://jquery.org/license
63 *
64 */
65!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(e){"use strict";e.escapeSelector||(e.escapeSelector=function(e){return CSS.escape(e+"")}),e.fn.even&&e.fn.odd||e.fn.extend({even:function(){return this.filter(function(e){return e%2==0}
65)},odd:function(){return this.filter(function(e){return e%2==1})}})});
66
67/*!
68 * jQuery UI Scroll Parent 1.14.2
69 * https://jqueryui.com
70 *
71 * Copyright OpenJS Foundation and other contributors
72 * Released under the MIT license.
73 * https://jquery.org/license
74 */
75!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){"use strict";return t.fn.scrollParent=function(e){var s=this.css("position"),n="absolute"===s,o=e?/(auto|scroll|hidden)/:/(auto|scroll)/,i=this.parents().filter(function(){var e=t(this);return(!n||"static"!==e.css("position"))&&o.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==s&&i.length?i:t(this[0].ownerDocument||document)}});
76
77/*!
78 * jQuery UI Unique ID 1.14.2
79 * https://jqueryui.com
80 *
81 * Copyright OpenJS Foundation and other contributors
82 * Released under the MIT license.
83 * https://jquery.org/license
84 */
85!function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],i):i(jQuery)}(function(i){"use strict";return i.fn.extend({uniqueId:(e=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++e)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&i(this).removeAttr("id")})}});var e});
86
87/*!
88 * jQuery UI Focusable 1.14.2
89 * https://jqueryui.com
90 *
91 * Copyright OpenJS Foundation and other contributors
92 * Released under the MIT license.
93 * https://jquery.org/license
94 */
95!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(e){"use strict";return e.ui.focusable=function(t,i){var s,n,u,a,o,r=t.nodeName.toLowerCase();return"area"===r?(n=(s=t.parentNode).name,!(!t.href||!n||"map"!==s.nodeName.toLowerCase())&&((u=e("img[usemap='#"+n+"']")).length>0&&u.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(r)?(a=!t.disabled)&&(o=e(t).closest("fieldset")[0])&&(a=!o.disabled):a="a"===r&&t.href||i,a&&e(t).is(":visible")&&"visible"===e(t).css("visibility"))},e.extend(e.expr.pseudos,{focusable:function(t){return e.ui.focusable(t,null!=e.attr(t,"tabindex"))}}),e.ui.focusable});
96
97/*!
98 * jQuery UI Keycode 1.14.2
99 * https://jqueryui.com
100 *
101 * Copyright OpenJS Foundation and other contributors
102 * Released under the MIT license.
103 * https://jquery.org/license
104 */
105!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(e){"use strict";return e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}});
106
107!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(e){"use strict";return e.ui.plugin={add:function(n,i,t){var u,o=e.ui[n].prototype;for(u in t)o.plugins[u]=o.plugins[u]||[],o.plugins[u].push([i,t[u]])},call:function(e,n,i,t){var u,o=e.plugins[n];if(o&&(t||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(u=0;u<o.length;u++)e.options[o[u][0]]&&o[u][1].apply(e.element,i)}}});
108
109/*!
110 * jQuery UI Widget 1.14.2
111 * https://jqueryui.com
112 *
113 * Copyright OpenJS Foundation and other contributors
114 * Released under the MIT license.
115 * https://jquery.org/license
116 */
117!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){"use strict";var e,i=0,s=Array.prototype.hasOwnProperty,n=Array.prototype.slice;return t.cleanData=(e=t.cleanData,function(i){var s,n,o;for(o=0;null!=(n=i[o]);o++)(s=t._data(n,"events"))&&s.remove&&t(n).triggerHandler("remove");e(i)}),t.widget=function(e,i,s){var n,o,a,r={},l=e.split(".")[0];if("__proto__"===(e=e.split(".")[1])||"constructor"===e)return t.error("Invalid widget name: "+e);var u=l+"-"+e;return s||(s=i,i=t.Widget),Array.isArray(s)&&(s=t.extend.apply(null,[{}].concat(s))),t.expr.pseudos[u.toLowerCase()]=function(e){return!!t.data(e,u)},t[l]=t[l]||{},n=t[l][e],o=t[l][e]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},t.extend(o,n,{version:s.version,_proto:t.extend({},s),_childConstructors:[]}),(a=new i).options=t.widget.extend({},a.options),t.each(s,function(t,e){r[t]="function"==typeof e?function(){function s(){return i.prototype[t].apply(this,arguments)}function n(e){return i.prototype[t].apply(this,e)}return function(){var t,i=this._super,o=this._superApply;return this._super=s,this._superApply=n,t=e.apply(this,arguments),this._super=i,this._superApply=o,t}}():e}),o.prototype=t.widget.extend(a,{widgetEventPrefix:n&&a.widgetEventPrefix||e},r,{constructor:o,namespace:l,widgetName:e,widgetFullName:u}),n?(t.each(n._childConstructors,function(e,i){var s=i.prototype;t.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete n._childConstructors):i._childConstructors.push(o),t.widget.bridge(e,o),o}
vendor: 4,414 bytes, line 117
117,t.widget.extend=function(e){for(var i,o,a=n.call(arguments,1),r=0,l=a.length;r<l;r++)for(i in a[r])o=a[r][i],s.call(a[r],i)&&void 0!==o&&(t.isPlainObject(o)?e[i]=t.isPlainObject(e[i])?t.widget.extend({},e[i],o):t.widget.extend({},o):e[i]=o);return e},t.widget.bridge=function(e,i){var s=i.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=n.call(arguments,1),l=this;return a?this.length||"instance"!==o?this.each(function(){var i,n=t.data(this,s);return"instance"===o?(l=n,!1):n?"function"!=typeof n[o]||"_"===o.charAt(0)?t.error("no such method '"+o+"' for "+e+" widget instance"):(i=n[o].apply(n,r))!==n&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0:t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+o+"'")}):l=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var e=t.data(this,s);e?(e.option(o||{}),e._init&&e._init()):t.data(this,s,new i(o,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;o<s.length-1;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){var i=[],s=this;function n(){var i=[];e.element.each(function(e,n){t.map(s.classesElementLookup,function(t){return t}).some(function(t){return t.is(n)})||i.push(n)}),s._on(t(i),{remove:"_untrackClassesElement"})}function o(o,a){var r,l;for(l=0;l<o.length;l++)r=s.classesElementLookup[o[l]]||t(),e.add?(n(),r=t(t.uniqueSort(r.get().concat(e.element.get())))):r=t(r.not(e.element).get()),s.classesElementLookup[o[l]]=r,i.push(o[l]),a&&e.classes[o[l]]&&i.push(e.classes[o[l]])}return(e=t.extend({element:this.element,classes:this.options.classes||{}},e)).keys&&o(e.keys.match(/\S+/g)||[],!0),e.extra&&o(e.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))}),this._off(t(e.target))}
vendor: 5,311 bytes, lines 117-137
117,_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){if(e||!0!==o.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof a?o[a]:a).apply(o,arguments)}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var l=s.match(/^([\w:-]*)\s*(.*)$/),u=l[1]+o.eventNamespace,h=l[2];h?n.on(u,h,r):i.on(u,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},(i=t.Event(i)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!("function"==typeof a&&!1===a.apply(this.element[0],[i].concat(s))||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){var a;"string"==typeof n&&(n={effect:n});var r=n?!0===n||"number"==typeof n?i:n.effect||i:e;"number"==typeof(n=n||{})?n={duration:n}:!0===n&&(n={}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget});
118
119/*!
120 * jQuery UI Labels 1.14.2
121 * https://jqueryui.com
122 *
123 * Copyright OpenJS Foundation and other contributors
124 * Released under the MIT license.
125 * https://jquery.org/license
126 */
127!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","./version"],t):t(jQuery)}(function(t){"use strict";return t.fn.labels=function(){var t,s,e,i,n;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(i=this.eq(0).parents("label"),(e=this.attr("id"))&&(n=(t=this.eq(0).parents().last()).add(t.length?t.siblings():this.siblings()),s="label[for='"+CSS.escape(e)+"']",i=i.add(n.find(s).addBack(s))),this.pushStack(i)):this.pushStack([])}});
128
129/*!
130 * jQuery UI Autocomplete 1.14.2
131 * https://jqueryui.com
132 *
133 * Copyright OpenJS Foundation and other contributors
134 * Released under the MIT license.
135 * https://jquery.org/license
136 */
137!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./menu","../keycode","../position","../version","../widget"],e):e(jQuery)}(function(e){"use strict";return e.widget("ui.autocomplete",{version:"1.14.2",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var t,i,s,n=this.element[0].nodeName.toLowerCase(),o="textarea"===n,u="input"===n;this.isMultiLine=o||!u&&"true"===this.element.prop("contentEditable"),this.valueMethod=this.element[o||u?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(n){if(this.element.prop("readOnly"))return t=!0,s=!0,void(i=!0);t=!1,s=!1,i=!1;var o=e.ui.keyCode;switch(n.keyCode){case o.PAGE_UP:t=!0,this._move("previousPage",n);break;case o.PAGE_DOWN:t=!0,this._move("nextPage",n);break;case o.UP:t=!0,this._keyEvent("previous",n);break;case o.DOWN:t=!0,this._keyEvent("next",n);break;case o.ENTER:this.menu.active&&(t=!0,n.preventDefault(),this.menu.select(n));break;case o.TAB:this.menu.active&&this.menu.select(n);break;case o.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(n),n.preventDefault());break;default:i=!0,this._searchTimeout(n)}},keypress:function(s){if(t)return t=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||s.preventDefault());if(!i){var n=e.ui.keyCode;switch(s.keyCode){case n.PAGE_UP:this._move("previousPage",s);break;case n.PAGE_DOWN:this._move("nextPage",s);break;case n.UP:this._keyEvent("previous",s);break;case n.DOWN:this._keyEvent("next",s)}}},input:function(e){if(s)return s=!1,void e.preventDefault();this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value(
vendor: 6,726 bytes, lines 137-147
137)},blur:function(e){clearTimeout(this.searching),this.close(e),this._change(e)}}),this._initSource(),this.menu=e("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault()},menufocus:function(t,i){var s,n;if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){e(t.target).trigger(t.originalEvent)});n=i.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:n})&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(n.value),(s=i.item.attr("aria-label")||n.value)&&String.prototype.trim.call(s).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(e("<div>").text(s))},100))},menuselect:function(e,t){var i=t.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.trigger("focus"),this.previous=s),!1!==this._trigger("select",e,{item:i})&&this._value(i.value),this.term=this._value(),this.close(e),this.selectedItem=i}}),this.liveRegion=e("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var i=this.menu.element[0];return t.target===this.element[0]||t.target===i||e.contains(i,t.target)},_closeOnClickOutside:function(e){this._isEventTargetInWidget(e)||this.close()},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?e(t):this.document.find(t).eq(0)),t&&t[0]||(t=this.element.closest(".ui-front, dialog")),t.length||(t=this.document[0].body),t},_initSource:function(){var t,i,s=this;Array.isArray(this.options.source)?(t=this.options.source,this.source=function(i,s){s(e.ui.autocomplete.filter(t,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(t,n){s.xhr&&s.xhr.abort(),s.xhr=e.ajax({url:i,data:t,dataType:"json",success:function(e){n(e)},error:function(){n([])}})}):this.source=this.options.source},_searchTimeout:function(e){clearTimeout(this.searching),this.searching=this._delay(function(){var t=this.term===this._value(),i=this.menu.element.is(":visible"),s=e.altKey||e.ctrlKey||e.metaKey||e.shiftKey;t&&(!t||i||s)||(this.selectedItem=null,this.search(null,e))},this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):!1!==this._trigger("search",t)?this._search(e):void 0},_search:function(e){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var e=++this.requestIndex;return function(t){e===this.requestIndex&&this.__response(t),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")}.bind(this)},__response:function(e){e&&(e=this._normalize(e)),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:e.map(t,function(t){return"string"==typeof t?{label:t,value:t}:e.extend({},t,{label:t.label||t.value,value:t.value||t.label})})},_suggest:function(t){var i=this.menu.element.empty();this._renderMenu(i,t),this.isNewMenu=!0,this.menu.refresh(),i.show(),this._resizeMenu(),i.position(e.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(t,i){var s=this;e.each(i,function(e,i){s._renderItemData(t,i)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(t,i){return e("<li>").append(e("<div>").text(i.label)).appendTo(t)},_move:function(e,t){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[e](t);this.search(null,t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(e,t),t.preventDefault())}}),e.extend(e.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,i){var s=new RegExp(e.ui.autocomplete.escapeRegex(i),"i");return e.grep(t,function(e){return s.test(e.label||e.value||e)})}}),e.widget("ui.autocomplete",e.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(e>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var i;this._superApply(arguments),this.options.disabled||this.cancelSearch||(i=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(e("<div>").text(i))},100))}}),e.ui.autocomplete});
138
139/*!
140 * jQuery UI Menu 1.14.2
141 * https://jqueryui.com
142 *
143 * Copyright OpenJS Foundation and other contributors
144 * Released under the MIT license.
145 * https://jquery.org/license
146 */
147!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","../keycode","../position","../unique-id","../version","../widget"],e):e(jQuery)}(function(e){"use strict";return e.widget("ui.menu",{version:"1.14.2",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"}
vendor: 7,080 bytes, line 147
147,role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault(),this._activateItem(e)},"click .ui-menu-item":function(t){var i=e(t.target),s=e(this.document[0].activeElement);!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),i.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&s.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var i=this.active||this._menuItems().first();t||this.focus(e,i)},blur:function(t){this._delay(function(){!e.contains(this.element[0],this.document[0].activeElement)&&this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e,!0),this.mouseHandled=!1}})},_activateItem:function(t){if(!this.previousFilter&&(t.clientX!==this.lastMousePosition.x||t.clientY!==this.lastMousePosition.y)){this.lastMousePosition={x:t.clientX,y:t.clientY};var i=e(t.target).closest(".ui-menu-item"),s=e(t.currentTarget);i[0]===s[0]&&(s.is(".ui-state-active")||(this._removeClass(s.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,s)))}},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each(function(){var t=e(this);t.data("ui-menu-submenu-caret")&&t.remove()})},_keydown:function(t){var i,s,n,a,u=!0;switch(t.keyCode){case e.ui.keyCode.PAGE_UP:this.previousPage(t);break;case e.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case e.ui.keyCode.HOME:this._move("first","first",t);break;case e.ui.keyCode.END:this._move("last","last",t);break;case e.ui.keyCode.UP:this.previous(t);break;case e.ui.keyCode.DOWN:this.next(t);break;case e.ui.keyCode.LEFT:this.collapse(t);break;case e.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case e.ui.keyCode.ENTER:case e.ui.keyCode.SPACE:this._activate(t);break;case e.ui.keyCode.ESCAPE:this.collapse(t);break;default:u=!1,s=this.previousFilter||"",a=!1,n=t.keyCode>=96&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),n===s?a=!0:n=s+n,i=this._filterMenuItems(n),(i=a&&-1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-item"):i).length||(n=String.fromCharCode(t.keyCode),i=this._filterMenuItems(n)),i.length?(this.focus(t,i),this.previousFilter=n,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}u&&t.preventDefault()},_activate:function(e){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var t,i,s,n,a=this,u=this.options.icons.submenu,o=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),i=o.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=e(this),i=t.prev(),s=e("<span>").data("ui-menu-submenu-caret",!0);a._addClass(s,"ui-menu-icon","ui-icon "+u),i.attr("aria-haspopup","true").prepend(s),t.attr("aria-labelledby",i.attr("id"))}),this._addClass(i,"ui-menu","ui-widget ui-widget-content ui-front"),(t=o.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var t=e(this);a._isDivider(t)&&a._addClass(t,"ui-menu-divider","ui-widget-content")}),n=(s=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(s,"ui-menu-item")._addClass(n,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!e.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){if("icons"===e){var i=this.element.find(".ui-menu-icon");this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,t.submenu)}this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",String(e)),this._toggleClass(null,"ui-state-disabled",!!e)},focus:function(e,t){var i,s,n;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),s=this.active.children(".ui-menu-item-wrapper"),this._addClass(s,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),n=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(n,null,"ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=t.children(".ui-menu")).length&&e&&/^mouse/.test(e.type)&&this._startOpening(i),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(t){var i,s,n,a,u,o;this._hasScroll()&&(i=parseFloat(e.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(e.css(this.activeMenu[0],"paddingTop"))||0,n=t.offset().top-this.activeMenu.offset().top-i-s,a=this.activeMenu.scrollTop(),u=this.activeMenu.height(),o=t.outerHeight(),n<0?this.activeMenu.scrollTop(a+n):n+o>u&&this.activeMenu.scrollTop(a+n-u+o))},blur:function(e,t){t||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",e,{item:this.active}),this.active=null)},_startOpening:function(e){clearTimeout(this.timer),"true"===e.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(e)},this.delay))},_open:function(t){var i=e.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(t,i){clearTimeout(this.timer),this.timer=this._delay(function(){var s=i?this.element:e(t&&t.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(t),this._removeClass(s.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=s},i?0:this.delay)},_close:function(e){e||(e=this.active?this.active.parent():this.element),e.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","fal
147se")},_closeOnDocumentClick:function(t){return!e(t.target).closest(".ui-menu").length},_isDivider:function(e){return!/[^\-\u2014\u2013\s]/.test(e.text())},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this._menuItems(this.active.children(".ui-menu")).first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_menuItems:function(e){return(e||this.element).find(this.options.items).filter(".ui-menu-item")},_move:function(e,t,i){var s;this.active&&(s="first"===e||"last"===e?this.active["first"===e?"prevAll":"nextAll"](".ui-menu-item").last():this.active[e+"All"](".ui-menu-item").first()),s&&s.length&&this.active||(s=this._menuItems(this.activeMenu)[t]()),this.focus(i,s)},nextPage:function(t){var i,s,n;this.active?this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.innerHeight(),0===e.fn.jquery.indexOf("3.2.")&&(n+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.nextAll(".ui-menu-item").each(function(){return(i=e(this)).offset().top-s-n<0}),this.focus(t,i)):this.focus(t,this._menuItems(this.activeMenu)[this.active?"last":"first"]())):this.next(t)},previousPage:function(t){var i,s,n;this.active?this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.innerHeight(),0===e.fn.jquery.indexOf("3.2.")&&(n+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.prevAll(".ui-menu-item").each(function(){return(i=e(this)).offset().top-s+n>0}),this.focus(t,i)):this.focus(t,this._menuItems(this.activeMenu).first())):this.next(t)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||e(t.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,i)},_filterMenuItems:function(t){var i=t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),s=new RegExp("^"+i,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return s.test(String.prototype.trim.call(e(this).children(".ui-menu-item-wrapper").text()))})}})});
148
149!function(n,t,e){"use strict";var r,i,o=Object.assign,u=Array.prototype,c=Object.prototype,a=c.toString,f=u.splice,l=u.some,s="undefined"!=typeof Symbol&&Symbol,d="touchevents",p="jQuery"in n,h="cash"in n,v="add",m="remove",y="has",g="body",b="html",w=/-([a-z])/g,E=/^--/,S=n.localStorage,x={},O=Math.pow(2,53)-1,C=function(){function t(t,e){var r=this;if(r.name="dblazy",t){if(j(t))return t;var i=t;if($(t)){if(!(i=wn(An(e,t),t)).length)return}else if(D(t))return r.ready(t);(i.nodeType||i===n)&&(i=[i]);for(var o=r.length=i.length,u=0;u<o;u++)r[u]=i[u]}}return t.prototype.init=function(n,e){var r=new t(n,e);return W(n)?(n.idblazy||(n.idblazy=r),n.idblazy):r},t}();function N(n){var t=this,e=(t=j(t)?t:r(t)).length;return D(n)&&(e&&1!==e?t.each(n):n(t[0],0)),t}function T(n,e){var i=function(){return setTimeout(n,e||0,r)};return Z((function(){"loading"!==t.readyState?i():t.addEventListener("DOMContentLoaded",i)})),this}function z(n){var t="[object "+n+"]";return function(n){return a.call(n)===t}}i=C.prototype,(r=i.init).fn=r.prototype=i,i.length=0,i.splice=f,s&&(i[s.iterator]=u[s.iterator]);var P,I,L=(P="length",function(n){return F(n)?void 0:n[P]}),M=(I=L,function(n){var t=I(n);return"number"==typeof t&&t>=0&&t<=O});function A(n){return Q(n)?Object.keys(n):[]}function j(n){return n instanceof C}function B(n){return!$(n)&&(n&&(Array.isArray(n)||M(n)))}function R(n){return!0===n||!1===n||"[object Boolean]"===a.call(n)}function W(n){return n&&(n instanceof Element||n.querySelector)}function k(n){return!isNaN(n)&&parseInt(Number(n))===n&&!isNaN(parseInt(n,10))}function q(n,t){return k(n)||(n=parseInt(n)),n||t||0}var D=z("Function");function _(n){if(F(n)||U(n)||!1===n)return!0;var t=L(n);return"number"==typeof t&&(B(n)||$(n))?0===t:0===L(A(n))}function F(n){return null===n}function H(n){return!isNaN(parseFloat(n))&&isFinite(n)}function Q(n){if(!n||"object"!=typeof n)return!1;var t=Object.getPrototypeOf(n);return F(t)||t===c}function $(n){return n&&"string"==typeof n}function U(n){return void 0===n}function V(n){return!!n&&n===n.window}function J(n){return!(!n||!D(n.querySelector)||-1===[1,9,11].indexOf(n.nodeType))}function G(n){return J(n)||V(n)}function K(n){return n&&"getAttribute"in n}function X(){return!(!e||!e.bigPipePlaceholderIds)}function Y(){return!X()||(!!_(e.bigPipePlaceholderIds)||!gn(t,"[data-big-pipe-placeholder-id]"))}function Z(n,t){Y()&&setTimeout(n,t||101)}function nn(e){var r={};
149return"matchMedia"in n&&(r=n.matchMedia("(hover: none), (pointer: coarse)"),e&&r.addEventListener("change",e)),"ontouchstart"in n||n.DocumentTouch&&t instanceof n.DocumentTouch||r.matches||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function tn(n,t){var e={};n&&n.length&&zn(n).forEach((function(n){e[n.name]=n.value}),t||this);return e}function en(n,t,e){if(D(n)||$(n)||R(n)||H(n))return[];if(B(n)&&!U(n.length)){var r=n.length;if(!r||1===r&&" "===n[0])return[]}if(Q(n)&&_(n))return[];if("[object Object]"===a.call(n)){for(var i in n)if(rn(n,i)){if("length"===i||"name"===i)continue;if(!1===t.call(e,n[i],i,n))break}}else if(n)if(n instanceof HTMLCollection&&(n=zn(n)),n instanceof NamedNodeMap){var o=tn(n,e);t.call(e,o,0,n)}else{var u=n.length;u&&1===u&&!U(n[0])?t.call(e,n[0],0,n):n.forEach(t,e)}return n}function rn(n,t){return c.hasOwnProperty.call(n,t)}function on(n){return $(n)?-1!==(n=n.trim()).indexOf(",")?n.split(",").map((function(n){return n.trim()})):/\s/.test(n)?n.split(" ").map((function(n){return n.trim()})):[n]:B(n)?n:[n]}function un(n,t,e,r){return K(n)?n[t+"Attribute"](e,r):""}function cn(n,t,e,r){var i=this,o=U(e),u=!Q(t)&&(o||R(r)),c=$(r)?r:"",a=jn(n);if(U(t)&&W(a))return tn(a.attributes);if(u&&$(t)){t=t.trim(),o&&(e="");var f=e;return on(t).every((function(n){return!un(a,y,n)||!(f=un(a,"get",n))})),f}return N.call(n,(function(n){if(!K(n))return u?"":i;Q(t)?en(t,(function(t,e){un(n,"set",c+e,t)})):F(e)?en(on(t),(function(t){var e=c+t;un(n,y,e)&&un(n,m,e)})):"src"===t?n.src=e:"href"===t?n.href=e:un(n,"set",t,e)}))}function an(n,t,e){return N.call(n,(function(n,r){if(K(n)){var i=n.classList;D(t)&&(t=t(un(n,"get","class"),r));var o=on(t);i&&(U(e)?o.map((function(n){i.toggle(n)})):i[e].apply(i,o))}}))}function fn(n,t){return an(n,t,v)}function ln(n,t){return an(n,t,m)}function sn(n,t){var e=0;return W(n)&&W(t)?n!==t&&n.contains(t):B(n)?-1!==n.indexOf(t):($(n)&&$(t)&&(n=n.toLowerCase(),en(on(t=t.toLowerCase()),(function(t){-1!==n.indexOf(t)&&e++}))),e>0)}function dn(n){return n.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function pn(n,t){var e=0;return $(n)&&en(on(t),(function(t){n.startsWith(t)&&e++})),e>0}function hn(n){return n.replace(/\s+/g," ").trim()}function vn(n,t){return W(n)&&$(t)?n.closest(t):null}function mn(n,t){if(W(n)){if($(t))return t=bn(t),!!n.matches&&n.matches(t);if(W(t))return n===t}return n===t}function yn(n,t){return!(!n||!n.nodeName)&&l.call(on(t),(function(t){return n.nodeName.toLowerCase()===t.toLowerCase()}))}function gn(n,e,r){var i=U(r)&&$(e);return $(n=n||t)&&(n=jn(n,!0)),J(n)?(n=An(n,e=bn(e)),i?n.querySelector(e):Pn(e,n)):i?null:[]}function bn(n){var t=n;return $(n)&&pn(n,">")&&(t=":scope "+n),t}function wn(n,t){return gn(n,t,1)}function En(n){return W(n)&&n.currentStyle||!U(t.documentMode)}function Sn(){return n.devicePixelRatio||1}function xn(){return n.innerWidth||t.documentElement.clientWidth||n.screen.width}function On(){return{width:xn(),height:n.innerHeight||t.documentElement.clientHeight}}function Cn(n,t,e,r,i,o){return Mn(n,t,e,r,i,o,v)}function Nn(n,t,e,r,i,o){return Mn(n,t,e,r,i,o,m)}function Tn(n){return 0!==n.naturalWidth||n.complete&&0!==n.naturalWidth}function zn(n){return u.slice.call(n)}function Pn(n,e){e=e||t;var r=on(n);return $(n)&&(r=e.querySelectorAll(n)),zn(r)}function In(n,t){return(t||pn(n,["blazy.","bio."])?n:n.split(".")[0]).trim()}var Ln={_opts:function(n){var t=!1,e=n||!1;return Q(n)&&(t=(e=o({capture:!1,passive:!0},n)).once||!1),{one:t,options:e}},add:function(n,t,e,r,i){var o=this._opts(r),u=o.options,c=In(t,i),a=e;if(o.one&&En()){a=function t(){n.removeEventListener(c,t),e.apply(this,arguments)}}if(D(a)){var f={name:t,callback:a,type:c};x[t]=a,x[c]=f,n.addEventListener(c,a,u)}},remove:function(n,t,e,r,i){var o=this._opts(r).options,u=In(t,i),c=x[t]||e;D(c)&&(n.removeEventListener(u,c,o),delete x[t],delete x[u])}};function Mn(t,e,r,i,o,u,c){var a=i,f=En();if($(t)&&D(e))o=r,i=e,e=t,t=[n];else if($(r)){var l=sn(e,["touchstart","scroll","wheel"]);U(o)&&(o=!f&&{capture:!l,passive:l}),i=function(n){!function(n,t,e){var r=n.target;if(mn(r,e))t.call(r,n);else for(;r&&r!==this;){if(mn(r,e)){t.call(r,n);break}r=r.parentElement||r.parentNode}}(n,a,r)}}else D(r)&&(u=o,o=a,i=r);return N.call(t,(function(n){if(G(n)){en(on(e),(function(t){Ln[c](n,t,i,o,u)}))}}))}function An(n,e){var r=n||t;return e&&($(e)&&J(r)&&!r.querySelector(e)||$(r)||r===e||$(e)&&mn(r,e))&&(r=t),r=jn(r,!0)||t,(!e||e!==g&&e!==b)&&J(r)?W(r)&&(mn(r,"script")||mn(r,"style")||mn(r,"template"))?t:(r.nodeType,r):t}function jn(e,r){if($(e))return e===g?t.body:e===b?t:t.querySelector(e);
149if(r&&mn(e,b))return t;var i=p&&e instanceof n.jQuery,o=h&&e instanceof n.cash;return e&&(j(e)||i||o)?e[0]:e}function Bn(n){return E.test(n)}function Rn(n){return W(n)?n.getBoundingClientRect():{}}function Wn(n,t,e){if(W(n)){var r=n[e];if(U(t))return r;for(;r;){if(mn(r,t)||yn(r,t))return r;r=r[e]}}return null}function kn(n,t){return Wn(n,t,"parentElement")}function qn(n,t,e){return Wn(n,t,e+"ElementSibling")}function Dn(n,t){return qn(n,t,"previous")}r.isTag=z,r.isArr=B,r.isBool=R,r.isDoc=function(n){return-1!==[9,11].indexOf(!!n&&n.nodeType)},r.isElm=W,r.isFun=D,r.isEmpty=_,r.isInt=k,r.isNull=F,r.isNum=H,r.isObj=Q,r.isStr=$,r.isUnd=U,r.isEvt=G,r.isQsa=J,r.isIo="IntersectionObserver"in n,r.isMo="MutationObserver"in n,r.isRo="ResizeObserver"in n,r.isNativeLazy="loading"in HTMLImageElement.prototype,r.isAmd="function"==typeof define&&define.amd,r.isWin=V,r.isBigPipe=X,r.wwoBigPipeDone=Y,r.wwoBigPipe=Z,r.isTouch=nn,r.touchOrNot=function n(){var e=t.documentElement,r=nn(n);ln(e,[d,"no-"+d]),fn(e,r?d:"no-"+d)},r._er=-1,r._ok=1,r.chain=function(n,t){return N.call(n,t)},r.each=en,r.extend=o,i.extend=function(n,t){return(t=t||!1)?o(n,i):o(i,n)},r.hasProp=rn,r.parse=function(n){try{return 0===n.length||"1"===n?{}:JSON.parse(n)}catch(n){return{}}},r.toArray=on,r.toInt=q,r.attr=cn.bind(r),r.hasAttr=function(n,t){var e=0;if(K(n)&&$(t)){en(on(t),(function(t){un(n,y,t)&&e++}))}return e>0},r.nodeMapAttr=tn,r.removeAttr=function(n,t,e){return cn(n,t,null,e||"")}.bind(r),r.hasClass=function(n,t){var e=0;if(K(n)&&$(t)){var r=cn(n,"class");en(on(t),(function(n){en(on(r),(function(t){t&&t===n&&e++}))}))}return e>0},r.toggleClass=an,r.addClass=fn,r.removeClass=ln,r.contains=sn,r.escape=dn,r.startsWith=pn,r.trimSpaces=hn,r.closest=vn,r.is=mn,r.equal=yn,r.find=gn,r.findAll=wn,r.remove=function(n){if(W(n)){var t=kn(n);t&&t.removeChild(n)}},r.ie=En,r.pixelRatio=Sn,r.windowWidth=xn,r.windowSize=On,r.activeWidth=function(n,t){var e=t.up||!1,r=A(n),i=r[0],o=r[r.length-1],u=t.ww||xn(),c=u*Sn(),a=e?u:c,f=r.filter((function(n){return e?q(n,0)<=a:q(n,0)>=a})).map((function(t){return n[t]}))[e?"pop":"shift"]();return U(f)?n[a>=o?o:i]:f},r.on=Cn,r.off=Nn,r.one=function(n,t,e,r){return Cn(n,t,e,{once:!0},r)},r.trigger=function(t,e,r,i){return $(t)&&(r=e,e=t,t=[n]),N.call(t,(function(n){if(G(n)){en(on(e),(function(t){var e;if(U(r))e=new Event(t);else{var u={bubbles:!0,cancelable:!0,detail:Q(r)?r:{}};Q(i)&&(u=o(u,i)),e=new CustomEvent(t,u)}n.dispatchEvent(e);var c=In(t);x[c]&&x[c].type===t&&B(r)&&x[c].callback.apply(null,[e].concat(r))}))}}))},r.getScript=function(e,r,i){var o=t.createElement("script"),u=t.getElementsByTagName("script")[0];o.async=1,o.id=i,o.onload=o.onreadystatechange=function(t,e){(e||!o.readyState||/loaded|complete/.test(o.readyState))&&(o.onload=o.onreadystatechange=null,o=null,!e&&r&&n.setTimeout(r,0))},o.src=e,u.parentNode.insertBefore(o,u)},r.isDecoded=Tn,r.ready=T.bind(r),r.decode=function(n){return Tn(n)?Promise.resolve(n):"decode"in n?(n.decoding="async",n.decode()):new Promise((function(t,e){n.onload=function(){t(n)},n.onerror=e}))},r.throttle=function(n,t,e){t=t||50;var r=0;return function(){var i=+new Date;i-r<t||(r=i,n.apply(e,arguments))}},r.resize=function(t,e,r){if(this.isRo&&!U(e)){var i=new ResizeObserver((function(n){var e=this,i=On(),o=nn(r||t);en(n,(function(n){var r=function(n){var t,e,r;return n.contentBoxSize&&(r=n.contentBoxSize[0])&&(t=r.inlineSize,e=r.blockSize),e||(t=(r=n.contentRect||Rn(n.target)).width,e=r.height),{width:Math.floor(t),height:Math.floor(e)}}(n),u={width:r.width,height:r.height,window:i,touch:o};t.apply(null,[e,u,n])}))})),o=Pn(e);return o.length&&en(o,(function(n){W(n)&&i.observe(n)})),t}return n.onresize=function(){clearTimeout(e),e=setTimeout(t,200)},t},r.template=function(n,t){for(var e in t)rn(t,e)&&(n=n.replace(new RegExp(dn("$"+e),"g"),t[e]));return hn(n)},r.context=An,r.slice=zn,r.toElm=jn,r.toElms=Pn,r.camelCase=function(n){return n.replace(w,(function(n,t){return t.toUpperCase()}))},r.isVar=Bn,r.computeStyle=function(n,t,e){if(!W(n))return null;var r=getComputedStyle(n,null);return U(t)?r:e||Bn(t)?r.getPropertyValue(t)||null:r[t]||n.style[t]},r.rect=Rn,r.empty=function(n){return N.call(n,(function(n){if(W(n))for(;n.firstChild;)n.removeChild(n.firstChild)}))},r.parent=kn,r.next=function(n,t){return qn(n,t,"next")},r.prev=Dn,r.index=function(n,t){var e=0,r=!0;
149if(W(n)&&(U(t)||en(on(t),(function(t,i){if(W(t)){if(r=!1,mn(n,t))return e=i,!1}else if($(t)){var o=vn(n,t);if(W(o))return n=o,!1}})),r))for(;!F(n=Dn(n));)e++;return e},r.keys=A,r._op=un,r.storage=function(n,t,e,r){if(S){if(U(t))return S.getItem(n);if(F(t))S.removeItem(n);else try{S.setItem(n,t)}catch(e){S.removeItem(n),r&&S.setItem(n,t)}}return e||!1};var _n={chain:function(n){return N.call(this,n)},each:function(n){return en(this,n)},ready:function(n){return T.call(this,n)}};i.extend(_n),r.matches=mn,r.forEach=en,r.bindEvent=Cn.bind(r),r.unbindEvent=Nn.bind(r),"undefined"!=typeof exports?module.exports=r:n.dBlazy=r}(this,this.document,drupalSettings);
150;
151!function(r,n,e){"use strict";var o=n.once||e.once;function u(n,e,t){t=r.context(t,e);return o(n,e,t)}r.once=r.extend(function(n,e,t,o,c){var i=[];return r.wwoBigPipeDone()?r.isStr(n)&&r.isUnd(o)?u(n,e,t):(r.isUnd(t)?0:(i=u(e,t,o)).length&&r.each(i,n,c),i):i},o),r.once.counter=0,r.filter=function(t,n,o){return n.filter(function(n){var e=r.is(n,t);return e&&o&&o(n),e})},r.once.unload=r.once.counter>=(r.isBigPipe()?1:0),r.once.removeSafely=function(n,e,t){var o,c,i=[];return r.wwoBigPipeDone()&&(o=r.once.unload,t=r.context(t,e),o&&this.find(n,t).length&&(i=this.remove(n,e,t),e=e,c=[],r.contains(e,":not")&&(e=e.split(":not"),r.each(e,function(n){var e;r.contains(n,"(")&&(e=n.split("(").pop().split(")")[0],r.contains(e,",")?(n=e.split(","),r.each(n,function(n){n=n.replace(".",""),c.push(n)})):e&&(e=e.replace(".",""),c.push(e)))})),i.length&&c.length&&r.removeClass(i,c))),i},n.behaviors.blazyOnce={attach:function(n){r.wwoBigPipe(function(){1<r.once.counter&&r.once.counter--})},detach:function(n,e,t){"unload"===t&&r.wwoBigPipe(function(){r.once.counter++})}}}(dBlazy,Drupal,this);
152;
153!function(i,s){"use strict";function a(t,e,n){return t?("undefined"!=typeof DOMPurify?(r=DOMPurify.sanitize(t,e),r=i.isObj(e)&&e.RETURN_DOM?(n=!0,r):c(r)):function r(t){t=t.children;i.each(t,function(t){var n,e;n=t,e=i.nodeMapAttr(n.attributes),i.each(e,function(t,e){return!!o(e,t)&&void n.removeAttribute(e)}),r(t)})}(r=c(t)),n?r.childNodes:r.innerHTML):"";var r}function o(t,e){t=t.toLowerCase(),e=e.replace(/\s+/g,"").toLowerCase();return!(!["src","href","xlink:href"].includes(t)||!e.includes("script:")&&!e.includes("data:text/html"))||t.startsWith("on")}function c(t){return(new DOMParser).parseFromString(t,"text/html").body||s.createElement("body")}i.create=function(t,e,n){var r=s.createElement(t);return(i.isStr(e)||i.isObj(e))&&(i.isStr(e)?r.className=e:i.attr(r,e)),n&&(n=n.trim(),r.innerHTML=a(n),"template"===t&&(r=r.content.firstChild||r)),r},i.sanitizer={isDangerous:o,sanitize:a,toNode:c},i.sanitize=a}(dBlazy,this.document);
154;
155!function(c,n){"use strict";var t=Array.prototype.some,u="remove",h="width",l="height",e="after",r="before",i="begin",o="Top",s="Left",f="Height",a="scroll";function d(t,n,r){var i=this,e=c.isUnd(r),u=c.isObj(n),o=!u&&e;if(o&&c.isStr(n)){var s=c.toElm(t),f=[h,l,"top","right","bottom","left"],e=c.computeStyle(s,n),s=c.toInt(e,0);return-1===f.indexOf(n)?e:s}return c.chain(t,function(e){if(!c.isElm(e))return o?"":i;function t(t,n){c.isFun(t)&&(t=t()),(c.contains(n,"-")||c.isVar(n))&&(n=c.camelCase(n)),e.style[n]=c.isStr(t)?t:t+"px"}u?c.each(n,t):c.isNull(r)?c.each(c.toArray(n),function(t){e.style.removeProperty(t)}):c.isStr(n)&&t(r,n)})}function m(t){t=c.rect(t);return{top:(t.top||0)+n.body[a+o],left:(t.left||0)+n.body[a+s]}}function p(t,n){return d(t,h,n)}function g(t,n){return d(t,l,n)}function v(t,n,e){var r,i=0;return c.isElm(t)&&(i=t["offset"+e],n&&(r=c.computeStyle(t),t=function(t){return c.toInt(r["margin"+t],0)},i+=e===f?t(o)+t("Bottom"):t(s)+t("Right"))),i}function y(t,n){return v(t,n,"Width")}function A(t,n){return v(t,n,f)}function C(t,n,e){c.isElm(t)&&t["insertAdjacent"+(c.isElm(n)?"Element":"HTML")](e,n)}function E(t,n){C(t,n,e+"end")}function b(t,n){C(t,n,r+i)}function x(t,n){c.isElm(t)&&(c.isElm(n)?t.appendChild(n):C(t,n,r+"end"))}function S(t,n){C(t,n,e+i)}function H(t,n){c.isUnd(n)&&(n=!0);return c.chain(t,function(t){return c.isElm(t)&&t.cloneNode(n)})}var w={css:function(t,n){return d(this,t,n)},hasAttr:function(n){return t.call(this,function(t){return c.hasAttr(t,n)})},attr:function(t,n,e){return c.isNull(n)?this.removeAttr(t,e):c.attr(this,t,n,e)},removeAttr:function(t,n){return c.removeAttr(this,t,n)},hasClass:function(n){return t.call(this,function(t){return c.hasClass(t,n)})},toggleClass:function(t,n){return c.toggleClass(this,t,n)},addClass:function(t){return this.toggleClass(t,"add")},removeClass:function(t){return arguments.length?this.toggleClass(t,u):this.attr("class","")},empty:function(){return c.empty(this)},first:function(t){return c.isUnd(t)?this[0]:t},after:function(t){return E(this[0],t)},before:function(t){return b(this[0],t)},append:function(t){return x(this[0],t)},prepend:function(t){return S(this[0],t)},remove:function(){this.each(c.remove)},closest:function(t){return c.closest(this[0],t)},equal:function(t){return c.equal(this[0],t)},find:function(t,n){return c.find(this[0],t,n)},findAll:function(t){return c.findAll(this[0],t)},clone:function(t){return H(this,t)},computeStyle:function(t){return c.computeStyle(this[0],t)},offset:function(){return m(this[0])},parent:function(t){return c.parent(this[0],t)},prev:function(t){return c.prev(this[0],t)},next:function(t){return c.next(this[0],t)},index:function(t){return c.index(this[0],t)},width:function(t){return p(this[0],t)},height:function(t){return g(this[0],t)},outerWidth:function(t){return y(this[0],t)},outerHeight:function(t){return A(this[0],t)},on:function(t,n,e,r,i){return c.on(this,t,n,e,r,i,"add")},off:function(t,n,e,r,i){return c.off(this,t,n,e,r,i,u)},one:function(t,n,e){return c.one(this,t,n,e)},trigger:function(t,n,e){return c.trigger(this,t,n,e)}};c.fn.extend(w),c.css=d,c.offset=m,c.clone=H,c.after=E,c.before=b,c.append=x,c.prepend=S,c.width=p,c.height=g,c.outerWidth=y,c.outerHeight=A}(dBlazy,this.document);
156;
157!function(e,r,i){"use strict";function u(t){return t.target||t}function a(t,n){return e.hasClass(u(t),n)}e.debounce=function(t,n,i,e){return i?r.debounce(function(){t.call(i,n)},e||201,!0):r.debounce.call(this,t)},e.matchMedia=function(t,n){return!!i.matchMedia&&(e.isUnd(n)&&(n="max"),i.matchMedia("("+n+"-device-width: "+t+")").matches)},e.isBg=function(t,n){return a(t,n&&n.bgClass||"b-bg")},e.isBlur=function(t){return a(t,"b-blur")},e.isGrid=function(t){return e.isElm(e.closest(u(t),".grid"))},e.isHtml=function(t){return a(t,"b-html")},e.image={alt:function(t,n){var i=e.find(t,"img:not(.b-blur)"),i=e.attr(i,"alt");return n=n||"Video preview",i||(t=e.find(t,".media"),i=e.attr(t,"title")),i?r.checkPlain(i):r.t(n)},ratio:function(t){var n=e.toInt(t.width,640);return(e.toInt(t.height,360)/n*100).toFixed(2)},scale:function(t,n,i,e){e=Math.min(i/t,e/n);return{width:t*e,height:n*e,ratio:e}},dimension:function(t,n){return{width:t,height:n}},hack:function(t,n){return{paddingBottom:t,height:n}}}}(dBlazy,Drupal,this);
158;
159!function(i){"use strict";function o(t,n,a){return i.chain(t,function(e){i.isElm(e)&&i.each(i.toArray(n),function(t){var n,r="data-"+t;i.hasAttr(e,r)&&(n=i.attr(e,r),i.attr(e,t,n),a&&i.removeAttr(e,r))})})}function e(t,a,u,c){i.isUnd(c)&&(c=!0);return i.chain(t,function(t){var n,r,e;i.isElm(t)&&(n=t.parentNode,r=i.equal(n,"picture"),e=null,c?e=r?n:t:r&&(e=n),i.isElm(e)&&(e=e.getElementsByTagName("source"),a=a||(r?"srcset":"src"),e.length&&o(e,a,u)))})}i.mapAttr=o,i.fn.mapAttr=function(t,n){return o(this,t,n)},i.mapSource=e,i.fn.mapSource=function(t,n,r){return e(this,t,n,r)}}(dBlazy);
160;
161!function(t,i,n){"use strict";function e(t){return t?t.target||t:null}function r(i){i=i||0;
161var n=t.windowSize();return{top:0-i,left:0-i,bottom:n.height+i,right:n.width+i,width:n.width,height:n.height}}function o(i){var n=e(i);return n&&t.isNull(n.offsetParent)}t.viewport={vp:{top:0,right:0,bottom:0,left:0},ww:0,opts:{},init:function(t){var i=this;return i.opts=t||{},i.vp=r(i.opts.offset),i.vp},isResized:function(t,i){return i&&"contentRect"in i&&(!!i.contentRect||!!t.resizeTrigger)||!1},isHidden:o,isVisible:function(i,n){if(!i)return!1;var o=e(i);return t.isIo&&"isIntersecting"in i?i.isIntersecting||i.intersectionRatio>0:function(i,n){var e=t.isElm(i)?t.rect(i):i;return n||(n=r()),e.right>=n.left&&e.bottom>=n.top&&e.left<=n.right&&e.top<=n.bottom}(o,n)},onresizing:function(i,n){var e=i.elms,r=i.options||{};t.isFun(r.resizing)&&r.resizing(i,e,n)},update:function(t){var e=this,r=(t=t||e.opts).offset||0,o=n.documentElement;return e.vp.bottom=(i.innerHeight||o.clientHeight)+r,e.vp.right=(i.innerWidth||o.clientWidth)+r,e.windowData(t)},visibleParent:function(i){for(var n=e(i),r=t.parent(n),s=r;r;){if(t.isElm(r)&&!o(r)){s=r;break}r=r.parentElement||r.parentNode}return s},windowData:function(t,i){var n=this,e=(t=t||n.opts).offset||0,r=t.mobileFirst||!1;return i&&n.init(t),n.ww=n.vp.right-e,{vp:n.vp,ww:n.ww,up:r}}}}(dBlazy,this,this.document);
162;
163!function(t,e,r){"use strict";var i="bwebp",n="data-srcset",s="picture",a="image/webp",o=e.picturefill,p={};function c(){var e=!0;if(o){var r=t.storage(i);if(!t.isNull(r))return"true"===r;e=t.isUnd(o._.supportsType(a)),t.storage(i,e)}return e}function u(e){if(e){var r=t.attr(e,"id");r&&p[r]&&delete p[r]}else p={}}t.webp={clearCache:u,isSupported:c,init:function(e){if(!c()){var i=function(r){return r=r||"",t.selector(e.options,"["+r+'srcset*=".webp"]')},o=t.findAll(r,i());o.length||(o=t.findAll(r,i("data-"))),o.length&&function(e){!c()&&e.length&&t.each(e,function(e){if(t.equal(e,"img")&&!t.isElm(t.closest(e,s))){var i=t.closest(e,".media")||e.parentNode,o=function(e,i){if(!t.isElm(e))return!1;i&&u(e);var o=r.importNode(e,!0),c=function(e){var r=t.attr(e,"id");if(r||(r="bwebp-"+Math.random().toString(36).slice(2),t.attr(e,"id",r)),p[r])return p[r];var i=t.attr(e,n),s=t.attr(e,"srcset");s=s&&s.length?s:i;var a=[],o=[];if(s&&s.length){var c=s.split(",");t.each(c,function(t){var e;e=(t=t.trim()).split(/\s+/)[0],/\.webp(\?|#|$)/i.test((e||"").trim().split(/\s+/)[0])?a.push(t):o.push(t)})}var u={webps:a,nowebps:o};return p[r]=u,u}(o),l=c.webps,f=c.nowebps;if(!l.length||!f.length)return!1;var d=t.create(s),v=t.create("source");t.attr(o,n)?(t.attr(v,n,l.join(",").trim()),t.attr(o,n,f.join(",").trim())):(v.srcset=l.join(",").trim(),o.srcset=f.join(",").trim());var h=t.attr(o,"sizes");return h&&(v.sizes=h),v.type=a,t.append(d,v),t.append(d,o),d}(e);o&&(t.append(i,o),t.remove(e))}})}(o)}}}}(dBlazy,this,this.document);
164;
165!function(s,e,r){"use strict";var t="data-",o="srcset",i=t+"src",n=t+o,a=[o,"src"],c=0;s._defaults={error:!1,offset:100,root:r,success:!1,selector:".b-lazy",separator:"|",container:!1,containerClass:!1,errorClass:"b-error",loadInvisible:!1,successClass:"b-loaded",visibleClass:!1,validateDelay:25,saveViewportOffsetDelay:50,srcset:n,src:i,bgClass:"b-bg",isMedia:!1,parent:".media",disconnect:!1,intersecting:!1,observing:!1,resizing:!1,mobileFirst:!1,rootMargin:"0px",threshold:[0]},s.isCompleted=function(e){if(s.isElm(e)){if(s.equal(e,"img"))return s.isDecoded(e);if(s.equal(e,"iframe"))return"complete"===(e.contentDocument||e.contentWindow.document).readyState}return!1},s.selector=function(e,r){var t=(e=e||s._defaults).selector;return r&&s.isBool(r)&&(r=":not(."+e.successClass+")"),t+(r||"")},s.status=function(e,r,o){return function(e,r,o){var n=s.closest(e,o.parent)||e,l=r===s._ok||!0===r,u=o.successClass,d=o.errorClass,f="is-"+u,b="is-"+d;return s.addClass(e,l?u:d),s.addClass(n,l?f:b),l?(e._bioLoaded=!0,c=function(e,r,t,o){return(s.isFun(o.success)||s.isObj(o.success))&&o.success(e,r,t,o),c>0&&c--,c}(e,r,n,o),s.hasAttr(e,i)&&s.removeAttr(e,a,t)):(e._bioLoaded=!1,c=function(e,r,t,o){return(s.isFun(o.error)||s.isObj(o.error))&&o.error(e,r,t,o),++c}(e,r,n,o)),c}(e,r,o)}}(dBlazy,0,this.document);
166;
167!function(f,u){"use strict";var i=f.viewport;f.observer={elms:[],scope:{},withIo:!1,init:function(n,t,e,r){var i,o=this,s=n.options||{},a=n._queue||[],u="windowData"in n?n.windowData():{},l=f.viewport;n._raf||(n._raf=[]);var c={rootMargin:s.rootMargin||"0px",threshold:s.threshold||0};function v(e){var r;return a.length||(r=requestAnimationFrame(h),n._raf.push(r)),a.push(e),!1}function h(){var e,r,i;
167e=a,r=t,i=n,f.each(e,r.bind(i)),e.length=0}o.elms=e=f.toArray(n.elms||e),o.scope=n,o.withIo=n.withIo||r,r&&(n.ioObserver=f.isIo?new IntersectionObserver(v,c):t.call(n,e));return n.roObserver=function(){return i=this,u=f.isUnd(u.ww)?l.windowData(s,!0):n.windowData(),f.isRo?new ResizeObserver(v):t.call(n,e)}(),n.resizeTrigger=i,u},visibleParent:function(e){var r=i;return r&&r.isHidden(e)?r.visibleParent(e):null},hiddenChild:function(e,r){var i=this.scope.ioObserver;if(i&&!f.is(e,r)){r=f.find(e,r);if(f.isElm(r))return i.unobserve(e),r}return null},observe:function(){function e(i){i&&t&&t.length&&f.each(t,function(e){var r;i!==s||(r=n.visibleParent(e))&&i.observe(r),i.observe(e)})}var n=this,r=n.scope,t=n.elms,i=n.withIo,o=r.options||{},s=r.ioObserver,a=r.roObserver;return f.isIo&&(s||a)?(i&&e(s),e(a)):"Blazy"in u&&(r.bLazy=new Blazy(o)),r},unload:function(e){e=(e=e||this.scope)._raf||[];e.length&&f.each(e,function(e){cancelAnimationFrame(e)})}}}(dBlazy,this);
168;
169!function(s){"use strict";function n(n){return s.chain(n,function(n){var a,i="loading",e=s.parent(n,".media")||n,n=[n,s.closest(n,".is-"+i),s.closest(n,'[class*="'+i+'"]')];setTimeout(function(){a=s.next(e,".b-loader"),s.isElm(a)&&s.remove(a)},1500),s.each(n,function(n){var a;s.isElm(n)&&(a=n.className,s.contains(a,i)&&(n.className=a.replace(/(\S+)loading/g,"")))})})}s.unloading=n,s.fn.unloading=function(){return n(this)}}(dBlazy);
170;
171/* @license MIT https://github.com/dinbror/blazy/blob/master/LICENSE */
172!function(t,e){"use strict";var o="Blazy",s=t.dBlazy;s.isAmd?define([o,s,t],e):"object"==typeof exports?module.exports=e(o,s,t):t.Blazy=e(o,s,t)}(this,function(t,e,o){"use strict";var s,i,r=o.document,n="srcset",a={},l={},c={},f=e.viewport;return function(n){var l=this;l.name=t,l.options=a=e.extend(e._defaults,n||{}),l.options.container=!!a.containerClass&&e.findAll(r,a.containerClass),l.destroyed=!0;var v=l._util={};return a=l.options,s=a.src||"data-src",i=e.pixelRatio()>1,f.init(a),l.windowData=function(){return e.isUnd(c.vp)?f.windowData(a,!0):c},l.revalidate=function(){u(l)},l.load=function(t,o){var s=l.options;t&&e.isUnd(t.length)?g(t,o,s):e.each(t,function(t){g(t,o,s)})},l.destroy=function(){var s=l._util;a.container&&e.each(a.container,function(o){e.off(o,"scroll."+t,s.validateT)}),e.off(o,"scroll."+t,s.validateT),e.off(o,"resize."+t,s.validateT),e.off(o,"resize."+t,s.saveViewportOffsetT),l.count=0,l.elms.length=0,l.destroyed=!0},v.validateT=e.throttle(function(){d(l)},a.validateDelay,l),v.saveViewportOffsetT=e.throttle(function(){y(a),f.onresizing(l,c)},a.saveViewportOffsetDelay,l),y(a),setTimeout(function(){u(l)}),l};function u(s){var i=s._util;s.elms=e.findAll(a.root||r,e.selector(a)),s.count=s.elms.length,s.destroyed&&(s.destroyed=!1,a.container&&e.each(a.container,function(o){e.on(o,"scroll."+t,i.validateT)}),e.on(o,"resize."+t,i.saveViewportOffsetT),e.on(o,"resize."+t,i.validateT),e.on(o,"scroll."+t,i.validateT)),d(s)}function d(t){for(var o=0;o<t.count;o++){var s=t.elms[o];(v(s,t.options)||e.hasClass(s,t.options.successClass))&&(t.load(s),t.elms.splice(o,1),t.count--,o--)}0===t.count&&t.destroy()}function v(t,o){var s=e.rect(t);if(o.container){var i=e.closest(t,o.containerClass);if(i){var r=e.rect(i);if(f.isVisible(r,l)){var n=r.top-o.offset,a=r.right+o.offset,c=r.bottom+o.offset,u=r.left-o.offset,d={top:n>l.top?n:l.top,right:a<l.right?a:l.right,bottom:c<l.bottom?c:l.bottom,left:u>l.left?u:l.left};return f.isVisible(s,d)}return!1}}return f.isVisible(s,l)}function g(o,r,a){if(!e.hasClass(o,a.successClass)&&(r||a.loadInvisible||o.offsetWidth>0&&o.offsetHeight>0)){var l=e.attr(o,s)||e.attr(o,a.src);if(l){var f=l.split(a.separator),u=f[i&&f.length>1?1:0],d=e.attr(o,a.srcset),v=e.isBg(o,a),g=e.equal(o,"img"),y=o.parentNode,b=e.equal(y,"picture"),w=e.ie(o),T=w&&o.currentStyle["object-fit"];if(g||v){var C=new Image;b&&(C=o,e.each(y.getElementsByTagName("source"),function(t){m(t,n,a.srcset)})),e.one(C,"error."+t,function(){e.status(o,!1,a)}),e.one(C,"load."+t,function(){g?b||(h(o,u,d,T),T&&(o.style.backgroundImage='url("'+u+'")')):(T=w,e.isFun(e.bgUrl)?(u=e.bgUrl(o,c),e.bg(o,c)):o.style.backgroundImage='url("'+u+'")'),p(o,a)}),h(C,u,d,T)}else o.src=u,p(o,a)}else e.equal(o,"video")?(e.each(o.getElementsByTagName("source"),function(t){m(t,"src",a.src)}),o.load(),p(o,a)):(a.error&&a.error(o,"missing"),e.addClass(o,a.errorClass))}}function p(t,o){e.status(t,!0,o)}function m(t,o,s){var i=e.attr(t,s);i&&(e.attr(t,o,i),e.removeAttr(t,s))}function h(t,o,s,i){s&&e.attr(t,n,s),i?(e.addClass(t,"is-b-ie"),t.src="data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20"+(t.width||1)+"%20"+(t.height||1)+"'%2F%3E"):t.src=o}function y(t){c=f.update(t),l=f.vp}});
173;
174/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
175!function(i,e,s){"use strict";var t,n={nick:"bio",winData:{},bioTick:0,revTick:0,hitTick:0,bgClass:"b-bg",isVisibleClass:"is-b-visible",eIntersecting:"bio:intersecting",sParent:".media",addClass:"addClass",removeClass:"removeClass",initialized:!1,isNative:i.isNativeLazy,isResizing:!1,validateDelay:25,ww:0},o=s,a={},r=i.observer,d=i.viewport;function l(e){var s=i.extend({},t,this);return s.name="Bio",s.options=a=i.extend({},i._defaults,e||{}),s.options.isNative=n.isNative,n.bgClass=a.bgClass||n.bgClass,n.validateDelay=a.validateDelay||n.validateDelay,n.sParent=a.parent||n.sParent,o=a.root||o,i.ready((function(){s.reinit()})),s}function c(s,t){var o=this,a=o.options,d=a.selector,l=o.count,c=o.ioObserver,u=a.visibleClass||t||!1;if(n.bioTick===l-1&&(i.trigger(e,n.nick+":done",[o,a]),u||o.destroyQuietly()),c){var v=r.hiddenChild(s,d);v&&(s=v),o.isLoaded(s)&&!t&&(a.isMedia&&!u&&c.unobserve(s),n.bioTick++)}s.bhit&&!t||(o.lazyLoad(s,n.winData),n.hitTick++,s.bhit=!0),i.isFun(a.intersecting)&&a.intersecting(s,a),i.trigger(s,n.eIntersecting,[o,a])}function u(s){var t=this,o=t.options,a=d.vp||{},r=d.ww||0,l=s[0],u=i.isBlur(l),v=d.isResized(t,l),b=o.visibleClass,f=i.isBool(b)&&b;if(v){if(n.winData=d.update(o),d.onresizing(t,n.winData),n.ww>0){var h={winData:n.winData,entries:t.elms,currentWidth:r,oldWidth:n.ww,enlarged:r>n.ww};n.ww!==r?i.trigger(e,n.nick+":resizing",h):i.trigger(e,n.nick+":resized",h),t.resizeTick++}}else if(t.destroyed&&!b)return;i.each(s,(function(e){var s=e.target||e,l=d.isResized(t,e),v=d.isVisible(e,a),h=s._bioParent||s;u=u&&!i.hasClass(h,"is-b-animated"),v?(t.isLoaded(s)||i[n.addClass](h,n.isVisibleClass),c.call(t,s),t.isLoaded(s)&&((u||f)&&i[n.addClass](h,n.isVisibleClass),f||setTimeout((function(){i[n.removeClass](h,n.isVisibleClass)}),601))):i[n.removeClass](h,n.isVisibleClass),b&&i.isStr(b)&&i[v?n.addClass:n.removeClass](h,b),n.isResizing=l&&n.ww>0,n.isResizing&&!u&&n.ww!==r&&t.resizing(s,n.winData),i.isFun(o.observing)&&o.observing(e,v,o)})),n.ww=r}function v(e,s,t){s.length&&i.each(s,(function(s){s._bioParent||(s._bioParent=i.closest(s,n.sParent)||s,e.preprocess(s),i.isFun(t)&&t(s))}))}(t=l.prototype).constructor=l,t.count=0,t.erCount=0,t.resizeTick=0,t.destroyed=!1,t.elms=[],t.options={},t.preprocess=function(i,e,s){},t.lazyLoad=function(i,e){},t.loadImage=function(i,e,s){},t.resizing=function(i,e){},t.prepare=function(){},t.windowData=function(){return i.isUnd(n.winData.vp)?d.windowData(this.options,!0):n.winData},t.load=function(e,s,t){var n=this;e=e&&i.toArray(e),i.isUnd(t)||(n.options=i.extend({},n.options,t||{})),s=s||n.options.loadInvisible,v(n,e,(function(e){(!n.isLoaded(e)||i.isElm(e)&&s)&&(e._bioValidated||(e._bioValidated=!0,n.elms.push(e)),c.call(n,e,s))}))},t.isLoaded=function(e){return!!i.isElm(e)&&(e._bioLoaded||i.hasClass(e,this.options.successClass))},t.isNotLoaded=function(i){return!this.isLoaded(i)},t.revalidate=function(e){var s=this;if((!0===e||s.count!==n.hitTick)&&n.revTick<n.hitTick){var t=i.findAll(o,i.selector(s.options));t.length&&(v(s,t,(function(i){s.isLoaded(i)||i._bioValidated||(i._bioValidated=!0,s.elms.push(i))})),s.observe(!0),n.revTick++)}},t.destroyQuietly=function(e){var t=this,n=t.options;if(!t.destroyed&&(e||i.isUnd(Drupal.io))){var o=i.find(s,i.selector(n,":not(."+n.successClass+")"));i.isElm(o)||t.destroy(e)}},t.destroy=function(i){var e=this,s=e.options,t=e.ioObserver,o=n.bioTick===e.count-1&&s.disconnect;e.destroyed||e.erCount>0&&!i||(o||i)&&(t&&t.disconnect(),r.unload(),e.count=0,e.elms=[],e.ioObserver=null,e.destroyed=!0)},t.observe=function(i){var e=this;i=i||e.destroyed,n.initialized&&!i||(n.winData=r.init(e,u,e.elms,!0),e.destroyed=!1,r.observe(),n.initialized=!0)},t.reinit=function(){this.destroyed=!0,n.bioTick=0,function(e){e.elms=i.findAll(o,i.selector(e.options)),e.count=e.elms.length,e.elms.length&&(v(e,e.elms),e.prepare(),e._raf=[],e._queue=[],e.withIo=!0,e.observe(!0))}(this)},e.Bio=l}(dBlazy,this,this.document);
176;
177!function(t,a,r){"use strict";var e,s={src:"src",srcset:"srcset",dataHtml:"data-b-html",dataSrc:"data-src",dataSrcset:"data-srcset",dataText:"data:text/plain;base64,",imgSources:["srcset","src"],erCount:0},i=t.multimedia||!1,n=a.prototype;function o(r){var s=t.extend({},n,e),i=a.call(s,r);return i.name="BioMedia",i}function c(a,r){if(t.isHtml(a)&&t.hasAttr(a,s.dataHtml)){var e=t.attr(a,s.dataHtml),i=!1;e&&(i=!0,e=e.replace(s.dataText,""),e=atob(e),t.append(a,e),t.removeAttr(a,s.dataHtml)),s.erCount=t.status(a,i,r)}}function u(a,r,e,s){return r._isDeferred||(a.preprocess(r,"defer",function(){t.attr(r,"loading","lazy")}),r._isDeferred=!0),t.status(r,e,s)}(e=o.prototype=Object.create(n)).constructor=o,e.preprocess=function(a,r,e){var i=this.options,n=t.attr(a,"loading"),o=t.hasAttr(a,"data-src");r=r||"a",function(t){if(!t||"IMG"!==t.nodeName)return!1;var a=t.getAttribute(s.src);if(!a||"string"!=typeof a)return!1;if(a.startsWith("data"))return!1;if(!a.startsWith("image"))return!1;if(-1===a.indexOf("base64")&&-1===a.indexOf("svg+xml"))return!1;var r="data"+a;t.setAttribute(s.src,r)}(a),i.isNative&&t.contains(n,"a")&&!o||o&&t.contains(n,r)&&!t.hasClass(a,"b-blur")&&(function(a){a._bioMapped||(t.hasAttr(a,"data-src")&&!t.hasClass(a,"b-blur")&&(t.mapAttr(a,s.imgSources,!0),t.mapSource(a,!1,!0,!1)),a._bioM
177apped=!0)}(a),t.isFun(e)&&e(a))},e.lazyLoad=function(a,r){var e=this,n=e.options,o=a.parentNode,d=t.isBg(a,n),p=t.equal(o,"picture"),l=t.equal(a,"img"),m=t.equal(a,"audio"),f=t.equal(a,"video"),g=t.hasAttr(a,s.dataSrc);p?(g&&(t.mapSource(a,s.srcset,!0),t.mapAttr(a,s.src,!0)),s.erCount=u(e,a,!0,n)):f||m?(t.isBg(o,n)&&e.loadImage(o,!0,r),s.erCount=function(a,r,e){return t.mapSource(a,s.src,!0),a.load(),i&&i.init(a),t.status(a,!0,e)}(a,0,n)):l||d?(e.loadImage(a,d,r),d&&t.isHtml(a)&&c(a,n)):t.hasAttr(a,s.src)?(t.attr(a,s.dataSrc)&&t.mapAttr(a,s.src,!0),s.erCount=u(e,a,!0,n)):c(a,n),e.erCount=s.erCount},e.loadImage=function(a,r,e){var i=this,n=i.options;r=r||t.isBg(a,n);var o,c=t.hasAttr(a,s.srcset),d=t.hasAttr(a,s.dataSrc),p=d?s.dataSrc:s.src,l=d?s.dataSrcset:s.srcset,m=function(a,o){r&&t.isFun(t.bg)?(t.bg(a,e),s.erCount=t.status(a,o,n)):s.erCount=u(i,a,o,n)};r||!t.isDecoded(a)?(o=new Image,function(){if("decode"in o&&(o.decoding="async"),r&&t.isFun(t.bgUrl)?o.src=t.bgUrl(a,e):(d&&t.mapAttr(a,s.imgSources,!1),o.src=t.attr(a,p)),c){o.srcset=t.attr(a,l);var i=t.attr(a,"sizes");i&&(o.sizes=i)}}(),t.decode(o).then(function(){return m(a,!0),o}).catch(function(){m(a,!1),a.bhit=!1})):m(a,!0)},e.resizing=function(a,r){var e=t.isBg(a,this.options);e&&this.loadImage(a,e,r)},e.prepare=function(){t.webp&&t.webp.init(this)},r.BioMedia=o}(dBlazy,Bio,this,this.document);
178;
179!function(t,n,i,e,s){"use strict";var r="blazy",a="Drupal."+r,o="data",l="b-checked",u=o+"-b-bg",c=o+"-b-ratios",d=".b-blur",g=".media",h="successClass",f=r+":done",p=r+":error",b=function(){},v={};n.blazy={context:s,name:a,init:null,instances:[],resizeTick:0,resizeTrigger:!1,blazySettings:i.blazy||{},ioSettings:i.blazyIo||{},options:{},clearCompat:b,clearScript:b,checkResize:b,resizing:b,revalidate:b,isIo:function(){return!0},isBlazy:function(){return!t.isIo&&"Blazy"in e},isFluid:function(n,i){return t.equal(n.parentNode,"picture")&&t.hasAttr(i,c)},isLoaded:function(n){return t.hasClass(n,this.options[h])},globals:function(){var n=this,i={isMedia:!0,success:n.clearing.bind(n),error:n.clearing.bind(n),resizing:n.resizing.bind(n),selector:".b-lazy",parent:g,errorClass:"b-error",successClass:"b-loaded"};return t.extend(n.blazySettings,n.ioSettings,i)},extend:function(n){v=t.extend({},v,n)},merge:function(n){var i=this;return i.options=t.extend({},i.globals(),i.options,n||{}),i.options},run:function(t){return new BioMedia(t)},mount:function(n){var i=this;return i.merge(),n&&t.each(v,function(n){t.isFun(n)&&n.call(i)}),t.extend(i,v)},selector:function(t){t=t||"";var n=this.options;return n.selector+t+":not(."+n[h]+")"},clearing:function(i){var s,r=this;if(t.hasClass(i,r.options.errorClass)&&!t.hasClass(i,l))return t.addClass(i,l),t.isFun(t.unloading)&&t.unloading(i),void t.trigger(i,p,[r]);s=t.hasClass(i,"b-responsive")&&t.hasAttr(i,o+"-pfsrc"),e.picturefill&&s&&e.picturefill({reevaluate:!0,elements:[i]}),e.setTimeout(function(){t.isHtml(i)&&n.attachBehaviors(i),t.isFun(t.unloading)&&t.unloading(i)},300),r.clearCompat(i),r.clearScript(i),t.trigger(i,f,{options:r.options})},windowData:function(){return this.init?this.init.windowData():{}},load:function(n){var i=this;e.setTimeout(function(){var e=t.findAll(n||s,i.selector());e.length&&t.each(e,i.update.bind(i))},100)},update:function(n,i,s){var r=this,a=r.options,o=a.selector,l=function(){t.hasAttr(n,u)&&t.isFun(t.bg)?t.bg(n,s||r.windowData()):r.init&&(t.hasClass(n,o.substring(1))||(n=t.find(n,o)||n),r.init.load(n,!0,a))};(i=i||!1)?e.setTimeout(l,100):l()},rebind:function(n,i,e){var s=t.findAll(n,this.options.selector+":not("+d+")"),r=s.length;r||(s=t.findAll(n,"img:not("+d+")")),s.length&&t.each(s,function(n){var s=r?f:"load";t.one(n,s,i,r),e&&e.observe(n)})},pad:function(n,i,e){var s=this,r=t.closest(n,g)||n;setTimeout(function(){var e=Math.round(n.naturalHeight/n.naturalWidth*100,2);s.isFluid(n,r)&&(r.style.paddingBottom=e+"%"),t.isFun(i)&&i.call(s,n,r,e)},e||0)}}}(dBlazy,Drupal,drupalSettings,this,this.document);
180;
181!function(a,n,t,e){"use strict";var i="blazy",o=i,r="is-"+i,d=".blazy:not(.is-blazy)",l="body",c="b-root",s="#drupal-modal, .is-b-scroll";function u(n,t,e){var o=this,r=o.resizeTick>1,d=o.instances;if(d.length&&r){var l=function(n){n.dblazy&&n.dbuniform&&(n.dblazy!==t.dblazy||n.dbpicture||(a.trigger(n,i+":uniform"+n.dblazy,{pad:e}),n.dbpicture=!0))};a.each(d,(function(n){a.debounce(l,n,o)}),o)}}n.blazy=a.extend(n.blazy||{},{clearScript:function(a){this.pad(a,u)}});var b=function(n){var t=this,i={mobileFirst:!1};e.documentElement.isSameNode(n)||(i.root=n);var o=(i=t.merge(i)).container;o&&!a.contains(s,o)&&(s+=", "+o.trim()),i.container=s,t.merge(i),t.init=t.run(t.options)};function f(n){var t,e=this,o=a.parse(a.attr(n,"data-"+i)),d=a.hasClass(n,i+"--field b-grid "+i+"--uniform"),l=(1e4*Math.random()).toFixed(0),c=i+":uniform"+l;if(e.merge(o),e.revalidate=e.revalidate||a.hasClass(n,i+"--reval
181idate"),n.dblazy||(n.dblazy=l,n.dbuniform=d,e.instances.push(n)),d&&(t=a.findAll(n,".media--ratio")).length){var s=function(e){var i=e.detail.pad||0;i>10&&a.each(t,(function(a){a.style.paddingBottom=i+"%"})),a.off(n,c,s),n.dbpicture=!1};a.on(n,c,s)}a.addClass(n,r)}n.behaviors.blazy={attach:function(t){var i=n.blazy;i.context=a.context(t),a.once(f.bind(i),o,d,t),a.once(b.bind(i),c,l,e)},detach:function(n,t,i){"unload"===i&&(a.once.removeSafely(o,d,n),a.once.removeSafely(c,l,e))}}}(dBlazy,Drupal,0,this.document);
182;
183!function(t,i){"use strict";var a="data-",n=a+"b-ratios",e=a+"b-ratio",s={},r={};function o(i){var a=t.aniElement&&t.aniElement(i);t.animate&&t.isElm(a)&&!t.hasClass(a,"is-b-animated")&&t.animate(a)}function l(i,a,s){var o,l,c,d,u;i=i.target||i,s=!!t.isBool(s)&&s,t.isElm(i)&&(d=t.parse(t.attr(i,n)),t.isEmpty(d)?function(i){var a=t.attr(i,e);!t.hasAttr(i,"style")&&a&&(i.style.paddingBottom=a+"%")}(i):(l=t.isElm(t.find(i,"picture"))&&s,o=t.extend(r,{up:l}),u=t.closest(i,".blazy"),i.dblazy=t.isElm(u)&&u.dblazy,(c=t.activeWidth(d,o))&&!t.isUnd(c)&&(i.style.paddingBottom=c+"%")))}function c(){var i=this,a=i.context,n=t.findAll(a,".media--ratio");n.length&&(t.each(n,l.bind(i)),i.checkResize(n,l,a))}function d(){var i=this;i.mount(!0),s=i.options,t.isNull(i.init)&&(i.init=i.run(s)),c.call(i)}i.blazy=t.extend(i.blazy||{},{clearCompat:function(i){var a=t.isBg(i)&&(this.isBlazy()||t.ie(i));this.pad(i,o,a?50:0)},checkResize:function(i,a,n,e){var s=this,o=s.init;return t.on("bio:resizing.compat",function(n){var e=n&&n.detail?n.detail:{};r=e.winData||s.windowData(),s.resizeTick=o&&o.resizeTick||0,t.isFun(a)&&t.each(i,function(t,i){var n=t.target||t;return a.call(s,n,i,!0)})}),e&&t.isFun(e)&&s.rebind(n,e,s.roObserver),s.destroyed=!1,r}}),i.behaviors.blazyCompat={attach:function(a){var n=i.blazy;n.context=t.context(a),t.once(d.call(n))}}}(dBlazy,Drupal);
184;
185/* @license MIT https://raw.githubusercontent.com/focus-trap/tabbable/v6.3.0/LICENSE */
186/*!
187* tabbable 6.3.0
188* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
189*/
190!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):(t="undefined"!=typeof globalThis?globalThis:t||self,function(){var n=t.tabbable,o=t.tabbable={};e(o),o.noConflict=function(){return t.tabbable=n,o}}())}(this,(function(t){"use strict";var e=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],n=e.join(","),o="undefined"==typeof Element,r=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i=!o&&Element.prototype.getRootNode?function(t){var e;return null==t||null===(e=t.getRootNode)||void 0===e?void 0:e.call(t)}:function(t){return null==t?void 0:t.ownerDocument},a=function(t,e){var n;void 0===e&&(e=!0);var o=null==t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"inert");return""===o||"true"===o||e&&t&&a(t.parentNode)},l=function(t,e,o){if(a(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(n));return e&&r.call(t,n)&&i.unshift(t),i=i.filter(o)},u=function(t,e,o){for(var i=[],l=Array.from(t);l.length;){var c=l.shift();if(!a(c,!1))if("SLOT"===c.tagName){var d=c.assignedElements(),f=d.length?d:c.children,s=u(f,!0,o);o.flatten?i.push.apply(i,s):i.push({scopeParent:c,candidates:s})}else{r.call(c,n)&&o.filter(c)&&(e||!t.includes(c))&&i.push(c);var p=c.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(c),h=!a(p,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if(p&&h){var v=u(!0===p?c.children:p.children,!0,o);o.flatten?i.push.apply(i,v):i.push({scopeParent:c,candidates:v})}else l.unshift.apply(l,c.children)}}return i},c=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},d=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||function(t){var e,n=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"contenteditable");return""===n||"true"===n}(t))&&!c(t)?0:t.tabIndex},f=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},s=function(t){return"INPUT"===t.tagName},p=function(t){return function(t){return s(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0;var e,n=t.form||i(t),o=function(t){return n.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=o(window.CSS.escape(t.name));else try{e=o(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var r=function(t,e){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===e)return t[n]}(e,t.form);return!r||r===t}(t)},h=function(t){var e=t.getBoundingClientRect(),n=e.width,o=e.height;return 0===n&&0===o},v=function(t,e){var n=e.displayCheck,o=e.getShadowRoot;if("full-native"===n&&"checkVisibility"in t)return!t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(t).visibility)return!0;var a=r.call(t,"details>summary:first-of-type")?t.parentElement:t;if(r.call(a,"details:not([open]) *"))return!0;
190if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return h(t)}else{if("function"==typeof o){for(var l=t;t;){var u=t.parentElement,c=i(t);if(u&&!u.shadowRoot&&!0===o(u))return h(t);t=t.assignedSlot?t.assignedSlot:u||c===t.ownerDocument?u:c.host}t=l}if(function(t){var e,n,o,r,a=t&&i(t),l=null===(e=a)||void 0===e?void 0:e.host,u=!1;if(a&&a!==t)for(u=!!(null!==(n=l)&&void 0!==n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(l)||null!=t&&null!==(r=t.ownerDocument)&&void 0!==r&&r.contains(t));!u&&l;){var c,d,f;u=!(null===(d=l=null===(c=a=i(l))||void 0===c?void 0:c.host)||void 0===d||null===(f=d.ownerDocument)||void 0===f||!f.contains(l))}return u}(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1},b=function(t,e){return!(e.disabled||a(e)||function(t){return s(t)&&"hidden"===t.type}(e)||v(e,t)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}(e)||function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var n=0;n<e.children.length;n++){var o=e.children.item(n);if("LEGEND"===o.tagName)return!!r.call(e,"fieldset[disabled] *")||!o.contains(t)}return!0}e=e.parentElement}return!1}(e))},y=function(t,e){return!(p(e)||d(e)<0||!b(t,e))},m=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(e)||e>=0)},g=function(t){var e=[],n=[];return t.forEach((function(t,o){var r=!!t.scopeParent,i=r?t.scopeParent:t,a=function(t,e){var n=d(t);return n<0&&e&&!c(t)?0:n}(i,r),l=r?g(t.candidates):i;0===a?r?e.push.apply(e,l):e.push(i):n.push({documentOrder:o,tabIndex:a,item:t,isScope:r,content:l})})),n.sort(f).reduce((function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t}),[]).concat(e)},w=e.concat("iframe").join(",");t.focusable=function(t,e){return(e=e||{}).getShadowRoot?u([t],e.includeContainer,{filter:b.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):l(t,e.includeContainer,b.bind(null,e))},t.getTabIndex=d,t.isFocusable=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==r.call(t,w)&&b(e,t)},t.isTabbable=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==r.call(t,n)&&y(e,t)},t.tabbable=function(t,e){var n;return n=(e=e||{}).getShadowRoot?u([t],e.includeContainer,{filter:y.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:m}):l(t,e.includeContainer,y.bind(null,e)),g(n)}}));
191
192;
193/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
194(function($,Drupal){let autocomplete;const inBrowser=typeof window!=='undefined';const UA=inBrowser&&window.navigator.userAgent.toLowerCase();const isAndroid=UA&&UA.indexOf('android')>0;function autocompleteSplitValues(value){const result=[];let quote=false;let current='';const valueLength=value.length;let character;for(let i=0;i<valueLength;i++){character=value.charAt(i);if(character==='"'){current+=character;quote=!quote;}else if(character===','&&!quote){result.push(current.trim());current='';}else current+=character;}if(value.length>0)result.push(current.trim());return result;}function extractLastTerm(terms){return autocomplete.splitValues(terms).pop();}function searchHandler(event){const options=autocomplete.options;if(options.isComposing)return false;const term=autocomplete.extractLastTerm(event.target.value);if(term.length>0&&options.firstCharacterDenyList.includes(term[0]))return false;return term.length>=options.minLength;}function sourceData(request,response){const elementId=this.element.attr('id');if(!(elementId in autocomplete.cache))autocomplete.cache[elementId]={};function showSuggestions(suggestions){const tagged=autocomplete.splitValues(request.term);const il=tagged.length;for(let i=0;i<il;i++)if(suggestions.includes(tagged[i]))suggestions.splice(suggestions.indexOf(tagged[i]),1);response(suggestions);}const term=autocomplete.extractLastTerm(request.term);function sourceCallbackHandler(data){autocomplete.cache[elementId][term]=data;showSuggestions(data);}if(autocomplete.cache[elementId].hasOwnProperty(term))showSuggestions(autocomplete.cache[elementId][term]);else{const options=$.extend({success:sourceCallbackHandler,data:{q:term}},autocomplete.ajax);$.ajax(this.element.attr('data-autocomplete-path'),options);}}function focusHandler(){return false;}function selectHandler(event,ui){const terms=autocomplete.splitValues(event.target.value);terms.pop();terms.push(ui.item.value);event.target.value=terms.join(', ');return false;}function renderItem(ul,item){return $('<li>').append($('<a>').html(item.label)).appendTo(ul);}Drupal.behaviors.autocomplete={attach(context){once('autocomplete','input.form-autocomplete',context).forEach((element)=>{const $autocomplete=$(element);const blacklist=$autocomplete.attr('data-autocomplete-first-character-blacklist');if(blacklist!==undefined)Drupal.deprecationError({message:'The data-autocomplete-first-character-blocklist attribute is deprecated 
194in drupal:11.2.0 and is removed from drupal:12.0.0. Use firstCharacterDenyList instead. See https://www.drupal.org/node/3472016.'});const denyList=$autocomplete.attr('data-autocomplete-first-character-denylist');Drupal.deprecatedProperty({target:autocomplete.options,deprecatedProperty:'firstCharacterBlacklist',message:'The firstCharacterBlacklist property is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. Use firstCharacterDenyList instead. See https://www.drupal.org/node/3472016.'});$.extend(autocomplete.options,{firstCharacterDenyList:denyList||blacklist});$autocomplete.autocomplete(autocomplete.options).each(function(){$(this).data('ui-autocomplete')._renderItem=autocomplete.options.renderItem;});$autocomplete.on('change.autocomplete',function(){autocomplete.options.isComposing=false;});if(!isAndroid){$autocomplete.on('compositionstart.autocomplete',function(){autocomplete.options.isComposing=true;});$autocomplete.on('compositionend.autocomplete',function(){autocomplete.options.isComposing=false;});}});},detach(context,settings,trigger){if(trigger==='unload')$(once.remove('autocomplete','input.form-autocomplete',context)).autocomplete('destroy');}};autocomplete={cache:{},splitValues:autocompleteSplitValues,extractLastTerm,options:{source:sourceData,focus:focusHandler,search:searchHandler,select:selectHandler,renderItem,minLength:1,firstCharacterDenyList:'',isComposing:false},ajax:{dataType:'json',jsonp:false}};Drupal.autocomplete=autocomplete;})(jQuery,Drupal);;
195'use strict';(function(a,b){function c(a){return !!/^(https?:\/\/)?((([a-z\d]([a-z\d-]*[a-z\d])*)\.)+[a-z]{2,}|((\d{1,3}\.){3}\d{1,3}))(\:\d+)?(\/[-a-z\d%_.~+]*)*(\?[;&a-z\d%_.~+=-]*)?(\#[-a-z\d_]*)?$/i.test(a);}var d=Drupal.behaviors.autocomplete.attach,e=function(a,b){"undefined"!=typeof window&&window.navigator&&window.navigator.sendBeacon?navigator.sendBeacon("https://api.addsearch.com/v1/stats/"+a+"/",JSON.stringify(b)):fetch("https://api.addsearch.com/v1/stats/"+a+"/",{method:"POST",headers:{"Content-Type":"text/plain"},body:JSON.stringify(b)});};Drupal.behaviors.autocomplete.attach=function(f){var g=Drupal.autocomplete.options,h=a(once("autocomplete-alter","input.form-autocomplete",f));if(h.length&&h.hasClass("addsearch")){a.ui.autocomplete,Drupal.autocomplete.options.select;var i=function(b,c){var d=this,e=!1;a.each(c,function(c,f){var g=d._renderItemData(e?e:b,f);if(!e&&""===f.value&&""===f.label){a("a",g).attr("data-content",Drupal.t("Search suggestions")),g.addClass("ui-menu-divider ui-widget-content");var h=a("<ol>").appendTo(g);e=h;}else g.click(function(){a(d.element).val(f.value),a(d.element).trigger("input");});});var f=a("<li class=\"close\">").appendTo(b);f.click(function(){a(d.element).autocomplete("close");});};Drupal.autocomplete.options=Object.assign({},Drupal.autocomplete.options,{position:{my:"left top",at:"left bottom",collision:"fit none"},classes:{"ui-autocomplete":"addsearch"},response:function response(b,c){var d=Math.max,e=a(this).autocomplete("widget"),f=d(0,c.content.length-1);e.css("grid-template-areas","\". s\"".repeat(f)+"\"x x\"");},select:function(d,f){return c(f.item.value)?(e(b.addsearch.pubkey,{action:"click",keyword:d.target.value,docid:f.item.docid,position:f.item.pos}),window.location=f.item.value,!1):(a(this).data("dontClose",!0),!0);},create:function create(){a(this).data("ui-autocomplete")._renderMenu=i;},focus:function focus(a,b){a.target.value;var c=a.currentTarget.querySelector(".ui-menu-divider"),d=a.currentTarget.querySelector(".preview");return b.item.capture&&(!d&&(d=document.createElement("div"),d.innerHTML="<img src=\""+b.item.capture+"\" />",d.classList.add("preview"),c.insertAdjacentElement("afterbegin",d)),d.querySelector("img").src=b.item.capture),!1;},close:function close(b){"undefined"!=typeof b.originalEvent&&"blur"===b.originalEvent.type&&a(this).data("dontClose",!1),a(this).data("dontClose")&&(b.target.focus(),a(b.target).autocomplete("widget").show(),a(this).autocomplete("search"),"undefined"==typeof b.originalEvent&&a(this).data("dontClose",!1)),a(b.target).autocomplete("widget").find(".preview").remove();}});}d(f),Drupal.autocomplete.options=g;};})(jQuery,drupalSettings);;
196(function($,Drupal,once,drupalSettings){var frame;var scrollTo=function(to,duration){var element=document.scrollingElement||document.documentElement,start=element.scrollTop,change=to-start,startTs=performance.now(),easeOutQuart=function(t,b,c,d){t/=d;t--;return -c*(t*t*t*t-1)+b;},animateScroll=function(ts){var currentTime=ts-startTs;element.scrollTop=parseInt(easeOutQuart(currentTime,start,change,duration));if(currentTime<duration)frame=requestAnimationFrame(animateScroll);else element.scrollTop=to;};requestAnimationFrame(animateScroll);};Drupal.behaviors.backtotop={attach:function(context,settings){let isMobile=window.matchMedia("only screen and (max-width: 760px)").matches;if(!(settings.back_to_top.back_to_top_prevent_on_mobile&&isMobile)){var exist=$('#backtotop').length;if(exist==0)$(once('backtotop','body'),context).each(function(){$('body').append("<nav aria-label='"+Drupal.t("Back to top")+"'><button id='backtotop' aria-label='"+Drupal.t("Back to top")+"'>"+settings.back_to_top.back_to_top_button_text+"</button></nav>");});}backToTop();$(document).on("scroll",function(){backToTop();});$(once('backtotop','#backtotop'),context).each(function(){$(this).click(function(){$("html, body").bind("scroll mousedown DOMMouseScroll mousewheel keyup",function(){if(typeof frame!=='undefined')window.cancelAnimationFrame(frame);});speed=settings.back_to_top.back_to_top_speed;if(speed==null)speed=1200;scrollTo(0,speed);});});
196function backToTop(){if($(window).scrollTop()>settings.back_to_top.back_to_top_button_trigger)$('#backtotop').fadeIn();else $('#backtotop').fadeOut();}}};})(jQuery,Drupal,once,drupalSettings);;
197(function($,Drupal){Drupal.theme.progressBar=function(id){const escapedId=Drupal.checkPlain(id);return (`<div id="${escapedId}" class="progress" aria-live="polite">`+'<div class="progress__label">&nbsp;</div>'+'<div class="progress__track"><div class="progress__bar"></div></div>'+'<div class="progress__percentage"></div>'+'<div class="progress__description">&nbsp;</div>'+'</div>');};Drupal.ProgressBar=function(id,updateCallback,method,errorCallback){this.id=id;this.method=method||'GET';this.updateCallback=updateCallback;this.errorCallback=errorCallback;this.element=$(Drupal.theme('progressBar',id));};$.extend(Drupal.ProgressBar.prototype,{setProgress(percentage,message,label){if(percentage>=0&&percentage<=100){$(this.element).find('div.progress__bar').each(function(){this.style.width=`${percentage}%`;});$(this.element).find('div.progress__percentage').html(`${percentage}%`);}$('div.progress__description',this.element).html(message);$('div.progress__label',this.element).html(label);if(this.updateCallback)this.updateCallback(percentage,message,this);},startMonitoring(uri,delay){this.delay=delay;this.uri=uri;this.sendPing();},stopMonitoring(){clearTimeout(this.timer);this.uri=null;},sendPing(){if(this.timer)clearTimeout(this.timer);if(this.uri){const pb=this;let uri=this.uri;if(!uri.includes('?'))uri+='?';else uri+='&';uri+='_format=json';$.ajax({type:this.method,url:uri,data:'',dataType:'json',success(progress){if(progress.status===0){pb.displayError(progress.data);return;}pb.setProgress(progress.percentage,progress.message,progress.label);pb.timer=setTimeout(()=>{pb.sendPing();},pb.delay);},error(xmlhttp){const e=new Drupal.AjaxError(xmlhttp,pb.uri);pb.displayError(`<pre>${e.message}</pre>`);}});}},displayError(string){const error=$('<div class="messages messages--error"></div>').html(string);$(this.element).before(error).hide();if(this.errorCallback)this.errorCallback(this);}});})(jQuery,Drupal);;
198/* @license MIT https://raw.githubusercontent.com/muicss/loadjs/4.3.0/LICENSE.txt */
199loadjs=function(){var h=function(){},o={},c={},f={};function u(e,n){if(e){var t=f[e];if(c[e]=n,t)for(;t.length;)t[0](e,n),t.splice(0,1)}}function l(e,n){e.call&&(e={success:e}),n.length?(e.error||h)(n):(e.success||h)(e)}function p(t,r,i,s){var o,e,u,n=document,c=i.async,f=(i.numRetries||0)+1,l=i.before||h,a=t.replace(/[\?|#].*$/,""),d=t.replace(/^(css|img|module|nomodule)!/,"");if(s=s||0,/(^css!|\.css$)/.test(a))(u=n.createElement("link")).rel="stylesheet",u.href=d,(o="hideFocus"in u)&&u.relList&&(o=0,u.rel="preload",u.as="style");else if(/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(a))(u=n.createElement("img")).src=d;else if((u=n.createElement("script")).src=d,u.async=void 0===c||c,e="noModule"in u,/^module!/.test(a)){if(!e)return r(t,"l");u.type="module"}else if(/^nomodule!/.test(a)&&e)return r(t,"l");!(u.onload=u.onerror=u.onbeforeload=function(e){var n=e.type[0];if(o)try{u.sheet.cssText.length||(n="e")}catch(e){18!=e.code&&(n="e")}if("e"==n){if((s+=1)<f)return p(t,r,i,s)}else if("preload"==u.rel&&"style"==u.as)return u.rel="stylesheet";r(t,n,e.defaultPrevented)})!==l(t,u)&&n.head.appendChild(u)}function t(e,n,t){var r,i;if(n&&n.trim&&(r=n),i=(r?t:n)||{},r){if(r in o)throw"LoadJS";o[r]=!0}function s(n,t){!function(e,r,n){var t,i,s=(e=e.push?e:[e]).length,o=s,u=[];for(t=function(e,n,t){if("e"==n&&u.push(e),"b"==n){if(!t)return;u.push(e)}--s||r(u)},i=0;i<o;i++)p(e[i],t,n)}(e,function(e){l(i,e),n&&l({success:n,error:t},e),u(r,e)},i)}if(i.returnPromise)return new Promise(s);s()}return t.ready=function(e,n){return function(e,t){e=e.push?e:[e];var n,r,i,s=[],o=e.length,u=o;
199for(n=function(e,n){n.length&&s.push(e),--u||t(s)};o--;)r=e[o],(i=c[r])?n(r,i):(f[r]=f[r]||[]).push(n)}(e,function(e){l(n,e)}),t},t.done=function(e){u(e,[])},t.reset=function(){o={},c={},f={}},t.isDefined=function(e){return e in o},t}();;
200/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
201(function(Drupal,debounce){let liveElement;const announcements=[];Drupal.behaviors.drupalAnnounce={attach(context){if(!liveElement){liveElement=document.createElement('div');liveElement.id='drupal-live-announce';liveElement.className='visually-hidden';liveElement.setAttribute('aria-live','polite');liveElement.setAttribute('aria-busy','false');document.body.appendChild(liveElement);}}};function announce(){const text=[];let priority='polite';let announcement;const il=announcements.length;for(let i=0;i<il;i++){announcement=announcements.pop();text.unshift(announcement.text);if(announcement.priority==='assertive')priority='assertive';}if(text.length){liveElement.innerHTML='';liveElement.setAttribute('aria-busy','true');liveElement.setAttribute('aria-live',priority);liveElement.innerHTML=text.join('\n');liveElement.setAttribute('aria-busy','false');}}Drupal.announce=function(text,priority){announcements.push({text,priority});return debounce(announce,200)();};})(Drupal,Drupal.debounce);;
202((Drupal)=>{Drupal.Message=class{constructor(messageWrapper=null){if(!messageWrapper)this.messageWrapper=Drupal.Message.defaultWrapper();else this.messageWrapper=messageWrapper;}static defaultWrapper(){let wrapper=document.querySelector('[data-drupal-messages]')||document.querySelector('[data-drupal-messages-fallback]');if(!wrapper){wrapper=document.createElement('div');document.body.appendChild(wrapper);}if(wrapper.hasAttribute('data-drupal-messages-fallback')){wrapper.removeAttribute('data-drupal-messages-fallback');wrapper.classList.remove('hidden');}wrapper.setAttribute('data-drupal-messages','');return wrapper.innerHTML===''?Drupal.Message.messageInternalWrapper(wrapper):wrapper.firstElementChild;}static getMessageTypeLabels(){return {status:Drupal.t('Status message'),error:Drupal.t('Error message'),warning:Drupal.t('Warning message')};}add(message,options={}){if(!options.hasOwnProperty('type'))options.type='status';if(typeof message!=='string')throw new Error('Message must be a string.');Drupal.Message.announce(message,options);options.id=options.id?String(options.id):`${options.type}-${Math.random().toFixed(15).replace('0.','')}`;if(!Drupal.Message.getMessageTypeLabels().hasOwnProperty(options.type)){const {type}=options;throw new Error(`The message type, ${type}, is not present in Drupal.Message.getMessageTypeLabels().`);}this.messageWrapper.appendChild(Drupal.theme('message',{text:message},options));return options.id;}select(id){return this.messageWrapper.querySelector(`[data-drupal-message-id^="${id}"]`);}remove(id){return this.messageWrapper.removeChild(this.select(id));}clear(){this.messageWrapper.querySelectorAll('[data-drupal-message-id]').forEach((message)=>{this.messageWrapper.removeChild(message);});}static announce(message,options){if(!options.priority&&(options.type==='warning'||options.type==='error'))options.priority='assertive';if(options.announce!=='')Drupal.announce(options.announce||message,options.priority);}static messageInternalWrapper(messageWrapper){const innerWrapper=document.createElement('div');innerWrapper.setAttribute('class','messages__wrapper');messageWrapper.insertAdjacentElement('afterbegin',innerWrapper);return innerWrapper;}};Drupal.theme.message=({text},{type,id})=>{const messagesTypes=Drupal.Message.getMessageTypeLabels();const messageWrapper=document.createElement('div');messageWrapper.setAttribute('class',`messages messages--${type}`);messageWrapper.setAttribute('role',type==='error'||type==='warning'?'alert':'status');messageWrapper.setAttribute('data-drupal-message-id',id);messageWrapper.setAttribute('data-drupal-message-type',type);messageWrapper.setAttribute('aria-label',messagesTypes[type]);messageWrapper.innerHTML=`${text}`;return messageWrapper;};})(Drupal);;
203(function($,window,Drupal,drupalSettings,loadjs,{isFocusable,tabbable}){Drupal.behaviors.AJAX={attach(context,settings){function loadAjaxBehavior(base){const elementSettings=settings.ajax[base];if(typeof elementSettings.selector==='undefined')elementSettings.selector=`#${base}`;
203once('drupal-ajax',$(elementSettings.selector)).forEach((el)=>{elementSettings.element=el;elementSettings.base=base;Drupal.ajax(elementSettings);});}Object.keys(settings.ajax||{}).forEach(loadAjaxBehavior);Drupal.ajax.bindAjaxLinks(document.body);once('ajax','.use-ajax-submit').forEach((el)=>{const elementSettings={url:$(el.form).attr('action'),setClick:true,event:'click',progress:{type:'throbber'},base:el.id,element:el};Drupal.ajax(elementSettings);});},detach(context,settings,trigger){if(trigger==='unload')Drupal.ajax.expired().forEach((instance)=>{Drupal.ajax.instances[instance.instanceIndex]=null;});}};Drupal.AjaxError=function(xmlhttp,uri,customMessage){let statusCode;let statusText;let responseText;if(xmlhttp.status)statusCode=`\n${Drupal.t('An AJAX HTTP error occurred.')}\n${Drupal.t('HTTP Result Code: !status',{'!status':xmlhttp.status})}`;else statusCode=`\n${Drupal.t('An AJAX HTTP request terminated abnormally.')}`;statusCode+=`\n${Drupal.t('Debugging information follows.')}`;const pathText=`\n${Drupal.t('Path: !uri',{'!uri':uri})}`;statusText='';try{statusText=`\n${Drupal.t('StatusText: !statusText',{'!statusText':xmlhttp.statusText.trim()})}`;}catch(e){}responseText='';try{responseText=`\n${Drupal.t('ResponseText: !responseText',{'!responseText':xmlhttp.responseText.trim()})}`;}catch(e){}responseText=responseText.replace(/<("[^"]*"|'[^']*'|[^'">])*>/gi,'');responseText=responseText.replace(/[\n]+\s+/g,'\n');const readyStateText=xmlhttp.status===0?`\n${Drupal.t('ReadyState: !readyState',{'!readyState':xmlhttp.readyState})}`:'';customMessage=customMessage?`\n${Drupal.t('CustomMessage: !customMessage',{'!customMessage':customMessage})}`:'';this.message=statusCode+pathText+statusText+customMessage+responseText+readyStateText;this.name='AjaxError';if(!Drupal.AjaxError.messages)Drupal.AjaxError.messages=new Drupal.Message();Drupal.AjaxError.messages.add(Drupal.t("Oops, something went wrong. Check your browser's developer console for more details."),{type:'error'});};Drupal.AjaxError.prototype=new Error();Drupal.AjaxError.prototype.constructor=Drupal.AjaxError;Drupal.ajax=function(settings){if(arguments.length!==1)throw new Error('Drupal.ajax() function must be called with one configuration object only');const base=settings.base||false;const element=settings.element||false;delete settings.base;delete settings.element;if(!settings.progress&&!element)settings.progress=false;const ajax=new Drupal.Ajax(base,element,settings);ajax.instanceIndex=Drupal.ajax.instances.length;Drupal.ajax.instances.push(ajax);return ajax;};Drupal.ajax.instances=[];Drupal.ajax.expired=function(){return Drupal.ajax.instances.filter((instance)=>instance&&instance.element!==false&&!document.body.contains(instance.element));};Drupal.ajax.bindAjaxLinks=(element)=>{once('ajax','.use-ajax',element).forEach((ajaxLink)=>{const $linkElement=$(ajaxLink);const elementSettings={progress:{type:'throbber'},dialogType:$linkElement.data('dialog-type'),dialog:$linkElement.data('dialog-options'),dialogRenderer:$linkElement.data('dialog-renderer'),base:$linkElement.attr('id'),element:ajaxLink};const href=$linkElement.attr('href');if(href){elementSettings.url=href;elementSettings.event='click';}const httpMethod=$linkElement.data('ajax-http-method');if(httpMethod)elementSettings.httpMethod=httpMethod;Drupal.ajax(elementSettings);});};Drupal.Ajax=function(base,element,elementSettings){const defaults={httpMethod:'POST',event:element?'mousedown':null,keypress:true,selector:base?`#${base}`:null,effect:'none',speed:'none',method:'replaceWith',progress:{type:'throbber',message:Drupal.t('Processing...')},submit:{js:true}};$.extend(this,defaults,elementSettings);this.commands=new Drupal.AjaxCommands();this.instanceIndex=false;if(this.wrapper)this.wrapper=`#${this.wrapper}`;this.element=element;this.preCommandsFocusedElementSelector=null;this.elementSettings=elementSettings;if(this.element?.form)this.$form=$(this.element.form);if(!this.url){const $element=$(this.element);if(this.element.tagName==='A')this.url=$element.attr('href');else{if(this.element&&element.form)this.url=this.$form.attr('action');}}const originalUrl=this.url;this.url=this.url.replace(/\/nojs(\/|$|\?|#)/,'/ajax$1');if(drupalSettings.ajaxTrustedUrl.hasOwnProperty(originalUrl))drupalSettings.ajaxTrustedUrl[this.url]=true;const ajax=this;ajax.options={url:ajax.url,data:ajax.submit,isInProgress(){return ajax.ajaxing;},beforeSerialize(elementSettings,options){return ajax.beforeSerialize(elementSettings,options);},beforeSubmit(formValues,elementSettings,options){ajax.ajaxing=true;ajax.preCommandsFocusedElementSelector=null;return ajax.beforeSubmit(formValues,elementSettings,options);},beforeSend(xmlhttprequest,options){ajax.ajaxing=true;return ajax.beforeSend(xmlhttprequest,options);},success(response,status,xmlhttprequest){ajax.preCommandsFocusedElementSelector=document.activeElement.getAttribute('data-drupal-selector');if(typeof response==='string')response=JSON.parse(response);if(response!==null&&!drupalSettings.ajaxTrustedUrl.hasOwnProperty(ajax.url))if(xmlhttprequest.getResponseHeader('X-Drupal-Ajax-Token')!=='1'){const customMessage=Drupal.t('The response failed verification so will not be processed.');return ajax.error(xmlhttprequest,ajax.url,customMessage);}return (Promise.resolve(ajax.success(response,status)).then(()=>{ajax.ajaxing=false;
203$(document).trigger('ajaxSuccess',[xmlhttprequest,this]);$(document).trigger('ajaxComplete',[xmlhttprequest,this]);if(--$.active===0)$(document).trigger('ajaxStop');}));},error(xmlhttprequest,status,error){ajax.ajaxing=false;},complete(xmlhttprequest,status){if(status==='error'||status==='parsererror')return ajax.error(xmlhttprequest,ajax.url);},dataType:'json',jsonp:false,method:ajax.httpMethod};if(elementSettings.dialog)ajax.options.data.dialogOptions=elementSettings.dialog;if(!ajax.options.url.includes('?'))ajax.options.url+='?';else ajax.options.url+='&';let wrapper=`drupal_${elementSettings.dialogType||'ajax'}`;if(elementSettings.dialogRenderer)wrapper+=`.${elementSettings.dialogRenderer}`;ajax.options.url+=`${Drupal.ajax.WRAPPER_FORMAT}=${wrapper}`;$(ajax.element).on(elementSettings.event,function(event){if(!drupalSettings.ajaxTrustedUrl.hasOwnProperty(ajax.url)&&!Drupal.url.isLocal(ajax.url))throw new Error(Drupal.t('The callback URL is not local and not trusted: !url',{'!url':ajax.url}));return ajax.eventResponse(this,event);});if(elementSettings.keypress)$(ajax.element).on('keypress',function(event){return ajax.keypressResponse(this,event);});if(elementSettings.prevent)$(ajax.element).on(elementSettings.prevent,false);};Drupal.ajax.WRAPPER_FORMAT='_wrapper_format';Drupal.Ajax.AJAX_REQUEST_PARAMETER='_drupal_ajax';Drupal.Ajax.prototype.execute=function(){if(this.ajaxing)return;try{this.beforeSerialize(this.element,this.options);return $.ajax(this.options);}catch(e){this.ajaxing=false;window.alert(`An error occurred while attempting to process ${this.options.url}: ${e.message}`);return $.Deferred().reject();}};Drupal.Ajax.prototype.keypressResponse=function(element,event){const ajax=this;if(event.which===13||(event.which===32&&element.type!=='text'&&element.type!=='textarea'&&element.type!=='tel'&&element.type!=='number')){event.preventDefault();event.stopPropagation();$(element).trigger(ajax.elementSettings.event);}};Drupal.Ajax.prototype.eventResponse=function(element,event){event.preventDefault();event.stopPropagation();const ajax=this;if(ajax.ajaxing)return;try{if(ajax.$form){if(ajax.setClick)element.form.clk=element;ajax.$form.ajaxSubmit(ajax.options);}else{ajax.beforeSerialize(ajax.element,ajax.options);$.ajax(ajax.options);}}catch(e){ajax.ajaxing=false;window.alert(`An error occurred while attempting to process ${ajax.options.url}: ${e.message}`);}};Drupal.Ajax.prototype.beforeSerialize=function(element,options){if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.detachBehaviors(this.$form.get(0),settings,'serialize');}options.data[Drupal.Ajax.AJAX_REQUEST_PARAMETER]=1;const pageState=drupalSettings.ajaxPageState;options.data['ajax_page_state[theme]']=pageState.theme;options.data['ajax_page_state[theme_token]']=pageState.theme_token;options.data['ajax_page_state[libraries]']=pageState.libraries;};Drupal.Ajax.prototype.beforeSubmit=function(formValues,element,options){};Drupal.Ajax.prototype.beforeSend=function(xmlhttprequest,options){if(this.$form){options.extraData=options.extraData||{};options.extraData.ajax_iframe_upload='1';const v=$.fieldValue(this.element);if(v!==null)options.extraData[this.element.name]=v;}$(this.element).prop('disabled',true);if(!this.progress||!this.progress.type)return;const progressIndicatorMethod=`setProgressIndicator${this.progress.type.slice(0,1).toUpperCase()}${this.progress.type.slice(1).toLowerCase()}`;if(progressIndicatorMethod in this&&typeof this[progressIndicatorMethod]==='function')this[progressIndicatorMethod].call(this);};Drupal.theme.ajaxProgressThrobber=(message)=>{const messageMarkup=typeof message==='string'?Drupal.theme('ajaxProgressMessage',message):'';const throbber='<div class="throbber">&nbsp;</div>';return `<div class="ajax-progress ajax-progress-throbber">${throbber}${messageMarkup}</div>`;};Drupal.theme.ajaxProgressIndicatorFullscreen=()=>'<div class="ajax-progress ajax-progress-fullscreen">&nbsp;</div>';Drupal.theme.ajaxProgressMessage=(message)=>`<div class="message">${message}</div>`;Drupal.theme.ajaxProgressBar=($element)=>$('<div class="ajax-progress ajax-progress-bar"></div>').append($element);Drupal.Ajax.prototype.setProgressIndicatorBar=function(){const progressBar=new Drupal.ProgressBar(`ajax-progress-${this.element.i
203d}`,$.noop,this.progress.method,$.noop);if(this.progress.message)progressBar.setProgress(-1,this.progress.message);if(this.progress.url)progressBar.startMonitoring(this.progress.url,this.progress.interval||1500);this.progress.element=$(Drupal.theme('ajaxProgressBar',progressBar.element));this.progress.object=progressBar;$(this.element).after(this.progress.element);};Drupal.Ajax.prototype.setProgressIndicatorThrobber=function(){this.progress.element=$(Drupal.theme('ajaxProgressThrobber',this.progress.message));if($(this.element).closest('[data-drupal-ajax-container]').length)$(this.element).closest('[data-drupal-ajax-container]').after(this.progress.element);else $(this.element).after(this.progress.element);};Drupal.Ajax.prototype.setProgressIndicatorFullscreen=function(){this.progress.element=$(Drupal.theme('ajaxProgressIndicatorFullscreen'));$('body').append(this.progress.element);};Drupal.Ajax.prototype.commandExecutionQueue=function(response,status){const ajaxCommands=this.commands;return Object.keys(response||{}).reduce((executionQueue,key)=>executionQueue.then(()=>{const {command}=response[key];if(command&&ajaxCommands[command])return ajaxCommands[command](this,response[key],status);}),Promise.resolve());};Drupal.Ajax.prototype.success=function(response,status){if(this.progress.element)$(this.progress.element).remove();if(this.progress.object)this.progress.object.stopMonitoring();$(this.element).prop('disabled',false);const elementParents=$(this.element).parents('[data-drupal-selector]').addBack().toArray();const focusChanged=Object.keys(response||{}).some((key)=>{const {command,method}=response[key];return (command==='focusFirst'||command==='openDialog'||(command==='invoke'&&method==='focus'));});return (this.commandExecutionQueue(response,status).then(()=>{if(!focusChanged){let target=false;if(this.element){if($(this.element).data('refocus-blur')&&this.preCommandsFocusedElementSelector)target=document.querySelector(`[data-drupal-selector="${this.preCommandsFocusedElementSelector}"]`);if(!target&&!$(this.element).data('disable-refocus')){for(let n=elementParents.length-1;!target&&n>=0;n--)target=document.querySelector(`[data-drupal-selector="${elementParents[n].getAttribute('data-drupal-selector')}"]`);}}if(target)$(target).trigger('focus');}if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.attachBehaviors(this.$form.get(0),settings);}this.settings=null;}).catch((error)=>console.error(Drupal.t('An error occurred during the execution of the Ajax response: !error',{'!error':error}))));};Drupal.Ajax.prototype.getEffect=function(response){const type=response.effect||this.effect;const speed=response.speed||this.speed;const effect={};if(type==='none'){effect.showEffect='show';effect.hideEffect='hide';effect.showSpeed='';}else if(type==='fade'){effect.showEffect='fadeIn';effect.hideEffect='fadeOut';effect.showSpeed=speed;}else{effect.showEffect=`${type}Toggle`;effect.hideEffect=`${type}Toggle`;effect.showSpeed=speed;}return effect;};Drupal.Ajax.prototype.error=function(xmlhttprequest,uri,customMessage){if(this.progress.element)$(this.progress.element).remove();if(this.progress.object)this.progress.object.stopMonitoring();$(this.wrapper).show();$(this.element).prop('disabled',false);if(this.$form&&document.body.contains(this.$form.get(0))){const settings=this.settings||drupalSettings;Drupal.attachBehaviors(this.$form.get(0),settings);}throw new Drupal.AjaxError(xmlhttprequest,uri,customMessage);};Drupal.theme.ajaxWrapperNewContent=($newContent,ajax,response)=>(response.effect||ajax.effect)!=='none'&&$newContent.filter((i)=>!(($newContent[i].nodeName==='#comment'||($newContent[i].nodeName==='#text'&&/^(\s|\n|\r)*$/.test($newContent[i].textContent))))).length>1?Drupal.theme('ajaxWrapperMultipleRootElements',$newContent):$newContent;Drupal.theme.ajaxWrapperMultipleRootElements=($elements)=>$('<div></div>').append($elements);Drupal.AjaxCommands=function(){};Drupal.AjaxCommands.prototype={insert(ajax,response){const $wrapper=response.selector?$(response.selector):$(ajax.wrapper);const method=response.method||ajax.method;const effect=ajax.getEffect(response);const settings=response.settings||ajax.settings||drupalSettings;const parseHTML=(htmlString)=>{const fragment=document.createDocumentFragment();const template=fragment.appendChild(document.createElement('template'));template.innerHTML=htmlString;return template.content.childNodes;};let $newContent=$(parseHTML(response.data));
203$newContent=Drupal.theme('ajaxWrapperNewContent',$newContent,ajax,response);switch(method){case 'html':case 'replaceWith':case 'replaceAll':case 'empty':case 'remove':Drupal.detachBehaviors($wrapper.get(0),settings);break;default:break;}$wrapper[method]($newContent);if(effect.showEffect!=='show')$newContent.hide();const $ajaxNewContent=$newContent.find('.ajax-new-content');if($ajaxNewContent.length){$ajaxNewContent.hide();$newContent.show();$ajaxNewContent[effect.showEffect](effect.showSpeed);}else{if(effect.showEffect!=='show')$newContent[effect.showEffect](effect.showSpeed);}$newContent.each((index,element)=>{if(element.nodeType===Node.ELEMENT_NODE&&document.documentElement.contains(element))Drupal.attachBehaviors(element,settings);});},remove(ajax,response,status){const settings=response.settings||ajax.settings||drupalSettings;$(response.selector).each(function(){Drupal.detachBehaviors(this,settings);}).remove();},changed(ajax,response,status){const $element=$(response.selector);if(!$element.hasClass('ajax-changed')){$element.addClass('ajax-changed');if(response.asterisk)$element.find(response.asterisk).append(` <abbr class="ajax-changed" title="${Drupal.t('Changed')}">*</abbr> `);}},alert(ajax,response,status){window.alert(response.text);},announce(ajax,response){if(response.priority)Drupal.announce(response.text,response.priority);else Drupal.announce(response.text);},redirect(ajax,response,status){window.location=response.url;},css(ajax,response,status){$(response.selector).css(response.argument);},settings(ajax,response,status){const ajaxSettings=drupalSettings.ajax;if(ajaxSettings)Drupal.ajax.expired().forEach((instance)=>{if(instance.selector){const selector=instance.selector.replace('#','');if(selector in ajaxSettings)delete ajaxSettings[selector];}});if(response.merge)$.extend(true,drupalSettings,response.settings);else ajax.settings=response.settings;},data(ajax,response,status){$(response.selector).data(response.name,response.value);},focusFirst(ajax,response,status){let focusChanged=false;const container=document.querySelector(response.selector);if(container){const tabbableElements=tabbable(container);if(tabbableElements.length){tabbableElements[0].focus();focusChanged=true;}else{if(isFocusable(container)){container.focus();focusChanged=true;}}}if(ajax.hasOwnProperty('element')&&!focusChanged)ajax.element.focus();},invoke(ajax,response,status){const $element=$(response.selector);$element[response.method](...response.args);},restripe(ajax,response,status){$(response.selector).find('> tbody > tr:visible, > tr:visible').removeClass('odd even').filter(':even').addClass('odd').end().filter(':odd').addClass('even');},update_build_id(ajax,response,status){document.querySelectorAll(`input[name="form_build_id"][value="${response.old}"]`).forEach((item)=>{item.value=response.new;});},add_css(ajax,response,status){const allUniqueBundleIds=response.data.map(function(style){const uniqueBundleId=style.href;if(!loadjs.isDefined(uniqueBundleId))loadjs(`css!${style.href}`,uniqueBundleId,{before(path,styleEl){Object.keys(style).forEach((attributeKey)=>{styleEl.setAttribute(attributeKey,style[attributeKey]);});}});return uniqueBundleId;});return new Promise((resolve,reject)=>{loadjs.ready(allUniqueBundleIds,{success(){resolve();},error(depsNotFound){const message=Drupal.t(`The following files could not be loaded: @dependencies`,{'@dependencies':depsNotFound.join(', ')});reject(message);}});});},message(ajax,response){const messages=new Drupal.Message(document.querySelector(response.messageWrapperQuerySelector));if(response.clearPrevious)messages.clear();messages.add(response.message,response.messageOptions);},add_js(ajax,response,status){const parentEl=document.querySelector(response.selector||'body');const settings=ajax.settings||drupalSettings;const allUniqueBundleIds=response.data.map((script)=>{const uniqueBundleId=script.src;if(!loadjs.isDefined(uniqueBundleId))loadjs(script.src,uniqueBundleId,{async:false,before(path,scriptEl){Object.keys(script).forEach((attributeKey)=>{scriptEl.setAttribute(attributeKey,script[attributeKey]);});parentEl.appendChild(scriptEl);return false;}});return uniqueBundleId;});return new Promise((resolve,reject)=>{loadjs.ready(allUniqueBundleIds,{success(){Drupal.attachBehaviors(parentEl,settings);resolve();},error(depsNotFound){const message=Drupal.t(`The following files could not be loaded: @dependencies`,{'@dependencies':depsNotFound.join(', ')});reject(message);}});});},scrollTop(ajax,response){document.querySelector(response.selector)?.scrollIntoView();}};const stopEvent=(xhr,settings)=>{return (xhr.getResponseHeader('X-Drupal-Ajax-Token')==='1'&&typeof settings.isInProgress==='function'&&settings.isInProgress());};$.extend(true,$.event.special,{ajaxSuccess:{trigger(event,xhr,settings){if(stopEvent(xhr,settings))return false;}},ajaxComplete:{trigger(event,xhr,settings){if(stopEvent(xhr,settings)){$.active++;return false;}}}});})(jQuery,window,Drupal,drupalSettings,loadjs,window.tabbable);;
204(function(Drupal){Drupal.theme.ajaxProgressBar=function($element){return $element.addClass('ajax-progress ajax-progress-bar');};})(Drupal);;
205(($)=>{let cachedScrollbarWidth=null;const {max,abs}=Math;const regexHorizontal=/left|center|right/;const regexVertical=/top|center|bottom/;const regexOffset=/[+-]\d+(\.[\d]+)?%?/;const regexPosition=/^\w+/;const _position=$.fn.position;function getOffsets(offsets,width,height){return [parseFloat(offsets[0])*(typeof offsets[0]==='string'&&offsets[0].endsWith('%')?width/100:1),parseFloat(offsets[1])*(typeof offsets[1]==='string'&&offsets[1].endsWith('%')?height/100:1)];}function parseCss(element,property){return parseInt(window.getComputedStyle(element)[property],10)||0;}function getDimensions(elem){const raw=elem[0];if(raw.nodeType===Node.DOCUMENT_NODE)return {width:elem.width(),height:elem.height(),offset:{top:0,left:0}};if(!!raw&&raw===raw.window)return {width:elem.width(),height:elem.height(),offset:{top:elem.scrollTop(),left:elem.scrollLeft()}};if(raw.preventDefault)return {width:0,height:0,offset:{top:raw.pageY,left:raw.pageX}};return {width:elem.outerWidth(),height:elem.outerHeight(),offset:elem.offset()};}const collisions={fit:{left(position,data){const {within}=data;const withinOffset=within.isWindow?within.scrollLeft:within.offset.left;const outerWidth=within.width;const collisionPosLeft=position.left-data.collisionPosition.marginLeft;const overLeft=withinOffset-collisionPosLeft;const overRight=collisionPosLeft+data.collisionWidth-outerWidth-withinOffset;let newOverRight;if(data.collisionWidth>outerWidth)if(overLeft>0&&overRight<=0){newOverRight=position.left+overLeft+data.collisionWidth-outerWidth-withinOffset;position.left+=overLeft-newOverRight;}else if(overRight>
2050&&overLeft<=0)position.left=withinOffset;else if(overLeft>overRight)position.left=withinOffset+outerWidth-data.collisionWidth;else position.left=withinOffset;else if(overLeft>0)position.left+=overLeft;else if(overRight>0)position.left-=overRight;else position.left=max(position.left-collisionPosLeft,position.left);},top(position,data){const {within}=data;const withinOffset=within.isWindow?within.scrollTop:within.offset.top;const outerHeight=data.within.height;const collisionPosTop=position.top-data.collisionPosition.marginTop;const overTop=withinOffset-collisionPosTop;const overBottom=collisionPosTop+data.collisionHeight-outerHeight-withinOffset;let newOverBottom;if(data.collisionHeight>outerHeight)if(overTop>0&&overBottom<=0){newOverBottom=position.top+overTop+data.collisionHeight-outerHeight-withinOffset;position.top+=overTop-newOverBottom;}else if(overBottom>0&&overTop<=0)position.top=withinOffset;else if(overTop>overBottom)position.top=withinOffset+outerHeight-data.collisionHeight;else position.top=withinOffset;else if(overTop>0)position.top+=overTop;else if(overBottom>0)position.top-=overBottom;else position.top=max(position.top-collisionPosTop,position.top);}},flip:{left(position,data){const {within}=data;const withinOffset=within.offset.left+within.scrollLeft;const outerWidth=within.width;const offsetLeft=within.isWindow?within.scrollLeft:within.offset.left;const collisionPosLeft=position.left-data.collisionPosition.marginLeft;const overLeft=collisionPosLeft-offsetLeft;const overRight=collisionPosLeft+data.collisionWidth-outerWidth-offsetLeft;const myOffset=data.my[0]==='left'?-data.elemWidth:data.my[0]==='right'?data.elemWidth:0;const atOffset=data.at[0]==='left'?data.targetWidth:data.at[0]==='right'?-data.targetWidth:0;const offset=-2*data.offset[0];let newOverRight;let newOverLeft;if(overLeft<0){newOverRight=position.left+myOffset+atOffset+offset+data.collisionWidth-outerWidth-withinOffset;if(newOverRight<0||newOverRight<abs(overLeft))position.left+=myOffset+atOffset+offset;}else{if(overRight>0){newOverLeft=position.left-data.collisionPosition.marginLeft+myOffset+atOffset+offset-offsetLeft;if(newOverLeft>0||abs(newOverLeft)<overRight)position.left+=myOffset+atOffset+offset;}}},top(position,data){const {within}=data;const withinOffset=within.offset.top+within.scrollTop;const outerHeight=within.height;const offsetTop=within.isWindow?within.scrollTop:within.offset.top;const collisionPosTop=position.top-data.collisionPosition.marginTop;const overTop=collisionPosTop-offsetTop;const overBottom=collisionPosTop+data.collisionHeight-outerHeight-offsetTop;const top=data.my[1]==='top';const myOffset=top?-data.elemHeight:data.my[1]==='bottom'?data.elemHeight:0;const atOffset=data.at[1]==='top'?data.targetHeight:data.at[1]==='bottom'?-data.targetHeight:0;const offset=-2*data.offset[1];let newOverTop;let newOverBottom;if(overTop<0){newOverBottom=position.top+myOffset+atOffset+offset+data.collisionHeight-outerHeight-withinOffset;if(newOverBottom<0||newOverBottom<abs(overTop))position.top+=myOffset+atOffset+offset;}else{if(overBottom>0){newOverTop=position.top-data.collisionPosition.marginTop+myOffset+atOffset+offset-offsetTop;if(newOverTop>0||abs(newOverTop)<overBottom)position.top+=myOffset+atOffset+offset;}}}},flipfit:{left(...args){collisions.flip.left.apply(this,args);collisions.fit.left.apply(this,args);},top(...args){collisions.flip.top.apply(this,args);collisions.fit.top.apply(this,args);}}};$.position={scrollbarWidth(){if(cachedScrollbarWidth!==undefined)return cachedScrollbarWidth;const div=$('<div '+"style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'>"+"<div style='height:100px;width:auto;'></div></div>");const innerDiv=div.children()[0];$('body').append(div);const w1=innerDiv.offsetWidth;div[0].style.overflow='scroll';let w2=innerDiv.offsetWidth;if(w1===w2)w2=div[0].clientWidth;div.remove();cachedScrollbarWidth=w1-w2;return cachedScrollbarWidth;},getScrollInfo(within){const overflowX=within.isWindow||within.isDocument?'':window.getComputedStyle(within.element[0])['overflow-x'];const overflowY=within.isWindow||within.isDocument?'':window.getComputedStyle(within.element[0])['overflow-y'];const hasOverflowX=overflowX==='scroll'||(overflowX==='auto'&&within.width<within.element[0].scrollWidth);const hasOverflowY=overflowY==='scroll'||(overflowY==='auto'&&within.height<within.element[0].scrollHeight);return {width:hasOverflowY?$.position.scrollbarWidth():0,height:hasOverflowX?$.position.scrollbarWidth():0};},getWithinInfo(element){const withinElement=$(element||window);const isWindow=!!withinElement[0]&&withinElement[0]===withinElement[0].window;const isDocument=!!withinElement[0]&&withinElement[0].nodeType===Node.DOCUMENT_NODE;const hasOffset=!isWindow&&!isDocument;return {element:withinElement,isWindow,isDocument,offset:hasOffset?$(element).offset():{left:0,top:0},scrollLeft:withinElement.scrollLeft(),scrollTop:withinElement.scrollTop(),width:withinElement.outerWidth(),height:withinElement.outerHeight()};}};$.fn.position=function(options){if(!options||!options.of)return _position.apply(this,arguments);options=$.extend({},options);const within=$.position.getWithinInfo(options.within);const scrollInfo=$.position.getScrollInfo(within);const collision=(options.collision||'flip').split(' ');const offsets={};const target=typeof options.of==='string'?$(document).find(options.of):$(options.of);const dimensions=getDimensions(target);const targetWidth=dimensions.width;const targetHeight=dimensions.height;const targetOffset=dimensions.offset;if(target[0].preventDefault)options.at='left top';const basePosition=$.extend({},targetOffset);$.each(['my','at'],function(){let pos=(options[this]||'').split(' ');
205if(pos.length===1)pos=regexHorizontal.test(pos[0])?pos.concat(['center']):regexVertical.test(pos[0])?['center'].concat(pos):['center','center'];pos[0]=regexHorizontal.test(pos[0])?pos[0]:'center';pos[1]=regexVertical.test(pos[1])?pos[1]:'center';const horizontalOffset=regexOffset.exec(pos[0]);const verticalOffset=regexOffset.exec(pos[1]);offsets[this]=[horizontalOffset?horizontalOffset[0]:0,verticalOffset?verticalOffset[0]:0];options[this]=[regexPosition.exec(pos[0])[0],regexPosition.exec(pos[1])[0]];});if(collision.length===1)collision[1]=collision[0];if(options.at[0]==='right')basePosition.left+=targetWidth;else{if(options.at[0]==='center')basePosition.left+=targetWidth/2;}if(options.at[1]==='bottom')basePosition.top+=targetHeight;else{if(options.at[1]==='center')basePosition.top+=targetHeight/2;}const atOffset=getOffsets(offsets.at,targetWidth,targetHeight);basePosition.left+=atOffset[0];basePosition.top+=atOffset[1];return this.each(function(){let using;const elem=$(this);const elemWidth=elem.outerWidth();const elemHeight=elem.outerHeight();const marginLeft=parseCss(this,'marginLeft');const marginTop=parseCss(this,'marginTop');const collisionWidth=elemWidth+marginLeft+parseCss(this,'marginRight')+scrollInfo.width;const collisionHeight=elemHeight+marginTop+parseCss(this,'marginBottom')+scrollInfo.height;const position=$.extend({},basePosition);const myOffset=getOffsets(offsets.my,elem.outerWidth(),elem.outerHeight());if(options.my[0]==='right')position.left-=elemWidth;else{if(options.my[0]==='center')position.left-=elemWidth/2;}if(options.my[1]==='bottom')position.top-=elemHeight;else{if(options.my[1]==='center')position.top-=elemHeight/2;}position.left+=myOffset[0];position.top+=myOffset[1];const collisionPosition={marginLeft,marginTop};$.each(['left','top'],function(i,dir){if(collisions[collision[i]])collisions[collision[i]][dir](position,{targetWidth,targetHeight,elemWidth,elemHeight,collisionPosition,collisionWidth,collisionHeight,offset:[atOffset[0]+myOffset[0],atOffset[1]+myOffset[1]],my:options.my,at:options.at,within,elem});});if(options.using)using=function(props){const left=targetOffset.left-position.left;const right=left+targetWidth-elemWidth;const top=targetOffset.top-position.top;const bottom=top+targetHeight-elemHeight;const feedback={target:{element:target,left:targetOffset.left,top:targetOffset.top,width:targetWidth,height:targetHeight},element:{element:elem,left:position.left,top:position.top,width:elemWidth,height:elemHeight},horizontal:right<0?'left':left>0?'right':'center',vertical:bottom<0?'top':top>0?'bottom':'middle'};if(targetWidth<elemWidth&&abs(left+right)<targetWidth)feedback.horizontal='center';if(targetHeight<elemHeight&&abs(top+bottom)<targetHeight)feedback.vertical='middle';if(max(abs(left),abs(right))>max(abs(top),abs(bottom)))feedback.important='horizontal';else feedback.important='vertical';options.using.call(this,props,feedback);};elem.offset($.extend(position,{using}));});};if(!$.hasOwnProperty('ui'))$.ui={};$.ui.position=collisions;})(jQuery);;
206(function(Drupal){Drupal.AjaxCommands.prototype.gtagEvent=function(ajax,response){gtag('event',response.event_name,response.data);};})(Drupal);;
207(function($,Drupal,drupalSettings){"use strict";var MobileTables={init:function(context){this.applyWrappers(context);$(window).on("resize load",context,MobileTables.applySlider);},applyWrappers:function(context){var $tables=$(".responsive-table");var suffix='<div class="touchable"><div class="icon">Swipe</div></div>';$tables.each(function(i){var $emt=$(this);if(!$emt.hasClass("sticky-header")){$emt.wrap('<div class="mobiletable-wrapper"></div>');$emt.wrap('<div class="mobiletable"></div>');}});$(".mobiletable").append(suffix);},applySlider:function(context){var $tables=$(".responsive-table");$tables.each(function(i){var $emt=$(this),$parent=$emt.parent();if($emt.hasClass("sticky-header"))return true;if($emt.get(0).scrollWidth<=$parent.get(0).clientWidth){if($parent.hasClass("active")){$parent.removeClass("active touched").unbind("mouseleave scroll");$(".touchable",$parent).hide();}return;}$parent.addClass("active");var table_height=$emt.height();$(".touchable",$parent).height(table_height).show();var icon_top=table_height/2;icon_top-=$(".icon",$parent).height()/2;$(".icon",$parent).css("top",icon_top+"px");});$tables.closest(".mobiletable.active").on("scroll",function(){$tables.next(".touchable").fadeOut(500);});$tables.closest(".mobiletable.active").on("mouseleave",function(){$tables.next(".touchable").fadeIn(500);});}};MobileTables.init();})(jQuery,Drupal,drupalSettings);;
208!function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var l="function"==typeof require&&require;if(!f&&l)return l(i,!0);if(u)return u(i,!0);var l=new Error("Cannot find module '"+i+"'");throw l.code="MODULE_NOT_FOUND",l;}
208var l=n[i]={exports:{}};e[i][0].call(l.exports,function(r){return o(e[i][1][r]||r);},l,l.exports,r,e,n,t);}return n[i].exports;}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o;}({1:[function(r,e,n){"use strict";jQuery,Drupal.behaviors.global={attach:function(r,e){}};},{}]},{},[1]);;
209"use strict";(function(a,b){b.behaviors.mp_addsearch_autocomplete={attach:function attach(c){if(!a("body").hasClass("page-node-type-search-page")){var d,e;(null!==(d=c.querySelectorAll(".header-autocomplete-submit"))&&void 0!==d?d:[]).forEach(function(a){a.addEventListener("click",function(){b.behaviors.mp_addsearch_autocomplete.submit(a);});}),(null!==(e=c.querySelectorAll(".addsearch.header-autocomplete"))&&void 0!==e?e:[]).forEach(function(a){a.addEventListener("keyup",function(c){13===c.keyCode&&(c.preventDefault(),b.behaviors.mp_addsearch_autocomplete.submit(a));});});}},submit:function submit(b){var c=a(b).parents(".block:first"),d=c.find("input[name=term]").val(),e=c.data("searchpage")+"?",f=d.length?"term="+encodeURIComponent(d):"";window.location.href=e+f;}};})(jQuery,Drupal);;
210((Drupal,drupalSettings)=>{var addDatalayer=(e)=>{window.dataLayer=window.dataLayer||[];dataLayer.push(e.currentTarget.datalayerObj);};Drupal.behaviors.datalayer_button_click={attach:(context,settings)=>{let buttonLinks=context.querySelectorAll('.dlayer-btn');var business=(window.location.href.indexOf('/foodservice')>-1)?'b2b':'b2c';buttonLinks.forEach((el)=>{el.datalayerObj={'event':'button_click','business_type':business,'button_text':el.textContent,'links_to':el.href};el.addEventListener('click',addDatalayer);});}};})(Drupal,drupalSettings);;
211((Drupal,drupalSettings)=>{var addDatalayer=(e)=>{window.dataLayer=window.dataLayer||[];dataLayer.push(e.currentTarget.datalayerObj);};Drupal.behaviors.datalayer_button_click_banner={attach:(context,settings)=>{let buttonLinks=context.querySelectorAll('.dlayer-btn-banner');var business=(window.location.href.indexOf('/foodservice')>-1)?'b2b':'b2c';buttonLinks.forEach((el)=>{el.datalayerObj={'event':'button_click','business_type':business,'button_text':'Kuvabannerin klikkaus (ei tekstiä)','links_to':el.href};el.addEventListener('click',addDatalayer);});}};})(Drupal,drupalSettings);;
212((Drupal,drupalSettings)=>{var addProductDatalayer=(e)=>{window.dataLayer=window.dataLayer||[];dataLayer.push({ecommerce:null});dataLayer.push(e.currentTarget.datalayerObj);};Drupal.behaviors.datalayer_product_click={attach:(context,settings)=>{let productLinks=context.querySelectorAll('.dlayer-product-link');productLinks.forEach((el)=>{var data=el.dataset;el.datalayerObj={'event':'select_item','ecommerce':{'items':[{'item_name':data.name,'item_id':data.id,'item_brand':'Myllyn Paras','item_category':data.category,'item_list_name':data.listName,'item_list_id':data.listId,'index':data.index,'quantity':1}]}};el.addEventListener('click',addProductDatalayer);});}};})(Drupal,drupalSettings);;
213((Drupal,drupalSettings)=>{Drupal.behaviors.datalayer_product_list={attach:(context,settings)=>{let productList=document.querySelectorAll('.dlayer-product-list');if(productList===null)return;productList.forEach((list)=>{var listName=list.dataset.name;var listId=(list.dataset.class!==undefined)?list.dataset.class:list.dataset.id;var listPrefix=(list.dataset.class!==undefined)?'.':'#';let productLinks=context.querySelectorAll(listPrefix+listId+' .dlayer-product-link');var datalayerObj={'event':'view_item_list','ecommerce':{'items':[]}};if(productLinks.length==0||list.processed)return;productLinks.forEach((el,index)=>{var data=el.dataset;var productIndex=index+1;datalayerObj.ecommerce.items.push({'item_name':data.name,'item_id':data.id,'item_brand':'Myllyn Paras','item_category':data.category,'item_list_name':listName,'item_list_id':listId,'index':productIndex,'quantity':1});el.dataset.listName=listName;el.dataset.listId=listId;el.dataset.index=productIndex;});window.dataLayer=window.dataLayer||[];dataLayer.push({ecommerce:null});dataLayer.push(datalayerObj);list.processed=true;});}};})(Drupal,drupalSettings);;
214!function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,b.localforage=a();}}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j;}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c||a);},k,k.exports,a,b,c,d);}return c[g].exports;}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e;}({1:[function(a,b,c){(function(a){"use strict";function c(){k=!0;for(var a,b,c=l.length;c;){for(b=l,l=[],a=-1;++a<c;)b[a]();c=l.length;}k=!1;}function d(a){1!==l.push(a)||k||e();}
214var e,f=a.MutationObserver||a.WebKitMutationObserver;if(f){var g=0,h=new f(c),i=a.document.createTextNode("");h.observe(i,{characterData:!0}),e=function(){i.data=g=++g%2;};}else if(a.setImmediate||void 0===a.MessageChannel)e="document" in a&&"onreadystatechange" in a.document.createElement("script")?function(){var b=a.document.createElement("script");b.onreadystatechange=function(){c(),b.onreadystatechange=null,b.parentNode.removeChild(b),b=null;},a.document.documentElement.appendChild(b);}:function(){setTimeout(c,0);};else{var j=new a.MessageChannel();j.port1.onmessage=c,e=function(){j.port2.postMessage(0);};}var k,l=[];b.exports=d;}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});},{}],2:[function(a,b,c){"use strict";function d(){}function e(a){if("function"!=typeof a)throw new TypeError("resolver must be a function");this.state=s,this.queue=[],this.outcome=void 0,a!==d&&i(this,a);}function f(a,b,c){this.promise=a,"function"==typeof b&&(this.onFulfilled=b,this.callFulfilled=this.otherCallFulfilled),"function"==typeof c&&(this.onRejected=c,this.callRejected=this.otherCallRejected);}function g(a,b,c){o(function(){var d;try{d=b(c);}catch(b){return p.reject(a,b);}d===a?p.reject(a,new TypeError("Cannot resolve promise with itself")):p.resolve(a,d);});}function h(a){var b=a&&a.then;if(a&&("object"==typeof a||"function"==typeof a)&&"function"==typeof b)return function(){b.apply(a,arguments);};}function i(a,b){function c(b){f||(f=!0,p.reject(a,b));}function d(b){f||(f=!0,p.resolve(a,b));}function e(){b(d,c);}var f=!1,g=j(e);"error"===g.status&&c(g.value);}function j(a,b){var c={};try{c.value=a(b),c.status="success";}catch(a){c.status="error",c.value=a;}return c;}function k(a){return a instanceof this?a:p.resolve(new this(d),a);}function l(a){var b=new this(d);return p.reject(b,a);}function m(a){function b(a,b){function d(a){g[b]=a,++h!==e||f||(f=!0,p.resolve(j,g));}c.resolve(a).then(d,function(a){f||(f=!0,p.reject(j,a));});}var c=this;if("[object Array]"!==Object.prototype.toString.call(a))return this.reject(new TypeError("must be an array"));var e=a.length,f=!1;if(!e)return this.resolve([]);for(var g=new Array(e),h=0,i=-1,j=new this(d);++i<e;)b(a[i],i);return j;}function n(a){function b(a){c.resolve(a).then(function(a){f||(f=!0,p.resolve(h,a));},function(a){f||(f=!0,p.reject(h,a));});}var c=this;if("[object Array]"!==Object.prototype.toString.call(a))return this.reject(new TypeError("must be an array"));var e=a.length,f=!1;if(!e)return this.resolve([]);for(var g=-1,h=new this(d);++g<e;)b(a[g]);return h;}var o=a(1),p={},q=["REJECTED"],r=["FULFILLED"],s=["PENDING"];b.exports=e,e.prototype.catch=function(a){return this.then(null,a);},e.prototype.then=function(a,b){if("function"!=typeof a&&this.state===r||"function"!=typeof b&&this.state===q)return this;var c=new this.constructor(d);if(this.state!==s)g(c,this.state===r?a:b,this.outcome);else this.queue.push(new f(c,a,b));return c;},f.prototype.callFulfilled=function(a){p.resolve(this.promise,a);},f.prototype.otherCallFulfilled=function(a){g(this.promise,this.onFulfilled,a);},f.prototype.callRejected=function(a){p.reject(this.promise,a);},f.prototype.otherCallRejected=function(a){g(this.promise,this.onRejected,a);},p.resolve=function(a,b){var c=j(h,b);if("error"===c.status)return p.reject(a,c.value);var d=c.value;if(d)i(a,d);else{a.state=r,a.outcome=b;for(var e=-1,f=a.queue.length;++e<f;)a.queue[e].callFulfilled(b);}return a;},p.reject=function(a,b){a.state=q,a.outcome=b;for(var c=-1,d=a.queue.length;++c<d;)a.queue[c].callRejected(b);return a;},e.resolve=k,e.reject=l,e.all=m,e.race=n;},{1:1}],3:[function(a,b,c){(function(b){"use strict";"function"!=typeof b.Promise&&(b.Promise=a(2));}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});},{2:2}],4:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function");}function e(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB;}catch(a){return;}}function f(){try{if(!ua||!ua.open)return !1;var a="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),b="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return (!a||b)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange;}catch(a){return !1;}}function g(a,b){a=a||[],b=b||{};try{return new Blob(a,b);}catch(f){if("TypeError"!==f.name)throw f;for(var c="undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder,d=new c(),e=0;e<a.length;e+=1)d.append(a[e]);return d.getBlob(b.type);}}function h(a,b){b&&a.then(function(a){b(null,a);},function(a){b(a);});}function i(a,b,c){"function"==typeof b&&a.then(b),"function"==typeof c&&a.catch(c);}function j(a){return "string"!=typeof a&&(console.warn(a+" used as a key, but it is not a string."),a=String(a)),a;}function k(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1];}function l(a){for(var b=a.length,c=new ArrayBuffer(b),d=new Uint8Array(c),e=0;e<b;
214e++)d[e]=a.charCodeAt(e);return c;}function m(a){return new va(function(b){var c=a.transaction(wa,Ba),d=g([""]);c.objectStore(wa).put(d,"key"),c.onabort=function(a){a.preventDefault(),a.stopPropagation(),b(!1);},c.oncomplete=function(){var a=navigator.userAgent.match(/Chrome\/(\d+)/),c=navigator.userAgent.match(/Edge\//);b(c||!a||parseInt(a[1],10)>=43);};}).catch(function(){return !1;});}function n(a){return "boolean"==typeof xa?va.resolve(xa):m(a).then(function(a){return xa=a;});}function o(a){var b=ya[a.name],c={};c.promise=new va(function(a,b){c.resolve=a,c.reject=b;}),b.deferredOperations.push(c),b.dbReady?b.dbReady=b.dbReady.then(function(){return c.promise;}):b.dbReady=c.promise;}function p(a){var b=ya[a.name],c=b.deferredOperations.pop();if(c)return c.resolve(),c.promise;}function q(a,b){var c=ya[a.name],d=c.deferredOperations.pop();if(d)return d.reject(b),d.promise;}function r(a,b){return new va(function(c,d){if(ya[a.name]=ya[a.name]||B(),a.db){if(!b)return c(a.db);o(a),a.db.close();}var e=[a.name];b&&e.push(a.version);var f=ua.open.apply(ua,e);b&&(f.onupgradeneeded=function(b){var c=f.result;try{c.createObjectStore(a.storeName),b.oldVersion<=1&&c.createObjectStore(wa);}catch(c){if("ConstraintError"!==c.name)throw c;console.warn('The database "'+a.name+'" has been upgraded from version '+b.oldVersion+" to version "+b.newVersion+', but the storage "'+a.storeName+'" already exists.');}}),f.onerror=function(a){a.preventDefault(),d(f.error);},f.onsuccess=function(){var b=f.result;b.onversionchange=function(a){a.target.close();},c(b),p(a);};});}function s(a){return r(a,!1);}function t(a){return r(a,!0);}function u(a,b){if(!a.db)return !0;var c=!a.db.objectStoreNames.contains(a.storeName),d=a.version<a.db.version,e=a.version>a.db.version;if(d&&(a.version!==b&&console.warn('The database "'+a.name+"\" can't be downgraded from version "+a.db.version+" to version "+a.version+"."),a.version=a.db.version),e||c){if(c){var f=a.db.version+1;f>a.version&&(a.version=f);}return !0;}return !1;}function v(a){return new va(function(b,c){var d=new FileReader();d.onerror=c,d.onloadend=function(c){var d=btoa(c.target.result||"");b({__local_forage_encoded_blob:!0,data:d,type:a.type});},d.readAsBinaryString(a);});}function w(a){return g([l(atob(a.data))],{type:a.type});}function x(a){return a&&a.__local_forage_encoded_blob;}function y(a){var b=this,c=b._initReady().then(function(){var a=ya[b._dbInfo.name];if(a&&a.dbReady)return a.dbReady;});return i(c,a,a),c;}function z(a){o(a);for(var b=ya[a.name],c=b.forages,d=0;d<c.length;d++){var e=c[d];e._dbInfo.db&&(e._dbInfo.db.close(),e._dbInfo.db=null);}
214return a.db=null,s(a).then(function(b){return a.db=b,u(a)?t(a):b;}).then(function(d){a.db=b.db=d;for(var e=0;e<c.length;e++)c[e]._dbInfo.db=d;}).catch(function(b){throw q(a,b),b;});}function A(a,b,c,d){void 0===d&&(d=1);try{var e=a.db.transaction(a.storeName,b);c(null,e);}catch(e){if(d>0&&(!a.db||"InvalidStateError"===e.name||"NotFoundError"===e.name))return va.resolve().then(function(){if(!a.db||"NotFoundError"===e.name&&!a.db.objectStoreNames.contains(a.storeName)&&a.version<=a.db.version)return a.db&&(a.version=a.db.version+1),t(a);}).then(function(){return z(a).then(function(){A(a,b,c,d-1);});}).catch(c);c(e);}}function B(){return {forages:[],db:null,dbReady:null,deferredOperations:[]};}function C(a){function b(){return va.resolve();}var c=this,d={db:null};if(a)for(var e in a)d[e]=a[e];var f=ya[d.name];f||(f=B(),ya[d.name]=f),f.forages.push(c),c._initReady||(c._initReady=c.ready,c.ready=y);for(var g=[],h=0;h<f.forages.length;h++){var i=f.forages[h];i!==c&&g.push(i._initReady().catch(b));}var j=f.forages.slice(0);return va.all(g).then(function(){return d.db=f.db,s(d);}).then(function(a){return d.db=a,u(d,c._defaultConfig.version)?t(d):a;}).then(function(a){d.db=f.db=a,c._dbInfo=d;for(var b=0;b<j.length;b++){var e=j[b];e!==c&&(e._dbInfo.db=d.db,e._dbInfo.version=d.version);}});}function D(a,b){var c=this;a=j(a);var d=new va(function(b,d){c.ready().then(function(){A(c._dbInfo,Aa,function(e,f){if(e)return d(e);try{var g=f.objectStore(c._dbInfo.storeName),h=g.get(a);h.onsuccess=function(){var a=h.result;void 0===a&&(a=null),x(a)&&(a=w(a)),b(a);},h.onerror=function(){d(h.error);};}catch(a){d(a);}});}).catch(d);});return h(d,b),d;}function E(a,b){var c=this,d=new va(function(b,d){c.ready().then(function(){A(c._dbInfo,Aa,function(e,f){if(e)return d(e);try{var g=f.objectStore(c._dbInfo.storeName),h=g.openCursor(),i=1;h.onsuccess=function(){var c=h.result;if(c){var d=c.value;x(d)&&(d=w(d));var e=a(d,c.key,i++);void 0!==e?b(e):c.continue();}else b();},h.onerror=function(){d(h.error);};}catch(a){d(a);}});}).catch(d);});return h(d,b),d;}function F(a,b,c){var d=this;a=j(a);var e=new va(function(c,e){var f;d.ready().then(function(){return f=d._dbInfo,"[object Blob]"===za.call(b)?n(f.db).then(function(a){return a?b:v(b);}):b;}).then(function(b){A(d._dbInfo,Ba,function(f,g){if(f)return e(f);try{var h=g.objectStore(d._dbInfo.storeName);null===b&&(b=void 0);var i=h.put(b,a);g.oncomplete=function(){void 0===b&&(b=null),c(b);},g.onabort=g.onerror=function(){var a=i.error?i.error:i.transaction.error;e(a);};}catch(a){e(a);}});}).catch(e);});return h(e,c),e;}function G(a,b){var c=this;a=j(a);var d=new va(function(b,d){c.ready().then(function(){A(c._dbInfo,Ba,function(e,f){if(e)return d(e);try{var g=f.objectStore(c._dbInfo.storeName),h=g.delete(a);f.oncomplete=function(){b();},f.onerror=function(){d(h.error);},f.onabort=function(){var a=h.error?h.error:h.transaction.error;d(a);};}catch(a){d(a);}});}).catch(d);});return h(d,b),d;}function H(a){var b=this,c=new va(function(a,c){b.ready().then(function(){A(b._dbInfo,Ba,function(d,e){if(d)return c(d);try{var f=e.objectStore(b._dbInfo.storeName),g=f.clear();e.oncomplete=function(){a();},e.onabort=e.onerror=function(){var a=g.error?g.error:g.transaction.error;c(a);};}catch(a){c(a);}});}).catch(c);});return h(c,a),c;}function I(a){var b=this,c=new va(function(a,c){b.ready().then(function(){A(b._dbInfo,Aa,function(d,e){if(d)return c(d);try{var f=e.objectStore(b._dbInfo.storeName),g=f.count();g.onsuccess=function(){a(g.result);},g.onerror=function(){c(g.error);};}catch(a){c(a);}});}).catch(c);});return h(c,a),c;}function J(a,b){var c=this,d=new va(function(b,d){if(a<0)return void b(null);c.ready().then(function(){A(c._dbInfo,Aa,function(e,f){if(e)return d(e);try{var g=f.objectStore(c._dbInfo.storeName),h=!1,i=g.openKeyCursor();i.onsuccess=function(){var c=i.result;if(!c)return void b(null);0===a?b(c.key):h?b(c.key):(h=!0,c.advance(a));},i.onerror=function(){d(i.error);};}catch(a){d(a);}});}).catch(d);});return h(d,b),d;}function K(a){var b=this,c=new va(function(a,c){b.ready().then(function(){A(b._dbInfo,Aa,function(d,e){if(d)return c(d);try{var f=e.objectStore(b._dbInfo.storeName),g=f.openKeyCursor(),h=[];g.onsuccess=function(){var b=g.result;if(!b)return void a(h);h.push(b.key),b.continue();},g.onerror=function(){c(g.error);};}catch(a){c(a);}}
214);}).catch(c);});return h(c,a),c;}function L(a,b){b=k.apply(this,arguments);var c=this.config();a="function"!=typeof a&&a||{},a.name||(a.name=a.name||c.name,a.storeName=a.storeName||c.storeName);var d,e=this;if(a.name){var f=a.name===c.name&&e._dbInfo.db,g=f?va.resolve(e._dbInfo.db):s(a).then(function(b){var c=ya[a.name],d=c.forages;c.db=b;for(var e=0;e<d.length;e++)d[e]._dbInfo.db=b;return b;});d=a.storeName?g.then(function(b){if(b.objectStoreNames.contains(a.storeName)){var c=b.version+1;o(a);var d=ya[a.name],e=d.forages;b.close();for(var f=0;f<e.length;f++){var g=e[f];g._dbInfo.db=null,g._dbInfo.version=c;}return new va(function(b,d){var e=ua.open(a.name,c);e.onerror=function(a){e.result.close(),d(a);},e.onupgradeneeded=function(){e.result.deleteObjectStore(a.storeName);},e.onsuccess=function(){var a=e.result;a.close(),b(a);};}).then(function(a){d.db=a;for(var b=0;b<e.length;b++){var c=e[b];c._dbInfo.db=a,p(c._dbInfo);}}).catch(function(b){throw (q(a,b)||va.resolve()).catch(function(){}),b;});}}):g.then(function(b){o(a);var c=ya[a.name],d=c.forages;b.close();for(var e=0;e<d.length;e++)d[e]._dbInfo.db=null;return new va(function(b,c){var d=ua.deleteDatabase(a.name);d.onerror=function(){var a=d.result;a&&a.close(),c(d.error);},d.onblocked=function(){console.warn('dropInstance blocked for database "'+a.name+'" until all open connections are closed');},d.onsuccess=function(){var a=d.result;a&&a.close(),b(a);};}).then(function(a){c.db=a;for(var b=0;b<d.length;b++)p(d[b]._dbInfo);}).catch(function(b){throw (q(a,b)||va.resolve()).catch(function(){}),b;});});}else d=va.reject("Invalid arguments");return h(d,b),d;}function M(){return "function"==typeof openDatabase;}function N(a){var b,c,d,e,f,g=.75*a.length,h=a.length,i=0;"="===a[a.length-1]&&(g--,"="===a[a.length-2]&&g--);var j=new ArrayBuffer(g),k=new Uint8Array(j);for(b=0;b<h;b+=4)c=Da.indexOf(a[b]),d=Da.indexOf(a[b+1]),e=Da.indexOf(a[b+2]),f=Da.indexOf(a[b+3]),k[i++]=c<<2|d>>4,k[i++]=(15&d)<<4|e>>2,k[i++]=(3&e)<<6|63&f;return j;}function O(a){var b,c=new Uint8Array(a),d="";for(b=0;b<c.length;b+=3)d+=Da[c[b]>>2],d+=Da[(3&c[b])<<4|c[b+1]>>4],d+=Da[(15&c[b+1])<<2|c[b+2]>>6],d+=Da[63&c[b+2]];return c.length%3==2?d=d.substring(0,d.length-1)+"=":c.length%3==1&&(d=d.substring(0,d.length-2)+"=="),d;}function P(a,b){var c="";if(a&&(c=Ua.call(a)),a&&("[object ArrayBuffer]"===c||a.buffer&&"[object ArrayBuffer]"===Ua.call(a.buffer))){var d,e=Ga;a instanceof ArrayBuffer?(d=a,e+=Ia):(d=a.buffer,"[object Int8Array]"===c?e+=Ka:"[object Uint8Array]"===c?e+=La:"[object Uint8ClampedArray]"===c?e+=Ma:"[object Int16Array]"===c?e+=Na:"[object Uint16Array]"===c?e+=Pa:"[object Int32Array]"===c?e+=Oa:"[object Uint32Array]"===c?e+=Qa:"[object Float32Array]"===c?e+=Ra:"[object Float64Array]"===c?e+=Sa:b(new Error("Failed to get type for BinaryArray"))),b(e+O(d));}else if("[object Blob]"===c){var f=new FileReader();f.onload=function(){var c=Ea+a.type+"~"+O(this.result);b(Ga+Ja+c);},f.readAsArrayBuffer(a);}else try{b(JSON.stringify(a));}catch(c){console.error("Couldn't convert value into a JSON string: ",a),b(null,c);}}function Q(a){if(a.substring(0,Ha)!==Ga)return JSON.parse(a);var b,c=a.substring(Ta),d=a.substring(Ha,Ta);if(d===Ja&&Fa.test(c)){var e=c.match(Fa);b=e[1],c=c.substring(e[0].length);}var f=N(c);switch(d){case Ia:return f;case Ja:return g([f],{type:b});case Ka:return new Int8Array(f);case La:return new Uint8Array(f);case Ma:return new Uint8ClampedArray(f);case Na:return new Int16Array(f);case Pa:return new Uint16Array(f);case Oa:return new Int32Array(f);case Qa:return new Uint32Array(f);case Ra:return new Float32Array(f);case Sa:return new Float64Array(f);default:throw new Error("Unkown type: "+d);}}function R(a,b,c,d){a.executeSql("CREATE TABLE IF NOT EXISTS "+b.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],c,d);}function S(a){var b=this,c={db:null};if(a)for(var d in a)c[d]="string"!=typeof a[d]?a[d].toString():a[d];var e=new va(function(a,d){try{c.db=openDatabase(c.name,String(c.version),c.description,c.size);}catch(a){return d(a);}c.db.transaction(function(e){R(e,c,function(){b._dbInfo=c,a();},function(a,b){d(b);});},d);});
214return c.serializer=Va,e;}function T(a,b,c,d,e,f){a.executeSql(c,d,e,function(a,g){g.code===g.SYNTAX_ERR?a.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[b.storeName],function(a,h){h.rows.length?f(a,g):R(a,b,function(){a.executeSql(c,d,e,f);},f);},f):f(a,g);},f);}function U(a,b){var c=this;a=j(a);var d=new va(function(b,d){c.ready().then(function(){var e=c._dbInfo;e.db.transaction(function(c){T(c,e,"SELECT * FROM "+e.storeName+" WHERE key = ? LIMIT 1",[a],function(a,c){var d=c.rows.length?c.rows.item(0).value:null;d&&(d=e.serializer.deserialize(d)),b(d);},function(a,b){d(b);});});}).catch(d);});return h(d,b),d;}function V(a,b){var c=this,d=new va(function(b,d){c.ready().then(function(){var e=c._dbInfo;e.db.transaction(function(c){T(c,e,"SELECT * FROM "+e.storeName,[],function(c,d){for(var f=d.rows,g=f.length,h=0;h<g;h++){var i=f.item(h),j=i.value;if(j&&(j=e.serializer.deserialize(j)),void 0!==(j=a(j,i.key,h+1)))return void b(j);}b();},function(a,b){d(b);});});}).catch(d);});return h(d,b),d;}function W(a,b,c,d){var e=this;a=j(a);var f=new va(function(f,g){e.ready().then(function(){void 0===b&&(b=null);var h=b,i=e._dbInfo;i.serializer.serialize(b,function(b,j){j?g(j):i.db.transaction(function(c){T(c,i,"INSERT OR REPLACE INTO "+i.storeName+" (key, value) VALUES (?, ?)",[a,b],function(){f(h);},function(a,b){g(b);});},function(b){if(b.code===b.QUOTA_ERR){if(d>0)return void f(W.apply(e,[a,h,c,d-1]));g(b);}});});}).catch(g);});return h(f,c),f;}function X(a,b,c){return W.apply(this,[a,b,c,1]);}function Y(a,b){var c=this;a=j(a);var d=new va(function(b,d){c.ready().then(function(){var e=c._dbInfo;e.db.transaction(function(c){T(c,e,"DELETE FROM "+e.storeName+" WHERE key = ?",[a],function(){b();},function(a,b){d(b);});});}).catch(d);});return h(d,b),d;}function Z(a){var b=this,c=new va(function(a,c){b.ready().then(function(){var d=b._dbInfo;d.db.transaction(function(b){T(b,d,"DELETE FROM "+d.storeName,[],function(){a();},function(a,b){c(b);});});}).catch(c);});return h(c,a),c;}function $(a){var b=this,c=new va(function(a,c){b.ready().then(function(){var d=b._dbInfo;d.db.transaction(function(b){T(b,d,"SELECT COUNT(key) as c FROM "+d.storeName,[],function(b,c){var d=c.rows.item(0).c;a(d);},function(a,b){c(b);});});}).catch(c);});return h(c,a),c;}function _(a,b){var c=this,d=new va(function(b,d){c.ready().then(function(){var e=c._dbInfo;e.db.transaction(function(c){T(c,e,"SELECT key FROM "+e.storeName+" WHERE id = ? LIMIT 1",[a+1],function(a,c){var d=c.rows.length?c.rows.item(0).key:null;b(d);},function(a,b){d(b);});});}).catch(d);});return h(d,b),d;}function aa(a){var b=this,c=new va(function(a,c){b.ready().then(function(){var d=b._dbInfo;d.db.transaction(function(b){T(b,d,"SELECT key FROM "+d.storeName,[],function(b,c){for(var d=[],e=0;e<c.rows.length;e++)d.push(c.rows.item(e).key);a(d);},function(a,b){c(b);});});}).catch(c);});return h(c,a),c;}function ba(a){return new va(function(b,c){a.transaction(function(d){d.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(c,d){for(var e=[],f=0;f<d.rows.length;f++)e.push(d.rows.item(f).name);b({db:a,storeNames:e});},function(a,b){c(b);});},function(a){c(a);});});}function ca(a,b){b=k.apply(this,arguments);var c=this.config();a="function"!=typeof a&&a||{},a.name||(a.name=a.name||c.name,a.storeName=a.storeName||c.storeName);var d,e=this;return d=a.name?new va(function(b){var d;d=a.name===c.name?e._dbInfo.db:openDatabase(a.name,"","",0),b(a.storeName?{db:d,storeNames:[a.storeName]}:ba(d));}).then(function(a){return new va(function(b,c){a.db.transaction(function(d){function e(a){return new va(function(b,c){d.executeSql("DROP TABLE IF EXISTS "+a,[],function(){b();},function(a,b){c(b);});});}for(var f=[],g=0,h=a.storeNames.length;g<h;g++)f.push(e(a.storeNames[g]));va.all(f).then(function(){b();}).catch(function(a){c(a);});},function(a){c(a);});});}):va.reject("Invalid arguments"),h(d,b),d;}function da(){try{return "undefined"!=typeof localStorage&&"setItem" in localStorage&&!!localStorage.setItem;}catch(a){return !1;}}function ea(a,b){var c=a.name+"/";return a.storeName!==b.storeName&&(c+=a.storeName+"/"),c;}function fa(){var a="_localforage_support_test";try{return localStorage.setItem(a,!0),localStorage.removeItem(a),!1;}catch(a){return !0;}}function ga(){return !fa()||localStorage.length>0;}function ha(a){var b=this,c={};if(a)for(var d in a)c[d]=a[d];return c.keyPrefix=ea(a,b._defaultConfig),ga()?(b._dbInfo=c,c.serializer
214=Va,va.resolve()):va.reject();}function ia(a){var b=this,c=b.ready().then(function(){for(var a=b._dbInfo.keyPrefix,c=localStorage.length-1;c>=0;c--){var d=localStorage.key(c);0===d.indexOf(a)&&localStorage.removeItem(d);}});return h(c,a),c;}function ja(a,b){var c=this;a=j(a);var d=c.ready().then(function(){var b=c._dbInfo,d=localStorage.getItem(b.keyPrefix+a);return d&&(d=b.serializer.deserialize(d)),d;});return h(d,b),d;}function ka(a,b){var c=this,d=c.ready().then(function(){for(var b=c._dbInfo,d=b.keyPrefix,e=d.length,f=localStorage.length,g=1,h=0;h<f;h++){var i=localStorage.key(h);if(0===i.indexOf(d)){var j=localStorage.getItem(i);if(j&&(j=b.serializer.deserialize(j)),void 0!==(j=a(j,i.substring(e),g++)))return j;}}});return h(d,b),d;}function la(a,b){var c=this,d=c.ready().then(function(){var b,d=c._dbInfo;try{b=localStorage.key(a);}catch(a){b=null;}return b&&(b=b.substring(d.keyPrefix.length)),b;});return h(d,b),d;}function ma(a){var b=this,c=b.ready().then(function(){for(var a=b._dbInfo,c=localStorage.length,d=[],e=0;e<c;e++){var f=localStorage.key(e);0===f.indexOf(a.keyPrefix)&&d.push(f.substring(a.keyPrefix.length));}return d;});return h(c,a),c;}function na(a){var b=this,c=b.keys().then(function(a){return a.length;});return h(c,a),c;}function oa(a,b){var c=this;a=j(a);var d=c.ready().then(function(){var b=c._dbInfo;localStorage.removeItem(b.keyPrefix+a);});return h(d,b),d;}function pa(a,b,c){var d=this;a=j(a);var e=d.ready().then(function(){void 0===b&&(b=null);var c=b;return new va(function(e,f){var g=d._dbInfo;g.serializer.serialize(b,function(b,d){if(d)f(d);else try{localStorage.setItem(g.keyPrefix+a,b),e(c);}catch(a){"QuotaExceededError"!==a.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==a.name||f(a),f(a);}});});});return h(e,c),e;}function qa(a,b){if(b=k.apply(this,arguments),a="function"!=typeof a&&a||{},!a.name){var c=this.config();a.name=a.name||c.name,a.storeName=a.storeName||c.storeName;}var d,e=this;return d=a.name?new va(function(b){b(a.storeName?ea(a,e._defaultConfig):a.name+"/");}).then(function(a){for(var b=localStorage.length-1;b>=0;b--){var c=localStorage.key(b);0===c.indexOf(a)&&localStorage.removeItem(c);}}):va.reject("Invalid arguments"),h(d,b),d;}function ra(a,b){a[b]=function(){var c=arguments;return a.ready().then(function(){return a[b].apply(a,c);});};}function sa(){for(var a=1;a<arguments.length;a++){var b=arguments[a];if(b)for(var c in b)b.hasOwnProperty(c)&&($a(b[c])?arguments[0][c]=b[c].slice():arguments[0][c]=b[c]);}return arguments[0];}var ta="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a;}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a;},ua=e();"undefined"==typeof Promise&&a(3);var va=Promise,wa="local-forage-detect-blob-support",xa=void 0,ya={},za=Object.prototype.toString,Aa="readonly",Ba="readwrite",Ca={_driver:"asyncStorage",_initStorage:C,_support:f(),iterate:E,getItem:D,setItem:F,removeItem:G,clear:H,length:I,key:J,keys:K,dropInstance:L},Da="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ea="~~local_forage_type~",Fa=/^~~local_forage_type~([^~]+)~/,Ga="__lfsc__:",Ha=Ga.length,Ia="arbf",Ja="blob",Ka="si08",La="ui08",Ma="uic8",Na="si16",Oa="si32",Pa="ur16",Qa="ui32",Ra="fl32",Sa="fl64",Ta=Ha+Ia.length,Ua=Object.prototype.toString,Va={serialize:P,deserialize:Q,stringToBuffer:N,bufferToString:O},Wa={_driver:"webSQLStorage",_initStorage:S,_support:M(),iterate:V,getItem:U,setItem:X,removeItem:Y,clear:Z,length:$,key:_,keys:aa,dropInstance:ca},Xa={_driver:"localStorageWrapper",_initStorage:ha,_support:da(),iterate:ka,getItem:ja,setItem:pa,removeItem:oa,clear:ia,length:na,key:la,keys:ma,dropInstance:qa},Ya=function(a,b){return a===b||"number"==typeof a&&"number"==typeof b&&isNaN(a)&&isNaN(b);},Za=function(a,b){for(var c=a.length,d=0;d<c;){if(Ya(a[d],b))return !0;d++;}return !1;},$a=Array.isArray||function(a){return "[object Array]"===Object.prototype.toString.call(a);},_a={},ab={},bb={INDEXEDDB:Ca,WEBSQL:Wa,LOCALSTORAGE:Xa},cb=[bb.INDEXEDDB._driver,bb.WEBSQL._driver,bb.LOCALSTORAGE._driver],db=["dropInstance"],eb=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(db),fb={description:"",driver:cb.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1},gb=function(){function a(b){d(this,a);for(var c in bb)if(bb.hasOwnProperty(c)){var e=bb[c],f=e._driver;this[c]=f,_a[f]||this.defineDriver(e);}this._defaultConfig=sa({},fb),this._config=sa({},this._defaultConfig,b),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){});}
214return a.prototype.config=function(a){if("object"===(void 0===a?"undefined":ta(a))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var b in a){if("storeName"===b&&(a[b]=a[b].replace(/\W/g,"_")),"version"===b&&"number"!=typeof a[b])return new Error("Database version must be a number.");this._config[b]=a[b];}return !("driver" in a&&a.driver)||this.setDriver(this._config.driver);}return "string"==typeof a?this._config[a]:this._config;},a.prototype.defineDriver=function(a,b,c){var d=new va(function(b,c){try{var d=a._driver,e=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!a._driver)return void c(e);for(var f=eb.concat("_initStorage"),g=0,i=f.length;g<i;g++){var j=f[g];if((!Za(db,j)||a[j])&&"function"!=typeof a[j])return void c(e);}(function(){for(var b=function(a){return function(){var b=new Error("Method "+a+" is not implemented by the current driver"),c=va.reject(b);return h(c,arguments[arguments.length-1]),c;};},c=0,d=db.length;c<d;c++){var e=db[c];a[e]||(a[e]=b(e));}})();var k=function(c){_a[d]&&console.info("Redefining LocalForage driver: "+d),_a[d]=a,ab[d]=c,b();};"_support" in a?a._support&&"function"==typeof a._support?a._support().then(k,c):k(!!a._support):k(!0);}catch(a){c(a);}});return i(d,b,c),d;},a.prototype.driver=function(){return this._driver||null;},a.prototype.getDriver=function(a,b,c){var d=_a[a]?va.resolve(_a[a]):va.reject(new Error("Driver not found."));return i(d,b,c),d;},a.prototype.getSerializer=function(a){var b=va.resolve(Va);return i(b,a),b;},a.prototype.ready=function(a){var b=this,c=b._driverSet.then(function(){return null===b._ready&&(b._ready=b._initDriver()),b._ready;});return i(c,a,a),c;},a.prototype.setDriver=function(a,b,c){function d(){g._config.driver=g.driver();}function e(a){return g._extend(a),d(),g._ready=g._initStorage(g._config),g._ready;}function f(a){return function(){function b(){for(;c<a.length;){var f=a[c];return c++,g._dbInfo=null,g._ready=null,g.getDriver(f).then(e).catch(b);}d();var h=new Error("No available storage method found.");return g._driverSet=va.reject(h),g._driverSet;}var c=0;return b();};}var g=this;$a(a)||(a=[a]);var h=this._getSupportedDrivers(a),j=null!==this._driverSet?this._driverSet.catch(function(){return va.resolve();}):va.resolve();return this._driverSet=j.then(function(){var a=h[0];return g._dbInfo=null,g._ready=null,g.getDriver(a).then(function(a){g._driver=a._driver,d(),g._wrapLibraryMethodsWithReady(),g._initDriver=f(h);});}).catch(function(){d();var a=new Error("No available storage method found.");return g._driverSet=va.reject(a),g._driverSet;}),i(this._driverSet,b,c),this._driverSet;},a.prototype.supports=function(a){return !!ab[a];},a.prototype._extend=function(a){sa(this,a);},a.prototype._getSupportedDrivers=function(a){for(var b=[],c=0,d=a.length;c<d;c++){var e=a[c];this.supports(e)&&b.push(e);}return b;},a.prototype._wrapLibraryMethodsWithReady=function(){for(var a=0,b=eb.length;a<b;a++)ra(this,eb[a]);},a.prototype.createInstance=function(b){return new a(b);},a;}(),hb=new gb();b.exports=hb;},{3:3}]},{},[4])(4);});;
215!function(e,n,o,a,t){"use strict";var i={id:"b-ajax",selector:"body",eventName:"ajaxSuccess",revRAF:null};function r(){var r=this;n(t).on(i.eventName,(function(n,c,l){e.wwoBigPipeDone()&&c&&(i.revRAF&&(cancelAnimationFrame(i.revRAF),i.revRAF=null),i.revRAF=requestAnimationFrame((function(){Promise.resolve().then((function(){if(r.init){var n=r.options;if(e.find(t,e.selector(n,!0))){var i=t.body,u=e.once.unload;e.once.unload=!0,e.once.remove("b-root","body",t),o.attachBehaviors(i,a),e.trigger("blazy:ajaxSuccess",[r,c,l]),e.once.unload=u}}}))})))}))}o.behaviors.blazyAjax={attach:function(){var n=o.blazy;e.once(r.bind(n),i.id,i.selector,t)},detach:function(n,o,a){"unload"===a&&e.once.removeSafely(i.id,i.selector,t)}}}(dBlazy,jQuery,Drupal,drupalSettings,this.document);
216;
217;((Drupal)=>{"use strict";const pzHelpers={renderableBehaviors:['render_pz_promo_block','render_pz_front_promo_block','render_pz_inspiration_promo_block','render_pz_banner_block','render_pz_front_banner_block','render_pz_recent_recipes_block','render_pz_popular_recipes_block'],userDataDefault:{personalizationComplete:false,settingsFormOpened:false,settingsBannerClosed:false,cookiesAccepted:false,visitedRecipeIds:[],categories:{visited:{targetGroups:[],houseHoldSizes:[]},common:{targetGroups:[],houseHoldSizes:[]}}},fetchData:async(url,type)=>{const response=await fetch(url);if(response.status!==200)throw new Error(`Error fetching data from ${type} with status ${response.status}`);return await response.json();},sortAscending:(array)=>{return array.sort((a,b)=>{return a-b;});},renderBlock:(settings)=>{const userData=localforage.getItem('pz_user_data');var existingContent=document.querySelector(settings.target);if(existingContent!==null){existingContent.classList.add('pz-loading');existingContent.innerHTML='';}userData.then((data)=>
217{if(data===null||!data.cookiesAccepted)data=pzHelpers.userDataDefault;const userSettingsString=pzHelpers.getSettingsString(data);userSettingsString.then((settingsString)=>{const blockHTML=pzHelpers.getBlockHTML(settings,settingsString);blockHTML.then((html)=>{var container=document.querySelector(settings.target);if(container!=null){container.classList.remove('pz-loading');container.innerHTML+=html;}Drupal.attachBehaviors(container,Drupal.settings);if(typeof Drupal.blazy?.init?.reinit==='function')Drupal.blazy.init.reinit();});});});},getBlockHTML:async(settings,userSettings)=>{const siteDomain=location.protocol+'//'+window.location.hostname;let blockFileName=settings.blockId+userSettings;switch(settings.blockType){case 'banner':blockFileName+=`-reg_${settings.region}-vm_${settings.viewMode}-nid_${settings.nodeId}`;break;case 'frontpromo':blockFileName+=`-nid_${settings.nodeId}`;break;case 'inspirationpromo':blockFileName+=`-tid_${settings.tid}`;break;case 'popularrecipes':blockFileName+=`-lang_${settings.lang}`;break;}const blockHTML=pzHelpers.fetchData(`${siteDomain}/sites/default/files/blockJSON/${blockFileName}.json`,'file').then((result)=>{return result.data;}).catch((error)=>{return pzHelpers.fetchData(`${siteDomain}/pz_api/getblock/${blockFileName}`,'API').then((result)=>{return result.data;}).catch((error)=>{console.error(error);return Drupal.t('Error loading content for this block.');});});return await blockHTML;},getSettingsString:async(userData)=>{let settingsString='';if(userData===null)return await '';let targetGroups=userData.categories.common.targetGroups;let houseHoldSizes=userData.categories.common.houseHoldSizes;if(targetGroups.length>0){let uniqueGroups=Array.from(new Set(targetGroups));let targetGroupsString='-tg_'+uniqueGroups.join('_');settingsString+=targetGroupsString;}if(houseHoldSizes.length>0){let uniqueSizes=Array.from(new Set(houseHoldSizes));let houseHoldSizesString='-hh_'+uniqueSizes.join('_');settingsString+=houseHoldSizesString;}return await settingsString;},setUserDataValue:(name,value)=>{const userDataStorage=localforage.getItem('pz_user_data');userDataStorage.then((data)=>{var dataToSave=(data===null)?pzHelpers.userDataDefault:data;dataToSave[name]=value;localforage.setItem('pz_user_data',dataToSave);});},getUserDataValue:(name)=>{const userDataStorage=localforage.getItem('pz_user_data');userDataStorage.then((data)=>{return data[name];});},removeUserData:()=>{const userDataStorage=localforage.getItem('pz_user_data');userDataStorage.then((data)=>{if(data!==null)localforage.removeItem('pz_user_data');});}};window.pzHelpers=pzHelpers;})(Drupal);;
218((Drupal)=>{"use strict";var userData=pzHelpers.userDataDefault;var settingsButton=`
219    <div class="pz-settings-wrapper">
220      <button id="pz-settings-button" class="open-pz-settings">
221        <span class="info-text hidden">${Drupal.t('Choose your favorite content')}</span>
222        <span class="visually-hidden">${Drupal.t('Show personalization settings')}</span>
223      </button>
224    </div>
225  `;var getSettingsBanner=(title)=>{return `
226      <div class="pz-settings-wrapper">
227        <div id="pz-settings-banner">
228          <div class="content">
229            <div class="text">
230              <span>${title}</span>
231              <button class="open-pz-settings">${Drupal.t('Your settings')}</button>
232            </div>
233            <button id="close-pz-banner">
234              <span class="visually-hidden">${Drupal.t('Close settings banner')}</span>
235            </button>
236          </div>
237        </div>
238      </div>
239    `;};var initTracking=(dataToSave)=>{const trackingData=window.personalizationData;if(dataToSave.personalizationComplete){showSettingsToggler(dataToSave);return;}if(trackingData.bundle=='recipe')if(!dataToSave.visitedRecipeIds.includes(trackingData.nodeId)){addVisitedCategories('targetGroups',dataToSave);addVisitedCategories('houseHoldSizes',dataToSave);dataToSave.visitedRecipeIds.push(trackingData.nodeId);}if(dataToSave.visitedRecipeIds.length>=3)findCommonCategories(dataToSave);if(trackingData.bundle=='frontpage'||trackingData.bundle=='inspiration_theme')trackTimeBasedContent(dataToSave);showSettingsToggler(dataToSave);localforage.setItem('pz_user_data',dataToSave);};var addVisitedCategories=(categoryName,dataToSave)=>{if(window.personalizationData[categoryName]!==null){let categories=window.personalizationData[categoryName];dataToSave.categories.visited[categoryName].push(...categories);}};var findCommonCategories=(dataToSave)=>{for(const property in dataToSave.categories.visited){let arrayIndex=dataToSave.categories.visited[property];let duplicates=arrayIndex.filter((item,index)=>arrayIndex.indexOf(item)!==index);duplicates=pzHelpers.sortAscending(duplicates);var uniqueArr=Array.from(new Set(duplicates));dataToSave.categories.common[property]=uniqueArr;if(duplicates.length!==0)dataToSave.personalizationComplete=true;}};var trackTimeBasedContent=(dataToSave)=>
239{setTimeout(()=>{dataToSave.personalizationComplete=true;showSettingsToggler(dataToSave,Drupal.t('Personalize your content'));localforage.setItem('pz_user_data',dataToSave);},60000);};var showSettingsToggler=(dataToSave,bannerTitle=false)=>{var wrapper=document.querySelector('.pz-settings-wrapper');if(wrapper!==null)wrapper.remove();if(!bannerTitle)bannerTitle=Drupal.t('We personalize your content');if(dataToSave.personalizationComplete&&!dataToSave.settingsBannerClosed)showSettingsBanner(bannerTitle);else showSettingsButton();};var showSettingsBanner=(bannerTitle)=>{let banner=getSettingsBanner(bannerTitle);document.body.insertAdjacentHTML('beforeend',banner);addSettingsToggle();let closeButton=document.querySelector('#close-pz-banner');closeButton.addEventListener('click',(e)=>{document.querySelector('.pz-settings-wrapper').remove();showSettingsButton();pzHelpers.setUserDataValue('settingsBannerClosed',true);});};var showSettingsButton=()=>{document.body.insertAdjacentHTML('beforeend',settingsButton);addSettingsToggle();};var addSettingsToggle=()=>{let button=document.querySelector('.open-pz-settings');button.addEventListener('click',(e)=>{document.querySelector('.pz-settings-wrapper').remove();showSettingsButton();openSettingsPopup();pzHelpers.setUserDataValue('settingsBannerClosed',true);});};var openSettingsPopup=()=>{const siteDomain=location.protocol+'//'+window.location.hostname;var button=document.querySelector('.open-pz-settings');button.classList.add('loading');pzHelpers.fetchData(`${siteDomain}/pz_api/getsettingspopup`,'API').then((result)=>{const userDataStorage=localforage.getItem('pz_user_data');userDataStorage.then((data)=>{var dataToSave=(data===null)?userData:data;button.classList.remove('loading');document.body.insertAdjacentHTML('beforeend',result.data);populateSettingsForm(dataToSave);initSettingsFormControls();dataToSave.settingsFormOpened=true;localforage.setItem('pz_user_data',dataToSave);});}).catch((error)=>{console.log(error);});};var populateSettingsForm=(dataToSave)=>{if(dataToSave.settingsFormOpened)var ingressShown=3;else var ingressShown=(dataToSave.personalizationComplete)?2:1;document.querySelector(`#pz-ingress-${ingressShown}`).style.display='block';let checkBoxes=document.querySelectorAll('#personalization-settings-form input[type="checkbox"]');checkBoxes.forEach((el)=>{let intValue=parseInt(el.value);if(dataToSave.categories.common[el.dataset.vocabulary].includes(intValue))el.checked=true;});};var saveSettingsForm=()=>{const userDataStorage=localforage.getItem('pz_user_data');userDataStorage.then((data)=>{var dataToSave=(data===null)?userData:data;let checkBoxes=document.querySelectorAll('#personalization-settings-form input[type="checkbox"]');var dataLayerObj={'event':'personalisation_options_updated','description_words':[],'household_size':[],'foodie':false,'seasonality_interest':false};checkBoxes.forEach((el)=>{let intValue=parseInt(el.value);if(el.checked&&!dataToSave.categories.common[el.dataset.vocabulary].includes(intValue))dataToSave.categories.common[el.dataset.vocabulary].push(intValue);if(!el.checked)dataToSave.categories.common[el.dataset.vocabulary]=dataToSave.categories.common[el.dataset.vocabulary].filter((ele)=>intValue!==ele);else updateDatalayerValue(dataLayerObj,el);});for(const commonCategory in dataToSave.categories.common)dataToSave.categories.common[commonCategory]=pzHelpers.sortAscending(dataToSave.categories.common[commonCategory]);dataToSave.personalizationComplete=true;localforage.setItem('pz_user_data',dataToSave).then((value)=>{animateOut('#personalization-settings-popup',300);addStatusMessage(Drupal.t('Your settings have been saved'),Drupal.t('You can modify your settings by clicking the knife and fork -icon in the bottom left corner.'));dataLayer.push(dataLayerObj);var reRenderRequired=false;pzHelpers.renderableBehaviors.forEach((val)=>{if(Drupal.behaviors[val]!==undefined){Drupal.behaviors[val].init=false;reRenderRequired=true;}});if(reRenderRequired)Drupal.attachBehaviors(document,Drupal.settings);});});};var updateDatalayerValue=(dataLayerObj,el)=>{switch(el.dataset.datalayergroup){case 'consumer_target_groups':dataLayerObj.description_words.push(el.dataset.name);break;case 'household_sizes':dataLayerObj.household_size.push(el.dataset.name);break;case 'foodie':case 'seasonality_interest':dataLayerObj[el.dataset.datalayergroup]=true;break;default:break;}};var deletePersonalizationData=()=>{var dataToSave=userData;dataToSave.cookiesAccepted=true;dataToSave.personalizationComplete=true;dataToSave.settingsFormOpened=true;localforage.setItem('pz_user_data',dataToSave);dataLayer.push({'event':'personalisation_options_cleared'});animateOut('#personalization-settings-popup',300);addStatusMessage(Drupal.t('Personalization removed'),Drupal.t('You can re-activate personalization by clicking the knife and fork -icon in the bottom left corner.'));};var initSettingsFormControls=()=>{document.querySelector('#save-pz-settings').addEventListener('click',(e)=>{e.preventDefault();saveSettingsForm();});document.querySelector('#delete-pz-settings').addEventListener('click',(e)=>{e.preventDefault();deletePersonalizationData();});document.querySelector('#close-pz-settings').addEventListener('click',(e)=>{e.preventDefault();animateOut('#personalization-settings-popup',300);});};var addStatusMessage=(title,message)=>{let statusHTML=`
240    <div id="pz-status-message">
241      <h2>${title}</h2>
242      <div class="content">
243        <div class="message">${message}</div>
244        <div class="button-wrapper">
245          <button id="close-pz-status">OK</button>
246        </div>
247      </div>
248    </div>`;document.body.insertAdjacentHTML('beforeend',statusHTML);document.querySelector('#close-pz-status').addEventListener('click',(e)=>{animateOut('#pz-status-message',300);});};var animateOut=(selector,duration)=>{var el=document.querySelector(selector);el.classList.add('animate-out');setTimeout(()=>{el.remove();},duration);};var initOnetrustSettingsToggle=()=>{var settingsButton=document.querySelector('.ch2-open-settings-btn');if(settingsButton!==null)settingsButton.addEventListener('click',(e)=>{e.preventDefault();window.OneTrust.ToggleInfoDisplay();});};Drupal.behaviors.personalization_tracking={init:false,initOnetrustSettingsToggle:false,attach:(context,settings)=>{if(!Drupal.behaviors.personalization_tracking.init){const userDataStorage=localforage.getItem('pz_user_data');userDataStorage.then((data)=>
248{if(window.OnetrustActiveGroups===undefined)return;else{const cookiesEnabled=(window.OnetrustActiveGroups.includes("C0003"))?true:false;var dataToSave=(data===null)?userData:data;if(window.personalizationData!==null&&cookiesEnabled)initTracking(dataToSave);else{if(cookiesEnabled)showSettingsToggler(dataToSave);}}});Drupal.behaviors.personalization_tracking.init=true;}if(!Drupal.behaviors.personalization_tracking.initOnetrustSettingsToggle){initOnetrustSettingsToggle();Drupal.behaviors.personalization_tracking.initOnetrustSettingsToggle=true;}}};})(Drupal);;
249((Drupal,drupalSettings)=>{Drupal.behaviors.render_pz_banner_block={init:false,attach:(context,settings)=>{if(!Drupal.behaviors.render_pz_banner_block.init){Drupal.behaviors.render_pz_banner_block.init=true;pzHelpers.renderBlock(settings.pzBanner);}}};})(Drupal,drupalSettings);;
250((Drupal,drupalSettings)=>{Drupal.behaviors.render_pz_front_promo_block={init:false,attach:(context,settings)=>{if(!Drupal.behaviors.render_pz_front_promo_block.init){Drupal.behaviors.render_pz_front_promo_block.init=true;pzHelpers.renderBlock(settings.pzFrontPromo);}}};})(Drupal,drupalSettings);;
251((Drupal,drupalSettings)=>{Drupal.behaviors.render_pz_popular_recipes_block={init:false,attach:(context,settings)=>{if(!Drupal.behaviors.render_pz_popular_recipes_block.init){Drupal.behaviors.render_pz_popular_recipes_block.init=true;pzHelpers.renderBlock(settings.pzPopularRecipes);}}};})(Drupal,drupalSettings);;
252((Drupal,drupalSettings)=>{Drupal.behaviors.render_pz_recent_recipes_block={init:false,attach:(context,settings)=>{if(!Drupal.behaviors.render_pz_recent_recipes_block.init){Drupal.behaviors.render_pz_recent_recipes_block.init=true;pzHelpers.renderBlock(settings.pzRecentRecipes);}}};})(Drupal,drupalSettings);;
253!function n(r,e,o){function i(f,u){if(!e[f]){if(!r[f]){var a="function"==typeof require&&require;if(!u&&a)return a(f,!0);if(t)return t(f,!0);var u=new Error("Cannot find module '"+f+"'");throw u.code="MODULE_NOT_FOUND",u;}var a=e[f]={exports:{}};r[f][0].call(a.exports,function(n){return i(r[f][1][n]||n);},a,a.exports,n,r,e,o);}return e[f].exports;}for(var t="function"==typeof require&&require,f=0;f<o.length;f++)i(o[f]);return i;}({1:[function(n,r,e){"use strict";!function(n,r){r.behaviors.main_navigation={attach:function(r){n(r).addBack(),once("main-navigation",".block-superfish",r).forEach(function(r){n(r).find(".sf-horizontal li").find("li, a").off("focus blur mouseenter mouseleave"),n(".left,.right").on("mouseleave",function(){var r=n(this);setTimeout(function(){r.find("> .sfHover").removeClass("sfHover").find("> ul").addClass("sf-hidden");},100);});});}};}(jQuery,Drupal);},{}]},{},[1]);;
254!function r(e,t,n){function o(i,u){if(!t[i]){if(!e[i]){var s="function"==typeof require&&require;if(!u&&s)return s(i,!0);if(a)return a(i,!0);var u=new Error("Cannot find module '"+i+"'");throw u.code="MODULE_NOT_FOUND",u;}var s=t[i]={exports:{}};e[i][0].call(s.exports,function(r){return o(e[i][1][r]||r);},s,s.exports,r,e,t,n);}return t[i].exports;}for(var a="function"==typeof require&&require,i=0;i<n.length;i++)o(n[i]);return o;}({1:[function(r,e,t){"use strict";var n;(n=jQuery)(window).on("load",function(){var r=n("body"),e,t,r;(r.hasClass("page-node-type-recipe")||r.hasClass("page-node-type-product"))&&""!=(e=r.data("nid"))&&(t=(new Date()).toISOString().split("T")[0],r=r.data("lang"),"1"!=sessionStorage.getItem("mostpopular."+r+"."+t+"."+e)&&(n.post("/mostpopular",{nid:e,lang:r}),sessionStorage.setItem("mostpopular."+r+"."+t+"."+e,"1")));});},{}]},{},[1]);;
255/* @license Dual MIT  */
256function jBox(t,i){return this.options={id:null,width:"auto",height:"auto",minWidth:null,minHeight:null,maxWidth:null,maxHeight:null,responsiveWidth:!0,responsiveHeight:!0,responsiveMinWidth:100,responsiveMinHeight:100,attach:null,trigger:"click",preventDefault:!1,title:null,content:null,getTitle:null,getContent:null,isolateScroll:!0,ajax:{url:null,data:"",reload:!1,getURL:"data-url",getData:"data-ajax",setContent:!0,spinner:!0,spinnerDelay:300,spinnerReposition:!0},target:null,position:{x:"center",y:"center"},outside:null,offset:0,attributes:{x:"left",y:"top"},fixed:!1,adjustPosition:!0,adjustTracker:!1,adjustDistance:5,reposition:!0,repositionOnOpen:!0,repositionOnContent:!0,pointer:!1,pointTo:"target",fade:180,animation:null,theme:"Default",addClass:null,overlay:!1,zIndex:1e4,delayOpen:0,delayClose:0,closeOnEsc:!1,closeOnClick:!1,closeOnMouseleave:!1,closeButton:!1,appendTo:jQuery("body"),createOnInit:!1,blockScroll:!1,draggable:!1,dragOver:!0,autoClose:!1,preloadAudio:!0,audio:null,volume:100,onInit:null,onAttach:null,onPosition:null,onCreated:null,onOpen:null,onClose:null,onCloseComplete:null},this._pluginOptions={Tooltip:{getContent:"title",trigger:"mouseenter",position:{x:"center",y:"top"},outside:"y",pointer:!0},Mouse:{responsiveWidth:!1,responsiveHeight:!1,adjustPosition:"flip",target:"mouse",trigger:"mouseenter",position:{x:"right",y:"bottom"},outside:"xy",offset:5}
256,Modal:{target:jQuery(window),fixed:!0,blockScroll:!0,closeOnEsc:!0,closeOnClick:"overlay",closeButton:"title",overlay:!0,animation:"zoomIn"}},this.options=jQuery.extend(!0,this.options,this._pluginOptions[t]?this._pluginOptions[t]:jBox._pluginOptions[t],i),"string"==jQuery.type(t)&&(this.type=t),this._fireEvent=function(t,i){this.options["_"+t]&&this.options["_"+t].bind(this)(i),this.options[t]&&this.options[t].bind(this)(i)},null===this.options.id&&(this.options.id="jBox"+jBox._getUniqueID()),this.id=this.options.id,("center"==this.options.position.x&&"x"==this.options.outside||"center"==this.options.position.y&&"y"==this.options.outside)&&(this.options.outside=null),"target"==this.options.pointTo&&(!this.options.outside||"xy"==this.options.outside)&&(this.options.pointer=!1),"object"!=jQuery.type(this.options.offset)?this.options.offset={x:this.options.offset,y:this.options.offset}:this.options.offset=jQuery.extend({x:0,y:0},this.options.offset),"object"!=jQuery.type(this.options.adjustDistance)?this.options.adjustDistance={top:this.options.adjustDistance,right:this.options.adjustDistance,bottom:this.options.adjustDistance,left:this.options.adjustDistance}
256:this.options.adjustDistance=jQuery.extend({top:5,left:5,right:5,bottom:5},this.options.adjustDistance),this.outside=!(!this.options.outside||"xy"==this.options.outside)&&this.options.position[this.options.outside],this.align=this.outside?this.outside:"center"!=this.options.position.y&&"number"!=jQuery.type(this.options.position.y)?this.options.position.x:"center"!=this.options.position.x&&"number"!=jQuery.type(this.options.position.x)?this.options.position.y:this.options.attributes.x,this._getOpp=function(t){return{left:"right",right:"left",top:"bottom",bottom:"top",x:"y",y:"x"}[t]},this._getXY=function(t){return{left:"x",right:"x",top:"y",bottom:"y",center:"x"}[t]},this._getTL=function(t){return{left:"left",right:"left",top:"top",bottom:"top",center:"left",x:"left",y:"top"}[t]},this._getInt=function(t,i){return"auto"==t?"auto":t&&"string"==jQuery.type(t)&&"%"==t.slice(-1)?jQuery(window)["height"==i?"innerHeight":"innerWidth"]()*parseInt(t.replace("%",""))/100:t},this._createSVG=function(t,i){var s=document.createElementNS("http://www.w3.org/2000/svg",t);return jQuery.each(i,function(t,i){s.setAttribute(i[0],i[1]||"")}),s},this._isolateScroll=function(t){t&&t.length&&t.on("DOMMouseScroll.jBoxIsolateScroll mousewheel.jBoxIsolateScroll",function(i){var s=i.wheelDelta||i.originalEvent&&i.originalEvent.wheelDelta||-i.detail,o=this.scrollTop+t.outerHeight()-this.scrollHeight>=0,e=this.scrollTop<=0;(s<0&&o||s>0&&e)&&i.preventDefault()})},this._setTitleWidth=function(){if(!this.titleContainer||"auto"==this.content[0].style.width&&!this.content[0].style.maxWidth)return null;if("none"==this.wrapper.css("display")){this.wrapper.css("display","block");var t=this.content.outerWidth();this.wrapper.css("display","none")}else var t=this.content.outerWidth();this.titleContainer.css({maxWidth:Math.max(t,parseInt(this.content[0].style.maxWidth))||null})},this._draggable=function(){if(!this.options.draggable)return!1;var t="title"==this.options.draggable?this.titleContainer:this.options.draggable instanceof jQuery?this.options.draggable:"string"==jQuery.type(this.options.draggable)?jQuery(this.options.draggable):this.wrapper;return!(!(t&&t instanceof jQuery&&t.length)||t.data("jBox-draggable"))&&(t.addClass("jBox-draggable").data("jBox-draggable",!0).on("mousedown",function(t){if(2!=t.button&&!jQuery(t.target).hasClass("jBox-noDrag")&&!jQuery(t.target).parents(".jBox-noDrag").length){this.options.dragOver&&this.wrapper.css("zIndex")<=jBox.zIndexMax&&(jBox.zIndexMax+=1,this.wrapper.css("zIndex",jBox.zIndexMax));var i=this.wrapper.outerHeight(),s=this.wrapper.outerWidth(),o=this.wrapper.offset().top+i-t.pageY,e=this.wrapper.offset().left+s-t.pageX;jQuery(document).on("mousemove.jBox-draggable-"+this.id,function(t){this.wrapper.offset({top:t.pageY+o-i,left:t.pageX+e-s})}.bind(this)),t.preventDefault()}}.bind(this)).on("mouseup",function(){jQuery(document).off("mousemove.jBox-draggable-"+this.id
256)}.bind(this)),jBox.zIndexMax=jBox.zIndexMax?Math.max(jBox.zIndexMax,this.options.zIndex):this.options.zIndex,this)},this._create=function(){if(!this.wrapper){if(this.wrapper=jQuery("<div/>",{id:this.id,class:"jBox-wrapper"+(this.type?" jBox-"+this.type:"")+(this.options.theme?" jBox-"+this.options.theme:"")+(this.options.addClass?" "+this.options.addClass:"")}).css({position:this.options.fixed?"fixed":"absolute",display:"none",opacity:0,zIndex:this.options.zIndex}).data("jBox",this),this.options.closeOnMouseleave&&this.wrapper.on("mouseleave",function(t){!this.source||!(t.relatedTarget==this.source[0]||jQuery.inArray(this.source[0],jQuery(t.relatedTarget).parents("*"))!==-1)&&this.close()}.bind(this)),"box"==this.options.closeOnClick&&this.wrapper.on("touchend click",function(){this.close({ignoreDelay:!0})}.bind(this)),this.container=jQuery('<div class="jBox-container"/>').appendTo(this.wrapper),this.content=jQuery('<div class="jBox-content"/>').appendTo(this.container),this.options.footer&&(this.footer=jQuery('<div class="jBox-footer"/>').append(this.options.footer).appendTo(this.container)),this.options.isolateScroll&&this._isolateScroll(this.content),this.options.closeButton){var t=this._createSVG("svg",[["viewBox","0 0 24 24"]]);t.appendChild(this._createSVG("path",[["d","M22.2,4c0,0,0.5,0.6,0,1.1l-6.8,6.8l6.9,6.9c0.5,0.5,0,1.1,0,1.1L20,22.3c0,0-0.6,0.5-1.1,0L12,15.4l-6.9,6.9c-0.5,0.5-1.1,0-1.1,0L1.7,20c0,0-0.5-0.6,0-1.1L8.6,12L1.7,5.1C1.2,4.6,1.7,4,1.7,4L4,1.7c0,0,0.6-0.5,1.1,0L12,8.5l6.8-6.8c0.5-0.5,1.1,0,1.1,0L22.2,4z"]])),this.closeButton=jQuery('<div class="jBox-closeButton jBox-noDrag"/>').on("touchend click",function(t){this.close({ignoreDelay:!0})}.bind(this)).append(t),"box"!=this.options.closeButton&&(this.options.closeButton!==!0||this.options.overlay||this.options.title)||(this.wrapper.addClass("jBox-closeButton-box"),this.closeButton.appendTo(this.container))}if(this.wrapper.appendTo(this.options.appendTo),this.wrapper.find(".jBox-closeButton").length&&jQuery.each(["top","right","bottom","left"],function(t,i){this.wrapper.find(".jBox-closeButton").css(i)&&"auto"!=this.wrapper.find(".jBox-closeButton").css(i)&&(this.options.adjustDistance[i]=Math.max(this.options.adjustDistance[i],this.options.adjustDistance[i]+((parseInt(this.wrapper.find(".jBox-closeButton").css(i))||0)+(parseInt(this.container.css("border-"+i+"-width"))||0))*-1))}.bind(this)),this.options.pointer){if(this.pointer={position:"target"!=this.options.pointTo?this.options.pointTo:this._getOpp(this.outside),xy:"target"!=this.options.pointTo?this._getXY(this.options.pointTo):this._getXY(this.outside),align:"center",offset:0},this.pointer.element=jQuery('<div class="jBox-pointer jBox-pointer-'+this.pointer.position+'"/>').appendTo(this.wrapper),this.pointer.dimensions={x:this.pointer.element.outerWidth(),y:this.pointer.element.outerHeight()},"string"==jQuery.type(this.options.pointer)){var i=this.options.pointer.split(":");i[0]&&(this.pointer.align=i[0]),i[1]&&(this.pointer.offset=parseInt(i[1]))}this.pointer.alignAttribute="x"==this.pointer.xy?"bottom"==this.pointer.align?"bottom":"top":"right"==this.pointer.align?"right":"left",this.wrapper.css("padding-"+this.pointer.position,this.pointer.dimensions[this.pointer.xy]),this.pointer.element.css(this.pointer.alignAttribute,"center"==this.pointer.align?"50%":0).css("margin-"+this.pointer.alignAttribute,this.pointer.offset),this.pointer.margin={},this.pointer.margin["margin-"+this.pointer.alignAttribute]=this.pointer.offset,"center"==this.pointer.align&&this.pointer.element.css("transform","translate("+("y"==this.pointer.xy?this.pointer.dimensions.x*-.5+"px":0)+", "+("x"==this.pointer.xy?this.pointer.dimensions.y*-.5+"px":0)+")"),this.pointer.element.css("x"==this.pointer.xy?"width":"height",parseInt(this.pointer.dimensions[this.pointer.xy])+parseInt(this.container.css("border-"+this.pointer.alignAttribute+"-width"))),this.wrapper.addClass("jBox-pointerPosition-"+this.pointer.position)}this.setContent(this.options.content,!0),this.setTitle(this.options.title,!0),this.options.draggable&&this._draggable(),this._fireEvent("onCreated")}},this.options.createOnInit&&this._create(),this.options.attach&&this.attach(),this._attachEvents=function(){this.options.closeOnEsc&&jQuery(document).on("keyup.jBox-"+this.id,function(t){27==t.keyCode&&this.close({ignoreDelay:!0})}.bind(this)),this.options.closeOnClick!==!0&&"body"!=this.options.closeOnClick||jQuery(document).on("touchend.jBox-"+this.id+" click.jBox-"+this.id,function(t){this.blockBodyClick||"body"==this.options.closeOnClick&&(t.target==this.wrapper[0]||this.wrapper.has(t.target).length)||this.close({ignoreDelay:!0})}.bind(this)),(this.options.adjustPosition||this.options.reposition)&&!this.fixed&&this.outside&&(this.options.adjustTracker&&jQuery(window).on("scroll.jBox-"+this.id,function(t){this.position()}.bind(this)),(this.options.adjustPosition||this.options.reposition)&&jQuery(window).on("resize.jBox-"+this.id,function(t){this.position()}.bind(this))),"mouse"==this.options.target&&jQuery("body").on("mousemove.jBox-"+this.id,function(t){this.position({mouseTarget:{top:t.pageY,left:t.pageX}})}.bind(this))},this._detachEvents=function(){this.options.closeOnEsc&&jQuery(document).off("keyup.jBox-"+this.id
256),(this.options.closeOnClick===!0||"body"==this.options.closeOnClick)&&jQuery(document).off("touchend.jBox-"+this.id+" click.jBox-"+this.id),this.options.adjustTracker&&jQuery(window).off("scroll.jBox-"+this.id),(this.options.adjustPosition||this.options.reposition)&&jQuery(window).off("resize.jBox-"+this.id),"mouse"==this.options.target&&jQuery("body").off("mousemove.jBox-"+this.id)},this._showOverlay=function(){this.overlay||(this.overlay=jQuery('<div id="'+this.id+'-overlay"/>').addClass("jBox-overlay"+(this.type?" jBox-overlay-"+this.type:"")).css({display:"none",opacity:0,zIndex:this.options.zIndex-1}).appendTo(this.options.appendTo),("overlay"==this.options.closeButton||this.options.closeButton===!0)&&this.overlay.append(this.closeButton),"overlay"==this.options.closeOnClick&&this.overlay.on("touchend click",function(){this.close({ignoreDelay:!0})}.bind(this)),jQuery("#"+this.id+"-overlay .jBox-closeButton").length&&(this.options.adjustDistance.top=Math.max(jQuery("#"+this.id+"-overlay .jBox-closeButton").outerHeight(),this.options.adjustDistance.top))),"block"!=this.overlay.css("display")&&(this.options.fade?this.overlay.stop()&&this.overlay.animate({opacity:1},{queue:!1,duration:this.options.fade,start:function(){this.overlay.css({display:"block"})}.bind(this)}):this.overlay.css({display:"block",opacity:1}))},this._hideOverlay=function(){this.overlay&&(this.options.fade?this.overlay.stop()&&this.overlay.animate({opacity:0}
vendor: 6,735 bytes, line 256
256,{queue:!1,duration:this.options.fade,complete:function(){this.overlay.css({display:"none"})}.bind(this)}):this.overlay.css({display:"none",opacity:0}))},this._exposeDimensions=function(){this.wrapper.css({top:-1e4,left:-1e4,right:"auto",bottom:"auto"});var t={x:this.wrapper.outerWidth(),y:this.wrapper.outerHeight()};return this.wrapper.css({top:"auto",left:"auto"}),t},this._generateAnimationCSS=function(){if("object"!=jQuery.type(this.options.animation)&&(this.options.animation={pulse:{open:"pulse",close:"zoomOut"},zoomIn:{open:"zoomIn",close:"zoomIn"},zoomOut:{open:"zoomOut",close:"zoomOut"},move:{open:"move",close:"move"},slide:{open:"slide",close:"slide"},flip:{open:"flip",close:"flip"},tada:{open:"tada",close:"zoomOut"}}[this.options.animation]),!this.options.animation)return null;this.options.animation.open&&(this.options.animation.open=this.options.animation.open.split(":")),this.options.animation.close&&(this.options.animation.close=this.options.animation.close.split(":")),this.options.animation.openDirection=this.options.animation.open[1]?this.options.animation.open[1]:null,this.options.animation.closeDirection=this.options.animation.close[1]?this.options.animation.close[1]:null,this.options.animation.open&&(this.options.animation.open=this.options.animation.open[0]),this.options.animation.close&&(this.options.animation.close=this.options.animation.close[0]),this.options.animation.open&&(this.options.animation.open+="Open"),this.options.animation.close&&(this.options.animation.close+="Close");var t={pulse:{duration:350,css:[["0%","scale(1)"],["50%","scale(1.1)"],["100%","scale(1)"]]},zoomInOpen:{duration:this.options.fade||180,css:[["0%","scale(0.9)"],["100%","scale(1)"]]},zoomInClose:{duration:this.options.fade||180,css:[["0%","scale(1)"],["100%","scale(0.9)"]]},zoomOutOpen:{duration:this.options.fade||180,css:[["0%","scale(1.1)"],["100%","scale(1)"]]},zoomOutClose:{duration:this.options.fade||180,css:[["0%","scale(1)"],["100%","scale(1.1)"]]},moveOpen:{duration:this.options.fade||180,positions:{top:{"0%":-12},right:{"0%":12},bottom:{"0%":12},left:{"0%":-12}},css:[["0%","translate%XY(%Vpx)"],["100%","translate%XY(0px)"]]},moveClose:{duration:this.options.fade||180,timing:"ease-in",positions:{top:{"100%":-12},right:{"100%":12},bottom:{"100%":12},left:{"100%":-12}},css:[["0%","translate%XY(0px)"],["100%","translate%XY(%Vpx)"]]},slideOpen:{duration:400,positions:{top:{"0%":-400},right:{"0%":400},bottom:{"0%":400},left:{"0%":-400}},css:[["0%","translate%XY(%Vpx)"],["100%","translate%XY(0px)"]]},slideClose:{duration:400,timing:"ease-in",positions:{top:{"100%":-400},right:{"100%":400},bottom:{"100%":400},left:{"100%":-400}},css:[["0%","translate%XY(0px)"],["100%","translate%XY(%Vpx)"]]},flipOpen:{duration:600,css:[["0%","perspective(400px) rotateX(90deg)"],["40%","perspective(400px) rotateX(-15deg)"],["70%","perspective(400px) rotateX(15deg)"],["100%","perspective(400px) rotateX(0deg)"]]},flipClose:{duration:this.options.fade||300,css:[["0%","perspective(400px) rotateX(0deg)"],["100%","perspective(400px) rotateX(90deg)"]]},tada:{duration:800,css:[["0%","scale(1)"],["10%, 20%","scale(0.9) rotate(-3deg)"],["30%, 50%, 70%, 90%","scale(1.1) rotate(3deg)"],["40%, 60%, 80%","scale(1.1) rotate(-3deg)"],["100%","scale(1) rotate(0)"]]}};jQuery.each(["pulse","tada"],function(i,s){t[s+"Open"]=t[s+"Close"]=t[s]});var i=function(i,s){return keyframe_css="@keyframes jBox-"+this.id+"-animation-"+this.options.animation[i]+"-"+i+(s?"-"+s:"")+" {",jQuery.each(t[this.options.animation[i]].css,function(o,e){var n=s?e[1].replace("%XY",this._getXY(s).toUpperCase()):e[1];t[this.options.animation[i]].positions&&(n=n.replace("%V",t[this.options.animation[i]].positions[s][e[0]])),keyframe_css+=e[0]+" {transform:"+n+";}"}.bind(this)),keyframe_css+="}",keyframe_css+=".jBox-"+this.id+"-animation-"+this.options.animation[i]+"-"+i+(s?"-"+s:"")+" {",keyframe_css+="animation-duration: "+t[this.options.animation[i]].duration+"ms;",keyframe_css+="animation-name: jBox-"+this.id+"-animation-"+this.options.animation[i]+"-"+i+(s?"-"+s:"")+";",keyframe_css+=t[this.options.animation[i]].timing?"animation-timing-function: "+t[this.options.animation[i]].timing+";":"",keyframe_css+="}",keyframe_css}.bind(this);this._animationCSS="",jQuery.each(["open","close"],function(s,o){return this.options.animation[o]&&t[this.options.animation[o]]&&("close"!=o||this.options.fade)?void(t[this.options.animation[o]].positions?jQuery.each(["top","right","bottom","left"],function(t,s){this._animationCSS+=i(o,s)}.bind(this)):this._animationCSS+=i(o)):""}.bind(this))},this.options.animation&&this._generateAnimationCSS(),this._blockBodyClick=function(){this.blockBodyClick=!0,setTimeout(function(){this.blockBodyClick=!1}.bind(this),10)},this._animate=function(t){if(!t&&(t=this.isOpen?"open":"close"),!this.options.fade&&"close"==t)return null;var i=this.options.animation[t+"Direction"]||("center"!=this.align?this.align:this.options.attributes.x);this.flipped&&this._getXY(i)==this._getXY(this.align)&&(i=this._getOpp(i));var s="jBox-"+this.id+"-animation-"+this.options.animation[t]+"-"+t+" jBox-"+this.id+"-animation-"+this.options.animation[t]+"-"+t+"-"+i;this.wrapper.addClass(s);var o=1e3*parseFloat(this.wrapper.css("animation-duration"));"close"==t&&(o=Math.min(o,this.options.fade)),setTimeout(function(){this.wrapper.removeClass(s)}.bind(this),o)},this._abortAnimation=function(){var t=this.wrapper.attr("class").split(" ").filter(function(t){return 0!==t.lastIndexOf("jBox-"+this.id+"-animation",0)}.bind(this));this.wrapper.attr("class",t.join(" "))},(this.options.responsiveWidth||this.options.responsiveHeight)&&jQuery(window).on("resize.responsivejBox-"+this.id,function(t){this.isOpen&&this.position()}.bind(this)),"string"===jQuery.type(this.options.preloadAudio)&&(this.options.preloadAudio=[this.options.preloadAudio]),"string"===jQuery.type(this.options.audio)&&(this.options.audio={open:this.options.audio}),"number"===jQuery.type(this.options.volume)&&(this.options.volume={open:this.options.volume,close:this.options.volume}),this.options.preloadAudio===!0&&this.options.audio&&(this.options.preloadAudio=[],jQuery.each(this.options.audio,function(t,i){this.options.preloadAudio.push(i+".mp3"),this.options.preloadAudio.push(i+".ogg")}.bind(this))),this.options.preloadAudio.length&&jQuery.each(this.options.preloadAudio,function(t,i){var s=new Audio;s.src=i,s.preload="auto"}),this._fireEvent("onInit"),this}function jBoxPlugin(t,i){jBox._pluginOptions[t]=i}jBox.prototype.attach=function(t,i){return!t&&(t=this.options.attach),"string"==jQuery.type(t)&&(t=jQuery(t)),!i&&(i=this.options.trigger),t&&t.length&&jQuery.each(t,function(t,s){s=jQuery(s),s.data("jBox-attached-"+this.id
256)||("title"==this.options.getContent&&void 0!=s.attr("title")&&s.data("jBox-getContent",s.attr("title")).removeAttr("title"),this.attachedElements||(this.attachedElements=[]),this.attachedElements.push(s[0]),s.on(i+".jBox-attach-"+this.id,function(t){if(this.timer&&clearTimeout(this.timer),"mouseenter"!=i||!this.isOpen||this.source[0]!=s[0]){if(this.isOpen&&this.source&&this.source[0]!=s[0])var o=!0;this.source=s,!this.options.target&&(this.target=s),"click"==i&&this.options.preventDefault&&t.preventDefault(),this["click"!=i||o?"open":"toggle"]()}}.bind(this)),"mouseenter"==this.options.trigger&&s.on("mouseleave",function(t){return this.wrapper?void(this.options.closeOnMouseleave&&(t.relatedTarget==this.wrapper[0]||jQuery(t.relatedTarget).parents("#"+this.id).length)||this.close()):null}.bind(this)),s.data("jBox-attached-"+this.id,i),this._fireEvent("onAttach",s))}.bind(this)),this},jBox.prototype.detach=function(t){return!t&&(t=this.attachedElements||[]),t&&t.length&&jQuery.each(t,function(t,i){i=jQuery(i),i.data("jBox-attached-"+this.id)&&(i.off(i.data("jBox-attached-"+this.id)+".jBox-attach-"+this.id),i.data("jBox-attached-"+this.id,null)),this.attachedElements=jQuery.grep(this.attachedElements,function(t){return t!=i[0]})}.bind(this)),this},jBox.prototype.setTitle=function(t,i){if(null==t||void 0==t)return this;!this.wrapper&&this._create();var s=this.wrapper.outerHeight(),o=this.wrapper.outerWidth();return this.title||(this.titleContainer=jQuery('<div class="jBox-title"/>'),this.title=jQuery("<div/>").appendTo(this.titleContainer),this.wrapper.addClass("jBox-hasTitle"),("title"==this.options.closeButton||this.options.closeButton===!0&&!this.options.overlay)&&(this.wrapper.addClass("jBox-closeButton-title"),this.closeButton.appendTo(this.titleContainer)),this.titleContainer.insertBefore(this.content),this._setTitleWidth()),this.title.html(t),o!=this.wrapper.outerWidth()&&this._setTitleWidth(),this.options.draggable&&this._draggable(),!i&&this.options.repositionOnContent&&(s!=this.wrapper.outerHeight()||o!=this.wrapper.outerWidth())&&this.position(),this},jBox.prototype.setContent=function(t,i){if(null==t||void 0==t)return this;!this.wrapper&&this._create();var s=this.wrapper.outerHeight(),o=this.wrapper.outerWidth();switch(this.content.children("[data-jbox-content-appended]").appendTo("body").css({display:"none"}),jQuery.type(t)){case"string":this.content.html(t);break;case"object":this.content.html(""),t.attr("data-jbox-content-appended",1).appendTo(this.content).css({display:"block"})}return o!=this.wrapper.outerWidth()&&this._setTitleWidth(),this.options.draggable&&this._draggable(),!i&&this.options.repositionOnContent&&(s!=this.wrapper.outerHeight()||o!=this.wrapper.outerWidth())&&this.position(),this},jBox.prototype.setDimensions=function(t,i,s){!this.wrapper&&this._create(),void 0==i&&(i="auto"),this.content.css(t,this._getInt(i)),"width"==t&&this._setTitleWidth(),(void 0==s||s)&&this.position()},jBox.prototype.setWidth=function(t,i){this.setDimensions("width",t,i)},jBox.prototype.setHeight=function(t,i){this.setDimensions("height",t,i)},jBox.prototype.position=function(t){if(!t&&(t={}),t=jQuery.extend(!0,this.options,t),this.target=t.target||this.target||jQuery(window),!(this.target instanceof jQuery||"mouse"==this.target)&&(this.target=jQuery(this.target)),!this.target.length)return this;this.content.css({width:this._getInt(t.width,"width"),height:this._getInt(t.height,"height"),minWidth:this._getInt(t.minWidth,"width"),minHeight:this._getInt(t.minHeight,"height"),maxWidth:this._getInt(t.maxWidth,"width"),maxHeight:this._getInt(t.maxHeight,"height")}),this._setTitleWidth();var i=this._exposeDimensions();"mouse"!=this.target&&!this.target.data("jBox-"+this.id+"-fixed")&&this.target.data("jBox-"+this.id+"-fixed",this.target[0]!=jQuery(window)[0]&&("fixed"==this.target.css("position")||this.target.parents().filter(function(){return"fixed"==jQuery(this).css("position")}).length>0)?"fixed":"static");var s={x:jQuery(window).outerWidth(),y:jQuery(window).outerHeight(),top:t.fixed&&this.target.data("jBox-"+this.id+"-fixed")?0:jQuery(window).scrollTop(),left:t.fixed&&this.target.data("jBox-"+this.id+"-fixed")?0:jQuery(window).scrollLeft()};s.bottom=s.top+s.y,s.right=s.left+s.x;try{var o=this.target.offset()}catch(t){var o={top:0,left:0}}"mouse"!=this.target&&"fixed"==this.target.data("jBox-"+this.id+"-fixed")&&t.fixed&&(o.top=o.top-jQuery(window).scrollTop(),o.left=o.left-jQuery(window).scrollLeft());var e={x:"mouse"==this.target?12:this.target.outerWidth(),y:"mouse"==this.target?20:this.target.outerHeight(),top:"mouse"==this.target&&t.mouseTarget?t.mouseTarget.top:o?o.top:0,left:"mouse"==this.target&&t.mouseTarget?t.mouseTarget.left:o?o.left:0},n=t.outside&&!("center"==t.position.x&&"center"==t.position.y),a={x:s.x-t.adjustDistance.left-t.adjustDistance.right,y:s.y-t.adjustDistance.top-t.adjustDistance.bottom,left:n?e.left-jQuery(window).scrollLeft()-t.adjustDistance.left:0,right:n?s.x-e.left+jQuery(window).scrollLeft()-e.x-t.adjustDistance.right:0,top:n?e.top-jQuery(window).scrollTop()-this.options.adjustDistance.top:0,bottom:n?s.y-e.top+jQuery(window).scrollTop()-e.y-t.adjustDistance.bottom:0},h={x:"x"!=t.outside&&"xy"!=t.outside||"number"==jQuery.type(t.position.x)?null:t.position.x,y:"y"!=t.outside&&"xy"!=t.outside||"number"==jQuery.type(t.position.y)?null:t.position.y},r={x:!1,y:!1};if(h.x&&i.x>a[h.x]&&a[this._getOpp(h.x)]>a[h.x]&&(h.x=this._getOpp(h.x))&&(r.x=!0),h.y&&i.y>a[h.y]&&a[this._getOpp(h.y)]>a[h.y]&&(h.y=this._getOpp(h.y))&&(r.y=!0),t.responsiveWidth||t.responsiveHeight){var p=function(){if(t.responsiveWidth&&i.x>a[h.x||"x"]){var s=a[h.x||"x"]-(this.pointer&&n&&"x"==t.outside?this.pointer.dimensions.x:0)-parseInt(this.container.css("border-left-width"))-parseInt(this.container.css("border-right-width"));this.content.css({width:s>this.options.responsiveMinWidth?s:null,minWidth:s<parseInt(this.content.css("minWidth"))?0:null}),this._setTitleWidth()}i=this._exposeDimensions()}.bind(this);t.responsiveWidth&&p(),t.responsiveWidth&&!r.y&&h.y&&i.y>a[h.y]&&a[this._getOpp(h.y)]>a[h.y]&&(h.y=this._getOpp(h.y))&&(r.y=!0);var l=function(){if(t.responsiveHeight&&i.y>a[h.y||"y"]){var s=function(){if(!this.titleContainer&&!this.footer)return 0;if("none"==this.wrapper.css("display")){this.wrapper.css("display","block");var t=(this.titleContainer?this.titleContainer.outerHeight():0)+(this.footer?this.footer.outerHeight():0);this.wrapper.css("display","none")}else var t=(this.titleContainer?this.titleContainer.outerHeight():0)+(this.footer?this.footer.outerHeight():0);return t||0}.bind(this),o=a[h.y||"y"]-(this.pointer&&n&&"y"==t.outside?this.pointer.dimensions.y:0)-s()-parseInt(this.container.css("border-top-width"))-parseInt(this.container.css("border-bottom-width"));this.content.css({height:o>this.options.responsiveMinHeight?o:null}),this._setTitleWidth()}i=this._exposeDimensions()}.bind(this);t.responsiveHeight&&l(),t.responsiveHeight&&!r.x&&h.x&&i.x>a[h.x]&&a[this._getOpp(h.x)]>a[h.x]&&(h.x=this._getOpp(h.x))&&(r.x=!0),t.adjustPosition&&"move"!=t.adjustPosition&&(r.x&&p(),r.y&&l())}var d={},u=function(s){if("number"==jQuery.type(t.position[s]))return void(d[t.attributes[s]]=t.position[s]);var o=t.attributes[s]="x"==s?"left":"top";return d[o]=e[o],"center"==t.position[s]?(d[o]+=Math.ceil((e[s]-i[s])/2),void("mouse"!=this.target&&this.target[0]&&this.target[0]==jQuery(window)[0]&&(d[o]+=.5*(t.adjustDistance[o]-t.adjustDistance[this._getOpp(o)])))):(o!=t.position[s]&&(d[o]+=e[s]-i[s]),void((t.outside==s||"xy"==t.outside)&&(d[o]+=i[s]*(o!=t.position[s]?1:-1))))}.bind(this);if(u("x"),u("y"),this.pointer&&"target"==t.pointTo&&"number"!=jQuery.type(t.position.x)&&"number"!=jQuery.type(t.position.y)){var c=0;switch(this.pointer.align){case"center":"center"!=t.position[this._getOpp(t.outside)]&&(c+=i[this._getOpp(t.outside)]/2);break;default:switch(t.position[this._getOpp(t.outside)]){case"center":c+=(i[this._getOpp(t.outside)]/2-this.pointer.dimensions[this._getOpp(t.outside)]/2)*(this.pointer.align==this._getTL(this.pointer.align)?1:-1);break;default:c+=this.pointer.align!=t.position[this._getOpp(t.outside)]?this.dimensions[this._getOpp(t.outside)]*(jQuery.inArray(this.pointer.align,["top","left"])!==-1?1:-1)+this.pointer.dimensions[this._getOpp(t.outside)]/2*(jQuery.inArray(this.pointer.align,["top","left"])!==-1?-1:1):this.pointer.dimensions[this._getOpp(t.outside)]/2*(jQuery.inArray(this.pointer.align,["top","left"])!==-1?1:-1)}}c*=t.position[this._getOpp(t.outside)]==this.pointer.alignAttribute?-1:1,c+=this.pointer.offset*(this.pointer.align==this._getOpp(this._getTL(this.pointer.align))?1:-1),d[this._getTL(this._getOpp(this.pointer.xy))]+=c}if(d[t.attributes.x]+=t.offset.x,d[t.attributes.y]+=t.offset.y,this.wrapper.css(d),t.adjustPosition){this.positionAdjusted&&(this.pointer&&this.wrapper.css("padding",0).css("padding-"+this._getOpp(this.outside),this.pointer.dimensions[this._getXY(this.outside)]).removeClass("jBox-pointerPosition-"+this._getOpp(this.pointer.position)).addClass("jBox-pointerPosition-"+this.pointer.position),this.pointer&&this.pointer.element.attr("class","jBox-pointer jBox-pointer-"+this._getOpp(this.outside)).css(this.pointer.margin),this.positionAdjusted=!1,this.flipped=!1);var g=s.top>d.top-(t.adjustDistance.top||0),m=s.right<d.left+i.x+(t.adjustDistance.right||0),f=s.bottom<d.top+i.y+(t.adjustDistance.bottom||0),y=s.left>d.left-(t.adjustDistance.left||0),x=y?"left":m?"right":null,j=g?"top":f?"bottom":null,b=x||j;if(b){var v=function(s){this.wrapper.css(this._getTL(s),d[this._getTL(s)]+(i[this._getXY(s)]+t.offset[this._getXY(s)]*("top"==s||"left"==s?-2:2)+e[this._getXY(s)])*("top"==s||"left"==s?1:-1)),this.pointer&&this.wrapper.removeClass("jBox-pointerPosition-"+this.pointer.position).addClass("jBox-pointerPosition-"+this._getOpp(this.pointer.position)).css("padding",0).css("padding-"+s,this.pointer.dimensions[this._getXY(s)]),this.pointer&&this.pointer.element.attr("class","jBox-pointer jBox-pointer-"+s),this.positionAdjusted=!0,this.flipped=!0}.bind(this);r.x&&v(this.options.position.x),r.y&&v(this.options.position.y);var B="x"==this._getXY(this.outside)?j:x;if(this.pointer&&"target"==t.pointTo&&"flip"!=t.adjustPosition&&this._getXY(B)==this._getOpp(this._getXY(this.outside))){if("center"==this.pointer.align)var _=i[this._getXY(B)]/2-this.pointer.dimensions[this._getOpp(this.pointer.xy)]/2-parseInt(this.pointer.element.css("margin-"+this.pointer.alignAttribute))*(B!=this._getTL(B)?-1:1);else var _=B==this.pointer.alignAttribute?parseInt(this.pointer.element.css("margin-"+this.pointer.alignAttribute)):i[this._getXY(B)]-parseInt(this.pointer.element.css("margin-"+this.pointer.alignAttribute))-this.pointer.dimensions[this._getXY(B)];spaceDiff=B==this._getTL(B)?s[this._getTL(B)]-d[this._getTL(B)]+t.adjustDistance[B]:(s[this._getOpp(this._getTL(B))]-d[this._getTL(B)]-t.adjustDistance[B]-i[this._getXY(B)])*-1,B==this._getOpp(this._getTL(B))&&d[this._getTL(B)]-spaceDiff<s[this._getTL(B)]+t.adjustDistance[this._getTL(B)]&&(spaceDiff-=s[this._getTL(B)]+t.adjustDistance[this._getTL(B)]-(this.pos[this._getTL(B)]-spaceDiff)),spaceDiff=Math.min(spaceDiff,_),spaceDiff<=_&&spaceDiff>0&&(this.pointer.element.css("margin-"+this.pointer.alignAttribute,parseInt(this.pointer.element.css("margin-"+this.pointer.alignAttribute))-spaceDiff*(B!=this.pointer.alignAttribute?-1:1)),this.wrapper.css(this._getTL(B),d[this._getTL(B)]+spaceDiff*(B!=this._getTL(B)?-1:1)),this.positionAdjusted=!0)}}}return this._fireEvent("onPosition"),this},jBox.prototype.open=function(t){if(!t&&(t={}),this.isDestroyed)return!1;if(!this.wrapper&&this._create(),!this._styles&&(this._styles=jQuery("<style/>").append(this._animationCSS).appendTo(jQuery("head"))),this.timer&&clearTimeout(this.timer),this._blockBodyClick(),this.isDisabled)return this;var i=function(){this.source&&this.options.getTitle&&(this.source.attr(this.options.getTitle)&&this.setTitle(this.source.attr(this.options.getTitle)),!0),this.source&&this.options.getContent&&(this.source.data("jBox-getContent")?this.setContent(this.source.data("jBox-getContent"),!0):this.source.attr(this.options.getContent)?this.setContent(this.source.attr(this.options.getContent),!0):"html"==this.options.getContent?this.setContent(this.source.html(),!0):null),this._fireEvent("onOpen"),(this.options.ajax&&(this.options.ajax.url||this.source&&this.source.attr(this.options.ajax.getURL))&&(!this.ajaxLoaded||this.options.ajax.reload)||t.ajax&&(t.ajax.url||t.ajax.data))&&("strict"==this.options.ajax.reload||!this.source||!this.source.data("jBox-ajax-data")||t.ajax&&(t.ajax.url||t.ajax.data)?this.ajax(t.ajax||null,!0):this.setContent(this.source.data("jBox-ajax-data"))),(!this.positionedOnOpen||this.options.repositionOnOpen)&&this.position(t)&&(this.positionedOnOpen=!0),this.isClosing&&this._abortAnimation(),this.isOpen||(this.isOpen=!0,this.options.autoClose&&(this.options.delayClose=this.options.autoClose)&&this.close(),this._attachEvents(),this.options.blockScroll&&jQuery("body").addClass("jBox-blockScroll-"+this.id
256),
257this.options.overlay&&this._showOverlay(),this.options.animation&&!this.isClosing&&this._animate("open"),this.options.audio&&this.options.audio.open&&this.audio(this.options.audio.open,this.options.volume.open),this.options.fade?this.wrapper.stop().animate({opacity:1},{queue:!1,duration:this.options.fade,start:function(){this.isOpening=!0,this.wrapper.css({display:"block"})}.bind(this),always:function(){this.isOpening=!1,setTimeout(function(){this.positionOnFadeComplete&&this.position()&&(this.positionOnFadeComplete=!1)}.bind(this),10)}.bind(this)}):(this.wrapper.css({display:"block",opacity:1}),this.positionOnFadeComplete&&this.position()&&(this.positionOnFadeComplete=!1)))}.bind(this);return!this.options.delayOpen||this.isOpen||this.isClosing||t.ignoreDelay?i():this.timer=setTimeout(i,this.options.delayOpen),this},jBox.prototype.close=function(t){if(t||(t={}),this.isDestroyed||this.isClosing)return!1;if(this.timer&&clearTimeout(this.timer),this._blockBodyClick(),this.isDisabled)return this;var i=function(){this._fireEvent("onClose"),this.isOpen&&(this.isOpen=!1,this._detachEvents(),this.options.blockScroll&&jQuery("body").removeClass("jBox-blockScroll-"+this.id),this.options.overlay&&this._hideOverlay(),this.options.animation&&!this.isOpening&&this._animate("close"),this.options.audio&&this.options.audio.close&&this.audio(this.options.audio.close,this.options.volume.close),this.options.fade?this.wrapper.stop().animate({opacity:0}
257,{queue:!1,duration:this.options.fade,start:function(){this.isClosing=!0}.bind(this),complete:function(){this.wrapper.css({display:"none"}),this._fireEvent("onCloseComplete")}.bind(this),always:function(){this.isClosing=!1}.bind(this)}):(this.wrapper.css({display:"none",opacity:0}),this._fireEvent("onCloseComplete")))}.bind(this);return t.ignoreDelay?i():this.timer=setTimeout(i,Math.max(this.options.delayClose,10)),this},jBox.prototype.toggle=function(t){return this[this.isOpen?"close":"open"](t),this},jBox.prototype.disable=function(){return this.isDisabled=!0,this},jBox.prototype.enable=function(){return this.isDisabled=!1,this},jBox.prototype.hide=function(){return this.disable(),this.wrapper&&this.wrapper.css({display:"none"}),this},jBox.prototype.show=function(){return this.enable(),this.wrapper&&this.wrapper.css({display:"block"}),this},jBox.prototype.ajax=function(t,i){t||(t={}),jQuery.each([["getData","data"],["getURL","url"]],function(i,s){this.options.ajax[s[0]]&&!t[s[1]]&&this.source&&void 0!=this.source.attr(this.options.ajax[s[0]])&&(t[s[1]]=this.source.attr(this.options.ajax[s[0]])||"")}.bind(this));var s=jQuery.extend(!0,{},this.options.ajax);this.ajaxRequest&&this.ajaxRequest.abort();var o=t.beforeSend||s.beforeSend||function(){},e=t.complete||s.complete||function(){},n=t.success||s.success||function(){},a=t.error||s.error||function(){},h=jQuery.extend(!0,s,t);return h.beforeSend=function(){this.wrapper.addClass("jBox-loading"),h.spinner&&(this.spinnerDelay=setTimeout(function(){this.wrapper.addClass("jBox-loading-spinner"),h.spinnerReposition&&(i?this.positionOnFadeComplete=!0:this.position()),this.spinner=jQuery(h.spinner!==!0?h.spinner:'<div class="jBox-spinner"></div>').appendTo(this.container),this.titleContainer&&"absolute"==this.spinner.css("position")&&this.spinner.css({transform:"translateY("+.5*this.titleContainer.outerHeight()+"px)"})}.bind(this),""==this.content.html()?0:h.spinnerDelay||0)),o.bind(this)()}.bind(this),h.complete=function(t){this.spinnerDelay&&clearTimeout(this.spinnerDelay),this.wrapper.removeClass("jBox-loading jBox-loading-spinner jBox-loading-spinner-delay"),this.spinner&&this.spinner.length&&this.spinner.remove()&&h.spinnerReposition&&(i?this.positionOnFadeComplete=!0:this.position()),this.ajaxLoaded=!0,e.bind(this)(t)}.bind(this),h.success=function(t){h.setContent&&this.setContent(t,!0)&&(i?this.positionOnFadeComplete=!0:this.position()),h.setContent&&this.source&&this.source.data("jBox-ajax-data",t),n.bind(this)(t)}.bind(this),h.error=function(t){a.bind(this)(t)}.bind(this),this.ajaxRequest=jQuery.ajax(h),this},jBox.prototype.audio=function(t,i){if(!t)return this;if(!jBox._audio&&(jBox._audio={}),!jBox._audio[t]){var s=jQuery("<audio/>");jQuery("<source/>",{src:t+".mp3"}).appendTo(s),jQuery("<source/>",{src:t+".ogg"}).appendTo(s),jBox._audio[t]=s[0]}jBox._audio[t].volume=Math.min((void 0!=i?i:100)/100,1);try{jBox._audio[t].pause(),jBox._audio[t].currentTime=0}catch(t){}return jBox._audio[t].play(),this},jBox._animationSpeeds={tada:1e3,tadaSmall:1e3,flash:500,shake:400,pulseUp:250,pulseDown:250,popIn:250,popOut:250,fadeIn:200,fadeOut:200,slideUp:400,slideRight:400,slideLeft:400,slideDown:400},jBox.prototype.animate=function(t,i){!i&&(i={}),!this.animationTimeout&&(this.animationTimeout={}),!i.element&&(i.element=this.wrapper),!i.element.data("jBox-animating-id")&&i.element.data("jBox-animating-id",jBox._getUniqueElementID()),i.element.data("jBox-animating")&&(i.element.removeClass(i.element.data("jBox-animating")).data("jBox-animating",null),this.animationTimeout[i.element.data("jBox-animating-id")]&&clearTimeout(this.animationTimeout[i.element.data("jBox-animating-id")])),i.element.addClass("jBox-animated-"+t).data("jBox-animating","jBox-animated-"+t),this.animationTimeout[i.element.data("jBox-animating-id")]=setTimeout(function(){i.element.removeClass(i.element.data("jBox-animating")).data("jBox-animating",null),i.complete&&i.complete()},jBox._animationSpeeds[t])},jBox.prototype.destroy=function(){return this.detach(),this.isOpen&&this.close({ignoreDelay:!0}),this.wrapper&&this.wrapper.remove(),this.overlay&&this.overlay.remove(),this._styles&&this._styles.remove(),this.isDestroyed=!0,this},jBox._getUniqueID=function(){var t=1;return function(){return t++}}(),jBox._getUniqueElementID=function(){var t=1;return function(){return t++}}(),jBox._pluginOptions={},jQuery.fn.jBox=function(t,i){return!t&&(t={}),!i&&(i={}),new jBox(t,jQuery.extend(i,{attach:this}))};;
258/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
259!function e(r,n,t){function o(c,u){if(!n[c]){if(!r[c]){var a="function"==typeof require&&require;if(!u&&a)return a(c,!0);if(i)return i(c,!0);var u=new Error("Cannot find module '"+c+"'");throw u.code="MODULE_NOT_FOUND",u;}var a=n[c]={exports:{}};r[c][0].call(a.exports,function(e){return o(r[c][1][e]||e);},a,a.exports,e,r,n,t);}return n[c].exports;}for(var i="function"==typeof require&&require,c=0;c<t.length;c++)o(t[c]);return o;}({1:[function(e,r,n){"use strict";!function(e,r){r.behaviors.node_content_highlight_teaser={attach:function(r,n){once("jbox-trigger",".jbox-trigger",r).forEach(function(r){var n=e("#"+e(r).data("jbox-content-id")),t;0<n.find(".vidyard-player-embed").length&&0==e("#vidyard-script").length&&((t=document.createElement("script")).src="https://play.vidyard.com/embed/v4.js",t.id="vidyard-script",document.body.appendChild(t)),e(r).click(function(){0<n.length&&new jBox("Modal",{content:n.html(),closeOnEsc:!0,closeOnClick:!0,onClose:function(){e(".jBox-wrapper,.jBox-overlay").remove();}}).open();});});}};}(jQuery,Drupal);},{}]},{},[1]);;
260!function n(t,e,r){function i(a,u){if(!e[a]){if(!t[a]){var f="function"==typeof require&&require;if(!u&&f)return f(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u;}var f=e[a]={exports:{}};t[a][0].call(f.exports,function(n){return i(t[a][1][n]||n);},f,f.exports,n,t,e,r);}return e[a].exports;}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i;}({1:[function(n,t,e){"use strict";!function(n,t){t.behaviors.rate_widget={attach:function(){n(".node--view-mode-top-content .rating").each(function(){var t=n(this);t.find(".trigger").not(".initialized").click(function(e){n(this).addClass("initialized"),e.preventDefault(),e.stopPropagation(),n(this).addClass("open");var e=t.find(".form");e.is(":hidden")&&e.fadeIn(250),n(once("rating-click-handler","body")).click(function(){n(".node--view-mode-top-content .rating .form").fadeOut(250),n(this).removeClass("open");});});});}};}(jQuery,Drupal);},{}]},{},[1]);;
261/* @license MIT https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html */
262(function($,Drupal,once){Drupal.behaviors.superfish={attach(context,drupalSettings){$.each(drupalSettings.superfish||{},function(index,options){$(once('superfish',`ul#${options.id}`,context)).each(function(){const $menu=$(this);if(options.plugins)if(options.plugins.supersubs)$menu.supersubs(options.plugins.supersubs);$menu.superfish(options.sf);if(options.plugins){if(options.plugins.touchscreen)$menu.sftouchscreen(options.plugins.touchscreen);if(options.plugins.smallscreen)$menu.sfsmallscreen(options.plugins.smallscreen);if(options.plugins.supposition)$menu.supposition();}});});}};})(jQuery,Drupal,once);;
263/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
264(function($){$.fn.superfish=function(superfish_options){const cssClasse
264s=sf.cssClasses;const $arrow=$(`<span class="${cssClasses.arrowClass}"> &#187;</span>`);const over=function(){const $$=$(this);const menu=getMenu($$);clearTimeout(menu.sfTimer);$$.showSuperfishUl().siblings().hideSuperfishUl();};const out=function(){const $$=$(this);const menu=getMenu($$);const options=sf.options;clearTimeout(menu.sfTimer);menu.sfTimer=setTimeout(function(){if($$.children('.sf-clicked').length===0){options.retainPath=($.inArray($$[0],options.$path)>-1);$$.hideSuperfishUl();if(options.$path.length&&$$.parents(`li.${cssClasses.hoverClass}`).length<1)over.call(options.$path);}},options.delay);};const getMenu=function($menu){const menu=$menu.parents(`ul.${cssClasses.menuClass}:first`)[0];sf.options=sf.optionsList[menu.serial];return menu;};const addArrow=function($a){$a.addClass(cssClasses.anchorClass).append($arrow.clone());};return this.each(function(){const s=this.serial=sf.optionsList.length;const options=$.extend({},sf.defaults,superfish_options);options.$path=$(`li.${options.pathClass}`,this).slice(0,options.pathLevels);const path=options.$path;for(let l=0;l<path.length;l++)path.eq(l).addClass(`${cssClasses.hoverClass} ${cssClasses.bcClass}`).filter('li:has(ul)').removeClass(options.pathClass);sf.optionsList[s]=sf.options=options;$('li:has(ul)',this)[($.fn.hoverIntent&&!options.disableHI)?'hoverIntent':'hover'](over,out).each(function(){if(options.autoArrows)addArrow($(this).children('a:first-child, span.nolink:first-child'));}).not('.'+cssClasses.bcClass).hideSuperfishUl();const $a=$('a, span.nolink',this);$a.each(function(i){const $li=$a.eq(i).parents('li');$a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);});});options.onInit.call(this);}).each(function(){const menuClasses=[cssClasses.menuClass];if(sf.options.dropShadows)menuClasses.push(cssClasses.shadowClass);$(this).addClass(menuClasses.join(' '));});};const sf=$.fn.superfish;sf.optionsList=[];sf.options={};sf.cssClasses={bcClass:'sf-breadcrumb',menuClass:'sf-js-enabled',anchorClass:'sf-with-ul',arrowClass:'sf-sub-indicator',shadowClass:'sf-shadow',hiddenClass:'sf-hidden',hoverClass:'sfHover'};sf.defaults={pathClass:'overideThisToUse',pathLevels:1,delay:800,animation:{opacity:'show'},speed:'fast',autoArrows:true,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};$.fn.extend({hideSuperfishUl:function(){const options=sf.options;const not=options.retainPath===true?options.$path:'';options.retainPath=false;const $ul=$(`li.${sf.cssClasses.hoverClass}`,this).add(this).not(not).removeClass(sf.cssClasses.hoverClass).children('ul').addClass(sf.cssClasses.hiddenClass);options.onHide.call($ul);return this;},showSuperfishUl:function(){this.removeClass(sf.cssClasses.hiddenClass);const options=sf.options;const $ul=this.addClass(sf.cssClasses.hoverClass).children(`ul.${sf.cssClasses.hiddenClass}`).hide().removeClass(sf.cssClasses.hiddenClass);options.onBeforeShow.call($ul);$ul.animate(options.animation,options.speed,function(){options.onShow.call($ul);});return this;}});})(jQuery);;
265/*!
266 * hoverIntent v1.10.1 // 2019.10.05 // jQuery v1.7.0+
267 * http://briancherne.github.io/jquery-hoverIntent/
268 *
269 * You may use hoverIntent under the terms of the MIT license. Basically that
270 * means you are free to use hoverIntent as long as this header is left intact.
271 * Copyright 2007-2019 Brian Cherne
272 */
273!function(factory){"use strict";"function"==typeof define&&define.amd?define(["jquery"],factory):"object"==typeof module&&module.exports?module.exports=factory(require("jquery")):jQuery&&!jQuery.fn.hoverIntent&&factory(jQuery)}(function($){"use strict";function track(ev){cX=ev.pageX,cY=ev.pageY}var cX,cY,_cfg={interval:100,sensitivity:6,timeout:0},INSTANCE_COUNT=0,compare=function(ev,$el,s,cfg){if(Math.sqrt((s.pX-cX)*(s.pX-cX)+(s.pY-cY)*(s.pY-cY))<cfg.sensitivity)return $el.off(s.event,track),delete s.timeoutId,s.isActive=!0,ev.pageX=cX,ev.pageY=cY,delete s.pX,delete s.pY,cfg.over.apply($el[0],[ev]);s.pX=cX,s.pY=cY,s.timeoutId=setTimeout(function(){compare(ev,$el,s,cfg)},cfg.interval)};$.fn.hoverIntent=function(handlerIn,handlerOut,selector){var instanceId=INSTANCE_COUNT++,cfg=$.extend({},_cfg);$.isPlainObject(handlerIn)?(cfg=$.extend(cfg,handlerIn),(typeof cfg.out==="function")||(cfg.out=cfg.over)):cfg=(typeof handlerOut==="function")?$.extend(cfg,{over:handlerIn,out:handlerOut,selector:selector}):$.extend(cfg,{over:handlerIn,out:handlerIn,selector:handlerOut});function handleHover(e){var ev=$.extend({},e),$el=$(this),hoverIntentData=$el.data("hoverIntent");hoverIntentData||$el.data("hoverIntent",hoverIntentData={});var state=hoverIntentData[instanceId];state||(hoverIntentData[instanceId]=state={id:instanceId}),state.timeoutId&&(state.timeoutId=clearTimeout(state.timeoutId));
273var mousemove=state.event="mousemove.hoverIntent.hoverIntent"+instanceId;if("mouseenter"===e.type){if(state.isActive)return;state.pX=ev.pageX,state.pY=ev.pageY,$el.off(mousemove,track).on(mousemove,track),state.timeoutId=setTimeout(function(){compare(ev,$el,state,cfg)},cfg.interval)}else{if(!state.isActive)return;$el.off(mousemove,track),state.timeoutId=setTimeout(function(){!function(ev,$el,s,out){var data=$el.data("hoverIntent");data&&delete data[s.id],out.apply($el[0],[ev])}(ev,$el,state,cfg.out)},cfg.timeout)}}return this.on({"mouseenter.hoverIntent":handleHover,"mouseleave.hoverIntent":handleHover},cfg.selector)}});;
274(function($){$.fn.sfsmallscreen=function(options){options=$.extend({mode:'inactive',type:'accordion',breakpoint:768,breakpointUnit:'px',useragent:'',title:'',addSelected:false,menuClasses:false,hyperlinkClasses:false,excludeClass_menu:'',excludeClass_hyperlink:'',includeClass_menu:'',includeClass_hyperlink:'',accordionButton:1,expandText:'Expand',collapseText:'Collapse'},options);function refine(menu){const refined=menu.clone();const rm=refined.find('span.sf-sub-indicator');const rh=refined.find('.sf-smallscreen-remove');const mm=refined.find('ul.sf-multicolumn');for(let a=0;a<rh.length;a++)rh.eq(a).replaceWith(rh.eq(a).html());if(options.accordionButton===2||options.type==='select'){for(let b=0;b<rm.length;b++)rm.eq(b).remove();}if(mm.length>0){mm.removeClass('sf-multicolumn');const ol=refined.find('div.sf-multicolumn-column > ol');for(let o=0;o<ol.length;o++)ol.eq(o).replaceWith('<ul>'+ol.eq(o).html()+'</ul>');const elements=['div.sf-multicolumn-column','.sf-multicolumn-wrapper > ol','li.sf-multicolumn-wrapper'];for(let i=0;i<elements.length;i++){let obj=refined.find(elements[i]);for(let t=0;t<obj.length;t++)obj.eq(t).replaceWith(obj.eq(t).html());}refined.find('.sf-multicolumn-column').removeClass('sf-multicolumn-column');}refined.add(refined.find('*')).css({width:''});return refined;}function toSelect(menu,level){let items='';const childLI=$(menu).children('li');for(let a=0;a<childLI.length;a++){const list=childLI.eq(a);const parent=list.children('a, span');for(let b=0;b<parent.length;b++){const item=parent.eq(b);const path=(item.is('a')&&!!item.attr('href'))?item.attr('href'):'';const itemClone=item.clone();let classes=(options.hyperlinkClasses)?((options.excludeClass_hyperlink&&itemClone.hasClass(options.excludeClass_hyperlink))?itemClone.removeClass(options.excludeClass_hyperlink).attr('class'):itemClone.attr('class')):'';classes=(options.includeClass_hyperlink&&!itemClone.hasClass(options.includeClass_hyperlink))?((options.hyperlinkClasses)?itemClone.addClass(options.includeClass_hyperlink).attr('class'):options.includeClass_hyperlink):classes;if(options.addSelected&&item.hasClass('active'))classes+=' active';classes=classes?' class="'+classes+'"':'';const disable=path===''||path==='#'?' disabled="disabled"':'';const subIndicator=1<level?Array(level).join('-')+' ':'';items+='<option value="'+path+'"'+classes+disable+'>'+subIndicator+item.text().trim()+'</option>';const childUL=list.find('> ul');for(let u=0;u<childUL.length;u++)items+=toSelect(childUL.eq(u),level+1);}}return items;}function convert(menu){const menuID=menu.attr('id');const refinedMenu=refine(menu);if(options.type==='accordion'){const toggleID=menuID+'-toggle';const accordionID=menuID+'-accordion';if($('#'+accordionID).length!==0)return;const styleClass=menu.attr('class').split(' ').filter(function(item){return item.indexOf('sf-style-')>-1?item:'';});const accordion=$(refinedMenu).attr('id',accordionID);accordion.removeClass('sf-horizontal sf-vertical sf-navbar sf-shadow sf-js-enabled');accordion.addClass('sf-accordion sf-hidden');accordion.find('li').each(function(){$(this).removeAttr('style').removeClass('sfHover').attr('id',$(this).attr('id')+'-accordion');});accordion.children('ul').removeAttr('style').not('.sf-hidden').addClass('sf-hidden');accordion.find('ul').each(function(){$(this).removeAttr('style').not('.sf-hidden').addClass('sf-hidden');});const toggle='<div class="sf-accordion-toggle '+styleClass+'"><a href="#" id="'+toggleID+'"><span>'+options.title+'</span></a></div>';if(options.accordionButton===2){accordion.addClass('sf-accordion-with-buttons');const parent=accordion.find('li.menuparent');for(let i=0;i<parent.length;i++)parent.eq(i).prepend('<a href="#" class="sf-accordion-button">'+options.expandText+'</a>');}menu.before(toggle).before(accordion).hide();const $accordionElement=$('#'+accordionID);const buttonElement=(options.accordionButton<2)?'a.menuparent,span.nolink.menuparent':'a.sf-accordion-button';const $button=$accordionElement.find(buttonElement);$('#'+toggleID).on('click',function(e){e.preventDefault();$(this).toggleClass('sf-expanded');if($accordionElement.hasClass('sf-expanded')){$accordionElement.add($accordionElement.find('li.sf-expanded')).removeClass('sf-expanded').end().children('ul').hide().end().hide().addClass('sf-hidden').show();if(options.accordionButton===2)$accordionElement.find('a.sf-accordion-button').text(options.expandText);}else $accordionElement.addClass('sf-expanded').hide().removeClass('sf-hidden').show();});$button.on('click',function(e){if($(this).closest('li').children('ul').length===0)return;e.preventDefault();const $parent=$(this).closest('li');if(options.accordionButton===1&&$parent.children('a.menuparent,span.nolink.menuparent').length>0&&$parent.children('ul').children('li.sf-clone-parent').length===0){let cloneLink=$parent.children('a.menuparent').clone();cloneLink.removeClass('menuparent sf-with-ul').children('.sf-sub-indicator').remove();cloneLink=$('<li class="sf-clone-parent" />').html(cloneLink);$parent.children('ul').addClass('sf-has-clone-parent').prepend(clone
274Link);}if(options.accordionButton===0||options.accordionButton===1)$accordionElement.find('a.is-active:not(.menuparent)').on('click',function(e){$accordionElement.removeClass('sf-expanded').addClass('sf-hidden');});if(options.accordionButton===2)$accordionElement.find('a.is-active').on('click',function(e){$accordionElement.removeClass('sf-expanded').addClass('sf-hidden');});if($parent.hasClass('sf-expanded')){$parent.children('ul').slideUp('fast',function(){$(this).closest('li').removeClass('sf-expanded').end().addClass('sf-hidden').show();});if(options.accordionButton===2&&$parent.children('.sf-accordion-button').length>0)$parent.children('.sf-accordion-button').text(options.expandText);}else $parent.children('ul').hide().removeClass('sf-hidden').slideDown('fast').end().addClass('sf-expanded').children('a.sf-accordion-button').text(options.collapseText).end().siblings('li.sf-expanded').children('ul').slideUp('fast',function(){$(this).closest('li').removeClass('sf-expanded').end().addClass('sf-hidden').show();}).parent().children('a.sf-accordion-button').text(options.expandText);});}else{const menuClone=menu.clone();let classes=options.menuClasses?((options.excludeClass_menu&&menuClone.hasClass(options.excludeClass_menu))?menuClone.removeClass(options.excludeClass_menu).attr('class'):menuClone.attr('class')):'';classes=options.includeClass_menu&&!menuClone.hasClass(options.includeClass_menu)?((options.menuClasses)?menuClone.addClass(options.includeClass_menu).attr('class'):options.includeClass_menu):classes;classes=classes?' class="'+classes+'"':'';if($('#'+menuID+'-select').length!==0)return;const newMenu=toSelect(refinedMenu,1);const selectList=$('<select '+classes+' id="'+menuID+'-select"/>').html('<option>'+options.title+'</option>'+newMenu).change(function(){if($('option:selected',this).index())window.location=selectList.val();});if(options.addSelected)selectList.find('.active').attr('selected',!0);menu.before(selectList).hide();}}function turnBack(menu){const id='#'+menu.attr('id');$(id+'-'+options.type).remove();if(options.type==='accordion')$(id+'-toggle').parent('div').remove();$(id).css('display','');}for(let s=0;s<this.length;s++){const menu=$(this).eq(s);const mode=options.mode;if(menu.children('li').length===0&&menu.find('> div > li').length===0){}else if(mode==='always_active')convert(menu);else if(mode==='window_width'){const breakpoint=options.breakpointUnit==='em'?options.breakpoint*parseFloat($('body').css('font-size')):options.breakpoint;const windowWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;let timer;if((typeof Modernizr==='undefined'||typeof Modernizr.mq!=='function')&&windowWidth<breakpoint)convert(menu);else{if(typeof Modernizr!=='undefined'&&typeof Modernizr.mq==='function'&&Modernizr.mq('(max-width:'+(breakpoint-1)+'px)'))convert(menu);}$(window).resize(function(){clearTimeout(timer);timer=setTimeout(function(){const windowWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;if((typeof Modernizr==='undefined'||typeof Modernizr.mq!=='function')&&windowWidth<breakpoint)convert(menu);else if(typeof Modernizr!=='undefined'&&typeof Modernizr.mq==='function'&&Modernizr.mq('(max-width:'+(breakpoint-1)+'px)'))convert(menu);else turnBack(menu);},50);});}else if(mode==='useragent_custom'){if(options.useragent!==''){const ua=RegExp(options.useragent,'i');if(navigator.userAgent.match(ua))convert(menu);}}else{if(mode==='useragent_predefined'&&navigator.userAgent.match(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od|ad)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i))convert(menu);}}return this;};})(jQuery);;
275(function($){$.fn.supersubs=function(options){const superfish_options=$.extend({},$.fn.supersubs.defaults,options);let size;let o;for(let a=0;a<this.length;a++){let $$=$(this).eq(a);o=$.meta?$.extend({},superfish_options,$$.data()):superfish_options;if($$.hasClass('sf-navbar'))$$=$$.children('li').children('ul');let $ULs=$$.find('ul');if($ULs.length){let fontsize=$('<li id="menu-fontsize">&#8212;</li>');size=fontsize.attr('style','padding:0;position:absolute;top:-99999em;width:auto;').appendTo($$)[0].clientWidth;fontsize.remove();for(let b=0;b<$ULs.length;b++){let $ul=$ULs.eq(b);if(o.multicolumn&&$ul.hasClass('sf-multicolumn')&&$ul.find('.sf-multicolumn-column').length>0){let $column=$ul.find('div.sf-multicolumn-column > ol');let mwWidth=0;for(let d=0;d<$column.length;d++){resize($column.eq(d));let colWidth=Math.ceil($column.width());$column.css({width:colWidth}).parents('.sf-multicolumn-column').css({width:colWidth});mwWidth+=colWidth;}$ul.add($ul.find('li.sf-multicolumn-wrapper, li.sf-multicolumn-wrapper > ol')).css({width:mwWidth});}else resize($ul);}}}function resize($ul){const $LIs=$ul.children();const $As=$LIs.children('a');$LIs.css('white-space','nowrap');$ul.add($LIs).add($As).css({float:'none',width:'auto'});let emWidth=$ul.get(0).clientWidth/size;emWidth+=o.extraWidth;
275if(emWidth>o.maxWidth)emWidth=o.maxWidth;else{if(emWidth<o.minWidth)emWidth=o.minWidth;}emWidth+='em';$ul.css({width:emWidth});$LIs.add($As).css({float:'',width:'',whiteSpace:''});for(let c=0;c<$LIs.length;c++){let $childUl=$LIs.eq(c).children('ul');let offsetDirection=$childUl.css('left')!==undefined?'left':'right';$childUl.css(offsetDirection,'100%');}}return this;};$.fn.supersubs.defaults={multicolumn:true,minWidth:12,maxWidth:27,extraWidth:1};})(jQuery);;

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.