PageSourceSearch

https://www.rochford.gov.uk/sites/default/files/js/js_ntOBfPMtKs2N…xqh5T9ApwXD5MoqO8R89PKO5U5mxzIF6pEb-CcZC5jE

js rochford.gov.uk collected 2026-09-24 18:11:36 UTC 485,499 bytes, 275 lines download raw bytes

1/* @license GPL-2.0-or-later https://git.drupalcode.org/project/once/-/raw/v1.0.1/LICENSE.md */
2/*! @drupal/once - v1.0.1 - 2021-06-12 */
3var 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}();
4
5;
6/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
7(function(){const settingsElement=document.querySelector('head > script[type="application/json"][data-drupal-selector="drupal-settings-json"], body > script[type="application/json"][data-drupal-selector="drupal-settings-json"]');window.drupalSettings={};if(settingsElement!==null)window.drupalSettings=JSON.parse(settingsElement.textContent);})();;
8window.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||{}).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');try{url=decodeURIComponent(url);}catch(e){}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;
8if(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);;
9if(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);;
10/*!
11 * jQuery UI Widget 1.14.1
12 * https://jqueryui.com
13 *
14 * Copyright OpenJS Foundation and other contributors
15 * Released under the MIT license.
16 * https://jquery.org/license
17 */
18!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},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
vendor: 7,209 bytes, lines 18-51
18(),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))},_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});
19
20!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.1"});
21
22/*!
23 * jQuery UI :data 1.14.1
24 * https://jqueryui.com
25 *
26 * Copyright OpenJS Foundation and other contributors
27 * Released under the MIT license.
28 * https://jquery.org/license
29 */
30!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)}})})});
31
32/*!
33 * jQuery UI Disable Selection 1.14.1
34 * https://jqueryui.com
35 *
36 * Copyright OpenJS Foundation and other contributors
37 * Released under the MIT license.
38 * https://jquery.org/license
39 */
40!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});
41
42/*!
43 * jQuery UI Legacy jQuery Core patches 1.14.1
44 * https://jqueryui.com
45 *
46 * Copyright OpenJS Foundation and other contributors
47 * Released under the MIT license.
48 * https://jquery.org/license
49 *
50 */
51!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}
vendor: 12,712 bytes, lines 51-123
51)},odd:function(){return this.filter(function(e){return e%2==1})}})});
52
53/*!
54 * jQuery UI Scroll Parent 1.14.1
55 * https://jqueryui.com
56 *
57 * Copyright OpenJS Foundation and other contributors
58 * Released under the MIT license.
59 * https://jquery.org/license
60 */
61!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)}});
62
63/*!
64 * jQuery UI Unique ID 1.14.1
65 * https://jqueryui.com
66 *
67 * Copyright OpenJS Foundation and other contributors
68 * Released under the MIT license.
69 * https://jquery.org/license
70 */
71!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});
72
73/*!
74 * jQuery UI Focusable 1.14.1
75 * https://jqueryui.com
76 *
77 * Copyright OpenJS Foundation and other contributors
78 * Released under the MIT license.
79 * https://jquery.org/license
80 */
81!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});
82
83/*!
84 * jQuery UI Keycode 1.14.1
85 * https://jqueryui.com
86 *
87 * Copyright OpenJS Foundation and other contributors
88 * Released under the MIT license.
89 * https://jquery.org/license
90 */
91!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}});
92
93!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)}}});
94
95/*!
96 * jQuery UI Labels 1.14.1
97 * https://jqueryui.com
98 *
99 * Copyright OpenJS Foundation and other contributors
100 * Released under the MIT license.
101 * https://jquery.org/license
102 */
103!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([])}});
104
105/*!
106 * jQuery UI Autocomplete 1.14.1
107 * https://jqueryui.com
108 *
109 * Copyright OpenJS Foundation and other contributors
110 * Released under the MIT license.
111 * https://jquery.org/license
112 */
113!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.1",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()},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});
114
115/*!
116 * jQuery UI Menu 1.14.1
117 * https://jqueryui.com
118 *
119 * Copyright OpenJS Foundation and other contributors
120 * Released under the MIT license.
121 * https://jquery.org/license
122 */
123!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.1",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 123
123,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
vendor: 6,272 bytes, lines 123-130
123se")},_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()))})}})});
124
125/* @license MIT https://raw.githubusercontent.com/focus-trap/tabbable/v6.3.0/LICENSE */
126/*!
127* tabbable 6.3.0
128* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
129*/
130!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;
130if(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)}}));
131
132;
133/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
134(function($,Drupal){let autocomplete;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 
134in 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('compositionstart.autocomplete',()=>{autocomplete.options.isComposing=true;});$autocomplete.on('compositionend.autocomplete',()=>{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);;
135var current=window.location.pathname;jQuery('a[href="'+current+'"]').parent('.block-book-navigation li').addClass('active');;
136if(location.hostname.endsWith('rochford.gov.uk'))!function(t){var e={};function n(o){if(e[o])return e[o].exports;var s=e[o]={i:o,l:!1,exports:{}};return t[o].call(s.exports,s,s.exports,n),s.l=!0,s.exports;}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o});},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0});},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)n.d(o,s,function(e){return t[e];}.bind(null,s));return o;},n.n=function(t){var e=t&&t.__esModule?function(){return t.default;}:function(){return t;};return n.d(e,"a",e),e;},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e);},n.p="https://www.browsealoud.com/modules/3.1.0/",n(n.s=0);}([function(t,e){!function(){function t(t,e){var n=document.createElement("script");n.type="text/javascript",n.src="https://www.browsealoud.com/modules/"+t+"/browsealoud.js",null!=e&&void 0!==e.integrity&&(n.setAttribute("crossorigin","anonymous"),n.setAttribute("integrity",e.integrity));var o=setInterval((function(){document.body&&(document.body.appendChild(n),clearInterval(o));}),100);}function e(e){if("3.1.0">e)t(e);else{var n=new XMLHttpRequest();n.onreadystatechange=function(){if(4==this.readyState&&200==this.status){var o=n.responseText,s=JSON.parse(o);t(e,s);}},n.open("GET","https://www.browsealoud.com/modules/"+e+"/sri.json",!0),n.send();}}function n(t){var e=a?"https://plus.browsealoud.com/modules/"+t+"/sri.json":"https://www.browsealoud.com/plus/sri-directives.json",n=new XMLHttpRequest();n.onreadystatechange=function(){if(4==this.readyState&&200==this.status){var e=n.responseText,o=JSON.parse(e);!function(t,e){var n=document.createElement("script");n.type="text/javascript",a?(n.src="https://plus.browsealoud.com/modules/"+t+"/browsealoud.min.js",n.setAttribute("crossorigin","anonymous"),n.setAttribute("integrity",e.integrity)):(n.src="https://www.browsealoud.com/plus/scripts/"+t+"/ba.js",n.setAttribute("crossorigin","anonymous"),n.setAttribute("integrity",e["@"+t].integrity));var o=setInterval((function(){document.body&&(document.body.appendChild(n),clearInterval(o));}),100);}(t,o);}},n.open("GET",e,!0),n.send();}function o(){var t="undefined"==typeof _ba_domain?null:_ba_domain;if(null!=t&&""!=t)for(l.push(t),l.push(0===t.indexOf("www")?t.substring(location.hostname.indexOf(".")+1):"www."+t),s=(o=t.split(".")).length-1;1<s;){var e=o.slice(-1*s).join(".");l.push(e),s--;}else{l.push(location.host);for(var n=-1<document.URL.indexOf("https")?8:7,o=document.URL.substring(n,document.URL.indexOf("/",n)).split("."),s=o.length-1;1<s;){e=o.slice(-1*s).join(".");l.push(e),s--;}l.push(0===location.hostname.indexOf("www")?location.hostname.substring(location.hostname.indexOf(".")+1):"www."+location.hostname);}r();}
136function s(t){null!=t&&(void 0!==t.version&&""!=t.version&&"latest"!=t.version?i||u?n(d.ie):"3.0.0">t.version?n(t.version):e(t.version):i||u?n(d.ie):e(d.latest));}function r(){var t="https://plus.browsealoud.com/js/urlinfo/"+l[c]+".js",e=new XMLHttpRequest();e.onreadystatechange=function(){if(4==this.readyState&&200==this.status){var t=e.responseText.replace(/var BrowseAloudUrl\s?=/,"");t=t.replace(";",""),s(JSON.parse(t));}4==this.readyState&&200!=this.status&&(console.log(this.readyState,this.status),c<l.length&&(c++,r()));},e.open("GET",t,!0),e.send();}window.toggleBar=function(){BrowseAloud.panel.toggleBar(!0);};var i=!1,a=!1;if("pdf.browsealoud.com"==window.location.host||"pdfqa.browsealoud.com"==window.location.host)a=!0;if(-1!==navigator.userAgent.indexOf("MSIE")||-1<navigator.appVersion.indexOf("Trident/"))i=!0;var u=!1;if(/Edge/.test(navigator.userAgent))u=!0;var l=[],c=0,d={ie:"2.6.1",latest:"3.1.0"};!function(){var t=new XMLHttpRequest();t.onreadystatechange=function(){if(4==this.readyState&&200==this.status){var e=t.responseText;d=JSON.parse(e),o();}4==this.readyState&&200!=this.status&&o();},t.open("GET","https://www.browsealoud.com/version.json",!0),t.send();}();}();}]);;
137!function(I,b,x){var B,on,f,o,a,z,p,d,h,g,v,H,F,$;function m(e,t){return H.call(e,t);}function u(e,t){var n,r,i,o,a,u,s,l,c,f,p=t&&t.split("/"),d=g.map,h=d&&d["*"]||{};if(e&&"."===e.charAt(0))if(t){for(p=p.slice(0,p.length-1),t=(e=e.split("/")).length-1,g.nodeIdCompat&&$.test(e[t])&&(e[t]=e[t].replace($,"")),e=p.concat(e),l=0;l<e.length;l+=1)if("."===(f=e[l]))e.splice(l,1),--l;else{if(".."===f){if(1===l&&(".."===e[2]||".."===e[0]))break;0<l&&(e.splice(l-1,2),l-=2);}}e=e.join("/");}else 0===e.indexOf("./")&&(e=e.substring(2));if((p||h)&&d){for(l=(n=e.split("/")).length;0<l;--l){if(r=n.slice(0,l).join("/"),p)for(c=p.length;0<c;--c)if(i=(i=d[p.slice(0,c).join("/")])&&i[r]){o=i,a=l;break;}if(o)break;!u&&h&&h[r]&&(u=h[r],s=l);}!o&&u&&(o=u,a=s),o&&(n.splice(0,a,o),e=n.join("/"));}return e;}function M(t,n){return function(){var e=F.call(arguments,0);return "string"!=typeof e[0]&&1===e.length&&e.push(null),a.apply(f,e.concat([t,n]));};}function y(e){var t;if(m(h,e)&&(t=h[e],delete h[e],v[e]=!0,o.apply(f,t)),m(d,e)||m(v,e))return d[e];throw new Error("No "+e);}function W(e){var t,n=e?e.indexOf("!"):-1;return -1<n&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e];}d={},h={},g={},v={},H=Object.prototype.hasOwnProperty,F=[].slice,$=/\.js$/,z=function(e,t){var n,r,i=W(e),o=i[0];return e=i[1],o&&(n=y(o=u(o,t))),o?e=n&&n.normalize?n.normalize(e,(r=t,function(e){return u(e,r);})):u(e,t):(o=(i=W(e=u(e,t)))[0],e=i[1],o&&(n=y(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:n};},p={require:function(e){return M(e);},exports:function(e){var t=d[e];return void 0!==t?t:d[e]={};},module:function(e){return {id:e,uri:"",exports:d[e],config:(t=e,function(){return g&&g.config&&g.config[t]||{};})};var t;}},o=function(e,t,n,r){var i,o,a,u,s,l=[],c=typeof n;if(r=r||e,"undefined"==c||"function"==c){for(t=!t.length&&n.length?["require","exports","module"]:t,u=0;u<t.length;u+=1)if("require"===(o=(a=z(t[u],r)).f))l[u]=p.require(e);else if("exports"===o)l[u]=p.exports(e),s=!0;else if("module"===o)i=l[u]=p.module(e);else if(m(d,o)||m(h,o)||m(v,o))l[u]=y(o);else{if(!a.p)throw new Error(e+" missing "+o);a.p.load(a.n,M(r,!0),function(t){return function(e){d[t]=e;};}(o),{}),l[u]=d[o];}c=n?n.apply(d[e],l):void 0,e&&(i&&i.exports!==f&&i.exports!==d[e]?d[e]=i.exports:c===f&&s||(d[e]=c));}else e&&(d[e]=n);},E=B=a=function(e,t,n,r,i){if("string"==typeof e)return p[e]?p[e](t):y(z(e,t).f);if(!e.splice){if((g=e).deps&&a(g.deps,g.callback),!t)return;t.splice?(e=t,t=n,n=null):e=f;}return t=t||function(){},"function"==typeof n&&(n=r,r=i),r?o(f,e,t,n):setTimeout(function(){o(f,e,t,n);},4),a;},a.config=function(e){return a(e);},E._defined=d,(on=function(e,t,n){t.splice||(n=t,t=[]),m(d,e)||m(h,e)||(h[e]=[e,t,n]);}).amd={jQuery:!0};var t,P,U,X,n,V,J,K,Q,Y,G,Z,ee,s,l,c,te,ne,w,re,C,e,r,i,ie=function(o){var p=function(){var e,t=o.createElement("style"),n=void 0!==t.sheet?"sheet":void 0!==t.getSheet?"getSheet":"styleSheet",r=void 0!==t.scoped;o.body.appendChild(t),(e=t[n]).addRule?e.addRule("c","blink"):e.insertRule("c{}",0),i=e[e=e.rules?"rules":"cssRules"][0];try{i.selectorText="d";}catch(e){}var i="d"===i.selectorText.toLowerCase();return t.parentNode.removeChild(t),{scopeSupported:r,rules:e,sheet:n,changeSelectorTextAllowed:i};}();if(p.scopeSupported)return function(){return this;};var a=0;if(o.querySelectorAll)t=o.querySelectorAll("style[scoped]");else{for(var e,t,n=[],r=(t=o.getElementsByTagName("style")).length;r--;)"scoped"!==(e=t[r].getAttribute("scoped"))&&""!==e||n.push(t[r]);t=n;}for(r=t.length;r--;)u(t[r]);function u(e,t){if(!(e=t?t:e).nodeName)return e.jquery?e.each(u):void 0;
137if("STYLE"===e.nodeName){for(var c=e[p.sheet],n=c[p.rules],r=e.parentNode,f=(r.id||(r.id="scopedByScopedPolyfill_"+ ++a),""),i=n.length||0;r;)r.id&&(f=parseInt(r.id.slice(0,1))?"#\\3"+r.id.slice(0,1)+" "+r.id.slice(1)+" "+f:"#"+r.id+" "+f),r=r.parentNode;for(;i--;)!function e(t,n){var r,i,o,a=t.cssRules?t:c,u=t.cssRules||[t],s=u.length||0,l=t.cssRules?s:n;for(;s--;)(r=u[s]).selectorText?(i=(i=f+" "+r.selectorText.split(",").join(", "+f)).replace(/[\ ]+:root/gi,""),p.changeSelectorTextAllowed?r.selectorText=i:r.type&&1!==r.type||(o=r.style.cssText)&&(a.removeRule?a.removeRule(l):a.deleteRule(l),a.addRule?a.addRule(i,o,l):a.insertRule(i+"{"+o+"}",l))):r.cssRules&&e(r,l);}(n[i],i);}}return "function"==typeof jQuery&&"object"==typeof jQuery.fn&&(jQuery.fn.scopedPolyFill=function(){return this.each(u);}),u;}(x),E=(this.Placeholders={Utils:{addEventListener:function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent?e.attachEvent("on"+t,n):void 0;},inArray:function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return !0;return !1;},moveCaret:function(e,t){var n;e.createTextRange?((n=e.createTextRange()).move("character",t),n.select()):e.selectionStart&&(e.focus(),e.setSelectionRange(t,t));},changeType:function(e,t){try{return e.type=t,!0;}catch(e){return !1;}}}},this),oe=["text","search","url","tel","email","password","number","textarea"],ae=[27,33,34,35,36,37,38,39,40,8,46],ue="placeholdersjs",se=new RegExp("(?:^|\\s)"+ue+"(?!\\S)"),k="data-placeholder-value",T="data-placeholder-active",A="data-placeholder-type",le="data-placeholder-submit",ce="data-placeholder-bound",S="data-placeholder-maxlength",j=x.createElement("input"),N=x.getElementsByTagName("head")[0],L=x.documentElement,D=E.Placeholders,O=D.Utils;function fe(){}function pe(){try{return x.activeElement;}catch(e){}}function q(e,t){var t=!!t&&e.value!==t,n=e.value===e.getAttribute(k);return !(!t&&!n||"true"!==e.getAttribute(T)||(e.removeAttribute(T),e.value=e.value.replace(e.getAttribute(k),""),e.className=e.className.replace(se,""),t=e.getAttribute(S),0<=parseInt(t,10)&&(e.setAttribute("maxLength",t),e.removeAttribute(S)),(n=e.getAttribute(A))&&(e.type=n),0));}function de(e){var t=e.getAttribute(k);return !(""!==e.value||!t||(e.setAttribute(T,"true"),e.value=t,e.className+=" "+ue,e.getAttribute(S)||(e.setAttribute(S,e.maxLength),e.removeAttribute("maxLength")),e.getAttribute(A)?e.type="text":"password"===e.type&&O.changeType(e,"text")&&e.setAttribute(A,"password"),0));}function he(e,t){var n,r,i,o,a;if(e&&e.getAttribute(k))t(e);else for(r=e?e.getElementsByTagName("input"):s,i=e?e.getElementsByTagName("textarea"):l,a=0,o=(n=r?r.length:0)+(i?i.length:0);a<o;a++)t(a<n?r[a]:i[a-n]);}function ge(e){he(e,q);}function ve(e){var t,n,r,i,o,a;e.form&&!(C="string"==typeof (C=e.form)?x.getElementById(C):C).getAttribute(le)&&(O.addEventListener(C,"submit",(t=C,function(){ge(t);})),C.setAttribute(le,"true")),O.addEventListener(e,"focus",(n=e,function(){c&&n.value===n.getAttribute(k)&&"true"===n.getAttribute(T)?O.moveCaret(n,0):q(n);})),O.addEventListener(e,"blur",(r=e,function(){de(r);})),c&&(O.addEventListener(e,"keydown",(a=e,function(e){if(ne=a.value,"true"===a.getAttribute(T)&&ne===a.getAttribute(k)&&O.inArray(ae,e.keyCode))return e.preventDefault&&e.preventDefault(),!1;})),O.addEventListener(e,"keyup",(o=e,function(){q(o,ne),""===o.value&&(o.blur(),O.moveCaret(o,0));})),O.addEventListener(e,"click",(i=e,function(){i===pe()&&i.value===i.getAttribute(k)&&"true"===i.getAttribute(T)&&O.moveCaret(i,0);}))),e.setAttribute(ce,"true"),e.setAttribute(k,w),!c&&e===pe()||de(e);}if(D.nativeSupport=void 0!==j.placeholder,!D.nativeSupport){for(s=x.getElementsByTagName("input"),l=x.getElementsByTagName("textarea"),c="false"===L.getAttribute("data-placeholder-focus"),te="false"!==L.getAttribute("data-placeholder-live"),(j=x.createElement("style")).type="text/css",L=x.createTextNode("."+ue+" { color:#ccc; }"),j.styleSheet?j.styleSheet.cssText=L.nodeValue:j.appendChild(L),N.insertBefore(j,N.firstChild),i=0,r=s.length+l.length;i<r;i++)e=i<s.length?s[i]:l[i-s.length],(w=(w=e.attributes.placeholder)&&w.nodeValue)&&O.inArray(oe,e.type)&&ve(e);re=setInterval(function(){for(i=0,r=s.length+l.length;i<r;i++)e=i<s.length?s[i]:l[i-s.length],(w=e.attributes.placeholder)?(w=w.nodeValue)&&O.inArray(oe,e.type)&&(e.getAttribute(ce)||ve(e),w===e.getAttribute(k)&&("password"!==e.type||e.getAttribute(A))||("password"===e.type&&!e.getAttribute(A)&&O.changeType(e,"text")&&e.setAttribute(A,"password"),e.value===e.getAttribute(k)&&(e.value=w),e.setAttribute(k,w))):e.getAttribute(T)&&(q(e),e.removeAttribute(k));te||clearInterval(re);},100);}function R(e,t){return e.test(t);}function me(e){if(e=e||navigator.userAgent,this.apple={phone:R(P,e),ipod:R(U,e),tablet:R(X,e),device:R(P,e)||R(U,e)||R(X,e)},this.android={phone:R(n,e),tablet:!R(n,e)&&R(V,e),device:R(n,e)||R(V,e)}
137,this.windows={phone:R(J,e),tablet:R(K,e),device:R(J,e)||R(K,e)},this.other={blackberry:R(Q,e),blackberry10:R(Y,e),opera:R(G,e),firefox:R(Z,e),device:R(Q,e)||R(Y,e)||R(G,e)||R(Z,e)},this.seven_inch=R(ee,e),this.any=this.apple.device||this.android.device||this.windows.device||this.other.device||this.seven_inch,this.phone=this.apple.phone||this.android.phone||this.windows.phone,this.tablet=this.apple.tablet||this.android.tablet||this.windows.tablet,void 0===b)return this;}function ye(){var e=new me();return e.Class=me,e;}O.addEventListener(E,"beforeunload",function(){D.disable();}),D.disable=D.nativeSupport?fe:ge,D.enable=D.nativeSupport?fe:function(e){he(e,de);},L=void 0!==b?b:this,t=function(h,I){function B(e,t){return t.toUpperCase();}var f=[],c=f.slice,z=f.concat,H=f.push,F=f.indexOf,n={},$=n.toString,g=n.hasOwnProperty,v={},_=function(e,t){return new _.fn.init(e,t);},M=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,W=/^-ms-/,P=/-([\da-z])/gi;function U(e){var t=e.length,n=_.type(e);return "function"!==n&&!_.isWindow(e)&&(!(1!==e.nodeType||!t)||"array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e);}_.fn=_.prototype={jquery:"1.11.2",constructor:_,selector:"",length:0,toArray:function(){return c.call(this);},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:c.call(this);},pushStack:function(e){e=_.merge(this.constructor(),e);return e.prevObject=this,e.context=this.context,e;},each:function(e,t){return _.each(this,e,t);},map:function(n){return this.pushStack(_.map(this,function(e,t){return n.call(e,t,e);}));},slice:function(){return this.pushStack(c.apply(this,arguments));},first:function(){return this.eq(0);},last:function(){return this.eq(-1);},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[]);},end:function(){return this.prevObject||this.constructor(null);},push:H,sort:f.sort,splice:f.splice},_.extend=_.fn.extend=function(){var e,t,n,r,i,o=arguments[0]||{},a=1,u=arguments.length,s=!1;for("boolean"==typeof o&&(s=o,o=arguments[a]||{},a++),"object"==typeof o||_.isFunction(o)||(o={}),a===u&&(o=this,a--);a<u;a++)if(null!=(r=arguments[a]))for(n in r)i=o[n],o!==(t=r[n])&&(s&&t&&(_.isPlainObject(t)||(e=_.isArray(t)))?(i=e?(e=!1,i&&_.isArray(i)?i:[]):i&&_.isPlainObject(i)?i:{},o[n]=_.extend(s,i,t)):void 0!==t&&(o[n]=t));return o;},_.extend({expando:"jQuery"+("1.11.2"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e);},noop:function(){},isFunction:function(e){return "function"===_.type(e);},isArray:Array.isArray||function(e){return "array"===_.type(e);},isWindow:function(e){return null!=e&&e==e.window;},isNumeric:function(e){return !_.isArray(e)&&0<=e-parseFloat(e)+1;},isEmptyObject:function(e){for(var t in e)return !1;return !0;},isPlainObject:function(e){if(!e||"object"!==_.type(e)||e.nodeType||_.isWindow(e))return !1;try{if(e.constructor&&!g.call(e,"constructor")&&!g.call(e.constructor.prototype,"isPrototypeOf"))return !1;}catch(e){return !1;}if(v.ownLast)for(var t in e)return g.call(e,t);for(t in e);return void 0===t||g.call(e,t);},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[$.call(e)]||"object":typeof e;},globalEval:function(e){e&&_.trim(e)&&(h.execScript||function(e){h.eval.call(h,e);})(e);},camelCase:function(e){return e.replace(W,"ms-").replace(P,B);},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase();},each:function(e,t,n){var r=0,i=e.length,o=U(e);if(n)if(o)for(;r<i&&!1!==t.apply(e[r],n);r++);else{for(r in e)if(!1===t.apply(e[r],n))break;}else if(o)for(;r<i&&!1!==t.call(e[r],r,e[r]);r++);else{for(r in e)if(!1===t.call(e[r],r,e[r]))break;}return e;},trim:function(e){return null==e?"":(e+"").replace(M,"");},makeArray:function(e,t){t=t||[];return null!=e&&(U(Object(e))?_.merge(t,"string"==typeof e?[e]:e):H.call(t,e)),t;},inArray:function(e,t,n){var r;if(t){if(F)return F.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n;}return -1;},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;)e[i++]=t[r++];if(n!=n)for(;void 0!==t[r];)e[i++]=t[r++];return e.length=i,e;},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!=a&&r.push(e[i]);return r;},map:function(e,t,n){var r,i=0,o=e.length,a=[];if(U(e))for(;i<o;i++)null!=(r=t(e[i],i,n))&&a.push(r);else for(i in e)null!=(r=t(e[i],i,n))&&a.push(r);return z.apply([],a);},guid:1,proxy:function(e,t){var n,r;if("string"==typeof t&&(r=e[t],t=e,e=r),_.isFunction(e))return n=c.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(c.call(arguments)));}).guid=e.guid=e.guid||_.guid++,r;},now:function(){return +new Date();},support:v}),_.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase();});var e=function(n){function f(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(65536+r):String.fromCharCode(r>>10|55296,1023&r|56320);}function I(){h();}var e,p,x,o,B,d,z,H,_,l,c,h,w,t,g,v,r,i,m,b="sizzle"+ +new Date(),y=n.document,C=0,F=0,$=ce(),M=ce(),W=ce(),P=function(e,t){return e===t&&(c=!0),0;},U={}.hasOwnProperty,a=[],X=a.pop,V=a.push,E=a.push,J=a.slice,k=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return -1;},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",u="[\\x20\\t\\r\\n\\f]",s="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",Q=s.replace("w","w#"),Y="\\["+u+"*("+s+")(?:"+u+"*([*^$|!~]?=)"+u+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+Q+"))|)"+u+"*\\]",G=":("+s+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+Y+")*)|.*)\\)|)",Z=new RegExp(u+"+","g"),T=new RegExp("^"+u+"+|((?:^|[^\\\\])(?:\\\\.)*)"+u+"+$","g"),ee=new RegExp("^"+u+"*,"+u+"*"),te=new RegExp("^"+u+"*([>+~]|"+u+")"+u+"*"),ne=new RegExp("="+u+"*([^\\]'\"]*?)"+u+"*\\]","g"),re=ne
137w RegExp(G),ie=new RegExp("^"+Q+"$"),A={ID:new RegExp("^#("+s+")"),CLASS:new RegExp("^\\.("+s+")"),TAG:new RegExp("^("+s.replace("w","w*")+")"),ATTR:new RegExp("^"+Y),PSEUDO:new RegExp("^"+G),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+u+"*(even|odd|(([+-]|)(\\d*)n|)"+u+"*(?:([+-]|)"+u+"*(\\d+)|))"+u+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+u+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+u+"*((?:-\\d)?\\d*)"+u+"*\\)|)(?=[^-]|$)","i")},oe=/^(?:input|select|textarea|button)$/i,ae=/^h\d$/i,S=/^[^{]+\{\s*\[native \w/,ue=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,se=/[+~]/,le=/'|\\/g,j=new RegExp("\\\\([\\da-f]{1,6}"+u+"?|("+u+")|.)","ig");try{E.apply(a=J.call(y.childNodes),y.childNodes),a[y.childNodes.length].nodeType;}catch(e){E={apply:a.length?function(e,t){V.apply(e,J.call(t));}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1;}};}function N(e,t,n,r){var i,o,a,u,s,l,c;if((t?t.ownerDocument||t:y)!==w&&h(t),n=n||[],i=(t=t||w).nodeType,"string"!=typeof e||!e||1!==i&&9!==i&&11!==i)return n;if(!r&&g){if(11!==i&&(l=ue.exec(e)))if(c=l[1])if(9===i){if(!(u=t.getElementById(c))||!u.parentNode)return n;if(u.id===c)return n.push(u),n;}else{if(t.ownerDocument&&(u=t.ownerDocument.getElementById(c))&&m(t,u)&&u.id===c)return n.push(u),n;}else{if(l[2])return E.apply(n,t.getElementsByTagName(e)),n;if((c=l[3])&&p.getElementsByClassName)return E.apply(n,t.getElementsByClassName(c)),n;}if(p.qsa&&(!v||!v.test(e))){if(s=u=b,l=t,c=1!==i&&e,1===i&&"object"!==t.nodeName.toLowerCase()){for(a=d(e),(u=t.getAttribute("id"))?s=u.replace(le,"\\$&"):t.setAttribute("id",s),s="[id='"+s+"'] ",o=a.length;o--;)a[o]=s+q(a[o]);l=se.test(e)&&de(t.parentNode)||t,c=a.join(",");}if(c)try{return E.apply(n,l.querySelectorAll(c)),n;}catch(e){}finally{u||t.removeAttribute("id");}}}return H(e.replace(T,"$1"),t,n,r);}function ce(){var n=[];function r(e,t){return n.push(e+" ")>x.cacheLength&&delete r[n.shift()],r[e+" "]=t;}return r;}function L(e){return e[b]=!0,e;}function D(e){var t=w.createElement("div");try{return !!e(t);}catch(e){return !1;}finally{t.parentNode&&t.parentNode.removeChild(t);}}function fe(e,t){for(var n=e.split("|"),r=e.length;r--;)x.attrHandle[n[r]]=t;}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return -1;return e?1:-1;}function O(a){return L(function(o){return o=+o,L(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]));});});}function de(e){return e&&void 0!==e.getElementsByTagName&&e;}for(e in p=N.support={},B=N.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return !!e&&"HTML"!==e.nodeName;},h=N.setDocument=function(e){var s=e?e.ownerDocument||e:y;return s!==w&&9===s.nodeType&&s.documentElement?(t=(w=s).documentElement,(e=s.defaultView)&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",I,!1):e.attachEvent&&e.attachEvent("onunload",I)),g=!B(s),p.attributes=D(function(e){return e.className="i",!e.getAttribute("className");}),p.getElementsByTagName=D(function(e){return e.appendChild(s.createComment("")),!e.getElementsByTagName("*").length;}),p.getElementsByClassName=S.test(s.getElementsByClassName),p.getById=D(function(e){return t.appendChild(e).id=b,!s.getElementsByName||!s.getElementsByName(b).length;}),p.getById?(x.find.ID=function(e,t){if(void 0!==t.getElementById&&g)return (t=t.getElementById(e))&&t.parentNode?[t]:[];},x.filter.ID=function(e){var t=e.replace(j,f);return function(e){return e.getAttribute("id")===t;};}):(delete x.find.ID,x.filter.ID=function(e){var t=e.replace(j,f);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t;};}),x.find.TAG=p.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):p.qsa?t.querySelectorAll(e):void 0;}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r;},x.find.CLASS=p.getElementsByClassName&&function(e,t){if(g)return t.getElementsByClassName(e);},r=[],v=[],(p.qsa=S.test(s.querySelectorAll))&&(D(function(e){t.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\f]' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+u+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+u+"*(?:value|"+K+")"),e.querySelectorAll("[id~="+b+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||v.push(".#.+[+~]");}),D(function(e){var t=s.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+u+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:");})),(p.matchesSelector=S.test(i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.msMatchesSelector))&&D(function(e){p.disconnectedMatch=i.call(e,"div"),i.call(e,"[s!='']:x"),r.push("!=",G);}
137),v=v.length&&new RegExp(v.join("|")),r=r.length&&new RegExp(r.join("|")),e=S.test(t.compareDocumentPosition),m=e||S.test(t.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)));}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return !0;return !1;},P=e?function(e,t){var n;return e===t?(c=!0,0):(n=!e.compareDocumentPosition-!t.compareDocumentPosition)||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e===s||e.ownerDocument===y&&m(y,e)?-1:t===s||t.ownerDocument===y&&m(y,t)?1:l?k(l,e)-k(l,t):0:4&n?-1:1);}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],u=[t];if(!i||!o)return e===s?-1:t===s?1:i?-1:o?1:l?k(l,e)-k(l,t):0;if(i===o)return pe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;a[r]===u[r];)r++;return r?pe(a[r],u[r]):a[r]===y?-1:u[r]===y?1:0;},s):w;},N.matches=function(e,t){return N(e,null,null,t);},N.matchesSelector=function(e,t){if((e.ownerDocument||e)!==w&&h(e),t=t.replace(ne,"='$1']"),p.matchesSelector&&g&&(!r||!r.test(t))&&(!v||!v.test(t)))try{var n=i.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n;}catch(e){}return 0<N(t,w,null,[e]).length;},N.contains=function(e,t){return (e.ownerDocument||e)!==w&&h(e),m(e,t);},N.attr=function(e,t){(e.ownerDocument||e)!==w&&h(e);var n=x.attrHandle[t.toLowerCase()],n=n&&U.call(x.attrHandle,t.toLowerCase())?n(e,t,!g):void 0;return void 0!==n?n:p.attributes||!g?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null;},N.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e);},N.uniqueSort=function(e){var t,n=[],r=0,i=0;if(c=!p.detectDuplicates,l=!p.sortStable&&e.slice(0),e.sort(P),c){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1);}return l=null,e;},o=N.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i)if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e);}else{if(3===i||4===i)return e.nodeValue;}else for(;t=e[r++];)n+=o(t);return n;},(x=N.selectors={cacheLength:50,createPseudo:L,match:A,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(j,f),e[3]=(e[3]||e[4]||e[5]||"").replace(j,f),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4);},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||N.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&N.error(e[0]),e;},PSEUDO:function(e){var t,n=!e[6]&&e[2];return A.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&re.test(n)&&(t=(t=d(n,!0))&&n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3));}},filter:{TAG:function(e){var t=e.replace(j,f).toLowerCase();return "*"===e?function(){return !0;}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t;};},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+u+")"+e+"("+u+"|$)"))&&$(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"");});},ATTR:function(t,n,r){return function(e){e=N.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1<e.indexOf(r):"$="===n?r&&e.slice(-r.length)===r:"~="===n?-1<(" "+e.replace(Z," ")+" ").indexOf(r):"|="===n&&(e===r||e.slice(0,r.length+1)===r+"-"));};},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),m="last"!==d.slice(-4),y="of-type"===e;return 1===h&&0===g?function(e){return !!e.parentNode;}:function(e,t,n){var r,i,o,a,u,s,l=v!=m?"nextSibling":"previousSibling",c=e.parentNode,f=y&&e.nodeName.toLowerCase(),p=!n&&!y;if(c){if(v){for(;l;){for(o=e;o=o[l];)if(y?o.nodeName.toLowerCase()===f:1===o.nodeType)return !1;s=l="only"===d&&!s&&"nextSibling";}return !0;}if(s=[m?c.firstChild:c.lastChild],m&&p){for(u=(r=(i=c[b]||(c[b]={}))[d]||[])[0]===C&&r[1],a=r[0]===C&&r[2],o=u&&c.childNodes[u];o=++u&&o&&o[l]||(a=u=0,s.pop());)if(1===o.nodeType&&++a&&o===e){i[d]=[C,u,a];break;}}else if(p&&(r=(e[b]||(e[b]={}))[d])&&r[0]===C)a=r[1];else for(;(o=++u&&o&&o[l]||(a=u=0,s.pop()))&&((y?o.nodeName.toLowerCase()!==f:1!==o.nodeType)||!++a||(p&&((o[b]||(o[b]={}))[d]=[C,a]),o!==e)););return (a-=g)===h||a%h==0&&0<=a/h;}};},PSEUDO:function(e,o){var t,a=x.pseudos[e]||x.setFilters[e.toLowerCase()]||N.error("unsupported pseudo: "+e);return a[b]?a(o):1<a.length?(t=[e,e,"",o],x.setFilters.hasOwnProperty(e.toLowerCase())?L(function(e,t){for(var n,r=a(e,o),i=r.length;i--;)e[n=k(e,r[i])]=!(t[n]=r[i]);}):function(e){return a(e,0,t);}):a;}},pseudos:{not:L(function(e){var r=[],i=[],u=z(e.replace(T,"$1"));return u[b]?L(function(e,t,n,r){for(var i,o=u(e,null,r,[]),a=e.length;a--;)(i=o[a])&&(e[a]=!(t[a]=i));}):function(e,t,n){return r[0]=e,u(r,null,n,i),r[0]=null,!i.pop();};}),has:L(function(t){return function(e){return 0<N(t,e).length;};}),contains:L(function(t){return t=t.replace(j,f),function(e){return -1<(e.textContent||e.innerText||o(e)).indexOf(t);};}),lang:L(function(n){return ie.test(n||"")||N.error("unsupported lang: "+n),n=n.replace(j,f).toLowerCase(),function(e){var t;do if(t=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return (t=t.toLowerCase())===n||0===t.indexOf(n+"-");while((e=e.parentNode)&&1===e.nodeType);return !1;};}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id;},root:function(e){return e===t;},focus:function(e){return e===w.activeElement&&(!w.hasFocus||w.hasFocus())&&!!(e.type||e.href||~e.tabIndex);},enabled:function(e){return !1===e.disabled;},disabled:function(e){return !0===e.disabled;},checked:function(e){var t=e.nodeName.toLowerCase();
137return "input"===t&&!!e.checked||"option"===t&&!!e.selected;},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected;},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return !1;return !0;},parent:function(e){return !x.pseudos.empty(e);},header:function(e){return ae.test(e.nodeName);},input:function(e){return oe.test(e.nodeName);},button:function(e){var t=e.nodeName.toLowerCase();return "input"===t&&"button"===e.type||"button"===t;},text:function(e){return "input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase());},first:O(function(){return [0];}),last:O(function(e,t){return [t-1];}),eq:O(function(e,t,n){return [n<0?n+t:n];}),even:O(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e;}),odd:O(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e;}),lt:O(function(e,t,n){for(var r=n<0?n+t:n;0<=--r;)e.push(r);return e;}),gt:O(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e;})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[e]=function(t){return function(e){return "input"===e.nodeName.toLowerCase()&&e.type===t;};}(e);for(e in {submit:!0,reset:!0})x.pseudos[e]=function(n){return function(e){var t=e.nodeName.toLowerCase();return ("input"===t||"button"===t)&&e.type===n;};}(e);function he(){}function q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r;}function ge(a,e,t){var u=e.dir,s=t&&"parentNode"===u,l=F++;return e.first?function(e,t,n){for(;e=e[u];)if(1===e.nodeType||s)return a(e,t,n);}:function(e,t,n){var r,i,o=[C,l];if(n){for(;e=e[u];)if((1===e.nodeType||s)&&a(e,t,n))return !0;}else{for(;e=e[u];)if(1===e.nodeType||s){if((r=(i=e[b]||(e[b]={}))[u])&&r[0]===C&&r[1]===l)return o[2]=r[2];if((i[u]=o)[2]=a(e,t,n))return !0;}}};}function ve(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return !1;return !0;}:i[0];}function R(e,t,n,r,i){for(var o,a=[],u=0,s=e.length,l=null!=t;u<s;u++)!(o=e[u])||n&&!n(o,r,i)||(a.push(o),l&&t.push(u));return a;}function me(d,h,g,v,m,e){return v&&!v[b]&&(v=me(v)),m&&!m[b]&&(m=me(m,e)),L(function(e,t,n,r){var i,o,a,u=[],s=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)N(e,t[r],n);return n;}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:R(c,u,d,n,r),p=g?m||(e?d:l||v)?[]:t:f;if(g&&g(f,p,n,r),v)for(i=R(p,s),v(i,[],n,r),o=i.length;o--;)(a=i[o])&&(p[s[o]]=!(f[s[o]]=a));if(e){if(m||d){if(m){for(i=[],o=p.length;o--;)(a=p[o])&&i.push(f[o]=a);m(null,p=[],i,r);}for(o=p.length;o--;)(a=p[o])&&-1<(i=m?k(e,a):u[o])&&(e[i]=!(t[i]=a));}}else p=R(p===t?p.splice(l,p.length):p),m?m(null,t,p,r):E.apply(t,p);});}function ye(v,m){function e(e,t,n,r,i){var o,a,u,s=0,l="0",c=e&&[],f=[],p=_,d=e||b&&x.find.TAG("*",i),h=C+=null==p?1:Math.random()||.1,g=d.length;for(i&&(_=t!==w&&t);l!==g&&null!=(o=d[l]);l++){if(b&&o){for(a=0;u=v[a++];)if(u(o,t,n)){r.push(o);break;}i&&(C=h);}y&&((o=!u&&o)&&s--,e)&&c.push(o);}if(s+=l,y&&l!==s){for(a=0;u=m[a++];)u(c,f,t,n);if(e){if(0<s)for(;l--;)c[l]||f[l]||(f[l]=X.call(r));f=R(f);}E.apply(r,f),i&&!e&&0<f.length&&1<s+m.length&&N.uniqueSort(r);}return i&&(C=h,_=p),c;}var y=0<m.length,b=0<v.length;return y?L(e):e;}return he.prototype=x.filters=x.pseudos,x.setFilters=new he(),d=N.tokenize=function(e,t){var n,r,i,o,a,u,s,l=M[e+" "];if(l)return t?0:l.slice(0);for(a=e,u=[],s=x.preFilter;a;){for(o in n&&!(r=ee.exec(a))||(r&&(a=a.slice(r[0].length)||a),u.push(i=[])),n=!1,(r=te.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(T," ")}),a=a.slice(n.length)),x.filter)!(r=A[o].exec(a))||s[o]&&!(r=s[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break;}return t?a.length:a?N.error(e):M(e,u).slice(0);},z=N.compile=function(e,t){var n,r=[],i=[],o=W[e+" "];if(!o){for(n=(t=t||d(e)).length;n--;)((o=function e(t){for(var r,n,i,o=t.length,a=x.relative[t[0].type],u=a||x.relative[" "],s=a?1:0,l=ge(function(e){return e===r;},u,!0),c=ge(function(e){return -1<k(r,e);},u,!0),f=[function(e,t,n){return e=!a&&(n||t!==_)||((r=t).nodeType?l:c)(e,t,n),r=null,e;}];s<o;s++)if(n=x.relative[t[s].type])f=[ge(ve(f),n)];else{if((n=x.filter[t[s].type].apply(null,t[s].matches))[b]){for(i=++s;i<o&&!x.relative[t[i].type];i++);return me(1<s&&ve(f),1<s&&q(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(T,"$1"),n,s<i&&e(t.slice(s,i)),i<o&&e(t=t.slice(i)),i<o&&q(t));}f.push(n);}return ve(f);}(t[n]))[b]?r:i).push(o);(o=W(e,ye(i,r))).selector=e;}return o;},H=N.select=function(e,t,n,r){var i,o,a,u,s,l="function"==typeof e&&e,c=!r&&d(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&p.getById&&9===t.nodeType&&g&&x.relative[o[1].type]){if(!(t=(x.find.ID(a.matches[0].replace(j,f),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length);}for(i=A.needsContext.test(e)?0:o.length;i--&&(a=o[i],!x.relative[u=a.type]);)if((s=x.find[u])&&(r=s(a.matches[0].replace(j,f),se.test(o[0].type)&&de(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&q(o))break;return E.apply(n,r),n;}}return (l||z(e,c))(r,t,!g,n,se.test(e)&&de(t.parentNode)||t),n;},p.sortStable=b.split("").sort(P).join("")===b,p.detectDuplicates=!!c,h(),p.sortDetached=D(function(e){return 1&e.compareDocumentPosition(w.createElement("div"));}),D(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href");})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2);}),p.attributes&&D(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value");})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue;}),D(function(e){return null==e.getAttribute("disabled");})||fe(K,function(e,t,n){if(!n)return !0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null;}),N;}(h),X=(_.find=e,_.expr=e.selectors,_.expr[":"]=_.expr.pseudos,_.unique=e.uniqueSort,_.text=e.getText,_.isXMLDoc=e.isXML,_.contains=e.contains,_.expr.match.needsContext),V=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,J=/^.[^:#\[\.,]*$/;function K(e,n,r){if(_.isFunction(n))return _.grep(e,function(e,t){return !!n.call(e,t,e)!==r;});if(n.nodeType)return _.grep(e,function(e){return e===n!==r;});if("string"==typeof n){if(J.test(n))return _.filter(n,e,r);n=_.filter(n,e);}return _.grep(e,function(e){return 0<=_.inArray(e,n)!==r;});}
137_.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?_.find.matchesSelector(r,e)?[r]:[]:_.find.matches(e,_.grep(t,function(e){return 1===e.nodeType;}));},_.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(_(e).filter(function(){for(t=0;t<i;t++)if(_.contains(r[t],this))return !0;}));for(t=0;t<i;t++)_.find(e,r[t],n);return (n=this.pushStack(1<i?_.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n;},filter:function(e){return this.pushStack(K(this,e||[],!1));},not:function(e){return this.pushStack(K(this,e||[],!0));},is:function(e){return !!K(this,"string"==typeof e&&X.test(e)?_(e):e||[],!1).length;}});var i,m=h.document,Q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,Y=((_.fn.init=function(e,t){var n,r;if(e){if("string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):_.isFunction(e)?void 0!==i.ready?i.ready(e):e(_):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),_.makeArray(e,this));if(!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:Q.exec(e))||!n[1]&&t)return (!t||t.jquery?t||i:this.constructor(t)).find(e);if(n[1]){if(t=t instanceof _?t[0]:t,_.merge(this,_.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:m,!0)),V.test(n[1])&&_.isPlainObject(t))for(n in t)_.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);}else{if((r=m.getElementById(n[2]))&&r.parentNode){if(r.id!==n[2])return i.find(e);this.length=1,this[0]=r;}this.context=m,this.selector=e;}}return this;}).prototype=_.fn,i=_(m),/^(?:parents|prev(?:Until|All))/),G={children:!0,contents:!0,next:!0,prev:!0};function Z(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e;}_.extend({dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(void 0===n||1!==i.nodeType||!_(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r;},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n;}}),_.fn.extend({has:function(e){var t,n=_(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(_.contains(this,n[t]))return !0;});},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=X.test(e)||"string"!=typeof e?_(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&_.find.matchesSelector(n,e))){o.push(n);break;}return this.pushStack(1<o.length?_.unique(o):o);},index:function(e){return e?"string"==typeof e?_.inArray(this[0],_(e)):_.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1;},add:function(e,t){return this.pushStack(_.unique(_.merge(this.get(),_(e,t))));},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e));}}),_.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null;},parents:function(e){return _.dir(e,"parentNode");},parentsUntil:function(e,t,n){return _.dir(e,"parentNode",n);},next:function(e){return Z(e,"nextSibling");},prev:function(e){return Z(e,"previousSibling");},nextAll:function(e){return _.dir(e,"nextSibling");},prevAll:function(e){return _.dir(e,"previousSibling");},nextUntil:function(e,t,n){return _.dir(e,"nextSibling",n);},prevUntil:function(e,t,n){return _.dir(e,"previousSibling",n);},siblings:function(e){return _.sibling((e.parentNode||{}).firstChild,e);},children:function(e){return _.sibling(e.firstChild);},contents:function(e){return _.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:_.merge([],e.childNodes);}},function(r,i){_.fn[r]=function(e,t){var n=_.map(this,i,e);return (t="Until"!==r.slice(-5)?e:t)&&"string"==typeof t&&(n=_.filter(t,n)),1<this.length&&(G[r]||(n=_.unique(n)),Y.test(r))&&(n=n.reverse()),this.pushStack(n);};});var t,w=/\S+/g,ee={};function te(){m.addEventListener?(m.removeEventListener("DOMContentLoaded",r,!1),h.removeEventListener("load",r,!1)):(m.detachEvent("onreadystatechange",r),h.detachEvent("onload",r));}function r(){!m.addEventListener&&"load"!==event.type&&"complete"!==m.readyState||(te(),_.ready());}_.Callbacks=function(i){var e,n;i="string"==typeof i?ee[i]||(n=ee[e=i]={},_.each(e.match(w)||[],function(e,t){n[t]=!0;}),n):_.extend({},i);function r(e){for(t=i.memory&&e,a=!0,s=l||0,l=0,u=c.length,o=!0;c&&s<u;s++)if(!1===c[s].apply(e[0],e[1])&&i.stopOnFalse){t=!1;break;}o=!1,c&&(f?f.length&&r(f.shift()):t?c=[]:p.disable());}var o,t,a,u,s,l,c=[],f=!i.once&&[],p={add:function(){var e;return c&&(e=c.length,function r(e){_.each(e,function(e,t){var n=_.type(t);"function"===n?i.unique&&p.has(t)||c.push(t):t&&t.length&&"string"!==n&&r(t);});}(arguments),o?u=c.length:t&&(l=e,r(t))),this;},remove:function(){return c&&_.each(arguments,function(e,t){for(var n;-1<(n=_.inArray(t,c,n));)c.splice(n,1),o&&(n<=u&&u--,n<=s)&&s--;}),this;},has:function(e){return e?-1<_.inArray(e,c):!(!c||!c.length);},empty:function(){return c=[],u=0,this;},disable:function(){return c=f=t=void 0,this;},disabled:function(){return !c;},lock:function(){return f=void 0,t||p.disable(),this;},locked:function(){return !f;},fireWith:function(e,t){return !c||a&&!f||(t=[e,(t=t||[]).slice?t.slice():t],o?f.push(t):r(t)),this;},fire:function(){return p.fireWith(this,arguments),this;},fired:function(){return !!a;}};return p;},_.extend({Deferred:function(e){var o=[["resolve","done",_.Callbacks("once memory"),"resolved"],["reject","fail",_.Callbacks("once memory"),"rejected"],["notify","progress",_.Callbacks("memory")]],i="pending",a={state:function(){return i;},always:function(){return u.done(arguments).fail(arguments),this;},then:function(){var i=arguments;return _.Deferred(function(r){_.each(o,function(e,t){var n=_.isFunction(i[e])&&i[e];u[t[1]](function(){var e=n&&n.apply(this,arguments);e&&_.isFunction(e.promise)?e.promise().done(r.resolve).fail(r.reject).progress(r.notify):r[t[0]+"With"](this===a?r.promise():this,n?[e]:arguments);});}),i=null;}).promise();},promise:function(e){return null!=e?_.extend(e,a):a;}},u={};return a.pipe=a.then,_.each(o,function(e,t){var n=t[2],r=t[3];a[t[1]]=n.add,r&&n.add(function(){i=r;},o[1^e][2].disable,o[2][2].lock),u[t[0]]=function(){return u[t[0]+"With"](this===u?a:this,arguments),this;},u[t[0]+"With"]=n.fireWith;}),a.promise(u),e&&e.call(u,u),u;},when:function(e){function t(t,n,r){return function(e){n[t]=this,r[t]=1<arguments.length?c.call(arguments):e,r===i?l.
137notifyWith(n,r):--s||l.resolveWith(n,r);};}var i,n,r,o=0,a=c.call(arguments),u=a.length,s=1!==u||e&&_.isFunction(e.promise)?u:0,l=1===s?e:_.Deferred();if(1<u)for(i=new Array(u),n=new Array(u),r=new Array(u);o<u;o++)a[o]&&_.isFunction(a[o].promise)?a[o].promise().done(t(o,r,a)).fail(l.reject).progress(t(o,n,i)):--s;return s||l.resolveWith(r,a),l.promise();}}),_.fn.ready=function(e){return _.ready.promise().done(e),this;},_.extend({isReady:!1,readyWait:1,holdReady:function(e){e?_.readyWait++:_.ready(!0);},ready:function(e){if(!0===e?!--_.readyWait:!_.isReady){if(!m.body)return setTimeout(_.ready);(_.isReady=!0)!==e&&0<--_.readyWait||(t.resolveWith(m,[_]),_.fn.triggerHandler&&(_(m).triggerHandler("ready"),_(m).off("ready")));}}}),_.ready.promise=function(e){if(!t)if(t=_.Deferred(),"complete"===m.readyState)setTimeout(_.ready);else if(m.addEventListener)m.addEventListener("DOMContentLoaded",r,!1),h.addEventListener("load",r,!1);else{m.attachEvent("onreadystatechange",r),h.attachEvent("onload",r);var n=!1;try{n=null==h.frameElement&&m.documentElement;}catch(e){}n&&n.doScroll&&!function t(){if(!_.isReady){try{n.doScroll("left");}catch(e){return setTimeout(t,50);}te(),_.ready();}}();}return t.promise(e);};var ne,y="undefined";for(ne in _(v))break;v.ownLast="0"!==ne,v.inlineBlockNeedsLayout=!1,_(function(){var e,t,n=m.getElementsByTagName("body")[0];n&&n.style&&(e=m.createElement("div"),(t=m.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(t).appendChild(e),typeof e.style.zoom!=y&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",v.inlineBlockNeedsLayout=e=3===e.offsetWidth,e)&&(n.style.zoom=1),n.removeChild(t));});e=m.createElement("div");if(null==v.deleteExpando){v.deleteExpando=!0;try{delete e.test;}catch(e){v.deleteExpando=!1;}}_.acceptData=function(e){var t=_.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return (1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t);};var re=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ie=/([A-Z])/g;function oe(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(ie,"-$1").toLowerCase();if("string"==typeof (n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:re.test(n)?_.parseJSON(n):n);}catch(e){}_.data(e,t,n);}else n=void 0;}return n;}function ae(e){for(var t in e)if(("data"!==t||!_.isEmptyObject(e[t]))&&"toJSON"!==t)return;return 1;}function ue(e,t,n,r){if(_.acceptData(e)){var i,o=_.expando,a=e.nodeType,u=a?_.cache:e,s=a?e[o]:e[o]&&o;if(s&&u[s]&&(r||u[s].data)||void 0!==n||"string"!=typeof t)return u[s=s||(a?e[o]=f.pop()||_.guid++:o)]||(u[s]=a?{}:{toJSON:_.noop}),"object"!=typeof t&&"function"!=typeof t||(r?u[s]=_.extend(u[s],t):u[s].data=_.extend(u[s].data,t)),e=u[s],r||(e.data||(e.data={}),e=e.data),void 0!==n&&(e[_.camelCase(t)]=n),"string"==typeof t?null==(i=e[t])&&(i=e[_.camelCase(t)]):i=e,i;}}function se(e,t,n){if(_.acceptData(e)){var r,i,o=e.nodeType,a=o?_.cache:e,u=o?e[_.expando]:_.expando;if(a[u]){if(t&&(r=n?a[u]:a[u].data)){i=(t=_.isArray(t)?t.concat(_.map(t,_.camelCase)):t in r||(t=_.camelCase(t)) in r?[t]:t.split(" ")).length;for(;i--;)delete r[t[i]];if(n?!ae(r):!_.isEmptyObject(r))return;}(n||(delete a[u].data,ae(a[u])))&&(o?_.cleanData([e],!0):v.deleteExpando||a!=a.window?delete a[u]:a[u]=null);}}}_.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return !!(e=e.nodeType?_.cache[e[_.expando]]:e[_.expando])&&!ae(e);},data:function(e,t,n){return ue(e,t,n);},removeData:function(e,t){return se(e,t);},_data:function(e,t,n){return ue(e,t,n,!0);},_removeData:function(e,t){return se(e,t,!0);}}),_.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0!==e)return "object"==typeof e?this.each(function(){_.data(this,e);}):1<arguments.length?this.each(function(){_.data(this,e,t);}):o?oe(o,e,_.data(o,e)):void 0;if(this.length&&(i=_.data(o),1===o.nodeType)&&!_._data(o,"parsedAttrs")){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&oe(o,r=_.camelCase(r.slice(5)),i[r]);_._data(o,"parsedAttrs",!0);}return i;},removeData:function(e){return this.each(function(){_.removeData(this,e);});}}),_.extend({queue:function(e,t,n){var r;if(e)return r=_._data(e,t=(t||"fx")+"queue"),n&&(!r||_.isArray(n)?r=_._data(e,t,_.makeArray(n)):r.push(n)),r||[];},dequeue:function(e,t){t=t||"fx";var n=_.queue(e,t),r=n.length,i=n.shift(),o=_._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){_.dequeue(e,t);},o)),!r&&o&&o.empty.fire();},_queueHooks:function(e,t){var n=t+"queueHooks";return _._data(e,n)||_._data(e,n,{empty:_.Callbacks("once memory").add(function(){_._removeData(e,t+"queue"),_._removeData(e,n);})});}}),_.fn.extend({queue:function(t,n){var e=2;return "string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?_.queue(this[0],t):void 0===n?this:this.each(function(){var e=_.queue(this,t,n);_._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&_.dequeue(this,t);});},dequeue:function(e){return this.each(function(){_.dequeue(this,e);});},clearQueue:function(e){return this.queue(e||"fx",[]);},promise:function(e,t){function n(){--i||o.resolveWith(a,[a]);}var r,i=1,o=_.Deferred(),a=this,u=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";u--;)(r=_._data(a[u],e+"queueHooks"))&&r.empty&&(i++,r.empty.add(n));return n(),o.promise(t);}});function b(e,t){return "none"===_.css(e=t||e,"display")||!_.contains(e.ownerDocument,e);}var e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,u=["Top","Right","Bottom","Left"],s=_.access=function(e,t,n,r,i,o,a){var u=0,s=e.length,l=null==n;
137if("object"===_.type(n))for(u in i=!0,n)_.access(e,t,u,n[u],!0,o,a);else{if(void 0!==r&&(i=!0,_.isFunction(r)||(a=!0),t=l?a?(t.call(e,r),null):(l=t,function(e,t,n){return l.call(_(e),n);}):t))for(;u<s;u++)t(e[u],n,a?r:r.call(e[u],u,t(e[u],n)));}return i?e:l?t.call(e):s?t(e[0],n):o;},le=/^(?:checkbox|radio)$/i,o=m.createElement("input"),a=m.createElement("div"),l=m.createDocumentFragment();if(a.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",v.leadingWhitespace=3===a.firstChild.nodeType,v.tbody=!a.getElementsByTagName("tbody").length,v.htmlSerialize=!!a.getElementsByTagName("link").length,v.html5Clone="<:nav></:nav>"!==m.createElement("nav").cloneNode(!0).outerHTML,o.type="checkbox",o.checked=!0,l.appendChild(o),v.appendChecked=o.checked,a.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue,l.appendChild(a),a.innerHTML="<input type='radio' checked='checked' name='t'/>",v.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,v.noCloneEvent=!0,a.attachEvent&&(a.attachEvent("onclick",function(){v.noCloneEvent=!1;}),a.cloneNode(!0).click()),null==v.deleteExpando){v.deleteExpando=!0;try{delete a.test;}catch(e){v.deleteExpando=!1;}}var p,ce,fe=m.createElement("div");for(p in {submit:!0,change:!0,focusin:!0})(v[p+"Bubbles"]=(ce="on"+p) in h)||(fe.setAttribute(ce,"t"),v[p+"Bubbles"]=!1===fe.attributes[ce].expando);var pe=/^(?:input|select|textarea)$/i,de=/^key/,he=/^(?:mouse|pointer|contextmenu)|click/,ge=/^(?:focusinfocus|focusoutblur)$/,ve=/^([^.]*)(?:\.(.+)|)$/;function me(){return !0;}function d(){return !1;}function ye(){try{return m.activeElement;}catch(e){}}function be(e){var t=xe.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n;}_.event={global:{},add:function(e,t,n,r,i){var o,a,u,s,l,c,f,p,d,h=_._data(e);if(h)for(n.handler&&(n=(u=n).handler,i=u.selector),n.guid||(n.guid=_.guid++),o=(o=h.events)||(h.events={}),(l=h.handle)||((l=h.handle=function(e){return typeof _==y||e&&_.event.triggered===e.type?void 0:_.event.dispatch.apply(l.elem,arguments);}).elem=e),a=(t=(t||"").match(w)||[""]).length;a--;)f=d=(p=ve.exec(t[a])||[])[1],p=(p[2]||"").split(".").sort(),f&&(s=_.event.special[f]||{},f=(i?s.delegateType:s.bindType)||f,s=_.event.special[f]||{},d=_.extend({type:f,origType:d,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&_.expr.match.needsContext.test(i),namespace:p.join(".")},u),(c=o[f])||((c=o[f]=[]).delegateCount=0,s.setup&&!1!==s.setup.call(e,r,p,l))||(e.addEventListener?e.addEventListener(f,l,!1):e.attachEvent&&e.attachEvent("on"+f,l)),s.add&&(s.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),i?c.splice(c.delegateCount++,0,d):c.push(d),_.event.global[f]=!0);},remove:function(e,t,n,r,i){var o,a,u,s,l,c,f,p,d,h,g,v=_.hasData(e)&&_._data(e);if(v&&(c=v.events)){for(l=(t=(t||"").match(w)||[""]).length;l--;)if(d=g=(u=ve.exec(t[l])||[])[1],h=(u[2]||"").split(".").sort(),d){for(f=_.event.special[d]||{},p=c[d=(r?f.delegateType:f.bindType)||d]||[],u=u[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)a=p[o],!i&&g!==a.origType||n&&n.guid!==a.guid||u&&!u.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(p.splice(o,1),a.selector&&p.delegateCount--,f.remove&&f.remove.call(e,a));s&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||_.removeEvent(e,d,v.handle),delete c[d]);}else for(d in c)_.event.remove(e,d+t[l],n,r,!0);_.isEmptyObject(c)&&(delete v.handle,_._removeData(e,"events"));}},trigger:function(e,t,n,r){var i,o,a,u,s,l,c=[n||m],f=g.call(e,"type")?e.type:e,p=g.call(e,"namespace")?e.namespace.split("."):[],d=s=n=n||m;if(3!==n.nodeType&&8!==n.nodeType&&!ge.test(f+_.event.triggered)&&(0<=f.indexOf(".")&&(f=(p=f.split(".")).shift(),p.sort()),o=f.indexOf(":")<0&&"on"+f,(e=e[_.expando]?e:new _.Event(f,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=p.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:_.makeArray(t,[e]),u=_.event.special[f]||{},r||!u.trigger||!1!==u.trigger.apply(n,t))){if(!r&&!u.noBubble&&!_.isWindow(n)){for(a=u.delegateType||f,ge.test(a+f)||(d=d.parentNode);d;d=d.parentNode)c.push(d),s=d;s===(n.ownerDocument||m)&&c.push(s.defaultView||s.parentWindow||h);}for(l=0;
137(d=c[l++])&&!e.isPropagationStopped();)e.type=1<l?a:u.bindType||f,(i=(_._data(d,"events")||{})[e.type]&&_._data(d,"handle"))&&i.apply(d,t),(i=o&&d[o])&&i.apply&&_.acceptData(d)&&(e.result=i.apply(d,t),!1===e.result)&&e.preventDefault();if(e.type=f,!r&&!e.isDefaultPrevented()&&(!u._default||!1===u._default.apply(c.pop(),t))&&_.acceptData(n)&&o&&n[f]&&!_.isWindow(n)){(s=n[o])&&(n[o]=null),_.event.triggered=f;try{n[f]();}catch(e){}_.event.triggered=void 0,s&&(n[o]=s);}return e.result;}},dispatch:function(e){e=_.event.fix(e);var t,n,r,i,o,a=c.call(arguments),u=(_._data(this,"events")||{})[e.type]||[],s=_.event.special[e.type]||{};if((a[0]=e).delegateTarget=this,!s.preDispatch||!1!==s.preDispatch.call(this,e)){for(o=_.event.handlers.call(this,e,u),t=0;(r=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,i=0;(n=r.handlers[i++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(n.namespace)||(e.handleObj=n,e.data=n.data,void 0!==(n=((_.event.special[n.origType]||{}).handle||n.handler).apply(r.elem,a))&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return s.postDispatch&&s.postDispatch.call(this,e),e.result;}},handlers:function(e,t){var n,r,i,o,a=[],u=t.delegateCount,s=e.target;if(u&&s.nodeType&&(!e.button||"click"!==e.type))for(;s!=this;s=s.parentNode||this)if(1===s.nodeType&&(!0!==s.disabled||"click"!==e.type)){for(i=[],o=0;o<u;o++)void 0===i[n=(r=t[o]).selector+" "]&&(i[n]=r.needsContext?0<=_(n,this).index(s):_.find(n,this,null,[s]).length),i[n]&&i.push(r);i.length&&a.push({elem:s,handlers:i});}return u<t.length&&a.push({elem:this,handlers:t.slice(u)}),a;},fix:function(e){if(e[_.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=he.test(i)?this.mouseHooks:de.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new _.Event(o),t=r.length;t--;)e[n=r[t]]=o[n];return e.target||(e.target=o.srcElement||m),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e;},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e;}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i=t.button,o=t.fromElement;return null==e.pageX&&null!=t.clientX&&(r=(n=e.target.ownerDocument||m).documentElement,n=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&o&&(e.relatedTarget=o===e.target?t.toElement:o),e.which||void 0===i||(e.which=1&i?1:2&i?3:4&i?2:0),e;}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ye()&&this.focus)try{return this.focus(),!1;}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===ye()&&this.blur)return this.blur(),!1;},delegateType:"focusout"},click:{trigger:function(){if(_.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1;},_default:function(e){return _.nodeName(e.target,"a");}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result);}}},simulate:function(e,t,n,r){e=_.extend(new _.Event(),n,{type:e,isSimulated:!0,originalEvent:{}});r?_.event.trigger(e,null,t):_.event.dispatch.call(t,e),e.isDefaultPrevented()&&n.preventDefault();}},_.removeEvent=m.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1);}:function(e,t,n){t="on"+t;e.detachEvent&&(typeof e[t]==y&&(e[t]=null),e.detachEvent(t,n));},_.Event=function(e,t){if(!(this instanceof _.Event))return new _.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?me:d):this.type=e,t&&_.extend(this,t),this.timeStamp=e&&e.timeStamp||_.now(),this[_.expando]=!0;},_.Event.prototype={isDefaultPrevented:d,isPropagationStopped:d,isImmediatePropagationStopped:d,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=me,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1);},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=me,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0);},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=me,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation();}}
137,_.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){_.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||_.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t;}};}),v.submitBubbles||(_.event.special.submit={setup:function(){if(_.nodeName(this,"form"))return !1;_.event.add(this,"click._submit keypress._submit",function(e){e=e.target,e=_.nodeName(e,"input")||_.nodeName(e,"button")?e.form:void 0;e&&!_._data(e,"submitBubbles")&&(_.event.add(e,"submit._submit",function(e){e._submit_bubble=!0;}),_._data(e,"submitBubbles",!0));});},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode)&&!e.isTrigger&&_.event.simulate("submit",this.parentNode,e,!0);},teardown:function(){if(_.nodeName(this,"form"))return !1;_.event.remove(this,"._submit");}}),v.changeBubbles||(_.event.special.change={setup:function(){if(pe.test(this.nodeName))return "checkbox"!==this.type&&"radio"!==this.type||(_.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0);}),_.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),_.event.simulate("change",this,e,!0);})),!1;_.event.add(this,"beforeactivate._change",function(e){e=e.target;pe.test(e.nodeName)&&!_._data(e,"changeBubbles")&&(_.event.add(e,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||_.event.simulate("change",this.parentNode,e,!0);}),_._data(e,"changeBubbles",!0));});},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments);},teardown:function(){return _.event.remove(this,"._change"),!pe.test(this.nodeName);}}),v.focusinBubbles||_.each({focus:"focusin",blur:"focusout"},function(n,r){function i(e){_.event.simulate(r,e.target,_.event.fix(e),!0);}_.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=_._data(e,r);t||e.addEventListener(n,i,!0),_._data(e,r,(t||0)+1);},teardown:function(){var e=this.ownerDocument||this,t=_._data(e,r)-1;t?_._data(e,r,t):(e.removeEventListener(n,i,!0),_._removeData(e,r));}};}),_.fn.extend({on:function(e,t,n,r,i){var o,a;if("object"==typeof e){for(o in "string"!=typeof t&&(n=n||t,t=void 0),e)this.on(o,t,n,e[o],i);return this;}if(null==n&&null==r?(r=t,n=t=void 0):null==r&&("string"==typeof t?(r=n,n=void 0):(r=n,n=t,t=void 0)),!1===r)r=d;else{if(!r)return this;}return 1===i&&(a=r,(r=function(e){return _().off(e),a.apply(this,arguments);}).guid=a.guid||(a.guid=_.guid++)),this.each(function(){_.event.add(this,e,r,n,t);});},one:function(e,t,n,r){return this.on(e,t,n,r,1);},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)r=e.handleObj,_(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler);else{if("object"!=typeof e)return !1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=d),this.each(function(){_.event.remove(this,e,n,t);});for(i in e)this.off(i,t,e[i]);}return this;},trigger:function(e,t){return this.each(function(){_.event.trigger(e,t,this);});},triggerHandler:function(e,t){var n=this[0];if(n)return _.event.trigger(e,t,n,!0);}});var xe="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",_e=/ jQuery\d+="(?:null|\d+)"/g,we=new RegExp("<(?:"+xe+")[\\s/>]","i"),Ce=/^\s+/,Ee=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ke=/<([\w:]+)/,Te=/<tbody/i,Ae=/<|&#?\w+;/,Se=/<(?:script|style|link)/i,je=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^$|\/(?:java|ecma)script/i,Le=/^true\/(.*)/,De=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,x={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:v.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Oe=be(m).appendChild(m.createElement("div"));function C(e,t){var n,r,i=0,o=typeof e.getElementsByTagName!=y?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!=y?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||_.nodeName(r,t)?o.push(r):_.merge(o,C(r,t));return void 0===t||t&&_.nodeName(e,t)?_.merge([e],o):o;}function qe(e){le.test(e.type)&&(e.defaultChecked=e.checked);}
137function Re(e,t){return _.nodeName(e,"table")&&_.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e;}function Ie(e){return e.type=(null!==_.find.attr(e,"type"))+"/"+e.type,e;}function Be(e){var t=Le.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e;}function ze(e,t){for(var n,r=0;null!=(n=e[r]);r++)_._data(n,"globalEval",!t||_._data(t[r],"globalEval"));}function He(e,t){if(1===t.nodeType&&_.hasData(e)){var n,r,i,e=_._data(e),o=_._data(t,e),a=e.events;if(a)for(n in delete o.handle,o.events={},a)for(r=0,i=a[n].length;r<i;r++)_.event.add(t,n,a[n][r]);o.data&&(o.data=_.extend({},o.data));}}x.optgroup=x.option,x.tbody=x.tfoot=x.colgroup=x.caption=x.thead,x.th=x.td,_.extend({clone:function(e,t,n){var r,i,o,a,u,s=_.contains(e.ownerDocument,e);if(v.html5Clone||_.isXMLDoc(e)||!we.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Oe.innerHTML=e.outerHTML,Oe.removeChild(o=Oe.firstChild)),!(v.noCloneEvent&&v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||_.isXMLDoc(e)))for(r=C(o),u=C(e),a=0;null!=(i=u[a]);++a)if(r[a]){f=c=l=d=p=void 0;var l,c,f,p=i,d=r[a];if(1===d.nodeType){if(l=d.nodeName.toLowerCase(),!v.noCloneEvent&&d[_.expando]){for(c in (f=_._data(d)).events)_.removeEvent(d,c,f.handle);d.removeAttribute(_.expando);}"script"===l&&d.text!==p.text?(Ie(d).text=p.text,Be(d)):"object"===l?(d.parentNode&&(d.outerHTML=p.outerHTML),v.html5Clone&&p.innerHTML&&!_.trim(d.innerHTML)&&(d.innerHTML=p.innerHTML)):"input"===l&&le.test(p.type)?(d.defaultChecked=d.checked=p.checked,d.value!==p.value&&(d.value=p.value)):"option"===l?d.defaultSelected=d.selected=p.defaultSelected:"input"!==l&&"textarea"!==l||(d.defaultValue=p.defaultValue);}}if(t)if(n)for(u=u||C(e),r=r||C(o),a=0;null!=(i=u[a]);a++)He(i,r[a]);else He(e,o);return 0<(r=C(o,"script")).length&&ze(r,!s&&C(e,"script")),r=u=i=null,o;},buildFragment:function(e,t,n,r){for(var i,o,a,u,s,l,c,f=e.length,p=be(t),d=[],h=0;h<f;h++)if((o=e[h])||0===o)if("object"===_.type(o))_.merge(d,o.nodeType?[o]:o);else if(Ae.test(o)){for(u=u||p.appendChild(t.createElement("div")),s=(ke.exec(o)||["",""])[1].toLowerCase(),u.innerHTML=(c=x[s]||x._default)[1]+o.replace(Ee,"<$1></$2>")+c[2],i=c[0];i--;)u=u.lastChild;if(!v.leadingWhitespace&&Ce.test(o)&&d.push(t.createTextNode(Ce.exec(o)[0])),!v.tbody)for(i=(o="table"!==s||Te.test(o)?"<table>"!==c[1]||Te.test(o)?0:u:u.firstChild)&&o.childNodes.length;i--;)_.nodeName(l=o.childNodes[i],"tbody")&&!l.childNodes.length&&o.removeChild(l);for(_.merge(d,u.childNodes),u.textContent="";u.firstChild;)u.removeChild(u.firstChild);u=p.lastChild;}else d.push(t.createTextNode(o));for(u&&p.removeChild(u),v.appendChecked||_.grep(C(d,"input"),qe),h=0;o=d[h++];)if((!r||-1===_.inArray(o,r))&&(a=_.contains(o.ownerDocument,o),u=C(p.appendChild(o),"script"),a&&ze(u),n))for(i=0;o=u[i++];)Ne.test(o.type||"")&&n.push(o);return u=null,p;},cleanData:function(e,t){for(var n,r,i,o,a=0,u=_.expando,s=_.cache,l=v.deleteExpando,c=_.event.special;null!=(n=e[a]);a++)if((t||_.acceptData(n))&&(o=(i=n[u])&&s[i])){if(o.events)for(r in o.events)c[r]?_.event.remove(n,r):_.removeEvent(n,r,o.handle);s[i]&&(delete s[i],l?delete n[u]:typeof n.removeAttribute!=y?n.removeAttribute(u):n[u]=null,f.push(i));}}}),_.fn.extend({text:function(e){return s(this,function(e){return void 0===e?_.text(this):this.empty().append((this[0]&&this[0].ownerDocument||m).createTextNode(e));},null,e,arguments.length);},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e);});},prepend:function(){return this.domManip(arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=Re(this,e)).insertBefore(e,t.firstChild);});},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this);});},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling);});},remove:function(e,t){for(var n,r=e?_.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||_.cleanData(C(n)),n.parentNode&&(t&&_.contains(n.ownerDocument,n)&&ze(C(n,"script")),n.parentNode.removeChild(n));return this;},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&_.cleanData(C(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&_.nodeName(e,"select")&&(e.options.length=0);}return this;},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return _.clone(this,e,t);});},html:function(e){return s(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(_e,""):void 0;if("string"==typeof e&&!Se.test(e)&&(v.htmlSerialize||!we.test(e))&&(v.leadingWhitespace||!Ce.test(e))&&!x[(ke.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Ee,"<$1></$2>");try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(_.cleanData(C(t,!1)),t.innerHTML=e);t=0;}catch(e){}}t&&this.empty().append(e);},null,e,arguments.length);},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,_.cleanData(C(this)),t&&t.replaceChild(e,this);}),t&&(t.length||t.nodeType)?this:this.remove();},detach:function(e){return this.remove(e,!0);},domManip:function(n,r){n=z.apply([],n);var e,t,i,o,a,u,s=0,l=this.length,c=this,f=l-1,p=n[0],d=_.isFunction(p);if(d||1<l&&"string"==typeof p&&!v.checkClone&&je.test(p))return this.each(function(e){var t=c.eq(e);d&&(n[0]=p.call(this,e,t.html())),t.domManip(n,r);});if(l&&(e=(u=_.buildFragment(n,this[0].ownerDocument,!1,this)).firstChild,1===u.childNodes.length&&(u=e),e)){for(i=(o=_.map(C(u,"script"),Ie)).length;s<l;s++)t=u,s!==f&&(t=_.clone(t,!0,!0),i)&&_.merge(o,C(t,"script")),r.call(this[s],t,s);if(i)for(a=o[o.length-1].ownerDocument,_.map(o,Be),s=0;s<i;s++)t=o[s],Ne.test(t.type||"")&&!_._data(t,"globalEval")&&_.contains(a,t)&&(t.src?_._evalUrl&&_._evalUrl(t.src):_.globalEval((t.text||t.textContent||t.innerHTML||"").replace(De,"")));u=null;}return this;}}),_.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"}
137,function(e,a){_.fn[e]=function(e){for(var t,n=0,r=[],i=_(e),o=i.length-1;n<=o;n++)t=n===o?this:this.clone(!0),_(i[n])[a](t),H.apply(r,t.get());return this.pushStack(r);};});var Fe,E,$e={};function Me(e,t){e=_(t.createElement(e)).appendTo(t.body),t=h.getDefaultComputedStyle&&(t=h.getDefaultComputedStyle(e[0]))?t.display:_.css(e[0],"display");return e.detach(),t;}function We(e){var t=m,n=$e[e];return n||("none"!==(n=Me(e,t))&&n||((t=((Fe=(Fe||_("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentWindow||Fe[0].contentDocument).document).write(),t.close(),n=Me(e,t),Fe.detach()),$e[e]=n),n;}v.shrinkWrapBlocks=function(){var e,t,n;return null!=E?E:(E=!1,(t=m.getElementsByTagName("body")[0])&&t.style?(e=m.createElement("div"),(n=m.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),typeof e.style.zoom!=y&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(m.createElement("div")).style.width="5px",E=3!==e.offsetWidth),t.removeChild(n),E):void 0);};var k,T,Pe,Ue,Xe,Ve,Je=/^margin/,Ke=new RegExp("^("+e+")(?!px)[a-z%]+$","i"),Qe=/^(top|right|bottom|left)$/;function Ye(t,n){return {get:function(){var e=t();if(null!=e){if(!e)return (this.get=n).apply(this,arguments);delete this.get;}}};}function Ge(){var e,t,n,r=m.getElementsByTagName("body")[0];r&&r.style&&(e=m.createElement("div"),(t=m.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",r.appendChild(t).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",Pe=Ue=!1,Ve=!0,h.getComputedStyle&&(Pe="1%"!==(h.getComputedStyle(e,null)||{}).top,Ue="4px"===(h.getComputedStyle(e,null)||{width:"4px"}).width,(n=e.appendChild(m.createElement("div"))).style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",e.style.width="1px",Ve=!parseFloat((h.getComputedStyle(n,null)||{}).marginRight),e.removeChild(n)),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(n=e.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(Xe=0===n[0].offsetHeight)&&(n[0].style.display="",n[1].style.display="none",Xe=0===n[0].offsetHeight),r.removeChild(t));}h.getComputedStyle?(k=function(e){return (e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView:h).getComputedStyle(e,null);},T=function(e,t,n){var r,i=e.style,o=(n=n||k(e))?n.getPropertyValue(t)||n[t]:void 0;return n&&(""!==o||_.contains(e.ownerDocument,e)||(o=_.style(e,t)),Ke.test(o))&&Je.test(t)&&(e=i.width,t=i.minWidth,r=i.maxWidth,i.minWidth=i.maxWidth=i.width=o,o=n.width,i.width=e,i.minWidth=t,i.maxWidth=r),void 0===o?o:o+"";}):m.documentElement.currentStyle&&(k=function(e){return e.currentStyle;},T=function(e,t,n){var r,i,o,a=e.style;return null==(n=(n=n||k(e))?n[t]:void 0)&&a&&a[t]&&(n=a[t]),Ke.test(n)&&!Qe.test(t)&&(r=a.left,(o=(i=e.runtimeStyle)&&i.left)&&(i.left
137=e.currentStyle.left),a.left="fontSize"===t?"1em":n,n=a.pixelLeft+"px",a.left=r,o)&&(i.left=o),void 0===n?n:n+""||"auto";}),(o=m.createElement("div")).innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",(l=(l=o.getElementsByTagName("a")[0])&&l.style)&&(l.cssText="float:left;opacity:.5",v.opacity="0.5"===l.opacity,v.cssFloat=!!l.cssFloat,o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===o.style.backgroundClip,v.boxSizing=""===l.boxSizing||""===l.MozBoxSizing||""===l.WebkitBoxSizing,_.extend(v,{reliableHiddenOffsets:function(){return null==Xe&&Ge(),Xe;},boxSizingReliable:function(){return null==Ue&&Ge(),Ue;},pixelPosition:function(){return null==Pe&&Ge(),Pe;},reliableMarginRight:function(){return null==Ve&&Ge(),Ve;}})),_.swap=function(e,t,n,r){var i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in n=n.apply(e,r||[]),t)e.style[i]=o[i];return n;};var Ze=/alpha\([^)]*\)/i,et=/opacity\s*=\s*([^)]*)/,tt=/^(none|table(?!-c[ea]).+)/,nt=new RegExp("^("+e+")(.*)$","i"),rt=new RegExp("^([+-])=("+e+")","i"),it={position:"absolute",visibility:"hidden",display:"block"},ot={letterSpacing:"0",fontWeight:"400"},at=["Webkit","O","Moz","ms"];function ut(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=at.length;i--;)if((t=at[i]+n) in e)return t;return r;}function st(e,t){for(var n,r,i,o=[],a=0,u=e.length;a<u;a++)(r=e[a]).style&&(o[a]=_._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&b(r)&&(o[a]=_._data(r,"olddisplay",We(r.nodeName)))):(i=b(r),(n&&"none"!==n||!i)&&_._data(r,"olddisplay",i?n:_.css(r,"display"))));for(a=0;a<u;a++)!(r=e[a]).style||t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none");return e;}function lt(e,t,n){var r=nt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t;}function ct(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=_.css(e,n+u[o],!0,i)),r?("content"===n&&(a-=_.css(e,"padding"+u[o],!0,i)),"margin"!==n&&(a-=_.css(e,"border"+u[o]+"Width",!0,i))):(a+=_.css(e,"padding"+u[o],!0,i),"padding"!==n&&(a+=_.css(e,"border"+u[o]+"Width",!0,i)));return a;}function ft(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=k(e),a=v.boxSizing&&"border-box"===_.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=T(e,t,o))<0||null==i)&&(i=e.style[t]),Ke.test(i))return i;r=a&&(v.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0;}return i+ct(e,t,n||(a?"border":"content"),r,o)+"px";}function A(e,t,n,r,i){return new A.prototype.init(e,t,n,r,i);}_.extend({cssHooks:{opacity:{get:function(e,t){if(t)return ""===(t=T(e,"opacity"))?"1":t;}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:v.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,u=_.camelCase(t),s=e.style;if(t=_.cssProps[u]||(_.cssProps[u]=ut(s,u)),a=_.cssHooks[t]||_.cssHooks[u],void 0===n)return a&&"get" in a&&void 0!==(i=a.get(e,!1,r))?i:s[t];if("string"===(o=typeof n)&&(i=rt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(_.css(e,t)),o="number"),null!=n&&n==n&&("number"!==o||_.cssNumber[u]||(n+="px"),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(s[t]="inherit"),!(a&&"set" in a&&void 0===(n=a.set(e,n,r)))))try{s[t]=n;}catch(e){}}},css:function(e,t,n,r){var i,o=_.camelCase(t);return t=_.cssProps[o]||(_.cssProps[o]=ut(e.style,o)),"normal"===(i=void 0===(i=(o=_.cssHooks[t]||_.cssHooks[o])&&"get" in o?o.get(e,!0,n):i)?T(e,t,r):i)&&t in ot&&(i=ot[t]),(""===n||n)&&(o=parseFloat(i),!0===n||_.isNumeric(o))?o||0:i;}}),_.each(["height","width"],function(e,i){_.cssHooks[i]={get:function(e,t,n){if(t)return tt.test(_.css(e,"display"))&&0===e.offsetWidth?_.swap(e,it,function(){return ft(e,i,n);}):ft(e,i,n);},set:function(e,t,n){var r=n&&k(e);return lt(0,t,n?ct(e,i,n,v.boxSizing&&"border-box"===_.css(e,"boxSizing",!1,r),r):0);}};}),v.opacity||(_.cssHooks.opacity={get:function(e,t){return et.test((t&&e.currentStyle?e.currentStyle:e.style).filter||"")?.01*parseFloat(RegExp.$1)+"":t?"1":"";},set:function(e,t){var n=e.style,e=e.currentStyle,r=_.isNumeric(t)?"alpha(opacity="+100*t+")":"",i=e&&e.filter||n.filter||"";((n.zoom=1)<=t||""===t)&&""===_.trim(i.replace(Ze,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||e&&!e.filter)||(n.filter=Ze.test(i)?i.replace(Ze,r):i+" "+r);}}),_.cssHooks.marginRight=Ye(v.reliableMarginRight,function(e,t){if(t)return _.swap(e,{display:"inline-block"},T,[e,"marginRight"]);}),_.each({margin:"",padding:"",border:"Width"},function(i,o){_.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+u[t]+o]=r[t]||r[t-2]||r[0];return n;}},Je.test(i)||(_.cssHooks[i+o].set=lt);}),_.fn.extend({css:function(e,t){return s(this,function(e,t,n){var r,i,o={},a=0;if(_.isArray(t)){for(r=k(e),i=t.length;a<i;a++)o[t[a]]=_.css(e,t[a],!1,r);return o;}return void 0!==n?_.style(e,t,n):_.css(e,t);},e,t,1<arguments.length);},show:function(){return st(this,!0);},hide:function(){return st(this);},toggle:function(e){return "boolean"==typeof e?e?this.show():this.hide():this.each(function(){b(this)?_(this).show():_(this).hide();});}}),((_.Tween=A).prototype={constructor:A,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(_.cssNumber[n]?"":"px");},cur:function(){var e=A.propHooks[this.prop];return (e&&e.get?e:A.propHooks._default).get(this);},run:function(e){var t,n=A.propHooks[this.prop];return this.options.duration?this.pos=t=_.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(n&&n.set?n:A.propHooks._default).set(this),this;}}).init.prototype=A.prototype,(A.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=_.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop];},set:function(e){_.fx.step[e.prop]?_.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[_.cssProps[e.prop]]||_.cssHooks[e.prop])?_.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now;}}}).scrollTop=A.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now);}},_.easing={linear:function(e){return e;},swing:function(e){return .5-Math.cos(e*Math.PI)/2;}},_.fx=A.prototype.init,_.fx.step={};var S,pt,j,dt=/^(?:toggle|show|hide)$/,ht=new RegExp("^(?:([+-])=|)("+e+")([a-z%]*)$","i"),gt=/queueHooks$/,vt=[function(t,e,n){var r,i,o,a,u,s,l,c=this,f={},p=t.style,d=t.nodeType&&b(t),h=_._data(t,"fxshow");n.queue||(null==(u=_._queueHooks(t,"fx")).unqueued&&(u.unqueued=0,s=u.empty.fire,u.empty.fire=function(){u.unqueued||s();}),u.unqueued++,c.always(function(){c.always(function(){u.unqueued--,_.queue(t,"fx").length||u.empty.fire();});}));1===t.nodeType&&("height" in e||"width" in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],l=_.css(t,"display"),"inline"===("none"===l?_._data(t,"olddisplay")||We(t.nodeName):l))&&"none"===_.css(t,"float")&&(v.inlineBlockNeedsLayout&&"inline"!==We(t.nodeName)?p.zoom=1:p.display="inline-block");n.overflow&&(p.overflow="hidden",v.shrinkWrapBlocks()||c.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2];}));for(r in e)if(i=e[r],dt.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(d?"hide":"show")){if("show"!==i||!h||void 0===h[r])continue;d=!0;}f[r]=h&&h[r]||_.style(t,r);}else l=void 0;if(_.isEmptyObject(f))"inline"===("none"===l?We(t.nodeName):l)&&(p.display=l);else for(r in h?"hidden" in h&&(d=h.hidden):h=_._data(t,"fxshow",{}),o&&(h.hidden=!d),d?_(t).show():c.done(function(){_(t).hide();}),c.done(function(){for(var e in _._removeData(t,"fxshow"),f)_.style(t,e,f[e]);}),f)a=bt(d?h[r]:0,r,c),r in h||(h[r]=a.start,d&&(a.end=a.start,a.start="width"===r||"he
137ight"===r?1:0));}],N={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),t=ht.exec(t),i=t&&t[3]||(_.cssNumber[e]?"":"px"),o=(_.cssNumber[e]||"px"!==i&&+r)&&ht.exec(_.css(n.elem,e)),a=1,u=20;if(o&&o[3]!==i)for(i=i||o[3],t=t||[],o=+r||1;o/=a=a||".5",_.style(n.elem,e,o+i),a!==(a=n.cur()/r)&&1!==a&&--u;);return t&&(o=n.start=+o||+r||0,n.unit=i,n.end=t[1]?o+(t[1]+1)*t[2]:+t[2]),n;}]};function mt(){return setTimeout(function(){S=void 0;}),S=_.now();}function yt(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=u[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r;}function bt(e,t,n){for(var r,i=(N[t]||[]).concat(N["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r;}function xt(i,e,t){var n,o,r,a,u,s,l,c=0,f=vt.length,p=_.Deferred().always(function(){delete d.elem;}),d=function(){if(o)return !1;for(var e=S||mt(),e=Math.max(0,h.startTime+h.duration-e),t=1-(e/h.duration||0),n=0,r=h.tweens.length;n<r;n++)h.tweens[n].run(t);return p.notifyWith(i,[h,t,e]),t<1&&r?e:(p.resolveWith(i,[h]),!1);},h=p.promise({elem:i,props:_.extend({},e),opts:_.extend(!0,{specialEasing:{}},t),originalProperties:e,originalOptions:t,startTime:S||mt(),duration:t.duration,tweens:[],createTween:function(e,t){t=_.Tween(i,h.opts,e,t,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(t),t;},stop:function(e){var t=0,n=e?h.tweens.length:0;if(!o){for(o=!0;t<n;t++)h.tweens[t].run(1);e?p.resolveWith(i,[h,e]):p.rejectWith(i,[h,e]);}return this;}}),g=h.props,v=g,m=h.opts.specialEasing;for(r in v)if(u=m[a=_.camelCase(r)],s=v[r],_.isArray(s)&&(u=s[1],s=v[r]=s[0]),r!==a&&(v[a]=s,delete v[r]),(l=_.cssHooks[a])&&"expand" in l)for(r in s=l.expand(s),delete v[a],s)r in v||(v[r]=s[r],m[r]=u);else m[a]=u;for(;c<f;c++)if(n=vt[c].call(h,i,g,h.opts))return n;return _.map(g,bt,h),_.isFunction(h.opts.start)&&h.opts.start.call(i,h),_.fx.timer(_.extend(d,{elem:i,anim:h,queue:h.opts.queue})),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always);}_.Animation=_.extend(xt,{tweener:function(e,t){for(var n,r=0,i=(e=_.isFunction(e)?(t=e,["*"]):e.split(" ")).length;r<i;r++)n=e[r],N[n]=N[n]||[],N[n].unshift(t);},prefilter:function(e,t){t?vt.unshift(e):vt.push(e);}}),_.speed=function(e,t,n){var r=e&&"object"==typeof e?_.extend({},e):{complete:n||!n&&t||_.isFunction(e)&&e,duration:e,easing:n&&t||t&&!_.isFunction(t)&&t};return r.duration=_.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in _.fx.speeds?_.fx.speeds[r.duration]:_.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){_.isFunction(r.old)&&r.old.call(this),r.queue&&_.dequeue(this,r.queue);},r;},_.fn.extend({fadeTo:function(e,t,n,r){return this.filter(b).css("opacity",0).show().end().animate({opacity:t},e,n,r);},animate:function(t,e,n,r){function i(){var e=xt(this,_.extend({},t),a);(o||_._data(this,"finish"))&&e.stop(!0);}var o=_.isEmptyObject(t),a=_.speed(e,n,r);return i.finish=i,o||!1===a.queue?this.each(i):this.queue(a.queue,i);},stop:function(i,e,o){function a(e){var t=e.stop;delete e.stop,t(o);}return "string"!=typeof i&&(o=e,e=i,i=void 0),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=_.timers,r=_._data(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&gt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||_.dequeue(this,i);});},finish:function(a){return !1!==a&&(a=a||"fx"),this.each(function(){var e,t=_._data(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=_.timers,o=n?n.length:0;for(t.finish=!0,_.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish;});}}),_.each(["toggle","show","hide"],function(e,r){var i=_.fn[r];_.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(yt(r,!0),e,t,n);};}),_.each({slideDown:yt("show"),slideUp:yt("hide"),slideToggle:yt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){_.fn[e]=function(e,t,n){return this.animate(r,e,t,n);};}),_.timers=[],_.fx.tick=function(){var e,t=_.timers,n=0;
137for(S=_.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||_.fx.stop(),S=void 0;},_.fx.timer=function(e){_.timers.push(e),e()?_.fx.start():_.timers.pop();},_.fx.interval=13,_.fx.start=function(){pt=pt||setInterval(_.fx.tick,_.fx.interval);},_.fx.stop=function(){clearInterval(pt),pt=null;},_.fx.speeds={slow:600,fast:200,_default:400},_.fn.delay=function(r,e){return r=_.fx&&_.fx.speeds[r]||r,this.queue(e=e||"fx",function(e,t){var n=setTimeout(e,r);t.stop=function(){clearTimeout(n);};});},(a=m.createElement("div")).setAttribute("className","t"),a.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",o=a.getElementsByTagName("a")[0],e=(l=m.createElement("select")).appendChild(m.createElement("option")),j=a.getElementsByTagName("input")[0],o.style.cssText="top:1px",v.getSetAttribute="t"!==a.className,v.style=/top/.test(o.getAttribute("style")),v.hrefNormalized="/a"===o.getAttribute("href"),v.checkOn=!!j.value,v.optSelected=e.selected,v.enctype=!!m.createElement("form").enctype,l.disabled=!0,v.optDisabled=!e.disabled,(j=m.createElement("input")).setAttribute("value",""),v.input=""===j.getAttribute("value"),j.value="t",j.setAttribute("type","radio"),v.radioValue="t"===j.value;var _t=/\r/g;_.fn.extend({val:function(t){var n,e,r,i=this[0];return arguments.length?(r=_.isFunction(t),this.each(function(e){1!==this.nodeType||(null==(e=r?t.call(this,e,_(this).val()):t)?e="":"number"==typeof e?e+="":_.isArray(e)&&(e=_.map(e,function(e){return null==e?"":e+"";})),(n=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()])&&"set" in n&&void 0!==n.set(this,e,"value"))||(this.value=e);})):i?(n=_.valHooks[i.type]||_.valHooks[i.nodeName.toLowerCase()])&&"get" in n&&void 0!==(e=n.get(i,"value"))?e:"string"==typeof (e=i.value)?e.replace(_t,""):null==e?"":e:void 0;}}),_.extend({valHooks:{option:{get:function(e){var t=_.find.attr(e,"value");return null!=t?t:_.trim(_.text(e));}},select:{get:function(e){for(var t,n=e.options,r=e.selectedIndex,i="select-one"===e.type||r<0,o=i?null:[],a=i?r+1:n.length,u=r<0?a:i?r:0;u<a;u++)if(((t=n[u]).selected||u===r)&&(v.optDisabled?!t.disabled:null===t.getAttribute("disabled"))&&(!t.parentNode.disabled||!_.nodeName(t.parentNode,"optgroup"))){if(t=_(t).val(),i)return t;o.push(t);}return o;},set:function(e,t){for(var n,r,i=e.options,o=_.makeArray(t),a=i.length;a--;)if(r=i[a],0<=_.inArray(_.valHooks.option.get(r),o))try{r.selected=n=!0;}catch(e){r.scrollHeight;}else r.selected=!1;return n||(e.selectedIndex=-1),i;}}}}),_.each(["radio","checkbox"],function(){_.valHooks[this]={set:function(e,t){if(_.isArray(t))return e.checked=0<=_.inArray(_(e).val(),t);}},v.checkOn||(_.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value;});});var L,wt,D=_.expr.attrHandle,Ct=/^(?:checked|selected)$/i,O=v.getSetAttribute,Et=v.input,kt=(_.fn.extend({attr:function(e,t){return s(this,_.attr,e,t,1<arguments.length);},removeAttr:function(e){return this.each(function(){_.removeAttr(this,e);});}}),_.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute==y?_.prop(e,t,n):(1===o&&_.isXMLDoc(e)||(t=t.toLowerCase(),r=_.attrHooks[t]||(_.expr.match.bool.test(t)?wt:L)),void 0===n?!(r&&"get" in r&&null!==(i=r.get(e,t)))&&null==(i=_.find.attr(e,t))?void 0:i:null!==n?r&&"set" in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):void _.removeAttr(e,t));},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(w);if(o&&1===e.nodeType)for(;n=o[i++];)r=_.propFix[n]||n,_.expr.match.bool.test(n)?Et&&O||!Ct.test(n)?e[r]=!1:e[_.camelCase("default-"+n)]=e[r]=!1:_.attr(e,n,""),e.removeAttribute(O?n:r);},attrHooks:{type:{set:function(e,t){var n;if(!v.radioValue&&"radio"===t&&_.nodeName(e,"input"))return n=e.value,e.setAttribute("type",t),n&&(e.value=n),t;}}}}),wt={set:function(e,t,n){return !1===t?_.removeAttr(e,n):Et&&O||!Ct.test(n)?e.setAttribute(!O&&_.propFix[n]||n,n):e[_.camelCase("default-"+n)]=e[n]=!0,n;}},_.each(_.expr.match.bool.source.match(/\w+/g),function(e,t){var o=D[t]||_.find.attr;D[t]=Et&&O||!Ct.test(t)?function(e,t,n){var r,i;
137return n||(i=D[t],D[t]=r,r=null!=o(e,t,n)?t.toLowerCase():null,D[t]=i),r;}:function(e,t,n){if(!n)return e[_.camelCase("default-"+t)]?t.toLowerCase():null;};}),Et&&O||(_.attrHooks.value={set:function(e,t,n){if(!_.nodeName(e,"input"))return L&&L.set(e,t,n);e.defaultValue=t;}}),O||(L={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t;}},D.id=D.name=D.coords=function(e,t,n){if(!n)return (n=e.getAttributeNode(t))&&""!==n.value?n.value:null;},_.valHooks.button={get:function(e,t){e=e.getAttributeNode(t);if(e&&e.specified)return e.value;},set:L.set},_.attrHooks.contenteditable={set:function(e,t,n){L.set(e,""!==t&&t,n);}},_.each(["width","height"],function(e,n){_.attrHooks[n]={set:function(e,t){if(""===t)return e.setAttribute(n,"auto"),t;}};})),v.style||(_.attrHooks.style={get:function(e){return e.style.cssText||void 0;},set:function(e,t){return e.style.cssText=t+"";}}),/^(?:input|select|textarea|button|object)$/i),Tt=/^(?:a|area)$/i,At=(_.fn.extend({prop:function(e,t){return s(this,_.prop,e,t,1<arguments.length);},removeProp:function(e){return e=_.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e];}catch(e){}});}}),_.extend({propFix:{for:"htmlFor",class:"className"},prop:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return (1!==o||!_.isXMLDoc(e))&&(t=_.propFix[t]||t,i=_.propHooks[t]),void 0!==n?i&&"set" in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get" in i&&null!==(r=i.get(e,t))?r:e[t];},propHooks:{tabIndex:{get:function(e){var t=_.find.attr(e,"tabindex");return t?parseInt(t,10):kt.test(e.nodeName)||Tt.test(e.nodeName)&&e.href?0:-1;}}}}),v.hrefNormalized||_.each(["href","src"],function(e,t){_.propHooks[t]={get:function(e){return e.getAttribute(t,4);}};}),v.optSelected||(_.propHooks.selected={get:function(e){e=e.parentNode;return e&&(e.selectedIndex,e.parentNode)&&e.parentNode.selectedIndex,null;}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){_.propFix[this.toLowerCase()]=this;}),v.enctype||(_.propFix.enctype="encoding"),/[\t\r\n\f]/g),St=(_.fn.extend({addClass:function(t){var e,n,r,i,o,a,u=0,s=this.length,l="string"==typeof t&&t;if(_.isFunction(t))return this.each(function(e){_(this).addClass(t.call(this,e,this.className));});if(l)for(e=(t||"").match(w)||[];u<s;u++)if(r=1===(n=this[u]).nodeType&&(n.className?(" "+n.className+" ").replace(At," "):" ")){for(o=0;i=e[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=_.trim(r),n.className!==a&&(n.className=a);}return this;},removeClass:function(t){var e,n,r,i,o,a,u=0,s=this.length,l=0===arguments.length||"string"==typeof t&&t;if(_.isFunction(t))return this.each(function(e){_(this).removeClass(t.call(this,e,this.className));});if(l)for(e=(t||"").match(w)||[];u<s;u++)if(r=1===(n=this[u]).nodeType&&(n.className?(" "+n.className+" ").replace(At," "):"")){for(o=0;i=e[o++];)for(;0<=r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");a=t?_.trim(r):"",n.className!==a&&(n.className=a);}return this;},toggleClass:function(i,t){var o=typeof i;return "boolean"==typeof t&&"string"==o?t?this.addClass(i):this.removeClass(i):_.isFunction(i)?this.each(function(e){_(this).toggleClass(i.call(this,e,this.className,t),t);}):this.each(function(){if("string"==o)for(var e,t=0,n=_(this),r=i.match(w)||[];e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else o!=y&&"boolean"!=o||(this.className&&_._data(this,"__className__",this.className),this.className=!this.className&&!1!==i&&_._data(this,"__className__")||"");});},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&0<=(" "+this[n].className+" ").replace(At," ").indexOf(t))return !0;return !1;}}),_.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){_.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n);};}),_.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e);},bind:function(e,t,n){return this.on(e,null,t,n);},unbind:function(e,t){return this.off(e,null,t);},delegate:function(e,t,n,r){return this.on(t,e,n,r);},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n);}}),_.now()),jt=/\?/,Nt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;_.parseJSON=function(e){var i,o,t;return h.JSON&&h.JSON.parse?h.JSON.parse(e+""):(o=null,(t=_.trim(e+""))&&!_.trim(t.replace(Nt,function(e,t,n,r){return 0===(o=i&&t?0:o)?e:(i=n||t,o+=!r-!n,"");}))?Function("return "+t)():_.error("Invalid JSON: "+e));},_.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{h.DOMParser?t=(new DOMParser()).parseFromString(e,"text/xml"):((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e));}catch(e){t=void 0;}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||_.error("Invalid XML: "+e),t;};var q,R,Lt=/#.*$/,Dt=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,qt=/^(?:GET|HEAD)$/,Rt=/^\/\//,It=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Bt={},zt={},Ht="*/".concat("*");try{R=location.href;}catch(e){(R=m.createElement("a")).href="",R=R.href;}function Ft(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(w)||[];if(_.isFunction(t))for(;n=i[r++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t);};}function $t(t,r,i,o){var a={},u=t===zt;function s(e){var n;return a[e]=!0,_.each(t[e]||[],function(e,t){t=t(r,i,o);return "string"!=typeof t||u||a[t]?u?!(n=t):void 0:(r.dataTypes.unshift(t),s(t),!1);}),n;}return s(r.dataTypes[0])||!a["*"]&&s("*");}function Mt(e,t){var n,r,i=_.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n=n||{})[r]=t[r]);return n&&_.extend(!0,e,n),e;}q=It.exec(R.toLowerCase())||[],_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:R,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(q[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ht,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":_.parseJSON,"text xml":_.parseXML}
137,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Mt(Mt(e,_.ajaxSettings),t):Mt(_.ajaxSettings,e);},ajaxPrefilter:Ft(Bt),ajaxTransport:Ft(zt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var n,s,l,c,f,p,r,d=_.ajaxSetup({},t=t||{}),h=d.context||d,g=d.context&&(h.nodeType||h.jquery)?_(h):_.event,v=_.Deferred(),m=_.Callbacks("once memory"),y=d.statusCode||{},i={},o={},b=0,a="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!r)for(r={};t=Ot.exec(l);)r[t[1].toLowerCase()]=t[2];t=r[e.toLowerCase()];}return null==t?null:t;},getAllResponseHeaders:function(){return 2===b?l:null;},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=o[n]=o[n]||e,i[e]=t),this;},overrideMimeType:function(e){return b||(d.mimeType=e),this;},statusCode:function(e){if(e)if(b<2)for(var t in e)y[t]=[y[t],e[t]];else x.always(e[x.status]);return this;},abort:function(e){e=e||a;return p&&p.abort(e),u(0,e),this;}};if(v.promise(x).complete=m.add,x.success=x.done,x.error=x.fail,d.url=((e||d.url||R)+"").replace(Lt,"").replace(Rt,q[1]+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=_.trim(d.dataType||"*").toLowerCase().match(w)||[""],null==d.crossDomain&&(e=It.exec(d.url.toLowerCase()),d.crossDomain=!(!e||e[1]===q[1]&&e[2]===q[2]&&(e[3]||("http:"===e[1]?"80":"443"))===(q[3]||("http:"===q[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=_.param(d.data,d.traditional)),$t(Bt,d,t,x),2!==b){for(n in (f=_.event&&d.global)&&0==_.active++&&_.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!qt.test(d.type),s=d.url,d.hasContent||(d.data&&(s=d.url+=(jt.test(s)?"&":"?")+d.data,delete d.data),!1===d.cache&&(d.url=Dt.test(s)?s.replace(Dt,"$1_="+St++):s+(jt.test(s)?"&":"?")+"_="+St++)),d.ifModified&&(_.lastModified[s]&&x.setRequestHeader("If-Modified-Since",_.lastModified[s]),_.etag[s])&&x.setRequestHeader("If-None-Match",_.etag[s]),(d.data&&d.hasContent&&!1!==d.contentType||t.contentType)&&x.setRequestHeader("Content-Type",d.contentType),x.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Ht+"; q=0.01":""):d.accepts["*"]),d.headers)x.setRequestHeader(n,d.headers[n]);if(d.beforeSend&&(!1===d.beforeSend.call(h,x,d)||2===b))return x.abort();for(n in a="abort",{success:1,error:1,complete:1})x[n](d[n]);if(p=$t(zt,d,t,x)){x.readyState=1,f&&g.trigger("ajaxSend",[x,d]),d.async&&0<d.timeout&&(c=setTimeout(function(){x.abort("timeout");},d.timeout));try{b=1,p.send(i,u);}catch(e){if(!(b<2))throw e;u(-1,e);}}else u(-1,"No Transport");}return x;function u(e,t,n,r){var i,o,a,u=t;2!==b&&(b=2,c&&clearTimeout(c),p=void 0,l=r||"",x.readyState=0<e?4:0,r=200<=e&&e<300||304===e,n&&(a=function(e,t,n){for(var r,i,o,a,u=e.contents,s=e.dataTypes;"*"===s[0];)s.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in u)if(u[a]&&u[a].test(i)){s.unshift(a);break;}if(s[0] in n)o=s[0];else{for(a in n){if(!s[0]||e.converters[a+" "+s[0]]){o=a;break;}r=r||a;}o=o||r;}if(o)return o!==s[0]&&s.unshift(o),n[o];}(d,x,n)),a=function(e,t,n,r){var i,o,a,u,s,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!s&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),s=o,o=c.shift())if("*"===o)o=s;else{if("*"!==s&&s!==o){if(!(a=l[s+" "+o]||l["* "+o]))for(i in l)if((u=i.split(" "))[1]===o&&(a=l[s+" "+u[0]]||l["* "+u[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=u[0],c.unshift(u[1]));break;}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t);}catch(e){return {state:"parsererror",error:a?e:"No conversion from "+s+" to "+o};}}}return {state:"success",data:t};}(d,a,x,r),r?(d.ifModified&&((n=x.getResponseHeader("Last-Modified"))&&(_.lastModified[s]=n),n=x.getResponseHeader("etag"))&&(_.etag[s]=n),204===e||"HEAD"===d.type?u="nocontent":304===e?u="notmodified":(u=a.state,i=a.data,r=!(o=a.error))):(o=u,!e&&u||(u="error",e<0&&(e=0))),x.status=e,x.statusText=(t||u)+"",r?v.resolveWith(h,[i,u,x]):v.rejectWith(h,[x,u,o]),x.statusCode(y),y=void 0,f&&g.trigger(r?"ajaxSuccess":"ajaxError",[x,d,r?i:o]),m.fireWith(h,[x,u]),f)&&(g.trigger("ajaxComplete",[x,d]),--_.active||_.event.trigger("ajaxStop"));}},getJSON:function(e,t,n){return _.get(e,t,n,"json");},getScript:function(e,t){return _.get(e,void 0,t,"script");}}),_.each(["get","post"],function(e,i){_[i]=function(e,t,n,r){return _.isFunction(t)&&(r=r||n,n=t,t=void 0),_.ajax({url:e,type:i,dataType:r,data:t,success:n});};}),_._evalUrl=function(e){return _.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0});},_.fn.extend({wrapAll:function(t){var e;return _.isFunction(t)?this.each(function(e){_(this).wrapAll(t.call(this,e));}):(this[0]&&(e=_(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e;}).append(this)),this);},wrapInner:function(n){return _.isFunction(n)?this.each(function(e){_(this).wrapInner(n.call(this,e));}):this.each(function(){var e=_(this),t=e.contents();t.length?t.wrapAll(n):e.append(n);});},wrap:function(t){var n=_.isFunction(t);return this.each(function(e){_(this).wrapAll(n?t.call(this,e):t);});},unwrap:function(){return this.parent().each(function(){_.nodeName(this,"body")||_(this).replaceWith(this.childNodes);}).end();}}),_.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!v.reliableHiddenOffsets()&&"none"===(e.style&&e.style.display||_.css(e,"display"));},_.expr.filters.visible=function(e){return !_.expr.filters.hidden(e);};var Wt=/%20/g,Pt=/\[\]$/,Ut=/\r?\n/g,Xt=/^(?:submit|button|image|reset|file)$/i,Vt=/^(?:input|select|textarea|keygen)/i;
137_.param=function(e,t){function n(e,t){t=_.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t);}var r,i=[];if(void 0===t&&(t=_.ajaxSettings&&_.ajaxSettings.traditional),_.isArray(e)||e.jquery&&!_.isPlainObject(e))_.each(e,function(){n(this.name,this.value);});else for(r in e)!function n(r,e,i,o){if(_.isArray(e))_.each(e,function(e,t){i||Pt.test(r)?o(r,t):n(r+"["+("object"==typeof t?e:"")+"]",t,i,o);});else if(i||"object"!==_.type(e))o(r,e);else for(var t in e)n(r+"["+t+"]",e[t],i,o);}(r,e[r],t,n);return i.join("&").replace(Wt,"+");},_.fn.extend({serialize:function(){return _.param(this.serializeArray());},serializeArray:function(){return this.map(function(){var e=_.prop(this,"elements");return e?_.makeArray(e):this;}).filter(function(){var e=this.type;return this.name&&!_(this).is(":disabled")&&Vt.test(this.nodeName)&&!Xt.test(e)&&(this.checked||!le.test(e));}).map(function(e,t){var n=_(this).val();return null==n?null:_.isArray(n)?_.map(n,function(e){return {name:t.name,value:e.replace(Ut,"\r\n")};}):{name:t.name,value:n.replace(Ut,"\r\n")};}).get();}}),_.ajaxSettings.xhr=void 0!==h.ActiveXObject?function(){return !this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Qt()||function(){try{return new h.ActiveXObject("Microsoft.XMLHTTP");}catch(e){}}();}:Qt;var Jt=0,Kt={},a=_.ajaxSettings.xhr();function Qt(){try{return new h.XMLHttpRequest();}catch(e){}}h.attachEvent&&h.attachEvent("onunload",function(){for(var e in Kt)Kt[e](void 0,!0);}),v.cors=!!a&&"withCredentials" in a,(v.ajax=!!a)&&_.ajaxTransport(function(s){var l;if(!s.crossDomain||v.cors)return {send:function(e,o){var t,a=s.xhr(),u=++Jt;if(a.open(s.type,s.url,s.async,s.username,s.password),s.xhrFields)for(t in s.xhrFields)a[t]=s.xhrFields[t];for(t in s.mimeType&&a.overrideMimeType&&a.overrideMimeType(s.mimeType),s.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)void 0!==e[t]&&a.setRequestHeader(t,e[t]+"");a.send(s.hasContent&&s.data||null),l=function(e,t){var n,r,i;if(l&&(t||4===a.readyState))if(delete Kt[u],l=void 0,a.onreadystatechange=_.noop,t)4!==a.readyState&&a.abort();else{i={},n=a.status,"string"==typeof a.responseText&&(i.text=a.responseText);try{r=a.statusText;}catch(e){r="";}n||!s.isLocal||s.crossDomain?1223===n&&(n=204):n=i.text?200:404;}i&&o(n,r,i,a.getAllResponseHeaders());},s.async?4===a.readyState?setTimeout(l):a.onreadystatechange=Kt[u]=l:l();},abort:function(){l&&l(void 0,!0);}};}),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return _.globalEval(e),e;}}}),_.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1);}),_.ajaxTransport("script",function(t){var r,i;if(t.crossDomain)return i=m.head||_("head")[0]||m.documentElement,{send:function(e,n){(r=m.createElement("script")).async=!0,t.scriptCharset&&(r.charset=t.scriptCharset),r.src=t.url,r.onload=r.onreadystatechange=function(e,t){!t&&r.readyState&&!/loaded|complete/.test(r.readyState)||(r.onload=r.onreadystatechange=null,r.parentNode&&r.parentNode.removeChild(r),r=null,t)||n(200,"success");},i.insertBefore(r,i.firstChild);},abort:function(){r&&r.onload(void 0,!0);}};});var Yt=[],Gt=/(=)\?(?=&|$)|\?\?/,Zt=(_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Yt.pop()||_.expando+"_"+St++;return this[e]=!0,e;}}),_.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Gt.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=_.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Gt,"$1"+r):!1!==e.jsonp&&(e.url+=(jt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||_.error(r+" was not called"),o[0];},e.dataTypes[0]="json",i=h[r],h[r]=function(){o=arguments;},n.always(function(){h[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Yt.push(r)),o&&_.isFunction(i)&&i(o[0]),o=i=void 0;}),"script";}),_.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||m;var r=V.exec(e),n=!n&&[];return r?[t.createElement(r[1])]:(r=_.buildFragment([e],t,n),n&&n.length&&_(n).remove(),_.merge([],r.childNodes));},_.fn.load),en=(_.fn.load=function(e,t,n){var r,i,o,a,u;return "string"!=typeof e&&Zt?Zt.apply(this,arguments):(a=this,0<=(u=e.indexOf(" "))&&(r=_.trim(e.slice(u,e.length)),e=e.slice(0,u)),_.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<a.length&&_.ajax({url:e,type:o,dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?_("<div>").append(_.parseHTML(e)).find(r):e);}).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e]);}),this);},_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){_.fn[t]=function(e){return this.on(t,e);};}),_.expr.filters.animated=function(t){return _.grep(_.timers,function(e){return t===e.elem;}).length;},h.document.documentElement);function tn(e){return _.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow);}_.offset={setOffset:function(e,t,n){var r,i,o,a,u=_.css(e,"position"),s=_(e),l={};"static"===u&&(e.style.position="relative"),o=s.offset(),r=_.css(e,"to
137p"),a=_.css(e,"left"),u=("absolute"===u||"fixed"===u)&&-1<_.inArray("auto",[r,a])?(i=(u=s.position()).top,u.left):(i=parseFloat(r)||0,parseFloat(a)||0),null!=(t=_.isFunction(t)?t.call(e,n,o):t).top&&(l.top=t.top-o.top+i),null!=t.left&&(l.left=t.left-o.left+u),"using" in t?t.using.call(e,l):s.css(l);}},_.fn.extend({offset:function(t){var e,n,r,i;return arguments.length?void 0===t?this:this.each(function(e){_.offset.setOffset(this,t,e);}):(n={top:0,left:0},(i=(r=this[0])&&r.ownerDocument)?(e=i.documentElement,_.contains(e,r)?(typeof r.getBoundingClientRect!=y&&(n=r.getBoundingClientRect()),r=tn(i),{top:n.top+(r.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(r.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):n):void 0);},position:function(){var e,t,n,r;if(this[0])return n={top:0,left:0},r=this[0],"fixed"===_.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),(n=_.nodeName(e[0],"html")?n:e.offset()).top+=_.css(e[0],"borderTopWidth",!0),n.left+=_.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-_.css(r,"marginTop",!0),left:t.left-n.left-_.css(r,"marginLeft",!0)};},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||en;e&&!_.nodeName(e,"html")&&"static"===_.css(e,"position");)e=e.offsetParent;return e||en;});}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o=/Y/.test(i);_.fn[t]=function(e){return s(this,function(e,t,n){var r=tn(e);if(void 0===n)return r?i in r?r[i]:r.document.documentElement[t]:e[t];r?r.scrollTo(o?_(r).scrollLeft():n,o?n:_(r).scrollTop()):e[t]=n;},t,e,arguments.length,null);};}),_.each(["top","left"],function(e,n){_.cssHooks[n]=Ye(v.pixelPosition,function(e,t){if(t)return t=T(e,n),Ke.test(t)?_(e).position()[n]+"px":t;});}),_.each({Height:"height",Width:"width"},function(o,a){_.each({padding:"inner"+o,content:a,"":"outer"+o},function(r,e){_.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return s(this,function(e,t,n){var r;return _.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):void 0===n?_.css(e,t,i):_.style(e,t,n,i);},a,n?e:void 0,n,null);};});}),_.fn.size=function(){return this.length;},_.fn.andSelf=_.fn.addBack,on.amd&&on("jquery",[],function(){return _;});var nn=h.jQuery,rn=h.$;return _.noConflict=function(e){return h.$===_&&(h.$=rn),e&&h.jQuery===_&&(h.jQuery=nn),_;},typeof I==y&&(h.jQuery=h.$=_),_;},"object"==typeof module&&"object"==typeof module.exports?module.exports=L.document?t(L,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document");}:t(L),on("jquery-private",["jquery"],function(e){return e.noConflict(!0);}),on("modal",["jquery-private"],function(r){"use strict";var i=null,e="prefix-";r.modal=function(t,e){var n;if(r.modal.close(),this.$body=r("body"),this.options=r.extend({},r.modal.defaults,e),this.options.doFade=!isNaN(parseInt(this.options.fadeDuration,10)),t.is("a"))if(e=t.attr("href"),/^#/.test(e)){if(this.$elm=r(e),1!==this.$elm.length)return null;this.open();}else this.$elm=r("<div>"),this.$body.append(this.$elm),n=function(e){e.elm.remove();},this.showSpinner(),t.trigger(r.modal.AJAX_SEND),r.get(e).done(function(e){i&&(t.trigger(r.modal.AJAX_SUCCESS),i.$elm.empty().append(e).on(r.modal.CLOSE,n),i.hideSpinner(),i.open(),t.trigger(r.modal.AJAX_COMPLETE));}).fail(function(){t.trigger(r.modal.AJAX_FAIL),i.hideSpinner(),t.trigger(r.modal.AJAX_COMPLETE);});else this.$elm=t,this.open();},r.modal.prototype={constructor:r.modal,open:function(){var e=this;this.options.doFade?(this.block(),setTimeout(function(){e.show();},this.options.fadeDuration*this.options.fadeDelay)):(this.block(),this.show()),this.options.escapeClose&&r(x).on("keydown.modal",function(e){27===e.which&&r.modal.close();}),this.options.clickClose&&this.blocker.click(r.modal.close);},close:function(){this.unblock(),this.hide(),r(x).off("keydown.modal");},block:function(){var e=this.options.doFade?0:this.options.opacity;this.$elm.trigger(r.modal.BEFORE_BLOCK,[this.context()]),this.blocker=r("<div>").css({top:0,right:0,bottom:0,left:0,width:"100%",height:"100%",position:"fixed",zIndex:this.options.zIndex,background:this.options.overlay,opacity:e}),this.$body.append(this.blocker),this.options.doFade&&this.blocker.animate({opacity:this.options.opacity},this.options.fadeDuration),this.$elm.trigger(r.modal.BLOCK,[this.context()]);},unblock:function(){this.options.doFade?this.blocker.fadeOut(this.options.fadeDuration,function(){r(this).remove();}):this.blocker.remove();},show:function(){this.$elm.trigger(r.modal.BEFORE_OPEN,[this.context()]),this.options.showClose&&(this.closeButton=r('<a rel="modal:close" class="'+e+'close-modal">'+this.options.closeText+"</a>"),this.$elm.append(this.closeButton)),this.center(),this.options.doFade?this.$elm.fadeIn(this.options.fadeDuration):this.$elm.show(),this.$elm.trigger(r.modal.OPEN,[this.context()]);},hide:function(){this.$elm.trigger(r.modal.BEFORE_CLOSE,[this.context()]),this.closeButton&&this.closeButton.remove(),this.options.doFade?this.$elm.fadeOut(this.options.fadeDuration):this.$elm.hide(),this.$elm.trigger(r.modal.CLOSE,[this.context()]);},showSpinner:function(){this.options.showSpinner&&(this.spinner=this.spinner||r('<div class="'+e+this.options.modalClass+'-spinner"></div>').append(this.options.spinnerHtml),this.$body.append(this.spinner),this.spinner.show());},hideSpinner:function(){this.spinner&&this.spinner.remove();},center:function(){var e={},e=this.options.mobile?{overflow:"auto",padding:"0px",position:"fixed",top:"0px",left:"0px",width:"100vw",zIndex:this.options.zIndex+1}:{position:"fixed",top:"50%",left:"50%",marginTop:-this.$elm.outerHeight()/2,marginLeft:-this.$elm.outerWidth()/2,zIndex:this.options.zIndex+1};this.$elm.css(e);},context:function(){return {elm:this.$elm,blocker:this.blocker,options:this.options};}},r.modal.prototype.resize=r.modal.prototype.center,r.modal.close=function(e){if(i)return e&&e.preventDefault(),i.close(),e=i.$elm,i=null,e;},r.modal.resize=function(){i&&i.resize();},r.modal.isActive=function(){return !!i;},r.modal.defaults={overlay:"#000",opacity:.75,zIndex:1,escapeClose:!0,clickClose:!0,closeText:"Close",modalClass:"modal",spinnerHtml:null,showSpinner:!0,showClose:!0,fadeDuration:null,fadeDelay:1},r.modal.BEFORE_BLOCK="modal:before-block",r.modal.BLOCK="modal:block",r.modal.BEFORE_OPEN="modal:before-open",r.modal.OPEN="modal:open",r.modal.BEFORE_CLOSE="modal:before-close",r.modal.CLOSE="modal:close",r.modal.AJAX_SEND="modal:ajax:send",r.modal.AJAX_SUCCESS="modal:ajax:success",r.modal.AJAX_FAIL="modal:ajax:fail",r.modal.AJAX_COMPLETE="modal:ajax:complete",r.fn.modal=function(e){return 1===this.length&&(i=new r.modal(this,e)),this;},r(x).on("click.modal",'a[rel="modal:close"]',r.modal.close),r(x).on("click.modal",'a[rel="modal:open"]',function(e){e.preventDefault(),r(this).modal();});}),on("ajax",["jquery-private"],function(e){return e.ajax;}),on("subscribe",["ajax"],function(t){"use strict";var r={getAjaxSubscriber:function(e){return t({url:e.apiUrl,data:r.ajaxData(e),dataType:"jsonp",jsonp:"c",timeout:3e4});},ajaxData:function(e){var t={k:e.apiKey,t:e.topicCode,e:e.email,o:e.guid,c
137onsent:"true"};return e.questions&&_.assign(t,e.questions),e.phone&&(t.w=e.phone),t;},quickSubscribeLink:function(e){var t="ovrly="+e.guid+"&email="+b.encodeURIComponent(e.email),n=x.createElement("a");return n.href=e.url,n.search?n.search=n.search+"&"+t:n.search="?"+t,n.href;},subscribeRedirect:function(e){var t=r.quickSubscribeLink(e);return b.open(t),e.successCallback();},subscribeAsync:function(t){var e=r.getAjaxSubscriber(t);e.done(function(e){return e?e.errors||"Topic not found."===e.message?t.errorCallback(e):t.successCallback(e):t.errorCallback();}),e.fail(function(){return t.errorCallback();});},subscribeHybrid:function(n){var e=r.getAjaxSubscriber(n);e.done(function(e){var t=r.quickSubscribeLink(n);return e?e.errors||"Topic not found."===e.message?n.errorCallback(e):(n.successCallback(e),void (b.location=t)):n.errorCallback();}),e.fail(function(){return n.errorCallback();});}};return {subscribeRedirect:r.subscribeRedirect,subscribeAsync:r.subscribeAsync,subscribeHybrid:r.subscribeHybrid};}),on("user-settings",[],function(){"use strict";var i={isDisabled:function(e,t){e=i.read(e,t);return "1"===e||e&&(new Date()).getTime()<parseInt(e,10);},setDisabled:function(e,t){i.write(e,"1",t);},setDisableForNDays:function(e,t,n){var r=new Date(),r=(1e6<t?1:r.getTime()+24*t*60*60*1e3).toString();i.write(e,r,n);},getReadFn:function(e){return i.getStorageFn("read",e);},getWriteFn:function(e){return i.getStorageFn("write",e);},getStorageFn:function(t,n){if(n){var e=n.split("."),e=b.location.host.split(".").slice(-1*e.length);if(n===e.join("."))return function(){var e=Array.prototype.slice.call(arguments);return e.push(n),i[t+"Cookie"].apply(null,e);};}try{return i.writeLocalStorage("t",-1),i[t+"LocalStorage"];}catch(e){return i[t+"Cookie"];}},write:function(e,t,n){return i.getWriteFn(n)(e,t);},read:function(e,t){return i.getReadFn(t)(e);},writeLocalStorage:function(e,t){b.localStorage.setItem(e,t);},readLocalStorage:function(e){return b.localStorage.getItem(e);},readCookie:function(e){for(var t,n=e+"=",r=x.cookie.split(";"),i=r.length,o=0;o<i;o+=1){for(t=r[o];" "===t.charAt(0);)t=t.substring(1,t.length);if(0===t.indexOf(n))return t.substring(n.length,t.length);}return null;},writeCookie:function(e,t,n){var r=new Date();r.setTime(r.getTime()+31536e7),x.cookie=n?e+"="+t+"; expires="+r.toGMTString()+";domain=."+n+";path=/":e+"="+t+"; expires="+r.toGMTString()+"; path=/";}};return i;}),on("slide",["jquery-private","subscribe","user-settings"],function(m){"use strict";function y(e,t){return t=t.replace(/([#.])/,"$1"+n),e.find(t);}var t=null,n="prefix-";m.slide=function(e,t){m.slide.close(),this.options=m.extend({},m.slide.defaults,t),this.$elm=e,m(b).on("resize",function(){m.slide.resize();}),m.slide.isValid(!0===this.options.minimize_on_header)&&!0===this.options.minimize_on_header&&m.slide.isValid(this.options.header_id)&&(this.options.state="minimize"),m.slide.isValid(this.options.open_delay)&&(this.options.state="down",m.slide.isValid(!0===this.options.minimize_on_header)&&!0===this.options.minimize_on_header&&m.slide.isValid(this.options.header_id)?setTimeout(function(){m.slide.slideMinimize();},this.options.open_delay):setTimeout(function(){m.slide.slideUp();},this.options.open_delay)),this.open();},m.slide.prototype={constructor:m.slide,open:function(){this.show(),"true"===this.options.escapeClose&&m(x).on("keydown.slide",function(e){27===e.which&&m.slide.close();});},close:function(){this.hide(),m(x).off("keydown.slide");},show:function(){"true"===this.options.showClose&&(this.closeButton=m("<a></a>",{href:"#"+n+"close-modal",rel:"modal:close",class:[n+"close-modal",n+this.options.closeClass].join(" "),text:this.options.closeText}),this.$elm.append(this.closeButton)),this.$elm.addClass(n+this.options.overlayClass+" "+n+"current"),this.position(),"true"===this.options.doFade?this.$elm.fadeIn(this.options.fadeDuration):this.$elm.show();},hide:function(){this.$elm.removeClass(n+"current"),this.options.state="closed","true"===this.options.doFade?this.$elm.fadeOut(this.options.fadeDuration):this.$elm.hide();},slideup:function(){this.options.state="up",!0===this.options.animate?this.$elm.animate({"margin-top":0},500):this.position();},slidedown:function(){var e=this.$elm.outerHeight();this.options.state="down",!0===this.options.animate?this.$elm.animate({"margin-top":e},500):this.position();},slideminimize:function(){var e=this.$elm.outerHeight(),t=y(this.$elm,this.options.header_id
137).outerHeight(!0);this.options.state="minimize",!0===this.options.animate?this.$elm.animate({"margin-top":e-t},500):this.position();},slidetoggle:function(){switch(this.options.state){case "minimize":this.slideup();break;case "up":this.slideminimize();}},position:function(){var e=m.extend({relativeTo:b,position:"fixed",x:"right",y:"bottomEdge",z:"auto",offsetX:0,offsetY:0,inBoundX:!0,inBoundY:!1},this.options),t=e.relativeTo,n=e.position,r=e.x,i=e.y,o=e.z,a=e.offsetX,u=e.offsetY,s=e.inBoundX,e=e.inBoundY,l={width:m(t).width(),outerWidth:t===b?m(b).width():m(t).outerWidth(),height:m(t).height(),outerHeight:t===b?m(b).height():m(t).outerHeight(),left:t===b?0:m(t).position().left,top:t===b?0:m(t).position().top},c={width:this.$elm.width(),outerWidth:this.$elm.outerWidth(),height:this.$elm.height(),outerHeight:this.$elm.outerHeight(),innerhight:this.$elm.innerHeight(),left:this.$elm.position().left,top:this.$elm.position().top},f=0,p=0,d=0,h=c.outerWidth,g=c.outerHeight,v={width:m(b).width(),height:m(b).height()};switch(this.$elm.css("position",n),r){case "left":f=l.left-(h+(c.outerWidth-c.width));break;case "leftEdge":f=l.left;break;case "right":f=t===b?v.width:l.left+l.outerWidth;break;case "rightEdge":f=(t===b?v.width:l.left+l.outerWidth)-(h+(c.outerWidth-c.width));break;case "center":f=l.left-(h/2-((t===b?v.width:l.outerWidth)-(c.outerWidth-c.width))/2);break;case "Subscribe":f=l.left,h=(t===b?v.width:l.outerWidth)-(c.outerWidth-c.width);break;default:throw new Error('"'+r+'" is not a valid horizontal/x position value!');}switch(f&&(f+=a),s&&(f<0?f=0:v.width<f+h&&(f=v.width-(h+(c.outerWidth-c.width)))),i){case "top":p=l.top-(g+(c.outerHeight-c.height));break;case "topEdge":p=l.top;break;case "bottom":p=t===b?v.height:l.top+l.outerHeight;break;case "bottomEdge":p=(t===b?v.height:l.top+l.outerHeight)-(g+(c.outerHeight-c.height));break;case "center":p=l.top-(g/2-((t===b?v.height:l.outerHeight)-(c.outerHeight-c.height))/2);break;case "Subscribe":p=l.top,g=(t===b?v.height:l.outerHeight)-(c.outerHeight-c.height);break;default:throw new Error('"'+i+'" is not a valid vertical/y position value!');}switch(this.options.state){case "up":d=0;break;case "down":d=g;break;case "minimize":d=g-y(this.$elm,this.options.header_id).outerHeight(!0);break;default:d=0;}p&&(p+=u),e&&(p<0?p=0:v.height<p+g&&(p=v.height-(g+(c.outerHeight-c.height)))),this.$elm.css({width:h=h<0?"auto":h,height:g=g<0?"auto":g,left:f,top:p,"margin-top":d,zIndex:o});},getstate:function(){return this.options.state;},ctx:function(){return {elm:this.$elm,options:this.options};}},m.slide.prototype.resize=m.slide.prototype.position,m.slide.close=function(e){if(t)return e&&e.preventDefault(),t.close(),e=t.$elm,t=null,m(b).off("resize"),e;},m.slide.slideDown=function(){t&&t.slidedown();},m.slide.slideUp=function(){t&&t.slideup();},m.slide.slideToggle=function(){t&&t.slidetoggle();},m.slide.slideMinimize=function(){t&&t.slideminimize();},m.slide.resize=function(){t&&t.position();},m.slide.state=function(){t&&t.getstate();},m.slide.isValid=function(e){return !(void 0===e||""===e);},m.slide.isActive=function(){return !!t;},m.slide.defaults={open_delay:"0",minimize_on_header:"false",animate:"true",zIndex:1,escapeClose:"true",clickClose:"true",closeText:"Close",closeClass:"",overlayClass:"slide",showClose:"false",header_id:"#overlay-header",fadeDuration:0,fadeDelay:1},m.fn.slide=function(e){return 1===this.length&&(t=new m.slide(this,e)),this;};}),function(){var $o,Mo="Expected a function",ya="__lodash_hash_undefined__",ba="__lodash_placeholder__",Wo=128,Po=9007199254740991,xa=NaN,Uo=4294967295,_a=[["ary",Wo],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Xo="[object Arguments]",wa="[object Array]",Vo="[object Boolean]",Jo="[object Date]",Ca="[object Error]",Ea="[object Function]",ka="[object GeneratorFunction]",Ko="[object Map]",Qo="[object Number]",Yo="[object Object]",Ta="[object Promise]",Go="[object RegExp]",Zo="[object Set]",ea="[object String]",Aa="[object Symbol]",ta="[object WeakMap]",Sa="[object ArrayBuffer]",na="[object DataView]",ja="[object Float32Array]",Na="[object Float64Array
137]",La="[object Int8Array]",Da="[object Int16Array]",Oa="[object Int32Array]",qa="[object Uint8Array]",Ra="[object Uint8ClampedArray]",Ia="[object Uint16Array]",Ba="[object Uint32Array]",za=/\b__p \+= '';/g,Ha=/\b(__p \+=) '' \+/g,Fa=/(__e\(.*?\)|\b__t\)) \+\n'';/g,$a=/&(?:amp|lt|gt|quot|#39);/g,Ma=/[&<>"']/g,Wa=RegExp($a.source),Pa=RegExp(Ma.source),Ua=/<%-([\s\S]+?)%>/g,Xa=/<%([\s\S]+?)%>/g,Va=/<%=([\s\S]+?)%>/g,Ja=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ka=/^\w*$/,Qa=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ya=/[\\^$.*+?()[\]{}|]/g,Ga=RegExp(Ya.source),Za=/^\s+/,o=/\s/,eu=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,tu=/\{\n\/\* \[wrapped with (.+)\] \*/,nu=/,? & /,ru=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,iu=/[()=,{}\[\]\/\s]/,ou=/\\(\\)?/g,au=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,uu=/\w*$/,su=/^[-+]0x[0-9a-f]+$/i,lu=/^0b[01]+$/i,cu=/^\[object .+?Constructor\]$/,fu=/^0o[0-7]+$/i,pu=/^(?:0|[1-9]\d*)$/,du=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,hu=/($^)/,gu=/['\n\r\u2028\u2029\\]/g,a="\\ud800-\\udfff",u="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",s="\\u2700-\\u27bf",e="a-z\\xdf-\\xf6\\xf8-\\xff",t="A-Z\\xc0-\\xd6\\xd8-\\xde",l="\\ufe0e\\ufe0f",c="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",f="['’]",n="["+a+"]",p="["+c+"]",d="["+u+"]",h="["+s+"]",g="["+e+"]",c="[^"+a+c+"\\d+"+s+e+t+"]",s="\\ud83c[\\udffb-\\udfff]",e="[^"+a+"]",v="(?:\\ud83c[\\udde6-\\uddff]){2}",r="[\\ud800-\\udbff][\\udc00-\\udfff]",t="["+t+"]",m="\\u200d",y="(?:"+g+"|"+c+")",c="(?:"+t+"|"+c+")",b="(?:['’](?:d|ll|m|re|s|t|ve))?",x="(?:['’](?:D|LL|M|RE|S|T|VE))?",_="(?:"+d+"|"+s+")"+"?",w="["+l+"]?",w=w+_+("(?:"+m+"(?:"+[e,v,r].join("|")+")"+w+_+")*"),_="(?:"+[h,v,r].join("|")+")"+w,h="(?:"+[e+d+"?",d,v,r,n].join("|")+")",vu=RegExp(f,"g"),mu=RegExp(d,"g"),C=RegExp(s+"(?="+s+")|"+h+w,"g"),yu=RegExp([t+"?"+g+"+"+b+"(?="+[p,t,"$"].join("|")+")",c+"+"+x+"(?="+[p,t+y,"$"].join("|")+")",t+"?"+y+"+"+b,t+"+"+x,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",_].join("|"),"g"),E=RegExp("["+m+a+u+l+"]"),bu=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,xu=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],_u=-1,ra={},ia=(ra[ja]=ra[Na]=ra[La]=ra[Da]=ra[Oa]=ra[qa]=ra[Ra]=ra[Ia]=ra[Ba]=!0,ra[X
137o]=ra[wa]=ra[Sa]=ra[Vo]=ra[na]=ra[Jo]=ra[Ca]=ra[Ea]=ra[Ko]=ra[Qo]=ra[Yo]=ra[Go]=ra[Zo]=ra[ea]=ra[ta]=!1,{}),k=(ia[Xo]=ia[wa]=ia[Sa]=ia[na]=ia[Vo]=ia[Jo]=ia[ja]=ia[Na]=ia[La]=ia[Da]=ia[Oa]=ia[Ko]=ia[Qo]=ia[Yo]=ia[Go]=ia[Zo]=ia[ea]=ia[Aa]=ia[qa]=ia[Ra]=ia[Ia]=ia[Ba]=!0,ia[Ca]=ia[Ea]=ia[ta]=!1,{"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"}),wu=parseFloat,Cu=parseInt,e="object"==typeof global&&global&&global.Object===Object&&global,v="object"==typeof self&&self&&self.Object===Object&&self,oa=e||v||Function("return this")(),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=r&&"object"==typeof module&&module&&!module.nodeType&&module,Eu=i&&i.exports===r,T=Eu&&e.process,n=function(){try{var e=i&&i.require&&i.require("util").types;return e?e:T&&T.binding&&T.binding("util");}catch(e){}}(),ku=n&&n.isArrayBuffer,Tu=n&&n.isDate,Au=n&&n.isMap,Su=n&&n.isRegExp,ju=n&&n.isSet,Nu=n&&n.isTypedArray;function aa(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2]);}return e.apply(t,n);}function Lu(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e);}return r;}function ua(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e;}function Du(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e;}function Ou(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return !1;return !0;}function sa(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a);}return o;}function qu(e,t){return !!(null==e?0:e.length)&&-1<fa(e,t,0);}function Ru(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return !0;return !1;}function la(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i;}function ca(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e;}function Iu(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n;}function Bu(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n;}function zu(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return !0;return !1;}var A=Pu("length");function Hu(e,r,t){var i;return t(e,function(e,t,n){if(r(e,t,n))return i=t,!1;}),i;}function Fu(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return -1;}function fa(e,t,n){if(t!=t)return Fu(e,Mu,n);for(var r=e,i=t,o=n-1,a=r.length;++o<a;)if(r[o]===i)return o;return -1;}function $u(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return -1;}function Mu(e){return e!=e;}function Wu(e,t){var n=null==e?0:e.length;return n?Xu(e,t)/n:xa;}function Pu(t){return function(e){return null==e?$o:e[t];};}function S(t){return function(e){return null==t?$o:t[e];};}function Uu(e,r,i,o,t){return t(e,function(e,t,n){i=o?(o=!1,e):r(i,e,t,n);}),i;}function Xu(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);o!==$o&&(n=n===$o?o:n+o);}return n;}function Vu(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r;}function Ju(e){return e&&e.slice(0,os(e)+1).replace(Za,"");}function pa(t){return function(e){return t(e);};}function Ku(t,e){return la(e,function(e){return t[e];});}function Qu(e,t){return e.has(t);}function Yu(e,t){for(var n=-1,r=e.length;++n<r&&-1<fa(t,e[n],0););return n;}function Gu(e,t){for(var n=e.length;n--&&-1<fa(t,e[n],0););return n;}var Zu=S({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Ã…":"A","à ":"a","á":"a","â":"a","ã":"a","ä":"a","Ã¥":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","ÃŒ":"I","Í":"I","ÃŽ":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ã’":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ä€":"A","Ä‚":"A","Ä„":"A","ā":"a","ă":"a","Ä…":"a","Ć":"C","Ĉ":"C","ÄŠ":"C","ÄŒ":"C","ć":"c","ĉ":"c","Ä‹":"c","č":"c","ÄŽ":"D","Đ":"D","ď":"d","Ä‘":"d","Ä’":"E","Ä”":"E","Ä–":"E","Ę":"E","Äš":"E","Ä“":"e","Ä•":"e","Ä—":"e","Ä™":"e","Ä›":"e","Äœ":"G","Äž":"G","Ä ":"G","Ä¢":"G","ĝ":"g","ÄŸ":"g","Ä¡":"g","Ä£":"g","Ĥ":"H","Ħ":"H","Ä¥":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Ä®":"I","İ":"I","Ä©":"i","Ä«":"i","Ä­":"i","į":"i","ı":"i","Ä´":"J","ĵ":"j","Ķ":"K","Ä·":"k","ĸ":"k","Ĺ":"L","Ä»":"L","Ľ":"L","Ä¿":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","Å€":"l","Å‚":"l","Ń":"N","Å…":"N","Ň":"N","ÅŠ":"N","Å„":"n","ņ":"n","ň":"n","Å‹":"n","ÅŒ":"O","ÅŽ":"O","Ő":"O","ō":"o","ŏ":"o","Å‘":"o","Å”":"R","Å–":"R","Ř":"R","Å•":"r","Å—":"r","Å™":"r","Åš":"S","Åœ":"S","Åž":"S","Å ":"S","Å›":"s","ŝ":"s","ÅŸ":"s","Å¡":"s","Å¢":"T","Ť":"T","Ŧ":"T","Å£":"t","Å¥":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Å®":"U","Ű":"U","Ų":"U","Å©":"u","Å«":"u","Å­":"u","ů":"u","ű":"u","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","Å»":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Å’":"Oe","Å“":"oe","ʼn":"'n","Å¿":"s"}),es=S({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function ts(e){return "\\"+k[e];}function da(e){return E.test(e);}function ns(e){var n=-1,r=Array(e.size);return e.forEach(function(e,t){r[++n]=[t,e];}),r;}function rs(t,n){return function(e){return t(n(e));};}function ha(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==ba||(e[n]=ba,o[i++]=n);}return o;}function is(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e;}),n;}function ga(e){return (da(e)?function(e){var t=C.lastIndex=0;for(;C.test(e);)++t;return t;}:A)(e);}function va(e){return da(e)?e.match(C)||[]:e.split("");}function os(e){for(var t=e.length;t--&&o.test(e.charAt(t)););return t;}var as=S({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var ma=function i(e){var w=(e=null==e?oa:ma.defaults(oa.Object(),e,ma.pick(oa,xu))).Array,o=e.Date,D=e.Error,O=e.Function,q=e.Math,g=e.Object,R=e.RegExp,M=e.String,C=e.TypeError,W=w.prototype,P=O.prototype,U=g.prototype,X=e["__core-js_shared__"],V=P.toString,I=U.hasOwnProperty,J=0,K=(P=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(sr
137c)_1."+P:"",Q=U.toString,Y=V.call(g),G=oa._,Z=R("^"+V.call(I).replace(Ya,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),P=Eu?e.Buffer:$o,t=e.Symbol,ee=e.Uint8Array,te=P?P.allocUnsafe:$o,ne=rs(g.getPrototypeOf,g),re=g.create,ie=U.propertyIsEnumerable,oe=W.splice,ae=t?t.isConcatSpreadable:$o,ue=t?t.iterator:$o,se=t?t.toStringTag:$o,le=function(){try{var e=Gn(g,"defineProperty");return e({},"",{}),e;}catch(e){}}(),ce=e.clearTimeout!==oa.clearTimeout&&e.clearTimeout,fe=o&&o.now!==oa.Date.now&&o.now,pe=e.setTimeout!==oa.setTimeout&&e.setTimeout,de=q.ceil,he=q.floor,ge=g.getOwnPropertySymbols,P=P?P.isBuffer:$o,ve=e.isFinite,me=W.join,ye=rs(g.keys,g),E=q.max,k=q.min,be=o.now,xe=e.parseInt,_e=q.random,we=W.reverse,o=Gn(e,"DataView"),Ce=Gn(e,"Map"),Ee=Gn(e,"Promise"),ke=Gn(e,"Set"),e=Gn(e,"WeakMap"),Te=Gn(g,"create"),Ae=e&&new e(),Se={},je=Cr(o),Ne=Cr(Ce),Le=Cr(Ee),De=Cr(ke),Oe=Cr(e),t=t?t.prototype:$o,qe=t?t.valueOf:$o,Re=t?t.toString:$o;function h(e){if($(e)&&!F(e)&&!(e instanceof m)){if(e instanceof v)return e;if(I.call(e,"__wrapped__"))return Er(e);}return new v(e);}var Ie=function(e){if(!_(e))return {};if(re)return re(e);Be.prototype=e;e=new Be();return Be.prototype=$o,e;};function Be(){}function ze(){}function v(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=$o;}function m(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Uo,this.__views__=[];}function He(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1]);}}function Fe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1]);}}function $e(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1]);}}function Me(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new $e();++t<n;)this.add(e[t]);}function B(e){e=this.__data__=new Fe(e);this.size=e.size;}function We(e,t){var n,r=F(e),i=!r&&mi(e),o=!r&&!i&&bi(e),a=!r&&!i&&!o&&Ni(e),u=r||i||o||a,s=u?Vu(e.length,M):[],l=s.length;for(n in e)!t&&!I.call(e,n)||u&&("length"==n||o&&("offset"==n||"parent"==n)||a&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||ir(n,l))||s.push(n);return s;}function Pe(e){var t=e.length;return t?e[zt(0,t-1)]:$o;}function Ue(e,t){return br(T(e),et(t,0,e.length));}function Xe(e){return br(T(e));}function Ve(e,t,n){(n===$o||H(e[t],n))&&(n!==$o||t in e)||Ge(e,t,n);}function Je(e,t,n){var r=e[t];I.call(e,t)&&H(r,n)&&(n!==$o||t in e)||Ge(e,t,n);}function Ke(e,t){for(var n=e.length;n--;)if(H(e[n][0],t))return n;return -1;}function Qe(e,r,i,o){return it(e,function(e,t,n){r(o,e,i(e),n);}),o;}function Ye(e,t){return e&&vn(t,j(t),e);}function Ge(e,t,n){"__proto__"==t&&le?le(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n;}function Ze(e,t){for(var n=-1,r=t.length,i=w(r),o=null==e;++n<r;)i[n]=o?$o:Pi(e,t[n]);return i;}function et(e,t,n){return e=e==e&&(n!==$o&&(e=e<=n?e:n),t!==$o)?t<=e?e:t:e;}function y(n,r,i,e,t,o){var a,u=1&r,s=2&r,l=4&r;if((a=i?t?i(n,e,t,o):i(n):a)===$o){if(!_(n))return n;var c,e=F(n);if(e){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&I.call(e,"index")&&(n.index=e.index,n.input=e.input);return n;}(n),!u)return T(n,a);}else{var f=z(n),p=f==Ea||f==ka;if(bi(n))return cn(n,u);if(f==Yo||f==Xo||p&&!t){if(a=s||p?{}:nr(n),!u)return s?(d=p=n,d=(c=a)&&vn(d,N(d),c),vn(p,er(p),d)):(p=Ye(a,c=n),vn(c,Zn(c),p));}else{if(!ia[f])return t?n:{};a=function(e,t,n){var r=e.constructor;switch(t){case Sa:return fn(e);case Vo:case Jo:return new r(+e);case na:return function(e,t){t=t?fn(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength);}(e,n);case ja:case Na:case La:case Da:case Oa:case qa:case Ra:case Ia:case Ba:return pn(e,n);case Ko:return new r();case Qo:case ea:return new r(e);case Go:return function(e){var t=new e.constructor(e.source,uu.exec(e));return t.lastIndex=e.lastIndex,t;}(e);case Zo:return new r();case Aa:return function(e){return qe?g(qe.call(e)):{};}(e);}}(n,f,u);}}var d=(o=o||new B()).get(n);if(d)return d;
137o.set(n,a),Si(n)?n.forEach(function(e){a.add(y(e,r,i,e,n,o));}):Ei(n)&&n.forEach(function(e,t){a.set(t,y(e,r,i,t,n,o));});var h=e?$o:(l?s?Xn:Un:s?N:j)(n);ua(h||n,function(e,t){h&&(e=n[t=e]),Je(a,t,y(e,r,i,t,n,o));});}return a;}function tt(e,t,n){var r=n.length;if(null==e)return !r;for(e=g(e);r--;){var i=n[r],o=t[i],a=e[i];if(a===$o&&!(i in e)||!o(a))return !1;}return !0;}function nt(e,t,n){if("function"!=typeof e)throw new C(Mo);return gr(function(){e.apply($o,n);},t);}function rt(e,t,n,r){var i=-1,o=qu,a=!0,u=e.length,s=[],l=t.length;if(u){n&&(t=la(t,pa(n))),r?(o=Ru,a=!1):200<=t.length&&(o=Qu,a=!1,t=new Me(t));e:for(;++i<u;){var c=e[i],f=null==n?c:n(c),c=r||0!==c?c:0;if(a&&f==f){for(var p=l;p--;)if(t[p]===f)continue e;s.push(c);}else o(t,f,r)||s.push(c);}}return s;}h.templateSettings={escape:Ua,evaluate:Xa,interpolate:Va,variable:"",imports:{_:h}},(h.prototype=ze.prototype).constructor=h,(v.prototype=Ie(ze.prototype)).constructor=v,(m.prototype=Ie(ze.prototype)).constructor=m,He.prototype.clear=function(){this.__data__=Te?Te(null):{},this.size=0;},He.prototype.delete=function(e){return e=this.has(e)&&delete this.__data__[e],this.size-=e?1:0,e;},He.prototype.get=function(e){var t,n=this.__data__;return Te?(t=n[e])===ya?$o:t:I.call(n,e)?n[e]:$o;},He.prototype.has=function(e){var t=this.__data__;return Te?t[e]!==$o:I.call(t,e);},He.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Te&&t===$o?ya:t,this;},Fe.prototype.clear=function(){this.__data__=[],this.size=0;},Fe.prototype.delete=function(e){var t=this.__data__;return !((e=Ke(t,e))<0||(e==t.length-1?t.pop():oe.call(t,e,1),--this.size,0));},Fe.prototype.get=function(e){var t=this.__data__;return (e=Ke(t,e))<0?$o:t[e][1];},Fe.prototype.has=function(e){return -1<Ke(this.__data__,e);},Fe.prototype.set=function(e,t){var n=this.__data__,r=Ke(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this;},$e.prototype.clear=function(){this.size=0,this.__data__={hash:new He(),map:new (Ce||Fe)(),string:new He()};},$e.prototype.delete=function(e){return e=Qn(this,e).delete(e),this.size-=e?1:0,e;},$e.prototype.get=function(e){return Qn(this,e).get(e);},$e.prototype.has=function(e){return Qn(this,e).has(e);},$e.prototype.set=function(e,t){var n=Qn(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this;},Me.prototype.add=Me.prototype.push=function(e){return this.__data__.set(e,ya),this;},Me.prototype.has=function(e){return this.__data__.has(e);},B.prototype.clear=function(){this.__data__=new Fe(),this.size=0;},B.prototype.delete=function(e){var t=this.__data__,e=t.delete(e);return this.size=t.size,e;},B.prototype.get=function(e){return this.__data__.get(e);},B.prototype.has=function(e){return this.__data__.has(e);},B.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Fe){var r=n.__data__;if(!Ce||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new $e(r);}return n.set(e,t),this.size=n.size,this;};var it=bn(ft),ot=bn(pt,!0);function at(e,r){var i=!0;return it(e,function(e,t,n){return i=!!r(e,t,n);}),i;}function ut(e,t,n){for(var r=-1,i=e.length;++r<i;){var o,a,u=e[r],s=t(u);null!=s&&(o===$o?s==s&&!b(s):n(s,o))&&(o=s,a=u);}return a;}function st(e,r){var i=[];return it(e,function(e,t,n){r(e,t,n)&&i.push(e);}),i;}function s(e,t,n,r,i){var o=-1,a=e.length;for(n=n||rr,i=i||[];++o<a;){var u=e[o];0<t&&n(u)?1<t?s(u,t-1,n,r,i):ca(i,u):r||(i[i.length]=u);}return i;}var lt=xn(),ct=xn(!0);function ft(e,t){return e&&lt(e,t,j);}function pt(e,t){return e&&ct(e,t,j);}function dt(t,e){return sa(e,function(e){return _i(t[e]);});}function ht(e,t){for(var n=0,r=(t=an(t,e)).length;null!=e&&n<r;)e=e[wr(t[n++])];return n&&n==r?e:$o;}function gt(e,t,n){t=t(e);return F(e)?t:ca(t,n(e));}function n(e){if(null==e)return e===$o?"[object Undefined]":"[object Null]";if(se&&se in g(e)){var t=e,n=I.call(t,se),r=t[se];try{t[se]=$o;var i=!0;}catch(e){}var o=Q.call(t);return i&&(n?t[se]=r:delete t[se]),o;}return Q.call(e);}function vt(e,t){return t<e;}function mt(e,t){return null!=e&&I.call(e,t);}function yt(e,t){return null!=e&&t in g(e);}function bt(e,t,n){for(var r=n?Ru:qu,i=e[0].length,o=e.length,a=o,u=w(o),s=1/0,l=[];a--;){var c=e[a];a&&t&&(c=la(c,pa(t))),s=k(c.length,s),u[a]=!n&&(t||120<=i&&120<=c.length)?new Me(a&&c):$o;}var c=e[0],f=-1,p=u[0];e:for(;++f<i&&l.length<s;
vendor: 1,246 bytes, line 137
137){var d=c[f],h=t?t(d):d,d=n||0!==d?d:0;if(!(p?Qu(p,h):r(l,h,n))){for(a=o;--a;){var g=u[a];if(!(g?Qu(g,h):r(e[a],h,n)))continue e;}p&&p.push(h),l.push(d);}}return l;}function xt(e,t,n){t=null==(e=pr(e,t=an(t,e)))?e:e[wr(r(t))];return null==t?$o:aa(t,e,n);}function _t(e){return $(e)&&n(e)==Xo;}function wt(e,t,n,r,i){if(e===t)return !0;if(null==e||null==t||!$(e)&&!$(t))return e!=e&&t!=t;var o=wt,a=F(e),u=F(t),s=a?wa:z(e),u=u?wa:z(t),l=(s=s==Xo?Yo:s)==Yo,c=(u=u==Xo?Yo:u)==Yo;if((u=s==u)&&bi(e)){if(!bi(t))return !1;l=!(a=!0);}if(u&&!l){i=i||new B();if(a||Ni(e))return Wn(e,t,n,r,o,i);else{var f=e;var p=t;var d=s;var h=n;var g=r;var v=o;var m=i;switch(d){case na:if(f.byteLength!=p.byteLength||f.byteOffset!=p.byteOffset)return !1;f=f.buffer,p=p.buffer;case Sa:return f.byteLength==p.byteLength&&v(new ee(f),new ee(p))?!0:!1;case Vo:case Jo:case Qo:return H(+f,+p);case Ca:return f.name==p.name&&f.message==p.message;case Go:case ea:return f==p+"";case Ko:var y=ns;case Zo:var b=1&h;if(y=y||is,f.size!=p.size&&!b)return !1;b=m.get(f);if(b)return b==p;h|=2,m.set(f,p);b=Wn(y(f),y(p),h,g,v,m);return m.delete(f),b;case Aa:if(qe)return qe.call(f)==qe.call(p);}return !1;return;}}if(!(1&n)){a=l&&I.call(e,"__wrapped__"),s=c&&I.call(t,"__wrapped__");
137if(a||s)return l=a?e.value():e,c=s?t.value():t,i=i||new B(),o(l,c,n,r,i);}if(u){i=i||new B();var x=e,_=t,w=n,C=r,E=o,k=i,T=1&w,A=Un(x),S=A.length,a=Un(_).length;if(S!=a&&!T)return !1;for(var j=S;j--;){var N=A[j];if(!(T?N in _:I.call(_,N)))return !1;}a=k.get(x),s=k.get(_);if(a&&s)return a==_&&s==x;for(var L=!0,D=(k.set(x,_),k.set(_,x),T);++j<S;){N=A[j];var O,q=x[N],R=_[N];if(!((O=C?T?C(R,q,N,_,x,k):C(q,R,N,x,_,k):O)===$o?q===R||E(q,R,w,C,k):O)){L=!1;break;}D=D||"constructor"==N;}return L&&!D&&(a=x.constructor,s=_.constructor,a!=s)&&"constructor" in x&&"constructor" in _&&!("function"==typeof a&&a instanceof a&&"function"==typeof s&&s instanceof s)&&(L=!1),k.delete(x),k.delete(_),L;}return !1;}function Ct(e,t,n,r){var i=n.length,o=i,a=!r;if(null==e)return !o;for(e=g(e);i--;){var u=n[i];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0] in e))return !1;}for(;++i<o;){var s=(u=n[i])[0],l=e[s],c=u[1];if(a&&u[2]){if(l===$o&&!(s in e))return !1;}else{var f,p=new B();if(!((f=r?r(l,c,s,e,t,p):f)===$o?wt(c,l,3,r,p):f))return !1;}}return !0;}function Et(e){var t;return !(!_(e)||(t=e,K&&K in t))&&(_i(e)?Z:cu).test(Cr(e));}function kt(e){return "function"==typeof e?e:null==e?L:"object"==typeof e?F(e)?Lt(e[0],e[1]):Nt(e):So(e);}function Tt(e){if(!sr(e))return ye(e);var t,n=[];for(t in g(e))I.call(e,t)&&"constructor"!=t&&n.push(t);return n;}function At(e){if(!_(e)){var t=e,n=[];if(null!=t)for(var r in g(t))n.push(r);return n;}var i,o=sr(e),a=[];for(i in e)("constructor"!=i||!o&&I.call(e,i))&&a.push(i);return a;}function St(e,t){return e<t;}function jt(e,r){var i=-1,o=c(e)?w(e.length):[];return it(e,function(e,t,n){o[++i]=r(e,t,n);}),o;}function Nt(t){var n=Yn(t);return 1==n.length&&n[0][2]?cr(n[0][0],n[0][1]):function(e){return e===t||Ct(e,t,n);};}function Lt(n,r){return or(n)&&lr(r)?cr(wr(n),r):function(e){var t=Pi(e,n);return t===$o&&t===r?Ui(e,n):wt(r,t,3);};}function Dt(g,v,m,y,b){g!==v&&lt(v,function(e,t){var n,r,i,o,a,u,s,l,c,f,p,d,h;b=b||new B(),_(e)?(r=v,o=m,a=Dt,u=y,s=b,p=dr(n=g,i=t),d=dr(r,i),(h=s.get(d))?Ve(n,i,h):(h=u?u(p,d,i+"",n,r,s):$o,(r=h===$o)&&(l=F(d),c=!l&&bi(d),f=!l&&!c&&Ni(d),h=d,l||c||f?h=F(p)?p:x(p)?T(p):c?cn(d,!(r=!1)):f?pn(d,!(r=!1)):[]:Ti(d)||mi(d)?mi(h=p)?h=Ii(p):_(p)&&!_i(p)||(h=nr(d)):r=!1),r&&(s.set(d,h),a(h,d,o,u,s),s.delete(d)),Ve(n,i,h))):(l=y?y(dr(g,t),e,t+"",g,v,b):$o,Ve(g,t,l=l===$o?e:l));},N);}function Ot(e,t){var n=e.length;if(n)return ir(t+=t<0?n:0,n)?e[t]:$o;}function qt(e,r,c){r=r.length?la(r,function(t){return F(t)?function(e){return ht(e,1===t.length?t[0]:t);}:t;}):[L];var i=-1;r=la(r,pa(f()));var t=jt(e,function(t,e,n){return {criteria:la(r,function(e){return e(t);}),index:++i,value:t};}),e=function(e,t){for(var n=c,r=-1,i=e.criteria,o=t.criteria,a=i.length,u=n.length;++r<a;){var s,l=dn(i[r],o[r]);if(l)return u<=r?l:(s=n[r],l*("desc"==s?-1:1));}return e.index-t.index;},n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t;}function Rt(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],u=ht(e,a);n(u,a)&&Mt(o,an(a,e),u);}return o;}function It(e,t,n,r){var i=r?$u:fa,o=-1,a=t.length,u=e;for(e===t&&(t=T(t)),n&&(u=la(e,pa(n)));++o<a;)for(var s=0,l=t[o],c=n?n(l):l;-1<(s=i(u,c,s,r));)u!==e&&oe.call(u,s,1),oe.call(e,s,1);return e;}function Bt(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i,o=t[n];n!=r&&o===i||(ir(i=o)?oe.call(e,o,1):Yt(e,o));}}function zt(e,t){return e+he(_e()*(t-e+1));}function Ht(e,t){var n="";if(!(!e||t<1||Po<t))for(;t%2&&(n+=e),(t=he(t/2))&&(e+=e),t;);return n;}function a(e,t){return vr(fr(e,t,L),e+"");}function Ft(e){return Pe(no(e));}function $t(e,t){e=no(e);return br(e,et(t,0,e.length));}function Mt(e,t,n,r){if(_(e))for(var i=-1,o=(t=an(t,e)).length,a=o-1,u=e;null!=u&&++i<o;){var s,l=wr(t[i]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;Je(u,l,c=i!=a&&(s=u[l],(c=r?r(s,l,u):$o)===$o)?_(s)?s:ir(t[i+1])?[]:{}:c),u=u[l];}return e;}var Wt=Ae?function(e,t){return Ae.set(e,t),e;}:L,t=le?function(e,t){return le(e,"toString",{configurable:!0,enumerable:!1,value:mo(t),writable:!0});}:L;function Pt(e){return br(no(e));}function u(e,t,n){for(var r=-1,i=e.length,o=((n=i<n?i:n)<0&&(n+=i),i=n<(t=t<0?i<-t?0:i+t:t)?0:n-t>>>0,t>>>=0,w(i));++r<i;)o[r]=e[r+t];return o;}function Ut(e,r){var i;return it(e,function(e,t,n){return !(i=r(e,t,n));}),!!i;}function Xt(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!b(a)&&(n?a<=t:a<t)?r=1+o:i=o;}return i;}return Vt(e,t,L,n);}function Vt(e,t,n,r){var i=0,o=null==e?0:e.length;if(0===o)return 0;for(var a=(t=n(t))!=t,u=null===t,s=b(t),l=t===$o;i<o;
137){var c=he((i+o)/2),f=n(e[c]),p=f!==$o,d=null===f,h=f==f,g=b(f),h=a?r||h:l?h&&(r||p):u?h&&p&&(r||!d):s?h&&p&&!d&&(r||!g):!d&&!g&&(r?f<=t:f<t);h?i=c+1:o=c;}return k(o,4294967294);}function Jt(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a,u=e[n],s=t?t(u):u;n&&H(s,a)||(a=s,o[i++]=0===u?0:u);}return o;}function Kt(e){return "number"==typeof e?e:b(e)?xa:+e;}function l(e){var t;return "string"==typeof e?e:F(e)?la(e,l)+"":b(e)?Re?Re.call(e):"":"0"==(t=e+"")&&1/e==-1/0?"-0":t;}function Qt(e,t,n){var r=-1,i=qu,o=e.length,a=!0,u=[],s=u;if(n)a=!1,i=Ru;else if(200<=o){var l=t?null:Bn(e);if(l)return is(l);a=!1,i=Qu,s=new Me();}else s=t?[]:u;e:for(;++r<o;){var c=e[r],f=t?t(c):c,c=n||0!==c?c:0;if(a&&f==f){for(var p=s.length;p--;)if(s[p]===f)continue e;t&&s.push(f),u.push(c);}else i(s,f,n)||(s!==u&&s.push(f),u.push(c));}return u;}function Yt(e,t){return null==(e=pr(e,t=an(t,e)))||delete e[wr(r(t))];}function Gt(e,t,n,r){return Mt(e,t,n(ht(e,t)),r);}function Zt(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?u(e,r?0:o,r?o+1:i):u(e,r?o+1:0,r?i:o);}function en(e,t){var n=e;return Iu(t,function(e,t){return t.func.apply(t.thisArg,ca([e],t.args));},n=e instanceof m?e.value():n);}function tn(e,t,n){var r=e.length;if(r<2)return r?Qt(e[0]):[];for(var i=-1,o=w(r);++i<r;)for(var a=e[i],u=-1;++u<r;)u!=i&&(o[i]=rt(o[i]||a,e[u],t,n));return Qt(s(o,1),t,n);}function nn(e,t,n){for(var r=-1,i=e.length,o=t.length,a={};++r<i;){var u=r<o?t[r]:$o;n(a,e[r],u);}return a;}function rn(e){return x(e)?e:[];}function on(e){return "function"==typeof e?e:L;}function an(e,t){return F(e)?e:or(e,t)?[e]:_r(d(e));}var un=a;function sn(e,t,n){var r=e.length;return n=n===$o?r:n,!t&&r<=n?e:u(e,t,n);}var ln=ce||function(e){return oa.clearTimeout(e);};function cn(e,t){return t?e.slice():(t=e.length,t=te?te(t):new e.constructor(t),e.copy(t),t);}function fn(e){var t=new e.constructor(e.byteLength);return new ee(t).set(new ee(e)),t;}function pn(e,t){t=t?fn(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length);}function dn(e,t){if(e!==t){var n=e!==$o,r=null===e,i=e==e,o=b(e),a=t!==$o,u=null===t,s=t==t,l=b(t);if(!u&&!l&&!o&&t<e||o&&a&&s&&!u&&!l||r&&a&&s||!n&&s||!i)return 1;if(!r&&!o&&!l&&e<t||l&&n&&i&&!r&&!o||u&&n&&i||!a&&i||!s)return -1;}return 0;}function hn(e,t,n,r){for(var i=-1,o=e.length,a=n.length,u=-1,s=t.length,l=E(o-a,0),c=w(s+l),f=!r;++u<s;)c[u]=t[u];for(;++i<a;)(f||i<o)&&(c[n[i]]=e[i]);for(;l--;)c[u++]=e[i++];return c;}function gn(e,t,n,r){for(var i=-1,o=e.length,a=-1,u=n.length,s=-1,l=t.length,c=E(o-u,0),f=w(c+l),p=!r;++i<c;)f[i]=e[i];for(var d=i;++s<l;)f[d+s]=t[s];for(;++a<u;)(p||i<o)&&(f[d+n[a]]=e[i++]);return f;}function T(e,t){var n=-1,r=e.length;for(t=t||w(r);++n<r;)t[n]=e[n];return t;}function vn(e,t,n,r){for(var i=!n,o=(n=n||{},-1),a=t.length;++o<a;){var u=t[o],s=r?r(n[u],e[u],u,n,e):$o;(i?Ge:Je)(n,u,s=s===$o?e[u]:s);}return n;}function mn(i,o){return function(e,t){var n=F(e)?Lu:Qe,r=o?o():{};return n(e,i,f(t,2),r);};}function yn(u){return a(function(e,t){var n=-1,r=t.length,i=1<r?t[r-1]:$o,o=2<r?t[2]:$o,i=3<u.length&&"function"==typeof i?(r--,i):$o;for(o&&p(t[0],t[1],o)&&(i=r<3?$o:i,r=1),e=g(e);++n<r;){var a=t[n];a&&u(e,a,n,i);}return e;});}function bn(o,a){return function(e,t){if(null!=e){if(!c(e))return o(e,t);for(var n=e.length,r=a?n:-1,i=g(e);(a?r--:++r<n)&&!1!==t(i[r],r,i););}return e;};}function xn(s){return function(e,t,n){for(var r=-1,i=g(e),o=n(e),a=o.length;a--;){var u=o[s?a:++r];if(!1===t(i[u],u,i))break;}return e;};}function _n(r){return function(e){var t=da(e=d(e))?va(e):$o,n=t?t[0]:e.charAt(0),t=t?sn(t,1).join(""):e.slice(1);return n[r]()+t;};}function wn(t){return function(e){return Iu(ho(oo(e).replace(vu,"")),t,"");};}function Cn(r){return function(){var e=arguments;switch(e.length){case 0:return new r();case 1:return new r(e[0]);case 2:return new r(e[0],e[1]);case 3:return new r(e[0],e[1],e[2]);case 4:return new r(e[0],e[1],e[2],e[3]);case 5:return new r(e[0],e[1],e[2],e[3],e[4]);case 6:return new r(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new r(e[0],e[1],e[2],e[3],e[4],e[5],e[6]);}var t=Ie(r.prototype),n=r.apply(t,e);return _(n)?n:t;};}function En(o,a,u){var s=Cn(o);return function e(){for(var t=arguments.length,n=w(t),r=t,i=Kn(e);r--;)n[r]=arguments[r];i=t<3&&n[0]!==i&&n[t-1]!==i?[]:ha(n,i);return (t-=i.length)<u?Rn(o,a,An,e.placeholder,$o,n,i,$o,$o,u-t):aa(this&&this!==oa&&this instanceof e?s:o,this,n);};}function kn(o){return function(e,t,n){var r,i=g(e),t=(c(e)||(r=f(t,3),e=j(e),t=function(e){return r(i[e],e,i);}),o(e,t,n));return -1<t?i[r?e[t]:t]:$o;};}function Tn(s){return Pn(function(i){var o=i.length,e=o,t=v.prototype.thru;for(s&&i.reverse();e--;){var n=i[e];if("function"!=typeof n)throw new C(Mo);
vendor: 4,273 bytes, line 137
137t&&!u&&"wrapper"==Jn(n)&&(u=new v([],!0));}for(e=u?e:o;++e<o;)var r=Jn(n=i[e]),a="wrapper"==r?Vn(n):$o,u=a&&ar(a[0])&&424==a[1]&&!a[4].length&&1==a[9]?u[Jn(a[0])].apply(u,a[3]):1==n.length&&ar(n)?u[r]():u.thru(n);return function(){var e=arguments,t=e[0];if(u&&1==e.length&&F(t))return u.plant(t).value();for(var n=0,r=o?i[n].apply(this,e):t;++n<o;)r=i[n].call(this,r);return r;};});}function An(a,u,s,l,c,f,p,d,h,g){var v=u&Wo,m=1&u,y=2&u,b=24&u,x=512&u,_=y?$o:Cn(a);return function e(){for(var t,n,r,i=w(r=arguments.length),o=r;o--;)i[o]=arguments[o];return b&&(n=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r;}(i,t=Kn(e))),l&&(i=hn(i,l,c,b)),f&&(i=gn(i,f,p,b)),r-=n,b&&r<g?(n=ha(i,t),Rn(a,u,An,e.placeholder,s,i,n,d,h,g-r)):(t=m?s:this,n=y?t[a]:a,r=i.length,d?i=function(e,t){for(var n=e.length,r=k(t.length,n),i=T(e);r--;){var o=t[r];e[r]=ir(o,n)?i[o]:$o;}return e;}(i,d):x&&1<r&&i.reverse(),v&&h<r&&(i.length=h),(n=this&&this!==oa&&this instanceof e?_||Cn(n):n).apply(t,i));};}function Sn(n,a){return function(e,t){return e=e,r=n,i=a(t),o={},ft(e,function(e,t,n){r(o,i(e),t,n);}),o;var r,i,o;};}function jn(r,i){return function(e,t){var n;if(e===$o&&t===$o)return i;if(e!==$o&&(n=e),t!==$o){if(n===$o)return t;t=("string"==typeof e||"string"==typeof t?(e=l(e),l):(e=Kt(e),Kt))(t),n=r(e,t);}return n;};}function Nn(r){return Pn(function(e){return e=la(e,pa(f())),a(function(t){var n=this;return r(e,function(e){return aa(e,n,t);});});});}function Ln(e,t){var n=(t=t===$o?" ":l(t)).length;return n<2?n?Ht(t,e):t:(n=Ht(t,de(e/ga(t))),da(t)?sn(va(n),0,e).join(""):n.slice(0,e));}function Dn(u,e,s,l){var c=1&e,f=Cn(u);return function e(){for(var t=-1,n=arguments.length,r=-1,i=l.length,o=w(i+n),a=this&&this!==oa&&this instanceof e?f:u;++r<i;)o[r]=l[r];for(;n--;)o[r++]=arguments[++t];return aa(a,c?s:this,o);};}function On(l){return function(e,t,n){n&&"number"!=typeof n&&p(e,t,n)&&(t=n=$o),e=qi(e),t===$o?(t=e,e=0):t=qi(t),n=n===$o?e<t?1:-1:qi(n);for(var r=e,i=n,o=l,a=-1,u=E(de((t-r)/(i||1)),0),s=w(u);u--;)s[o?u:++a]=r,r+=i;return s;};}function qn(n){return function(e,t){return "string"==typeof e&&"string"==typeof t||(e=S(e),t=S(t)),n(e,t);};}function Rn(e,t,n,r,i,o,a,u,s,l){var c=8&t,i=(4&(t=(t|(c?32:64))&~(c?64:32))||(t&=-4),[e,t,i,c?o:$o,c?a:$o,c?$o:o,c?$o:a,u,s,l]),o=n.apply($o,i);return ar(e)&&hr(o,i),o.placeholder=r,mr(o,e,t);}function In(e){var r=q[e];return function(e,t){var n;return e=S(e),(t=null==t?0:k(A(t),292))&&ve(e)?(n=(d(e)+"e").split("e"),+((n=(d(r(n[0]+"e"+(+n[1]+t)))+"e").split("e"))[0]+"e"+(+n[1]-t))):r(e);};}var Bn=ke&&1/is(new ke([,-0]))[1]==1/0?function(e){return new ke(e);}:Eo;function zn(o){return function(e){var t,n,r,i=z(e);return i==Ko?ns(e):i==Zo?(i=e,t=-1,n=Array(i.size),i.forEach(function(e){n[++t]=[e,e];}),n):la(o(r=e),function(e){return [e,r[e]];});};}function Hn(e,t,n,r,i,o,a,u){var s,l,c,f,p,d,h,g,v,m,y,b,x,_=2&t;if(_||"function"==typeof e)return (s=r?r.length:0)||(t&=-97,r=i=$o),a=a===$o?a:E(A(a),0),u=u===$o?u:A(u),s-=i?i.length:0,64&t&&(c=r,f=i,r=i=$o),l=_?$o:Vn(e),c=[e,t,n,r,i,c,f,o,a,u],l&&(f=l,a=(o=c)[1],d=f[1],g=(h=a|d)<131,v=d==Wo&&8==a||d==Wo&&256==a&&o[7].length<=f[8]||384==d&&f[7].length<=f[8]&&8==a,g||v)&&(1&d&&(o[2]=f[2],h|=1&a?0:4),(g=f[3])&&(p=o[3],o[3]=p?hn(p,g,f[4]):g,o[4]=p?ha(o[3],ba):f[4]),(g=f[5])&&(p=o[5],o[5]=p?gn(p,g,f[6]):g,o[6]=p?ha(o[5],ba):f[6]),(g=f[7])&&(o[7]=g),d&Wo&&(o[8]=null==o[8]?f[8]:k(o[8],f[8])),null==o[9]&&(o[9]=f[9]),o[0]=f[0],o[1]=h),e=c[0],t=c[1],n=c[2],r=c[3],i=c[4],!(u=c[9]=c[9]===$o?_?0:e.length:E(c[9]-s,0))&&24&t&&(t&=-25),v=t&&1!=t?8==t||16==t?En(e,t,u):32!=t&&33!=t||i.length?An.apply($o,c):Dn(e,t,n,r):(y=n,b=1&t,x=Cn(m=e),function e(){return (this&&this!==oa&&this instanceof e?x:m).apply(b?y:this,arguments);}),mr((l?Wt:hr)(v,c),e,t);throw new C(Mo);}function Fn(e,t,n,r){return e===$o||H(e,U[n])&&!I.call(r,n)?t:e;}function $n(e,t,n,r,i,o){return _(e)&&_(t)&&(o.set(t,e),Dt(e,t,$o,$n,o),o.delete(t)),e;}function Mn(e){return Ti(e)?$o:e;}function Wn(e,t,n,r,i,o){var a=1&n,u=e.length,s=t.length;if(u!=s&&!(a&&u<s))return !1;var s=o.get(e),l=o.get(t);if(s&&l)return s==t&&l==e;var c=-1,f=!0,p=2&n?new Me():$o;for(o.set(e,t),o.set(t,e);++c<u;){var d,h=e[c],g=t[c];if((d=r?a?r(g,h,c,t,e,o):r(h,g,c,e,t,o):d)!==$o){if(d)continue;f=!1;break;}
137if(p){if(!zu(t,function(e,t){return !Qu(p,t)&&(h===e||i(h,e,n,r,o))&&p.push(t);})){f=!1;break;}}else{if(h!==g&&!i(h,g,n,r,o)){f=!1;break;}}}return o.delete(e),o.delete(t),f;}function Pn(e){return vr(fr(e,$o,Ar),e+"");}function Un(e){return gt(e,j,Zn);}function Xn(e){return gt(e,N,er);}var Vn=Ae?function(e){return Ae.get(e);}:Eo;function Jn(e){for(var t=e.name+"",n=Se[t],r=I.call(Se,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name;}return t;}function Kn(e){return (I.call(h,"placeholder")?h:e).placeholder;}function f(){var e=(e=h.iteratee||xo)===xo?kt:e;return arguments.length?e(arguments[0],arguments[1]):e;}function Qn(e,t){var n,r,e=e.__data__;return ("string"==(r=typeof (n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?e["string"==typeof t?"string":"hash"]:e.map;}function Yn(e){for(var t=j(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,lr(i)];}return t;}function Gn(e,t){t=t;e=null==(e=e)?$o:e[t];return Et(e)?e:$o;}var Zn=ge?function(t){return null==t?[]:(t=g(t),sa(ge(t),function(e){return ie.call(t,e);}));}:Lo,er=ge?function(e){for(var t=[];e;)ca(t,Zn(e)),e=ne(e);return t;}:Lo,z=n;function tr(e,t,n){for(var r=-1,i=(t=an(t,e)).length,o=!1;++r<i;){var a=wr(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a];}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Ci(i)&&ir(a,i)&&(F(e)||mi(e));}function nr(e){return "function"!=typeof e.constructor||sr(e)?{}:Ie(ne(e));}function rr(e){return F(e)||mi(e)||!!(ae&&e&&e[ae]);}function ir(e,t){var n=typeof e;return !!(t=null==t?Po:t)&&("number"==n||"symbol"!=n&&pu.test(e))&&-1<e&&e%1==0&&e<t;}function p(e,t,n){var r;if(_(n))return ("number"==(r=typeof t)?c(n)&&ir(t,n.length):"string"==r&&t in n)&&H(n[t],e);}function or(e,t){var n;if(!F(e))return "number"==(n=typeof e)||"symbol"==n||"boolean"==n||null==e||b(e)||Ka.test(e)||!Ja.test(e)||null!=t&&e in g(t);}function ar(e){var t=Jn(e),n=h[t];return "function"==typeof n&&t in m.prototype&&(e===n||(t=Vn(n))&&e===t[0]);}(o&&z(new o(new ArrayBuffer(1)))!=na||Ce&&z(new Ce())!=Ko||Ee&&z(Ee.resolve())!=Ta||ke&&z(new ke())!=Zo||e&&z(new e())!=ta)&&(z=function(e){var t=n(e),e=t==Yo?e.constructor:$o,e=e?Cr(e):"";if(e)switch(e){case je:return na;case Ne:return Ko;case Le:return Ta;case De:return Zo;case Oe:return ta;}return t;});var ur=X?_i:Do;function sr(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||U);}function lr(e){return e==e&&!_(e);}function cr(t,n){return function(e){return null!=e&&e[t]===n&&(n!==$o||t in g(e));};}function fr(o,a,u){return a=E(a===$o?o.length-1:a,0),function(){for(var e=arguments,t=-1,n=E(e.length-a,0),r=w(n);++t<n;)r[t]=e[a+t];for(var t=-1,i=w(a+1);++t<a;)i[t]=e[t];return i[a]=u(r),aa(o,this,i);};}function pr(e,t){return t.length<2?e:ht(e,u(t,0,-1));}function dr(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t];}var hr=yr(Wt),gr=pe||function(e,t){return oa.setTimeout(e,t);},vr=yr(t);function mr(e,t,n){var r,i,o,t=t+"";return vr(e,(i=(t=(t=e=t).match(tu))?t[1].split(nu):[],o=n,ua(_a,function(e){var t="_."+e[0];o&e[1]&&!qu(i,t)&&i.push(t);}),t=i.sort(),(n=t.length)?(t[r=n-1]=(1<n?"& ":"")+t[r],t=t.join(2<n?", ":" "),e.replace(eu,"{\n/* [wrapped with "+t+"] */\n")):e));}function yr(n){var r=0,i=0;return function(){var e=be(),t=16-(e-i);if(i=e,0<t){if(800<=++r)return arguments[0];}else r=0;return n.apply($o,arguments);};}function br(e,t){var n=-1,r=e.length,i=r-1;for(t=t===$o?r:t;++n<t;){var o=zt(n,i),a=e[o];e[o]=e[n],e[n]=a;}return e.length=t,e;}xr=(ce=ci(ce=function(e){var i=[];return 46===e.charCodeAt(0)&&i.push(""),e.replace(Qa,function(e,t,n,r){i.push(n?r.replace(ou,"$1"):t||e);}),i;},function(e){return 500===xr.size&&xr.clear(),e;})).cache;var xr,_r=ce;function wr(e){var t;return "string"==typeof e||b(e)?e:"0"==(t=e+"")&&1/e==-1/0?"-0":t;}function Cr(e){if(null!=e){try{return V.call(e);}catch(e){}try{return e+"";}catch(e){}}return "";}function Er(e){var t;return e instanceof m?e.clone():((t=new v(e.__wrapped__,e.__chain__)).__actions__=T(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t);}o=a(function(e,t){return x(e)?rt(e,s(t,1,x,!0)):[];}),Ee=a(function(e,t){var n=r(t);return x(n)&&(n=$o),x(e)?rt(e,s(t,1,x,!0),f(n,2)):[];}),e=a(function(e,t){var n=r(t);return x(n)&&(n=$o),x(e)?rt(e,s(t,1,x,!0),$o,n):[];});function kr(e,t,n){var r=null==e?0:e.length;return r?((n=null==n?0:A(n))<0&&(n=E(r+n,0)),Fu(e,f(t,3),n)):-1;}function Tr(e,t,n){var r,i=null==e?0:e.length;return i?(r=i-1,n!==$o&&(r=A(n),r=n<0?E(i+r,0):k(r,i-1)),Fu(e,f(t,3),r,!0)):-1;}function Ar(e){return (null==e?0:e.length)?s(e,1):[];}function Sr(e){return e&&e.length?e[0]:$o;}X=a(function(e){var t=la(e,rn);return t.length&&t[0]===e[0]?bt(t):[];}),pe=a(function(e){var t=r(e),n=la(e,rn);return t===r(n)?t=$o:n.pop(),n.length&&n[0]===e[0]?bt(n,f(t,2)):[];}),t=a(function(e){var t=r(e),n=la(e,rn);return (t="function"==typeof t?t:$o)&&n.pop(),n.length&&n[0]===e[0]?bt(n,$o,t):[];});function r(e){var t=null==e?0:e.length;return t?e[t-1]:$o;}ce=a(jr);function jr(e,t){return e&&e.length&&t&&t.length?It(e,t):e;}var Nr=Pn(function(e,t){var n=null==e?0:e.length,r=Ze(e,t);return Bt(e,la(t,function(e){return ir(e,n)?+e:e;}).sort(dn)),r;});function Lr(e){return null==e?e:we.call(e);}var Dr=a(function(e){return Qt(s(e,1,x,!0));}),Or=a(function(e){var t=r(e);return x(t)&&(t=$o),Qt(s(e,1,x,!0),f(t,2));}),qr=a(function(e){var t="function"==typeof (t=r(e))?t:$o;return Qt(s(e,1,x,!0),$o,t);});function Rr(t){var n;return t&&t.length?(n=0,t=sa(t,function(e){return x(e)&&(n=E(e.length,n),1);}),Vu(n,function(e){return la(t,Pu(e));})):[];}function Ir(e,t){return e&&e.length?(e=Rr(e),null==t?e:la(e,function(e){return aa(t,$o,e);})):[];}var Br=a(function(e,t){return x(e)?rt(e,t):[];}),zr=a(function(e){return tn(sa(e,x));}),Hr=a(function(e){var t=r(e);return x(t)&&(t=$o),tn(sa(e,x),f(t,2));}),Fr=a(function(e){var t="function"==typeof (t=r(e))?t:$o;return tn(sa(e,x),$o,t);}),$r=a(Rr);var Mr=a(function(e){var t=e.length,t="function"==typeof (t=1<t?e[t-1]:$o)?(e.pop(),t):$o;return Ir(e,t);});function Wr(e){e=h(e);return e.__chain__=!0,e;}function Pr(e,t){return t(e);}var Ur=Pn(function(t){function e(e){return Ze(e,t);}var n=t.length,r=n?t[0]:0,i=this.__wrapped__;return !(1<n||this.__actions__.length)&&i instanceof m&&ir(r)?((i=i.slice(r,+r+(n?1:0))).__actions__.push({func:Pr,args:[e],thisArg:$o}),new v(i,this.__chain__).thru(function(e){return n&&!e.length&&e.push($o),e;})):this.thru(e);});var Xr=mn(function(e,t,n){I.call(e,n)?++e[n]:Ge(e,n,1);});var Vr=kn(kr),Jr=kn(Tr);function Kr(e,t){return (F(e)?ua:it)(e,f(t,3));}function Qr(e,t){return (F(e)?Du:ot)(e,f(t,3));}var Yr=mn(function(e,t,n){I.call(e,n)?e[n].push(t):Ge(e,n,[t]);});var Gr=a(function(e,t,n){var r=-1,i="function"==typeof t,o=c(e)?w(e.length):[];return it(e,function(e){o[++r]=i?aa(t,e,n):xt(e,t,n);}),o;}),Zr=mn(function(e,t,n){Ge(e,n,t);});function ei(e,t){return (F(e)?la:jt)(e,f(t,3));}var ti=mn(function(e,t,n){e[n?0:1].push(t);},function(){return [[],[]];});var ni=a(function(e,t){var n;return null==e?[]:(1<(n=t.length)&&p(e,t[0],t[1])?t=[]:2<n&&p(t[0],t[1],t[2])&&(t=[t[0]]),qt(e,s(t,1),[]));}),ri=fe||function(){return oa.Date.now();};function ii(e,t,n){return t=n?$o:t,t=e&&null==t?e.length:t,Hn(e,Wo,$o,$o,$o,$o,t);}function oi(e,t){var n;if("function"!=typeof t)throw new C(Mo);return e=A(e),function(){return 0<--e&&(n=t.apply(this,arguments)),e<=1&&(t=$o),n;};}var ai=a(function(e,t,n){var r,i=1;return n.length&&(r=ha(n,Kn(ai)),i|=32),Hn(e,i,t,n,r);}),ui=a(function(e,t,n){var r,i=3;return n.length&&(r=ha(n,Kn(ui)),i|=32),Hn(t,i,e,n,r);});function si(r,n,e){var i,o,a,u,s,l,c=0,f=!1,p=!1,t=!0;if("function"!=typeof r)throw new C(Mo);function d(e){var t=i,n=o;return i=o=$o,c=e,u=r.apply(n,t);}function h(e){var t=e-l;return l===$o||n<=t||t<0||p&&a<=e-c;}function g(){var e,t=ri();if(h(t))return v(t);s=gr(g,(e=n-((t=t)-l),p?k(e,a-(t-c)):e));}function v(e){return s=$o,t&&i?d(e):(i=o=$o,u);}function m(){var e=ri(),t=h(e);if(i=arguments,o=this,l=e,t){if(s===$o)return c=e=l,s=gr(g,n),f?d(e):u;if(p)return ln(s),s=gr(g,n),d(l);}return s===$o&&(s=gr(g,n)),u;}
137return n=S(n)||0,_(e)&&(f=!!e.leading,p="maxWait" in e,a=p?E(S(e.maxWait)||0,n):a,t="trailing" in e?!!e.trailing:t),m.cancel=function(){s!==$o&&ln(s),c=0,i=l=o=s=$o;},m.flush=function(){return s===$o?u:v(ri());},m;}var fe=a(function(e,t){return nt(e,1,t);}),li=a(function(e,t,n){return nt(e,S(t)||0,n);});function ci(r,i){if("function"!=typeof r||null!=i&&"function"!=typeof i)throw new C(Mo);function o(){var e=arguments,t=i?i.apply(this,e):e[0],n=o.cache;return n.has(t)?n.get(t):(e=r.apply(this,e),o.cache=n.set(t,e)||n,e);}return o.cache=new (ci.Cache||$e)(),o;}function fi(t){if("function"!=typeof t)throw new C(Mo);return function(){var e=arguments;switch(e.length){case 0:return !t.call(this);case 1:return !t.call(this,e[0]);case 2:return !t.call(this,e[0],e[1]);case 3:return !t.call(this,e[0],e[1],e[2]);}return !t.apply(this,e);};}ci.Cache=$e;var un=un(function(r,i){var o=(i=1==i.length&&F(i[0])?la(i[0],pa(f())):la(s(i,1),pa(f()))).length;return a(function(e){for(var t=-1,n=k(e.length,o);++t<n;)e[t]=i[t].call(this,e[t]);return aa(r,this,e);});}),pi=a(function(e,t){var n=ha(t,Kn(pi));return Hn(e,32,$o,t,n);}),di=a(function(e,t){var n=ha(t,Kn(di));return Hn(e,64,$o,t,n);}),hi=Pn(function(e,t){return Hn(e,256,$o,$o,$o,t);});function H(e,t){return e===t||e!=e&&t!=t;}var gi=qn(vt),vi=qn(function(e,t){return t<=e;}),mi=_t(function(){return arguments;}())?_t:function(e){return $(e)&&I.call(e,"callee")&&!ie.call(e,"callee");},F=w.isArray,yi=ku?pa(ku):function(e){return $(e)&&n(e)==Sa;};function c(e){return null!=e&&Ci(e.length)&&!_i(e);}function x(e){return $(e)&&c(e);}var bi=P||Do,P=Tu?pa(Tu):function(e){return $(e)&&n(e)==Jo;};function xi(e){var t;return !!$(e)&&((t=n(e))==Ca||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Ti(e));}function _i(e){return !!_(e)&&((e=n(e))==Ea||e==ka||"[object AsyncFunction]"==e||"[object Proxy]"==e);}function wi(e){return "number"==typeof e&&e==A(e);}function Ci(e){return "number"==typeof e&&-1<e&&e%1==0&&e<=Po;}function _(e){var t=typeof e;return null!=e&&("object"==t||"function"==t);}function $(e){return null!=e&&"object"==typeof e;}var Ei=Au?pa(Au):function(e){return $(e)&&z(e)==Ko;};function ki(e){return "number"==typeof e||$(e)&&n(e)==Qo;}function Ti(e){return !(!$(e)||n(e)!=Yo)&&(null===(e=ne(e))||"function"==typeof (e=I.call(e,"constructor")&&e.constructor)&&e instanceof e&&V.call(e)==Y);}var Ai=Su?pa(Su):function(e){return $(e)&&n(e)==Go;};var Si=ju?pa(ju):function(e){return $(e)&&z(e)==Zo;};function ji(e){return "string"==typeof e||!F(e)&&$(e)&&n(e)==ea;}function b(e){return "symbol"==typeof e||$(e)&&n(e)==Aa;}var Ni=Nu?pa(Nu):function(e){return $(e)&&Ci(e.length)&&!!ra[n(e)];};var Li=qn(St),Di=qn(function(e,t){return e<=t;});function Oi(e){if(!e)return [];if(c(e))return (ji(e)?va:T)(e);if(ue&&e[ue]){for(var t,n=e[ue](),r=[];!(t=n.next()).done;)r.push(t.value);return r;}var i=z(e);return (i==Ko?ns:i==Zo?is:no)(e);}function qi(e){return e?(e=S(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0;}function A(e){var e=qi(e),t=e%1;return e==e?t?e-t:e:0;}function Ri(e){return e?et(A(e),0,Uo):0;}function S(e){if("number"==typeof e)return e;if(b(e))return xa;if("string"!=typeof (e=_(e)?_(t="function"==typeof e.valueOf?e.valueOf():e)?t+"":t:e))return 0===e?e:+e;e=Ju(e);var t=lu.test(e);return t||fu.test(e)?Cu(e.slice(2),t?2:8):su.test(e)?xa:+e;}function Ii(e){return vn(e,N(e));}function d(e){return null==e?"":l(e);}var Bi=yn(function(e,t){if(sr(t)||c(t))vn(t,j(t),e);else for(var n in t)I.call(t,n)&&Je(e,n,t[n]);}),zi=yn(function(e,t){vn(t,N(t),e);}),Hi=yn(function(e,t,n,r){vn(t,N(t),e,r);}),Fi=yn(function(e,t,n,r){vn(t,j(t),e,r);}),$i=Pn(Ze);var Mi=a(function(e,t){e=g(e);var n=-1,r=t.length,i=2<r?t[2]:$o;for(i&&p(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],a=N(o),u=-1,s=a.length;++u<s;){var l=a[u],c=e[l];(c===$o||H(c,U[l])&&!I.call(e,l))&&(e[l]=o[l]);}return e;}),Wi=a(function(e){return e.push($o,$n),aa(Qi,$o,e);});function Pi(e,t,n){e=null==e?$o:ht(e,t);return e===$o?n:e;}function Ui(e,t){return null!=e&&tr(e,t,yt);}var Xi=Sn(function(e,t,n){e[t=null!=t&&"function"!=typeof t.toString?Q.call(t):t]=n;},mo(L)),Vi=Sn(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Q.call(t)),I.call(e,t)?e[t].push(n):e[t]=[n];},f),Ji=a(xt);function j(e){return (c(e)?We:Tt)(e);}function N(e){return c(e)?We(e,!0):At(e);}var Ki=yn(function(e,t,n){Dt(e,t,n);}),Qi=yn(function(e,t,n,r){Dt(e,t,n,r);}),Yi=Pn(function(t,e){var n={};if(null!=t)for(var r=!1,i=(e=la(e,function(e){return e=an(e,t),r=r||1<e.length,e;}),vn(t,Xn(t),n),r&&(n=y(n,7,Mn)),e.length);i--;)Yt(n,e[i]);return n;});var Gi=Pn(function(e,t){return null==e?{}:Rt(n=e,t,function(e,t){return Ui(n,t);});var n;});function Zi(e,n){var t;return null==e?{}:(t=la(Xn(e),function(e){return [e];}),n=f(n),Rt(e,t,function(e,t){return n(e,t[0]);}));}var eo=zn(j),to=zn(N);function no(e){return null==e?[]:Ku(e,j(e));}var ro=wn(function(e,t,n){return t=t.toLowerCase(),e+(n?io(t):t);});function io(e){return po(d(e).toLowerCase());}function oo(e){return (e=d(e))&&e.replace(du,Zu).replace(mu,"");}var ao=wn(function(e,t,n){return e+(n?"-":"")+t.toLowerCase();}),uo=wn(function(e,t,n){return e+(n?" ":"")+t.toLowerCase();}),so=_n("toLowerCase");var lo=wn(function(e,t,n){return e+(n?"_":"")+t.toLowerCase();});var co=wn(function(e,t,n){return e+(n?" ":"")+po(t);});var fo=wn(function(e,t,n){return e+(n?" ":"")+t.toUpperCase();}),po=_n("toUpperCase");
137function ho(e,t,n){return e=d(e),(t=n?$o:t)===$o?(n=e,bu.test(n)?e.match(yu)||[]:e.match(ru)||[]):e.match(t)||[];}var go=a(function(e,t){try{return aa(e,$o,t);}catch(e){return xi(e)?e:new D(e);}}),vo=Pn(function(t,e){return ua(e,function(e){e=wr(e),Ge(t,e,ai(t[e],t));}),t;});function mo(e){return function(){return e;};}var yo=Tn(),bo=Tn(!0);function L(e){return e;}function xo(e){return kt("function"==typeof e?e:y(e,1));}var _o=a(function(t,n){return function(e){return xt(e,t,n);};}),wo=a(function(t,n){return function(e){return xt(t,e,n);};});function Co(r,t,e){var n=j(t),i=dt(t,n),o=(null!=e||_(t)&&(i.length||!n.length)||(e=t,t=r,r=this,i=dt(t,j(t))),!(_(e)&&"chain" in e&&!e.chain)),a=_i(r);return ua(i,function(e){var n=t[e];r[e]=n,a&&(r.prototype[e]=function(){var e,t=this.__chain__;return o||t?(((e=r(this.__wrapped__)).__actions__=T(this.__actions__)).push({func:n,args:arguments,thisArg:r}),e.__chain__=t,e):n.apply(r,ca([this.value()],arguments));});}),r;}function Eo(){}var ko=Nn(la),To=Nn(Ou),Ao=Nn(zu);function So(e){return or(e)?Pu(wr(e)):(t=e,function(e){return ht(e,t);});var t;}var jo=On(),No=On(!0);function Lo(){return [];}function Do(){return !1;}var Oo=jn(function(e,t){return e+t;},0),qo=In("ceil"),Ro=jn(function(e,t){return e/t;},1),Io=In("floor");var Bo,zo=jn(function(e,t){return e*t;}
137,1),Ho=In("round"),Fo=jn(function(e,t){return e-t;},0);return h.after=function(e,t){if("function"!=typeof t)throw new C(Mo);return e=A(e),function(){if(--e<1)return t.apply(this,arguments);};},h.ary=ii,h.assign=Bi,h.assignIn=zi,h.assignInWith=Hi,h.assignWith=Fi,h.at=$i,h.before=oi,h.bind=ai,h.bindAll=vo,h.bindKey=ui,h.castArray=function(){var e;return arguments.length?F(e=arguments[0])?e:[e]:[];},h.chain=Wr,h.chunk=function(e,t,n){t=(n?p(e,t,n):t===$o)?1:E(A(t),0);var r=null==e?0:e.length;if(!r||t<1)return [];for(var i=0,o=0,a=w(de(r/t));i<r;)a[o++]=u(e,i,i+=t);return a;},h.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o);}return i;},h.concat=function(){var e=arguments.length;if(!e)return [];for(var t=w(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return ca(F(n)?T(n):[n],s(t,1));},h.cond=function(r){var i=null==r?0:r.length,t=f();return r=i?la(r,function(e){if("function"!=typeof e[1])throw new C(Mo);return [t(e[0]),e[1]];}):[],a(function(e){for(var t=-1;++t<i;){var n=r[t];if(aa(n[0],this,e))return aa(n[1],this,e);}});},h.conforms=function(e){return t=y(e,1),n=j(t),function(e){return tt(e,t,n);};var t,n;},h.constant=mo,h.countBy=Xr,h.create=function(e,t){return e=Ie(e),null==t?e:Ye(e,t);},h.curry=function e(t,n,r){t=Hn(t,8,$o,$o,$o,$o,$o,n=r?$o:n);return t.placeholder=e.placeholder,t;},h.curryRight=function e(t,n,r){t=Hn(t,16,$o,$o,$o,$o,$o,n=r?$o:n);return t.placeholder=e.placeholder,t;},h.debounce=si,h.defaults=Mi,h.defaultsDeep=Wi,h.defer=fe,h.delay=li,h.difference=o,h.differenceBy=Ee,h.differenceWith=e,h.drop=function(e,t,n){var r=null==e?0:e.length;return r?u(e,(t=n||t===$o?1:A(t))<0?0:t,r):[];},h.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?u(e,0,(t=r-(t=n||t===$o?1:A(t)))<0?0:t):[];},h.dropRightWhile=function(e,t){return e&&e.length?Zt(e,f(t,3),!0,!0):[];},h.dropWhile=function(e,t){return e&&e.length?Zt(e,f(t,3),!0):[];},h.fill=function(e,t,n,r){if(!(s=null==e?0:e.length))return [];n&&"number"!=typeof n&&p(e,t,n)&&(n=0,r=s);var i=e,o=t,a=n,u=r,s=i.length;for((a=A(a))<0&&(a=s<-a?0:s+a),(u=u===$o||s<u?s:A(u))<0&&(u+=s),u=u<a?0:Ri(u);a<u;)i[a++]=o;return i;},h.filter=function(e,t){return (F(e)?sa:st)(e,f(t,3));},h.flatMap=function(e,t){return s(ei(e,t),1);},h.flatMapDeep=function(e,t){return s(ei(e,t),1/0);},h.flatMapDepth=function(e,t,n){return n=n===$o?1:A(n),s(ei(e,t),n);},h.flatten=Ar,h.flattenDeep=function(e){return (null==e?0:e.length)?s(e,1/0):[];},h.flattenDepth=function(e,t){return (null==e?0:e.length)?s(e,t=t===$o?1:A(t)):[];},h.flip=function(e){return Hn(e,512);},h.flow=yo,h.flowRight=bo,h.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1];}return r;},h.functions=function(e){return null==e?[]:dt(e,j(e));},h.functionsIn=function(e){return null==e?[]:dt(e,N(e));},h.groupBy=Yr,h.initial=function(e){return (null==e?0:e.length)?u(e,0,-1):[];},h.intersection=X,h.intersectionBy=pe,h.intersectionWith=t,h.invert=Xi,h.invertBy=Vi,h.invokeMap=Gr,h.iteratee=xo,h.keyBy=Zr,h.keys=j,h.keysIn=N,h.map=ei,h.mapKeys=function(e,r){var i={};return r=f(r,3),ft(e,function(e,t,n){Ge(i,r(e,t,n),e);}),i;},h.mapValues=function(e,r){var i={};return r=f(r,3),ft(e,function(e,t,n){Ge(i,t,r(e,t,n));}),i;},h.matches=function(e){return Nt(y(e,1));},h.matchesProperty=function(e,t){return Lt(e,y(t,1));},h.memoize=ci,h.merge=Ki,h.mergeWith=Qi,h.method=_o,h.methodOf=wo,h.mixin=Co,h.negate=fi,h.nthArg=function(t){return t=A(t),a(function(e){return Ot(e,t);});},h.omit=Yi,h.omitBy=function(e,t){return Zi(e,fi(f(t)));},h.once=function(e){return oi(2,e);},h.orderBy=function(e,t,n,r){return null==e?[]:qt(e,t=F(t)?t:null==t?[]:[t],n=F(n=r?$o:n)?n:null==n?[]:[n]);},h.over=ko,h.overArgs=un,h.overEvery=To,h.overSome=Ao,h.partial=pi,h.partialRight=di,h.partition=ti,h.pick=Gi,h.pickBy=Zi,h.property=So,h.propertyOf=function(t){return function(e){return null==t?$o:ht(t,e);};},h.pull=ce,h.pullAll=jr,h.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?It(e,t,f(n,2)):e;},h.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?It(e,t,$o,n):e;},h.pullAt=Nr,h.range=jo,h.rangeRight=No,h.rearg=hi,h.reject=function(e,t){return (F(e)?sa:st)(e,fi(f(t,3)));},h.remove=function(e,t){var n=[];if(e&&e.length){var r=-1,i=[],o=e.length;for(t=f(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r));}Bt(e,i);}return n;},h.rest=function(e,t){if("function"!=typeof e)throw new C(Mo);return a(e,t=t===$o?t:A(t));},h.reverse=Lr,h.sampleSize=function(e,t,n){return t=(n?p(e,t,n):t===$o)?1:A(t),(F(e)?Ue:$t)(e,t);},h.set=function(e,t,n){return null==e?e:Mt(e,t,n);},h.setWith=function(e,t,n,r){return r="function"==typeof r?r:$o,null==e?e:Mt(e,t,n,r);},h.shuffle=function(e){return (F(e)?Xe:Pt)(e);},h.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n=n&&"number"!=typeof n&&p(e,t,n)?(t=0,r):(t=null==t?0:A(t),n===$o?r:A(n)),u(e,t,n)):[];},h.sortBy=ni,h.sortedUniq=function(e){return e&&e.length?Jt(e):[];},h.sortedUniqBy=function(e,t){return e&&e.length?Jt(e,f(t,2)):[];},h.split=function(e,t,n){return n&&"number"!=typeof n&&p(e,t,n)&&(t=n=$o),(n=n===$o?Uo:n>>>0)?(e=d(e))&&("string"==typeof t||null!=t&&!Ai(t))&&!(t=l(t))&&da(e)?sn(va(e),0,n):e.split(t,n):[];},h.spread=function(n,r){if("function"!=typeof n)throw new C(Mo);return r=null==r?0:E(A(r),0),a(function(e){var t=e[r],e=sn(e,0,r);
137return t&&ca(e,t),aa(n,this,e);});},h.tail=function(e){var t=null==e?0:e.length;return t?u(e,1,t):[];},h.take=function(e,t,n){return e&&e.length?u(e,0,(t=n||t===$o?1:A(t))<0?0:t):[];},h.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?u(e,(t=r-(t=n||t===$o?1:A(t)))<0?0:t,r):[];},h.takeRightWhile=function(e,t){return e&&e.length?Zt(e,f(t,3),!1,!0):[];},h.takeWhile=function(e,t){return e&&e.length?Zt(e,f(t,3)):[];},h.tap=function(e,t){return t(e),e;},h.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new C(Mo);return _(n)&&(r="leading" in n?!!n.leading:r,i="trailing" in n?!!n.trailing:i),si(e,t,{leading:r,maxWait:t,trailing:i});},h.thru=Pr,h.toArray=Oi,h.toPairs=eo,h.toPairsIn=to,h.toPath=function(e){return F(e)?la(e,wr):b(e)?[e]:T(_r(d(e)));},h.toPlainObject=Ii,h.transform=function(e,r,i){var t,n=F(e),o=n||bi(e)||Ni(e);return r=f(r,4),null==i&&(t=e&&e.constructor,i=o?n?new t():[]:_(e)&&_i(t)?Ie(ne(e)):{}),(o?ua:ft)(e,function(e,t,n){return r(i,e,t,n);}),i;},h.unary=function(e){return ii(e,1);},h.union=Dr,h.unionBy=Or,h.unionWith=qr,h.uniq=function(e){return e&&e.length?Qt(e):[];},h.uniqBy=function(e,t){return e&&e.length?Qt(e,f(t,2)):[];},h.uniqWith=function(e,t){return t="function"==typeof t?t:$o,e&&e.length?Qt(e,$o,t):[];},h.unset=function(e,t){return null==e||Yt(e,t);},h.unzip=Rr,h.unzipWith=Ir,h.update=function(e,t,n){return null==e?e:Gt(e,t,on(n));},h.updateWith=function(e,t,n,r){return r="function"==typeof r?r:$o,null==e?e:Gt(e,t,on(n),r);},h.values=no,h.valuesIn=function(e){return null==e?[]:Ku(e,N(e));},h.without=Br,h.words=ho,h.wrap=function(e,t){return pi(on(t),e);},h.xor=zr,h.xorBy=Hr,h.xorWith=Fr,h.zip=$r,h.zipObject=function(e,t){return nn(e||[],t||[],Je);},h.zipObjectDeep=function(e,t){return nn(e||[],t||[],Mt);},h.zipWith=Mr,h.entries=eo,h.entriesIn=to,h.extend=zi,h.extendWith=Hi,Co(h,h),h.add=Oo,h.attempt=go,h.camelCase=ro,h.capitalize=io,h.ceil=qo,h.clamp=function(e,t,n){return n===$o&&(n=t,t=$o),n!==$o&&(n=(n=S(n))==n?n:0),t!==$o&&(t=(t=S(t))==t?t:0),et(S(e),t,n);},h.clone=function(e){return y(e,4);},h.cloneDeep=function(e){return y(e,5);},h.cloneDeepWith=function(e,t){return y(e,5,t="function"==typeof t?t:$o);},h.cloneWith=function(e,t){return y(e,4,t="function"==typeof t?t:$o);},h.conformsTo=function(e,t){return null==t||tt(e,t,j(t));},h.deburr=oo,h.defaultTo=function(e,t){return null==e||e!=e?t:e;},h.divide=Ro,h.endsWith=function(e,t,n){e=d(e),t=l(t);var r=e.length,r=n=n===$o?r:et(A(n),0,r);return 0<=(n-=t.length)&&e.slice(n,r)==t;},h.eq=H,h.escape=function(e){return (e=d(e))&&Pa.test(e)?e.replace(Ma,es):e;},h.escapeRegExp=function(e){return (e=d(e))&&Ga.test(e)?e.replace(Ya,"\\$&"):e;},h.every=function(e,t,n){return (F(e)?Ou:at)(e,f(t=n&&p(e,t,n)?$o:t,3));},h.find=Vr,h.findIndex=kr,h.findKey=function(e,t){return Hu(e,f(t,3),ft);},h.findLast=Jr,h.findLastIndex=Tr,h.findLastKey=function(e,t){return Hu(e,f(t,3),pt);},h.floor=Io,h.forEach=Kr,h.forEachRight=Qr,h.forIn=function(e,t){return null==e?e:lt(e,f(t,3),N);},h.forInRight=function(e,t){return null==e?e:ct(e,f(t,3),N);},h.forOwn=function(e,t){return e&&ft(e,f(t,3));},h.forOwnRight=function(e,t){return e&&pt(e,f(t,3));},h.get=Pi,h.gt=gi,h.gte=vi,h.has=function(e,t){return null!=e&&tr(e,t,mt);},h.hasIn=Ui,h.head=Sr,h.identity=L,h.includes=function(e,t,n,r){return e=c(e)?e:no(e),n=n&&!r?A(n):0,r=e.length,n<0&&(n=E(r+n,0)),ji(e)?n<=r&&-1<e.indexOf(t,n):!!r&&-1<fa(e,t,n);},h.indexOf=function(e,t,n){var r=null==e?0:e.length;return r?fa(e,t,e=(e=null==n?0:A(n))<0?E(r+e,0):e):-1;},h.inRange=function(e,t,n){return t=qi(t),n===$o?(n=t,t=0):n=qi(n),(e=e=S(e))>=k(t=t,n=n)&&e<E(t,n);},h.invoke=Ji,h.isArguments=mi,h.isArray=F,h.isArrayBuffer=yi,h.isArrayLike=c,h.isArrayLikeObject=x,h.isBoolean=function(e){return !0===e||!1===e||$(e)&&n(e)==Vo;},h.isBuffer=bi,h.isDate=P,h.isElement=function(e){return $(e)&&1===e.nodeType&&!Ti(e);},h.isEmpty=function(e){if(null!=e){if(c(e)&&(F(e)||"string"==typeof e||"function"==typeof e.splice||bi(e)||Ni(e)||mi(e)))return !e.length;var t,n=z(e);if(n==Ko||n==Zo)return !e.size;if(sr(e))return !Tt(e).length;for(t in e)if(I.call(e,t))return !1;}return !0;},h.isEqual=function(e,t){return wt(e,t);},h.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:$o)?n(e,t):$o;return r===$o?wt(e,t,$o,n):!!r;},h.isError=xi,h.isFinite=function(e){return "number"==typeof e&&ve(e);},h.isFunction=_i,h.isInteger=wi,h.isLength=Ci,h.isMap=Ei,h.isMatch=function(e,t){return e===t||Ct(e,t,Yn(t));},h.isMatchWith=function(e,t,n){return n="function"==typeof n?n:$o,Ct(e,t,Yn(t),n);},h.isNaN=function(e){return ki(e)&&e!=+e;},h.isNative=function(e){if(ur(e))throw new D("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Et(e);}
137,h.isNil=function(e){return null==e;},h.isNull=function(e){return null===e;},h.isNumber=ki,h.isObject=_,h.isObjectLike=$,h.isPlainObject=Ti,h.isRegExp=Ai,h.isSafeInteger=function(e){return wi(e)&&-Po<=e&&e<=Po;},h.isSet=Si,h.isString=ji,h.isSymbol=b,h.isTypedArray=Ni,h.isUndefined=function(e){return e===$o;},h.isWeakMap=function(e){return $(e)&&z(e)==ta;},h.isWeakSet=function(e){return $(e)&&"[object WeakSet]"==n(e);},h.join=function(e,t){return null==e?"":me.call(e,t);},h.kebabCase=ao,h.last=r,h.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var i=r;if(n!==$o&&(i=(i=A(n))<0?E(r+i,0):k(i,r-1)),t!=t)return Fu(e,Mu,i,!0);for(var o=e,a=t,u=i+1;u--;)if(o[u]===a)return u;return u;},h.lowerCase=uo,h.lowerFirst=so,h.lt=Li,h.lte=Di,h.max=function(e){return e&&e.length?ut(e,L,vt):$o;},h.maxBy=function(e,t){return e&&e.length?ut(e,f(t,2),vt):$o;},h.mean=function(e){return Wu(e,L);},h.meanBy=function(e,t){return Wu(e,f(t,2));},h.min=function(e){return e&&e.length?ut(e,L,St):$o;},h.minBy=function(e,t){return e&&e.length?ut(e,f(t,2),St):$o;},h.stubArray=Lo,h.stubFalse=Do,h.stubObject=function(){return {};},h.stubString=function(){return "";},h.stubTrue=function(){return !0;},h.multiply=zo,h.nth=function(e,t){return e&&e.length?Ot(e,A(t)):$o;},h.noConflict=function(){return oa._===this&&(oa._=G),this;},h.noop=Eo,h.now=ri,h.pad=function(e,t,n){e=d(e);var r=(t=A(t))?ga(e):0;return !t||t<=r?e:Ln(he(t=(t-r)/2),n)+e+Ln(de(t),n);},h.padEnd=function(e,t,n){e=d(e);var r=(t=A(t))?ga(e):0;return t&&r<t?e+Ln(t-r,n):e;},h.padStart=function(e,t,n){e=d(e);var r=(t=A(t))?ga(e):0;return t&&r<t?Ln(t-r,n)+e:e;},h.parseInt=function(e,t,n){return t=n||null==t?0:t&&+t,xe(d(e).replace(Za,""),t||0);},h.random=function(e,t,n){var r;return n&&"boolean"!=typeof n&&p(e,t,n)&&(t=n=$o),n===$o&&("boolean"==typeof t?(n=t,t=$o):"boolean"==typeof e&&(n=e,e=$o)),e===$o&&t===$o?(e=0,t=1):(e=qi(e),t===$o?(t=e,e=0):t=qi(t)),t<e&&(r=e,e=t,t=r),n||e%1||t%1?(r=_e(),k(e+r*(t-e+wu("1e-"+((r+"").length-1))),t)):zt(e,t);},h.reduce=function(e,t,n){var r=F(e)?Iu:Uu,i=arguments.length<3;return r(e,f(t,4),n,i,it);},h.reduceRight=function(e,t,n){var r=F(e)?Bu:Uu,i=arguments.length<3;return r(e,f(t,4),n,i,ot);},h.repeat=function(e,t,n){return t=(n?p(e,t,n):t===$o)?1:A(t),Ht(d(e),t);},h.replace=function(){var e=arguments,t=d(e[0]);return e.length<3?t:t.replace(e[1],e[2]);},h.result=function(e,t,n){var r=-1,i=(t=an(t,e)).length;for(i||(i=1,e=$o);++r<i;){var o=null==e?$o:e[wr(t[r])];o===$o&&(r=i,o=n),e=_i(o)?o.call(e):o;}return e;},h.round=Ho,h.runInContext=i,h.sample=function(e){return (F(e)?Pe:Ft)(e);},h.size=function(e){var t;return null==e?0:c(e)?ji(e)?ga(e):e.length:(t=z(e))==Ko||t==Zo?e.size:Tt(e).length;},h.snakeCase=lo,h.some=function(e,t,n){return (F(e)?zu:Ut)(e,f(t=n&&p(e,t,n)?$o:t,3));},h.sortedIndex=function(e,t){return Xt(e,t);},h.sortedIndexBy=function(e,t,n){return Vt(e,t,f(n,2));},h.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Xt(e,t);if(r<n&&H(e[r],t))return r;}return -1;},h.sortedLastIndex=function(e,t){return Xt(e,t,!0);},h.sortedLastIndexBy=function(e,t,n){return Vt(e,t,f(n,2),!0);},h.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Xt(e,t,!0)-1;if(H(e[n],t))return n;}return -1;},h.startCase=co,h.startsWith=function(e,t,n){return e=d(e),n=null==n?0:et(A(n),0,e.length),t=l(t),e.slice(n,n+t.length)==t;},h.subtract=Fo,h.sum=function(e){return e&&e.length?Xu(e,L):0;},h.sumBy=function(e,t){return e&&e.length?Xu(e,f(t,2)):0;},h.template=function(a,e,t){var u,s,n=h.templateSettings;t&&p(a,e,t)&&(e=$o),a=d(a),e=Hi({},e,n,Fn);var r=j(t=Hi({},e.imports,n.imports,Fn)),i=Ku(t,r),l=0,n=e.interpolate||hu,c="__p += '",t=R((e.escape||hu).source+"|"+n.source+"|"+(n===Va?au:hu).source+"|"+(e.evaluate||hu).source+"|$","g"),o="//# sourceURL="+(I.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++_u+"]")+"\n";if(a.replace(t,function(e,t,n,r,i,o){return n=n||r,c+=a.slice(l,o).replace(gu,ts),t&&(u=!0,c+="' +\n__e("+t+") +\n'"),i&&(s=!0,c+="';\n"+i+";\n__p += '"),n&&(c+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),l=o+e.length,e;}),c+="';\n",n=I.call(e,"variable")&&e.variable){if(iu.test(n))throw new D("Invalid `variable` option passed into `_.template`");}else c="with (obj) {\n"+c+"\n}\n";if(c=(s?c.replace(za,""):c).replace(Ha,"$1").replace(Fa,"$1;"),c="function("+(n||"obj")+") {\n"+(n?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(u?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";
137\n")+c+"return __p\n}",(t=go(function(){return O(r,o+"return "+c).apply($o,i);})).source=c,xi(t))throw t;return t;},h.times=function(e,t){if((e=A(e))<1||Po<e)return [];for(var n=Uo,r=k(e,Uo),r=(t=f(t),e-=Uo,Vu(r,t));++n<e;)t(n);return r;},h.toFinite=qi,h.toInteger=A,h.toLength=Ri,h.toLower=function(e){return d(e).toLowerCase();},h.toNumber=S,h.toSafeInteger=function(e){return e?et(A(e),-Po,Po):0===e?e:0;},h.toString=d,h.toUpper=function(e){return d(e).toUpperCase();},h.trim=function(e,t,n){return (e=d(e))&&(n||t===$o)?Ju(e):e&&(t=l(t))?sn(n=va(e),Yu(n,t=va(t)),Gu(n,t)+1).join(""):e;},h.trimEnd=function(e,t,n){return (e=d(e))&&(n||t===$o)?e.slice(0,os(e)+1):e&&(t=l(t))?sn(n=va(e),0,Gu(n,va(t))+1).join(""):e;},h.trimStart=function(e,t,n){return (e=d(e))&&(n||t===$o)?e.replace(Za,""):e&&(t=l(t))?sn(n=va(e),Yu(n,va(t))).join(""):e;},h.truncate=function(e,t){var n,r=30,i="...",t=(_(t)&&(n="separator" in t?t.separator:n,r="length" in t?A(t.length):r,i="omission" in t?l(t.omission):i),(e=d(e)).length);if((t=da(e)?(o=va(e)).length:t)<=r)return e;if((t=r-ga(i))<1)return i;var o,r=o?sn(o,0,t).join(""):e.slice(0,t);if(n!==$o)if(o&&(t+=r.length-t),Ai(n)){if(e.slice(t).search(n)){var a,u=r;for((n=n.global?n:R(n.source,d(uu.exec(n))+"g")).lastIndex=0;a=n.exec(u);)var s=a.index;r=r.slice(0,s===$o?t:s);}}else e.indexOf(l(n),t)!=t&&-1<(o=r.lastIndexOf(n))&&(r=r.slice(0,o));return r+i;},h.unescape=function(e){return (e=d(e))&&Wa.test(e)?e.replace($a,as):e;},h.uniqueId=function(e){var t=++J;return d(e)+t;},h.upperCase=fo,h.upperFirst=po,h.each=Kr,h.eachRight=Qr,h.first=Sr,Co(h,(Bo={},ft(h,function(e,t){I.call(h.prototype,t)||(Bo[t]=e);}),Bo),{chain:!1}),h.VERSION="4.17.21",ua(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){h[e].placeholder=h;}),ua(["drop","take"],function(n,r){m.prototype[n]=function(e){e=e===$o?1:E(A(e),0);var t=this.__filtered__&&!r?new m(this):this.clone();return t.__filtered__?t.__takeCount__=k(e,t.__takeCount__):t.__views__.push({size:k(e,Uo),type:n+(t.__dir__<0?"Right":"")}),t;},m.prototype[n+"Right"]=function(e){return this.reverse()[n](e).reverse();};}),ua(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;m.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:f(e,3),type:n}),t.__filtered__=t.__filtered__||r,t;};}),ua(["head","last"],function(e,t){var n="take"+(t?"Right":"");m.prototype[e]=function(){return this[n](1).value()[0];};}),ua(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");m.prototype[e]=function(){return this.__filtered__?new m(this):this[n](1);};}),m.prototype.compact=function(){return this.filter(L);},m.prototype.find=function(e){return this.filter(e).head();},m.prototype.findLast=function(e){return this.reverse().find(e);},m.prototype.invokeMap=a(function(t,n){return "function"==typeof t?new m(this):this.map(function(e){return xt(e,t,n);});}),m.prototype.reject=function(e){return this.filter(fi(f(e)));},m.prototype.slice=function(e,t){e=A(e);var n=this;return n.__filtered__&&(0<e||t<0)?new m(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==$o?(t=A(t))<0?n.dropRight(-t):n.take(t-e):n);},m.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse();},m.prototype.toArray=function(){return this.take(Uo);},ft(m.prototype,function(l,e){var c=/^(?:filter|find|map|reject)|While$/.test(e),f=/^(?:head|last)$/.test(e),p=h[f?"take"+("last"==e?"Right":""):e],d=f||/^find/.test(e);p&&(h.prototype[e]=function(){function e(e){return e=p.apply(h,ca([e],r)),f&&u?e[0]:e;}var t,n=this.__wrapped__,r=f?[1]:arguments,i=n instanceof m,o=r[0],a=i||F(n),u=(a&&c&&"function"==typeof o&&1!=o.length&&(i=a=!1),this.__chain__),o=!!this.__actions__.length,s=d&&!u,i=i&&!o;return !d&&a?(n=i?n:new m(this),(t=l.apply(n,r)).__actions__.push({func:Pr,args:[e],thisArg:$o}),new v(t,u)):s&&i?l.apply(this,r):(t=this.thru(e),s?f?t.value()[0]:t.value():t);});}),ua(["pop","push","shift","sort","splice","unshift"],function(e){var n=W[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);h.prototype[e]=function(){var e,t=arguments;return i&&!this.__chain__?(e=this.value(),n.apply(F(e)?e:[],t)):this[r](function(e){return n.apply(F(e)?e:[],t);});};}),ft(m.prototype,function(e,t){var n,r=h[t];r&&(n=r.name+"",I.call(Se,n)||(Se[n]=[]),Se[n].push({name:t,func:r}));}),Se[An($o,2).name]=[{name:"wrapper",func:$o}],m.prototype.clone=function(){var e=new m(this.__wrapped__);return e.__actions__=T(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=T(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=T(this.__views__),e;},m.prototype.reverse=function(){var e;return this.__filtered__?((e=new m(this)).__dir__=-1,e.__filtered__=!0):(e=this.clone()).__dir__*=-1,e;},m.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=F(e),r=t<0,i=n?e.length:0,o=function(e,t,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],a=o.size;switch(o.type){case "drop":e+=a;break;case "dropRight":t-=a;break;case "take":t=k(t,e+a);break;case "takeRight":e=E(e,t-a);}}return {start:e,end:t};}(0,i,this.__views__),a=o.start,u=(o=o.end)-a,s=r?o:a-1,l=this.__iteratees__,c=l.length,f=0,p=k(u,this.__takeCount__);if(!n||!r&&i==u&&p==u)return en(e,this.__actions__);var d=[];e:for(;u--&&f<p;){for(var h=-1,g=e[s+=t];++h<c;){var v=l[h],m=v.iteratee,v=v.type,m=m(g);if(2==v)g=m;else{if(!m){if(1==v)continue e;break e;}}}d[f++]=g;}return d;},h.prototype.at=Ur,h.prototype.chain=function(){return Wr(this);},h.prototype.commit=function(){return new v(this.value(),this.__chain__);},h.prototype.next=function(){this.__values__===$o&&(this.__values__=Oi(this.value()));var e=this.__index__>=this.__values__.length;return {done:e,value:e?$o:this.__values__[this.__index__++]};},h.prototype.plant=function(e){for(var t,n=this;n instanceof ze;)var r=Er(n),i=(r.__index__=0,r.__values__=$o,t?i.__wrapped__=r:t=r,r),n=n.__wrapped__;return i.__wrapped__=e,t;},h.prototype.reverse=function(){var e=this.__wrapped__;return e instanceof m?(e=e,(e=(e=this.__actions__.length?new m(this):e).reverse()).__actions__.push({func:Pr,args:[Lr],thisArg:$o}),new v(e,this.__chain__)):this.thru(Lr);},h.prototype.toJSON=h.prototype.valueOf=h.prototype.value=function(){return en(this.__wrapped__,this.__actions__);},h.prototype.first=h.prototype.head,ue&&(h.prototype[ue]=function(){return this;}),h;}();"object"==typeof on.amd&&on.amd?(oa._=ma,on("lodash",[],function(){return ma;})):i?((i.exports=ma)._=ma,r._=ma):oa._=ma;}.call(this),j=this,P=/iPhone/i,U=/iPod/i,X=/iPad/i,n=/(?=.*\bAndroid\b)(?=.*\bMobile\b)/i,V=/Android/i,J=/IEMobile/i,K=/(?=.*\bWindows\b)(?=.*\bARM\b)/i,Q=/BlackBerry/i,Y=/BB10/i,G=/Opera Mini/i,Z=/(?=.*\bFirefox\b)(?=.*\bMobile\b)/i,ee=new RegExp("(?:Nexus 7|BNTV250|Kindle Fire|Silk|GT-P1000)","i"),"undefined"!=typeof module&&module.exports&&void 0===b?module.exports=me:"undefined"!=typeof module&&module.exports&&void 0!==b?module.exports=ye():on.amd?on("isMobile",[],j.isMobile=ye()):j.isMobile=ye(),N=this,E=function(){"use strict";var p,o=["webkit","Moz","ms","O"],f={};function d(e,t){var n,r=x.createElement(e||"div");for(n in t)r[n]=t[n];return r;}function h(e){for(var t=1,n=arguments.length;t<n;t++)e.appendChild(arguments[t]);return e;}e=d("style",{type:"text/css"}),h(x.getElementsByTagName("head")[0],e);var g=e.sheet||e.styleSheet;function r(e,t){var n,r,i=e.style;for(t=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<o.length;r++)if(void 0!==i[n=o[r]+t])return n;if(void 0!==i[t])return t;}function v(e,t){for(var n in t)e.style[r(e,n)||n]=t[n];return e;}function t(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)void 0===e[n]&&(e[n]=r[n]);}return e;}function m(e,t){return "string"==typeof e?e:e[t%e.length];}var n={lines:12,length:7,width:5,radius:10,rotate:0,corners:1,color:"#000",direction:1,speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:"spinner",top:"50%",left:"50%",position:"absolute"};function i(e){this.opts=t(e||{},i.defaults,n);}i.defaults={},t(i.prototype,{spin:function(e){this.stop();var n,r,i,o,a,u,s,l=this,c=l.opts,f=l.el=v(d(0,{className:c.className}),{position:c.position,width:0,zIndex:c.zIndex});return v(f,{left:c.left,top:c.top}),e&&e.insertBefore(f,e.firstChild||null),f.setAttribute("role","progressbar"),l.lines(f,l.opts),p||(n=0,r=(c.lines-1)*(1-c.direction)/2,o=c.fps,a=o/c.speed,u=(1-c.opacity)/(a*c.trail/100),s=a/c.lines,function e(){n++;for(var t=0;t<c.lines;t++)i=Math.max(1-(n+(c.lines-t)*s)%a*u,c.opacity),l.opacity(f,t*c.direction+r,i,c);l.timeout=l.el&&setTimeout(e,~~(1e3/o));}()),l;},stop:function(){var e=this.el;return e&&(clearTimeout(this.timeout),e.parentNode&&e.parentNode.removeChild(e),this.el=void 0),this;},lines:function(e,n){var t,r,i,o,a,u,s=0,l=(n.lines-1)*(1-n.direction)/2;
137function c(e,t){return v(d(),{position:"absolute",width:n.length+n.width+"px",height:n.width+"px",background:e,boxShadow:t,transformOrigin:"left",transform:"rotate("+~~(360/n.lines*s+n.rotate)+"deg) translate("+n.radius+"px,0)",borderRadius:(n.corners*n.width>>1)+"px"});}for(;s<n.lines;s++)u=v(d(),{position:"absolute",top:1+~(n.width/2)+"px",transform:n.hwaccel?"translate3d(0,0,0)":"",opacity:n.opacity,animation:p&&(t=n.opacity,r=n.trail,i=l+s*n.direction,o=n.lines,u=a=void 0,a=["opacity",r,~~(100*t),i,o].join("-"),i=.01+i/o*100,o=Math.max(1-(1-t)/r*(100-i),t),u=p.substring(0,p.indexOf("Animation")).toLowerCase(),f[a]||(g.insertRule("@"+(u&&"-"+u+"-"||"")+"keyframes "+a+"{0%{opacity:"+o+"}"+i+"%{opacity:"+t+"}"+(.01+i)+"%{opacity:1}"+(i+r)%100+"%{opacity:"+t+"}100%{opacity:"+o+"}}",g.cssRules.length),f[a]=1),a+" "+1/n.speed+"s linear infinite")}),n.shadow&&h(u,v(c("#000","0 0 4px #000"),{top:"2px"})),h(e,h(u,c(m(n.color,s),"0 0 1px rgba(0,0,0,.1)")));return e;},opacity:function(e,t,n){t<e.childNodes.length&&(e.childNodes[t].style.opacity=n);}});var e=v(d("group"),{behavior:"url(#default#VML)"});function l(e,t){return d("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',t);}return !r(e,"transform")&&e.adj?(g.addRule(".spin-vml","behavior:url(#default#VML)"),i.prototype.lines=function(e,r){var i=r.length+r.width,t=2*i;function o(){return v(l("group",{coordsize:t+" "+t,coordorigin:-i+" "+-i}),{width:t,height:t});}var n,a=2*-(r.width+r.length)+"px",u=v(o(),{position:"absolute",top:a,left:a});function s(e,t,n){h(u,h(v(o(),{rotation:360/r.lines*e+"deg",left:~~t}),h(v(l("roundrect",{arcsize:r.corners}),{width:i,height:r.width,left:r.radius,top:-r.width>>1,filter:n}),l("fill",{color:m(r.color,e),opacity:r.opacity}),l("stroke",{opacity:0}))));}if(r.shadow)for(n=1;n<=r.lines;n++)s(n,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(n=1;n<=r.lines;n++)s(n);return h(e,u);},i.prototype.opacity=function(e,t,n,r){e=e.firstChild;r=r.shadow&&r.lines||0,e&&t+r<e.childNodes.length&&(e=(e=(e=e.childNodes[t+r])&&e.firstChild)&&e.firstChild)&&(e.opacity=n);}):p=r(e,"animation"),i;},"object"==typeof exports?module.exports=E():on.amd?on("spin",E):N.Spinner=E(),on("overlay",["require","modal","slide","jquery-private","lodash","isMobile","user-settings","spin","subscribe"],function(e){"use strict";e("modal"),e("slide");var u=e("jquery-private"),s=e("lodash"),t=e("isMobile"),d=e("user-settings"),n=e("spin"),r=e("subscribe"),p=new n({lines:13,length:20,width:10,radius:30,corners:1,rotate:0,direction:1,color:"#000",speed:1,trail:60,shadow:!1,hwaccel:!1,className:"spinner",zIndex:2e9,top:"50%",left:"50%"}),i={},l=t.apple.phone||t.android.phone||t.seven_inch;i.mkModel=function(e){var t=l?"mobile":e.type,n=s.assign({},e,e[t]);return {get:function(e){return n[e];},subscribe:function(e){return n.subscribe[e];},type:t};},i.mkView=function(t){function r(e){return o.find(e.replace(/([#.])/g,"$1prefix-"));}var e,n=t.get("layoutWidth"),i=t.get("layoutHeight"),o=u(t.get("layout")),a=r("#overlay-outer");return l||(o.css("width",n),i&&a.css("height",i)),e={layout:o,find:r,form:r("form"),injectContent:function(e){if(e.content&&e.element)switch(e.method){case "prepend":e.element.prepend(e.content);break;case "after":u(e.content).insertAfter(e.element);break;case "before":u(e.content).insertBefore(e.element);break;case "text":e.element.text(e.content);break;case "val":e.element.val(e.content);break;case "attr":e.element.attr(e.attr,e.content);}},closeOverlay:function(){("slide"===t.type?u.slide:u.modal).close();},remindLater:function(){d.setDisableForNDays(t.get("namespace"),t.get("laterExpiration"),t.get("domainRestriction")),e.closeOverlay();},getQuestions:function(){var e=r(".questionId").not(":disabled"),t=s.map(e,function(e){return e.name;}),e=s.map(e,function(e){return e.value;});return s.zipObject(t,e);},validateQuestions:function(){var e=this.getQuestions(),t=s.values(e);return !!s.isEmpty(e)||-1===s.indexOf(t,"");},clearErrors:function(){var e=r("#error-outer span"),t=x.querySelector("#prefix-error-outer span");t.removeAttribute("role"),t.textContent="",e.is(":visible")&&e.fadeOut("fast");},displayError:function(e){var t=r("#error-outer span"),n=x.querySelector(":not([style='display:none;']) > #prefix-error-outer span:not([tabindex='-1'])");n.setAttribute("tabindex","0"),n.textContent=e,t.fadeIn("slow"),n.setAttribute("role","alert");},getEmail:function(){return r("#emailInput").val().replace(t.get("emailPlaceholder"),"").replace(/^\s+|\s+$/g,"");},validateEmail:function(e){return ""!==e&&/^(([^<>()\[\]\\.,;:\s@\"]+(\.[^<>()\[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e);},getPhone:function(){return (r("#smsInput").val()||"").replace(/[^\d]/g,"");},validatePhone:function(e){return ""===e||new RegExp("^1?[2-9]\\d{9}$").test(e);},validateConsent:function(){var e=x.getElementById("prefix-consentPolicyInput");return "gui"===t.subscribe("method")||e&&e.checked;}};},i.mkController=function(l,c){var f={removeConsentBox:function(){var e=x.getElementById("prefix-consent-outer");null!==e&&e.remove();},onFormSubmit:function(e){var t,n,r=c.find('form input[type="submit"]'),i=c.getEmail(),o=c.getPhone(),e="prefix-formStepForm"===e?l.get("formStepErrorText"):l.get("step1ErrorText"),a=l.get("questionError")||"You must answer the question(s).",u=l.get("consentError")||"Privacy policy consent is required.",s=x.getElementById("prefix-overlay-outer");if(c.clearErrors(),r.prop("disabled",!0),!c.validateEmail(i))return c.displayError(e),x.querySelector("#prefix-emailInput").focus(),r.prop("disabled",!1),!1;if(!c.validatePhone(o))return c.displayError(e),x.querySelector("#prefix-smsInput").focus(),r.prop("disabled",!1),!1;if(!c.validateQuestions()){for(c.displayError(a),t=x.querySelectorAll(".prefix-questionId:not([tabindex='-1'])"),n=0;n<t.length;n+=1)if(""===t[n].value){t[n].focus();break;}return r.prop("disabled",!1),!1;}if(!c.validateConsent())return c.displayError(u),x.querySelector("#prefix-consentPolicyInput").focus(),r.prop("disabled",!1),!1;switch(l.subscribe("method")){case "ajax":p.spin(s),f.subscribeAsync();break;case "gui":f.subscribeRedirect();break;case "hybrid":p.spin(s),f.subscribeHybrid();}},apiSubscribeOptions:function(){return {apiUrl:l.subscribe("apiUrl"),apiKey:l.subscribe("apiKey"),topicCode:l.subscribe("topicCode"),guid:l.get("overlayUrn"),email:c.getEmail(),questions:c.getQuestions(),phone:c.getPhone(),successCallback:u.proxy(f.onSubscribeSuccess,f),errorCallback:u.proxy(f.onAjaxError,f)};},subscribeRedirect:function(){var e={url:l.subscribe("url"),guid:l.get("overlayUrn"),email:c.getEmail(),successCallback:u.proxy(f.onSubscribeSuccess,f)};r.subscribeRedirect(e);},subscribeAsync:function(){var e=f.apiSubscribeOptions();r.subscribeAsync(e);},subscribeHybrid:function(){var e=s.assign(f.apiSubscribeOptions(),{url:l.subscribe("url"),successCallback:function(){d.setDisabled(l.get("namespace"),l.get("domainRestriction"));}});r.subscribeHybrid(e);},onAjaxError:function(){var e=c.find(':not([style="display:none;"]) >#error-outer span');c.find('form input[type="submit"]').prop("disabled",!1),e.html(l.get("apiErrorContent")).fadeIn("slow"),(e=x.querySelector(":not([style='display:none;']) > #prefix-error-outer span")).setAttribute("role","alert"),e.setAttribute("tabindex","0"),u.slide.resize(),p.stop();},onSubscribeSuccess:function(){var e,t,n,r;c.find('form input[type="submit"]').prop("disabled",!1),n=(l.get("formStepCheck")&&"ajax"===l.subscribe("method")?c.find("#overlay-step1").is(":visible")?(c.find('[class="prefix-questionId"]').prop("disabled",!1),e=c.find("#overlay-step1"),t=c.find("#overlay-formStep"),r=x.querySelector("#prefix-overlay-step1").querySelectorAll("button, [href], select, input, textarea, [tabindex='0'], #prefix-error-outer span"),x.querySelector("#prefix-overlay-formStep")):(e=c.find("#overlay-formStep"),t=c.find("#overlay-step2"),r=x.querySelector("#prefix-overlay-formStep").querySelectorAll("button, [href], select, input, textarea, [tabindex='0'], #prefix-error-outer span"),x.querySelector("#prefix-overlay-step2")):(e=c.find("#overlay-step1"),t=c.find("#overlay-step2"),r=x.querySelector("#prefix-overlay-step1").querySelectorAll("button, [href], select, input, textarea, [tabindex='0'], #prefix-error-outer span"),x.querySelector("#prefix-overlay-step2"))).querySelectorAll('[tabindex="-1"]'),r&&Array.prototype.forEach.call(r,function(e){e.setAttribute("tabindex","-1");}),n&&Array.prototype.forEach.call(n,function(e){e.removeAttribute("tabindex");}),e.fadeOut("fast",function(){t.fadeIn("fast");}),x.getElementById("prefix-overlay-outer").focus(),d.setDisabled(l.get("namespace"),l.get("domainRestriction")),p.stop();},handleClick:function(t){c.find(t.selector).click(function(e){e.preventDefault(),"disabled"!==u(e.target).prop("disabled")&&t.handler();});},handleFormSubmit:function(n){c.form.on("submit",function(e){e.preventDefault(),e.stopPropagation();var t=u(e.currentTarget).attr("id");"disabled"!==u('input[type="submit"]',e.currentTarget).attr("disabled")&&n.handler(t);});},dismissOverlay:function(){c.closeOverlay(),d.setDisabled(l.get("namespace"),l.get("domainRestriction"));}};return f;},i.mkInit=function(e){var f=i.mkModel(e),p=i.mkView(f),t=i.mkController(f,p);return !(d.isDisabled(f.get("namespace"),f.get("domainRestriction"))||f.get("disableMobile")&&l)&&{initialize:function(){this.initContent(),this.initForm(),this.initViewport(),this.initDocumentBody(),this.discernOverlayType(),this.initEventHandlers(),"gui"===f.subscribe("method")&&t.removeConsentBox(),this.initTabBehavior(),l&&(this.initOrientationHandler(),this._fixMobilePosition());},initContent:function(){var e=p.find("#overlay-outer"),t=p.find("#overlay-header"),n=p.find("#overlay-step1"),r=p.find("#overlay-formStep"),i=p.find("#overlay-step2"),o=p.find("#emailInput"),a=p.find("#submitButton"),u=p.find("#dismissButton"),s=p.find("#laterButton"),l=p.find("#consentPolicyLabel"),c=p.find("#formStep-submitButton");p.injectContent({element:t,content:f.get("headerContent"),method:"prepend"}),p.injectContent({element:n,content:f.get("step1"),method:"prepend"}),"ajax"===f.subscribe("method")&&p.injectContent({element:r,content:f.get("formStep"),method:"prepend"}
137),p.injectContent({element:i,content:f.get("step2"),method:"prepend"}),p.injectContent({element:a,content:f.get("submitButton"),method:"val"}),p.injectContent({element:u,content:f.get("dismissButton"),method:"text"}),p.injectContent({element:s,content:f.get("laterButton"),method:"text"}),p.injectContent({element:l,content:f.get("consentPolicyText"),method:"prepend"}),p.injectContent({element:c,content:f.get("formStepSubmitButton"),method:"val"}),f.get("webFonts")&&p.injectContent({element:e,content:this.renderWebFonts(),method:"before"}),p.injectContent({element:o,content:f.get("emailPlaceholder"),method:"attr",attr:"placeholder"}),p.injectContent({element:o,content:f.get("emailPlaceholder"),method:"attr",attr:"title"});},initForm:function(){var e,t="",n="",r="",i="",o=p.find("form").not("#prefix-formStepForm"),a=p.find("#formStepForm");f.get("emailTitleCheck")&&(t=this.renderTitle("email",f.get("emailTitle"))),f.get("smsCheck")&&(f.get("smsTitleCheck")&&(n=this.renderTitle("sms",f.get("smsTitle"))),e=this.renderInput({name:"sms",type:"tel",placeholder:f.get("smsPlaceholder")}),o="1"===f.get("smsScreenPlacement")?o:a,p.injectContent({element:o,content:e,method:"prepend"}),p.injectContent({element:o,content:n,method:"prepend"})),s.isEmpty(f.get("questions1"))||(r=this.renderQuestions("questions1")),s.isEmpty(f.get("questions2"))||(i=this.renderQuestions("questions2")),p.injectContent({element:a,content:i,method:"prepend"}),p.find('[class="prefix-questionId"]').prop("disabled",!0),this.renderForm({beforeEmail:[t],afterEmail:[r,""]});},renderTitle:function(e,t){return s.template("<label for=prefix-<%= name %>Input><%= title %></label>")({name:e,title:t});},renderQuestions:function(e){var e=f.get(e),r=u("<div/>",{id:"prefix-questions"});return s.each(e,function(e){var t,n;e&&(n=t="",s.each(e.question.answers,function(e){e=s.template('<option value="<%= answer_id %>"><%= answer_text %></option>')({answer_id:e.value,answer_text:e.answer_text});t=t.concat(e);}),n=t?s.template('<select name="q_<%= question_id %>" class="prefix-questionId"><option value="" selected disabled><%= question_text%></option><%= answers %></select>')({question_id:e.id,question_text:e.question.question_text,answers:t}):s.template('<input class="prefix-questionId" name="q_<%= question_id %>" type="text" placeholder="<%= question_text %>">')({question_id:e.id,question_text:e.question.question_text}),r.append(n));}),r;},renderWebFonts:function(){var e=f.get("webFonts"),t=u("<div/>",{id:"prefix-webfonts"});return s.each(e,function(e){e=s.template('<link href="<%= wf %>" rel="stylesheet" type="text/css">')({wf:e});t.append(e);}),t;},renderInput:function(t){function e(e){return t[e]?e.concat('="',t[e],'"'):"";}return s.template('<input name="<%= name %>" type="<%= type %>" id="prefix-<%= name %>Input" <%= placeholder %> <%= pattern %> <%= title %>></input>')({name:t.name,type:t.type,placeholder:e("placeholder"),pattern:e("pattern"),title:e("title")});},renderForm:function(e){var t=p.find("form").not("#prefix-formStepForm"),n=t.find("#prefix-emailInput");s.forEachRight(e.beforeEmail,function(e){p.injectContent({element:t,content:e,method:"prepend"});}),s.forEachRight(e.afterEmail,function(e){p.injectContent({element:n,content:e,method:"after"});});},initViewport:function(){l&&null==x.querySelector("meta[name=viewport]")&&u("head").append("<meta name='viewport' content='width=device-width, initial-scale=1'>");},initDocumentBody:function(){u(x.body).append(p.layout.get(0)),ie(p.find("style[scoped]"));},initTabBehavior:function(){var e,t;"modal"===f.type&&((t=p.find("#overlay-outer")).attr("tabindex",0),t.focus(),e=x.querySelector("#prefix-overlay-step2").querySelectorAll("button, [href], select, input, textarea,[tabindex='0']"),Array.prototype.forEach.call(e,function(e){e.setAttribute("tabindex","-1");}),e=x.querySelector("#prefix-overlay-formStep").querySelectorAll("button, [href], select, input, textarea, [tabindex='0']"),Array.prototype.forEach.call(e,function(e){e.setAttribute("tabindex","-1");}),u(x).off("focusin"),u(x).on("focusin",function(e){t[0]!==e.target&&0===t.has(e.target).length&&t.focu
137s();}),x.addEventListener("keydown",function(e){var t,n,r;"Tab"!==e.key&&9!==e.keyCode||(n=(r=(t=x.querySelector("#prefix-overlay-outer")).querySelectorAll("button:not([tabindex='-1']), [href]:not([tabindex='-1']), input:not([tabindex='-1']), select:not([tabindex='-1']), textarea:not([tabindex='-1']), [tabindex='0']"))[0],r=r[r.length-1],e.shiftKey?x.activeElement!==n&&x.activeElement!==t||(r.focus(),e.preventDefault()):x.activeElement===r&&(n.focus(),e.preventDefault()));}));},discernOverlayType:function(){"slide"!==f.type?this.initModalOverlay():this.initSlideOverlay();},initModalOverlay:function(){var e=Array.prototype.slice.call(u("body *").map(function(){return parseInt(u(this).css("z-index"),10)||1;})),e=Math.max.apply({},e);2147483647<=e&&(e-=100),p.layout.modal({showClose:!1,zIndex:e+1,mobile:l,opacity:f.get("opacity")});},initSlideOverlay:function(){var e=Array.prototype.slice.call(u("body *").map(function(){return parseInt(u(this).css("z-index"),10)||1;})),e=Math.max.apply({},e),t=f.get("slide"),n=t.header_id;t.header_id&&(t.header_id=n.replace(/([#.])/,"$1prefix-")),p.layout.slide(s.assign({},t,{z:e+1}));},initEventHandlers:function(){t.handleFormSubmit({handler:t.onFormSubmit,message:"Form submit"}),t.handleClick({selector:".overlay-action-close",handler:p.closeOverlay,message:"Click close"}),t.handleClick({selector:".overlay-action-later",handler:p.remindLater,message:"Click later"}),t.handleClick({selector:".overlay-action-dismiss",handler:t.dismissOverlay,message:"Click dismiss"}),t.handleClick({selector:"#overlay-step2 button",handler:t.dismissOverlay,message:"Click Continue"}),t.handleClick({selector:'[rel="toggle"]',handler:u.slide.slideToggle,message:"Click toggle"});},scrollTo:function(e,t){e=e||0,t=t||0,u("html, body").scrollTop(e).scrollLeft(t),b.scrollTo(e,t);},setFullWidth:function(e){e=e||500,u(p.layout[0]).css("width",b.innerWidth),setTimeout(function(){u(p.layout[0]).css("width",b.innerWidth);},e);},_fixMobilePosition:function(){this.scrollTo(0,0),this.setFullWidth(500);},initOrientationHandler:function(){var e=this;b.matchMedia("(orientation: portrait)").addListener(function(){e._fixMobilePosition();});}};},u(function(){var e=i.mkInit(I);e&&e.initialize();});}),B(["overlay"],function(){},void 0,!0);}({"type":"modal","namespace":"UKROCHFORD_subscribe_overlay","accountUri":"prod-admin.govdelivery.com/accounts/30763","headerContent":"\u003cimg src=\"https://content.govdelivery.com/attachments/fancy_images/UKROCHFORD/2024/01/8806617/renditiondownload_original.png\" style=\"width:210px;height:auto;\" alt=\"Rochford District Council\"\u003e","step1":"\u003ch2\u003eTell Me More\u003c/h2\u003e\u003cp id=\"prefix-overlay-label\"\u003eSign up for email updates from\u003cbr\u003eRochford District Council\u003c/p\u003e","step2":"\u003cp\u003eThank you for subscribing.You will begin receiving updates shortly.\u003c/p\u003e\u003cp\u003e\u003cbutton class=\"prefix-big\" rel=\"dismiss\" title=\"Close overlay and go to site\"\u003eContinue\u003c/button\u003e\u003c/p\u003e","formStep":"","step1ErrorText":"Please type a valid email address","formStepErrorText":"Please type a valid phone number","apiErrorContent":"We were unable to create your subscription. Make sure the email address is valid. If you are unable to subscribe \u003ca href=\"//subscriberhelp.govdelivery.com/hc/en-us/requests/new\" target=\"_blank\"\u003eplease report\u003c/a\u003e this issue.","domainRestriction":"","smsCheck":false,"smsScreenPlacement":"1","cookie":false,"emailTitleCheck":false,"formStepCheck":false,"smsTitleCheck":false,"disableMobile":false,"subscribe":{"method":"gui","url":"https://public.govdelivery.com/accounts/UKROCHFORD/subscriber/qualify","apiUrl":"https://api.govdelivery.com/api/add_script_subscription","apiKey":"","accountCode":"","topicCode":""},"emailPlaceholder":"Email Address","smsPlaceholder":"Enter mobile phone number","emailTitle":"Enter your e-mail here","smsTitle":"Enter your phone number here","submitButton":"Subscribe","laterButton":"Remind Me Later","questionError":"You must answer the question(s).","laterExpiration":20,"dismissButton":"No Thanks","formStepSubmitButton":"Continue","consentPolicyText":"By checking this box, you consent to our \u003ca href='https://subscriberhelp.granicus.com/s/article/Privacy' target='_blank' rel='noopener noreferrer'\u003edata privacy policy\u003c/a\u003e.","consentError":"Privacy policy consent is required.","mobile":{"headerContent":"\u003cimg src=\"https://content.govdelivery.com/attachments/fancy_images/UKROCHFORD/2024/01/8806617/renditiondownload_original.png\" style=\"width:250px;height:auto;\" alt=\"Rochford District Council\"\u003e","layout":"\u003cdiv\u003e\n  \u003cstyle scoped\u003e\n/*! normalize.css v3.0.2 | MIT License | git.io/normalize */\n\n/**\n * 1. Set default font family to 
137sans-serif.\n * 2. Prevent iOS text size adjust after orientation change, without disabling\n *    user zoom.\n */\n\n#prefix-overlay-outer {\n    font-family: sans-serif;\n    /* 1 */\n    -ms-text-size-adjust: 100%;\n    /* 2 */\n    -webkit-text-size-adjust: 100%;\n    /* 2 */\n}\n\n/**\n * Remove default margin.\n */\n\n#prefix-overlay-outer {\n    margin: 0;\n}\n\n/* HTML5 display definitions\n   ========================================================================== */\n\n/**\n * Correct `block` display not defined for any HTML5 element in IE 8/9.\n * Correct `block` display not defined for `details` or `summary` in IE 10/11\n * and Firefox.\n * Correct `block` display not defined for `main` in IE 11.\n */\n\n#prefix-overlay-outer article,\n#prefix-overlay-outer aside,\n#prefix-overlay-outer details,\n#prefix-overlay-outer figcaption,\n#prefix-overlay-outer figure,\n#prefix-overlay-outer footer,\n#prefix-overlay-outer header,\n#prefix-overlay-outer hgroup,\n#prefix-overlay-outer main,\n#prefix-overlay-outer menu,\n#prefix-overlay-outer nav,\n#prefix-overlay-outer section,\n#prefix-overlay-outer summary {\n    display: block;\n}\n\n/**\n * 1. Correct `inline-block` display not defined in IE 8/9.\n * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.\n */\n\n#prefix-overlay-outer audio,\n#prefix-overlay-outer canvas,\n#prefix-overlay-outer progress,\n#prefix-overlay-outer video {\n    display: inline-block;\n    /* 1 */\n    vertical-align: baseline;\n    /* 2 */\n}\n\n/**\n * Prevent modern browsers from displaying `audio` without controls.\n * Remove excess height in iOS 5 devices.\n */\n\n#prefix-overlay-outer audio:not([controls]) {\n    display: none;\n    height: 0;\n}\n\n/**\n * Address `[hidden]` styling not present in IE 8/9/10.\n * Hide the `template` element in IE 8/9/11, Safari, and Firefox \u003c 22.\n */\n\n#prefix-overlay-outer [hidden],\n#prefix-overlay-outer template {\n    display: none;\n}\n\n/* Links\n   ========================================================================== */\n\n/**\n * Remove the gray background color from active links in IE 10.\n */\n\n#prefix-overlay-outer a {\n    background-color: transparent;\n}\n\n/**\n * Improve readability when focused and also mouse hovered in all browsers.\n */\n\n#prefix-overlay-outer a:active,\n#prefix-overlay-outer a:hover {\n    outline: 0;\n}\n\n/* Text-level semantics\n   ========================================================================== */\n\n/**\n * Address styling not present in IE 8/9/10/11, Safari, and Chrome.\n */\n\n#prefix-overlay-outer abbr[title] {\n    border-bottom: 1px dotted;\n}\n\n/**\n * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.\n */\n\n#prefix-overlay-outer b,\n#prefix-overlay-outer strong {\n    font-weight: bold;\n}\n\n/**\n * Address styling not present in Safari and Chrome.\n */\n\n#prefix-overlay-outer dfn {\n    font-style: italic;\n}\n\n/**\n * Address variable `h1` font-size and margin within `section` and `article`\n * contexts in Firefox 4+, Safari, and Chrome.\n */\n\n#prefix-overlay-outer h1 {\n    font-size: 2em;\n    margin: 0.67em 0;\n}\n\n/**\n * Address styling not present in IE 8/9.\n */\n\n#prefix-overlay-outer mark {\n    background: #ff0;\n    color: #000;\n}\n\n/**\n * Address inconsistent and variable font size in all browsers.\n */\n\n#prefix-overlay-outer small {\n    font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` affecting `line-height` in all browsers.\n */\n\n#prefix-overlay-outer sub,\n#prefix-overlay-outer sup {\n    font-size: 75%;\n    line-height: 0;\n    position: relative;\n    vertical-align: baseline;\n}\n\n#prefix-overlay-outer sup {\n    top: -0.5em;\n}\n\n#prefix-overlay-outer sub {\n    bottom: -0.25em;\n}\n\n/* Embedded content\n   ========================================================================== */\n\n/**\n * Remove border when inside `a` element in IE 8/9/10.\n */\n\n#prefix-overlay-outer img {\n    border: 0;\n}\n\n/**\n * Correct overflow not hidden in IE 9/10/11.\n */\n\n#prefix-overlay-outer svg:not(:root) {\n    overflow: hidden;\n}\n\n/* Grouping content\n   ========================================================================== */\n\n/**\n * Address margin not present in IE 8/9 and Safari.\n */\n\n#prefix-overlay-outer figure {\n    margin: 1em 40px;\n}\n\n/**\n * Address differences between Firefox and other browsers.\n */\n\n#prefix-overlay-outer hr {\n    -moz-box-sizing: content-box;\n    box-sizing: content-box;\n    height: 0;\n}\n\n/**\n * Contain overflow in all browsers.\n */\n\n#prefix-overlay-outer pre {\n    overflow: auto;\n}\n\n/**\n * Address odd `em`-unit font size rendering in all browsers.\n */\n\n#prefix-overlay-outer code,\n#prefix-overlay-outer kbd,\n#prefix-overlay-outer pre,\n#prefix-overlay-outer samp {\n    font-family: monospace, monospace;\n    font-size: 1em;\n}\n\n/* Forms\n   ========================================================================== */\n\n/**\n * Known limitation: by default, Chrome and Safari on OS X allow very limited\n * 
137styling of `select`, unless a `border` property is set.\n */\n\n/**\n * 1. Correct color not being inherited.\n *    Known issue: affects color of disabled elements.\n * 2. Correct font properties not being inherited.\n * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.\n */\n\n#prefix-overlay-outer button,\n#prefix-overlay-outer input,\n#prefix-overlay-outer optgroup,\n#prefix-overlay-outer select,\n#prefix-overlay-outer textarea {\n    color: inherit;\n    /* 1 */\n    font: inherit;\n    /* 2 */\n    margin: 0;\n    /* 3 */\n}\n\n/**\n * Address `overflow` set to `hidden` in IE 8/9/10/11.\n */\n\n#prefix-overlay-outer button {\n    overflow: visible;\n}\n\n/**\n * Address inconsistent `text-transform` inheritance for `button` and `select`.\n * All other form control elements do not inherit `text-transform` values.\n * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.\n * Correct `select` style inheritance in Firefox.\n */\n\n#prefix-overlay-outer button,\n#prefix-overlay-outer select {\n    text-transform: none;\n}\n\n/**\n * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`\n *    and `video` controls.\n * 2. Correct inability to style clickable `input` types in iOS.\n * 3. Improve usability and consistency of cursor style between image-type\n *    `input` and others.\n */\n\n#prefix-overlay-outer button,\n#prefix-overlay-outer input[type=\"button\"],\n#prefix-overlay-outer input[type=\"reset\"],\n#prefix-overlay-outer input[type=\"submit\"] {\n    -webkit-appearance: button;\n    /* 2 */\n    cursor: pointer;\n    /* 3 */\n}\n\n/**\n * Re-set default cursor for disabled elements.\n */\n\n#prefix-overlay-outer button[disabled],\n#prefix-overlay-outer input[disabled] {\n    cursor: default;\n}\n\n/**\n * Remove inner padding and border in Firefox 4+.\n */\n\n#prefix-overlay-outer button::-moz-focus-inner,\n#prefix-overlay-outer input::-moz-focus-inner {\n    border: 0;\n    padding: 0;\n}\n\n/**\n * Address Firefox 4+ setting `line-height` on `input` using `!important` in\n * the UA stylesheet.\n */\n\n#prefix-overlay-outer input {\n    line-height: normal;\n}\n\n/**\n * It's recommended that you don't attempt to style these elements.\n * Firefox's implementation doesn't respect box-sizing, padding, or width.\n *\n * 1. Address box sizing set to `content-box` in IE 8/9/10.\n * 2. Remove excess padding in IE 8/9/10.\n */\n\n#prefix-overlay-outer input[type=\"checkbox\"],\n#prefix-overlay-outer input[type=\"radio\"] {\n    box-sizing: border-box;\n    /* 1 */\n    padding: 0;\n    /* 2 */\n}\n\n/**\n * Fix the cursor style for Chrome's increment/decrement buttons. For certain\n * `font-size` values of the `input`, it causes the cursor style of the\n * decrement button to change from `default` to `text`.\n */\n\n#prefix-overlay-outer input[type=\"number\"]::-webkit-inner-spin-button,\n#prefix-overlay-outer input[type=\"number\"]::-webkit-outer-spin-button {\n    height: auto;\n}\n\n/**\n * 1. Address `appearance` set to `searchfield` in Safari and Chrome.\n * 2. Address `box-sizing` set to `border-box` in Safari and Chrome\n *    (include `-moz` to future-proof).\n */\n\n#prefix-overlay-outer input[type=\"search\"] {\n    -webkit-appearance: textfield;\n    /* 1 */\n    -moz-box-sizing: content-box;\n    -webkit-box-sizing: content-box;\n    /* 2 */\n    box-sizing: content-box;\n}\n\n/**\n * Remove inner padding and search cancel button in Safari and Chrome on OS X.\n * Safari (but not Chrome) clips the cancel button when the search input has\n * padding (and `textfield` appearance).\n */\n\n#prefix-overlay-outer input[type=\"search\"]::-webkit-search-cancel-button,\n#prefix-overlay-outer input[type=\"search\"]::-webkit-search-decoration {\n    -webkit-appearance: none;\n}\n\n/**\n * Define consistent border, margin, and padding.\n */\n\n#prefix-overlay-outer fieldset {\n    border: 1px solid #c0c0c0;\n    margin: 0 2px;\n    padding: 0.35em 0.625em 0.75em;\n}\n\n/**\n * 1. Correct `color` not being inherited in IE 8/9/10/11.\n * 2. Remove padding so people aren't caught out if they zero out fieldsets.\n */\n\n#prefix-overlay-outer legend {\n    border: 0;\n    /* 1 */\n    padding: 0;\n    /* 2 */\n}\n\n/**\n * Remove default vertical scrollbar in IE 8/9/10/11.\n */\n\n#prefix-overlay-outer textarea {\n    overflow: auto;\n}\n\n/**\n * Don't inherit the `font-weight` (applied by a rule above).\n * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.\n */\n\n#prefix-overlay-outer optgroup {\n    font-weight: bold;\n}\n\n/* Tables\n   ========================================================================== */\n\n/**\n * Remove most spacing between table cells.\
137n */\n\n#prefix-overlay-outer table {\n    border-collapse: collapse;\n    border-spacing: 0;\n}\n\n#prefix-overlay-outer td,\n#prefix-overlay-outer th {\n    padding: 0;\n}\n/*\nOVERLAY MOBILE\n=============================================================================================\nGovDelivery\n*/\n\n#prefix-overlay-outer * {\n-webkit-box-sizing: border-box;\n-moz-box-sizing: border-box;\nbox-sizing: border-box;\n}\n\n#prefix-overlay-outer p {\n  margin:0;\n  padding:0;\n}\n\n#prefix-overlay-outer {\n  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;\n  padding:0px;\n  text-align:center;\n  -webkit-box-shadow: rgb(0, 0, 0) 0px 0px 10px;\n  box-shadow: rgb(0, 0, 0) 0px 0px 10px;\n  border-radius:10px;\n  -ms-text-size-adjust: 100%; /* 2 */\n  -webkit-text-size-adjust: 100%; /* 2 */\n  -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;\n  -webkit-focus-ring-color: rgba(255, 255, 255, 0) !important;\n  outline: 0 !important;\n}\n\n#prefix-overlay-header {\n  font: normal 24px 'Open Sans', 'Helvetica Neue', Arial, sans-serif;\n  padding-bottom:0px;\n  padding-top:15px;\n  display:block;\n}\n\n#prefix-overlay-header img {\n  vertical-align:middle;\n}\n\n#prefix-overlay-header button.prefix-overlay-close {\n  position: absolute;\n  top: 1px;\n  right: 1px;\n  display: block;\n  width: 30px;\n  height: 30px;\n  border: none;\n  text-indent: -9999px;\n  cursor:pointer;\n  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAABGdBTUEAANjr9RwUqgAAACBjSFJNAABtmAAAc44AAPJxAACDbAAAg7sAANTIAAAx7AAAGbyeiMU/AAAG7ElEQVR42mJkwA8YoZjBwcGB6fPnz4w/fvxg/PnzJ2N6ejoLFxcX47Rp036B5Dk4OP7z8vL+P3DgwD+o3v9QjBUABBALHguZoJhZXV2dVUNDgxNIcwEtZnn27Nl/ZmZmQRYWFmag5c90dHQY5OXl/z98+PDn1atXv79+/foPUN9fIP4HxRgOAAggRhyWMoOwqKgoq6GhIZe3t7eYrq6uHBDb8/Pz27Gysloga/jz588FYGicPn/+/OapU6deOnXq1GdgqPwCOuA31AF/0S0HCCB0xAQNBU4FBQWB0NBQublz59oADV37Hw28ePHi74MHD/6ii3/8+HEFMGQUgQ6WEhQU5AeZBTWTCdkigABC9ylIAZeMjIxQTEyMysaNG/3+/v37AGTgr1+//s2cOfOXm5vbN6Caz8jY1NT0a29v76/v37//g6q9sHfv3khjY2M5YAgJgsyEmg0PYYAAQreUk4+PT8jd3V1l1apVgUAzfoIM2rlz5x9gHH5BtxAdA9PB1zNnzvyB+R6oLxoopgC1nBPZcoAAgiFQnLIDMb+enp5iV1eXBzDeHoI0z58//xcwIX0mZCkMg9S2trb+hFk+ffr0QCkpKVmQ2VA7QHYxAgQQzLesQMwjIiIilZWVZfPu3bstMJ+SYikyBmUzkBnA9HEMyNcCYgmQHVC7mAACCJagOEBBbGdnp7lg
137wYJEkIavX7/+BcY1SvAaGRl9tba2xohjMTGxL8nJyT+AWQsuxsbG9vnp06e/QWYdPHiwHmiWKlBcCGQXyNcAAQSzmBuoSQqYim3u37+/EKR48uTJv5ANB+bVr7Dga2xs/AkTV1JS+gq0AJyoQIkPWU9aWtoPkPibN2/2A/l6QCwJ9TULQADB4hcY//xKXl5eHt++fbsAUmxhYYHiM1DiAsr9R7ZcVVUVbikIdHd3/0TWIyws/AWYVsByAgICdkAxRSAWAGI2gACClV7C4uLiOv7+/lEgRZ8+ffqLLd6ABck3ZMuB6uCWrlu37je29HDx4kVwQisvL88FFqkaQDERUHADBBAomBl5eHiYgQmLE1hSgQQZgIUD1lJm69atf4HR8R1YKoH5QIPAWWP9+vV/gOI/gHkeQw+wGAXTwAJJ5t+/f/BUDRBA4NIEKMDMyMjICtQIiniG379/4yza7t69+//Lly8oDrty5co/bJaCAEwcZCkwwTJDLWYCCCCwxcDgY3z16hXDnTt3voP4EhISWA0BFgZMwNqHExh3jMiG1tbWsgHjnA2bHmAeBtdWwOL1MycnJ7wAAQggBmi+kgIW/OaKiorJwOLuFShO0LMSMPF9AUYBSpz6+vqixHlOTs4P9MIEWHaDsxSwYMoE2mEGFJcG5SKAAGJCqjv/AbPUn8ePH98ACQQHB6NUmZqamkzABIgSp5s3bwbHORCA1QDLAWZkPc7OzszA8oHl5cuXVy5duvQBGIXwWgoggGA+FgO6xkBNTS28r69vDrT2+Y1cIMDyJchX6KkXVEmAshd6KB06dAic94EO3AzkBwGxPhCLg8ptgACCZyeQp9jZ2b2AmsuAefM8tnxJCk5ISPgOLTKfAdNEOVDMA2QHLDsBBBC8AAFlbmCLwlZISCg5JSVlJizeQAaQaimoWAUFK0g/sGGwHiiWCMS2yAUIQAAxI7c4gEmeFZi4OJ48ecLMzc39CRiEmgEBASxA/QzA8vYvAxEgNjaWZc2aNezAsprp2LFjp4FpZRdQ+AkQvwLij0AMSoC/AQIIXklAC3AVUBoBxmE8sPXQAiyvN8J8fuPGjR/h4eHf0eMdhkENhOPHj8OT+NGjR88BxZuBOA5kJtRseCUBEECMSI0AdmgBDooDaaDl8sASTSkyMlKzpqZGU1paGlS7MABLrX83b978A6zwwakTmE0YgIkSnHpBfGCV+gxYh98qKSk5CeTeAxVeQPwUiN8AMSjxgdLNX4AAYkRqCLBAXcMHtVwSaLkMMMHJAvOq9IQJE9R8fHxElJWV1bEF8aNHj+7t27fvLTDlXwXGLyhoH0OD+DnU0k/QYAa1QP8BBBAjWsuSFWo5LzRYxKFYAljqiAHzqxCwIBEwMTERBdZeoOYMA7Bl+RFYEbwB5oS3IA9D4/IFEL+E4nfQ6IDFLTgvAwQQI5ZmLRtSsINSuyA0uwlBUyQPMPWD20/AKo8ByP4DTJTfgRgUjB+gFoEc8R6amGDB+wu5mQsQQIxYmrdMUJ+zQTM6NzQEeKGO4UJqOzFADQMZ/A1qCSzBfQXi71ALfyM17sEAIIAY8fQiWKAYFgIwzIbWTv4HjbdfUAf8RPLhH1icojfoAQKIEU8bG9kRyF0aRiz6YP0k5C4LsmUY9TtAADEyEA+IVfufGEUAAQYABejinPr4dLEAAAAASUVORK5CYII=) no-repeat 0 0;\n}\n\n.prefix-overlay-content {\n  color:#343D47;\n  text-align:center;\n  display:block;\n  font-weight:bold;\n  font-size:22px;\n  margin:0px;\n  line-height:26px;\n  padding:10px 15px;\n}\n\n#prefix-overlay-form-div form {\n  margin:0 auto;\n  padding-top:9px;\n}\n\n#prefix-overlay-form-div input {\n  margin:0 auto;\n  display:block;\n}\n\n#prefix-error-outer {\n  clear: both;\n  font-size:14px;\n  line-height: 1.2em;\n  color:#ff2222;\n  padding-top:10px;\n}\n\n.prefix-overlay-button-panel {\n  padding-top:10px;\n  padding-bottom:15px;\n  font-size:12px;\n}\n\n#prefix-overlay-outer .prefix-overlay-button-panel button {\n  background:none;\n  border:none;\n  line-height:16px;\n  font-size:12px;\n  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;\n}\n\n#prefix-overlay-outer .prefix-overlay-button-panel button:hover, #prefix-overlay-outer  .prefix-overlay-button-panel button:focus {\n  cursor:pointer;
137\n  color:#43526C;\n  text-decoration:underline;\n}\n\n#prefix-overlay-outer .prefix-overlay-button-panel button:active {\n  -webkit-box-shadow: none !important;\n  -moz-box-shadow: none !important;\n  box-shadow: none !important;\n}\n\n#prefix-overlay-outer .prefix-overlay-button-panel button:active { }\n\n#prefix-overlay-outer input[type='email'] {\n  width: 210px;\n  padding:7px;\n  font-family: 'Open Sans', sans-serif;\n  font-size:16px;\n  text-align:center;\n  box-sizing: border-box;\n  line-height: 1.4;\n  display: block;\n  outline: 0;\n  box-shadow: inset 0px 1px 4px rgba(0,0,0,.2);-moz-box-shadow:inset 0px 1px 4px rgba(0,0,0,.2);\n  -webkit-box-shadow: inset 0px 1px 4px rgba(0,0,0,.2);\n  -webkit-background-clip: padding-box;\n  -moz-background-clip: padding;\n  background-clip:padding-box;\n  text-shadow: 0 1px 0 #ffffff;\n  background:#ffffff;\n}\n\n#prefix-overlay-outer input[type='tel'] {\n  width: 210px;\n  padding:7px;\n  font-family: 'Open Sans', sans-serif;\n  font-size:16px;\n  text-align:center;\n  box-sizing: border-box;\n  line-height: 1.4;\n  display: block;\n  outline: 0;\n  box-shadow: inset 0px 1px 4px rgba(0,0,0,.2);-moz-box-shadow:inset 0px 1px 4px rgba(0,0,0,.2);\n  -webkit-box-shadow: inset 0px 1px 4px rgba(0,0,0,.2);\n  -webkit-background-clip: padding-box;\n  -moz-background-clip: padding;\n  background-clip:padding-box;\n  text-shadow: 0 1px 0 #ffffff;\n  background:#ffffff;\n}\n\n#prefix-overlay-outer input[type='submit'], #prefix-overlay-outer button.prefix-big {\n  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;\n  text-transform:uppercase;\n  width:175px;\n  padding:6px;\n  color:#ffffff;\n  cursor:pointer;\n  *padding:7px;\n  *border:none;\n  margin-top:7px;\n  font-size:17px;\n  font-weight: 400;\n  -webkit-transition-property: background-color;\n  -webkit-transition-duration: 0.2s;\n  -webkit-transition-timing-function: linear;\n  -moz-transition-property: background-color;\n  -moz-transition-duration: 0.2s;\n  -moz-transition-timing-function: linear;\n  -ms-transition-property: background-color;\n  -ms-transition-duration: 0.2s;\n  -ms-transition-timing-function: linear;\n  -o-transition-property: background-color;\n  -o-transition-duration: 0.2s;\n  -o-transition-timing-function: linear;\n  transition-property: background-color;\n  transition-duration: 0.2s;\n  transition-timing-function: linear;\n}\n\n#prefix-overlay-outer input[type='submit']:hover, #prefix-overlay-outer button.prefix-big:hover {\n  cursor:pointer;\n}\n\n#prefix-overlay-outer input[type='submit']:active, #prefix-overlay-outer button.prefix-big:active {\n  -webkit-box-shadow: inset 0 0 10px 4px rgba(0, 0, 0, 0.22);\n  -moz-box-shadow: inset 0 0 10px 4px rgba(0, 0, 0, 0.22);\n  box-shadow: inset 0 0 10px 4px rgba(0, 0, 0, 0.22);\n}\n\n#prefix-overlay-outer input[type='submit']::-moz-focus-inner{\n  border:0;\n  padding:0;\n}\n\n#prefix-consent-outer {\n  padding: 10px;\n}\n\ninput#prefix-consentPolicyInput {\n  display: inline-block;\n}\n\n\n/* OVERRIDES */\n\n      #prefix-overlay-outer { background-color: #4d822b;}\n\n      #prefix-overlay-outer input[type='email'] {\n        border: 1px solid #aaa;\n        color: #333;\n      }\n\n      #prefix-overlay-outer input[type='tel'] {\n        border: 1px solid #aaa;\n        color: #333;\n      }\n\n      #prefix-overlay-outer input[type='email']::-webkit-input-placeholder {\n        color: #333;\n      }\n\n      #prefix-overlay-outer input[type='tel']::-webkit-input-placeholder {\n        color: #333;\n      }\n\n      #prefix-overlay-outer input[type='email']:-moz-placeholder {\n        /*Firefox 18- */ color: #333;\n        opacity: 1;\n      }\n\n      #prefix-overlay-outer input[type='tel']:-moz-placeholder {\n        /*Firefox 18- */ color: #333;\n        opacity: 1;\n      }\n\n      #prefix-overlay-outer input[type='email']::-moz-placeholder {\n        /*Firefox 19+ */ color: #333;\n        opacity: 1;\n      }\n\n      #prefix-overlay-outer input[type='tel']::-moz-placeholder {\n        /*Firefox 19+ */ color: #333;\n        opacity: 1;\n      }\n\n      #prefix-overlay-outer input[type='submit'], #prefix-overlay-outer button.prefix-big {\n        background-color: #9f009f;\n        border:1px solid #9f009f;\n      }\n\n      #prefix-overlay-outer input[type='submit']:hover, #prefix-overlay-outer button.prefix-big:hover {\n        background-color: #860086;\n        border:1px solid #860086;\n      }\n\n      #prefix-overlay-outer input[type='submit']:active, #prefix-overlay-outer button.prefix-big:active {\n        background-color: #860086;\n        border:1px solid #860086;\n      }\n\n      #prefix-overlay-outer #prefix-overlay-step1 p { color: #fff;}\n\n      #prefix-overlay-outer .prefix-overlay-button-panel button {\n        color : #fff;\n      }\n\n\n#prefix-overlay-header button.prefix-overlay-close {\n  background: url('https://content.govdelivery.com/attachments/fancy_images/UKWALTHAM/2018/06/1991769/x_original.png') no-repeat 0 0;\n  top: 12.5px;\n  right: 12.5px;\n}\n\n#prefix-overlay-outer input[type='submit'], #prefix-overlay-outer button.prefix-big { \n  text-transform:none;\n}\n\n#prefix-overlay-outer {\n  border-radius:0px;\n}\n\n#prefix-overlay-header {\n\n}\n\n#prefix-overlay-step1 {\n\n  padding:0px 50px;\n}\n\n#prefix-overlay-step1 h2 {\n  color:#fff;\n  font-weight:400;\n  margin:20px 0px 10px 0px;\n  font-size:30px;\n}\n\n#prefix-overlay-step2 {\n  color:#fff;\n  padding:0px 50px;\n}\n\n#prefix-overlay-outer .prefix-overlay-button-panel button:hover, #prefix-overlay-outer  .prefix-overlay-button-panel button:focus {\n  color:#fff;\n}\n\n#prefix-overlay-step2 h2 {\n  color:#fff;\n  font-weight:400;\n  margin:20px 0px 10px 0px;\n  font-size:30px;\n}\n\n#prefix-overlay-outer input[type='email'] {\n  display:inline-block;\n  text-align:left;\n}\n\n#prefix-overlay-outer input[type='submit'], #prefix-overlay-outer button.prefix-big {\n  display:inline-block;\n  padding:6px 15px;\n}\n\n#prefix-questions {display:none;}\n\ndiv#prefix-consent-outer { padding:5px 0 0px; }\ndiv#prefix-consent-outer label { font-weight:normal; font-size:10px; color:#fff; width:90%; }\ndiv#prefix-consent-outer label a { text-decoration:underline;
137 color:#fff; }\n  \u003c/style\u003e\n\n\u003cdiv id=\"prefix-overlay-outer\" tabindex=\"0\" role=\"dialog\" aria-modal=\"true\" aria-describedby=\"prefix-overlay-step1\"\u003e\n  \u003cdiv class=\"prefix-overlay-inner\"\u003e\n    \u003cdiv id=\"prefix-overlay-header\" rel=\"toggle\"\u003e\n      \u003cbutton class=\"prefix-overlay-close prefix-overlay-action-later\"\u003eClose subscription dialog\u003c/button\u003e\n    \u003c/div\u003e\n\n    \u003cdiv id=\"prefix-overlay-step1\"\u003e\n      \u003cdiv id=\"prefix-overlay-form-div\"\u003e\n        \u003cform novalidate\u003e\n          \u003cinput placeholder=\"Email Address\" name=\"e\" type=\"email\" required id=\"prefix-emailInput\" aria-labelledby=\"prefix-overlay-label\"\u003e\n          \u003cinput type=\"submit\" value=\"Sign Up Now!\" id=\"prefix-submitButton\"\u003e\n        \u003c/form\u003e\n      \u003c/div\u003e\n      \u003cdiv id=\"prefix-error-outer\"\u003e\n        \u003cspan role=\"alert\" style=\"display:none\"\u003e\u003c/span\u003e\n      \u003c/div\u003e\n      \u003cdiv class=\"prefix-overlay-button-panel\"\u003e\n        \u003cbutton class=\"prefix-overlay-action-dismiss\" id=\"prefix-dismissButton\"\u003eNo Thanks\u003c/button\u003e\n        \u003cbutton class=\"prefix-overlay-action-later\" id=\"prefix-laterButton\"\u003eRemind Me Later\u003c/button\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n\n    \u003c!-- step2 is the success confirmation page --\u003e\n    \u003cdiv id=\"prefix-overlay-step2\" style=\"display:none;\"\u003e\n    \u003c/div\u003e\n\n    \u003cdiv id=\"prefix-overlay-formStep\" style=\"display:none;\"\u003e\n      \u003cdiv id=\"prefix-overlay-form-div2\"\u003e\n        \u003cform id=\"prefix-formStepForm\" novalidate\u003e\n          \u003cinput type=\"submit\" value=\"Sign Up Now!\" tabindex=\"-1\" id=\"prefix-formStep-submitButton\"\u003e\n        \u003c/form\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n\n    \u003cdiv id=\"prefix-overlay-footer\"\u003e\u003c/div\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n"},"layoutWidth":590,"layoutHeight":350,"question1Ids":[],"question2Ids":[],"webFonts":["https://fonts.googleapis.com/css?family=Open+Sans:800,400"],"opacity":0.5,"colors":{"backgroundColor":"#4d822b","submitPrimaryColor":"#9f009f","submitHoverColor":"#860086","step1TextColor":"#fff","dismissTextColor":"#fff","emailBoxBorderColor":"#aaa","emailTextColor":"#333"},"modal":{"layout":"\u003cdiv\u003e\n  \u003cstyle scoped\u003e\n/*! normalize.css v3.0.2 | MIT License | git.io/normalize */\n\n/**\n * 1. Set default font family to sans-serif.\n * 2. Prevent iOS text size adjust after orientation change, without disabling\n *    user zoom.\n */\n\n#prefix-overlay-outer {\n    font-family: sans-serif;\n    /* 1 */\n    -ms-text-size-adjust: 100%;\n    /* 2 */\n    -webkit-text-size-adjust: 100%;\n    /* 2 */\n}\n\n/**\n * Remove default margin.\n */\n\n#prefix-overlay-outer {\n    margin: 0;\n}\n\n/* HTML5 display definitions\n   ========================================================================== */\n\n/**\n * Correct `block` display not defined for any HTML5 element in IE 8/9.\n * Correct `block` display not defined for `details` or `summary` in IE 10/11\n * and Firefox.\n * Correct `block` display not defined for `main` in IE 11.\n */\n\n#prefix-overlay-outer article,\n#prefix-overlay-outer aside,\n#prefix-overlay-outer details,\n#prefix-overlay-outer figcaption,\n#prefix-overlay-outer figure,\n#prefix-overlay-outer footer,\n#prefix-overlay-outer header,\n#prefix-overlay-outer hgroup,\n#prefix-overlay-outer main,\n#prefix-overlay-outer menu,\n#prefix-overlay-outer nav,\n#prefix-overlay-outer section,\n#prefix-overlay-outer summary {\n    display: block;\n}\n\n/**\n * 1. Correct `inline-block` display not defined in IE 8/9.\n * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.\n */\n\n#prefix-overlay-outer audio,\n#prefix-overlay-outer canvas,\n#prefix-overlay-outer progress,\n#prefix-overlay-outer video {\n    display: inline-block;\n    /* 1 */\n    vertical-align: baseline;\n    /* 2 */\n}\n\n/**\n * Prevent modern browsers from displaying `audio` without controls.\n * Remove excess height in iOS 5 devices.\n */\n\n#prefix-overlay-outer audio:not([controls]) {\n    display: none;\n    height: 0;\n}\n\n/**\n * Address `[hidden]` styling not present in IE 8/9/10.\n * Hide the `template` element in IE 8/9/11, Safari, and Firefox \u003c 22.\n */\n\n#prefix-overlay-outer [hidden],\n#prefix-overlay-outer template {\n    display: none;\n}\n\n/* Links\n   ========================================================================== */\n\n/**\n * Remove the gray background color from active links in IE 10.\n */\n\n#prefix-overlay-outer a {\n    background-color: transparent;\n}
137\n\n/**\n * Improve readability when focused and also mouse hovered in all browsers.\n */\n\n#prefix-overlay-outer a:active,\n#prefix-overlay-outer a:hover {\n    outline: 0;\n}\n\n/* Text-level semantics\n   ========================================================================== */\n\n/**\n * Address styling not present in IE 8/9/10/11, Safari, and Chrome.\n */\n\n#prefix-overlay-outer abbr[title] {\n    border-bottom: 1px dotted;\n}\n\n/**\n * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.\n */\n\n#prefix-overlay-outer b,\n#prefix-overlay-outer strong {\n    font-weight: bold;\n}\n\n/**\n * Address styling not present in Safari and Chrome.\n */\n\n#prefix-overlay-outer dfn {\n    font-style: italic;\n}\n\n/**\n * Address variable `h1` font-size and margin within `section` and `article`\n * contexts in Firefox 4+, Safari, and Chrome.\n */\n\n#prefix-overlay-outer h1 {\n    font-size: 2em;\n    margin: 0.67em 0;\n}\n\n/**\n * Address styling not present in IE 8/9.\n */\n\n#prefix-overlay-outer mark {\n    background: #ff0;\n    color: #000;\n}\n\n/**\n * Address inconsistent and variable font size in all browsers.\n */\n\n#prefix-overlay-outer small {\n    font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` affecting `line-height` in all browsers.\n */\n\n#prefix-overlay-outer sub,\n#prefix-overlay-outer sup {\n    font-size: 75%;\n    line-height: 0;\n    position: relative;\n    vertical-align: baseline;\n}\n\n#prefix-overlay-outer sup {\n    top: -0.5em;\n}\n\n#prefix-overlay-outer sub {\n    bottom: -0.25em;\n}\n\n/* Embedded content\n   ========================================================================== */\n\n/**\n * Remove border when inside `a` element in IE 8/9/10.\n */\n\n#prefix-overlay-outer img {\n    border: 0;\n}\n\n/**\n * Correct overflow not hidden in IE 9/10/11.\n */\n\n#prefix-overlay-outer svg:not(:root) {\n    overflow: hidden;\n}\n\n/* Grouping content\n   ========================================================================== */\n\n/**\n * Address margin not present in IE 8/9 and Safari.\n */\n\n#prefix-overlay-outer figure {\n    margin: 1em 40px;\n}\n\n/**\n * Address differences between Firefox and other browsers.\n */\n\n#prefix-overlay-outer hr {\n    -moz-box-sizing: content-box;\n    box-sizing: content-box;\n    height: 0;\n}\n\n/**\n * Contain overflow in all browsers.\n */\n\n#prefix-overlay-outer pre {\n    overflow: auto;\n}\n\n/**\n * Address odd `em`-unit font size rendering in all browsers.\n */\n\n#prefix-overlay-outer code,\n#prefix-overlay-outer kbd,\n#prefix-overlay-outer pre,\n#prefix-overlay-outer samp {\n    font-family: monospace, monospace;\n    font-size: 1em;\n}\n\n/* Forms\n   ========================================================================== */\n\n/**\n * Known limitation: by default, Chrome and Safari on OS X allow very limited\n * styling of `select`, unless a `border` property is set.\n */\n\n/**\n * 1. Correct color not being inherited.\n *    Known issue: affects color of disabled elements.\n * 2. Correct font properties not being inherited.\n * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.\n */\n\n#prefix-overlay-outer button,\n#prefix-overlay-outer input,\n#prefix-overlay-outer optgroup,\n#prefix-overlay-outer select,\n#prefix-overlay-outer textarea {\n    color: inherit;\n    /* 1 */\n    font: inherit;\n    /* 2 */\n    margin: 0;\n    /* 3 */\n}\n\n/**\n * Address `overflow` set to `hidden` in IE 8/9/10/11.\n */\n\n#prefix-overlay-outer button {\n    overflow: visible;\n}\n\n/**\n * Address inconsistent `text-transform` inheritance for `button` and `select`.\n * All other form control elements do not inherit `text-transform` values.\n * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.\n * Correct `select` style inheritance in Firefox.\n */\n\n#prefix-overlay-outer button,\n#prefix-overlay-outer select {\n    text-transform: none;\n}\n\n/**\n * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`\n *    and `video` controls.\n * 2. Correct inability to style clickable `input` types in iOS.\n * 3. Improve usability and consistency of cursor style between image-type\n *    `input` and others.\n */\n\n#prefix-overlay-outer button,\n#prefix-overlay-outer input[type=\"button\"],\n#prefix-overlay-outer input[type=\"reset\"],\n#prefix-overlay-outer input[type=\"submit\"] {\n    -webkit-appearance: button;\n    /* 2 */\n    cursor: pointer;\n    /* 3 */\n}\n\n/**\n * Re-set default cursor for disabled elements.\n */\n\n#prefix-overlay-outer button[disabled],\n#prefix-overlay-outer input[disabled] {\n    cursor: default;\n}\n\n/**\n * Remove inner padding and border in Firefox 4+.\n */\n\n#prefix-overlay-outer button::-moz-focus-inner,\n#prefix-overlay-outer input::-moz-focus-inner {\n    border: 0;\n    padding: 0;\n}\n\n/**\n * Address Firefox 4+ setting `line-height` on `input` using `!important` in\n * the UA stylesheet.\n */\n\n#prefix-overlay-outer input {\n    line-height: normal;\n}\n\n/**\n * It's recommended that you don't attempt to style these elements.\n * Firefox's implementation doesn't respect box-sizing, padding, or width.\n *\n * 1. Address box sizing set to `content-box` in IE 8/9/10.\n * 2. Remove excess padding in IE 8/9/10.\n */\n\n#prefix-overlay-outer input[type=\"checkbox\"],\n#prefix-overlay-outer input[type=\"radio\"] {\n    box-sizing: border-box;\n    /* 1 */\n    padding: 0;\n    /* 2 */\n}\n\n/**\n * Fix the cursor style for Chrome's increment/decrement buttons. For certain\n * `font-size` values of the `input`, it causes the cursor style of the\n * decrement button to change from `default` to `text`.\n */\n\n#prefix-overlay-outer input[type=\"number\"]::-webkit-inner-spin-button,\n#prefix-overlay-outer input[type=\"number\"]::-webkit-outer-spin-button {\n    height: auto;\n}\n\n/**\n * 1. Address `appearance` set to `searchfield` in Safari and Chrome.\n * 2. Address `box-sizing` set to `border-box` in Safari and Chrome\n *    (include `-moz` to future-proof).\n */\n\n#prefix-overlay-outer input[type=\"search\"] {\n    -webkit-appearance: textfield;\n    /* 1 */\n    -moz-box-sizing: content-box;\n    -webkit-box-sizing: content-box;\n    /* 2 */\n    box-sizing: content-box;\n}\n\n/**\n * Remove inner padding and search cancel button in Safari and Chrome on OS X.\n * Safari (but not 
137Chrome) clips the cancel button when the search input has\n * padding (and `textfield` appearance).\n */\n\n#prefix-overlay-outer input[type=\"search\"]::-webkit-search-cancel-button,\n#prefix-overlay-outer input[type=\"search\"]::-webkit-search-decoration {\n    -webkit-appearance: none;\n}\n\n/**\n * Define consistent border, margin, and padding.\n */\n\n#prefix-overlay-outer fieldset {\n    border: 1px solid #c0c0c0;\n    margin: 0 2px;\n    padding: 0.35em 0.625em 0.75em;\n}\n\n/**\n * 1. Correct `color` not being inherited in IE 8/9/10/11.\n * 2. Remove padding so people aren't caught out if they zero out fieldsets.\n */\n\n#prefix-overlay-outer legend {\n    border: 0;\n    /* 1 */\n    padding: 0;\n    /* 2 */\n}\n\n/**\n * Remove default vertical scrollbar in IE 8/9/10/11.\n */\n\n#prefix-overlay-outer textarea {\n    overflow: auto;\n}\n\n/**\n * Don't inherit the `font-weight` (applied by a rule above).\n * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.\n */\n\n#prefix-overlay-outer optgroup {\n    font-weight: bold;\n}\n\n/* Tables\n   ========================================================================== */\n\n/**\n * Remove most spacing between table cells.\n */\n\n#prefix-overlay-outer table {\n    border-collapse: collapse;\n    border-spacing: 0;\n}\n\n#prefix-overlay-outer td,\n#prefix-overlay-outer th {\n    padding: 0;\n}
137\n/*\nOVERLAY MODAL\n=============================================================================================\nGovDelivery\n*/\n\n#prefix-overlay-outer * {\n-webkit-box-sizing: border-box;\n-moz-box-sizing: border-box;\nbox-sizing: border-box;\n}\n\n#prefix-overlay-outer p {\n  margin:0;\n  padding:0;\n}\n\n#prefix-overlay-outer {\n  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;\n  padding:0px;\n  padding-bottom:15px;\n  text-align:center;\n  -webkit-box-shadow: rgb(0, 0, 0) 0px 0px 10px;\n  box-shadow: rgb(0, 0, 0) 0px 0px 10px;\n  border-radius:10px;\n  -ms-text-size-adjust: 100%; /* 2 */\n  -webkit-text-size-adjust: 100%; /* 2 */\n  -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;\n  -webkit-focus-ring-color: rgba(255, 255, 255, 0) !important;\n  outline: 0 !important;\n}\n\n#prefix-overlay-header {\n  font: normal 24px 'Open Sans', 'Helvetica Neue', Arial, sans-serif;\n  padding-bottom:0px;\n  padding-top:15px;\n  display:block;\n}\n\n#prefix-overlay-header img {\n  vertical-align:middle;\n}\n\n#prefix-overlay-header button.prefix-overlay-close {\n  padding: 0;\n  position: absolute;\n  top: -12.5px;\n  right: -12.5px;\n  display: block;\n  width: 30px;\n  height: 30px;\n  border: none;\n  text-indent: -9999px;\n  cursor:pointer;\n  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAABGdBTUEAANjr9RwUqgAAACBjSFJNAABtmAAAc44AAPJxAACDbAAAg7sAANTIAAAx7AAAGbyeiMU/AAAG7ElEQVR42mJkwA8YoZjBwcGB6fPnz4w/fvxg/PnzJ2N6ejoLFxcX47Rp036B5Dk4OP7z8vL+P3DgwD+o3v9QjBUABBALHguZoJhZXV2dVUNDgxNIcwEtZnn27Nl/ZmZmQRYWFmag5c90dHQY5OXl/z98+PDn1atXv79+/foPUN9fIP4HxRgOAAggRhyWMoOwqKgoq6GhIZe3t7eYrq6uHBDb8/Pz27Gysloga/jz588FYGicPn/+/OapU6deOnXq1GdgqPwCOuA31AF/0S0HCCB0xAQNBU4FBQWB0NBQublz59oADV37Hw28ePHi74MHD/6ii3/8+HEFMGQUgQ6WEhQU5AeZBTWTCdkigABC9ylIAZeMjIxQTEyMysaNG/3+/v37AGTgr1+//s2cOfOXm5vbN6Caz8jY1NT0a29v76/v37//g6q9sHfv3khjY2M5YAgJgsyEmg0PYYAAQreUk4+PT8jd3V1l1apVgUAzfoIM2rlz5x9gHH5BtxAdA9PB1zNnzvyB+R6oLxoopgC1nBPZcoAAgiFQnLIDMb+enp5iV1eXBzDeHoI0z58//xcwIX0mZCkMg9S2trb+hFk+ffr0QCkpKVmQ2VA7QHYxAgQQzLesQMwjIiIilZWVZfPu3bstMJ+SYikyBmUzkBnA9HEMyNcCYgmQHVC7mAACCJagOEBBbGdnp7lg
137wYJEkIavX7/+BcY1SvAaGRl9tba2xohjMTGxL8nJyT+AWQsuxsbG9vnp06e/QWYdPHiwHmiWKlBcCGQXyNcAAQSzmBuoSQqYim3u37+/EKR48uTJv5ANB+bVr7Dga2xs/AkTV1JS+gq0AJyoQIkPWU9aWtoPkPibN2/2A/l6QCwJ9TULQADB4hcY//xKXl5eHt++fbsAUmxhYYHiM1DiAsr9R7ZcVVUVbikIdHd3/0TWIyws/AWYVsByAgICdkAxRSAWAGI2gACClV7C4uLiOv7+/lEgRZ8+ffqLLd6ABck3ZMuB6uCWrlu37je29HDx4kVwQisvL88FFqkaQDERUHADBBAomBl5eHiYgQmLE1hSgQQZgIUD1lJm69atf4HR8R1YKoH5QIPAWWP9+vV/gOI/gHkeQw+wGAXTwAJJ5t+/f/BUDRBA4NIEKMDMyMjICtQIiniG379/4yza7t69+//Lly8oDrty5co/bJaCAEwcZCkwwTJDLWYCCCCwxcDgY3z16hXDnTt3voP4EhISWA0BFgZMwNqHExh3jMiG1tbWsgHjnA2bHmAeBtdWwOL1MycnJ7wAAQggBmi+kgIW/OaKiorJwOLuFShO0LMSMPF9AUYBSpz6+vqixHlOTs4P9MIEWHaDsxSwYMoE2mEGFJcG5SKAAGJCqjv/AbPUn8ePH98ACQQHB6NUmZqamkzABIgSp5s3bwbHORCA1QDLAWZkPc7OzszA8oHl5cuXVy5duvQBGIXwWgoggGA+FgO6xkBNTS28r69vDrT2+Y1cIMDyJchX6KkXVEmAshd6KB06dAic94EO3AzkBwGxPhCLg8ptgACCZyeQp9jZ2b2AmsuAefM8tnxJCk5ISPgOLTKfAdNEOVDMA2QHLDsBBBC8AAFlbmCLwlZISCg5JSVlJizeQAaQaimoWAUFK0g/sGGwHiiWCMS2yAUIQAAxI7c4gEmeFZi4OJ48ecLMzc39CRiEmgEBASxA/QzA8vYvAxEgNjaWZc2aNezAsprp2LFjp4FpZRdQ+AkQvwLij0AMSoC/AQIIXklAC3AVUBoBxmE8sPXQAiyvN8J8fuPGjR/h4eHf0eMdhkENhOPHj8OT+NGjR88BxZuBOA5kJtRseCUBEECMSI0AdmgBDooDaaDl8sASTSkyMlKzpqZGU1paGlS7MABLrX83b978A6zwwakTmE0YgIkSnHpBfGCV+gxYh98qKSk5CeTeAxVeQPwUiN8AMSjxgdLNX4AAYkRqCLBAXcMHtVwSaLkMMMHJAvOq9IQJE9R8fHxElJWV1bEF8aNHj+7t27fvLTDlXwXGLyhoH0OD+DnU0k/QYAa1QP8BBBAjWsuSFWo5LzRYxKFYAljqiAHzqxCwIBEwMTERBdZeoOYMA7Bl+RFYEbwB5oS3IA9D4/IFEL+E4nfQ6IDFLTgvAwQQI5ZmLRtSsINSuyA0uwlBUyQPMPWD20/AKo8ByP4DTJTfgRgUjB+gFoEc8R6amGDB+wu5mQsQQIxYmrdMUJ+zQTM6NzQEeKGO4UJqOzFADQMZ/A1qCSzBfQXi71ALfyM17sEAIIAY8fQiWKAYFgIwzIbWTv4HjbdfUAf8RPLhH1icojfoAQKIEU8bG9kRyF0aRiz6YP0k5C4LsmUY9TtAADEyEA+IVfufGEUAAQYABejinPr4dLEAAAAASUVORK5CYII=) no-repeat 0 0;\n}\n\n.prefix-overlay-content {\n  color:#343D47;\n  text-align:center;\n  display:block;\n  font-weight:bold;\n  font-size:22px;\n  margin:0px;\n  line-height:26px;\n  padding:10px 15px;\n}\n\n#prefix-overlay-form-div form {\n  margin:0 auto;\n  padding-top:9px;\n}\n\n#prefix-overlay-form-div input {\n  margin:0 auto;\n  display:block;\n}\n\n#prefix-error-outer {\n  clear: both;\n  font-size:14px;\n  line-height: 1.2em;\n  color:#ff2222;\n  padding-top:10px;\n}\n\n.prefix-overlay-button-panel {\n  padding-top:10px;\n  line-height:20px;\n  font-size:12px;\n  line-height:20px;\n}\n\n#prefix-overlay-outer .prefix-overlay-button-panel button {\n  background-color:transparent;\n  border:none;\n  line-height:16px;\n  font-size:12px;\n  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;\n}\n\n#prefix-overlay-outer .prefix-overlay-button-panel button:hover, #prefix-overlay-outer  .prefix-overlay-button-panel button:focus {\n  cursor:pointer;
137\n  color:#43526C;\n  text-decoration:underline;\n}\n\n#prefix-overlay-outer .prefix-overlay-button-panel button:active { }\n\n#prefix-overlay-outer input[type='email'] {\n  width: 275px;\n  padding:7px;\n  font-family: 'Open Sans', sans-serif;\n  font-size:16px;\n  text-align:center;\n  box-sizing: border-box;\n  line-height: 1.4;\n  display: block;\n  outline: 0;\n  box-shadow: inset 0px 1px 4px rgba(0,0,0,.2);-moz-box-shadow:inset 0px 1px 4px rgba(0,0,0,.2);\n  -webkit-box-shadow: inset 0px 1px 4px rgba(0,0,0,.2);\n  -webkit-background-clip: padding-box;\n  -moz-background-clip: padding;\n  background-clip:padding-box;\n  text-shadow: 0 1px 0 #ffffff;\n  background:#ffffff;\n}\n\n#prefix-overlay-outer input[type='tel'] {\n  width: 275px;\n  padding:7px;\n  font-family: 'Open Sans', sans-serif;\n  font-size:16px;\n  text-align:center;\n  box-sizing: border-box;\n  line-height: 1.4;\n  display: block;\n  outline: 0;\n  box-shadow: inset 0px 1px 4px rgba(0,0,0,.2);-moz-box-shadow:inset 0px 1px 4px rgba(0,0,0,.2);\n  -webkit-box-shadow: inset 0px 1px 4px rgba(0,0,0,.2);\n  -webkit-background-clip: padding-box;\n  -moz-background-clip: padding;\n  background-clip:padding-box;\n  text-shadow: 0 1px 0 #ffffff;\n  background:#ffffff;\n}\n\n#prefix-overlay-outer input[type='submit'], #prefix-overlay-outer button.prefix-big {\n  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;\n  text-transform:uppercase;\n  width:175px;\n  padding:6px;\n  color:#ffffff;\n  cursor:pointer;\n  *padding:7px;\n  *border:none;\n  margin-top:7px;\n  font-size:17px;\n  font-weight: 400;\n  -webkit-transition-property: background-color;\n  -webkit-transition-duration: 0.2s;\n  -webkit-transition-timing-function: linear;\n  -moz-transition-property: background-color;\n  -moz-transition-duration: 0.2s;\n  -moz-transition-timing-function: linear;\n  -ms-transition-property: background-color;\n  -ms-transition-duration: 0.2s;\n  -ms-transition-timing-function: linear;\n  -o-transition-property: background-color;\n  -o-transition-duration: 0.2s;\n  -o-transition-timing-function: linear;\n  transition-property: background-color;\n  transition-duration: 0.2s;\n  transition-timing-function: linear;\n}\n\n#prefix-overlay-outer input[type='submit']:hover, #prefix-overlay-outer button.prefix-big:hover {\n  cursor:pointer;\n}\n\n#prefix-overlay-outer input[type='submit']:active, #prefix-overlay-outer button.prefix-big:active {\n  -webkit-box-shadow: inset 0 0 10px 4px rgba(0, 0, 0, 0.22);\n  -moz-box-shadow: inset 0 0 10px 4px rgba(0, 0, 0, 0.22);\n  box-shadow: inset 0 0 10px 4px rgba(0, 0, 0, 0.22);\n}\n\n#prefix-overlay-outer input[type='submit']::-moz-focus-inner{\n  border:0;\n  padding:0;\n}\n\n#prefix-consent-outer {\n  padding: 10px;\n}\n\ninput#prefix-consentPolicyInput {\n  display: inline-block;\n}\n\n#prefix-consentPolicyInput {\n  display: inline;\n  position: relative;\n}\n\n#prefix-consentPolicyLabel {\n  display: inline;\n}\n\n\n/* OVERRIDES */\n\n      #prefix-overlay-outer { background-color: #4d822b;}\n\n      #prefix-overlay-outer input[type='email'] {\n        border: 1px solid #aaa;\n        color: #333;\n      }\n\n      #prefix-overlay-outer input[type='tel'] {\n        border: 1px solid #aaa;\n        color: #333;\n      }\n\n      #prefix-overlay-outer input[type='email']::-webkit-input-placeholder {\n        color: #333;\n      }\n\n      #prefix-overlay-outer input[type='tel']::-webkit-input-placeholder {\n        color: #333;\n      }\n\n      #prefix-overlay-outer input[type='email']:-moz-placeholder {\n        /*Firefox 18- */ color: #333;\n        opacity: 1;\n      }\n\n      #prefix-overlay-outer input[type='tel']:-moz-placeholder {\n        /*Firefox 18- */ color: #333;\n        opacity: 1;\n      }\n\n      #prefix-overlay-outer input[type='email']::-moz-placeholder {\n        /*Firefox 19+ */ color: #333;\n        opacity: 1;\n      }\n\n      #prefix-overlay-outer input[type='tel']::-moz-placeholder {\n        /*Firefox 19+ */ color: #333;\n        opacity: 1;\n      }\n\n      #prefix-overlay-outer input[type='submit'], #prefix-overlay-outer button.prefix-big {\n        background-color: #9f009f;\n        border:1px solid #9f009f;\n      }\n\n      #prefix-overlay-outer input[type='submit']:hover, #prefix-overlay-outer button.prefix-big:hover {\n        background-color: #860086;\n        border:1px solid #860086;\n      }\n\n      #prefix-overlay-outer input[type='submit']:active, #prefix-overlay-outer button.prefix-big:active {\n        background-color: #860086;\n        border:1px solid #860086;\n      }\n\n      #prefix-overlay-outer #prefix-overlay-step1 p { color: #fff;}\n\n      #prefix-overlay-outer .prefix-overlay-button-panel button {\n        color : #fff;\n      }\n\n\n#prefix-overlay-header button.prefix-overlay-close {\n  background: url('https://content.govdelivery.com/attachments/fancy_images/UKWALTHAM/2018/06/1991769/x_original.png') no-repeat 0 0;\n  top: 12.5px;\n  left: 12.5px;\n}\n\n#prefix-overlay-outer {\n  border-radius:0px;\n  background: url('https://content.govdelivery.com/attachments/fancy_images/UKROCHFORD/2024/01/8806472/overlay_original.png') no-repeat #4d822b;\n  background-position: right;\n  padding-bottom:0px;\n}\n\n#prefix-questions {display:none;}\n\n#prefix-overlay-header {\n  text-align:left;\n  padding:55px 50px 0px 40px;\n}\n\n#prefix-overlay-step1 {\n  text-align:left;\n  padding:0px 40px;\n}\n\n#prefix-overlay-step1 h2 {\n  text-align:left;
137\n  color:#fff;\n  font-weight:400;\n  margin:20px 0px 10px 0px;\n  font-size:30px;\n}\n\n#prefix-overlay-outer .prefix-overlay-button-panel button:hover, #prefix-overlay-outer  .prefix-overlay-button-panel button:focus {\n  color:#fff;\n}\n\n#prefix-dismissButton {\n  padding-left:0px !important;\n}\n\n#prefix-overlay-step2 {\n  text-align:left;\n  color:#fff;\n  padding:20px 280px 10px 40px;\n}\n\n#prefix-overlay-step2 p {\n  color:#fff !important;\n  padding-bottom:10px;\n}\n\n\n#prefix-overlay-outer input[type='submit'], #prefix-overlay-outer button.prefix-big { \n  text-transform:none;\n}\n\n#prefix-overlay-step2 h2 {\n  text-align:left;\n  color:#fff;\n  font-weight:400;\n  margin:20px 0px 10px 0px;\n  font-size:30px;\n}\n\n#prefix-overlay-outer input[type='email'] {\n  display:inline-block;\n  text-align:left;\n  width:250px;\n  height:40px;\n}\n\n#prefix-overlay-outer input[type=\"submit\"], #prefix-overlay-outer button.prefix-big { width: auto !important; padding: 8px 20px !important;   display:inline-block;}\n\n#prefix-overlay-outer input[type=\"submit\"] { margin:0 !important; display:inline-block !important; vertical-align:top; padding:0 !important; width:40px !important; text-align:center !important; height:40px !important; line-height:40px !important; background-image: url(https://content.govdelivery.com/attachments/fancy_images/MNEXPLORE/2016/06/902326/check-button_original.png); background-repeat:no-repeat; background-position:center center; text-indent: -1000px;}\n\ndiv#prefix-consent-outer { padding:5px 0 0px;}\ndiv#prefix-consent-outer label { font-weight:normal; font-size:10px; color:#fff; }\ndiv#prefix-consent-outer label a { text-decoration:underline; color:#fff; }\n  \u003c/style\u003e\n\n\u003cdiv id=\"prefix-overlay-outer\" tabindex=\"0\" role=\"dialog\" aria-modal=\"true\" aria-describedby=\"prefix-overlay-step1\"\u003e\n  \u003cdiv class=\"prefix-overlay-inner\"\u003e\n    \u003cdiv id=\"prefix-overlay-header\" rel=\"toggle\"\u003e\n      \u003cbutton class=\"prefix-overlay-close prefix-overlay-action-later\"\u003eClose subscription dialog\u003c/button\u003e\n    \u003c/div\u003e\n\n    \u003cdiv id=\"prefix-overlay-step1\"\u003e\n      \u003cdiv id=\"prefix-overlay-form-div\"\u003e\n        \u003cform novalidate\u003e\n          \u003cinput placeholder=\"Email Address\" name=\"e\" type=\"email\" required id=\"prefix-emailInput\" aria-labelledby=\"prefix-overlay-label\"\u003e\n          \u003cinput type=\"submit\" value=\"Sign Up Now!\" id=\"prefix-submitButton\"\u003e\n        \u003c/form\u003e\n      \u003c/div\u003e\n      \u003cdiv id=\"prefix-error-outer\"\u003e\n        \u003cspan role=\"alert\" style=\"display:none\"\u003e\u003c/span\u003e\n      \u003c/div\u003e\n      \u003cdiv class=\"prefix-overlay-button-panel\"\u003e\n        \u003cbutton class=\"prefix-overlay-action-dismiss\" id=\"prefix-dismissButton\"\u003eNo Thanks\u003c/button\u003e\n        \u003cbutton class=\"prefix-overlay-action-later\" id=\"prefix-laterButton\"\u003eRemind Me Later\u003c/button\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n\n    \u003c!-- step2 is the success confirmation page --\u003e\n    \u003cdiv id=\"prefix-overlay-step2\" style=\"display:none;\"\u003e\n    \u003c/div\u003e\n\n    \u003cdiv id=\"prefix-overlay-formStep\" style=\"display:none;\"\u003e\n      \u003cdiv id=\"prefix-overlay-form-div2\"\u003e\n        \u003cform id=\"prefix-formStepForm\" novalidate\u003e\n          \u003cinput type=\"submit\" value=\"Sign Up Now!\" tabindex=\"-1\" id=\"prefix-formStep-submitButton\"\u003e\n        \u003c/form\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n\n    \u003cdiv id=\"prefix-overlay-footer\"\u003e\u003c/div\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n"},"overlayUrn":"prod::overlay::14422","questions1":[],"questions2":[]},window,document);;
138var icPatronChat=icPatronChat||function(){var initialH=0;var initialW=0;var chatButtonH=80;var chatButtonW=180;var minH=0;var minW=0;var chatH=600;var chatW=380;var _frame=null;var _chatButtonFrame=null;var _host=null;var isIpad=false;var popOutChat;var CHILD_WINDOW_HANDLE=null;var _url="";var win;var showBadge;var customChatButton=false;var xMax;var yMax;var minHeight=400;var minWidth=380;var customWidth=null;var customHeight=null;var windowConfig=null;var browserScrollWidth=21;var windowScrollWidth=17;var leftPos;var topPos;var sessionParameter=[];function resizeChat(frame,h,w){if(frame){frame.height=h;frame.width=w;}}function addCss(position){var css=".ie-div-position-customer-chat {display: block;} .chat-iframe-wrap {border-radius: 5px 5px 0 0;z-index: 2147483000;position: fixed;bottom: 100px;width: 380px;min-height: 300px;border-radius: 8px;overflow: hidden;opacity: 1;height: calc(100% - 130px);box-shadow: 0 -5px 50px rgba(0, 0, 0, .2);"+position+": 24px;} .ie-iframe-fixed-customer-chat {background: transparent; border: none; height: 100%;} .ie-iframe-absolute-customer-chat {background: transparent; border: none; top: 0px; float:none; margin: 0px; padding: 0px; position: relative;"+position+": 24px;} .iframe-shadow {border-radius: 5px 5px 0 0;box-shadow: 0 -5px 50px rgba(0, 0, 0, .2);}";var head=document.head||document.getElementsByTagName("head")[0];var style=document.createElement("style");css=css+".button-iframe-wrap {bottom: 0px; position: fixed; height: 10%; display: block; z-index: 2147483638;} .ie-chat-button-iframe-fixed-customer-chat {background: transparent; border: none; bottom: 24px; position: fixed;"+position+": 24px; outline: none} .ie-chat-button-iframe-absolute-customer-chat {background: transparent; border: none; top: 0px; float:none; margin: 0px; padding: 0px; position: relative;"+position+": 24px;}";style.type="text/css";if(style.styleSheet)style.styleSheet.cssText=css;else style.appendChild(document.createTextNode(css));head.appendChild(style);}function addChatIframe(url,host){var d;var d1;var d2;d=document.createElement("div");d1=document.createElement("div");d2=document.createElement("div");d.className="ie-div-position-customer-chat";_frame=document.createElement("iframe");_frame.src=url;_frame.allowtransparency="true";_frame.frameborder="0px";_frame.id="icChat";_frame.name="icChat";_frame.title="Chat Window";_frame.scrolling="no";_frame.style.borderStyle="none";_frame.className="ie-iframe-fixed-customer-chat";d1.id="chat-div-wrap";
138d1.className="chat-iframe-wrap";d1.appendChild(_frame);_chatButtonFrame=document.createElement("iframe");_chatButtonFrame.src=host+"/inContact/ChatClient/chatButton.html";_chatButtonFrame.allowtransparency="true";_chatButtonFrame.frameborder="0px";_chatButtonFrame.id="icChatButton";_chatButtonFrame.name="icChatButton";_chatButtonFrame.scrolling="no";_chatButtonFrame.height=chatButtonH;_chatButtonFrame.width=chatButtonW;_chatButtonFrame.style.borderStyle="none";_chatButtonFrame.className="ie-chat-button-iframe-fixed-customer-chat";d2.className="button-iframe-wrap";d2.appendChild(_chatButtonFrame);d.appendChild(d1);d.appendChild(d2);document.body.appendChild(d);}function isMobileBrowser(){var isMobile=false;if(/Android/i.test(navigator.userAgent||navigator.vendor||window.opera))isMobile=true;else if(/iPhone/i.test(navigator.userAgent||navigator.vendor||window.opera))isMobile=true;else if(/BlackBerry/i.test(navigator.userAgent||navigator.vendor||window.opera))isMobile=true;else if(/webOS/i.test(navigator.userAgent||navigator.vendor||window.opera))isMobile=true;else if(/IEMobile/i.test(navigator.userAgent||navigator.vendor||window.opera))isMobile=true;else if(/Opera Mini/i.test(navigator.userAgent||navigator.vendor||window.opera))isMobile=true;else isMobile=false;return isMobile;}function onMessageReceived(event){var mt;var md;var popInChat;var ispopOutChat=sessionStorage.getItem("isPopOut")&&sessionStorage.getItem("isPopOut")!=="true"?false:true;var position;try{if(event.origin===_host){mt=event.data.messageType;md=event.data.data;switch(mt){case "resize":if(md.minimize===true){resizeChat(_frame,minH,minW);_frame.classList.remove("iframe-shadow");document.getElementById("chat-div-wrap").style.width="0";_frame.tabIndex=-1;}else{_frame.tabIndex=0;if(customChatButton===true){if(customHeight&&customWidth!==null)resizeChat(_frame,customHeight,customWidth);else resizeChat(_frame,chatH,chatW);_frame.classList.add("iframe-shadow");document.getElementById("chat-div-wrap").style.height=customHeight+"px";document.getElementById("chat-div-wrap").style.width=customWidth+"px";}else{resizeChat(_frame,chatH,chatW);_frame.classList.add("iframe-shadow");document.getElementById("chat-div-wrap").style.width=chatW+"px";}}if(customChatButton===false)_chatButtonFrame.contentWindow.postMessage({messageType:"resize",data:md},"*");break;case "isPopOut":resizeChat(_frame,initialH,initialW);CHILD_WINDOW_HANDLE=window.open(_host+"/inContact/ChatClient/index.html","niceInContactPopOutChatWindow","width=380,height=600,left=200,top=100");sessionStorage.setItem("isChatProfileCalled","true");sessionStorage.setItem("isPopOut","true");popOutChat={messageType:"isPopOut",data:md};if(customChatButton===false)_chatButtonFrame.contentWindow.postMessage({messageType:"isPopOut",data:{isPopOut:true}},"*");document.getElementById("chat-div-wrap").style.width="0";break;case "isPopIn":sessionStorage.setItem("isPopOut","false");popInChat={messageType:"isPopIn",data:md};_frame.contentWindow.postMessage(popInChat,"*");if(customChatButton===false)_chatButtonFrame.contentWindow.postMessage({messageType:"isPopIn",data:{isPopIn:true}},"*");break;case "getStoreData":if(CHILD_WINDOW_HANDLE)setTimeout(function(){CHILD_WINDOW_HANDLE.postMessage(popOutChat,"*");},500);break;case "chatButtonClick":if(isMobileBrowser()){_chatButtonFrame.contentWindow.postMessage({messageType:"resize",data:{minimize:true}},"*");win=window.open(_url,"_blank");win.focus();}else{if(md.minimize===true)_frame.tabIndex=-1;else _frame.tabIndex=0;_frame.contentWindow.postMessage({messageType:"chatButtonClick",data:md},"*");}break;case "messageCount":_chatButtonFrame.contentWindow.postMessage({messageType:"messageCount",data:md},"*");if(showBadge&&{}.toString.call(showBadge)==="[object Function]")showBadge(md.msgCount);break;case "chatProfile":_chatButtonFrame.contentWindow.postMessage({messageType:"chatProfile",data:md},"*");position=md.chatProfile.chatButtonPosition.toLowerCase()==="bottomleft"?"left":"right";addCss(position);if(sessionParameter!=="undefined"&&sessionParameter.length>0)_frame.contentWindow.postMessage({messageType:"storeParameter",data:sessionParameter},"*");break;case "isChildWindowClosed":_frame.contentWindow.postMessage({messageType:"isChildWindowClosed",data:md},"*");break;case "closeChildWindow":if(CHILD_WINDOW_HANDLE!==null)CHILD_WINDOW_HANDLE.close();else{CHILD_WINDOW_HANDLE=window.open("","niceInContactPopOutChatWindow");CHILD_WINDOW_HANDLE.close();}break;}}}catch(err){}}
138function setIpad(){if(/iPad/i.test(navigator.userAgent||navigator.vendor||window.opera))isIpad=true;}function getHeight(height){if(height<minHeight)height=minHeight;if(height>=window.innerHeight){height=window.innerHeight;document.getElementById("chat-div-wrap").style.maxHeight=height+"px";}return height;}function getWidth(width){if(width<minWidth)width=minWidth;if(width>=window.innerWidth-windowScrollWidth)width=window.innerWidth-windowScrollWidth;return width;}function setXYPosition(left,top,width,height){var xPosition;var yPosition;xMax=window.innerWidth-width-browserScrollWidth;yMax=window.innerHeight-height;if(left>=0&&left<=xMax)xPosition=left;else if(left<0)xPosition=0;else if(xMax<=0)xPosition=0;else{if(left>xMax)xPosition=xMax;}if(top>=0&&top<=yMax)yPosition=top;else if(top<=0)yPosition=0;else{if(top>yMax)yPosition=yMax;}document.getElementById("chat-div-wrap").style.left=xPosition+"px";document.getElementById("chat-div-wrap").style.top=yPosition+"px";}function showEmbed(){var wDiff;var hDiff;var ispopOutChat=sessionStorage.getItem("isPopOut")&&sessionStorage.getItem("isPopOut")!=="true"?false:true;if(customChatButton===true&&_frame&&!ispopOutChat)if(isMobileBrowser()){_chatButtonFrame.contentWindow.postMessage({messageType:"resize",data:{minimize:true}},"*");win=window.open(_url,"_blank");win.focus();}else{if((customHeight&&customWidth)!==null)resizeChat(_frame,customHeight,customWidth);else{if((customHeight||customWidth)===null){wDiff=window.innerWidth-chatW;hDiff=window.innerHeight-chatH;leftPos=wDiff/2;topPos=hDiff/2;setXYPosition(leftPos,topPos,chatW,chatH);document.getElementById("chat-div-wrap").style.bottom=topPos+"px";resizeChat(_frame,chatH,chatW);document.getElementById("chat-div-wrap").style.width=chatW+"px";document.getElementById("chat-div-wrap").style.height=chatH+"px";}}_frame.contentWindow.postMessage({messageType:"chatButtonClick",data:{minimize:false}},"*");document.getElementById("chat-div-wrap").style.width=_frame.width+"px";document.getElementById("chat-div-wrap").style.height=_frame.height+"px";if(showBadge&&{}.toString.call(showBadge)==="[object Function]")showBadge(0);}else if((customHeight||customWidth)!==null){wDiff=window.innerWidth-customWidth;hDiff=window.innerHeight-customHeight;if(hDiff/2>topPos)topPos=topPos;else if(hDiff/2===topPos)topPos=hDiff;else{if(hDiff/2<topPos)topPos=hDiff;}if(wDiff/2>leftPos)leftPos=leftPos;else if(wDiff/2===leftPos)leftPos=wDiff;else{if(wDiff/2<leftPos)leftPos=wDiff;}setXYPosition(leftPos,topPos,customWidth,customHeight);document.getElementById("chat-div-wrap").style.top=topPos+"px";resizeChat(_frame,customHeight,customWidth);document.getElementById("chat-div-wrap").style.width=customWidth+"px";document.getElementById("chat-div-wrap").style.height=customHeight+"px";_frame.contentWindow.postMessage({messageType:"chatButtonClick",data:{minimize:false}},"*");if(showBadge&&{}.toString.call(showBadge)==="[object Function]")showBadge(0);}else{wDiff=window.innerWidth-chatW;hDiff=window.innerHeight-chatH;leftPos=wDiff/2;topPos=hDiff/2;setXYPosition(leftPos,topPos,chatW,chatH);document.getElementById("chat-div-wrap").style.bottom=topPos+"px";resizeChat(_frame,chatH,chatW);document.getElementById("chat-div-wrap").style.width=chatW+"px";document.getElementById("chat-div-wrap").style.height=chatH+"px";_frame.contentWindow.postMessage({messageType:"chatButtonClick",data:{minimize:false}},"*");if(showBadge&&{}.toString.call(showBadge)==="[object Function]")showBadge(0);}}function windowDimensions(dimension){if(dimension!==null){windowConfig=dimension;dimension.left=isNaN(dimension.left)?10:dimension.left;dimension.top=isNaN(dimension.top)?10:dimension.top;customWidth=isNaN(dimension.width)?chatW:dimension.width;customHeight=isNaN(dimension.height)?chatH:dimension.height;leftPos=dimension.left;topPos=dimension.top;if(customChatButton===true)if(_frame){customHeight=getHeight(customHeight);customWidth=getWidth(customWidth);setXYPosition(dimension.left,dimension.top,customWidth,customHeight);}}}function onResize(event){const elementVal=document.getElementById("chat-div-wrap").style.width.replace("px","");var width=parseInt(elementVal);
138if(width===NaN)width=0;if(width>0)if(customChatButton===true&&!isMobileBrowser()){windowDimensions(windowConfig);showEmbed();}}function addEventListener(){var eventMethod=window.addEventListener?"addEventListener":"attachEvent";var eventer=window[eventMethod];var messageEvent=eventMethod==="attachEvent"?"onmessage":"message";eventer(messageEvent,onMessageReceived,false);eventer("resize",onResize,false);}return {init:function(args,badgeRef){var q="";var opt=[];var i=0;if(args.serverHost&&args.bus_no&&args.poc){_host=args.serverHost;customChatButton=args.customChatButton?true:false;opt=args.params?args.params:[];for(i=0;i<opt.length&&i<9;i++){sessionParameter.push(opt[i]);q=q+"&P"+i+"="+encodeURIComponent(opt[i]);}if(!isMobileBrowser())_url=_host+"/inContact/ChatClient/ChatClient.aspx?poc="+args.poc+"&bu="+args.bus_no;else _url=_host+"/inContact/ChatClient/ChatClient.aspx?poc="+args.poc+"&bu="+args.bus_no+q;setIpad();addEventListener();if(!sessionStorage.getItem("isPopOut"))sessionStorage.setItem("isPopOut","false");addChatIframe(_url,_host);resizeChat(_frame,initialH,initialW);if(customChatButton===false)resizeChat(_chatButtonFrame,chatButtonH,chatButtonW);else{if(badgeRef&&{}.toString.call(badgeRef)==="[object Function]")showBadge=badgeRef;
138resizeChat(_chatButtonFrame,initialH,initialW);}document.getElementById("chat-div-wrap").style.width="0";}},setDimension:function(dimension){windowDimensions(dimension);},hide:function(){if(customChatButton===true&&_frame)if(isMobileBrowser()){_chatButtonFrame.contentWindow.postMessage({messageType:"resize",data:{minimize:true}},"*");win=window.open(_url,"_blank");win.focus();}else{resizeChat(_frame,minH,minW);_frame.height=minH+"px";_frame.width=minW+"px";document.getElementById("chat-div-wrap").style.width=minW+"px";_frame.contentWindow.postMessage({messageType:"chatButtonClick",data:{minimize:true}},"*");}},show:function(){showEmbed();},setStateWindowToggle:function(){if(document.getElementById("chat-div-wrap").style.width>"0px")this.hide();else if(CHILD_WINDOW_HANDLE!==null&&CHILD_WINDOW_HANDLE.closed===true){CHILD_WINDOW_HANDLE=null;_frame.contentWindow.postMessage({messageType:"isChildWindowClosed",data:{}},"*");sessionStorage.setItem("isPopOut","false");setTimeout(this.show,1e3);}else this.show();}};}();icPatronChat.init({serverHost:'https://home-e33.niceincontact.com',bus_no:4600554,poc:'658354cc-0735-4b0e-bec0-81c594ba00ab',params:['FirstName','Last Name','[email protected]',555-555-5555]});;
139(function($,Drupal,once){Drupal.behaviors.betterExposedFilters={attach:function(context){$('.bef-tree input[type=checkbox], .bef-checkboxes input[type=checkbox]').change(function(){_bef_highlight(this,context);}).filter(':checked').closest('.form-item',context).addClass('highlight');}};function _bef_highlight(elem,context){$elem=$(elem,context);$elem.attr('checked')?$elem.closest('.form-item',context).addClass('highlight'):$elem.closest('.form-item',context).removeClass('highlight');}Drupal.behaviors.autosubmitExcludeTextfield={attach:function(context,settings){if(!settings.better_exposed_filters?.autosubmit_exclude_textfield)return;$(once('autosubmit-exclude-textfield','.bef-exposed-form',context)).each(function(){$(this).find('*[type="text"]').attr('data-bef-auto-submit-exclude','');});}};})(jQuery,Drupal,once);;
140(function($,Drupal,drupalSettings,once){const myCarousel=(function(){'use strict';let carousel,slides,index,slidenav,settings,timer,setFocus,animationSuspended;const visuallyHiddenClass='govuk-visually-hidden';const carouselClass='carousel';const carouselActiveClass='carousel--active';const currentClass='current';const slideClass='carousel__slide';const slideNavClass='slidenav';const withSlideNavClass='with-slidenav';const inTransitionClass='in-transition';const prevClass='prev';const nextClass='next';function forEachElement(elements,fn){for(let i=0;i<elements.length;i++)fn(elements[i],i);}function addClass(el,className){if(!el)return;if(el.classList)el.classList.add(...className.split(' '));else{if(!hasClass(el,className))el.className+=` ${className}`;}}function removeClass(el,className){if(!el)return;if(el.classList)el.classList.remove(...className.split(' '));else el.className=el.className.replace(new RegExp('(^|\\b)'+className.split(' ').join('|')+'(\\b|$)','gi'),' ');}function hasClass(el,className){if(!el)return false;if(el.classList)return el.classList.contains(className);else return new RegExp('(^| )'+className+'( |$)','gi').test(el.className);}function init(set){settings=set;carousel=set.carousel||document.getElementById(settings.id);slides=carousel.querySelectorAll('.blocks-gallery-item');addClass(carousel,`${carouselClass} ${carouselActiveClass}`);const ctrls=document.createElement('ul');ctrls.className='controls';ctrls.innerHTML='<li>'+'<button type="button" class="btn-prev"><i class="far fa-arrow-alt-circle-left" title="'+Drupal.t('Previous Item')+'"></i></button>'+'</li>'+'<li>'+'<button type="button" class="btn-next"><i class="far fa-arrow-alt-circle-right" title="'+Drupal.t('Next Item')+'"></i></button>'+'</li>';ctrls.querySelector('.btn-prev').addEventListener('click',function(){prevSlide(true);});ctrls.querySelector('.btn-next').addEventListener('click',function(){nextSlide(true);});carousel.appendChild(ctrls);if(settings.slidenav||settings.animate){slidenav=document.createElement('ul');slidenav.className=slideNavClass;if(settings.animate){const li=document.createElement('li');if(settings.startAnimated)li.innerHTML=`<button data-action="stop"><span class="${visuallyHiddenClass}">${Drupal.t('Stop Animation')}
140 </span>■</button>`;else li.innerHTML=`<button data-action="start"><span class="${visuallyHiddenClass}">${+Drupal.t('Start Animation')} </span>▶</button>`;slidenav.appendChild(li);}if(settings.slidenav)forEachElement(slides,function(el,i){const li=document.createElement('li');const klass=(i===0)?` class="${currentClass}"`:'';const kurrent=(i===0)?` <span class="${visuallyHiddenClass}">${Drupal.t('(Current Item)')}</span>`:'';li.innerHTML=`<button${klass} data-slide="${i}"><span class="${visuallyHiddenClass}">${Drupal.t('News')}</span> ${(i+1)+kurrent}</button>`;slidenav.appendChild(li);});slidenav.addEventListener('click',function(event){const button=event.target;if(button.localName=='button')if(button.getAttribute('data-slide')){stopAnimation();setSlides(button.getAttribute('data-slide'),true);}else if(button.getAttribute('data-action')=='stop')stopAnimation();else{if(button.getAttribute('data-action')=='start')startAnimation();}},true);addClass(carousel,`${carouselClass} ${carouselActiveClass} ${withSlideNavClass}`);carousel.appendChild(slidenav);const resolveSlideNavPadding=()=>{carousel.style.setProperty('--gallery-slidenav-padding',`${slidenav.offsetHeight}px`);};window.addEventListener('resize',resolveSlideNavPadding);window.addEventListener('orientationchange',resolveSlideNavPadding);resolveSlideNavPadding();}const liveregion=document.createElement('div');liveregion.setAttribute('aria-live','polite');liveregion.setAttribute('aria-atomic','true');liveregion.setAttribute('class',`liveregion ${visuallyHiddenClass}`);carousel.appendChild(liveregion);slides[0].parentNode.addEventListener('transitionend',function(event){const slide=event.target;removeClass(slide,inTransitionClass);if(hasClass(slide,currentClass))if(setFocus){slide.setAttribute('tabindex','-1');slide.focus();setFocus=false;}});carousel.addEventListener('mouseenter',suspendAnimation);carousel.addEventListener('mouseleave',function(event){if(animationSuspended)startAnimation();});carousel.addEventListener('focusin',function(event){if(!hasClass(event.target,slideClass))suspendAnimation();});carousel.addEventListener('focusout',function(event){if(!hasClass(event.target,slideClass)&&animationSuspended)startAnimation();});index=0;setSlides(index);if(settings.animate&&settings.startAnimated)timer=setTimeout(nextSlide,settings.autoplaySpeed);}function setSlides(new_current,setFocusHere,transition,announceItemHere){setFocus=typeof setFocusHere!=='undefined'?setFocusHere:false;transition=typeof transition!=='undefined'?transition:'none';const announceItem=typeof announceItemHere!=='undefined'?announceItemHere:false;new_current=parseFloat(new_current);const length=slides.length;let new_next=new_current+1;let new_prev=new_current-1;if(new_next===length)new_next=0;else{if(new_prev<0)new_prev=length-1;}for(let i=slides.length-1;i>=0;i--){removeClass(slides[i],`${prevClass} ${nextClass} ${currentClass} ${inTransitionClass}`);addClass(slides[i],slideClass);slides[i].setAttribute('aria-hidden','true');}addClass(slides[new_next],`${nextClass} ${slideClass}`+((transition=='next')?` ${inTransitionClass}`:''));addClass(slides[new_prev],`${prevClass} ${slideClass}`+((transition=='prev')?` ${inTransitionClass}`:''));addClass(slides[new_current],`${currentClass} ${slideClass}`);slides[new_current].removeAttribute('aria-hidden');if(announceItem)carousel.querySelector('.liveregion').textContent=Drupal.t('Item @item of @total',{'@item':new_current+1,'@total':slides.length});if(settings.slidenav){const buttons=carousel.querySelectorAll('.slidenav button[data-sli
140de]');for(let j=buttons.length-1;j>=0;j--){buttons[j].className='';buttons[j].innerHTML=`<span class="${visuallyHiddenClass}">${Drupal.t('News')}</span> ${(j+1)}`;}buttons[new_current].className=currentClass;buttons[new_current].innerHTML=`<span class="${visuallyHiddenClass}">${Drupal.t('News')}</span> ${(new_current+1)} <span class="${visuallyHiddenClass}">${Drupal.t('(Current Item)')}</span>`;}index=new_current;}function nextSlide(announceItem){announceItem=typeof announceItem!=='undefined'?announceItem:false;const length=slides.length;let new_current=index+1;if(new_current===length)new_current=0;setSlides(new_current,false,'prev',announceItem);if(settings.animate)timer=setTimeout(nextSlide,settings.autoplaySpeed);}function prevSlide(announceItem){announceItem=typeof announceItem!=='undefined'?announceItem:false;const length=slides.length;let new_current=index-1;if(new_current<0)new_current=length-1;setSlides(new_current,false,'next',announceItem);}function stopAnimation(){clearTimeout(timer);settings.animate=false;animationSuspended=false;const _this=carousel.querySelector('[data-action]');if(!_this)return;_this.innerHTML=`<span class="${visuallyHiddenClass}">${Drupal.t('Start Animation')} </span>▶`;_this.setAttribute('data-action','start');}function startAnimation(){settings.animate=true;animationSuspended=false;timer=setTimeout(nextSlide,settings.autoplaySpeed);const _this=carousel.querySelector('[data-action]');if(!_this)return;_this.innerHTML=`<span class="${visuallyHiddenClass}">${Drupal.t('Stop Animation')} </span>■`;_this.setAttribute('data-action','stop');}function suspendAnimation(){if(settings.animate){clearTimeout(timer);settings.animate=false;animationSuspended=true;}}return {init,next:nextSlide,prev:prevSlide,goto:setSlides,stop:stopAnimation,start:startAnimation};});Drupal.behaviors.councilPlatformGutenbergGalleryCarousel={attach:function(context,settings){const $galleries=$(once('council-platform-gutenberg-gallery-carousel','.wp-block-gallery.is-style-carousel',context));$galleries.each((i,gallery)=>{const $gallery=$(gallery);const carousel=new myCarousel();carousel.init({carousel:gallery,slidenav:!$gallery.hasClass('carousel--no-slidenav'),animate:$gallery.hasClass('carousel--controls'),startAnimated:!$gallery.hasClass('carousel--no-autoplay'),autoplaySpeed:$gallery.attr('data-autoplay-speed')||5000});});}};})(jQuery,Drupal,drupalSettings,window.once);;
141!function(t,e){var s=function(t){this.data={}
141,this.data.class=[],this.merge(t)};s.prototype.toString=function(){var t,s,a="",i=function(t){return t&&t.toString().replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")||""},r=this.getData();for(t in r)r.hasOwnProperty(t)&&(s=r[t],e.isFunction(s)&&(s=s()),e.isObject(s)&&(s=e.values(s)),e.isArray(s)&&(s=s.join(" ")),a+=" "+i(t)+'="'+i(s)+'"');return a},s.prototype.toPlainObject=function(){var t,s,a={},i=this.getData();for(t in i)i.hasOwnProperty(t)&&(s=i[t],e.isFunction(s)&&(s=s()),e.isObject(s)&&(s=e.values(s)),e.isArray(s)&&(s=s.join(" ")),a[t]=s);return a},s.prototype.addClass=function(t){var e=Array.prototype.slice.call(arguments);return this.data.class=this.sanitizeClasses(this.data.class.concat(e)),this},s.prototype.exists=function(t){return void 0!==this.data[t]&&null!==this.data[t]},s.prototype.get=function(t,e){return this.exists(t)||(this.data[t]=e),this.data[t]},s.prototype.getData=function(){return e.extend({},this.data)},s.prototype.getClasses=function(){return this.get("class",[])},s.prototype.hasClass=function(t){t=this.sanitizeClasses(Array.prototype.slice.call(arguments));for(var s=this.getClasses(),a=0,i=t.length;a<i;a++)if(-1===e.indexOf(s,t[a]))return!1;return!0},s.prototype.merge=function(a,i){return a?(a instanceof t&&(a=a[0]),a=a instanceof Node?Array.prototype.slice.call(a.attributes).reduce(function(t,e){return t[e.name]=e.value,t},{}):a instanceof s?a.getData():e.extend({},a),t.isPlainObject(a)?(a&&void 0!==a.class&&(this.addClass(a.class),delete a.class),this.data=void 0===i||i?t.extend(!0,{},this.data,a):t.extend({},this.data,a),this):(setTimeout(function(){throw new Error("Passed object is not supported: "+a)}),this)):this},s.prototype.remove=function(t){return this.exists(t)&&delete this.data[t],this},s.prototype.removeClass=function(t){var s=this.sanitizeClasses(Array.prototype.slice.apply(arguments));return this.data.class=e.without(this.getClasses(),s),this},s.prototype.replaceClass=function(t,s){var a=this.getClasses(),i=e.indexOf(this.sanitizeClasses(t),a);return i>=0&&(a[i]=s,this.set("class",a)),this},s.prototype.sanitizeClasses=function(t){return e.chain(Array.prototype.slice.call(arguments)).flatten().map(function(t){return t.split(" ")}).flatten().filter().map(function(t){return s.cleanClass(t)}).uniq().value()},s.prototype.set=function(e,s){var a=t.isPlainObject(e)?e:{};return"string"==typeof e&&(a[e]=s),this.merge(a)},s.cleanClass=function(t,e){return e=e||{" ":"-",_:"-","/":"-","[":"-","]":""},t=t.toLowerCase(),void 0===e.__&&(t=t.replace("__","#DOUBLE_UNDERSCORE#")),t=t.replace(Object.keys(e),Object.keys(e).map(function(t){return e[t]})),void 0===e.__&&(t=t.replace("#DOUBLE_UNDERSCORE#","__")),t=(t=t.replace(/[^\u
141002D\u0030-\u0039\u0041-\u005A\u005F\u0061-\u007A\u00A1-\uFFFF]/g,"")).replace(["/^[0-9]/","/^(-[0-9])|^(--)/"],["_","__"])},s.create=function(t){return new s(t)},window.Attributes=s}(window.jQuery,window._);;
142((o,i)=>{i.councilPlatformUtils=i.councilPlatformUtils||{},i.councilPlatformUtils.nodeListForEach=function(o,i){if(window.NodeList.prototype.forEach)return o.forEach(i);for(let l=0;l<o.length;l++)i.call(window,o[l],l,o)}})(window.jQuery,window.Drupal);;
143((e,t)=>{e.councilPlatform=e.councilPlatform||{},e.councilPlatform.MegaMenu=class{constructor(e,t){this.$module=e,this.settings=t,this.$menuWrapper=this.$module.closest(".govuk-header, body"),this.buttonOpenClass="gem-c-layout-super-navigation-header__open-button",this.$navigationToggle=this.$module.querySelector("#super-navigation-menu-toggle"),this.$navigationMenu=this.$module.querySelector("#super-navigation-menu"),this.$searchToggle=this.$module.querySelector("#super-search-menu-toggle"),this.$currentTarget=null,this.$searchMenu=this.$module.querySelector("#super-search-menu"),this.$buttons=this.$module.querySelectorAll("button[aria-controls][data-toggle-mobile-group][data-toggle-desktop-group]"),this.$menuButtons=this.$module.querySelectorAll(".gem-c-layout-super-navigation-header__navigation-item--with-children"),this.hiddenButtons=this.$module.querySelectorAll("button[hidden]"),this.menuOpen=!1,this.searchOpen=!1,this.lastWindowSize=null}init(){this.$module&&(this.$module.classList.add("js-module-initialised"),"function"==typeof window.matchMedia&&this.setupResponsiveChecks())}setupResponsiveChecks(){this.mql=window.matchMedia(`(min-width: ${this.settings.megaMenuToggle})`),this.mql.addListener(this.checkMode.bind(this)),this.checkMode();const e=this.calculateOffset.bind(this);window.addEventListener("resize",e),window.addEventListener("orientationchange",e),this.calculateOffset()}checkMode(){this.mql.matches?(this.teardownMobileMenu(),this.setupDesktopMenu()):(this.teardownDesktopMenu(),this.setupMobileMenu())}calculateOffset(){this.$currentTarget&&this.updateOffset(this.$currentTarget)}setupMobileMenu(){this.setAttributes("mobile"),null!=this.$navigationMenu&&(this.$navigationToggle.boundMenuClick=this.handleMenuButtonClick.bind(this),this.$navigationToggle.addEventListener("click",this.$navigationToggle.boundMenuClick,!0)),null!=this.$searchMenu&&(this.$searchToggle.boundSearchClick=this.handleSearchButtonClick.bind(this),this.$searchToggle.addEventListener("click",this.$searchToggle.boundSearchClick,!0))}teardownMobileMenu(){this.unsetAttributes("mobile"),null!=this.$navigationMenu&&this.$navigationToggle.removeEventListener("click",this.$navigationToggle.boundMenuClick,!0),null!=this.$searchMenu&&this.$searchToggle.removeEventListener("click",this.$searchToggle.boundSearchClick,!0)}setupDesktopMenu(){this.setAttributes("desktop"),null!=this.$searchMenu&&(this.$searchToggle.boundSearchClick=this.handleSearchButtonClick.bind(this),this.$searchToggle.addEventListener("click",this.$searchToggle.boundSearchClick,!0))}teardownDesktopMenu(){this.unsetAttributes("desktop"),null!=this.$navigationMenu&&this.$navigationToggle.removeEventListener("click",this.$navigationToggle.boundMenuClick,!0),null!=this.$searchMenu&&this.$searchToggle.removeEventListener("click",this.$searchToggle.boundSearchClick,!0)}menuItemClick(e){const t=e.target,i=this.buttonOpenClass,s=t.classList.contains(i);this.handleBodyMenuClass(s);const n=t.getAttribute("aria-controls");t.classList.toggle(i,!s),this.$module.querySelectorAll(`.gem-c-layout-super-navigation-header__navigation-second-toggle-button:not([aria-controls=${n}])`).forEach(e=>{e.classList.remove(i),e.setAttribute("aria-expanded",!0);const t=e.getAttribute("data-text-for-show");e.setAttribute("aria-label",t)});const a=document.getElementById(n);if(this.$module.querySelectorAll(`.gem-c-layout-super-navigation-header__navigation-dropdown-menu:not(#${n})`).forEach(e=>e.setAttribute("hidden",!0)),s){a.setAttribute("hidden","true"),t.setAttribute("aria-expanded",!1);const e=t.getAttribute("data-text-for-show");t.setAttribute("aria-label",e)}else{a.removeAttribute("hidden"),t.setAttribute("aria-expanded",!0);const e=t.getAttribute("data-text-for-hide");t.setAttribute("aria-label",e)}!0===this.mql.matches&&this.updateOffset(a),null!=this.$searchMenu&&this.closeSearch(this.$searchToggle,this.$searchMenu)}setAttributes(e){if("mobile"===e&&null!=this.$navigationMenu&&(this.$navigationToggle.removeAttribute("hidden"),this.$navigationToggle.setAttribute("aria-expanded",!1),this.$navigationToggle.classList.remove(this.buttonOpenClass),this.$navigationMenu.setAttribute("hidden",!0)),null!=this.$searchMenu){this.$searchMenu.setAttribute("hidden",!0),this.$searchToggle.setAttribute("aria-expanded",!1);const e=this.$searchToggle.getAttribute("data-text-for-show");this.$searchToggle.setAttribute("aria-label",e),this.$searchToggle.removeAttribute("hidden")}
143t.nodeListForEach(this.$menuButtons,function(e){e.querySelector(".gem-c-layout-super-navigation-header__navigation-item-link").setAttribute("hidden",!0);const t=e.querySelector(".gem-c-layout-super-navigation-header__navigation-second-toggle-button");t.removeAttribute("hidden"),t.classList.remove(this.buttonOpenClass),e.boundMenuItemClick=this.menuItemClick.bind(this),e.querySelector("button").addEventListener("click",e.boundMenuItemClick,!0)}.bind(this))}unsetAttributes(e){"mobile"===e&&(null!=this.$navigationMenu&&(this.$navigationToggle.setAttribute("hidden",!0),this.$navigationMenu.removeAttribute("hidden")),null!=this.$searchMenu&&(this.$searchToggle.setAttribute("hidden",!0),this.$searchMenu.removeAttribute("hidden"))),this.updateOffset(null),this.searchOpen=!1,this.menuOpen=!1,this.handleBodyMenuClass(!0,"all"),null!=this.$navigationMenu&&this.closeDesktopMenus(),null!=this.$searchMenu&&this.$searchToggle.classList.remove(this.buttonOpenClass),t.nodeListForEach(this.$menuButtons,e=>{e.querySelector("button").removeEventListener("click",e.boundMenuItemClick,!0)})}handleMenuButtonClick(){this.handleBodyMenuClass(this.menuOpen,"mobile-menu"),!0===this.menuOpen?this.closeMenu(this.$navigationToggle,this.$navigationMenu):this.openMenu(this.$navigationToggle,this.$navigationMenu)}handleSearchButtonClick(){this.handleBodyMenuClass(this.searchOpen,"search"),!0===this.searchOpen?(this.closeSearch(this.$searchToggle,this.$searchMenu),!0===this.mql.matches&&this.updateOffset(null)):(this.openSearch(this.$searchToggle,this.$searchMenu),!0===this.mql.matches&&this.updateOffset(this.$searchMenu))}updateOffset(e){if(this.$currentTarget=e,e){const t=`${e.offsetHeight}px`;this.$menuWrapper.style.setProperty("--mega-menu-offset",t)}else this.$menuWrapper.style.removeProperty("--mega-menu-offset"),this.$menuWrapper.getAttribute("style")||this.$menuWrapper.removeAttribute("style")}handleBodyMenuClass(e,t="menu-item"){("menu-item"!==t||"menu-item"===t&&this.mql.matches)&&document.body.classList.toggle("mega-menu--open",!e),document.body.classList.toggle("mega-menu--menu-item-open","menu-item"===t&&!e),document.body.classList.toggle("mega-menu--search-open","search"===t&&!e),"menu-item"!==t&&document.body.classList.toggle("mega-menu--mobile-menu-open","mobile-menu"===t&&!e)}openMenu(e,t){this.menuOpen=!0,e.setAttribute("aria-expanded",!0);const i=e.getAttribute("data-text-for-hide");e.setAttribute("aria-label",i),e.classList.add(this.buttonOpenClass),t.removeAttribute("hidden"),null!=this.$searchMenu&&this.closeSearch(this.$searchToggle,this.$searchMenu)}closeMenu(e,t){if(this.menuOpen=!1,this.updateOffset(null),null!=this.$navigationMenu){e.setAttribute("aria-expanded",!1);const i=e.getAttribute("data-text-for-show");e.setAttribute("aria-label",i),e.classList.remove(this.buttonOpenClass),t.setAttribute("hidden",!0)}}closeDesktopMenus(){this.$module.querySelectorAll(".gem-c-layout-super-navigation-header__navigation-dropdown-menu").forEach(e=>e.setAttribute("hidden",!0))}openSearch(e,t){this.searchOpen=!0,e.setAttribute("aria-expanded",!0);const i=e.getAttribute("data-text-for-hide");e.setAttribute("aria-label",i),this.$module.querySelectorAll(`.${this.buttonOpenClass}`).forEach(e=>e.classList.remove(this.buttonOpenClass)),e.classList.add(this.buttonOpenClass),t.removeAttribute("hidden"),!0!==this.mql.matches?this.closeMenu(this.$navigationToggle,this.$navigationMenu):this.closeDesktopMenus()}closeSearch(e,t){this.searchOpen=!1,e.setAttribute("aria-expanded",!1);const i=e.getAttribute("data-text-for-show");e.setAttribute("aria-label",i),e.classList.remove(this.buttonOpenClass),t.setAttribute("hidden",!0)}}})(window.Drupal,window.Drupal.councilPlatformUtils);;
144!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).GOVUKFrontend=t.GOVUKFrontend||{})}(this,function(t){"use strict";function e(t){if(t.includes("#"))return t.split("#").pop()}function i(t){const e=`--govuk-breakpoint-${t}`;return{property:e,value:window.getComputedStyle(document.documentElement).getPropertyValue(e)||void 0}}function s(t,e={}){var i;const s=t.getAttribute("tabindex");function n(){var i;null==(i=e.onBlur)||i.call(t),s||t.removeAttribute("tabindex")}s||t.setAttribute("tabindex","-1"),t.addEventListener("focus",function(){t.addEventListener("blur",n,{once:!0})},{once:!0}
vendor: 4,793 bytes, line 144
144),null==(i=e.onBeforeFocus)||i.call(t),t.focus()}function n(t=document.body){return!!t&&t.classList.contains("govuk-frontend-supported")}function o(t){return!!t&&"object"==typeof t&&!function(t){return Array.isArray(t)}(t)}function r(t,e){return`${t.moduleName}: ${e}`}class a extends Error{constructor(...t){super(...t),this.name="GOVUKFrontendError"}}class l extends a{constructor(t=document.body){const e="noModule"in HTMLScriptElement.prototype?'GOV.UK Frontend initialised without `<body class="govuk-frontend-supported">` from template `<script>` snippet':"GOV.UK Frontend is not supported in this browser";super(t?e:'GOV.UK Frontend initialised without `<script type="module">`'),this.name="SupportError"}}class h extends a{constructor(...t){super(...t),this.name="ConfigError"}}class u extends a{constructor(t){let e="string"==typeof t?t:"";if("object"==typeof t){const{component:i,identifier:s,element:n,expectedType:o}=t;e=s,e+=n?` is not of type ${null!=o?o:"HTMLElement"}`:" not found",e=r(i,e)}super(e),this.name="ElementError"}}class c extends a{constructor(t){super("string"==typeof t?t:r(t,"Root element (`$root`) already initialised")),this.name="InitError"}}class d{get $root(){return this._$root}constructor(t){this._$root=void 0;const e=this.constructor;if("string"!=typeof e.moduleName)throw new c("`moduleName` not defined in component");if(!(t instanceof e.elementType))throw new u({element:t,component:e,identifier:"Root element (`$root`)",expectedType:e.elementType.name});this._$root=t,e.checkSupport(),this.checkInitialised();const i=e.moduleName;this.$root.setAttribute(`data-${i}-init`,"")}checkInitialised(){const t=this.constructor,e=t.moduleName;if(e&&function(t,e){return t instanceof HTMLElement&&t.hasAttribute(`data-${e}-init`)}(this.$root,e))throw new c(t)}static checkSupport(){if(!n())throw new l}}d.elementType=HTMLElement;const p=Symbol.for("configOverride");class m extends d{[p](t){return{}}get config(){return this._config}constructor(t,e){super(t),this._config=void 0;const i=this.constructor;if(!o(i.defaults))throw new h(r(i,"Config passed as parameter into constructor but no defaults defined"));const s=function(t,e){if(!o(t.schema))throw new h(r(t,"Config passed as parameter into constructor but no schema defined"));const i={},s=Object.entries(t.schema.properties);for(const n of s){const[s,o]=n,r=s.toString();r in e&&(i[r]=g(e[r],o)),"object"===(null==o?void 0:o.type)&&(i[r]=f(t.schema,e,s))}return i}(i,this._$root.dataset);this._config=b(i.defaults,null!=e?e:{},this[p](s),s)}}function g(t,e){const i=t?t.trim():"";let s,n=null==e?void 0:e.type;switch(n||(["true","false"].includes(i)&&(n="boolean"),i.length>0&&isFinite(Number(i))&&(n="number")),n){case"boolean":s="true"===i;break;case"number":s=Number(i);break;default:s=t}return s}function b(...t){const e={};for(const i of t)for(const t of Object.keys(i)){const s=e[t],n=i[t];o(s)&&o(n)?e[t]=b(s,n):e[t]=n}return e}function f(t,e,i){const s=t.properties[i];if("object"!==(null==s?void 0:s.type))return;const n={[i]:{}};for(const[t,s]of Object.entries(e)){let e=n;const r=t.split(".");for(const[n,a]of r.entries())o(e)&&(n<r.length-1?(o(e[a])||(e[a]={}),e=e[a]):t!==i&&(e[a]=g(s)))}return n[i]}class v{constructor(t={},e={}){var i;this.translations=void 0,this.locale=void 0,this.translations=t,this.locale=null!=(i=e.locale)?i:document.documentElement.lang||"en"}t(t,e){if(!t)throw new Error("i18n: lookup key missing");let i=this.translations[t];if("number"==typeof(null==e?void 0:e.count)&&"object"==typeof i){const s=i[this.getPluralSuffix(t,e.count)];s&&(i=s)}if("string"==typeof i){if(i.match(/%{(.\S+)}/)){if(!e)throw new Error("i18n: cannot replace placeholders in string if no option data provided");return this.replacePlaceholders(i,e)}return i}return t}replacePlaceholders(t,e){const i=Intl.NumberFormat.supportedLocalesOf(this.locale).length?new Intl.NumberFormat(this.locale):void 0;return t.replace(/%{(.\S+)}/g,function(t,s){if(Object.prototype.hasOwnProperty.call(e,s)){const t=e[s];return!1===t||"number"!=typeof t&&"string"!=typeof t?"":"number"==typeof t?i?i.format(t):`${t}`:t}throw new Error(`i18n: no data found to replace ${t} placeholder in string`)})}hasIntlPluralRulesSupport(){return Boolean("PluralRules"in window.Intl&&Intl.PluralRules.supportedLocalesOf(this.locale).length)}getPluralSuffix(t,e){if(e=Number(e),!isFinite(e))return"other";const i=this.translations[t],s=this.hasIntlPluralRulesSupport()?new Intl.PluralRules(this.locale).select(e):this.selectPluralFormUsingFallbackRules(e);if("object"==typeof i){if(s in i)return s;if("other"in i)return console.warn(`i18n: Missing plural form ".${s}" for "${this.locale}" locale. Falling back to ".other".`),"other"}throw new Error(`i18n: Plural form ".other" is required for "${this.locale}" locale`)}
144selectPluralFormUsingFallbackRules(t){t=Math.abs(Math.floor(t));const e=this.getPluralRulesForLocale();return e?v.pluralRules[e](t):"other"}getPluralRulesForLocale(){const t=this.locale.split("-")[0];for(const e in v.pluralRulesMap){const i=v.pluralRulesMap[e];if(i.includes(this.locale)||i.includes(t))return e}}}v.pluralRulesMap={arabic:["ar"],chinese:["my","zh","id","ja","jv","ko","ms","th","vi"],french:["hy","bn","fr","gu","hi","fa","pa","zu"],german:["af","sq","az","eu","bg","ca","da","nl","en","et","fi","ka","de","el","hu","lb","no","so","sw","sv","ta","te","tr","ur"],irish:["ga"],russian:["ru","uk"],scottish:["gd"],spanish:["pt-PT","it","es"],welsh:["cy"]},v.pluralRules={arabic:t=>0===t?"zero":1===t?"one":2===t?"two":t%100>=3&&t%100<=10?"few":t%100>=11&&t%100<=99?"many":"other",chinese:()=>"other",french:t=>0===t||1===t?"one":"other",german:t=>1===t?"one":"other",irish:t=>1===t?"one":2===t?"two":t>=3&&t<=6?"few":t>=7&&t<=10?"many":"other",russian(t){const e=t%100,i=e%10;return 1===i&&11!==e?"one":i>=2&&i<=4&&!(e>=12&&e<=14)?"few":0===i||i>=5&&i<=9||e>=11&&e<=14?"many":"other"},scottish:t=>1===t||11===t?"one":2===t||12===t?"two":t>=3&&t<=10||t>=13&&t<=19?"few":"other",spanish:t=>1===t?"one":t%1e6==0&&0!==t?"many":"other",welsh:t=>0===t?"zero":1===t?"one":2===t?"two":3===t?"few":6===t?"many":"other"};
145/**
146   * Accordion component
147   *
148   * This allows a collection of sections to be collapsed by default, showing only
149   * their headers. Sections can be expanded or collapsed individually by clicking
150   * their headers. A "Show all sections" button is also added to the top of the
151   * accordion, which switches to "Hide all sections" when all the sections are
152   * expanded.
153   *
154   * The state of each section is saved to the DOM via the `aria-expanded`
155   * attribute, which also provides accessibility.
156   *
157   * @preserve
158   * @augments ConfigurableComponent<AccordionConfig>
159   */
160class w extends m{constructor(t,e={}){super(t,e),this.i18n=void 0,this.controlsClass="govuk-accordion__controls",this.showAllClass="govuk-accordion__show-all",this.showAllTextClass="govuk-accordion__show-all-text",this.sectionClass="govuk-accordion__section",this.sectionExpandedClass="govuk-accordion__section--expanded",this.sectionButtonClass="govuk-accordion__section-button",this.sectionHeaderClass="govuk-accordion__section-header",this.sectionHeadingClass="govuk-accordion__section-heading",this.sectionHeadingDividerClass="govuk-accordion__section-heading-divider",this.sectionHeadingTextClass="govuk-accordion__section-heading-text",this.sectionHeadingTextFocusClass="govuk-accordion__section-heading-text-focus",this.sectionShowHideToggleClass="govuk-accordion__section-toggle",this.sectionShowHideToggleFocusClass="govuk-accordion__section-toggle-focus",this.sectionShowHideTextClass="govuk-accordion__section-toggle-text",this.upChevronIconClass="govuk-accordion-nav__chevron",this.downChevronIconClass="govuk-accordion-nav__chevron--down",this.sectionSummaryClass="govuk-accordion__section-summary",this.sectionSummaryFocusClass="govuk-accordion__section-summary-focus",this.sectionContentClass="govuk-accordion__section-content",this.$sections=void 0,this.$showAllButton=null,this.$showAllIcon=null,this.$showAllText=null,this.i18n=new v(this.config.i18n);const i=this.$root.querySelectorAll(`.${this.sectionClass}`);if(!i.length)throw new u({component:w,identifier:`Sections (\`<div class="${this.sectionClass}">\`)`});this.$sections=i,this.initControls(),this.initSectionHeaders(),this.updateShowAllButton(this.areAllSectionsOpen())}initControls(){this.$showAllButton=document.createElement("button"),this.$showAllButton.setAttribute("type","button"),this.$showAllButton.setAttribute("class",this.showAllClass),this.$showAllButton.setAttribute("aria-expanded","false"),this.$showAllIcon=document.createElement("span"),this.$showAllIcon.classList.add(this.upChevronIconClass),this.$showAllButton.appendChild(this.$showAllIcon);const t=document.createElement("div");t.setAttribute("class",this.controlsClass),t.appendChild(this.$showAllButton),this.$root.insertBefore(t,this.$root.firstChild),this.$showAllText=document.createElement("span"),this.$showAllText.classList.add(this.showAllTextClass),this.$showAllButton.appendChild(this.$showAllText),this.$showAllButton.addEventListener("click",()=>this.onShowOrHideAllToggle()),"onbeforematch"in document&&document.addEventListener("beforematch",t=>this.onBeforeMatch(t))}initSectionHeaders(){this.$sections.forEach((t,e)=>{const i=t.querySelector(`.${this.sectionHeaderClass}`);
vendor: 19,450 bytes, lines 160-210
160if(!i)throw new u({component:w,identifier:`Section headers (\`<div class="${this.sectionHeaderClass}">\`)`});this.constructHeaderMarkup(i,e),this.setExpanded(this.isExpanded(t),t),i.addEventListener("click",()=>this.onSectionToggle(t)),this.setInitialState(t)})}constructHeaderMarkup(t,e){const i=t.querySelector(`.${this.sectionButtonClass}`),s=t.querySelector(`.${this.sectionHeadingClass}`),n=t.querySelector(`.${this.sectionSummaryClass}`);if(!s)throw new u({component:w,identifier:`Section heading (\`.${this.sectionHeadingClass}\`)`});if(!i)throw new u({component:w,identifier:`Section button placeholder (\`<span class="${this.sectionButtonClass}">\`)`});const o=document.createElement("button");o.setAttribute("type","button"),o.setAttribute("aria-controls",`${this.$root.id}-content-${e+1}`);for(const t of Array.from(i.attributes))"id"!==t.name&&o.setAttribute(t.name,t.value);const r=document.createElement("span");r.classList.add(this.sectionHeadingTextClass),r.id=i.id;const a=document.createElement("span");a.classList.add(this.sectionHeadingTextFocusClass),r.appendChild(a),Array.from(i.childNodes).forEach(t=>a.appendChild(t));const l=document.createElement("span");l.classList.add(this.sectionShowHideToggleClass),l.setAttribute("data-nosnippet","");const h=document.createElement("span");h.classList.add(this.sectionShowHideToggleFocusClass),l.appendChild(h);const c=document.createElement("span"),d=document.createElement("span");if(d.classList.add(this.upChevronIconClass),h.appendChild(d),c.classList.add(this.sectionShowHideTextClass),h.appendChild(c),o.appendChild(r),o.appendChild(this.getButtonPunctuationEl()),n){const t=document.createElement("span"),e=document.createElement("span");e.classList.add(this.sectionSummaryFocusClass),t.appendChild(e);for(const e of Array.from(n.attributes))t.setAttribute(e.name,e.value);Array.from(n.childNodes).forEach(t=>e.appendChild(t)),n.remove(),o.appendChild(t),o.appendChild(this.getButtonPunctuationEl())}o.appendChild(l),s.removeChild(i),s.appendChild(o)}onBeforeMatch(t){const e=t.target;if(!(e instanceof Element))return;const i=e.closest(`.${this.sectionClass}`);i&&this.setExpanded(!0,i)}onSectionToggle(t){const e=!this.isExpanded(t);this.setExpanded(e,t),this.storeState(t,e)}onShowOrHideAllToggle(){const t=!this.areAllSectionsOpen();this.$sections.forEach(e=>{this.setExpanded(t,e),this.storeState(e,t)}),this.updateShowAllButton(t)}setExpanded(t,e){const i=e.querySelector(`.${this.upChevronIconClass}`),s=e.querySelector(`.${this.sectionShowHideTextClass}`),n=e.querySelector(`.${this.sectionButtonClass}`),o=e.querySelector(`.${this.sectionContentClass}`);if(!o)throw new u({component:w,identifier:`Section content (\`<div class="${this.sectionContentClass}">\`)`});if(!i||!s||!n)return;const r=t?this.i18n.t("hideSection"):this.i18n.t("showSection");s.textContent=r,n.setAttribute("aria-expanded",`${t}`);const a=[],l=e.querySelector(`.${this.sectionHeadingTextClass}`);l&&a.push(`${l.textContent}`.trim());const h=e.querySelector(`.${this.sectionSummaryClass}`);h&&a.push(`${h.textContent}`.trim());const c=t?this.i18n.t("hideSectionAriaLabel"):this.i18n.t("showSectionAriaLabel");a.push(c),n.setAttribute("aria-label",a.join(" , ")),t?(o.removeAttribute("hidden"),e.classList.add(this.sectionExpandedClass),i.classList.remove(this.downChevronIconClass)):(o.setAttribute("hidden","until-found"),e.classList.remove(this.sectionExpandedClass),i.classList.add(this.downChevronIconClass)),this.updateShowAllButton(this.areAllSectionsOpen())}isExpanded(t){return t.classList.contains(this.sectionExpandedClass)}areAllSectionsOpen(){return Array.from(this.$sections).every(t=>this.isExpanded(t))}updateShowAllButton(t){this.$showAllButton&&this.$showAllText&&this.$showAllIcon&&(this.$showAllButton.setAttribute("aria-expanded",t.toString()),this.$showAllText.textContent=t?this.i18n.t("hideAllSections"):this.i18n.t("showAllSections"),this.$showAllIcon.classList.toggle(this.downChevronIconClass,!t))}getIdentifier(t){const e=t.querySelector(`.${this.sectionButtonClass}`);return null==e?void 0:e.getAttribute("aria-controls")}storeState(t,e){if(!this.config.rememberExpanded)return;const i=this.getIdentifier(t);if(i)try{window.sessionStorage.setItem(i,e.toString())}catch(t){}}setInitialState(t){if(!this.config.rememberExpanded)return;const e=this.getIdentifier(t);if(e)try{const i=window.sessionStorage.getItem(e);null!==i&&this.setExpanded("true"===i,t)}catch(t){}}getButtonPunctuationEl(){const t=document.createElement("span");return t.classList.add("govuk-visually-hidden",this.sectionHeadingDividerClass),t.textContent=", ",t}}w.moduleName="govuk-accordion",w.defaults=Object.freeze({i18n:{hideAllSections:"Hide all sections",hideSection:"Hide",hideSectionAriaLabel:"Hide this section",showAllSections:"Show all sections",showSection:"Show",showSectionAriaLabel:"Show this section"},rememberExpanded:!0}),w.schema=Object.freeze({properties:{i18n:{type:"object"},rememberExpanded:{type:"boolean"}}});
161/**
162   * JavaScript enhancements for the Button component
163   *
164   * @preserve
165   * @augments ConfigurableComponent<ButtonConfig>
166   */
167class $ extends m{constructor(t,e={}){super(t,e),this.debounceFormSubmitTimer=null,this.$root.addEventListener("keydown",t=>this.handleKeyDown(t)),this.$root.addEventListener("click",t=>this.debounce(t))}handleKeyDown(t){const e=t.target;" "===t.key&&e instanceof HTMLElement&&"button"===e.getAttribute("role")&&(t.preventDefault(),e.click())}debounce(t){if(this.config.preventDoubleClick)return this.debounceFormSubmitTimer?(t.preventDefault(),!1):void(this.debounceFormSubmitTimer=window.setTimeout(()=>{this.debounceFormSubmitTimer=null},1e3))}}function y(t,e){const i=t.closest(`[${e}]`);return i?i.getAttribute(e):null}
168/**
169   * Character count component
170   *
171   * Tracks the number of characters or words in the `.govuk-js-character-count`
172   * `<textarea>` inside the element. Displays a message with the remaining number
173   * of characters/words available, or the number of characters/words in excess.
174   *
175   * You can configure the message to only appear after a certain percentage
176   * of the available characters/words has been entered.
177   *
178   * @preserve
179   * @augments ConfigurableComponent<CharacterCountConfig>
180   */$.moduleName="govuk-button",$.defaults=Object.freeze({preventDoubleClick:!1}),$.schema=Object.freeze({properties:{preventDoubleClick:{type:"boolean"}}});class k extends m{[p](t){let e={};return("maxwords"in t||"maxlength"in t)&&(e={maxlength:void 0,maxwords:void 0}),e}constructor(t,e={}){var i,s;super(t,e),this.$textarea=void 0,this.$visibleCountMessage=void 0,this.$screenReaderCountMessage=void 0,this.lastInputTimestamp=null,this.lastInputValue="",this.valueChecker=null,this.i18n=void 0,this.maxLength=void 0;const n=this.$root.querySelector(".govuk-js-character-count");if(!(n instanceof HTMLTextAreaElement||n instanceof HTMLInputElement))throw new u({component:k,element:n,expectedType:"HTMLTextareaElement or HTMLInputElement",identifier:"Form field (`.govuk-js-character-count`)"});const o=function(t,e){const i=[];for(const[s,n]of Object.entries(t)){const t=[];if(Array.isArray(n)){for(const{required:i,errorMessage:s}of n)i.every(t=>!!e[t])||t.push(s);"anyOf"!==s||n.length-t.length>=1||i.push(...t)}}return i}(k.schema,this.config);if(o[0])throw new h(r(k,o[0]));this.i18n=new v(this.config.i18n,{locale:y(this.$root,"lang")}),this.maxLength=null!=(i=null!=(s=this.config.maxwords)?s:this.config.maxlength)?i:1/0,this.$textarea=n;const a=`${this.$textarea.id}-info`,l=document.getElementById(a);if(!l)throw new u({component:k,element:l,identifier:`Count message (\`id="${a}"\`)`});this.$errorMessage=this.$root.querySelector(".govuk-error-message"),`${l.textContent}`.match(/^\s*$/)&&(l.textContent=this.i18n.t("textareaDescription",{count:this.maxLength})),this.$textarea.insertAdjacentElement("afterend",l);const c=document.createElement("div");c.className="govuk-character-count__sr-status govuk-visually-hidden",c.setAttribute("aria-live","polite"),this.$screenReaderCountMessage=c,l.insertAdjacentElement("afterend",c);const d=document.createElement("div");d.className=l.className,d.classList.add("govuk-character-count__status"),d.setAttribute("aria-hidden","true"),this.$visibleCountMessage=d,l.insertAdjacentElement("afterend",d),l.classList.add("govuk-visually-hidden"),this.$textarea.removeAttribute("maxlength"),this.bindChangeEvents(),window.addEventListener("pageshow",()=>this.updateCountMessage()),this.updateCountMessage()}bindChangeEvents(){this.$textarea.addEventListener("keyup",()=>this.handleKeyUp()),this.$textarea.addEventListener("focus",()=>this.handleFocus()),this.$textarea.addEventListener("blur",()=>this.handleBlur())}handleKeyUp(){this.updateVisibleCountMessage(),this.lastInputTimestamp=Date.now()}handleFocus(){this.valueChecker=window.setInterval(()=>{(!this.lastInputTimestamp||Date.now()-500>=this.lastInputTimestamp)&&this.updateIfValueChanged()},1e3)}handleBlur(){this.valueChecker&&window.clearInterval(this.valueChecker)}updateIfValueChanged(){this.$textarea.value!==this.lastInputValue&&(this.lastInputValue=this.$textarea.value,this.updateCountMessage())}updateCountMessage(){this.updateVisibleCountMessage(),this.updateScreenReaderCountMessage()}updateVisibleCountMessage(){const t=this.maxLength-this.count(this.$textarea.value)<0;this.$visibleCountMessage.classList.toggle("govuk-character-count__message--disabled",!this.isOverThreshold()),this.$errorMessage||this.$textarea.classList.toggle("govuk-textarea--error",t),this.$visibleCountMessage.classList.toggle("govuk-error-message",t),this.$visibleCountMessage.classList.toggle("govuk-hint",!t),this.$visibleCountMessage.textContent=this.getCountMessage()}updateScreenReaderCountMessage(){this.isOverThreshold()?this.$screenReaderCountMessage.removeAttribute("aria-hidden"):this.$screenReaderCountMessage.setAttribute("aria-hidden","true"),this.$screenReaderCountMessage.textContent=this.getCountMessage()}count(t){if(this.config.maxwords){var e;return(null!=(e=t.match(/\S+/g))?e:[]).length}return t.length}getCountMessage(){const t=this.maxLength-this.count(this.$textarea.value),e=this.config.maxwords?"words":"characters";return this.formatCountMessage(t,e)}formatCountMessage(t,e){if(0===t)return this.i18n.t(`${e}AtLimit`);const i=t<0?"OverLimit":"UnderLimit";return this.i18n.t(`${e}${i}`,{count:Math.abs(t)})}isOverThreshold(){if(!this.config.threshold)return!0;const t=this.count(this.$textarea.value);return this.maxLength*this.config.threshold/100<=t}}k.moduleName="govuk-character-count",k.defaults=Object.freeze({threshold:0,i18n:{charactersUnderLimit:{one:"You have %{count} character remaining",other:"You have %{count} characters remaining"},charactersAtLimit:"You have 0 characters remaining",charactersOverLimit:{one:"You have %{count} character too many",other:"You have %{count} characters too many"},wordsUnderLimit:{one:"You have %{count} word remaining",other:"You have %{count} words remaining"},wordsAtLimit:"You have 0 words remaining",wordsOverLimit:{one:"You have %{count} word too many",other:"You have %{count} words too many"},textareaDescription:{other:""}}}),k.schema=Object.freeze({properties:{i18n:{type:"object"},maxwords:{type:"number"},maxlength:{type:"number"},threshold:{type:"number"}},anyOf:[{required:["maxwords"],errorMessage:'Either "maxlength" or "maxwords" must be provided'},{required:["maxlength"],errorMessage:'Either "maxlength" or "maxwords" must be provided'}]});
181/**
182   * Checkboxes component
183   *
184   * @preserve
185   */
186class C extends d{constructor(t){super(t),this.$inputs=void 0;const e=this.$root.querySelectorAll('input[type="checkbox"]');if(!e.length)throw new u({component:C,identifier:'Form inputs (`<input type="checkbox">`)'});this.$inputs=e,this.$inputs.forEach(t=>{const e=t.getAttribute("data-aria-controls");if(e){if(!document.getElementById(e))throw new u({component:C,identifier:`Conditional reveal (\`id="${e}"\`)`});t.setAttribute("aria-controls",e),t.removeAttribute("data-aria-controls")}}),window.addEventListener("pageshow",()=>this.syncAllConditionalReveals()),this.syncAllConditionalReveals(),this.$root.addEventListener("click",t=>this.handleClick(t))}syncAllConditionalReveals(){this.$inputs.forEach(t=>this.syncConditionalRevealWithInputState(t))}syncConditionalRevealWithInputState(t){const e=t.getAttribute("aria-controls");if(!e)return;const i=document.getElementById(e);if(null!=i&&i.classList.contains("govuk-checkboxes__conditional")){const e=t.checked;t.setAttribute("aria-expanded",e.toString()),i.classList.toggle("govuk-checkboxes__conditional--hidden",!e)}}unCheckAllInputsExcept(t){document.querySelectorAll(`input[type="checkbox"][name="${t.name}"]`).forEach(e=>{t.form===e.form&&e!==t&&(e.checked=!1,this.syncConditionalRevealWithInputState(e))})}unCheckExclusiveInputs(t){document.querySelectorAll(`input[data-behaviour="exclusive"][type="checkbox"][name="${t.name}"]`).forEach(e=>{t.form===e.form&&(e.checked=!1,this.syncConditionalRevealWithInputState(e))})}handleClick(t){const e=t.target;if(!(e instanceof HTMLInputElement)||"checkbox"!==e.type)return;if(e.getAttribute("aria-controls")&&this.syncConditionalRevealWithInputState(e),!e.checked)return;"exclusive"===e.getAttribute("data-behaviour")?this.unCheckAllInputsExcept(e):this.unCheckExclusiveInputs(e)}}C.moduleName="govuk-checkboxes";
187/**
188   * Error summary component
189   *
190   * Takes focus on initialisation for accessible announcement, unless disabled in
191   * configuration.
192   *
193   * @preserve
194   * @augments ConfigurableComponent<ErrorSummaryConfig>
195   */
196class A extends m{constructor(t,e={}){super(t,e),this.config.disableAutoFocus||s(this.$root),this.$root.addEventListener("click",t=>this.handleClick(t))}handleClick(t){const e=t.target;e&&this.focusTarget(e)&&t.preventDefault()}focusTarget(t){if(!(t instanceof HTMLAnchorElement))return!1;const i=e(t.href);if(!i)return!1;const s=document.getElementById(i);if(!s)return!1;const n=this.getAssociatedLegendOrLabel(s);return!!n&&(n.scrollIntoView(),s.focus({preventScroll:!0}),!0)}getAssociatedLegendOrLabel(t){var e;const i=t.closest("fieldset");if(i){const e=i.getElementsByTagName("legend");if(e.length){const i=e[0];if(t instanceof HTMLInputElement&&("checkbox"===t.type||"radio"===t.type))return i;const s=i.getBoundingClientRect().top,n=t.getBoundingClientRect();if(n.height&&window.innerHeight){if(n.top+n.height-s<window.innerHeight/2)return i}}}return null!=(e=document.querySelector(`label[for='${t.getAttribute("id")}']`))?e:t.closest("label")}}A.moduleName="govuk-error-summary",A.defaults=Object.freeze({disableAutoFocus:!1}),A.schema=Object.freeze({properties:{disableAutoFocus:{type:"boolean"}}});
197/**
198   * Exit this page component
199   *
200   * @preserve
201   * @augments ConfigurableComponent<ExitThisPageConfig>
202   */
203class E extends m{constructor(t,e={}){super(t,e),this.i18n=void 0,this.$button=void 0,this.$skiplinkButton=null,this.$updateSpan=null,this.$indicatorContainer=null,this.$overlay=null,this.keypressCounter=0,this.lastKeyWasModified=!1,this.timeoutTime=5e3,this.keypressTimeoutId=null,this.timeoutMessageId=null;const i=this.$root.querySelector(".govuk-exit-this-page__button");if(!(i instanceof HTMLAnchorElement))throw new u({component:E,element:i,expectedType:"HTMLAnchorElement",identifier:"Button (`.govuk-exit-this-page__button`)"});this.i18n=new v(this.config.i18n),this.$button=i;const s=document.querySelector(".govuk-js-exit-this-page-skiplink");s instanceof HTMLAnchorElement&&(this.$skiplinkButton=s),this.buildIndicator(),this.initUpdateSpan(),this.initButtonClickHandler(),"govukFrontendExitThisPageKeypress"in document.body.dataset||(document.addEventListener("keyup",this.handleKeypress.bind(this),!0),document.body.dataset.govukFrontendExitThisPageKeypress="true"),window.addEventListener("pageshow",this.resetPage.bind(this))}initUpdateSpan(){this.$updateSpan=document.createElement("span"),this.$updateSpan.setAttribute("role","status"),this.$updateSpan.className="govuk-visually-hidden",this.$root.appendChild(this.$updateSpan)}initButtonClickHandler(){this.$button.addEventListener("click",this.handleClick.bind(this)),this.$skiplinkButton&&this.$skiplinkButton.addEventListener("click",this.handleClick.bind(this))}buildIndicator(){this.$indicatorContainer=document.createElement("div"),this.$indicatorContainer.className="govuk-exit-this-page__indicator",this.$indicatorContainer.setAttribute("aria-hidden","true");for(let t=0;t<3;t++){const t=document.createElement("div");t.className="govuk-exit-this-page__indicator-light",this.$indicatorContainer.appendChild(t)}this.$button.appendChild(this.$indicatorContainer)}updateIndicator(){if(!this.$indicatorContainer)return;this.$indicatorContainer.classList.toggle("govuk-exit-this-page__indicator--visible",this.keypressCounter>0);this.$indicatorContainer.querySelectorAll(".govuk-exit-this-page__indicator-light").forEach((t,e)=>{t.classList.toggle("govuk-exit-this-page__indicator-light--on",e<this.keypressCounter)})}exitPage(){this.$updateSpan&&(this.$updateSpan.textContent="",document.body.classList.add("govuk-exit-this-page-hide-content"),this.$overlay=document.createElement("div"),this.$overlay.className="govuk-exit-this-page-overlay",this.$overlay.setAttribute("role","alert"),document.body.appendChild(this.$overlay),this.$overlay.textContent=this.i18n.t("activated"),window.location.href=this.$button.href)}handleClick(t){t.preventDefault(),this.exitPage()}handleKeypress(t){this.$updateSpan&&("Shift"!==t.key||this.lastKeyWasModified?this.keypressTimeoutId&&this.resetKeypressTimer():(this.keypressCounter+=1,this.updateIndicator(),this.timeoutMessageId&&(window.clearTimeout(this.timeoutMessageId),this.timeoutMessageId=null),this.keypressCounter>=3?(this.keypressCounter=0,this.keypressTimeoutId&&(window.clearTimeout(this.keypressTimeoutId),this.keypressTimeoutId=null),this.exitPage()):1===this.keypressCounter?this.$updateSpan.textContent=this.i18n.t("pressTwoMoreTimes"):this.$updateSpan.textContent=this.i18n.t("pressOneMoreTime"),this.setKeypressTimer()),this.lastKeyWasModified=t.shiftKey)}setKeypressTimer(){this.keypressTimeoutId&&window.clearTimeout(this.keypressTimeoutId),this.keypressTimeoutId=window.setTimeout(this.resetKeypressTimer.bind(this),this.timeoutTime)}resetKeypressTimer(){if(!this.$updateSpan)return;this.keypressTimeoutId&&(window.clearTimeout(this.keypressTimeoutId),this.keypressTimeoutId=null);const t=this.$updateSpan;this.keypressCounter=0,t.textContent=this.i18n.t("timedOut"),this.timeoutMessageId=window.setTimeout(()=>{t.textContent=""},this.timeoutTime),this.updateIndicator()}resetPage(){document.body.classList.remove("govuk-exit-this-page-hide-content"),this.$overlay&&(this.$overlay.remove(),this.$overlay=null),this.$updateSpan&&(this.$updateSpan.setAttribute("role","status"),this.$updateSpan.textContent=""),this.updateIndicator(),this.keypressTimeoutId&&window.clearTimeout(this.keypressTimeoutId),this.timeoutMessageId&&window.clearTimeout(this.timeoutMessageId)}}E.moduleName="govuk-exit-this-page",E.defaults=Object.freeze({i18n:{activated:"Loading.",timedOut:"Exit this page expired.",pressTwoMoreTimes:"Shift, press 2 more times to exit.",pressOneMoreTime:"Shift, press 1 more time to exit."}}),E.schema=Object.freeze({properties:{i18n:{type:"object"}}});
204/**
205   * File upload component
206   *
207   * @preserve
208   * @augments ConfigurableComponent<FileUploadConfig>
209   */
210class x extends m{constructor(t,e={}
210){super(t,e),this.$input=void 0,this.$button=void 0,this.$status=void 0,this.i18n=void 0,this.id=void 0,this.$announcements=void 0,this.enteredAnotherElement=void 0;const i=this.$root.querySelector("input");if(null===i)throw new u({component:x,identifier:'File inputs (`<input type="file">`)'});if("file"!==i.type)throw new u(r(x,'File input (`<input type="file">`) attribute (`type`) is not `file`'));if(this.$input=i,this.$input.setAttribute("hidden","true"),!this.$input.id)throw new u({component:x,identifier:'File input (`<input type="file">`) attribute (`id`)'});this.id=this.$input.id,this.i18n=new v(this.config.i18n,{locale:y(this.$root,"lang")});const s=this.findLabel();s.id||(s.id=`${this.id}-label`),this.$input.id=`${this.id}-input`;const n=document.createElement("button");n.classList.add("govuk-file-upload-button"),n.type="button",n.id=this.id,n.classList.add("govuk-file-upload-button--empty");const o=this.$input.getAttribute("aria-describedby");o&&n.setAttribute("aria-describedby",o);const a=document.createElement("span");a.className="govuk-body govuk-file-upload-button__status",a.setAttribute("aria-live","polite"),a.innerText=this.i18n.t("noFileChosen"),n.appendChild(a);const l=document.createElement("span");l.className="govuk-visually-hidden",l.innerText=", ",l.id=`${this.id}-comma`,n.appendChild(l);const h=document.createElement("span");h.className="govuk-file-upload-button__pseudo-button-container";const c=document.createElement("span");c.className="govuk-button govuk-button--secondary govuk-file-upload-button__pseudo-button",c.innerText=this.i18n.t("chooseFilesButton"),h.appendChild(c),h.insertAdjacentText("beforeend"," ");const d=document.createElement("span");d.className="govuk-body govuk-file-upload-button__instruction",d.innerText=this.i18n.t("dropInstruction"),h.appendChild(d),n.appendChild(h),n.setAttribute("aria-labelledby",`${s.id} ${l.id} ${n.id}`),n.addEventListener("click",this.onClick.bind(this)),n.addEventListener("dragover",t=>{t.preventDefault()}),this.$root.insertAdjacentElement("afterbegin",n),this.$input.setAttribute("tabindex","-1"),this.$input.setAttribute("aria-hidden","true"),this.$button=n,this.$status=a,this.$input.addEventListener("change",this.onChange.bind(this)),this.updateDisabledState(),this.observeDisabledState(),this.$announcements=document.createElement("span"),this.$announcements.classList.add("govuk-file-upload-announcements"),this.$announcements.classList.add("govuk-visually-hidden"),this.$announcements.setAttribute("aria-live","assertive"),this.$root.insertAdjacentElement("afterend",this.$announcements),this.$button.addEventListener("drop",this.onDrop.bind(this)),document.addEventListener("dragenter",this.updateDropzoneVisibility.bind(this)),document.addEventListener("dragenter",()=>{this.enteredAnotherElement=!0}),document.addEventListener("dragleave",()=>{this.enteredAnotherElement||this.$button.disabled||(this.hideDraggingState(),this.$announcements.innerText=this.i18n.t("leftDropZone")),this.enteredAnotherElement=!1})}updateDropzoneVisibility(t){this.$button.disabled||t.target instanceof Node&&(this.$root.contains(t.target)?t.dataTransfer&&T(t.dataTransfer)&&(this.$button.classList.contains("govuk-file-upload-button--dragging")||(this.showDraggingState(),this.$announcements.innerText=this.i18n.t("enteredDropZone"))):this.$button.classList.contains("govuk-file-upload-button--dragging")&&(this.hideDraggingState(),this.$announcements.innerText=this.i18n.t("leftDropZone")))}showDraggingState(){this.$button.classList.add("govuk-file-upload-button--dragging")}hideDraggingState(){this.$button.classList.remove("govuk-file-upload-button--dragging")}onDrop(t){t.preventDefault(),t.dataTransfer&&T(t.dataTransfer)&&(this.$input.files=t.dataTransfer.files,this.$input.dispatchEvent(new CustomEvent("change")),this.hideDraggingState())}onChange(){const t=this.$input.files.length;0===t?(this.$status.innerText=this.i18n.t("noFileChosen"),this.$button.classList.add("govuk-file-upload-button--empty")):(this.$status.innerText=1===t?this.$input.files[0].name:this.i18n.t("multipleFilesChosen",{count:t}),this.$button.classList.remove("govuk-file-upload-button--empty"))}findLabel(){const t=document.querySelector(`label[for="${this.$input.id}"]`);if(!t)throw new u({component:x,identifier:`Field label (\`<label for=${this.$input.id}>\`)`});return t}onClick(){this.$input.click()}observeDisabledState(){new MutationObserver(t=>{for(const e of t)"attributes"===e.type&&"disabled"===e.attributeName&&this.updateDisabledState()}).observe(this.$input,{attributes:!0})}updateDisabledState(){this.$button.disabled=this.$input.disabled,this.$root.classList.toggle("govuk-drop-zone--disabled",this.$button.disabled)}}function T(t){const e=0===t.types.length,i=t.types.some(t=>"Files"===t);return e||i}
211/**
212   * Header component
213   *
214   * @preserve
215   */x.moduleName="govuk-file-upload",x.defaults=Object.freeze({i18n:{chooseFilesButton:"Choose file",dropInstruction:"or drop file",noFileChosen:"No file chosen",multipleFilesChosen:{one:"%{count} file chosen",other:"%{count} files chosen"},enteredDropZone:"Entered drop zone",leftDropZone:"Left drop zone"}}),x.schema=Object.freeze({properties:{i18n:{type:"object"}}});class S extends d{constructor(t){super(t),this.$menuButton=void 0,this.$menu=void 0,this.menuIsOpen=!1,this.mql=null;const e=this.$root.querySelector(".govuk-js-header-toggle");if(!e)return this;this.$root.classList.add("govuk-header--with-js-navigation");const i=e.getAttribute("aria-controls");if(!i)throw new u({component:S,identifier:'Navigation button (`<button class="govuk-js-header-toggle">`) attribute (`aria-controls`)'});const s=document.getElementById(i);if(!s)throw new u({component:S,element:s,identifier:`Navigation (\`<ul id="${i}">\`)`});this.$menu=s,this.$menuButton=e,this.setupResponsiveChecks(),this.$menuButton.addEventListener("click",()=>this.handleMenuButtonClick())}setupResponsiveChecks(){const t=i("desktop");if(!t.value)throw new u({component:S,identifier:`CSS custom property (\`${t.property}\`) on pseudo-class \`:root\``});this.mql=window.matchMedia(`(min-width: ${t.value})`),"addEventListener"in this.mql?this.mql.addEventListener("change",()=>this.checkMode()):this.mql.addListener(()=>this.checkMode()),this.checkMode()}checkMode(){this.mql&&this.$menu&&this.$menuButton&&(this.mql.matches?(this.$menu.removeAttribute("hidden"),this.$menuButton.setAttribute("hidden","")):(this.$menuButton.removeAttribute("hidden"),this.$menuButton.setAttribute("aria-expanded",this.menuIsOpen.toString()),this.menuIsOpen?this.$menu.removeAttribute("hidden"):this.$menu.setAttribute("hidden","")))}handleMenuButtonClick(){this.menuIsOpen=!this.menuIsOpen,this.checkMode()}}S.moduleName="govuk-header";
216/**
217   * Notification Banner component
218   *
219   * @preserve
220   * @augments ConfigurableComponent<NotificationBannerConfig>
221   */
222class L extends m{constructor(t,e={}){super(t,e),"alert"!==this.$root.getAttribute("role")||this.config.disableAutoFocus||s(this.$root)}}L.moduleName="govuk-notification-banner",L.defaults=Object.freeze({disableAutoFocus:!1}),L.schema=Object.freeze({properties:{disableAutoFocus:{type:"boolean"}}});
223/**
224   * Password input component
225   *
226   * @preserve
227   * @augments ConfigurableComponent<PasswordInputConfig>
228   */
229class I extends m{constructor(t,e={}
229){super(t,e),this.i18n=void 0,this.$input=void 0,this.$showHideButton=void 0,this.$screenReaderStatusMessage=void 0;const i=this.$root.querySelector(".govuk-js-password-input-input");if(!(i instanceof HTMLInputElement))throw new u({component:I,element:i,expectedType:"HTMLInputElement",identifier:"Form field (`.govuk-js-password-input-input`)"});if("password"!==i.type)throw new u("Password input: Form field (`.govuk-js-password-input-input`) must be of type `password`.");const s=this.$root.querySelector(".govuk-js-password-input-toggle");if(!(s instanceof HTMLButtonElement))throw new u({component:I,element:s,expectedType:"HTMLButtonElement",identifier:"Button (`.govuk-js-password-input-toggle`)"});if("button"!==s.type)throw new u("Password input: Button (`.govuk-js-password-input-toggle`) must be of type `button`.");this.$input=i,this.$showHideButton=s,this.i18n=new v(this.config.i18n,{locale:y(this.$root,"lang")}),this.$showHideButton.removeAttribute("hidden");const n=document.createElement("div");n.className="govuk-password-input__sr-status govuk-visually-hidden",n.setAttribute("aria-live","polite"),this.$screenReaderStatusMessage=n,this.$input.insertAdjacentElement("afterend",n),this.$showHideButton.addEventListener("click",this.toggle.bind(this)),this.$input.form&&this.$input.form.addEventListener("submit",()=>this.hide()),window.addEventListener("pageshow",t=>{t.persisted&&"password"!==this.$input.type&&this.hide()}),this.hide()}toggle(t){t.preventDefault(),"password"!==this.$input.type?this.hide():this.show()}show(){this.setType("text")}hide(){this.setType("password")}setType(t){if(t===this.$input.type)return;this.$input.setAttribute("type",t);const e="password"===t,i=e?"show":"hide",s=e?"passwordHidden":"passwordShown";this.$showHideButton.innerText=this.i18n.t(`${i}Password`),this.$showHideButton.setAttribute("aria-label",this.i18n.t(`${i}PasswordAriaLabel`)),this.$screenReaderStatusMessage.innerText=this.i18n.t(`${s}Announcement`)}}I.moduleName="govuk-password-input",I.defaults=Object.freeze({i18n:{showPassword:"Show",hidePassword:"Hide",showPasswordAriaLabel:"Show password",hidePasswordAriaLabel:"Hide password",passwordShownAnnouncement:"Your password is visible",passwordHiddenAnnouncement:"Your password is hidden"}}),I.schema=Object.freeze({properties:{i18n:{type:"object"}}});
230/**
231   * Radios component
232   *
233   * @preserve
234   */
235class _ extends d{constructor(t){super(t),this.$inputs=void 0;const e=this.$root.querySelectorAll('input[type="radio"]');if(!e.length)throw new u({component:_,identifier:'Form inputs (`<input type="radio">`)'});this.$inputs=e,this.$inputs.forEach(t=>{const e=t.getAttribute("data-aria-controls");if(e){if(!document.getElementById(e))throw new u({component:_,identifier:`Conditional reveal (\`id="${e}"\`)`});t.setAttribute("aria-controls",e),t.removeAttribute("data-aria-controls")}}),window.addEventListener("pageshow",()=>this.syncAllConditionalReveals()),this.syncAllConditionalReveals(),this.$root.addEventListener("click",t=>this.handleClick(t))}syncAllConditionalReveals(){this.$inputs.forEach(t=>this.syncConditionalRevealWithInputState(t))}syncConditionalRevealWithInputState(t){const e=t.getAttribute("aria-controls");if(!e)return;const i=document.getElementById(e);if(null!=i&&i.classList.contains("govuk-radios__conditional")){const e=t.checked;t.setAttribute("aria-expanded",e.toString()),i.classList.toggle("govuk-radios__conditional--hidden",!e)}}handleClick(t){const e=t.target;if(!(e instanceof HTMLInputElement)||"radio"!==e.type)return;const i=document.querySelectorAll('input[type="radio"][aria-controls]'),s=e.form,n=e.name;i.forEach(t=>{const e=t.form===s;t.name===n&&e&&this.syncConditionalRevealWithInputState(t)})}}_.moduleName="govuk-radios";
236/**
237   * Service Navigation component
238   *
239   * @preserve
240   */
241class M extends d{constructor(t){super(t),this.$menuButton=void 0,this.$menu=void 0,this.menuIsOpen=!1,this.mql=null;const e=this.$root.querySelector(".govuk-js-service-navigation-toggle");if(!e)return this;const i=e.getAttribute("aria-controls");if(!i)throw new u({component:M,identifier:'Navigation button (`<button class="govuk-js-service-navigation-toggle">`) attribute (`aria-controls`)'});const s=document.getElementById(i);if(!s)throw new u({component:M,element:s,identifier:`Navigation (\`<ul id="${i}">\`)`});this.$menu=s,this.$menuButton=e,this.setupResponsiveChecks(),this.$menuButton.addEventListener("click",()=>this.handleMenuButtonClick())}setupResponsiveChecks(){const t=i("tablet");if(!t.value)throw new u({component:M,identifier:`CSS custom property (\`${t.property}\`) on pseudo-class \`:root\``});this.mql=window.matchMedia(`(min-width: ${t.value})`),"addEventListener"in this.mql?this.mql.addEventListener("change",()=>this.checkMode()):this.mql.addListener(()=>this.checkMode()),this.checkMode()}checkMode(){this.mql&&this.$menu&&this.$menuButton&&(this.mql.matches?(this.$menu.removeAttribute("hidden"),this.$menuButton.setAttribute("hidden","")):(this.$menuButton.removeAttribute("hidden"),this.$menuButton.setAttribute("aria-expanded",this.menuIsOpen.toString()),this.menuIsOpen?this.$menu.removeAttribute("hidden"):this.$menu.setAttribute("hidden","")))}handleMenuButtonClick(){this.menuIsOpen=!this.menuIsOpen,this.checkMode()}}M.moduleName="govuk-service-navigation";
242/**
243   * Skip link component
244   *
245   * @preserve
246   * @augments Component<HTMLAnchorElement>
247   */
248class B extends d{constructor(t){var i;super(t);const n=this.$root.hash,o=null!=(i=this.$root.getAttribute("href"))?i:"";let r;try{r=new window.URL(this.$root.href)}catch(t){throw new u(`Skip link: Target link (\`href="${o}
248"\`) is invalid`)}if(r.origin!==window.location.origin||r.pathname!==window.location.pathname)return;const a=e(n);if(!a)throw new u(`Skip link: Target link (\`href="${o}"\`) has no hash fragment`);const l=document.getElementById(a);if(!l)throw new u({component:B,element:l,identifier:`Target content (\`id="${a}"\`)`});this.$root.addEventListener("click",()=>s(l,{onBeforeFocus(){l.classList.add("govuk-skip-link-focused-element")},onBlur(){l.classList.remove("govuk-skip-link-focused-element")}}))}}B.elementType=HTMLAnchorElement,B.moduleName="govuk-skip-link";
249/**
250   * Tabs component
251   *
252   * @preserve
253   */
254class H extends d{constructor(t){super(t),this.$tabs=void 0,this.$tabList=void 0,this.$tabListItems=void 0,this.jsHiddenClass="govuk-tabs__panel--hidden",this.changingHash=!1,this.boundTabClick=void 0,this.boundTabKeydown=void 0,this.boundOnHashChange=void 0,this.mql=null;const e=this.$root.querySelectorAll("a.govuk-tabs__tab");if(!e.length)throw new u({component:H,identifier:'Links (`<a class="govuk-tabs__tab">`)'});this.$tabs=e,this.boundTabClick=this.onTabClick.bind(this),this.boundTabKeydown=this.onTabKeydown.bind(this),this.boundOnHashChange=this.onHashChange.bind(this);const i=this.$root.querySelector(".govuk-tabs__list"),s=this.$root.querySelectorAll("li.govuk-tabs__list-item");if(!i)throw new u({component:H,identifier:'List (`<ul class="govuk-tabs__list">`)'});if(!s.length)throw new u({component:H,identifier:'List items (`<li class="govuk-tabs__list-item">`)'});this.$tabList=i,this.$tabListItems=s,this.setupResponsiveChecks()}setupResponsiveChecks(){const t=i("tablet");if(!t.value)throw new u({component:H,identifier:`CSS custom property (\`${t.property}\`) on pseudo-class \`:root\``});this.mql=window.matchMedia(`(min-width: ${t.value})`),"addEventListener"in this.mql?this.mql.addEventListener("change",()=>this.checkMode()):this.mql.addListener(()=>this.checkMode()),this.checkMode()}checkMode(){var t;null!=(t=this.mql)&&t.matches?this.setup():this.teardown()}setup(){var t;this.$tabList.setAttribute("role","tablist"),this.$tabListItems.forEach(t=>{t.setAttribute("role","presentation")}),this.$tabs.forEach(t=>{this.setAttributes(t),t.addEventListener("click",this.boundTabClick,!0),t.addEventListener("keydown",this.boundTabKeydown,!0),this.hideTab(t)});const e=null!=(t=this.getTab(window.location.hash))?t:this.$tabs[0];this.showTab(e),window.addEventListener("hashchange",this.boundOnHashChange,!0)}teardown(){this.$tabList.removeAttribute("role"),this.$tabListItems.forEach(t=>{t.removeAttribute("role")}),this.$tabs.forEach(t=>{t.removeEventListener("click",this.boundTabClick,!0),t.removeEventListener("keydown",this.boundTabKeydown,!0),this.unsetAttributes(t)}),window.removeEventListener("hashchange",this.boundOnHashChange,!0)}onHashChange(){const t=window.location.hash,e=this.getTab(t);if(!e)return;if(this.changingHash)return void(this.changingHash=!1);const i=this.getCurrentTab();i&&(this.hideTab(i),this.showTab(e),e.focus())}hideTab(t){this.unhighlightTab(t),this.hidePanel(t)}showTab(t){this.highlightTab(t),this.showPanel(t)}getTab(t){return this.$root.querySelector(`a.govuk-tabs__tab[href="${t}"]`)}setAttributes(t){const i=e(t.href);if(!i)return;t.setAttribute("id",`tab_${i}`),t.setAttribute("role","tab"),t.setAttribute("aria-controls",i),t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1");const s=this.getPanel(t);s&&(s.setAttribute("role","tabpanel"),s.setAttribute("aria-labelledby",t.id),s.classList.add(this.jsHiddenClass))}unsetAttributes(t){t.removeAttribute("id"),t.removeAttribute("role"),t.removeAttribute("aria-controls"),t.removeAttribute("aria-selected"),t.removeAttribute("tabindex");const e=this.getPanel(t);e&&(e.removeAttribute("role"),e.removeAttribute("aria-labelledby"),e.classList.remove(this.jsHiddenClass))}onTabClick(t){const e=this.getCurrentTab(),i=t.currentTarget;e&&i instanceof HTMLAnchorElement&&(t.preventDefault(),this.hideTab(e),this.showTab(i),this.createHistoryEntry(i))}createHistoryEntry(t){const e=this.getPanel(t);if(!e)return;const i=e.id;e.id="",this.changingHash=!0,window.location.hash=i,e.id=i}onTabKeydown(t){switch(t.key){case"ArrowLeft":case"Left":this.activatePreviousTab(),t.preventDefault();break;case"ArrowRight":case"Right":this.activateNextTab(),t.preventDefault()}}activateNextTab(){const t=this.getCurrentTab();if(null==t||!t.parentElement)return;const e=t.parentElement.nextElementSibling;if(!e)return;const i=e.querySelector("a.govuk-tabs__tab");i&&(this.hideTab(t),this.showTab(i),i.focus(),this.createHistoryEntry(i))}activatePreviousTab(){const t=this.getCurrentTab();if(null==t||!t.parentElement)return;const e=t.parentElement.previousElementSibling;if(!e)return;const i=e.querySelector("a.govuk-tabs__tab");i&&(this.hideTab(t),this.showTab(i),i.focus(),this.createHistoryEntry(i))}getPanel(t){const i=e(t.href);return i?this.$root.querySelector(`#${i}`):null}showPanel(t){const e=this.getPanel(t);e&&e.classList.remove(this.jsHiddenClass)}hidePanel(t){const e=this.getPanel(t);e&&e.classList.add(this.jsHiddenClass)}unhighlightTab(t){t.parentElement&&(t.setAttribute("aria-selected","false"),t.parentElement.classList.remove("govuk-tabs__list-item--selected"),t.setAttribute("tabindex","-1"))}highlightTab(t){t.parentElement&&(t.setAttribute("aria-selected","true"),t.parentElement.classList.add("govuk-tabs__list-item--selected"),t.setAttribute("tabindex","0"))}getCurrentTab(){return this.$root.querySelector(".govuk-tabs__list-item--selected a.govuk-tabs__tab")}}function O(t,e,i){let s,o=document;var r;"object"==typeof i&&(o=null!=(r=i.scope)?r:o,s=i.onError);"function"==typeof i&&(s=i),i instanceof HTMLElement&&(o=i);const a=o.querySelectorAll(`[data-module="${t.moduleName}"]`);return n()?Array.from(a).map(i=>{try{return void 0!==e?new t(i,e):new t(i)}
254catch(n){return s?s(n,{element:i,component:t,config:e}):console.log(n),null}}).filter(Boolean):(s?s(new l,{component:t,config:e}):console.log(new l),[])}H.moduleName="govuk-tabs",t.Accordion=w,t.Button=$,t.CharacterCount=k,t.Checkboxes=C,t.Component=d,t.ConfigurableComponent=m,t.ErrorSummary=A,t.ExitThisPage=E,t.FileUpload=x,t.Header=S,t.NotificationBanner=L,t.PasswordInput=I,t.Radios=_,t.ServiceNavigation=M,t.SkipLink=B,t.Tabs=H,t.createAll=O,t.initAll=function(t){var e;if(t=void 0!==t?t:{},!n())return void(t.onError?t.onError(new l,{config:t}):console.log(new l));const i=[[w,t.accordion],[$,t.button],[k,t.characterCount],[C],[A,t.errorSummary],[E,t.exitThisPage],[x,t.fileUpload],[S],[L,t.notificationBanner],[I,t.passwordInput],[_],[M],[B],[H]],s={scope:null!=(e=t.scope)?e:document,onError:t.onError};i.forEach(([t,e])=>{O(t,e,s)})},t.isSupported=n,t.version="5.11.1"});;
255((n,i,o,t)=>{i.behaviors.councilPlatformGovUk={attach(e){n(t("GOVUKFrontend.InitAll",e===document?"html":e)).each(function(){o.initAll({scope:this});n(this).find('[data-module="super-navigation-mega-menu"]').each((n,o)=>{new i.councilPlatform.MegaMenu(o,i.councilPlatform.settings).init()})})}}})(window.jQuery,window.Drupal,window.GOVUKFrontend,window.once);;
256!function(r,e,t){"use strict";r.extend(e.theme,{govukErrorSummary:(r,e)=>`\n<div class="govuk-error-summary" aria-labelledby="error-summary-title" role="alert" tabindex="-1" data-module="govuk-error-summary">\n  <h2 class="govuk-error-summary__title" id="error-summary-title">${r}</h2>\n  <div class="govuk-error-summary__body">\n    <ul class="govuk-list govuk-error-summary__list">\n    ${e.map(r=>r.href?`<a href="${r.href}" ${new t(r.attributes).toString()}>${r.text}</a>`:r.text)}\n    </ul>\n  </div>\n</div>\n`})}(window.jQuery,window.Drupal,window.Attributes);;
257(()=>{function e(){const e=document.createElement("div");e.style.visibility="hidden",e.style.overflow="scroll",e.style.width="100px",e.style.position="absolute",document.body.appendChild(e);const t=document.createElement("div");t.style.width="100%",e.appendChild(t);const n=e.offsetWidth-t.offsetWidth;return document.body.removeChild(e),n}function t(){!0===window.DEBUG&&console.log("getScrollbarWidth()",e(),"getDocumentScrollbarWidth()",window.innerWidth-document.documentElement.clientWidth),document.documentElement.style.setProperty("--scrollbar-width",`${e()}px`)}!0===window.DEBUG&&(window.addEventListener("resize",t),window.addEventListener("orientationchange",t)),t()})();;
258((e,n,o)=>{"use strict";n.behaviors.councilPlatformThemeMenuToggle={attach(n){e(o("govuk-header",".govuk-header",n)).each(function(){const n=e(this);n.find(".govuk-header__menu-button").on("click",function(){n.toggleClass("govuk-header--open")})})}},n.behaviors.councilPlatformThemeTransparentHeader={attach(n){e(o("council_platform_theme.transparentHeader",".transparent-header",n)).each(function(){const n=e(this).find(".wp-block-cover").first();if(n&&n.length){const e=n.offset().top;n.css("margin-top",-e),n.addClass("underlay-header")}})}}})(window.jQuery,window.Drupal,window.once);;
259((e,t,o,l)=>{"use strict";t.councilPlatform=t.councilPlatform||{},t.councilPlatform.settings={megaMenuToggle:"769px",...t.councilPlatform.settings||o.councilPlatform||{}},t.councilPlatform.debounceFunction=(e,t,o)=>{let l;return function(...n){const a=this,r=o&&!l;clearTimeout(l),l=setTimeout(function(){l=null,o||e.apply(a,n)},t),r&&e.apply(a,n)}},t.councilPlatform.getElementWidth=e=>{const t=e.currentStyle||window.getComputedStyle(e);return e.offsetWidth+(parseFloat(t.marginLeft)+parseFloat(t.marginRight))},t.councilPlatform.scrollToElement=e=>{const t=document.getElementById(e);t&&window.scrollTo({top:t.offsetTop,left:t.offsetLeft,behavior:"smooth"})};const n=new Map;t.councilPlatform.generateUniqueId=(e=null,t=!1)=>{let o,l=0;for(;!o||document.getElementById(o)||n.has(o);)t||!e?o=Math.random().toString(36).replace("0.",e?e+"-":""):(o=l>0?e+"-"+l:e,l++);return n.set(o,!0),o},t.councilPlatform.responsiveTeleporter=(e,o,l=void 0,n=void 0)=>{if(!l){l=`(min-width: ${getComputedStyle(document.body).getPropertyValue("--cp-breakpoint-tablet")||"641px"})`}const a=window.matchMedia(l),r=[];o.forEach(o=>{let l;if(o.target.some(t=>{let o;if(o="string"==typeof t?e.querySelector(t):e.querySelector(t.selector),o)return l={type:"string"==typeof t?null:t.type||"",element:o},!0}),!l)return;const n=[];o.source.forEach((o,a)=>{const s=e.querySelector(o);if(s){const e=t.councilPlatform.generateUniqueId((s.getAttribute("data-portal-id")||s.getAttribute("id")||Array.from(s.className.split(" ")).pop()||"platform-portal-element-"+(a+1))+"-placeholder");s.setAttribute("data-platform-portal-placeholder",e);const o=document.createElement("div");o.className="platform-portal-js-portal-slot platform-portal-js-portal-slot--inactive",o.setAttribute("data-platform-portal-id",e),n.push(o),r.push({element:s,slot:o,target:l.element})}}),r.length&&("after"===l.type?l.element.after(...n):"before"===l.type?l.element.before(...n):"prepend"===l.type?l.element.prepe
259nd(...n):l.element.append(...n))});const s=e=>{r.forEach(t=>{const o=t.element.getAttribute("data-platform-portal-placeholder"),l=t.element.parentElement===t.slot;if("function"!=typeof n||!n(t,e,o,l))if(e){if(l){let e=document.getElementById(o);e&&(e.parentNode.replaceChild(t.element,e),t.slot.classList.add("platform-portal-js-portal-slot--inactive"))}}else if(!l){if(!document.getElementById(o)){const e=document.createElement("div");e.setAttribute("id",o),e.className="platform-portal-js-placeholder-portal",t.element.after(e)}t.slot.appendChild(t.element),t.slot.classList.remove("platform-portal-js-portal-slot--inactive")}})};a.addEventListener("change",e=>{s(e.matches)}),s(a.matches)},t.behaviors.councilPlatformBackToTop={attach(e){if(e!==document)return;const o=e.querySelector(".cp-scroll-to-top"),l=e.querySelector(".cp-scroll-to-top__btn"),n=e.getElementById(l&&l.getAttribute("href").substr(1)||"main-content");if(o&&l&&n){l.addEventListener("click",function(){this.blur()});let a=parseInt(window.getComputedStyle(o).bottom,10);Number.isNaN(a)&&(a=20);const r=o.classList.contains("cp-scroll-to-top__left")?"left":"right",s=function(){let l,s;const i=n.getBoundingClientRect(),c=t.councilPlatform.getElementWidth(o),u=i.right+c;document.documentElement.clientWidth>u?(l=e.querySelector(".govuk-footer"),s=i.right):(l=e.querySelector(".govuk-pre-footer"),l||(l=e.querySelector(".govuk-footer")),s=i.right-c);const p=window.scrollY+window.innerHeight,d=l?l.offsetTop:0;if(window.scrollY>n.offsetTop+500)if(o.classList.add("cp-scroll-to-top--visible"),"left"===r?o.style.right=`${s}px`:o.style.left=`${s}px`,d>0&&p>d){const e=a+(p-d);o.style.bottom=`${e}px`}else o.style.bottom="";else o.classList.remove("cp-scroll-to-top--visible")};if(window.addEventListener("scroll",s),window.addEventListener("resize",s),window.addEventListener("orientationchange",s),"undefined"!=typeof ResizeObserver){new ResizeObserver(s).observe(document.body)}}}},t.behaviors.councilPlatformUserAgent={attach(t){const o=e("html",t);if(!o.length)return;const{userAgent:l}=navigator,n=[];-1!==l.indexOf("Trident")&&-1!==l.indexOf("rv:11")?n.push("ie11"):/msie 10/i.test(l)&&n.push("ie10"),n.length&&o.addClass(n.join(" "))}},t.councilPlatform.setCollapsibleDetailsStatus=(e,o)=>{const l=e.find("> summary");if(e.toggleClass("disabled",o),l.attr("tabindex",o?"-1":null),e.attr("data-webform-details-nosave",o?"":null),o&&(e[0].setAttribute("open",""),"function"==typeof t.webformDetailsSaveGetName)){const o=t.webformDetailsSaveGetName(e);o&&localStorage.removeItem(o)}},t.behaviors.councilPlatformCollapsibleFilter={attach(o){e(l("council-platform-collapsible-filter","details.collapsible-filter",o)).each(function(){const o=e(this),l=o.attr("data-collapsible-breakpoint")||getComputedStyle(document.body).getPropertyValue("--cp-breakpoint-tablet")||"641px",n=window.matchMedia(`(min-width: ${l})`);if(o.find("> summary").on("click",function(e){o.hasClass("disabled")&&e.preventDefault()}),!n.matches&&!o.hasClass("collapsible-filter--no-collapse")&&(o.removeAttr("open"),"function"==typeof t.webformDetailsSaveGetName)){const e=t.webformDetailsSaveGetName(o);if(e){if(null===localStorage.getItem(e))return;localStorage.removeItem(e)}}if(o.hasClass("collapsible-filter--mobile-only")){const e=e=>{t.councilPlatform.setCollapsibleDetailsStatus(o,e)};n.addEventListener("change",t=>{e(t.matches)}),e(n.matches)}})}},t.behaviors.councilPlatformCalendarButtonSwitcher={attach(t){e(".calendar-btn-switch a",t).each(function(){const t=e(this),o=new URLSearchParams(window.location.search);if(o.delete("page"),o.size){let e=t.attr("href")||"";const l=new URL(t[0].href),n=new URLSearchParams(l.search.slice(1));o.forEach((e,t)=>{n.has(t)&&!t.endsWith("[]")||n.append(t,e)});const a=n.toString();[e]=e.split("?",1),e+=`?${a}`,t.attr("href",e)}})}},t.behaviors.councilPlatformVideoPauseBehaviour={attach(o){const l=e(".wp-block-cover:not(.no-video-btn) > video",o);if(!l.length)return;const n='<span class="fa fa-play fa-lg"></span>',a='<span class="fa fa-pause fa-lg"></span>';function r(e,o,l){const r=o.paused;e.attr("aria-label",r?t.t("Play the video"):t.t("Pause the video")),l&&e.html(r?n:a)}l.each(function(){const t=this,o=e(t),l=o.parent();l.addClass("wp-block-cover--has-toggle-btn");let s=l.find(".play-pause-toggle"),i=!1;s.length||(s=e("<button/>",{class:"govuk-button govuk-button--inverse play-pause-toggle",html:t.paused?n:a}),i=!0,o.after(s)),r(s,t,i),o.on("play",()=>
259{r(s,t,i)}),o.on("pause",()=>{r(s,t,i)}),s.on("click",e=>(e.preventDefault(),t.paused?t.play():t.pause(),!1))})}},t.behaviors.councilPlatformVideoFullscreenBehaviour={attach(t){const o=e(".wp-block-cover > video",t);if(!o.length)return;const l=e("body");o.each(function(){const t=this,o=e(t);o.on("fullscreenchange",()=>{document.fullscreenElement===t?l.addClass("is-fullscreen-cover-video"):(l.removeClass("is-fullscreen-cover-video"),t.controls=!1)}),o.closest(".wp-block-cover").find(".watch-fullscreen-video, .watch-fullscreen-video a").on("click",e=>(e.stopPropagation(),t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen&&t.msRequestFullscreen(),t.muted=!1,t.controls=!0,!1))})}}})(window.jQuery,window.Drupal,window.drupalSettings,window.once);;
260(function(Drupal,drupalSettings,$){if(typeof _paq!=='undefined'&&Array.isArray(_paq)){_paq.push(['requireCookieConsent']);var $document=$(document);$document.ready(function(){if(Drupal.eu_cookie_compliance&&Drupal.eu_cookie_compliance.hasAgreed())_paq.push(['setCookieConsentGiven']);});var cookieValueRevoked=null;var cookieValueDisagreed=(typeof drupalSettings.eu_cookie_compliance.cookie_value_disagreed==='undefined'||drupalSettings.eu_cookie_compliance.cookie_value_disagreed==='')?'0':drupalSettings.eu_cookie_compliance.cookie_value_disagreed;var cookieValueAgreedShowThankYou=(typeof drupalSettings.eu_cookie_compliance.cookie_value_agreed_show_thank_you==='undefined'||drupalSettings.eu_cookie_compliance.cookie_value_agreed_show_thank_you==='')?'1':drupalSettings.eu_cookie_compliance.cookie_value_agreed_show_thank_you;var cookieValueAgreed=(typeof drupalSettings.eu_cookie_compliance.cookie_value_agreed==='undefined'||drupalSettings.eu_cookie_compliance.cookie_value_agreed==='')?'2':drupalSettings.eu_cookie_compliance.cookie_value_agreed;$document.on('eu_cookie_compliance.changeStatus',function(event,status){switch(status){case cookieValueRevoked:case cookieValueDisagreed:_paq.push(['forgetCookieConsentGiven']);break;case cookieValueAgreedShowThankYou:case cookieValueAgreed:_paq.push(['rememberCookieConsentGiven']);break;default:console.error('CP Cookie Compliance: EU Cookie Compliance status unknown',status);}});}})(Drupal,drupalSettings,jQuery);;
261!function(_,u,l){"use strict";var t,p=void 0===l.eu_cookie_compliance.cookie_value_disagreed||""===l.eu_cookie_compliance.cookie_value_disagreed?"0":l.eu_cookie_compliance.cookie_value_disagreed,r=void 0===l.eu_cookie_compliance.cookie_value_agreed_show_thank_you||""===l.eu_cookie_compliance.cookie_value_agreed_show_thank_you?"1":l.eu_cookie_compliance.cookie_value_agreed_show_thank_you,s=void 0===l.eu_cookie_compliance.cookie_value_agreed||""===l.eu_cookie_compliance.cookie_value_agreed?"2":l.eu_cookie_compliance.cookie_value_agreed;function m(e,o,i){var c="",n=(void 0!==i.expires&&("number"==typeof i.expires&&(n=new Date,i.expires=n.setTime(n.getTime()+24*i.expires*60*60*1e3)),c="; expires="+i.expires.toUTCString()),void 0===i.path?"/":i.path),a="";void 0!==i.domain&&(a="; domain="+i.domain),document.cookie=e+"="+(o||"")+c+"; path="+n+a+"; SameSite=Strict"}function a(e){var o=document.cookie.split(";");if(void 0===e)return o;for(var i=e+"=",c=0;c<o.length;c++){for(var n=o[c];" "==n.charAt(0);)n=n.substring(1,n.length);if(0==n.indexOf(i))return n.substring(i.length,n.length)}return null}function k(e){document.cookie=e+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"}u.behaviors.euCookieCompliancePopup={attach:function(e){if(void 0!==l.eu_cookie_compliance){const i=document.querySelector(l.eu_cookie_compliance.containing_element);var o;i.getAttribute("data-eu-cookie-compliance-once")||(i.setAttribute("data-eu-cookie-compliance-once","true"),g=d.getCurrentStatus(),h=d.getAcceptedCategories(),l.eu_cookie_compliance.popup_eu_only_js?u.eu_cookie_compliance.showBanner()&&(o=l.path.baseUrl+l.path.pathPrefix+"eu-cookie-compliance-check",_.getJSON(o,{},function(e){e.in_eu?u.eu_cookie_compliance.execute():(u.eu_cookie_compliance.setStatus(s),l.eu_cookie_compliance.geoip_match=!1,c||"function"!=typeof euCookieComplianceLoadScripts||euCookieComplianceLoadScripts(),"categories"===l.eu_cookie_compliance.method&&(e=l.eu_cookie_compliance.cookie_categories,u.eu_cookie_compliance.setAcceptedCategories(e),u.eu_cookie_compliance.loadCategoryScripts(e)))})):l.eu_cookie_compliance.hide_the_banner||u.eu_cookie_compliance.execute(),_(i).addClass("eu-cookie-compliance-status-"+u.eu_cookie_compliance.getCurrentStatus()))}}},u.eu_cookie_compliance=u.eu_cookie_compliance||function(){(u.eu_cookie_compliance.queue=u.eu_cookie_compliance.queue||[]).push(arguments)},u.eu_cookie_compliance.a=+new Date;var d=u.eu_cookie_compliance,h=[],g=null,c=(d.updateSelectedCategories=function(e){h=e},d.updateCurrentStatus=function(e){g=e},u.eu_cookie_compliance.execute=function(){try{var e,o,i;l.eu_cookie_compliance.popup_enabled&&u.eu_cookie_compliance.cookiesEnabled()&&l.eu_cookie_compliance.modules_allow_popup&&(g=u.eu_cookie_compliance.getCurrentStatus(),void 0===u.eu_cookie_compliance.getVersion()&&u.eu_cookie_compliance.setVersion("unknown"),!0===l.eu_cookie_compliance.popup_eu_only&&!0!==l.eu_cookie_compliance.geoip_match||(e=u.eu_cookie_compliance.getVersion()!==l.eu_cookie_compliance.cookie_policy_version,o=void 0===l.eu_cookie_compliance.cookie_name||""===l.eu_cookie_compliance.cookie_name?"cookie-agreed":l.eu_cookie_compliance.cookie_name,i=!l.eu_cookie_compliance.open_by_default||null!==g&&!e||"null"===a(o)&&l.eu_cookie_compliance.settings_tab_enabled,g!==p||!l.eu_cookie_compliance.settings_tab_enabled||"opt_in"!==l.eu_cookie_compliance.method&&"categories"!==l.eu_cookie_compliance.method?g===p&&"default"===l.eu_cookie_compliance.method||null===g||g!==p&&l.eu_cookie_compliance.withdraw_enabled&&l.eu_cookie_compliance.withdraw_button_on_info_popup||g!==p&&e?!l.eu_cookie_compliance.withdraw_enabled&&l.eu_cookie_compliance.disagree_do_not_show_popup&&null!==g||(window.matchMedia("(max-width: "+l.eu_cookie_compliance.mobile_breakpoint+"px)").matches&&l.eu_cookie_compliance.use_mobile_message?u.eu_cookie_compliance.createPopup(l.eu_cookie_compliance.mobile_popup_html_info,i):u.eu_cookie_compliance.createPopup(l.eu_cookie_compliance.popup_html_info,i),u.eu_cookie_compliance.initPopup(),u.eu_cookie_compliance.resizeListener()):g===r&&l.eu_cookie_compliance.popup_agreed_enabled?(u.eu_cookie_compliance.createPopup(l.eu_cookie_compliance.popup_html_agreed),u.eu_cookie_compliance.attachHideEvents()):g===s&&l.eu_cookie_compliance.withdraw_enabled&&!l.eu_cookie_compliance.withdraw_button_on_info_popup&&(u.eu_cookie_compliance.createWithdrawBanner(l.eu_cookie_compliance.withdraw_markup),u.eu_cookie_compliance.initPopup(),u.eu_cookie_compliance.resizeListener()):(u.eu_cookie_compliance.createPopup(l.eu_cookie_compliance.popup_html_info,null!==g),_(".eu-cookie-withdraw-tab").click(u.eu_cookie_compliance.toggleWithdrawBanner),u.eu_cookie_compliance.attachAgreeEvents())))}catch(e){}},u.eu_cookie_compliance.initPopup=function(){u.eu_cookie_compliance.attachAgreeEvents(),"categories"===l.eu_cookie_compliance.method&&(u.eu_cookie_compliance.setPreferenceCheckboxes(h),u.eu_cookie_compliance.attachSavePreferencesEvents()),l.eu_cookie_compliance.withdraw_enabled&&(u.eu_cookie_compliance.attachWithdrawEvents(),g!==r&&g!==s||(_(".eu-cookie-withdraw-button").removeClass("visually-hidden"),_(".eu-cookie-compliance-reject-button").addClass("visually-hidden")))},u.eu_cookie_compliance.positionTab=function(){if(l.eu_cookie_compliance.popup_position){let e=_(".eu-cookie-withdraw-tab").outerHeight();_("#sliding-popup").length&&(e+=_("#sliding-popup").outerHeight()),_(".eu-cookie-withdraw-wrapper").length?_(".eu-cookie-withdraw-tab").css("margin-top","0"):_(".eu-cookie-withdraw-tab").css("margin-top",e+"px")}},u.eu_cookie_compliance.createWithdrawBanner=function(e){var o=_("<div></div>").html(e),e=_(".eu-cookie-withdraw-banner",o),i=(o.attr({id:"sliding-popup",role:"alertdialog","aria-describedby":"popup-text","aria-label":u.t("Cookie compliance banner")}),o.addClass("eu-cookie-withdraw-wrapper"),o.trigger("eu_cookie_compliance_popup_close"),l.eu_cookie_compliance.popup_use_bare_css||l.eu_cookie_compliance.popup_use_olivero_css||e.height(l.eu_cookie_compliance.popup_height).width(l.eu_cookie_compliance.popup_width),o.hide(),0);l.eu_cookie_compliance.popup_position?(o.prependTo(l.eu_cookie_compliance.containing_element),i=parseInt(o.outerHeight()),o.show().addClass("sliding-popup-top").addClass("clearfix").css({top:u.eu_cookie_compliance.getBannerTopHiddenPosition(i)}),setTimeout(function(){var e=o.outerHeight();o.animate({top:u.eu_cookie_compliance.getBannerTopHiddenPosition(e)},l.eu_cookie_compliance.popup_delay,null),l.eu_cookie_compliance.fixed_top_position||_("body").animate({"margin-top":-e+"px"})}.bind(o),0)):(l.eu_cookie_compliance.better_support_for_screen_readers?o.prependTo(l.eu_cookie_compliance.containing_element):o.appendTo(l.eu_cookie_compliance.containing_element),i=o.outerHeight(),o.show().addClass("sliding-popup-bottom").css({bottom:-1*i}),setTimeout(function(){var e=o.outerHeight();o.animate({bottom:-1*e},l.eu_cookie_compliance.popup_delay,null)}.bind(o),0)),_("body").removeClass("eu-cookie-compliance-popup-open"),e.attr("aria-hidden",!0).find("a, button, input").attr("tabindex",-1)},u.eu_cookie_compliance.getBannerTopPosition=function(e){let o;return l.eu_cookie_compliance.fixed_top_position?(o=0,_(".toolbar-tray-horizontal.is-active").length&&(o+=parseInt(_(".toolbar-tray-horizontal.is-active").css("height"))),_(".toolbar-bar").length&&!_("#gin-toolbar-bar").length&&(o+=parseInt(_(".toolbar-bar").css("height"))),o+"px"):0},u.eu_cookie_compliance.getBannerTopHiddenPosition=function(e){let o=0;return l.eu_cookie_compliance.fixed_top_position?o=-e:(_(".toolbar-tray-horizontal.is-active").length&&(o=-parseInt(_(".toolbar-tray-horizontal.is-active").css("height"))),_(".toolbar-bar").length&&!_("#gin-toolbar-bar").length&&(o-=parseInt(_(".toolbar-bar").css("height")))),o+"px"},u.eu_cookie_compliance.getBannerBottomHiddenPosition=function(){return-_("#sliding-popup").outerHeight()+"px"},u.eu_cookie_compliance.toggleWithdrawBanner=function(){var e,o,i,c=_("#sliding-popup"),n=parseInt(c.outerHeight()),a=c.find(".eu-cookie-compliance-banner, .eu-cookie-withdraw-banner").is(":visible");a&&(e=parseInt(c.css("top")),o=parseInt(_(l.eu_cookie_compliance.containing_element).css("padding-top")),i=parseInt(_(l.eu_cookie_compliance.containing_element).css("margin-top")),a=l.eu_cookie_compliance.popup_position?l.eu_cookie_compliance.fixed_top_position?!(e===-n):!(e===-(o+i+n)):0===parseInt(c.css("bottom"))),l.eu_cookie_compliance.popup_position?a?(l.eu_cookie_compliance.fixed_top_position||_("body").animate({"margin-top":-n+"px"},l.eu_cookie_compliance.popup_delay),c.animate({top:u.eu_cookie_compliance.getBannerTopHiddenPosition(n)},l.eu_cookie_compliance.popup_delay).trigger("eu_cookie_compliance_popup_close")):(l.eu_cookie_compliance.fixed_top_position||_("body").animate({"margin-top":"0px"},l.eu_cookie_compliance.popup_delay),c.find(".eu-cookie-compliance-banner").show(),c.animate({top:u.eu_cookie_compliance.getBannerTopPosition(n)},l.eu_cookie_compliance.popup_delay).trigger("eu_cookie_compliance_popup_open")):a?c.animate({bottom:-1*n},l.eu_cookie_compliance.popup_delay).trigger("eu_cookie_compliance_popup_close"):(c.find(".eu-cookie-compliance-banner").show(),c.animate({bottom:0},l.eu_cookie_compliance.popup_delay).trigger("eu_cookie_compliance_popup_open")),a?(_("body").removeClass("eu-cookie-compliance-popup-open"),_(".eu-cookie-compliance-banner, .eu-cookie-withdraw-banner").attr("aria-hidden",!0).find("a, button, input").attr("tabindex",-1)):(_("body").addClass("eu-cookie-compliance-popup-open"),_(".eu-cookie-compliance-banner, .eu-cookie-withdraw-banner").attr("aria-hidden",!1).find("a, button, input").attr("tabindex",0))},u.eu_cookie_compliance.resizeListener=function(){var e,o,i,c=_("#sliding-popup"),n=(e=function(){var e=c.outerHeight();l.eu_cookie_compliance.popup_position?(parseFloat(c.css("top"))<0&&(_("body").hasClass("eu-cookie-compliance-popup-open")?(l.eu_cookie_compliance.fixed_top_position||_("body").css({"margin-top":"0px"}),c.css("top",u.eu_cookie_compliance.getBannerTopPosition(e))):(l.eu_cookie_compliance.fixed_top_position||_("body").css({"margin-top":-e+"px"}),c.css("top",u.eu_cookie_compliance.getBannerTopHiddenPosition(e)))),u.eu_cookie_compliance.positionTab()):0!==parseFloat(c.css("bottom"))&&c.css("bottom",-1*e),u.eu_cookie_compliance.positionTab()},o=50,function(){clearTimeout(i),i=setTimeout(function(){clearTimeout(i),e()},o)});setTimeout(function(){n()}),window.addEventListener("resize",n)},u.eu_cookie_compliance.createPopup=function(e,o){var i=_("<div></div>").html(e),e=(i.attr({id:"sliding-popup",role:"alertdialog","aria-describedby":"popup-text","aria-label":u.t("Cookie compliance banner")}),l.eu_cookie_compliance.popup_use_bare_css||l.eu_cookie_compliance.popup_use_olivero_css||i.height(l.eu_cookie_compliance.popup_height).width(l.eu_cookie_compliance.popup_width),i.hide(),0);l.eu_cookie_compliance.popup_position?(i.prependTo(l.eu_cookie_compliance.containing_element),e=i.outerHeight(),i.addClass("sliding-popup-top clearfix").css({top:u.eu_cookie_compliance.getBannerTopHiddenPosition(e)}),!0!==o?(i.show(),i.animate({top:u.eu_cookie_compliance.getBannerTopPosition(e)},l.eu_cookie_compliance.popup_delay,null,function(){i.trigger("eu_cookie_compliance_popup_open"),u.eu_cookie_compliance.positionTab()})):(l.eu_cookie_compliance.fixed_top_position||_("body").css({"margin-top":-e+"px"}),setTimeout(function(){i.show(),u.eu_cookie_compliance.positionTab()},0))):(l.eu_cookie_compliance.better_support_for_screen_readers?i.prependTo(l.eu_cookie_compliance.containing_element):i.appendTo(l.eu_cookie_compliance.containing_element),e=i.outerHeight(),i.show().addClass("sliding-popup-bottom").css({bottom:-1*e}),!0!==o&&i.animate({bottom:0},l.eu_cookie_compliance.popup_delay,null,function(){i.trigger("eu_cookie_compliance_popup_open")})),!0!==o?(_("body").addClass("eu-cookie-compliance-popup-open"),_(".eu-cookie-compliance-banner, .eu-cookie-withdraw-banner").attr("aria-hidden",!1).find("a, button, input").attr("tabindex",0)):(_("body").removeClass("eu-cookie-compliance-popup-open"),_(".eu-cookie-compliance-banner, .eu-cookie-withdraw-banner").attr("aria-hidden",!0).find("a, button, input").attr("tabindex",-1))},u.eu_cookie_compliance.attachAgreeEvents=function(){var e,o,i=l.eu_cookie_compliance.popup_clicking_confirmation,c=l.eu_cookie_compliance.popup_scrolling_confirmation;"categories"===l.eu_cookie_compliance.method&&l.eu_cookie_compliance.enable_save_preferences_button?_(".agree-button").click(u.eu_cookie_compliance.acceptAllAction):_(".agree-button").click(u.eu_cookie_compliance.acceptAction),_(".decline-button").click(u.eu_cookie_compliance.declineAction),_(".eu-cookie-compliance-close-button").click(u.eu_cookie_compliance.closeAction),_(".eu-cookie-compliance-reject-button").click(u.eu_cookie_compliance.rejectAllAction),i&&_("a, input[type=submit], button[type=submit]").not(".popup-content *").bind("click.euCookieCompliance",u.eu_cookie_compliance.acceptAction),c&&(e=!1,o=function(){e?(u.eu_cookie_compliance.acceptAction(),_(window).off("scroll",o)):e=!0},_(window).bind("scroll",o)),_(".find-more-button").not(".find-more-button-processed").addClass("find-more-button-processed").click(u.eu_cookie_compliance.moreInfoAction)},u.eu_cookie_compliance.closeAction=function(){switch(l.eu_cookie_compliance.close_button_action){case"close_banner":u.eu_cookie_compliance.toggleWithdrawBanner();break;case"save_preferences":u.eu_cookie_compliance.savePreferencesAction();break;case"reject_all_cookies":u.eu_cookie_compliance.rejectAllAction();break;case"accept_all_cookies":u.eu_cookie_compliance.acceptAllAction()}},u.eu_cookie_compliance.attachSavePreferencesEvents=function(){_(".eu-cookie-compliance-save-preferences-button").click(u.eu_cookie_compliance.savePreferencesAction)},u.eu_cookie_compliance.attachHideEvents=function(){var e=l.eu_cookie_compliance.popup_hide_agreed,o=l.eu_cookie_compliance.popup_clicking_confirmation;_(".hide-popup-button").click(function(){u.eu_cookie_compliance.changeStatus(s)}),o&&_("a, input[type=submit], button[type=submit]").unbind("clic
261k.euCookieCompliance"),e&&_("a, input[type=submit], button[type=submit]").bind("click.euCookieComplianceHideAgreed",function(){u.eu_cookie_compliance.changeStatus(s)}),_(".find-more-button").not(".find-more-button-processed").addClass("find-more-button-processed").click(u.eu_cookie_compliance.moreInfoAction)},u.eu_cookie_compliance.attachWithdrawEvents=function(){_(".eu-cookie-withdraw-button").click(u.eu_cookie_compliance.withdrawAction),_(".eu-cookie-withdraw-tab").click(u.eu_cookie_compliance.toggleWithdrawBanner)},u.eu_cookie_compliance.acceptAction=function(){var e=l.eu_cookie_compliance.popup_agreed_enabled,o=r;e||(u.eu_cookie_compliance.setStatus(r),o=s),c||"function"!=typeof euCookieComplianceLoadScripts||euCookieComplianceLoadScripts(),void 0!==t&&clearInterval(t),"categories"===l.eu_cookie_compliance.method&&(e=_("#eu-cookie-compliance-categories input:checkbox:checked").map(function(){return _(this).val()}).get(),u.eu_cookie_compliance.setAcceptedCategories(e),u.eu_cookie_compliance.loadCategoryScripts(e),e.length||(o=p)),u.eu_cookie_compliance.changeStatus(o),l.eu_cookie_compliance.withdraw_enabled&&l.eu_cookie_compliance.withdraw_button_on_info_popup&&(u.eu_cookie_compliance.attachWithdrawEvents(),g!==r&&g!==s||(_(".eu-cookie-withdraw-button").removeClass("visually-hidden"),_(".eu-cookie-compliance-reject-button").addClass("visually-hidden")))},u.eu_cookie_compliance.acceptAllAction=function(){var e=l.eu_cookie_compliance.cookie_categories;u.eu_cookie_compliance.setPreferenceCheckboxes(e),u.eu_cookie_compliance.acceptAction()},u.eu_cookie_compliance.rejectAllAction=function(){u.eu_cookie_compliance.setStatus(p),u.eu_cookie_compliance.setPreferenceCheckboxes([]),u.eu_cookie_compliance.acceptAction()},u.eu_cookie_compliance.savePreferencesAction=function(){var e=_("#eu-cookie-compliance-categories input:checkbox:checked").map(function(){return _(this).val()}).get(),o=l.eu_cookie_compliance.popup_agreed_enabled,i=r;o||(u.eu_cookie_compliance.setStatus(r),i=s),c||"function"!=typeof euCookieComplianceLoadScripts||euCookieComplianceLoadScripts(),c=!0,u.eu_cookie_compliance.setAcceptedCategories(e),u.eu_cookie_compliance.loadCategoryScripts(e),e.length||(i=p),u.eu_cookie_compliance.changeStatus(i)},u.eu_cookie_compliance.loadCategoryScripts=function(e){for(var o in e)!0!==i[e[o]]&&"function"==typeof euCookieComplianceLoadScripts&&(euCookieComplianceLoadScripts(e[o]),i[e[o]]=!0)},u.eu_cookie_compliance.declineAction=function(){parseInt(l.eu_cookie_compliance.set_cookie_session_zero_on_disagree)&&(l.eu_cookie_compliance.cookie_session=1),u.eu_cookie_compliance.setStatus(p);var e,o=_("#sliding-popup");(o.hasClass("sliding-popup-top")?(e=o.outerHeight(),l.eu_cookie_compliance.fixed_top_position||_("body").animate({"margin-top":-e+"px"},l.eu_cookie_compliance.popup_delay),l.eu_cookie_compliance.settings_tab_enabled?o.animate({top:u.eu_cookie_compliance.getBannerTopHiddenPosition(e)},l.eu_cookie_compliance.popup_delay,null):o.animate({top:u.eu_cookie_compliance.getBannerTopHiddenPosition(e)},l.eu_cookie_compliance.popup_delay,null,function(){l.eu_cookie_compliance.fixed_top_position||_("body").css({"margin-top":0}),o.hide()})):l.eu_cookie_compliance.settings_tab_enabled?o.animate({bottom:-1*o.outerHeight()},l.eu_cookie_compliance.popup_delay,null):o.animate({bottom:-1*o.outerHeight()},l.eu_cookie_compliance.popup_delay,null,function(){o.hide()})).trigger("eu_cookie_compliance_popup_close"),_("body").removeClass("eu-cookie-compliance-popup-open"),_(".eu-cookie-compliance-banner, .eu-cookie-withdraw-banner").attr("aria-hidden",!0).find("a, button, input").attr("tabindex",-1)},u.eu_cookie_compliance.withdrawAction=function(){parseInt(l.eu_cookie_compliance.set_cookie_session_zero_on_disagree)&&(l.eu_cookie_compliance.cookie_session=1),u.eu_cookie_compliance.setStatus(null),u.eu_cookie_compliance.setAcceptedCategories([]),location.reload()},u.eu_cookie_compliance.moreInfoAction=function(){l.eu_cookie_compliance.disagree_do_not_show_popup?(u.eu_cookie_compliance.setStatus(p),l.eu_cookie_compliance.withdraw_enabled&&l.eu_cookie_compliance.withdraw_button_on_info_popup?_("#sliding-popup .eu-cookie-compliance-banner").trigger("eu_cookie_compliance_popup_close").hide():_("#sliding-popup").trigger("eu_cookie_compliance_popup_close").remove(),_("body").removeClass("eu-cookie-compliance-popup-open"),_(".eu-cookie-compliance-banner, .eu-cookie-withdraw-banner").attr("aria-hidden",!0).find("a, button, input").attr("tabindex",-1)):l.eu_cookie_compliance.popup_link_new_window?window.open(l.eu_cookie_compliance.popup_link):window.location.href=l.eu_cookie_compliance.popup_link},u.eu_cookie_compliance.getCookieStatus=function(){var e=a(void 0===l.eu_cookie_compliance.cookie_name||""===l.eu_cookie_compliance.cookie_name?"cookie-agreed":l.eu_cookie_compliance.cookie_name);return e=void 0!==e&&"null"!==e?e:null},u.eu_cookie_compliance.getCurrentStatus=function(){var e=new o,e=(d.handleEvent("preStatusLoad",e),g=u.eu_cookie_compliance.getCookieStatus(),new n);return d.handleEvent("postStatusLoad",e),g},u.eu_cookie_compliance.setPreferenceCheckboxes=function(e){for(var o in null===u.eu_cookie_compliance.getCookieStatus()&&u.eu_cookie_compliance.getCookieStatus()!==p||_("#eu-cookie-compliance-categories input:checkbox").not(":disabled").prop("checked",!1),e){o=document.getElementById("cookie-category-"+e[o]);null!==o&&(o.checked=!0)}},u.eu_cookie_compliance.getAcceptedCategories=function(){var e=new C;d.handleEvent("prePreferencesLoad",e);var o,e=a(void 0===l.eu_cookie_compliance.cookie_name||""===l.eu_cookie_compliance.cookie_name?"cookie-agreed-categories":l.eu_cookie_compliance.cookie_name+"-categories");for(o in h=null!=e?(-1!==e.indexOf("%")&&(e=decodeURI(e).replaceAll(/%2C/g,",")),JSON.parse(e)):[],l.eu_cookie_compliance.cookie_categories_details){var i=l.eu_cookie_compliance.cookie_categories_details[o];"required"===i.checkbox_default_state&&-1===_.inArray(i.id,h)&&h.push(i.id)}e=new S;return d.handleEvent("postPreferencesLoad",e),h},u.eu_cookie_compliance.changeStatus=function(o){var e,i=l.eu_cookie_compliance.reload_page,c=g;if(g!==parseInt(o)){if(l.eu_cookie_compliance.popup_position){let e=_("#sliding-popup").outerHeight();l.eu_cookie_compliance.fixed_top_position||_("body").animate({"margin-top":-e+"px"},l.eu_cookie_compliance.popup_delay),_(".sliding-popup-top").animate({top:u.eu_cookie_compliance.getBannerTopHiddenPosition(e)},l.eu_cookie_compliance.popup_delay,function(){o!==r||null!==c||i?c===r&&(l.eu_cookie_compliance.withdraw_enabled&&l.eu_cookie_compliance.withdraw_button_on_info_popup?(_("#sliding-popup").hide(),window.matchMedia("(max-width: "+l.eu_cookie_compliance.mobile_breakpoint+"px)").matches&&l.eu_cookie_compliance.use_mobile_message?_(".sliding-popup-top").not(".eu-cookie-withdraw-wrapper").html(l.eu_cookie_compliance.mobile_popup_html_info):_(".sliding-popup-top").not(".eu-cookie-withdraw-wrapper").html(l.eu_cookie_compliance.popup_html_info),e=_("#sliding-popup").outerHeight(),l.eu_cookie_compliance.fixed_top_position||_("body").animate({"margin-top":-e+"px"},l.eu_cookie_compliance.popup_delay),_(".sliding-popup-top").css("top",u.eu_cookie_compliance.getBannerTopHiddenPosition(e)),_(".sliding-popup-top").not(".eu-cookie-withdraw-wrapper").trigger("eu_cookie_compliance_popup_close"),u.eu_cookie_compliance.initPopup(),u.eu_cookie_compliance.resizeListener(),_("#sliding-popup").show()):(_(".sliding-popup-top").not(".eu-cookie-withdraw-wrapper").trigger("eu_cookie_compliance_popup_close").remove(),_("body").css({"margin-top":"0px"})),_("body").removeClass("eu-cookie-compliance-popup-open"),_(".eu-cookie-compliance-banner, .eu-cookie-withdraw-banner").attr("aria-hidden",!0).find("a, button, input").attr("tabindex",-1)):(l.eu_cookie_compliance.fixed_top_position||_("body").animate({"margin-top":"0px"},l.eu_cookie_compliance.popup_delay),_(".sliding-popup-top").not(".eu-cookie-withdraw-wrapper").html(l.eu_cookie_compliance.popup_html_agreed).animate({top:u.eu_cookie_compliance.getBannerTopPosition(e)},l.eu_cookie_compliance.popup_delay),u.eu_cookie_compliance.attachHideEvents()),l.eu_cookie_compliance.withdraw_enabled&&!l.eu_cookie_compliance.withdraw_button_on_info_popup&&u.eu_cookie_compliance.showWithdrawBanner(o)})}else _(".sliding-popup-bottom").animate({bottom:-1*_("#sliding-popup").outerHeight()},l.eu_cookie_compliance.popup_delay,function(){o!==r||null!==c||i?c===r&&(_("#sliding-popup").css("display","none"),l.eu_cookie_compliance.withdraw_enabled&&l.eu_cookie_compliance.withdraw_button_on_info_popup?(window.matchMedia("(max-width: "+l.eu_cookie_compliance.mobile_breakpoint+"px)").matches&&l.eu_cookie_compliance.use_mobile_message?_(".sliding-popup-bottom").not(".eu-cookie-withdraw-wrapper").html(l.eu_cookie_compliance.mobile_popup_html_info):_(".sliding-popup-bottom").not(".eu-cookie-withdraw-wrapper").html(l.eu_cookie_compliance.popup_html_info),_(".sliding-popup-bottom").css("bottom",u.eu_cookie_compliance.getBannerBottomHiddenPosition()),_(".sliding-popup-bottom").not(".eu-cookie-withdraw-wrapper").trigger("eu_cookie_compliance_popup_close"),u.eu_cookie_compliance.initPopup(),u.eu_cookie_compliance.resizeListener(),_("#sliding-popup").css("display","block")):_(".sliding-popup-bottom").not(".eu-cookie-withdraw-wrapper").trigger("eu_cookie_compliance_popup_close").remove(),_("body").removeClass("eu-cookie-compliance-popup-open"),_(".eu-cookie-compliance-banner, .eu-cookie-withdraw-banner").attr("aria-hidden",!0).find("a, button, input").attr("tabindex",-1)):(_(".sliding-popup-bottom").not(".eu-cookie-withdraw-wrapper").html(l.eu_cookie_compliance.popup_html_agreed).animate({bottom:0},l.eu_cookie_compliance.popup_delay),u.eu_cookie_compliance.attachHideEvents()),l.eu_cookie_compliance.withdraw_enabled&&!l.eu_cookie_compliance.withdraw_button_on_info_popup&&u.eu_cookie_compliance.showWithdrawBanner(o)});if(l.eu_cookie_compliance.reload_page)if(0!==(e=l.eu_cookie_compliance.reload_routes_list).length){for(var n=l.path.currentPath,a=!1,t=0;!a&&t<e.length;t++)var p=new RegExp(e[t],"g"),a=null!==n.match(p);(a&&!l.eu_cookie_compliance.reload_options||!a&&l.eu_cookie_compliance.reload_options)&&location.reload()}else location.reload();u.eu_cookie_compliance.setStatus(o)}},u.eu_cookie_compliance.showWithdrawBanner=function(e){e===s&&l.eu_cookie_compliance.withdraw_enabled&&(l.eu_cookie_compliance.withdraw_button_on_info_popup||(u.eu_cookie_compliance.createWithdrawBanner(l.eu_cookie_compliance.withdraw_markup),u.eu_cookie_compliance.resizeListener()),u.eu_cookie_compliance.attachWithdrawEvents(),l.eu_cookie_compliance.popup_position&&u.eu_cookie_compliance.positionTab())},u.eu_cookie_compliance.setStatus=function(e){var o=new b,o=(d.handleEvent("preStatusSave",o),new Date),i=l.eu_cookie_compliance.domain||"",c=l.eu_cookie_compliance.domain_all_sites?"/":l.path.baseUrl,n=void 0===l.eu_cookie_compliance.cookie_name||""===l.eu_cookie_compliance.cookie_name?"cookie-agreed":l.eu_cookie_compliance.cookie_name;1<c.length&&(a=c.length-1,c.lastIndexOf("/")===a&&(c=c.substring(0,a)));parseInt(l.eu_cookie_compliance.cookie_session)?m(n,e,{path:c,domain:i,sameSite:"strict"}):(a=parseInt(l.eu_cookie_compliance.cookie_lifetime),o.setDate(o.getDate()+a),m(n,e,{expires:o,path:c,domain:i,sameSite:"strict"}));var a="eu-cookie-compliance-status-"+g,n="eu-cookie-compliance-status-"+e,c=(_("."+a).removeClass(a).addClass(n),g=e,_(document).trigger("eu_cookie_compliance.changeStatus",[e]),u.eu_cookie_compliance.setVersion(),l.eu_cookie_compliance.store_consent&&(e===r&&l.eu_cookie_compliance.popup_agreed_enabled||e===s&&!l.eu_cookie_compliance.popup_agreed_enabled)&&(o=l.path.baseUrl+l.path.pathPrefix+"eu-cookie-compliance/store_consent/banner",_.post(o,{},function(e){})),new v);d.handleEvent("postStatusSave",c),e===p&&"opt_out"===l.eu_cookie_compliance.method&&(t=setInterval(u.eu_cookie_compliance.BlockCookies,5e3))},u.eu_cookie_compliance.setAcceptedCategories=function(e){var o=new P,o=(d.handleEvent("prePreferencesSave",o),new Date),i=l.eu_cookie_compliance.domain||"",c=l.eu_cookie_compliance.domain_all_sites?"/":l.path.baseUrl,n=void 0===l.eu_cookie_compliance.cookie_name||""===l.eu_cookie_compliance.cookie_name?"cookie-agreed-categories":l.eu_cookie_compliance.cookie_name+"-categories",a=(1<c.length&&(a=c.length-1,c.lastIndexOf("/")===a&&(c=c.substring(0,a))),JSON.stringify(e)),t=(parseInt(l.eu_cookie_compliance.cookie_session)?m(n,a,{path:c,domain:i,sameSite:"strict"}):(t=parseInt(l.eu_cookie_compliance.cookie_lifetime),o.setDate(o.getDate()+t),m(n,a,{expires:o,path:c,domain:i,sameSite:"strict"}
261)),h=e,_(document).trigger("eu_cookie_compliance.changePreferences",[e]),new B);d.handleEvent("postPreferencesSave",t)},u.eu_cookie_compliance.hasAgreed=function(e){var o=g===r||g===s;return o=void 0!==e&&o&&"categories"===l.eu_cookie_compliance.method?u.eu_cookie_compliance.hasAgreedWithCategory(e):o},u.eu_cookie_compliance.hasAgreedWithCategory=function(e){return-1!==_.inArray(e,h)},u.eu_cookie_compliance.showBanner=function(){var e=!1;return g===p&&"default"===l.eu_cookie_compliance.method||null===g?l.eu_cookie_compliance.disagree_do_not_show_popup&&null!==g||(e=!0):(g===r&&l.eu_cookie_compliance.popup_agreed_enabled||g===s&&l.eu_cookie_compliance.withdraw_enabled)&&(e=!0),e},u.eu_cookie_compliance.cookiesEnabled=function(){var e=navigator.cookieEnabled;return void 0!==navigator.cookieEnabled||e||(date.setDate(date.getDate()+100),m("testcookie","testcookie",{expires:date,sameSite:"strict"}),e=-1!==a("testcookie").indexOf("testcookie")),e},u.eu_cookie_compliance.cookieMatches=function(e,o){if(e===o)return!0;if(o.indexOf("*")<0)return!1;try{return new RegExp("^"+o.replace(/\./g,"\\.").replace(/\*/g,".+")+"$","g").test(e)}catch(e){return!1}},u.eu_cookie_compliance.isAllowed=function(e){if(0===e.indexOf("SESS")||0===e.indexOf("SSESS"))return!0;var o,i=l.eu_cookie_compliance.allowed_cookies.split(/\r\n|\n|\r/g);for(o in i.push(void 0===l.eu_cookie_compliance.cookie_name||""===l.eu_cookie_compliance.cookie_name?"cookie-agreed":l.eu_cookie_compliance.cookie_name),i.push(void 0===l.eu_cookie_compliance.cookie_name||""===l.eu_cookie_compliance.cookie_name?"cookie-agreed-categories":l.eu_cookie_compliance.cookie_name+"-categories"),i.push(void 0===l.eu_cookie_compliance.cookie_name||""===l.eu_cookie_compliance.cookie_name?"cookie-agreed-version":l.eu_cookie_compliance.cookie_name+"-version"),i)if("string"==typeof i[o]){if(u.eu_cookie_compliance.cookieMatches(e,i[o]))return!0;if("categories"===l.eu_cookie_compliance.method){var c=i[o].indexOf(":");if(-1!==c){var n=i[o].substr(0,c),c=i[o].substr(c+1);if(u.eu_cookie_compliance.cookieMatches(e,c)&&u.eu_cookie_compliance.hasAgreedWithCategory(n))return!0}}}return!1},u.eu_cookie_compliance.getVersion=function(){return!!u.eu_cookie_compliance.hasAgreed()&&a(void 0===l.eu_cookie_compliance.cookie_name||""===l.eu_cookie_compliance.cookie_name?"cookie-agreed-version":l.eu_cookie_compliance.cookie_name+"-version")},!(u.eu_cookie_compliance.setVersion=function(e){if(!u.eu_cookie_compliance.hasAgreed())return!1;var o=new Date,i=l.eu_cookie_compliance.domain||"",c=l.eu_cookie_compliance.domain_all_sites?"/":l.path.baseUrl,n=void 0===l.eu_cookie_compliance.cookie_name||""===l.eu_cookie_compliance.cookie_name?"cookie-agreed-version":l.eu_cookie_compliance.cookie_name+"-version",a=(1<c.length&&(a=c.length-1,c.lastIndexOf("/")===a&&(c=c.substring(0,a))),void 0!==e?e:l.eu_cookie_compliance.cookie_policy_version);parseInt(l.eu_cookie_compliance.cookie_session)?m(n,a,{path:c,domain:i,sameSite:"strict"}):(e=parseInt(l.eu_cookie_compliance.cookie_lifetime),o.setDate(o.getDate()+e),m(n,a,{expires:o,path:c,domain:i,sameSite:"strict"}))})),i={},o=(_(function(){void 0!==l.eu_cookie_compliance&&(u.eu_cookie_compliance.hasAgreed()||null===g&&"opt_in"!==l.eu_cookie_compliance.method&&"categories"!==l.eu_cookie_compliance.method)&&("function"==typeof euCookieComplianceLoadScripts&&euCookieComplianceLoadScripts(),c=!0,"categories"===l.eu_cookie_compliance.method&&u.eu_cookie_compliance.loadCategoryScripts(h))}),u.eu_cookie_compliance.BlockCookies=function(){var e,o=u.eu_cookie_compliance.getCookieStatus();if(o!==r&&o!==s||"categories"===l.eu_cookie_compliance.method||void 0===t)for(e in a()){var i,c=window.location.hostname,n=!1;if(!u.eu_cookie_compliance.isAllowed(e)){for(;!n&&""!==c;)k(e),(n=!a(e))||(k(e),n=!a(e)),c=-1===(i=c.indexOf("."))?"":c.substring(i+1);n||(document.cookie=e+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/;")}}else clearInterval(t)},void 0===l.eu_cookie_compliance||!l.eu_cookie_compliance.automatic_cookies_removal||("opt_in"!==l.eu_cookie_compliance.method||null!==g&&u.eu_cookie_compliance.hasAgreed())&&("opt_out"!==l.eu_cookie_compliance.method||u.eu_cookie_compliance.hasAgreed()||null===g)&&"categories"!==l.eu_cookie_compliance.method||(t=setInterval(u.eu_cookie_compliance.BlockCookies,5e3)),d.handleEvent=function(e,o){for(var i=function(e){var o=[];if(void 0!==u.eu_cookie_compliance&&void 0!==u.eu_cookie_compliance.queue&&u.eu_cookie_compliance.queue.length)for(var i,c,n=0;n<u.eu_cookie_compliance.queue.length;n++)u.eu_cookie_compliance.queue[n].length&&(i=(c=u.eu_cookie_compliance.queue[n])[0],c=c[1],"string"==typeof i&&"function"==typeof c&&i===e&&o.push(c));return o}(e),c=0;c<i.length;c++)void 0!==i[c]&&(o.subscribe(i[c]),o.fire({currentStatus:g,currentCategories:h}),o.unsubscribe(i[c]))},(T=e.prototype).subscribe=function(e){this.handlers.push(e)},T.unsubscribe=function(o){this.handlers=this.handlers.filter(function(e){if(e!==o)return e})},T.fire=function(o,e){var i=e||window;
261this.handlers.forEach(function(e){e.call(i,o)})},e);function e(){this.handlers=[]}(T=f.prototype).subscribe=function(e){this.handlers.push(e)},T.unsubscribe=function(o){this.handlers=this.handlers.filter(function(e){if(e!==o)return e})},T.fire=function(o,e){var i=e||window;this.handlers.forEach(function(e){e.call(i,o)})};var n=f;function f(){this.handlers=[]}(T=w.prototype).subscribe=function(e){this.handlers.push(e)},T.unsubscribe=function(o){this.handlers=this.handlers.filter(function(e){if(e!==o)return e})},T.fire=function(o,e){var i=e||window;this.handlers.forEach(function(e){e.call(i,o)})};var b=w;function w(){this.handlers=[]}(T=y.prototype).subscribe=function(e){this.handlers.push(e)},T.unsubscribe=function(o){this.handlers=this.handlers.filter(function(e){if(e!==o)return e})},T.fire=function(o,e){var i=e||window;this.handlers.forEach(function(e){e.call(i,o)})};var v=y;function y(){this.handlers=[]}(T=x.prototype).subscribe=function(e){this.handlers.push(e)},T.unsubscribe=function(o){this.handlers=this.handlers.filter(function(e){if(e!==o)return e})},T.fire=function(o,e){var i=e||window;this.handlers.forEach(function(e){e.call(i,o)})};var C=x;function x(){this.handlers=[]}(T=A.prototype).subscribe=function(e){this.handlers.push(e)},T.unsubscribe=function(o){this.handlers=this.handlers.filter(function(e){if(e!==o)return e})},T.fire=function(o,e){var i=e||window;this.handlers.forEach(function(e){e.call(i,o)})};var S=A;function A(){this.handlers=[]}(T=E.prototype).subscribe=function(e){this.handlers.push(e)},T.unsubscribe=function(o){this.handlers=this.handlers.filter(function(e){if(e!==o)return e})},T.fire=function(o,e){var i=e||window;this.handlers.forEach(function(e){e.call(i,o)})};var P=E;function E(){this.handlers=[]}(T=H.prototype).subscribe=function(e){this.handlers.push(e)},T.unsubscribe=function(o){this.handlers=this.handlers.filter(function(e){if(e!==o)return e})},T.fire=function(o,e){var i=e||window;this.handlers.forEach(function(e){e.call(i,o)})};var T,B=H;function H(){this.handlers=[]}}(jQuery,Drupal,drupalSettings,window.Cookies);;
262(($,drupalSettings,_paq)=>{function defaultBind(){$(document.body).on('mousedown keyup touchstart',(event)=>{$(event.target).closest('a,area').each(function(){if(drupalSettings.matomo.trackMailto&&$(this).is("a[href^='mailto:'],area[href^='mailto:']"))_paq.push(['trackEvent','Mails','Click',this.href.substring(7)]);});});}$(document).ready(()=>{defaultBind();if(drupalSettings.matomo.trackColorbox)$(document).on('cbox_complete',()=>{const href=$.colorbox.element().attr('href');if(href){_paq.push(['setCustomUrl',href]);if(drupalSettings.matomo.disableCookies)_paq.push(['disableCookies']);_paq.push(['trackPageView']);}});});})(jQuery,drupalSettings,_paq);;
263;
264(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);;
265/* @license MIT https://raw.githubusercontent.com/muicss/loadjs/4.3.0/LICENSE.txt */
266loadjs=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}
266function 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;for(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}();;
267/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
268Drupal.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;};};;
269(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);;
270((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})=>
270{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);;
271((Drupal)=>{Drupal.theme.ajaxProgressIndicatorFullscreen=()=>'<div class="ajax-progress ajax-progress--fullscreen"><div class="ajax-progress__throbber ajax-progress__throbber--fullscreen">&nbsp;</div></div>';Drupal.theme.ajaxProgressThrobber=(message)=>{const messageMarkup=typeof message==='string'?Drupal.theme('ajaxProgressMessage',message):'';const throbber='<div class="ajax-progress__throbber">&nbsp;</div>';return `<div class="ajax-progress ajax-progress--throbber">${throbber}${messageMarkup}</div>`;};Drupal.theme.ajaxProgressMessage=(message)=>`<div class="ajax-progress__message">${message}</div>`;})(Drupal);;
272(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}`;once('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)=>
272{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[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[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;$(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[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
272d}`,$.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));
272$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);;
273(($)=>{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>
2730&&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(' ');
273if(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);;
274(($,Drupal,drupalSettings,once)=>{if(!Drupal.autocomplete)return;const autocomplete={};autocomplete.getSettings=(input,globalSettings)=>{globalSettings=globalSettings||drupalSettings||{};const settings={auto_submit:false,delay:0,min_length:1,selector:':submit'};const search=$(input).data('search-api-autocomplete-search');if(search&&globalSettings.search_api_autocomplete&&globalSettings.search_api_autocomplete[search])$.extend(settings,globalSettings.search_api_autocomplete[search]);return settings;};Drupal.behaviors.searchApiAutocomplete={attach(context,settings){const s='.ui-autocomplete-input[data-search-api-autocomplete-search]';$(once('search-api-autocomplete',s,context)).each(function foreach(){const uiAutocomplete=$(this).data('ui-autocomplete');if(!uiAutocomplete)return;const $element=uiAutocomplete.menu.element;$element.data('search-api-autocomplete-input-id',this.id);$element.addClass('search-api-autocomplete-search');$element.attr('tabindex','-1');const elementSettings=autocomplete.getSettings(this,settings);if(elementSettings.delay)uiAutocomplete.options.delay=elementSettings.delay;if(elementSettings.min_length)uiAutocomplete.options.minLength=elementSettings.min_length;const oldSelect=uiAutocomplete.options.select;uiAutocomplete.options.select=function select(event,ui,...args){if(ui.item.url){if(event.keyCode===9)return false;window.location.href=ui.item.url;return false;}const ret=oldSelect.apply(this,[event,ui,...args]);if(elementSettings.auto_submit&&elementSettings.selector)$(elementSettings.selector,this.form).trigger('click');return ret;};});}};Drupal.SearchApiAutocomplete=autocomplete;})(jQuery,Drupal,drupalSettings,once);;
275(function(Drupal,drupalSettings,once){const sitewideAlertsSelector='[data-sitewide-alert]';const shouldShowOnThisPage=(pages=[],negate=true)=>{if(pages.length===0)return true;let pagePathMatches=false;const currentPath=window.location.pathname;for(let i=0;i<pages.length;i++){const baseUrl=drupalSettings.path.baseUrl.slice(0,-1);const page=baseUrl+pages[i];if(page.charAt(page.length-1)==='*'){if(currentPath.startsWith(page.substring(0,page.length-1))){pagePathMatches=true;break;}}else{if(page===currentPath){pagePathMatches=true;break;}}}return negate?!pagePathMatches:pagePathMatches;};const alertWasDismissed=(alert)=>{if(!alert.dismissible)return false;if(!(`alert-dismissed-${alert.uuid}` in window.localStorage))return false;const dismissedAtTimestamp=Number(window.localStorage.getItem(`alert-dismissed-${alert.uuid}`));return dismissedAtTimestamp>=alert.dismissalIgnoreBefore;};const updateLandmarkRole=()=>{const roots=document.querySelectorAll(sitewideAlertsSelector);
275roots.forEach((root)=>{const hasAlerts=root.querySelector('[data-uuid]')!==null;if(hasAlerts){root.setAttribute('role','region');root.setAttribute('aria-label',Drupal.t('Site alerts'));}else{root.removeAttribute('role');root.removeAttribute('aria-label');}});};const updateAlertCount=()=>{if(!drupalSettings.sitewideAlert.showCount)return;const roots=document.querySelectorAll(sitewideAlertsSelector);roots.forEach((root)=>{let count=0;const alerts=root.querySelectorAll('[data-uuid]');const totalCount=alerts.length;alerts.forEach((alert)=>{count++;const alertCountContainer=alert.querySelector('.alert-count');if(!alertCountContainer)return;alertCountContainer.innerHTML=Drupal.t('@current_count of @total_count alerts',{'@current_count':count,'@total_count':totalCount});});});};const removeAlert=(alert)=>{alert.dispatchEvent(new CustomEvent('sitewide-alert-removed',{bubbles:true,composed:true}));alert.remove();updateAlertCount();updateLandmarkRole();};const dismissAlert=(alert)=>{window.localStorage.setItem(`alert-dismissed-${alert.uuid}`,String(Math.round(new Date().getTime()/1000)));document.querySelectorAll(`[data-uuid="${alert.uuid}"]`).forEach((alert)=>{alert.dispatchEvent(new CustomEvent('sitewide-alert-dismissed',{bubbles:true,composed:true}));removeAlert(alert);});};const buildAlertElement=(alert)=>{const alertElement=document.createElement('div');alertElement.innerHTML=alert.renderedAlert;if(alert.dismissible){const dismissButtons=alertElement.getElementsByClassName('js-dismiss-button');for(let i=0;i<dismissButtons.length;i++)dismissButtons[i].addEventListener('click',()=>dismissAlert(alert));}return alertElement.firstElementChild;};const processSsrAlerts=()=>{const roots=document.querySelectorAll(sitewideAlertsSelector);roots.forEach((root)=>{const existingAlerts=root.querySelectorAll('[data-uuid]');existingAlerts.forEach((alertElement)=>{const uuid=alertElement.dataset.uuid;const dismissalIgnoreBefore=parseInt(alertElement.dataset.dismissalIgnoreBefore,10)||0;const isDismissible=alertElement.dataset.dismissible==='true';const alertData={uuid,dismissalIgnoreBefore,dismissible:isDismissible};if(alertWasDismissed(alertData)){removeAlert(alertElement);return;}if(isDismissible){const dismissButtons=alertElement.getElementsByClassName('js-dismiss-button');for(let i=0;i<dismissButtons.length;i++)dismissButtons[i].addEventListener('click',()=>dismissAlert(alertData));}});});};const fetchAlerts=()=>{const url=new URL(Drupal.url('sitewide_alert/load'),window.location.origin);url.username='';url.password='';return fetch(url.toString()).then((res)=>res.json()).then((result)=>result.sitewideAlerts,(error)=>{console.error(error);});};const removeStaleAlerts=(alerts)=>{const roots=document.querySelectorAll(sitewideAlertsSelector);roots.forEach((root)=>{const existingAlerts=root.querySelectorAll('[data-uuid]');const alertsToBeRemoved=Array.from(existingAlerts).filter((alert)=>!alerts.includes(alert.getAttribute('data-uuid')));alertsToBeRemoved.forEach((alert)=>removeAlert(alert));});};const initAlerts=()=>{const roots=document.querySelectorAll(sitewideAlertsSelector);fetchAlerts().then((alerts)=>{removeStaleAlerts(alerts.map((alert)=>alert.uuid));alerts.forEach((alert)=>{const dismissed=alertWasDismissed(alert);const showOnThisPage=shouldShowOnThisPage(alert.showOnPages,alert.negateShowOnPages);roots.forEach((root)=>{const existingAlertElement=root.querySelector(`[data-uuid="${alert.uuid}"]`);
275if(showOnThisPage&&!dismissed){if(existingAlertElement&&existingAlertElement.dataset.changed===alert.changed)return;const renderableAlertElement=buildAlertElement(alert);if(existingAlertElement)root.replaceChild(renderableAlertElement,existingAlertElement);else root.appendChild(renderableAlertElement);renderableAlertElement.dispatchEvent(new CustomEvent('sitewide-alert-rendered',{bubbles:true,composed:true}));Drupal.attachBehaviors(renderableAlertElement);return;}if((dismissed||!showOnThisPage)&&existingAlertElement)removeAlert(existingAlertElement);});updateAlertCount();});updateLandmarkRole();});};const supportsHistoryPushState=()=>{return 'pushState' in window.history&&window.history.pushState!==null;};const supportsHistoryReplaceState=()=>{return ('replaceState' in window.history&&window.history.replaceState!==null);};const triggerHistoryEvent=(thisArg,argArray)=>{const event=new CustomEvent('sitewidealerts.popstate',{detail:{state:thisArg,options:argArray}});window.dispatchEvent(event);};const proxyPushState=()=>{if(supportsHistoryPushState())window.history.pushState=new Proxy(window.history.pushState,{apply(target,thisArg,argArray){triggerHistoryEvent(thisArg,argArray);return target.apply(thisArg,argArray);}});if(supportsHistoryReplaceState())window.history.replaceState=new Proxy(window.history.replaceState,{apply(target,thisArg,argArray){triggerHistoryEvent(thisArg,argArray);return target.apply(thisArg,argArray);}});};function debounce(func,wait,immediate){let timeout;return function(...args){const context=this;const later=function(){timeout=null;if(!immediate)func.apply(context,args);};const callNow=immediate&&!timeout;clearTimeout(timeout);timeout=setTimeout(later,wait);if(callNow)func.apply(context,args);};}const historyListener=()=>{const debounced=debounce(initAlerts,2000);window.addEventListener('sitewidealerts.popstate',debounced);window.addEventListener('popstate',debounced);};Drupal.behaviors.sitewide_alert_init={attach:(context)=>{once('sitewide_alerts_init','html',context).forEach(()=>{processSsrAlerts();updateLandmarkRole();if(drupalSettings.sitewideAlert.serverSideRender!==true)initAlerts();proxyPushState();historyListener();if(drupalSettings.sitewideAlert.automaticRefresh===true){const interval=setInterval(()=>initAlerts(),drupalSettings.sitewideAlert.refreshInterval<1000?1000:drupalSettings.sitewideAlert.refreshInterval);if(!drupalSettings.sitewideAlert.automaticRefresh)clearInterval(interval);}});}};})(Drupal,drupalSettings,once);;

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.