PageSourceSearch

https://jernejkitchen.com/sites/default/files/advagg_js/js__M6ZGLJ…cyk853WThgiiNSzZd9M-77OGq6mU3cAEG6yirZY0.js

js jernejkitchen.com collected 2026-09-26 10:57:37 UTC 22,637 bytes, 54 lines download raw bytes

1/* Source and licensing information for the line(s) below can be found at https://jernejkitchen.com/misc/autocomplete.js. */
2(function(t){Drupal.behaviors.autocomplete={attach:function(e,i){var s=[];t('input.autocomplete',e).once('autocomplete',function(){var i=this.value;if(!s[i]){s[i]=new Drupal.ACDB(i)};var e=t('#'+this.id.substr(0,this.id.length-13)).attr('autocomplete','OFF').attr('aria-autocomplete','list');t(e[0].form).submit(Drupal.autocompleteSubmit);e.parent().attr('role','application').append(t('<span class="element-invisible" aria-live="assertive"></span>').attr('id',e.attr('id')+'-autocomplete-aria-live'));new Drupal.jsAC(e,s[i])})}};Drupal.autocompleteSubmit=function(){return t('#autocomplete').each(function(){this.owner.hidePopup()}).length==0};Drupal.jsAC=function(e,i){var s=this;this.input=e[0];this.ariaLive=t('#'+this.input.id+'-autocomplete-aria-live');this.db=i;e.keydown(function(t){return s.onkeydown(this,t)}).keyup(function(t){s.onkeyup(this,t)}).blur(function(){s.hidePopup();s.db.cancel()})};Drupal.jsAC.prototype.onkeydown=function(t,e){if(!e){e=window.event};switch(e.keyCode){case 40:this.selectDown();return!1;case 38:this.selectUp();return!1;default:return!0}};Drupal.jsAC.prototype.onkeyup=function(t,e){if(!e){e=window.event};switch(e.keyCode){case 16:case 17:case 18:case 20:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:return!0;case 9:case 13:case 27:this.hidePopup(e.keyCode);return!0;default:if(t.value.length>0&&!t.readOnly){this.populatePopup()}
3else{this.hidePopup(e.keyCode)};return!0}};Drupal.jsAC.prototype.select=function(e){this.input.value=t(e).data('autocompleteValue');t(this.input).trigger('autocompleteSelect',[e])};Drupal.jsAC.prototype.selectDown=function(){if(this.selected&&this.selected.nextSibling){this.highlight(this.selected.nextSibling)}
4else if(this.popup){var e=t('li',this.popup);if(e.length>0){this.highlight(e.get(0))}}};Drupal.jsAC.prototype.selectUp=function(){if(this.selected&&this.selected.previousSibling){this.highlight(this.selected.previousSibling)}};Drupal.jsAC.prototype.highlight=function(e){if(this.selected){t(this.selected).removeClass('selected')};t(e).addClass('selected');this.selected=e;t(this.ariaLive).html(t(this.selected).html())};Drupal.jsAC.prototype.unhighlight=function(e){t(e).removeClass('selected');this.selected=!1;t(this.ariaLive).empty()};Drupal.jsAC.prototype.hidePopup=function(e){if(this.selected&&((e&&e!=46&&e!=8&&e!=27)||!e)){this.select(this.selected)};var i=this.popup;if(i){this.popup=null;t(i).fadeOut('fast',function(){t(i).remove()})};this.selected=!1;t(this.ariaLive).empty()};Drupal.jsAC.prototype.populatePopup=function(){var e=t(this.input),i=e.position();if(this.popup){t(this.popup).remove()};this.selected=!1;this.popup=t('<div id="autocomplete"></div>')[0];this.popup.owner=this;t(this.popup).css({top:parseInt(i.top+this.input.offsetHeight,10)+'px',left:parseInt(i.left,10)+'px',width:e.innerWidth()+'px',display:'none'});e.before(this.popup);this.db.owner=this;this.db.search(this.input.value)};Drupal.jsAC.prototype.found=function(e){if(!this.input.value.length){return!1};var i=t('<ul></ul>'),s=this;for(key in e){t('<li></li>').html(t('<div></div>').html(e[key])).mousedown(function(){s.hidePopup(this)}).mouseover(function(){s.highlight(this)}).mouseout(function(){s.unhighlight(this)}).data('autocompleteValue',key).appendTo(i)};if(this.popup){if(i.children().length){t(this.popup).empty().append(i).show();t(this.ariaLive).html(Drupal.t('Autocomplete popup'))}
5else{t(this.popup).css({visibility:'hidden'});this.hidePopup()}}};Drupal.jsAC.prototype.setStatus=function(e){switch(e){case'begin':t(this.input).addClass('throbbing');t(this.ariaLive).html(Drupal.t('Searching for matches...'));break;case'cancel':case'error':case'found':t(this.input).removeClass('throbbing');break}};Drupal.ACDB=function(t){this.uri=t;this.delay=300;this.cache={}};Drupal.ACDB.prototype.search=function(e){var i=this;this.searchString=e;e=e.replace(/^\s+|\.{2,}\/|\s+$/g,'');if(e.length<=0||e.charAt(e.length-1)==','){return};if(this.cache[e]){return this.owner.found(this.cache[e])};if(this.timer){clearTimeout(this.timer)};this.timer=setTimeout(function(){i.owner.setStatus('begin');
5t.ajax({type:'GET',url:Drupal.sanitizeAjaxUrl(i.uri+'/'+Drupal.encodePath(e)),dataType:'json',jsonp:!1,success:function(t){if(typeof t.status=='undefined'||t.status!=0){i.cache[e]=t;if(i.searchString==e){i.owner.found(t)};i.owner.setStatus('found')}},error:function(t){Drupal.displayAjaxError(Drupal.ajaxError(t,i.uri))}})},this.delay)};Drupal.ACDB.prototype.cancel=function(){if(this.owner)this.owner.setStatus('cancel');if(this.timer)clearTimeout(this.timer);this.searchString=''}})(jQuery);;
6/* Source and licensing information for the above line(s) can be found at https://jernejkitchen.com/misc/autocomplete.js. */;/*})'"*/
7/* Source and licensing information for the line(s) below can be found at https://jernejkitchen.com/sites/all/modules/search_api_autocomplete/search_api_autocomplete.js. */
8(function(t){if(typeof Drupal.jsAC!='undefined'){var e=function(e,a,i){var r=t(e).data('search-api-autocomplete-search');if(typeof r=='undefined'||typeof Drupal.settings.search_api_autocomplete=='undefined'||typeof Drupal.settings.search_api_autocomplete[r]=='undefined'||typeof Drupal.settings.search_api_autocomplete[r][a]=='undefined'){return i};return Drupal.settings.search_api_autocomplete[r][a]},a=Drupal.jsAC;Drupal.jsAC=function(t,e){if(t.data('search-api-autocomplete-search')){t.attr('role','combobox');t.parent().attr('role','search')};this.inSelect=!1;a.call(this,t,e)};Drupal.jsAC.prototype=a.prototype;var n=Drupal.jsAC.prototype.onkeyup;Drupal.jsAC.prototype.onkeyup=function(a,r){if(!r){r=window.event};n.call(this,a,r);
8if(13==r.keyCode&&t(a).hasClass('auto_submit')){var i=e(a,'selector',':submit');t(i,a.form).trigger('click')}};var i=Drupal.jsAC.prototype.onkeydown;Drupal.jsAC.prototype.onkeydown=function(e,a){if(!a){a=window.event};i.call(this,e,a);if(13==a.keyCode&&t(e).hasClass('auto_submit')){a.preventDefault();return!1}};var r=Drupal.jsAC.prototype.select;Drupal.jsAC.prototype.select=function(a){if(!t(this.input).data('search-api-autocomplete-search')){return r.call(this,a)};if(this.inSelect){return!1};this.inSelect=!0;var i=t(a).data('autocompleteValue');if(i.charAt(0)==' '){window.location.href=i.substr(1);this.inSelect=!1;return!1};this.input.value=i;t(this.input).trigger('autocompleteSelect',[a]);if(t(this.input).hasClass('auto_submit')){if(typeof Drupal.search_api_ajax!='undefined'){Drupal.search_api_ajax.navigateQuery(t(this.input).val())}
9else{var n=e(this.input,'selector',':submit');t(n,this.input.form).trigger('click')};this.inSelect=!1;return!0};this.inSelect=!1};Drupal.autocompleteSubmit=function(){t('#autocomplete').each(function(){this.owner.hidePopup()});return!0};Drupal.ACDB.prototype.search=function(a){this.searchString=a;var s=t(this.owner.input).first().data('min-autocomplete-length');if(s&&a.length<s){return};if(a.match(/^\s*$/)){return};a=a.replace(/^\s+/,'');a=a.replace(/\s+/g,' ');if(this.cache[a]){return this.owner.found(this.cache[a])};var r=this;this.searchString=a;if(this.timer){clearTimeout(this.timer)};var i=function(){r.owner.setStatus('begin');var i;if(e(r.owner.input,'custom_path',!1)){var n=r.uri.indexOf('?')>=0?'&':'?';i=r.uri+n+'search='+encodeURIComponent(a)}
10else{i=r.uri+'/'+Drupal.encodePath(a)};t.ajax({type:'GET',url:i,dataType:'json',success:function(t){if(typeof t.status=='undefined'||t.status!=0){r.cache[a]=t;if(r.searchString==a){r.owner.found(t)};r.owner.setStatus('found')}},error:function(t){if(t.status){alert(Drupal.ajaxError(t,r.uri))}}})},n=e(this.owner.input,'delay',this.delay);if(n>0){this.timer=setTimeout(i,n)}
11else{i.apply()}}}})(jQuery);;
12/* Source and licensing information for the above line(s) can be found at https://jernejkitchen.com/sites/all/modules/search_api_autocomplete/search_api_autocomplete.js. */;/*})'"*/
13/* Source and licensing information for the line(s) below can be found at https://jernejkitchen.com/sites/all/modules/google_analytics/googleanalytics.js. */
14(function(e){Drupal.googleanalytics={};e(document).ready(function(){e(document.body).bind("mousedown keyup touchstart",function(a){e(a.target).closest("a,area").each(function(){if(Drupal.googleanalytics.isInternal(this.href)){if(e(this).is(".colorbox")&&(Drupal.settings.googleanalytics.trackColorbox)){}
15else if(Drupal.settings.googleanalytics.trackDownload&&Drupal.googleanalytics.isDownload(this.href)){ga("send",{"hitType":"event","eventCategory":"Downloads","eventAction":Drupal.googleanalytics.getDownloadExtension(this.href).toUpperCase(),"eventLabel":Drupal.googleanalytics.getPageUrl(this.href),"transport":"beacon"})}
16else if(Drupal.googleanalytics.isInternalSpecial(this.href)){ga("send",{"hitType":"pageview","page":Drupal.googleanalytics.getPageUrl(this.href),"transport":"beacon"})}}
17else{if(Drupal.settings.googleanalytics.trackMailto&&e(this).is("a[href^='mailto:'],area[href^='mailto:']")){ga("send",{"hitType":"event","eventCategory":"Mails","eventAction":"Click","eventLabel":this.href.substring(7),"transport":"beacon"})}
18else if(Drupal.settings.googleanalytics.trackOutbound&&this.href.match(/^\w+:\/\//i)){if(Drupal.settings.googleanalytics.trackDomainMode!==2||(Drupal.settings.googleanalytics.trackDomainMode===2&&!Drupal.googleanalytics.isCrossDomain(this.hostname,Drupal.settings.googleanalytics.trackCrossDomains))){ga("send",{"hitType":"event","eventCategory":"Outbound links","eventAction":"Click","eventLabel":this.href,"transport":"beacon"})}}}})});if(Drupal.settings.googleanalytics.trackUrlFragments){window.onhashchange=function(){ga("send",{"hitType":"pageview","page":location.pathname+location.search+location.hash})}};if(Drupal.settings.googleanalytics.trackColorbox){e(document).bind("cbox_complete",function(){var a=e.colorbox.element
18().attr("href");if(a){ga("send",{"hitType":"pageview","page":Drupal.googleanalytics.getPageUrl(a)})}})}});Drupal.googleanalytics.isCrossDomain=function(a,t){if(!t){return!1}
19else{return e.inArray(a,t)>-1?!0:!1}};Drupal.googleanalytics.isDownload=function(e){var a=new RegExp("\\.("+Drupal.settings.googleanalytics.trackDownloadExtensions+")([\?#].*)?$","i");return a.test(e)};Drupal.googleanalytics.isInternal=function(e){var a=new RegExp("^(https?):\/\/"+window.location.host,"i");return a.test(e)};Drupal.googleanalytics.isInternalSpecial=function(e){var a=new RegExp("(\/go\/.*)$","i");return a.test(e)};Drupal.googleanalytics.getPageUrl=function(e){var a=new RegExp("^(https?):\/\/"+window.location.host,"i");return e.replace(a,"")};Drupal.googleanalytics.getDownloadExtension=function(e){var t=new RegExp("\\.("+Drupal.settings.googleanalytics.trackDownloadExtensions+")([\?#].*)?$","i"),a=t.exec(e);return(a===null)?"":a[1]}})(jQuery);;
20/* Source and licensing information for the above line(s) can be found at https://jernejkitchen.com/sites/all/modules/google_analytics/googleanalytics.js. */;/*})'"*/
21/* Source and licensing information for the line(s) below can be found at https://jernejkitchen.com/sites/all/libraries/jquery.placeholder/jquery.placeholder.js. */
22(function(e){if(typeof define==='function'&&define.amd){define(['jquery'],e)}
23else if(typeof module==='object'&&module.exports){e(require('jquery'))}
24else{e(jQuery)}}(function(e){var r=!1,c=Object.prototype.toString.call(window.operamini)==='[object OperaMini]',i='placeholder' in document.createElement('input')&&!c&&!r,d='placeholder' in document.createElement('textarea')&&!c&&!r,n=e.valHooks,u=e.propHooks,o,a,t={};if(i&&d){a=e.fn.placeholder=function(){return this};a.input=!0;a.textarea=!0}
25else{a=e.fn.placeholder=function(a){var o={customClass:'placeholder'};t=e.extend({},o,a);return this.filter((i?'textarea':':input')+'['+(r?'placeholder-x':'placeholder')+']').not('.'+t.customClass).not(':radio, :checkbox, [type=hidden]').bind({'focus.placeholder':l,'blur.placeholder':s}).data('placeholder-enabled',!0).trigger('blur.placeholder')};a.input=i;a.textarea=d;o={'get':function(a){var l=e(a),r=l.data('placeholder-password');if(r){return r[0].value};return l.data('placeholder-enabled')&&l.hasClass(t.customClass)?'':a.value},'set':function(a,r){var o=e(a),i,d;if(r!==''){i=o.data('placeholder-textinput');d=o.data('placeholder-password');if(i){l.call(i[0],!0,r)||(a.value=r);i[0].value=r}
26else if(d){l.call(a,!0,r)||(d[0].value=r);a.value=r}};if(!o.data('placeholder-enabled')){a.value=r;return o};if(r===''){a.value=r;if(a!=p()){s.call(a)}}
27else{if(o.hasClass(t.customClass)){l.call(a)};a.value=r};return o}};if(!i){n.input=o;u.value=o};if(!d){n.textarea=o;u.value=o};e(function(){e(document).delegate('form','submit.placeholder',function(){var a=e('.'+t.customClass,this).each(function(){l.call(this,!0,'')});setTimeout(function(){a.each(s)},10)})});e(window).bind('beforeunload.placeholder',function(){var a=!0;try{if(document.activeElement.toString()==='javascript:void(0)'){a=!1}}catch(l){};if(a){e('.'+t.customClass).each(function(){this.value=''})}})};function h(t){var a={};var l=/^jQuery\d+$/;e.each(t.attributes,function(e,t){if(t.specified&&!l.test(t.name)){a[t.name]=t.value}});return a};function l(a,o){var i=this,l=e(this);if(i.value===l.attr((r?'placeholder-x':'placeholder'))&&l.hasClass(t.customClass)){i.value='';l.removeClass(t.customClass);if(l.data('placeholder-password')){l=l.hide().nextAll('input[type="password"]:first').show().attr('id',l.removeAttr('id').data('placeholder-id'));if(a===!0){l[0].value=o;return o};l.focus()}
28else{i==p()&&i.select()}}};function s(o){var i,d=this,a=e(this),c=d.id;if(o&&o.type==='blur'&&a.hasClass(t.customClass)){return};if(d.value===''){if(d.type==='password'){if(!a.data('placeholder-textinput')){try{i=a.clone().prop({'type':'text'})}catch(n){i=e('<input>').attr(e.extend(h(this),{'type':'text'}))};i.removeAttr('name').data({'placeholder-enabled':!0,'placeholder-password':a,'placeholder-id':c}).bind('focus.placeholder',l);a.data({'placeholder-textinput':i,'placeholder-id':c}).before(i)};d.value='';a=a.removeAttr('id').hide().prevAll('input[type="text"]:first').attr('id',a.data('placeholder-id')).show()}
29else{var s=a.data('placeholder-password');
29if(s){s[0].value='';a.attr('id',a.data('placeholder-id')).show().nextAll('input[type="password"]:last').hide().removeAttr('id')}};a.addClass(t.customClass);a[0].value=a.attr((r?'placeholder-x':'placeholder'))}
30else{a.removeClass(t.customClass)}};function p(){try{return document.activeElement}catch(e){}}}));;
31/* Source and licensing information for the above line(s) can be found at https://jernejkitchen.com/sites/all/libraries/jquery.placeholder/jquery.placeholder.js. */;/*})'"*/
32/* Source and licensing information for the line(s) below can be found at https://jernejkitchen.com/sites/all/modules/form_placeholder/form_placeholder.js. */
33(function(e){Drupal.form_placeholder={};Drupal.form_placeholder.placeholderIsSupported=function(){var e=Object.prototype.toString.call(window.operamini)=='[object OperaMini]';return'placeholder' in document.createElement('input')&&!e};Drupal.behaviors.form_placeholder={attach:function(a,r){var o=r.form_placeholder.include;if(o){o+=', '};o+='.form-placeholder-include-children *';o+=', .form-placeholder-include';var l=r.form_placeholder.exclude;if(l){l+=', '};l+='.form-placeholder-exclude-children *';l+=', .form-placeholder-exclude';var t=r.form_placeholder.required_indicator;e(o,a).not(l).each(function(){$textfield=e(this);if(!$textfield.is('input[type=text], input[type=email], input[type=password], textarea')){return}
34else if(Drupal.form_placeholder.placeholderIsSupported()||r.form_placeholder.fallback_support){$form=$textfield.closest('form');$label=$form.find('label[for='+this.id+']');if(t==='append'){$label.find('.form-required').insertAfter($textfield).prepend('&nbsp;')}
35else if(t==='remove'){$label.find('.form-required').remove()}
36else if(t==='text'){$label.find('.form-required').text('('+Drupal.t('required')+')')};$textfield.attr('placeholder',e.trim($label.text()));$label.hide();if(!Drupal.form_placeholder.placeholderIsSupported()&&r.form_placeholder.fallback_support){$textfield.placeholder()}}})}}})(jQuery);;
37/* Source and licensing information for the above line(s) can be found at https://jernejkitchen.com/sites/all/modules/form_placeholder/form_placeholder.js. */;/*})'"*/
38/* Source and licensing information for the line(s) below can be found at https://jernejkitchen.com/sites/all/themes/bootstrap/js/modules/views/js/ajax_view.js. */
39(function(a){Drupal.views.ajaxView.prototype.attachPagerAjax=function(){this.$view.find('ul.pager > li > a, th.views-field a, .attachment .views-summary a, ul.pagination li a').each(jQuery.proxy(this.attachPagerLinkAjax,this))}})(jQuery);;
40/* Source and licensing information for the above line(s) can be found at https://jernejkitchen.com/sites/all/themes/bootstrap/js/modules/views/js/ajax_view.js. */;/*})'"*/
41/* Source and licensing information for the line(s) below can be found at https://jernejkitchen.com/sites/all/themes/bootstrap/js/misc/autocomplete.js. */
42(function(t){Drupal.behaviors.autocomplete={attach:function(i){var e=t(i),o=[];e.find('input.autocomplete').once('autocomplete',function(){var s=this.value;if(!o[s]){o[s]=new Drupal.ACDB(s)};var i=e.find('#'+this.id.substr(0,this.id.length-13)).attr('autocomplete','OFF').attr('aria-autocomplete','list');e.find(i[0].form).submit(Drupal.autocompleteSubmit);i.parents('.form-item').attr('role','application').append(t('<span class="element-invisible" aria-live="assertive"></span>').attr('id',i.attr('id')+'-autocomplete-aria-live'));new Drupal.jsAC(i,o[s],e)})}};Drupal.autocompleteSubmit=function(){t('.form-autocomplete > .dropdown').each(function(){this.owner.hidePopup()});return!0};Drupal.jsAC.prototype.highlight=function(i){if(this.selected){t(this.selected).removeClass('active')};t(i).addClass('active');this.selected=i;t(this.ariaLive).html(t(this.selected).html())};Drupal.jsAC.prototype.unhighlight=function(i){t(i).removeClass('active');this.selected=!1;t(this.ariaLive).empty()};Drupal.jsAC.prototype.populatePopup=function(){var i=t(this.input);if(this.popup){t(this.popup).remove()};this.selected=!1;this.popup=t('<div class="dropdown"></div>')[0];this.popup.owner=this;i.parent().after(this.popup);this.db.owner=this;this.db.search(this.input.value)};Drupal.jsAC.prototype.found=function(i){if(!this.input.value.length){return!1};var e=t('<ul class="dropdown-menu"></ul>'),o=this;e.css({display:'block',right:0});for(var s in i){t('<li></li>').html(t('<a href="#"></a>').html(i[s]).on('click',function(t){t.preventDefault()})).on('mousedown',function(){o.hidePopup(this)}).on('mouseover',function(){o.highlight(this)}).on('mouseout',function(){o.unhighlight(this)}).data('autocompleteValue',s).appendTo(e)};if(this.popup){if(e.children().length){t(this.popup).empty().append(e).show();t(this.ariaLive).html(Drupal.t('Autocomplete popup'))}
43else{t(this.popup).css({visibility:'hidden'});this.hidePopup()}}};Drupal.jsAC.prototype.findNextSibling=function(t){var i=t&&t.nextSibling;if(i&&!this.validItem(i)){return this.findNextSibling(i.nextSibling)};return i};Drupal.jsAC.prototype.findPreviousSibling=function(t){var i=t&&t.previousSibling;if(i&&!this.validItem(i)){return this.findPreviousSibling(i.previousSibling)};return i};Drupal.jsAC.prototype.selectDown=function(){var e=this.findNextSibling(this.selected);if(e){this.highlight(e)}
44else if(this.popup){var i=t('li',this.popup);if(i.length>0){if(this.validItem(i[0])){this.highlight(i[0])}
45else{this.highlight(this.findNextSibling(i[0]))}}}};Drupal.jsAC.prototype.selectUp=function(){var e=this.findPreviousSibling(this.selected);if(e){this.highlight(e)}
46else if(this.popup){var i=t('li',this.popup);if(i.length>0){if(this.validItem(i[i.length-1])){this.highlight(i[i.length-1])}
47else{this.highlight(this.findPreviousSibling(i[i.length-1]))}}}};Drupal.jsAC.prototype.validItem=function(i){return!t(i).is('.dropdown-header, .divider, .disabled')};Drupal.jsAC.prototype.setStatus=function(i){var e=t(this.input).parent().find('.glyphicon-refresh, .autocomplete-throbber').first(),o=e.is('.autocomplete-throbber')?'throbbing':'glyphicon-spin';switch(i){case'begin':e.addClass(o);t(this.ariaLive).html(Drupal.t('Searching for matches...'));break;case'cancel':case'error':case'found':e.removeClass(o);break}};var i=Drupal.jsAC.prototype;Drupal.jsAC=function(i,s,o){var e=this;this.$context=o&&t(o)||t(document);this.input=i[0];this.ariaLive=this.$context.find('#'+this.input.id+'-autocomplete-aria-live');this.db=s;i.keydown(function(t){return e.onkeydown(this,t)}).keyup(function(t){e.onkeyup(this,t)}).blur(function(){e.hidePopup();e.db.cancel()})};Drupal.jsAC.prototype=i})(jQuery);;
48/* Source and licensing information for the above line(s) can be found at https://jernejkitchen.com/sites/all/themes/bootstrap/js/misc/autocomplete.js. */;/*})'"*/
49/* Source and licensing information for the line(s) below can be found at https://jernejkitchen.com/sites/all/themes/bootstrap/js/misc/ajax.js. */
50(function(e){Drupal.ajax.prototype.beforeSend=function(o,r){if(this.form){r.extraData=r.extraData||{};r.extraData.ajax_iframe_upload='1';var i=e.fieldValue(this.element);if(i!==null){r.extraData[this.element.name]=i}};var s=e(this.element);s.addClass('progress-disabled').attr('disabled',!0);if(this.progress.type=='bar'){var a=new Drupal.progressBar('ajax-progress-'+this.element.i
50d,eval(this.progress.update_callback),this.progress.method,eval(this.progress.error_callback));if(this.progress.message){a.setProgress(-1,this.progress.message)};if(this.progress.url){a.startMonitoring(this.progress.url,this.progress.interval||500)};this.progress.element=e(a.element).addClass('ajax-progress ajax-progress-bar');this.progress.object=a;s.closest('.file-widget,.form-item').after(this.progress.element)}
51else if(this.progress.type=='throbber'){this.progress.element=e('<div class="ajax-progress ajax-progress-throbber"><i class="glyphicon glyphicon-refresh glyphicon-spin"></i></div>');if(this.progress.message){e('.throbber',this.progress.element).after('<div class="message">'+this.progress.message+'</div>')};if(s.is('input')){s.after(this.progress.element)}
52else if(s.is('select')){var t=s.closest('.form-item').find('.input-group-addon, .input-group-btn');if(!t.length){s.wrap('<div class="input-group">');t=e('<span class="input-group-addon">');s.after(t)};t.append(this.progress.element)}
53else{s.append(this.progress.element)}}}})(jQuery);;
54/* Source and licensing information for the above line(s) can be found at https://jernejkitchen.com/sites/all/themes/bootstrap/js/misc/ajax.js. */;/*})'"*/

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.