PageSourceSearch

https://www.mariehamn.ax/sites/default/files/js/js_8aRzfTnfrrA58PW…NoS33LdzdpfiK7gG0rRE2jnSYZJk2wsM4Q_-Bd8vxnE

js mariehamn.ax collected 2026-10-02 12:41:41 UTC 7,066 bytes, 9 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2(function($){"use strict";Drupal.behaviors.atFFOI={attach:function(){$('html').addClass('fa-loading');var fontObserver=new FontFaceObserver('FontAwesome');fontObserver.load('\uf287\uf142\uf0fc').then(function(){$('html').removeClass('fa-loading').addClass('fa-loaded');},function(){$('html').removeClass('fa-loading').addClass('fa-unavailable');});}};}(jQuery));;
3jQuery(document).ready(function($){$.fn.extend({toggleText:function(a,b){return this.text(this.text()==b?a:b);}});document.body.addEventListener('keydown',function(){document.body.classList.add('using-key');});document.body.addEventListener('mousedown',function(){document.body.classList.remove('using-key');});$('button.nav-toggle-button').on('click',function(e){$(this).toggleClass('is-active');var menu_text='';if($(this).hasClass('is-active'))menu_text='Stäng';else menu_text='Meny';$(this).find('.link-text').text(menu_text);$('#block-mobile-menu').toggle();if($('#rid-header-third').is(':visible'))$('#rid-header-third').css('display','none');else $('#rid-header-third').css('display','flex');});$('#block-exposed-form-search-page .form-text').attr('autocomplete','off');$('button.search-toggle-button').on('click',function(e){e.preventDefault();$('#block-exposed-form-search-page').slideToggle(100);$('#block-exposed-form-search-page .form-text').focus();if($('#block-gtranslate').is(':visible'))$('#block-gtranslate').slideToggle(100);setTimeout(function(){if($('#block-exposed-form-search-page').is(':visible')==false)$('#block-exposed-form-search-page .form-text').blur();},150);});$('button.translate-toggle-button').on('click',function(e){e.preventDefault();$('#block-gtranslate').slideToggle(100);$('#gtranslate_selector').focus();if($('#block-exposed-form-search-page').is(':visible'))$('#block-exposed-form-search-page').slideToggle(100);setTimeout(function(){if($('#block-gtranslate').is(':visible')==false)$('#gtranslate_selector').blur();},150);});$('#gtranslate_selector').on('change',function(e){$('#block-gtranslate').slideToggle(100);$('#gtranslate_selector').blur();});$('.toggle-menu ul.menu li .is-parent__wrapper').append('\
4      <button class="expand" aria-label="Fäll in/ut undermeny"> \
5        <i class="fas fa-chevron-down"></i> \
6      </button> \
7    ');$('.toggle-menu .expand').bind('click',function(e){$(this).parent().siblings('ul.menu').slideToggle(100);$(this).find('.svg-inline--fa').toggleClass('fa-chevron-up fa-chevron-down');});$('.toggle-menu .menu__item--active-trail > .menu__link--wrapper > a').next('.expand').children('i').toggleClass('fa-chevron-down fa-chevron-up');$('.l-to-top').hide();var toTopThrottle=function(){if($(this).scrollTop()>100)$('.l-to-top').stop(true,true).fadeIn();else $('.l-to-top').stop(true,true).fadeOut();};$('.l-to-top a.to-top').click(function(e){e.preventDefault();$('body, html').stop(true,true).animate({scrollTop:0},200);return false;});$('a.more-facts-button').on('click',function(e){e.preventDefault();$(this).find('.svg-inline--fa').toggleClass('fa-chevron-down fa-chevron-up');$('.more-facts-wrapper').slideToggle(100);$(this).find('span').toggleText('Visa öppettider','Dölj öppettider');});$(window).on('scroll',$.throttle(200,toTopThrottle));});;
8!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery);}(function(t){var e=-1,o=-1,n=function(t){return parseFloat(t)||0;},a=function(e){var o=1,a=t(e),i=null,r=[];return a.each(function(){var e=t(this),a=e.offset().top-n(e.css("margin-top")),s=r.length>0?r[r.length-1]:null;null===s?r.push(e):Math.floor(Math.abs(i-a))<=o?r[r.length-1]=s.add(e):r.push(e),i=a;}),r;},i=function(e){var o={byRow:!0,property:"height",target:null,remove:!1};return "object"==typeof e?t.extend(o,e):("boolean"==typeof e?o.byRow=e:"remove"===e&&(o.remove=!0),o);},r=t.fn.matchHeight=function(e){var o=i(e);if(o.remove){var n=this;return this.css(o.property,""),t.each(r._groups,function(t,e){e.elements=e.elements.not(n);}),this;}return this.length<=1&&!o.target?this:(r._groups.push({elements:this,options:o}),r._apply(this,o),this);};r.version="0.7.2",r._groups=[],r._throttle=80,r._maintainScroll=!1,r._beforeUpdate=null,r._afterUpdate=null,r._rows=a,r._parse=n,r._parseOptions=i,r._apply=function(e,o){var s=i(o),h=t(e),l=[h],c=t(window).scrollTop(),p=t("html").outerHeight(!0),u=h.parents().filter(":hidden");return u.each(function(){var e=t(this);e.data("style-cache",e.attr("style"));}),u.css("display","block"),s.byRow&&!s.target&&(h.each(function(){var e=t(this),o=e.css("display");"inline-block"!==o&&"flex"!==o&&"inline-flex"!==o&&(o="block"),e.data("style-cache",e.attr("style")),e.css({display:o,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"});}),l=a(h),h.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||"");})),t.each(l,function(e,o){var a=t(o),i=0;if(s.target)i=s.target.outerHeight(!1);else{if(s.byRow&&a.length<=1)return void a.css(s.property,"");a.each(function(){var e=t(this),o=e.attr("style"),n=e.css("display");"inline-block"!==n&&"flex"!==n&&"inline-flex"!==n&&(n="block");var a={display:n};a[s.property]="",e.css(a),e.outerHeight(!1)>i&&(i=e.outerHeight(!1)),o?e.attr("style",o):e.css("display","");});}a.each(function(){var e=t(this),o=0;s.target&&e.is(s.target)||("border-box"!==e.css("box-sizing")&&(o+=n(e.css("border-top-width"))+n(e.css("border-bottom-width")),o+=n(e.css("padding-top"))+n(e.css("padding-bottom"))),e.css(s.property,i-o+"px"));});}),u.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||null);}),r._maintainScroll&&t(window).scrollTop(c/p*t("html").outerHeight(!0)),this;},r._applyDataApi=function(){var e={};t("[data-match-height], [data-mh]").each(function(){var o=t(this),n=o.attr("data-mh")||o.attr("data-match-height");n in e?e[n]=e[n].add(o):e[n]=o;}),t.each(e,function(){this.matchHeight(!0);});};var s=function(e){r._beforeUpdate&&r._beforeUpdate(e,r._groups),t.each(r._groups,function(){r._apply(this.elements,this.options);}),r._afterUpdate&&r._afterUpdate(e,r._groups);};r._update=function(n,a){if(a&&"resize"===a.type){var i=t(window).width();if(i===e)return;e=i;}n?o===-1&&(o=setTimeout(function(){s(a),o=-1;},r._throttle)):s(a);},t(r._applyDataApi);var h=t.fn.on?"on":"bind";t(window)[h]("load",function(t){r._update(!1,t);}),t(window)[h]("resize orientationchange",function(t){r._update(!0,t);});});;
9(function(b,c){var $=b.jQuery||b.Cowboy||(b.Cowboy={}),a;$.throttle=a=function(e,f,j,i){var h,d=0;if(typeof f!=="boolean"){i=j;j=f;f=c;}function g(){var o=this,m=+new Date()-d,n=arguments;function l(){d=+new Date();j.apply(o,n);}function k(){h=c;}if(i&&!h)l();h&&clearTimeout(h);if(i===c&&m>e)l();else{if(f!==true)h=setTimeout(i?k:l,i===c?e-m:e);}}if($.guid)g.guid=j.guid=j.guid||$.guid++;return g;};$.debounce=function(d,e,f){return f===c?a(d,e,false):a(d,f,e!==false);};})(this);;

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.