PageSourceSearch

https://allverdas.no/assets/js/apex.ui.js?m=1787069055

js allverdas.no collected 2026-09-27 10:26:21 UTC 3,621 bytes, 140 lines download raw bytes

1sincosJsonp([6],{
2
3/***/ 0:
4/***/ function(module, exports, __webpack_require__) {
5
6	"use strict";
7
8	__webpack_require__(207);
9
10	__webpack_require__(78);
11
12		__webpack_require__(54);
13
14/***/ },
15
16/***/ 54:
17/***/ function(module, exports, __webpack_require__) {
18
19	/* WEBPACK VAR INJECTION */(function($) {'use strict';
20
21	$(function () {
22
23	    $('.js-class-toggler').click(function (event) {
24	        event.preventDefault();
25	        var button = $(this);
26	        $(button.data('toggle-selector')).toggleClass(button.data('toggle-class'));
27	    });
28		});
29	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))
30
31/***/ },
32
33/***/ 78:
34/***/ function(module, exports, __webpack_require__) {
35
36	/* WEBPACK VAR INJECTION */(function($) {'use strict';
37
38	$(function () {
39
40	    var sticky_nav_throttle_limit = 200,
41	        //milliseconds
42	    now = new Date().getTime(),
43	        stick_nav_at = 14,
44	        // 1rem
45	    body_element = $('body'),
46	        scroll_monitor = $('.js-sticky-nav-scroll-monitor');
47
48	    if (scroll_monitor.length !== 1) {
49	        scroll_monitor = $(window);
50	    }
51
52	    var resize_throttle;
53	    function stickNav() {
54	        if (scroll_monitor.scrollTop() > stick_nav_at) {
55	            body_element.addClass('sticky-nav');
56	        } else {
57	            body_element.removeClass('sticky-nav');
58	        }
59	        // Let stuff like smartmenu resize itself if needed
60	        clearTimeout(resize_throttle);
61	        resize_throttle = setTimeout(function () {
62	            $(window).triggerHandler('sticky_nav_change');
63	        }, sticky_nav_throttle_limit);
64	        now = new Date().getTime();
65	    }
66
67	    // init
68	    stickNav();
69
70	    scroll_monitor.scroll(function () {
71	        if (new Date().getTime() - now > sticky_nav_throttle_limit) {
72	            stickNav();
73	        }
74
75	        // An extra check X milliseconds after the user stops scrolling
76	        clearTimeout($.data(scroll_monitor, 'stickyScrollTimer'));
77	        $.data(scroll_monitor, 'stickyScrollTimer', setTimeout(function () {
78	            stickNav();
79	        }, sticky_nav_throttle_limit));
80	    });
81		});
82	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))
83
84/***/ },
85
86/***/ 207:
87/***/ function(module, exports, __webpack_require__) {
88
89	/* WEBPACK VAR INJECTION */(function(jQuery, $) {'use strict';
90
91	/*global jQuery */
92	/*!
93	* FitText.js 1.2
94	*
95	* Copyright 2011, Dave Rupert http://daverupert.com
96	* Released under the WTFPL license
97	* http://sam.zoy.org/wtfpl/
98	*
99	* Date: Thu May 05 14:23:00 2011 -0600
100	*/
101
102	(function ($) {
103
104	  $.fn.fitText = function (kompressor, options) {
105
106	    // Setup options
107	    var compressor = kompressor || 1,
108	        settings = $.extend({
109	      'minFontSize': Number.NEGATIVE_INFINITY,
110	      'maxFontSize': Number.POSITIVE_INFINITY
111	    }, options);
112
113	    return this.each(function () {
114
115	      // Store the object
116	      var $this = $(this);
117
118	      // Resizer() resizes items based on the object width divided by the compressor * 10
119	      var resizer = function resizer() {
120	        $this.css('font-size', Math.max(Math.min($this.width() / (compressor * 10), parseFloat(settings.maxFontSize)), parseFloat(settings.minFontSize)));
121	      };
122
123	      // Call once to set.
124	      resizer();
125
126	      // Call on resize. Opera debounces their resize by default.
127	      $(window).on('resize.fittext orientationchange.fittext', resizer);
128	    });
129	  };
130	})(jQuery);
131
132	$(function () {
133	  $('.js-fittext').fitText();
134	});
135	/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2), __webpack_require__(2)))
136
137/***/ }
138
139});
140//# sourceMappingURL=apex.ui.js.map

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.