1!function(e,t,s,r,o,{isFocusable:a,tabbable:n}){s.behaviors.AJAX={attach(t,r){Object.keys(r.ajax||{}).forEach(function(t){const o=r.ajax[t];void 0===o.selector&&(o.selector=`#${t}`),once("drupal-ajax",e(o.selector)).forEach(e=>{o.element=e,o.base=t,s.ajax(o)})}),s.ajax.bindAjaxLinks(document.body),once("ajax",".use-ajax-submit").forEach(t=>{const r={};r.url=e(t.form).attr("action"),r.setClick=!0,r.event="click",r.progress={type:"throbber"},r.base=t.id,r.element=t,s.ajax(r)})},detach(e,t,r){"unload"===r&&s.ajax.expired().forEach(e=>{s.ajax.instances[e.instanceIndex]=null})}},s.AjaxError=function(e,t,r){let o,a,n;o=e.status?`\n${s.t("An AJAX HTTP error occurred.")}\n${s.t("HTTP Result Code: !status",{"!status":e.status})}`:`\n${s.t("An AJAX HTTP request terminated abnormally.")}`,o+=`\n${s.t("Debugging information follows.")}`;const i=`\n${s.t("Path: !uri",{"!uri":t})}`;a="";try{a=`\n${s.t("StatusText: !statusText",{"!statusText":e.statusText.trim()})}`}catch(e){}n="";try{n=`\n${s.t("ResponseText: !responseText",{"!responseText":e.responseText.trim()})}`}catch(e){}n=n.replace(/<("[^"]*"|'[^']*'|[^'">])*>/gi,""),n=n.replace(/[\n]+\s+/g,"\n");const c=0===e.status?`\n${s.t("ReadyState: !readyState",{"!readyState":e.readyState})}`:"";r=r?`\n${s.t("CustomMessage: !customMessage",{"!customMessage":r})}`:"",this.message=o+i+a+r+n+c,this.name="AjaxError",s.AjaxError.messages||(s.AjaxError.messages=new s.Message),s.AjaxError.messages.add(s.t("Oops, something went wrong. Check your browser's developer console for more details."),{type:"error"})},s.AjaxError.prototype=new Error,s.AjaxError.prototype.constructor=s.AjaxError,s.ajax=function(e){if(1!==arguments.length)throw new Error("Drupal.ajax() function must be called with one configuration object only");const t=e.base||!1,r=e.element||!1;delete e.base,delete e.element,e.progress||r||(e.progress=!1);const o=new s.Ajax(t,r,e);return o.instanceIndex=s.ajax.instances.length,s.ajax.instances.push(o),o},s.ajax.instances=[],s.ajax.expired=function(){return s.ajax.instances.filter(e=>e&&!1!==e.element&&!document.body.contains(e.element))},s.ajax.bindAjaxLinks=t=>{once("ajax",".use-ajax",t).forEach(t=>{const r=e(t),o={progress:{type:"throbber"},dialogType:r.data("dialog-type"),dialog:r.data("dialog-options"),dialogRenderer:r.data("dialog-renderer"),base:r.attr("id"),element:t},a=r.attr("href");a&&(o.url=a,o.event="click");const n=r.data("ajax-http-method");n&&(o.httpMethod=n),s.ajax(o)})},s.Ajax=function(t,o,a){const n={httpMethod:"POST",event:o?"mousedown":null,keypress:!0,selector:t?`#${t}`:null,effect:"none",speed:"none",method:"replaceWith",progress:{type:"throbber",message:s.t("Processing...")},submit:{js:!0}};if(e.extend(this,n,a),this.commands=new s.AjaxCommands,this.instanceIndex=!1,this.wrapper&&(this.wrapper=`#${this.wrapper}`),this.element=o,this.preCommandsFocusedElementSelector=null,this.elementSettings=a,this.element&&this.element.form&&(this.$form=e(this.element.form)),!this.url){const t=e(this.element);"A"===this.element.tagName?this.url=t.attr("href"):this.element&&o.form&&(this.url=this.$form.attr("action"))}const i=this.url;this.url=this.url.replace(/\/nojs(\/|$|\?|#)/,"/ajax$1"),r.ajaxTrustedUrl[i]&&(r.ajaxTrustedUrl[this.url]=!0);const c=this;c.options={url:c.url,data:c.submit,isInProgress:()=>c.ajaxing,beforeSerialize:(e,t)=>c.beforeSerialize(e,t),beforeSubmit:(e,t,s)=>(c.ajaxing=!0,c.preCommandsFocusedElementSelector=null,c.beforeSubmit(e,t,s)),beforeSend:(e,t)=>(c.ajaxing=!0,c.beforeSend(e,t)),success(t,o,a){if(c.preCommandsFocusedElementSelector=document.activeElement.getAttribute("data-drupal-selector"),"string"==typeof t&&(t=e.parseJSON(t)),null!==t&&!r.ajaxTrustedUrl[c.url]&&"1"!==a.getResponseHeader("X-Drupal-Ajax-Token")){const e=s.t("The response failed verification so will not be processed.");return c.error(a,c.url,e)}return Promise.resolve(c.success(t,o)).then(()=>{c.ajaxing=!1,e(document).trigger("ajaxSuccess",[a,this]),e(document).trigger("ajaxComplete",[a,this]),0===--e.active&&e(document).trigger("ajaxStop")})},error(e,t,s){c.ajaxing=!1},complete(e,t){if("error"===t||"parsererror"===t)return c.error(e,c.url)},dataType:"json",jsonp:!1,method:c.httpMethod},a.dialog&&(c.options.data.dialogOptions=a.dialog),c.options.url.includes("?")?c.options.url+="&":c.options.url+="?";let l=`drupal_${a.dialogType||"ajax"}`;a.dialogRenderer&&(l+=`.${a.dialogRenderer}`),c.options.url+=`${s.ajax.WRAPPER_FORMAT}=${l}`,e(c.element).on(a.event,function(e){if(!r.ajaxTrustedUrl[c.url]&&!s.url.isLocal(c.url))throw new Error(s.t("The callback URL is not local and n
1ot trusted: !url",{"!url":c.url}));return c.eventResponse(this,e)}),a.keypress&&e(c.element).on("keypress",function(e){return c.keypressResponse(this,e)}),a.prevent&&e(c.element).on(a.prevent,!1)},s.ajax.WRAPPER_FORMAT="_wrapper_format",s.Ajax.AJAX_REQUEST_PARAMETER="_drupal_ajax",s.Ajax.prototype.execute=function(){if(!this.ajaxing)try{return this.beforeSerialize(this.element,this.options),e.ajax(this.options)}catch(s){return this.ajaxing=!1,t.alert(`An error occurred while attempting to process ${this.options.url}: ${s.message}`),e.Deferred().reject()}},s.Ajax.prototype.keypressResponse=function(t,s){const r=this;(13===s.which||32===s.which&&"text"!==t.type&&"textarea"!==t.type&&"tel"!==t.type&&"number"!==t.type)&&(s.preventDefault(),s.stopPropagation(),e(t).trigger(r.elementSettings.event))},s.Ajax.prototype.eventResponse=function(s,r){r.preventDefault(),r.stopPropagation();const o=this;if(!o.ajaxing)try{o.$form?(o.setClick&&(s.form.clk=s),o.$form.ajaxSubmit(o.options)):(o.beforeSerialize(o.element,o.options),e.ajax(o.options))}catch(e){o.ajaxing=!1,t.alert(`An error occurred while attempting to process ${o.options.url}: ${e.message}`)}},s.Ajax.prototype.beforeSerialize=function(e,t){if(this.$form&&document.body.contains(this.$form.get(0))){const e=this.settings||r;s.detachBehaviors(this.$form.get(0),e,"serialize")}t.data[s.Ajax.AJAX_REQUEST_PARAMETER]=1;const o=r.ajaxPageState;t.data["ajax_page_state[theme]"]=o.theme,t.data["ajax_page_state[theme_token]"]=o.theme_token,t.data["ajax_page_state[libraries]"]=o.libraries},s.Ajax.prototype.beforeSubmit=function(e,t,s){},s.Ajax.prototype.beforeSend=function(t,s){if(this.$form){s.extraData=s.extraData||{},s.extraData.ajax_iframe_upload="1";const t=e.fieldValue(this.element);null!==t&&(s.extraData[this.element.name]=t)}if(e(this.element).prop("disabled",!0),!this.progress||!this.progress.type)return;const r=`setProgressIndicator${this.progress.type.slice(0,1).toUpperCase()}${this.progress.type.slice(1).toLowerCase()}`;r in this&&"function"==typeof this[r]&&this[r].call(this)},s.theme.ajaxProgressThrobber=e=>`<div class="ajax-progress ajax-progress-throbber"><div class="throbber"> </div>${"string"==typeof e?s.theme("ajaxProgressMessage",e):""}</div>`,s.theme.ajaxProgressIndicatorFullscreen=()=>'<div class="ajax-progress ajax-progress-fullscreen"> </div>',s.theme.ajaxProgressMessage=e=>`<div class="message">${e}</div>`,s.theme.ajaxProgressBar=t=>e('<div class="ajax-progress ajax-progress-bar"></div>').append(t),s.Ajax.prototype.setProgressIndicatorBar=function(){const t=new s.ProgressBar(`ajax-progress-${this.element.id}`,e.noop,this.progress.method,e.noop);this.progress.message&&t.setProgress(-1,this.progress.message),this.progress.url&&t.startMonitoring(this.progress.url,this.progress.interval||1500),this.progress.element=e(s.theme("ajaxProgressBar",t.element)),this.progress.object=t,e(this.element).after(this.progress.element)},s.Ajax.prototype.setProgressIndicatorThrobber=function(){this.progress.element=e(s.theme("ajaxProgressThrobber",this.progress.message)),e(this.element).closest("[data-drupal-ajax-container]").length?e(this.element).closest("[data-drupal-ajax-container]").after(this.progress.element):e(this.element).after(this.progress.element)},s.Ajax.prototype.setProgressIndicatorFullscreen=function(){this.progress.element=e(s.theme("ajaxProgressIndicatorFullscreen")),e("body").append(this.progress.element)},s.Ajax.prototype.commandExecutionQueue=function(e,t){const s=this.commands;return Object.keys(e||{}).reduce((r,o)=>r.then(()=>{const{command:r}=e[o];if(r&&s[r])return s[r](this,e[o],t)}),Promise.resolve())},s.Ajax.prototype.success=function(t,o){this.progress.element&&e(this.progress.element).remove(),this.progress.object&&this.progress.object.stopMonitoring(),e(this.element).prop("disabled",!1);const a=e(this.element).parents("[data-drupal-selector]").addBack().toArray(),n=Object.keys(t||{}).some(e=>{const{command:s,method:r}=t[e];return"focusFirst"===s||"openDialog"===s||"invoke"===s&&"focus"===r});return this.commandExecutionQueue(t,o).then(()=>{if(!n){let t=!1;if(this.element&&(e(this.element).data("refocus-blur")&&this.preCommandsFocusedElementSelector&&(t=document.querySelector(`[data-drupal-selector="${this.preCommandsFocusedElementSelector}"]`)),!t&&!e(this.element).data("disable-refocus")))for(let e=a.length-1;!t&&e>=0;e--)t=document.querySelector(`[data-drupal-selector="${a[e].getAttribute("data-drupal-selector")}"]`);t&&e(t).trigger("focus")}if(this.$form&&document.body.contains(this.$form.get(0))){const e=this.settings||r;s.attachBehaviors(this.$form.get(0),e)}this.settings=null}).catch(e=>console.error(s.t("An error occurred during the execution of the Ajax response: !error",{"!error":e})))},s.Ajax.prototype.getEffect=function(e){const t=e.effect||this.effect,s=e.speed||this.speed,r={};return"none"===t?(r.showEffect="show",r.hideEffect="hide",r.showSpeed=""):"fade"===t?(r.showEffect="fadeIn",r.hideEffect="fadeOut",r.showSpeed=s):(r.showEffect=`${t}Toggle`,r.hideEffect=`${t}Toggle`,r.showSpeed=s),r},s.Ajax.prototype.error=function(t,o,a){if(this.progress.element&&e(this.progress.element).remove(),this.progress.object&&this.progress.object.stopMonitoring(),e(this.wrapper).show(),e(this.element).prop("disabled",!1),this.$form&&document.body.contains(this.$form.get(0))){const e=this.settings||r;s.attachBehaviors(this.$form.get(0),e)}throw new s.AjaxError(t,o,a)},s.theme.ajaxWrapperNewContent=(e,t,r)=>"none"!==(r.effect||t.effect)&&e.filter(t=>!("#comment"===e[t].nodeName||"#text"===e[t].nodeName&&/^(\s|\n|\r)*$/.test(e[t].textContent))).length>1?s.theme("ajaxWrapperMultipleRootElements",e):e,s.theme.ajaxWrapperMultipleRootElements=t=>e("<div></div>").append(t),s.AjaxCommands=function(){},s.AjaxCommands.prototype={insert(t,o){const a=o.selector?e(o.selector):e(t.wrapper),n=o.method||t.method,i=t.getEffect(o),c=o.settings||t.settings||r;let l=e((e=>{const t=document.createDocumentFragment().appendChild(document.createElement("template"));return t.innerHTML=e,t.content.childNodes})(o.data));switch(l=s.theme("ajaxWrapperNewContent",l,t,o),n){case"html":case"replaceWith":case"replaceAll":case"empty":case"remove":s.detachBehaviors(a.get(0),c)}a[n](l),"show"!==i.showEffect&&l.hide();const d=l.find(".ajax-new-content");d.length?(d.hide(),l.show(),d[i.showEffect](i.showSpeed)):"show"!==i.showEffect&&l[i.showEffect](i.showSpeed),l.each((e,t)=>{t.nodeType===Node.ELEMENT_NODE&&document.documentElement.contains(t)&&s.attachBehaviors(t,c)})},remove(t,o,a){const n=o.settings||t.settings||r;e(o.selector).each(function(){s.detachBehaviors(this,n)}).remove()},changed(t,r,o){const a=e(r.selector);a.hasClass("ajax-changed")||(a.addClass("ajax-changed"),r.asterisk&&a.find(r.asterisk).append(` <abbr class="ajax-changed" title="${s.t("Changed")}">*</abbr> `))},alert(e,s,r){t.alert(s.text)},announce(e,t){t.priority?s.announce(t.text,t.priority):s.announce(t.text)},redirect(e,s,r){t.location=s.url},css(t,s,r){e(s.selector).css(s.argument)},settings(t,o,a){const n=r.ajax;
1n&&s.ajax.expired().forEach(e=>{if(e.selector){const t=e.selector.replace("#","");t in n&&delete n[t]}}),o.merge?e.extend(!0,r,o.settings):t.settings=o.settings},data(t,s,r){e(s.selector).data(s.name,s.value)},focusFirst(e,t,s){let r=!1;const o=document.querySelector(t.selector);if(o){const e=n(o);e.length?(e[0].focus(),r=!0):a(o)&&(o.focus(),r=!0)}e.hasOwnProperty("element")&&!r&&e.element.focus()},invoke(t,s,r){e(s.selector)[s.method](...s.args)},restripe(t,s,r){e(s.selector).find("> tbody > tr:visible, > tr:visible").removeClass("odd even").filter(":even").addClass("odd").end().filter(":odd").addClass("even")},update_build_id(e,t,s){document.querySelectorAll(`input[name="form_build_id"][value="${t.old}"]`).forEach(e=>{e.value=t.new})},add_css(t,r,a){if("string"==typeof r.data)return s.deprecationError({message:"Passing a string to the Drupal.ajax.add_css() method is deprecated in 10.1.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/3154948."}),void e("head").prepend(r.data);const n=r.data.map(function(e){const t=e.href;return o.isDefined(t)||o(`css!${e.href}`,t,{before(t,s){Object.keys(e).forEach(t=>{s.setAttribute(t,e[t])})}}),t});return new Promise((e,t)=>{o.ready(n,{success(){e()},error(e){const r=s.t("The following files could not be loaded: @dependencies",{"@dependencies":e.join(", ")});t(r)}})})},message(e,t){const r=new s.Message(document.querySelector(t.messageWrapperQuerySelector));t.clearPrevious&&r.clear(),r.add(t.message,t.messageOptions)},add_js(e,t,a){const n=document.querySelector(t.selector||"body"),i=e.settings||r,c=t.data.map(e=>{const t=e.src;return o.isDefined(t)||o(e.src,t,{async:!1,before:(t,s)=>(Object.keys(e).forEach(t=>{s.setAttribute(t,e[t])}),n.appendChild(s),!1)}),t});return new Promise((e,t)=>{o.ready(c,{success(){s.attachBehaviors(n,i),e()},error(e){const r=s.t("The following files could not be loaded: @dependencies",{"@dependencies":e.join(", ")});t(r)}})})},scrollTop(e,t){document.querySelector(t.selector)?.scrollIntoView()}};const i=(e,t)=>"1"===e.getResponseHeader("X-Drupal-Ajax-Token")&&t.isInProgress&&t.isInProgress();e.extend(!0,e.event.special,{ajaxSuccess:{trigger(e,t,s){if(i(t,s))return!1}},ajaxComplete:{trigger(t,s,r){if(i(s,r))return e.active++,!1}}})}(jQuery,window,Drupal,drupalSettings,loadjs,window.tabbable);
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.