PageSourceSearch

https://www.sonypictures.ie/sites/ireland/files/js/js_J04pxzTH8iZM…wWee9gz7gSGimDzOq27x-q8z9gNxVLdT2stO3yIw-hE

js sonypictures.ie collected 2026-10-08 02:43:15 UTC 49,199 bytes, 16 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2(function(){(function(a,b){b.behaviors.videoGallery={attach:function(c){(c===document||c.classList.contains("video-gallery-wrapper"))&&(a(once("videoGallery",".video-gallery-wrapper.gallery-video .btn-youtube-icon",c)).on("click",function(c){if(c.preventDefault(),!b.upu.getConsent("youtube"))return c.stopPropagation(),!1;a(".btn-gallery-video-close, .btn-video-close").trigger("click");var d=a(this);d.closest(".video-item").addClass("show-video");var e=d.attr("href")+"&autoplay=1&rel=0&loop=1&playlist="+d.data("youtubeId");d.siblings(".gallery-iframe").attr("src",e);}),a(c).on("click",".btn-gallery-video-close",function(){a(".gallery-iframe").removeAttr("src"),a(".video-item").removeClass("show-video");}));}};})(jQuery,Drupal);})();;;
3(function($,Drupal){Drupal.behaviors.myModuleBehavior={attach:function(context,settings){var normalizeText=function(str){var map={'-':' ','-':'_','a':'á|à|ã|â|À|Á|Ã|Â','e':'é|è|ê|É|È|Ê','i':'í|ì|î|Í|Ì|Î','o':'ó|ò|ô|õ|Ó|Ò|Ô|Õ','u':'ú|ù|û|ü|Ú|Ù|Û|Ü','c':'ç|Ç','n':'ñ|Ñ'};if(typeof str!=="undefined"&&str!=="undefined"){for(var pattern in map)str=str.replace(new RegExp(map[pattern],'g'),pattern);str=str.replace(/\W+/g,' ').trim().replace(/ +/g,'-');}return str;};var generateTrackingId=function(section,context,element){var separator=':';section=normalizeText(section);context=normalizeText(context);var trackingId=section+separator+context;if(typeof element!=="undefined"&&element!=='undefined'&&element!=='')trackingId=section+separator+normalizeText(element)+separator+context;return trackingId;};var parseAnchorsForTracking=function(trackingData){trackingData.anchors.each(function(index_anchor){var $anchor=$(this);var contentId='';if($anchor.find('span[property="schema:name"]').length>0)contentId=$anchor.find('span[property="schema:name"]').text();else if($anchor.find('img').length>0)contentId=$("img",$anchor).first().attr('alt');else if($anchor.text().length>0&&($anchor.text().trim().length>0))contentId=$anchor.text();else if(typeof $anchor.attr('title')!=="undefined"&&$anchor.attr('id').length>0)contentId=$anchor.attr('title');else{if(typeof $anchor.attr('id')!=="undefined"&&$anchor.attr('id').length>0)contentId=$anchor.attr('id');}$anchor.attr('tracking-id',generateTrackingId(trackingData.componentTrackingId,contentId,trackingData.elementTrackingTitle));var trackingType=$anchor.attr('tracking-type');if(typeof trackingType==="undefined"||trackingType==='')$anchor.attr('tracking-type',trackingData.componentTrackingType);else $anchor.attr('tracking-type',trackingType);});};var setTrackingAttr=function(component){var trackingData={componentTrackingId:$(component).attr('component-tracking-id'),componentTrackingType:$(component).attr('tracking-type'),elementTrackingTitle:''};var socialSelectorWrapper='.social-icon-container.addtoany_list';var socialSelectorAnchors=socialSelectorWrapper+' a';trackingData.anchors=$("a",component).not(socialSelectorAnchors);parseAnchorsForTracking(trackingData);$(socialSelectorWrapper,component).each(function(index){trackingData.anchors=$(this).find('a');trackingData.elementTrackingTitle=$(this).attr('data-a2a-title');if(typeof trackingData.elementTrackingTitle==="undefined")trackingData.elementTrackingTitle="";parseAnchorsForTracking(trackingData);});$('input[type="submit"]',component).each(function(index){trackingData.anchors=$(this);trackingData.elementTrackingTitle=$(this).attr('value');parseAnchorsForTracking(trackingData);});};$(once('componentTrackingID','[component-tracking-id]',context)).not('[component-tracking-id] [component-tracking-id]').each(function(){setTrackingAttr(this);});$(once('componentTrackingIdNested','[component-tracking-id] [component-tracking-id]',context)).each(function(){setTrackingAttr(this);});$(context).ajaxComplete(function(event,xhr,settings){$('[component-tracking-id]',this).not('[component-tracking-id] [component-tracking-id]').each(function(){setTrackingAttr(this);});$('[component-tracking-id] [component-tracking-id]',this).each(function(){setTrackingAttr(this);});});}};})(jQuery,Drupal);;
4(function($,UPU){'use strict';const config=UPU.consentBanner;if(!config||!config.handlePushDown)return;const isPushDownInline=config.inlinePushDown;const bannerSelector=config.bannerSelector;const bannerClose=config.bannerClose;const mobileBreak=config.mobileBreak;const pageWrap=config.pageWrap;const sonyBanner=config.sonyBanner;const elemsToPush=config.elemsToPush;const animSpeed=config.animSpeed;let bannerHandled=false;function bannerCheck(){let dom={pageWrap:$(pageWrap),elemsToPush:$(elemsToPush),sonyHeader:$(sonyBanner),banner:$(bannerSelector)},minCheck=10,checkCt=0;if(dom.banner.length){bannerPushDown(dom);bannerListen(dom);}else var checkLoop=setInterval(function(){if(checkCt>=minCheck)clearInterval(checkLoop);dom.banner=$(bannerSelector);if(dom.banner.length){clearInterval(checkLoop);bannerPushDown(dom);bannerListen(dom);}checkCt+=1;},500);}function bannerListen(dom){$(window).on('resize.banner',function(){bannerPushDown(dom);});$(document).on('click.banner',bannerClose,function(){bannerPushUp(dom);$(window).off('resize.banner');$(document).off('click.banner');});}function bannerPushDown(dom){bannerHandled=true;if(isPushDownInline){bannerInlinePushDown(dom);return;}dom.pageWrap.animate({'margin-top':dom.banner.outerHeight()},animSpeed);if(window.innerWidth<mobileBreak){dom.sonyHeader.animate({'top':dom.banner.outerHeight()},animSpeed);dom.elemsToPush.animate({'top':(dom.banner.outerHeight()+dom.sonyHeader.outerHeight())},animSpeed);}else{dom.sonyHeader.animate({'top':0},animSpeed);dom.elemsToPush.animate({'top':0},animSpeed);}}function bannerPushUp(dom){if(isPushDownInline)return;dom.pageWrap.animate({'margin-top':0},animSpeed);dom.sonyHeader.animate({'top':0},animSpeed);if(window.innerWidth<mobileBreak)dom.elemsToPush.animate({'top':dom.sonyHeader.outerHeight()},animSpeed);else dom.elemsToPush.animate({'top':0},animSpeed);}function bannerInlinePushDown(dom){dom.pageWrap.prepend(dom.banner.detach());}$(function(){if(!bannerHandled)bannerCheck();});
4if(UPU.consentHelper&&UPU.consentHelper.bannerLoadEvent)window.addEventListener(UPU.consentHelper.bannerLoadEvent,function(e){if(!bannerHandled)bannerCheck();});})(jQuery,(typeof drupalSettings!='undefined'?drupalSettings.user_privacy_utils:window.upu));;
5(function($,UPU){"use strict";const config=UPU.consentDialog;if(!config||!config.consentAPI)return;const vendor=UPU.consentVendor;const oneTrustHelper={};oneTrustHelper.bannerLoadEvent='otloadbanner';oneTrustHelper._vendorAndHostsData=null;oneTrustHelper.isInitialized=function(){return window.OneTrust&&window.OnetrustActiveGroups?true:false;};oneTrustHelper.showPreferenceDialog=function(){OneTrust.ToggleInfoDisplay();};oneTrustHelper._getVendorsAndHosts=function(){if(oneTrustHelper._vendorAndHostsData!==null)return oneTrustHelper._vendorAndHostsData;let domainData=OneTrust.GetDomainData();let vendors=domainData.GeneralVendors.length?domainData.GeneralVendors:[];let hosts=[];for(let group of domainData.Groups)if(group.Hosts&&group.Hosts.length)hosts=hosts.concat(group.Hosts);return (oneTrustHelper._vendorAndHostsData={vendors,hosts});};oneTrustHelper.getVendorDetails=function(vendorName){let vendorDetails=null;let vendorAndHosts=oneTrustHelper._getVendorsAndHosts();for(let vendor of vendorAndHosts.vendors)if(vendor.Name&&vendor.Name.indexOf(vendorName)!==-1){vendorDetails={id:vendor.VendorCustomId,name:vendor.Name,description:vendor.Description,cookies:vendor.Cookies,type:"vendor"};break;}if(vendorDetails===null){for(let host of vendorAndHosts.hosts)if(host.HostName&&host.HostName.indexOf(vendorName)!==-1){vendorDetails={id:host.HostId,name:host.DisplayName,description:"",cookies:host.Cookies,type:"host"};break;}}return vendorDetails;};oneTrustHelper.getVendorCategoryId=function(vendorId){let domainData=OneTrust.GetDomainData();let categoryId=false;for(let group of domainData.Groups){if(group.GeneralVendorsIds&&group.GeneralVendorsIds.length){for(let generalVendorId of group.GeneralVendorsIds)if(vendorId==generalVendorId)return group.OptanonGroupId;}if(group.Hosts&&group.Hosts.length){for(let host of group.Hosts)if(vendorId==host.HostId)return group.OptanonGroupId;}}return categoryId;};oneTrustHelper.getVendorConsent=function(vendorName){let consent=false;let vendorDetails=oneTrustHelper.getVendorDetails(vendorName);if(!config.vendorLevelConsent&&vendorDetails.id!==""){let categoryId=oneTrustHelper.getVendorCategoryId(vendorDetails.id);let activeGroups=OnetrustActiveGroups.split(",");if(categoryId&&activeGroups.indexOf(categoryId)!==-1)consent=true;}if(vendorDetails.id!==""){let activeGroups=OnetrustActiveGroups.split(",");if(activeGroups.indexOf(vendorDetails.id)!==-1)consent=true;}return consent;};oneTrustHelper.updateVendorConsent=function($inputEl){let type=$inputEl.data("vendorType")==="vendor"?"General Vendor":"Host";let id=$inputEl.data("vendorId");let value=$inputEl.is(":checked")?1:0;OneTrust.UpdateConsent(type,id+":"+value);};oneTrustHelper.getVendorDetailsMarkup=function(vendorDetails){let detailsEl="";if(vendorDetails.cookies&&vendorDetails.cookies.length){detailsEl+="<div class='cookies-details'>";for(let cookie of vendorDetails.cookies){detailsEl+="<div class='detail-row'>";const detailsCategories=["Name","Host","description"];for(let category of detailsCategories)if(cookie[category])detailsEl+="<div class='detail-item'>"+"<label class='category-title'>"+category+"</label>"+"<p class='category-details'>"+cookie[category]+"</p>"+"</div>";detailsEl+="</div>";}detailsEl+"</div>";}return detailsEl;};if(typeof window.Drupal!="undefined"){window.Drupal.upu=window.Drupal.upu||{};window.Drupal.upu.oneTrustHelper=oneTrustHelper;}else{window.upu=window.upu||{};window.upu.oneTrustHelper=oneTrustHelper;}})(jQuery,(typeof drupalSettings!='undefined'?drupalSettings.user_privacy_utils:window.upu));;
6(function($,UPU){"use strict";const config=UPU.consentDialog;if(!config||!config.consentAPI)return;const vendor=UPU.consentVendor;let consentHelper=false;switch(vendor){case "EVIDON":consentHelper=UPU.evidonHelper?UPU.evidonHelper:(window.Drupal&&window.Drupal.upu?window.Drupal.upu.evidonHelper:null);break;case "ONETRUST":consentHelper=UPU.oneTrustHelper?UPU.oneTrustHelper:(window.Drupal&&window.Drupal.upu?window.Drupal.upu.oneTrustHelper:null);break;}if(!consentHelper)return;let modalClasses=config.dialogClass.split(",");modalClasses=modalClasses.length?modalClasses.join(" "):"";modalClasses+=" consent-dialog";let modalSettings={title:config.dialogHeader,classes:{'ui-dialog':modalClasses},resizable:false,width:"600",show:"fold",modal:true};function getConsent(vendorName){if(consentHelper&&consentHelper.isInitialized()){if
6(consentHelper.getVendorConsent(vendorName))return true;if(config.vendorLevelConsent){const vendorDetails=consentHelper.getVendorDetails(vendorName);if(vendorDetails)showConsetDialog(true,vendorDetails);else return false;}else showConsetDialog(false);}return false;}function showConsetDialog(isVendorDialog,vendorDetails){let contentEl=$(config.defaultMsg.value)[0];if(isVendorDialog&&vendorDetails)contentEl=getVendorConsetMarkup(vendorDetails);let buttons=[];if(config.confirmLabel!=="")buttons.push({text:config.confirmLabel,class:"btn btn-primary"+(isVendorDialog?" vendor-consent":""),click:function click(event){if($(event.currentTarget).hasClass("vendor-consent"))consentHelper.updateVendorConsent($('.consent-dialog .switch [type="checkbox"]'));else consentHelper.showPreferenceDialog();$(this).dialog("close");},primary:true});if(config.closeLabel!=="")buttons.push({text:config.closeLabel,class:"btn btn-secondary",click:function click(){$(this).dialog("close");},primary:true});if(buttons.length)modalSettings.buttons=buttons;if(window.Drupal&&window.Drupal.dialog){let modal=window.Drupal.dialog(contentEl,modalSettings);modal.showModal();}else window.console.warn('Drupal Dialog not available. Modal cannot be shown.');}function getVendorConsetMarkup(vendorDetails){let contentEl="<div>";contentEl+='<div class="consent-switch-wrapper">'+'<h3 class="vendor-name">'+vendorDetails.name+"</h3>"+'<label class="switch highlight">'+'<input type="checkbox"'+" data-vendor-id="+vendorDetails.id+" data-vendor-type="+vendorDetails.type+" data-vendor-name="+vendorDetails.name+">"+'<span class="slider round"></span>'+"</label>"+"</div>";if(vendorDetails.description!=="")contentEl+="<p>"+vendorDetails.description+"</p>";let detailsEl="";detailsEl=consentHelper.getVendorDetailsMarkup(vendorDetails);contentEl+=detailsEl+"</div>";return contentEl;}if(typeof window.Drupal!="undefined"){window.Drupal.upu=window.Drupal.upu||{};window.Drupal.upu.getConsent=getConsent;window.Drupal.upu.consentHelper=consentHelper;}else{window.upu=window.upu||{};window.upu.getConsent=getConsent;window.upu.consentHelper=consentHelper;}})(jQuery,(typeof drupalSettings!='undefined'?drupalSettings.user_privacy_utils:window.upu));;
7(function($,UPU){'use strict';const config=UPU.cookieCategories;if(!config||!config.blockCookies)return;const vendor=UPU.consentVendor;const blockCookies=config.blockCookies;const catFunctional=config.functional;const catPerformance=config.performance;const catTargeting=config.targeting;const categoryList=config.categories;function isBlockedCookie(category){category=category.toUpperCase();if(!blockCookies||!Object.values(categoryList).includes(category))return false;switch(vendor){case 'EVIDON':return checkEvidon(category);break;case 'ONETRUST':return checkOneTrust(category);break;}}function checkVendorLoad(){if(config&&blockCookies)switch(vendor){case 'EVIDON':if(typeof window.evidon!='undefined')$(window).trigger('cookieVendor:loaded');break;case 'ONETRUST':if(typeof window.OneTrust!='undefined')$(window).trigger('cookieVendor:loaded');break;}}function checkEvidon(cat){if(!window.evidon||!window.evidon.notice)return false;let evidon_cats=window.evidon.notice._getConsentedCategories();switch(cat){case categoryList.FUNCTIONAL:return !evidon_cats[catFunctional];break;case categoryList.PERFORMANCE:return !evidon_cats[catPerformance];break;case categoryList.TARGETING:return !evidon_cats[catTargeting];break;}}function checkOneTrust(cat){if(!window.OneTrust||!window.OnetrustActiveGroups)return false;let activeCats=window.OnetrustActiveGroups.split(',').filter((element)=>element);switch(cat){case categoryList.FUNCTIONAL:return !activeCats.includes(catFunctional);break;case categoryList.PERFORMANCE:return !activeCats.includes(catPerformance);break;case categoryList.TARGETING:return !activeCats.includes(catTargeting);break;}}$(window).on('load',function(){checkVendorLoad();});if(typeof Drupal!='undefined'){Drupal.upu_isBlockedCookie=isBlockedCookie;Drupal.upu=Drupal.upu||{};Drupal.upu.isBlockedCookie=isBlockedCookie;}else{window.upu=window.upu||{};window.upu.isBlockedCookie=isBlockedCookie;}})(jQuery,(typeof drupalSettings!='undefined'?drupalSettings.user_privacy_utils:window.upu));;
8(function($,UPU){'use strict';const config=UPU.cookiePreferenceLink;if(!config||!config.handleOnClick)return;const linkSelector=config.linkSelector;const jsMethod=config.jsMethod;$(document).on('click',linkSelector,function(e){e.preventDefault();executeFunctionByName(jsMethod.name,window,jsMethod.args);});function executeFunctionByName(functionName,context){var args=Array.prototype.slice.call(arguments,2);var namespaces=functionName.split(".");var func=namespaces.pop();for(var i=0;i<namespaces.length;i++)context=context[namespaces[i]];return context[func].apply(context,args);}})(jQuery,(typeof drupalSettings!='undefined'?drupalSettings.user_privacy_utils:window.upu));;
9(function($,UPU){'use strict';const config=UPU.vidIframe;if(!config)return;const vendor=UPU.consentVendor;const blockVids=config.blockVideos;const vidSources=config.vidSources;const vidClass=config.vidClass;const blockedMsg=config.blockedMsg;const srcToAttr=config.srcToAttr;const featherlightShunt=config.featherlightShunt;const magnificPopupShunt=config.magnificPopupShunt;const html5lightboxShunt=config.html5lightboxShunt;const colorboxShunt=config.colorboxShunt;const libraryLoopMax=10;const libraryLoopWait=500;const MutationObserver=window.MutationObserver||window.WebKitMutationObserver;function isBlockedVid(url){let isBlocked=false;if(!blockVids)return false;for(const pattern of vidSources){let regex=new RegExp(pattern.pattern,pattern.flags);if(regex.test(url)){isBlocked=true;break;}}return isBlocked;}function generateUniqueID(prefix){let uniqueID=prefix+Math.floor(Math.random()*100);if($('#'+uniqueID).length)uniqueID=generateUniqueID(prefix);return uniqueID;}function scanVids(context){if(blockVids)$(context).find('iframe:not(".'+vidClass+'")[src]').each(function(i,v){let $frame=$(this);let url=$frame.attr('src');if(isBlockedVid(url)){$frame.removeAttr('src').attr(srcToAttr,url).addClass(vidClass);$frame.after(blockedMsg);}});if(featherlightShunt&&typeof $.featherlight!='undefined')$(context).find('[data-featherlight="iframe"]').each(function(){let $link=$(this),url=$link.attr('href');if(isBlockedVid(url)){let uniqueID=generateUniqueID('upu_featherlight_'),$lightboxWrap=$('<div>',{class:'upu_featherlight_wrap',id:uniqueID}),$iframe=$('<iframe>');$iframe.attr(srcToAttr,url).addClass(vidClass);$.each($link.data(),function(attr,value){if(attr.startsWith('featherlightIframe')){attr=attr.substr(18).toLowerCase();$iframe.attr(attr,value);}
9if(attr=='featherlightVarient'){$iframe.addClass($value);$link.removeAttr('featherlightVarient');}});$link.attr('data-featherlight','#'+uniqueID);$lightboxWrap.append($iframe).append(blockedMsg).insertAfter($link);}});}function unblockVids(context){let $frames=$('iframe.'+vidClass,context);$.each($frames,function(){let $frame=$(this);if(!$frame.attr('src')&&$frame.attr(srcToAttr)){let src=$frame.attr(srcToAttr);if(checkUserPref())$frame.attr('src',src).removeAttr(srcToAttr);}});}function checkUserPref(){switch(vendor){case 'ONETRUST':return checkOneTrust();break;case 'EVIDON':return checkEvidon();break;}}function checkOneTrust(){let category=vidClass.replace('optanon-category-','').split('-')[0];if(!window.OneTrust||!window.OnetrustActiveGroups)return false;let activeCats=window.OnetrustActiveGroups.split(',').filter((element)=>element);return activeCats.includes(category);}function checkEvidon(){let category='publisher';if(!window.evidon||!window.evidon.notice)return false;let evidon_cats=window.evidon.notice._getConsentedCategories();return evidon_cats[category];}$(function(){if(blockVids){$(window).on('dialog:aftercreate',function(){unblockVids($('.ui-dialog'));});if(magnificPopupShunt)$('*').on('mfpChange',function(){let $context=$.magnificPopup.instance.wrap;setTimeout(function(){if(!checkUserPref())scanVids($context);},1);});if(html5lightboxShunt)$(window).on('html5lightbox.lightboxopened',function(){let $context=window.html5Lightbox.$lightboxBox;if(!checkUserPref()){scanVids($context);let popupDOMChange=new MutationObserver(function(mutations,observer){scanVids($context);});popupDOMChange.observe($context[0],{subtree:true,childList:true});}});if(colorboxShunt&&typeof $.colorbox=='function')$(window).on('cbox_complete',function(){let $context=$('#cboxContent');scanVids($context);});}});if(typeof Drupal!='undefined'){Drupal.upu_isBlockedVid=isBlockedVid;Drupal.upu=Drupal.upu||{};Drupal.upu.isBlockedVid=isBlockedVid;Drupal.upu.unblockVids=unblockVids;Drupal.upu.scanVids=scanVids;Drupal.behaviors.upu_cookieVideoBlocking={attach:function(context){scanVids(context);}};}else{window.upu=window.upu||{};window.upu.isBlockedVid=isBlockedVid;window.upu.scanVids=scanVids;window.upu.unblockVids=unblockVids;scanVids('html');}})(jQuery,(typeof drupalSettings!='undefined'?drupalSettings.user_privacy_utils:window.upu));;
10/* @license GPL-2.0-or-later https://raw.githubusercontent.com/jquery-form/form/master/LICENSE */
11(function(factory){if(typeof define==='function'&&define.amd)define(['jquery'],factory);else if(typeof module==='object'&&module.exports)module.exports=function(root,jQuery){if(typeof jQuery==='undefined')if(typeof window!=='undefined')jQuery=require('jquery');else jQuery=require('jquery')(root);factory(jQuery);return jQuery;};else factory(jQuery);}(function($){'use strict';var rCRLF=/\r?\n/g;var feature={};feature.fileapi=$('<input type="file">').get(0).files!==undefined;feature.formdata=(typeof window.FormData!=='undefined');var hasProp=!!$.fn.prop;$.fn.attr2=function(){if(!hasProp)return this.attr.apply(this,arguments);var val=this.prop.apply(this,arguments);if((val&&val.jquery)||typeof val==='string')return val;return this.attr.apply(this,arguments);};$.fn.ajaxSubmit=function(options,data,dataType,onSuccess){if(!this.length){log('ajaxSubmit: skipping submit process - no element selected');return this;}var method,action,url,isMsie,iframeSrc,$form=this;if(typeof options==='function')options={success:options};else if(typeof options==='string'||(options===false&&arguments.length>0)){options={'url':options,'data':data,'dataType':dataType};if(typeof onSuccess==='function')options.success=onSuccess;}else{if(typeof options==='undefined')options={};}method=options.method||options.type||this.attr2('method');action=options.url||this.attr2('action');url=(typeof action==='string')?action.trim():'';url=url||window.location.href||'';if(url)url=(url.match(/^([^#]+)/)||[])[1];isMsie=/(MSIE|Trident)/.test(navigator.userAgent||'');iframeSrc=(isMsie&&/^https/i.test(window.location.href||''))?'javascript:false':'about:blank';options=$.extend(true,{url,success:$.ajaxSettings.success,type:method||$.ajaxSettings.type,iframeSrc},options);var veto={};this.trigger('form-pre-serialize',[this,options,veto]);if(veto.veto){log('ajaxSubmit: submit vetoed via form-pre-serialize trigger');return this;}if(options.beforeSerialize&&options.beforeSerialize(this,options)===false){log('ajaxSubmit: submit aborted via beforeSerialize callback');return this;}var traditional=options.traditional;if(typeof traditional==='undefined')traditional=$.ajaxSettings.traditional;var elements=[];var qx,a=this.formToArray(options.semantic,elements,options.filtering);if(options.data){var optionsData=typeof (options.data)==="function"?options.data(a):options.data;options.extraData=optionsData;qx=$.param(optionsData,traditional);}if(options.beforeSubmit&&options.beforeSubmit(a,this,options)===false){log('ajaxSubmit: submit aborted via beforeSubmit callback');return this;}this.trigger('form-submit-validate',[a,this,options,veto]);if(veto.veto){log('ajaxSubmit: submit vetoed via form-submit-validate trigger');return this;}var q=$.param(a,traditional);if(qx)q=(q?(q+'&'+qx):qx);if(options.type.toUpperCase()==='GET'){options.url+=(options.url.indexOf('?')>=0?'&':'?')+q;options.data=null;}else options.data=q;var callbacks=[];if(options.resetForm)callbacks.push(function(){$form.resetForm();});if(options.clearForm)callbacks.push(function(){$form.clearForm(options.includeHidden);});if(!options.dataType&&options.target){var oldSuccess=options.success||function(){};callbacks.push(function(data,textStatus,jqXHR){var successArguments=arguments,fn=options.replaceTarget?'replaceWith':'html';$(options.target)[fn](data).each(function(){oldSuccess.apply(this,successArguments);});});}else{if(options.success)if(Array.isArray(options.success))callbacks=callbacks.concat(options.success);else callbacks.push(options.success);}options.success=function(data,status,xhr){var context=options.context||this;for(var i=0,max=callbacks.length;i<max;i++)callbacks[i].apply(context,[data,status,xhr||$form,$form]);};if(options.error){var oldError=options.error;options.error=function(xhr,status,error){var context=options.context||this;oldError.apply(context,[xhr,status,error,$form]);};}if(options.complete){var oldComplete=options.complete;options.complete=function(xhr,status){var context=options.context||this;oldComplete.apply(context,[xhr,status,$form]);};}var fileInputs=$('input[type=file]:enabled',this).filter(function(){return $(this).val()!=='';});var hasFileInputs=fileInputs.length>0;var mp='multipart/form-data';var multipart=($form.attr('enctype')===mp||$form.attr('encoding')===mp);var fileAPI=feature.fileapi&&feature.formdata;log('fileAPI :'+fileAPI);var shouldUseFrame=(hasFileInputs||multipart)&&!fileAPI;var jqxhr;if(options.iframe!==false&&(options.iframe||shouldUseFrame))if(options.closeKeepAlive)$.get(options.closeKeepAlive,function(){jqxhr=fileUploadIframe(a);});else jqxhr=fileUploadIframe(a);else if((hasFileInputs||multipart)&&fileAPI)jqxhr=fileUploadXhr(a);else jqxhr=$.ajax(options);$form.removeData('jqxhr').data('jqxhr',jqxhr);for(var k=0;k<elements.length;k++)elements[k]=null;this.trigger('form-submit-notify',[this,options]);return this;function deepSerialize(extraData){var serialized=$.param(extraData,options.traditional).split('&');var len=serialized.length;var result=[];var i,part;for(i=0;i<len;i++){serialized[i]=serialized[i].replace(/\+/g,' ');part=serialized[i].split('=');result.push([decodeURIComponent(part[0]),decodeURIComponent(part[1])]);}return result;}function fileUploadXhr(a){var formdata=new FormData();for(var i=0;i<a.length;i++)formdata.append(a[i].name,a[i].value);if(options.extraData){var serializedData=deepSerialize(options.extraData);for(i=0;i<serializedData.length;i++)if(serializedData[i])formdata.append(serializedData[i][0],serializedData[i][1]);}options.data=null;var s=$.extend(true,{},$.ajaxSettings,options,{contentType:false,processData:false,cache:false,type:method||'POST'});if(options.uploadProgress)s.xhr=function(){var xhr=$.ajaxSettings.xhr();if(xhr.upload)xhr.upload.addEventListener('progress',function(event){var percent=0;var position=event.loaded||event.position;var total=event.total;if(event.lengthComputable)percent=Math.ceil(position/total*100);options.uploadProgress(event,position,total,percent);},false);return xhr;};s.data=null;var beforeSend=s.beforeSend;s.beforeSend=function(xhr,o){if(options.formData)o.data=options.formData;else o.data=formdata;
11if(beforeSend)beforeSend.call(this,xhr,o);};return $.ajax(s);}function fileUploadIframe(a){var form=$form[0],el,i,s,g,id,$io,io,xhr,sub,n,timedOut,timeoutHandle;var deferred=$.Deferred();deferred.abort=function(status){xhr.abort(status);};if(a)for(i=0;i<elements.length;i++){el=$(elements[i]);if(hasProp)el.prop('disabled',false);else el.removeAttr('disabled');}s=$.extend(true,{},$.ajaxSettings,options);s.context=s.context||s;id='jqFormIO'+new Date().getTime();var ownerDocument=form.ownerDocument;var $body=$form.closest('body');if(s.iframeTarget){$io=$(s.iframeTarget,ownerDocument);n=$io.attr2('name');if(!n)$io.attr2('name',id);else id=n;}else{$io=$('<iframe name="'+id+'" src="'+s.iframeSrc+'" />',ownerDocument);$io.css({position:'absolute',top:'-1000px',left:'-1000px'});}io=$io[0];xhr={aborted:0,responseText:null,responseXML:null,status:0,statusText:'n/a',getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(status){var e=(status==='timeout'?'timeout':'aborted');log('aborting upload... '+e);this.aborted=1;try{if(io.contentWindow.document.execCommand)io.contentWindow.document.execCommand('Stop');}catch(ignore){}$io.attr('src',s.iframeSrc);xhr.error=e;if(s.error)s.error.call(s.context,xhr,e,status);if(g)$.event.trigger('ajaxError',[xhr,s,e]);if(s.complete)s.complete.call(s.context,xhr,e);}};g=s.global;if(g&&$.active++===0)$.event.trigger('ajaxStart');if(g)$.event.trigger('ajaxSend',[xhr,s]);if(s.beforeSend&&s.beforeSend.call(s.context,xhr,s)===false){if(s.global)$.active--;deferred.reject();return deferred;}if(xhr.aborted){deferred.reject();return deferred;}sub=form.clk;if(sub){n=sub.name;if(n&&!sub.disabled){s.extraData=s.extraData||{};s.extraData[n]=sub.value;if(sub.type==='image'){s.extraData[n+'.x']=form.clk_x;s.extraData[n+'.y']=form.clk_y;}}}var CLIENT_TIMEOUT_ABORT=1;var SERVER_ABORT=2;function getDoc(frame){var doc=null;try{if(frame.contentWindow)doc=frame.contentWindow.document;}catch(err){log('cannot get iframe.contentWindow document: '+err);}if(doc)return doc;try{doc=frame.contentDocument?frame.contentDocument:frame.document;}catch(err){log('cannot get iframe.contentDocument: '+err);doc=frame.document;}return doc;}var csrf_token=$('meta[name=csrf-token]').attr('content');var csrf_param=$('meta[name=csrf-param]').attr('content');if(csrf_param&&csrf_token){s.extraData=s.extraData||{};s.extraData[csrf_param]=csrf_token;}function doSubmit(){var t=$form.attr2('target'),a=$form.attr2('action'),mp='multipart/form-data',et=$form.attr('enctype')||$form.attr('encoding')||mp;form.setAttribute('target',id);if(!method||/post/i.test(method))form.setAttribute('method','POST');if(a!==s.url)form.setAttribute('action',s.url);if(!s.skipEncodingOverride&&(!method||/post/i.test(method)))$form.attr({encoding:'multipart/form-data',enctype:'multipart/form-data'});if(s.timeout)timeoutHandle=setTimeout(function(){timedOut=true;cb(CLIENT_TIMEOUT_ABORT);},s.timeout);function checkState(){try{var state=getDoc(io).readyState;log('state = '+state);if(state&&state.toLowerCase()==='uninitialized')setTimeout(checkState,50);}catch(e){log('Server abort: ',e,' (',e.name,')');cb(SERVER_ABORT);if(timeoutHandle)clearTimeout(timeoutHandle);timeoutHandle=undefined;}}var extraInputs=[];try{if(s.extraData)for(var n in s.extraData)if(s.extraData.hasOwnProperty(n))if($.isPlainObject(s.extraData[n])&&s.extraData[n].hasOwnProperty('name')&&s.extraData[n].hasOwnProperty('value'))extraInputs.push($('<input type="hidden" name="'+s.extraData[n].name+'">',ownerDocument).val(s.extraData[n].value).appendTo(form)[0]);else extraInputs.push($('<input type="hidden" name="'+n+'">',ownerDocument).val(s.extraData[n]).appendTo(form)[0]);if(!s.iframeTarget)$io.appendTo($body);if(io.attachEvent)io.attachEvent('onload',cb);else io.addEventListener('load',cb,false);setTimeout(checkState,15);try{form.submit();}catch(err){var submitFn=document.createElement('form').submit;submitFn.apply(form);}}finally{form.setAttribute('action',a);form.setAttribute('enctype',et);if(t)form.setAttribute('target',t);else $form.removeAttr('target');$(extraInputs).remove();}}if(s.forceSync)doSubmit();else setTimeout(doSubmit,10);var data,doc,domCheckCount=50,callbackProcessed;function cb(e){if(xhr.aborted||callbackProcessed)return;doc=getDoc(io);if(!doc){log('cannot access response document');e=SERVER_ABORT;}if(e===CLIENT_TIMEOUT_ABORT&&xhr){xhr.abort('timeout');deferred.reject(xhr,'timeout');return;}if(e===SERVER_ABORT&&xhr){xhr.abort('server abort');deferred.reject(xhr,'error','server abort');return;}if(!doc||doc.location.href===s.iframeSrc)if(!timedOut)return;if(io.detachEvent)io.detachEvent('onload',cb);else io.removeEventListener('load',cb,false);var status='success',errMsg;
11try{if(timedOut)throw 'timeout';var isXml=s.dataType==='xml'||doc.XMLDocument||$.isXMLDoc(doc);log('isXml='+isXml);if(!isXml&&window.opera&&(doc.body===null||!doc.body.innerHTML))if(--domCheckCount){log('requeing onLoad callback, DOM not available');setTimeout(cb,250);return;}var docRoot=doc.body?doc.body:doc.documentElement;xhr.responseText=docRoot?docRoot.innerHTML:null;xhr.responseXML=doc.XMLDocument?doc.XMLDocument:doc;if(isXml)s.dataType='xml';xhr.getResponseHeader=function(header){var headers={'content-type':s.dataType};return headers[header.toLowerCase()];};if(docRoot){xhr.status=Number(docRoot.getAttribute('status'))||xhr.status;xhr.statusText=docRoot.getAttribute('statusText')||xhr.statusText;}var dt=(s.dataType||'').toLowerCase();var scr=/(json|script|text)/.test(dt);if(scr||s.textarea){var ta=doc.getElementsByTagName('textarea')[0];if(ta){xhr.responseText=ta.value;xhr.status=Number(ta.getAttribute('status'))||xhr.status;xhr.statusText=ta.getAttribute('statusText')||xhr.statusText;}else{if(scr){var pre=doc.getElementsByTagName('pre')[0];var b=doc.getElementsByTagName('body')[0];if(pre)xhr.responseText=pre.textContent?pre.textContent:pre.innerText;else{if(b)xhr.responseText=b.textContent?b.textContent:b.innerText;}}}}else{if(dt==='xml'&&!xhr.responseXML&&xhr.responseText)xhr.responseXML=toXml(xhr.responseText);}try{data=httpData(xhr,dt,s);}catch(err){status='parsererror';xhr.error=errMsg=(err||status);}}catch(err){log('error caught: ',err);status='error';xhr.error=errMsg=(err||status);}if(xhr.aborted){log('upload aborted');status=null;}if(xhr.status)status=((xhr.status>=200&&xhr.status<300)||xhr.status===304)?'success':'error';if(status==='success'){if(s.success)s.success.call(s.context,data,'success',xhr);deferred.resolve(xhr.responseText,'success',xhr);if(g)$.event.trigger('ajaxSuccess',[xhr,s]);}else{if(status){if(typeof errMsg==='undefined')errMsg=xhr.statusText;if(s.error)s.error.call(s.context,xhr,status,errMsg);deferred.reject(xhr,'error',errMsg);if(g)$.event.trigger('ajaxError',[xhr,s,errMsg]);}}if(g)$.event.trigger('ajaxComplete',[xhr,s]);if(g&&!--$.active)$.event.trigger('ajaxStop');if(s.complete)s.complete.call(s.context,xhr,status);callbackProcessed=true;if(s.timeout)clearTimeout(timeoutHandle);setTimeout(function(){if(!s.iframeTarget)$io.remove();else $io.attr('src',s.iframeSrc);xhr.responseXML=null;},100);}var toXml=$.parseXML||function(s,doc){if(window.ActiveXObject){doc=new ActiveXObject('Microsoft.XMLDOM');doc.async='false';doc.loadXML(s);}else doc=(new DOMParser()).parseFromString(s,'text/xml');return (doc&&doc.documentElement&&doc.documentElement.nodeName!=='parsererror')?doc:null;};var httpData=function(xhr,type,s){var ct=xhr.getResponseHeader('content-type')||'',xml=((type==='xml'||!type)&&ct.indexOf('xml')>=0),data=xml?xhr.responseXML:xhr.responseText;if(xml&&data.documentElement.nodeName==='parsererror')if($.error)$.error('parsererror');if(s&&s.dataFilter)data=s.dataFilter(data,type);if(typeof data==='string')if((type==='json'||!type)&&ct.indexOf('json')>=0)data=JSON.parse(data);else{if((type==='script'||!type)&&ct.indexOf('javascript')>=0)$.globalEval(data);}return data;};return deferred;}};$.fn.ajaxForm=function(options,data,dataType,onSuccess){if(typeof options==='string'||(options===false&&arguments.length>0)){options={'url':options,'data':data,'dataType':dataType};if(typeof onSuccess==='function')options.success=onSuccess;}options=options||{};options.delegation=options.delegation&&typeof $.fn.on==='function';if(!options.delegation&&this.length===0){var o={s:this.selector,c:this.context};if(!$.isReady&&o.s){log('DOM not ready, queuing ajaxForm');$(function(){$(o.s,o.c).ajaxForm(options);});return this;}log('terminating; zero elements found by selector'+($.isReady?'':' (DOM not ready)'));return this;}if(options.delegation){$(document).off('submit.form-plugin',this.selector,doAjaxSubmit).off('click.form-plugin',this.selector,captureSubmittingElement).on('submit.form-plugin',this.selector,options,doAjaxSubmit).on('click.form-plugin',this.selector,options,captureSubmittingElement);return this;}if(options.beforeFormUnbind)options.beforeFormUnbind(this,options);return this.ajaxFormUnbind().on('submit.form-plugin',options,doAjaxSubmit).on('click.form-plugin',options,captureSubmittingElement);};function doAjaxSubmit(e){var options=e.data;if(!e.isDefaultPrevented()){e.preventDefault();$(e.target).closest('form').ajaxSubmit(options);}}function captureSubmittingElement(e){var target=e.target;var $el=$(target);if(!$el.is('[type=submit],[type=image]')){var t=$el.closest('[type=submit]');if(t.length===0)return;target=t[0];}var form=target.form;form.clk=target;if(target.type==='image')if(typeof e.offsetX!=='undefined'){form.clk_x=e.offsetX;form.clk_y=e.offsetY;}else if(typeof $.fn.offset==='function'){var offset=$el.offset();form.clk_x=e.pageX-offset.left;form.clk_y=e.pageY-offset.top;}else{form.clk_x=e.pageX-target.offsetLeft;form.clk_y=e.pageY-target.offsetTop;}setTimeout(function(){form.clk=form.clk_x=form.clk_y=null;},100);}$.fn.ajaxFormUnbind=function(){return this.off('submit.form-plugin click.form-plugin');};$.fn.formToArray=function(semantic,elements,filtering){var a=[];if(this.length===0)return a;var form=this[0];var formId=this.attr('id');var els=(semantic||typeof form.elements==='undefined')?form.getElementsByTagName('*'):form.elements;var els2;if(els)els=$.makeArray(els);if(formId&&(semantic||/(Edge|Trident)\//.test(navigator.userAgent))){els2=$(':input[form="'+formId+'"]').get();if(els2.length)els=(els||[]).concat(els2);}if(!els||!els.length)return a;
11if(typeof (filtering)==="function")els=$.map(els,filtering);var i,j,n,v,el,max,jmax;for(i=0,max=els.length;i<max;i++){el=els[i];n=el.name;if(!n||el.disabled)continue;if(semantic&&form.clk&&el.type==='image'){if(form.clk===el){a.push({name:n,value:$(el).val(),type:el.type});a.push({name:n+'.x',value:form.clk_x},{name:n+'.y',value:form.clk_y});}continue;}v=$.fieldValue(el,true);if(v&&v.constructor===Array){if(elements)elements.push(el);for(j=0,jmax=v.length;j<jmax;j++)a.push({name:n,value:v[j]});}else if(feature.fileapi&&el.type==='file'){if(elements)elements.push(el);var files=el.files;if(files.length)for(j=0;j<files.length;j++)a.push({name:n,value:files[j],type:el.type});else a.push({name:n,value:'',type:el.type});}else{if(v!==null&&typeof v!=='undefined'){if(elements)elements.push(el);a.push({name:n,value:v,type:el.type,required:el.required});}}}if(!semantic&&form.clk){var $input=$(form.clk),input=$input[0];n=input.name;if(n&&!input.disabled&&input.type==='image'){a.push({name:n,value:$input.val()});a.push({name:n+'.x',value:form.clk_x},{name:n+'.y',value:form.clk_y});}}return a;};$.fn.formSerialize=function(semantic){return $.param(this.formToArray(semantic));};$.fn.fieldSerialize=function(successful){var a=[];this.each(function(){var n=this.name;if(!n)return;var v=$.fieldValue(this,successful);if(v&&v.constructor===Array)for(var i=0,max=v.length;i<max;i++)a.push({name:n,value:v[i]});else{if(v!==null&&typeof v!=='undefined')a.push({name:this.name,value:v});}});return $.param(a);};$.fn.fieldValue=function(successful){for(var val=[],i=0,max=this.length;i<max;i++){var el=this[i];var v=$.fieldValue(el,successful);if(v===null||typeof v==='undefined'||(v.constructor===Array&&!v.length))continue;if(Array.isArray(v))val=val.concat(v);else val.push(v);}return val;};$.fieldValue=function(el,successful){var n=el.name,t=el.type,tag=el.tagName.toLowerCase();if(typeof successful==='undefined')successful=true;if(successful&&(!n||el.disabled||t==='reset'||t==='button'||(t==='checkbox'||t==='radio')&&!el.checked||(t==='submit'||t==='image')&&el.form&&el.form.clk!==el||tag==='select'&&el.selectedIndex===-1))return null;if(tag==='select'){var index=el.selectedIndex;if(index<0)return null;var a=[],ops=el.options;var one=(t==='select-one');var max=(one?index+1:ops.length);for(var i=(one?index:0);i<max;i++){var op=ops[i];if(op.selected&&!op.disabled){var v=op.value;if(!v)v=(op.attributes&&op.attributes.value&&!(op.attributes.value.specified))?op.text:op.value;if(one)return v;a.push(v);}}return a;}return $(el).val().replace(rCRLF,'\r\n');};$.fn.clearForm=function(includeHidden){return this.each(function(){$('input,select,textarea',this).clearFields(includeHidden);});};$.fn.clearFields=$.fn.clearInputs=function(includeHidden){var re=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var t=this.type,tag=this.tagName.toLowerCase();if(re.test(t)||tag==='textarea')this.value='';else if(t==='checkbox'||t==='radio')this.checked=false;else if(tag==='select')this.selectedIndex=-1;else if(t==='file')if(/MSIE/.test(navigator.userAgent))$(this).replaceWith($(this).clone(true));else $(this).val('');else{if(includeHidden)if((includeHidden===true&&/hidden/.test(t))||(typeof includeHidden==='string'&&$(this).is(includeHidden)))this.value='';}});};$.fn.resetForm=function(){return this.each(function(){var el=$(this);var tag=this.tagName.toLowerCase();switch(tag){case 'input':this.checked=this.defaultChecked;case 'textarea':this.value=this.defaultValue;return true;case 'option':case 'optgroup':var select=el.parents('select');if(select.length&&select[0].multiple)if(tag==='option')this.selected=this.defaultSelected;else el.find('option').resetForm();else select.resetForm();return true;case 'select':el.find('option').each(function(i){this.selected=this.defaultSelected;if(this.defaultSelected&&!el[0].multiple){el[0].selectedIndex=i;return false;}});return true;case 'label':var forEl=$(el.attr('for'));var list=el.find('input,select,textarea');if(forEl[0])list.unshift(forEl[0]);list.resetForm();return true;case 'form':if(typeof this.reset==='function'||(typeof this.reset==='object'&&!this.reset.nodeType))this.reset();return true;default:el.find('form,input,label,select,textarea').resetForm();return true;}}
11);};$.fn.enable=function(b){if(typeof b==='undefined')b=true;return this.each(function(){this.disabled=!b;});};$.fn.selected=function(select){if(typeof select==='undefined')select=true;return this.each(function(){var t=this.type;if(t==='checkbox'||t==='radio')this.checked=select;else{if(this.tagName.toLowerCase()==='option'){var $sel=$(this).parent('select');if(select&&$sel[0]&&$sel[0].type==='select-one')$sel.find('option').selected(false);this.selected=select;}}});};$.fn.ajaxSubmit.debug=false;function log(){if(!$.fn.ajaxSubmit.debug)return;var msg='[jquery.form] '+Array.prototype.join.call(arguments,'');if(window.console&&window.console.log)window.console.log(msg);else{if(window.opera&&window.opera.postError)window.opera.postError(msg);}}}));;
12/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
13(function($,Drupal,drupalSettings){Drupal.Views={};Drupal.Views.parseQueryString=function(query){const args={};if(query.includes('?'))query=query.substring(query.indexOf('?')+1);let pair;const pairs=query.split('&');for(let i=0;i<pairs.length;i++){pair=pairs[i].split('=');if(pair[0]!=='q')if(pair[1])args[decodeURIComponent(pair[0].replace(/\+/g,' '))]=decodeURIComponent(pair[1].replace(/\+/g,' '));else args[decodeURIComponent(pair[0].replace(/\+/g,' '))]='';}return args;};Drupal.Views.parseViewArgs=function(href,viewPath){const returnObj={};const path=Drupal.Views.getPath(href);const viewHref=Drupal.url(viewPath).substring(drupalSettings.path.baseUrl.length);if(viewHref&&path.startsWith(`${viewHref}/`)){returnObj.view_args=decodeURIComponent(path.substring(viewHref.length+1,path.length));returnObj.view_path=path;}return returnObj;};Drupal.Views.pathPortion=function(href){const protocol=window.location.protocol;if(href.startsWith(protocol))href=href.substring(href.indexOf('/',protocol.length+2));return href;};Drupal.Views.getPath=function(href){href=Drupal.Views.pathPortion(href);href=href.substring(drupalSettings.path.baseUrl.length,href.length);if(href.startsWith('?q='))href=href.substring(3,href.length);const chars=['#','?','&'];for(let i=0;i<chars.length;i++)if(href.includes(chars[i]))href=href.substring(0,href.indexOf(chars[i]));return href;};})(jQuery,Drupal,drupalSettings);;
14(function($,Drupal,drupalSettings){Drupal.behaviors.ViewsAjaxView={};Drupal.behaviors.ViewsAjaxView.attach=function(context,settings){if(settings?.views?.ajaxViews){const {views:{ajaxViews}}=settings;Object.keys(ajaxViews||{}).forEach((i)=>{Drupal.views.instances[i]=new Drupal.views.ajaxView(ajaxViews[i]);});}};Drupal.behaviors.ViewsAjaxView.detach=(context,settings,trigger)=>{if(trigger==='unload')if(settings?.views?.ajaxViews){const {views:{ajaxViews}}=settings;Object.keys(ajaxViews||{}).forEach((i)=>{const selector=`.js-view-dom-id-${ajaxViews[i].view_dom_id}`;if($(selector,context).length){delete Drupal.views.instances[i];delete settings.views.ajaxViews[i];}});}};Drupal.views={};Drupal.views.instances={};Drupal.views.ajaxView=function(settings){const selector=`.js-view-dom-id-${settings.view_dom_id}`;this.$view=$(selector);this.$exposed_form=$(`form#views-exposed-form-${settings.view_name.replace(/_/g,'-')}-${settings.view_display_id.replace(/_/g,'-')}`);let ajaxPath=drupalSettings.views.ajax_path;if(ajaxPath.constructor.toString().includes('Array'))ajaxPath=ajaxPath[0];let queryString=window.location.search||'';if(queryString!==''){queryString=queryString.slice(1);const params=decodeURI(queryString).split('&').filter((param)=>{const [name,value]=param.split('=');return (this.$exposed_form.find(`input[name="${name}"]`).length===0&&!['page','reset','sort','order','q','render'].includes(name));});queryString=encodeURI(params.join('&'));if(queryString!=='')queryString=(ajaxPath.includes('?')?'&':'?')+queryString;}this.element_settings={url:ajaxPath+queryString,submit:settings,httpMethod:'GET',setClick:true,event:'click',selector,progress:{type:'fullscreen'}};this.settings=settings;once('exposed-form',this.$exposed_form).forEach(this.attachExposedFormAjax.bind(this));once('ajax-pager',this.$view.filter(this.filterNestedViews.bind(this))).forEac
14h(this.attachPagerAjax.bind(this));const selfSettings=$.extend({},this.element_settings,{event:'RefreshView',base:this.selector,httpMethod:'GET',element:this.$view.get(0)});this.refreshViewAjax=Drupal.ajax(selfSettings);};Drupal.views.ajaxView.prototype.attachExposedFormAjax=function(){const that=this;this.exposedFormAjax=[];$('input[type=submit], button[type=submit], input[type=image]',this.$exposed_form).not('[data-drupal-selector=edit-reset]').each(function(index){const selfSettings=$.extend({},that.element_settings,{base:$(this).attr('id'),element:this});that.exposedFormAjax[index]=Drupal.ajax(selfSettings);});};Drupal.views.ajaxView.prototype.filterNestedViews=function(){return !this.$view.parents('.view').length;};Drupal.views.ajaxView.prototype.attachPagerAjax=function(){this.$view.find('.js-pager__items a, th.views-field a, .attachment .views-summary a').each(this.attachPagerLinkAjax.bind(this));};Drupal.views.ajaxView.prototype.attachPagerLinkAjax=function(id,link){const $link=$(link);const viewData={};const href=$link.attr('href');$.extend(viewData,this.settings,Drupal.Views.parseQueryString(href),Drupal.Views.parseViewArgs(href,this.settings.view_base_path));const selfSettings=$.extend({},this.element_settings,{submit:viewData,base:false,element:link,httpMethod:'GET'});this.pagerAjax=Drupal.ajax(selfSettings);};Drupal.AjaxCommands.prototype.setBrowserUrl=(ajax,response)=>{if(ajax.element&&!ajax.element.closest('.ui-dialog-content'))window.history.replaceState(null,'',response.url);};})(jQuery,Drupal,drupalSettings);;
15(function($,Drupal,once,tabbable){if($.ui&&$.ui.dialog&&$.ui.dialog.prototype._allowInteraction){var _allowInteraction=$.ui.dialog.prototype._allowInteraction;$.ui.dialog.prototype._allowInteraction=function(event){if($(event.target).closest('.cke_dialog').length)return true;return _allowInteraction.apply(this,arguments);};}Drupal.behaviors.webformDialogEvents={attach:function(){if(once('webform-dialog','html').length)$(window).on({'dialog:aftercreate':function(event,dialog,$element,settings){setTimeout(function(){const tabbableElements=tabbable.tabbable($element.get(0));var hasFocus=$element.find("[autofocus]");if(!hasFocus.length){hasFocus=tabbableElements.filter((element)=>{return (element.tagName.toLowerCase()==="input"&&element.type!=="button");});hasFocus=$(hasFocus);}if(!hasFocus.length)hasFocus=$element.parent().find('.ui-dialog-titlebar-close');hasFocus.eq(0).trigger('focus');});}});}};})(jQuery,Drupal,once,tabbable);;
16(function($,Drupal,drupalSettings,once){Drupal.webform=Drupal.webform||{};Drupal.webform.dialog=Drupal.webform.dialog||{};Drupal.webform.dialog.options=Drupal.webform.dialog.options||{};Drupal.webformOpenDialog=function(url,type){var $div=$('<div><a href="'+url+'" class="webform-dialog '+type+'"></a></div>');Drupal.behaviors.webformDialog.attach($div.get(0));$div.find('a').trigger('click');};Drupal.behaviors.webformDialog={attach(context){$(once('webform-dialog','a.webform-dialog',context)).each(function(){var $a=$(this);var options=$.extend({},Drupal.webform.dialog.options);if($a.attr('class').match(/webform-dialog-([a-z0-9_]+)/)){var dialogOptionsName=RegExp.$1;if(drupalSettings.webform.dialog.options[dialogOptionsName]){options=drupalSettings.webform.dialog.options[dialogOptionsName];delete options.title;}}if($(this).data('dialog-options'))$.extend(options,$(this).data('dialog-options'));var href=$a.attr('href');if(href.indexOf('?source_entity_type=ENTITY_TYPE&source_entity_id=ENTITY_ID')!==-1){if(drupalSettings.webform.dialog.entity_type&&drupalSettings.webform.dialog.entity_id){href=href.replace('ENTITY_TYPE',encodeURIComponent(drupalSettings.webform.dialog.entity_type));href=href.replace('ENTITY_ID',encodeURIComponent(drupalSettings.webform.dialog.entity_id));}else href=href.replace('?source_entity_type=ENTITY_TYPE&source_entity_id=ENTITY_ID','');$a.attr('href',href);}href+=(href.indexOf('?')===-1?'?':'&')+'_webform_dialog=1';var element_settings={};element_settings.progress={type:'fullscreen'};element_settings.url=href;element_settings.event='touchstart click';element_settings.dialogType=$a.data('dialog-type')||'modal';element_settings.dialog=options;element_settings.element=this;element_settings.error=function error(xmlhttp,uri){if(xmlhttp.status===403)window.location.replace(href.split('?')[0]);};Drupal.ajax(element_settings);});}};})(jQuery,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.