PageSourceSearch

https://morakommun.se/download/18.166aa05167c62dff5d472b4/1687876078746/bundle.js

js morakommun.se collected 2026-09-24 23:10:53 UTC 58,518 bytes, 1,723 lines download raw bytes

1/**
2 * Soleil AB
3 * Author: Per Lundström
4 * Date: Tue Jun 27 2023 16:27:54 GMT+0200 (centraleuropeisk sommartid)
5 * Build script version: 2.2.4
6 */
7(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof browserify_require=="function"&&browserify_require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof browserify_require=="function"&&browserify_require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
8"use strict";
9
10module.exports = function () {
11  require('../api/polyfills/nodelist-foreach');
12
13  var _isVisible = function _isVisible(el) {
14    return el.offsetParent !== null;
15  };
16
17  var _notExcluded = function _notExcluded(excludeEl, input) {
18    return excludeEl && excludeEl instanceof Element ? !excludeEl.contains(input) : true;
19  };
20
21  var _isBody = function _isBody(el) {
22    return el.tagName === 'BODY';
23  };
24
25  var removeTabIndex = function removeTabIndex(excludeEl) {
26    var inputs = document.querySelectorAll('select, input, textarea, button, a');
27    inputs.forEach(function (input) {
28      if (_isVisible(input) && _notExcluded(excludeEl, input)) {
29        var tabindex = input.getAttribute('tabindex');
30        if (tabindex) input.setAttribute('data-index', tabindex);
31        input.setAttribute('tabindex', -1);
32      }
33    });
34  };
35
36  var restoreTabIndex = function restoreTabIndex() {
37    var inputs = document.querySelectorAll('select, input, textarea, button, a');
38    inputs.forEach(function (input) {
39      if (_isVisible(input)) {
40        var tabindex = input.getAttribute('data-index');
41
42        if (tabindex) {
43          input.setAttribute('tabindex', tabindex);
44        } else {
45          input.removeAttribute('tabindex');
46        }
47
48        input.removeAttribute('tabindex');
49      }
50    });
51  };
52
53  var setAriaHiddenRecursive = function setAriaHiddenRecursive(el) {
54    if (el && el.parentNode && !_isBody(el)) {
55      var sibling = el.parentNode.firstChild;
56
57      do {
58        if (sibling instanceof Element && sibling !== el) {
59          var hidden = sibling.getAttribute('aria-hidden');
60          var dataHidden = sibling.getAttribute('data-aria-hidden');
61          if (hidden && dataHidden !== null) sibling.setAttribute('data-aria-hidden', hidden);
62          sibling.setAttribute('aria-hidden', 'true');
63        }
64      } while (sibling = sibling.nextSibling);
65
66      setAriaHiddenRecursive(el.parentNode);
67    }
68  };
69
70  var restoreAriaHiddenRecursive = function restoreAriaHiddenRecursive(el) {
71    if (el && el.parentNode && !_isBody(el)) {
72      var sibling = el.parentNode.firstChild;
73
74      do {
75        if (sibling instanceof Element && sibling !== el) {
76          var hidden = sibling.getAttribute('data-aria-hidden');
77
78          if (hidden) {
79            sibling.setAttribute('aria-hidden', hidden);
80          } else {
81            sibling.removeAttribute('aria-hidden', 'true');
82          }
83
84          sibling.removeAttribute('data-aria-hidden');
85        }
86      } while (sibling = sibling.nextSibling);
87
88      restoreAriaHiddenRecursive(el.parentNode);
89    }
90  };
91
92  return {
93    removeTabIndex: removeTabIndex,
94    restoreTabIndex: restoreTabIndex,
95    setAriaHiddenRecursive: setAriaHiddenRecursive,
96    restoreAriaHiddenRecursive: restoreAriaHiddenRecursive
97  };
98}();
99
100},{"../api/polyfills/nodelist-foreach":2}],2:[function(require,module,exports){
101"use strict";
102
103module.exports = function () {
104  if (window.NodeList && !NodeList.prototype.forEach) {
105    NodeList.prototype.forEach = function (callback, thisArg) {
106      thisArg = thisArg || window;
107
108      for (var i = 0; i < this.length; i++) {
109        callback.call(thisArg, this[i], i, this);
110      }
111    };
112  }
113
114  ;
115}();
116
117},{}],3:[function(require,module,exports){
118"use strict";
119
120var _vueUtils = _interopRequireDefault(require("../utils/vue-utils"));
121
122function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
123
124// import clamp from 'clamp-js-main';
125window.Soleil.VueUtils = _vueUtils.default;
126
127},{"../utils/vue-utils":16}],4:[function(require,module,exports){
128"use strict";
129
130window.SolUtils = window.SolUtils || {};
131window.svDocReady(function () {
132  var $ = $svjq;
133
134  $.fn.wrapInGroups = function wrapInGroups(wrapHtml) {
135    var groupSize = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
136    var selector = this.selector;
137    this.filter(":nth-child(".concat(groupSize, "n+1)")).each(function each() {
138      $(this).nextAll("".concat(selector, ":lt(").concat(groupSize - 1, ")")).andSelf().wrapAll(wrapHtml);
139    });
140  };
141
142  $.fn.changeElementType = function changeElementType(newType) {
143    var attrs = {};
144    $.each(this[0].attributes, function (idx, attr) {
145      attrs[attr.nodeName] = attr.nodeValue;
146    });
147    this.replaceWith(function replaceWith() {
148      return $("<".concat(newType, "/>"), attrs).append($(this).contents());
149    });
150  };
151
152  $.fn.appendFromTemplate = function appendFromTemplate(selector, obj) {
153    var html = SolUtils.createHtml(selector, obj);
154    this.append(html);
155    return this;
156  };
157
158  $.fn.delayKeyup = function delayKeyup(callback, ms) {
159    var timer = 0;
160    var e = $(this);
161    $(this).keyup(function () {
162      clearTimeout(timer);
163      timer = setTimeout(function () {
164        callback(e);
165      }, ms);
166    });
167    return $(this);
168  };
169
170  $.fn.isValid = function isValid() {
171    var inputs = this.find('input');
172
173    for (var i = 0; i < inputs.length; i += 1) {
174      if (!inputs[i].checkValidity()) {
175        return false;
176      }
177    }
178
179    return true;
180  };
181
182  $.fn.toggleAttr = function toggleAttr(attr, attr1, attr2) {
183    return this.each(function each() {
184      var self = $(this);
185
186      if (self.attr(attr) === attr1) {
187        self.attr(attr, attr2);
188      } else {
189        self.attr(attr, attr1);
190      }
191    });
192  };
193
194  $.fn.extend({
195    toggleText: function toggleText(a, b) {
196      return this.text(this.text() === b ? a : b);
197    }
198  });
199});
200
201},{}],5:[function(require,module,exports){
202"use strict";
203
204window.svDocReady(function () {
205  var $ = $svjq;
206  $('.sv-form-portlet input').focus(function onFocus() {
207    $(this).addClass('sol-dirty-input');
208  });
209});
210
211},{}],6:[function(require,module,exports){
212"use strict";
213
214// Menyn hamnar alltid under sidhuvudet
215window.svDocReady(function () {
216  var $ = $svjq;
217  var mobileWrapper = $('.sol-mobile-menu-modal-mask');
218  var menuWrapper = $('.sol-menu-modal-mask');
219  var header = $('header');
220  var body = $('.sol-content-container');
221  setTimeout(function () {
222    mobileWrapper.css('top', header.outerHeight());
223    menuWrapper.css('top', header.outerHeight());
224    body.css('padding-top', header.outerHeight());
225  }, 200);
226});
227
228},{}],7:[function(require,module,exports){
229"use strict";
230
231window.SolUtils = window.SolUtils || {};
232window.svDocReady(function () {
233  var $ = $svjq;
234
235  function solUtilsInit() {
236    SolUtils.createHtml = function (selector, obj) {
237      var html = $(selector).html();
238
239      for (var i in obj) {
240        var regexp = new RegExp("{{".concat(i, "}}"), 'g');
241        html = html.replace(regexp, obj[i]);
242      }
243
244      return html;
245    };
246
247    SolUtils.getParameterByName = function (name, url) {
248      if (!url) url = window.location.href;
249      name = name.replace(/[\[\]]/g, '\\$&');
250      var regex = new RegExp("[?&]".concat(name, "(=([^&#]*)|&|#|$)"));
251      var results = regex.exec(url);
252      if (!results) return null;
253      if (!results[2]) return '';
254      return decodeURIComponent(results[2].replace(/\+/g, ' '));
255    };
256
257    SolUtils.clickableElement = function (selector) {
258      if (SolUtils.isOnline()) {
259        $(selector).each(function () {
260          var elem = $(this).find('a');
261
262          if (elem.length > 0) {
263            var url = elem.attr('href');
264            var target = elem.attr('rel') == 'external' ? '_blank' : '_self';
265            $(this).css('cursor', 'pointer');
266            $(this).click(function () {
267              window.open(url, target);
268            });
269          }
270        });
271      }
272    };
273
274    SolUtils.setImgAsBackground = function (selector, bgClass) {
275      if (SolUtils.isOnline()) {
276        $(selector).each(function () {
277          var elem = $(this).find('img');
278
279          if (elem.length > 0) {
280            $(this).css('background-image', "url('".concat(elem.attr('src'), "')")).addClass(bgClass).append("<span class=\"sr-only\">".concat(elem.attr('alt'), "</span>"));
281            $(elem).remove();
282          }
283        });
284      }
285    };
286
287    SolUtils.isOnline = function () {
288      return $('html.sv-edit-mode').length === 0;
289    };
290
291    SolUtils.getFormData = function getFormData(formSelector) {
292      var formData = {};
293      return $(formSelector).serializeArray().reduce(function (obj, item) {
294        formData[item.name] = item.value;
295        return formData;
296      }, {});
297    };
298  }
299
300  var SolTabs = function SolTabs() {
301    var init = function init(config) {
302      var self = this;
303      var tabsContainer = $("#".concat(config.contentId)).find(config.containerSelector);
304      var tabContent = $(tabsContainer).find(config.tabContentSelector);
305      var tabButtons = $(tabsContainer).find(config.tabButtonSelector);
306      var width = 100 / tabButtons.length - config.widthOffset;
307      $(tabButtons).each(function (i, tabButton) {
308        if (config.equalWidth) {
309          $(tabButton).css('width', "".concat(width, "%"));
310        }
311
312        if ($(tabContent[i]).text().trim() === '') {
313          $(tabButton).remove();
314
315          if (self.active === i) {
316            self.active++;
317          }
318        }
319
320        $(tabButton).click(function () {
321          $(tabButtons).removeClass(config.tabActiveClass);
322          $(tabButton).addClass(config.tabActiveClass);
323          $(tabContent[self.active]).fadeOut(200, function () {
324            $(tabContent[i]).fadeIn(200);
325          });
326          self.active = i;
327        });
328      });
329      $(tabContent).hide();
330      $(tabContent[self.active]).show();
331      $(tabButtons[self.active]).addClass(config.tabActiveClass);
332
333      if ($(tabsContainer).find(config.tabButtonSelector).length === 0) {
334        $(tabsContainer).hide();
335      }
336    };
337
338    return {
339      create: function create(config) {
340        var obj = {
341          active: 0
342        };
343        init.call(obj, config);
344      }
345    };
346  };
347
348  var SolOverlay = function SolOverlay() {
349    var init = function init(config, callbackOpen, callbackClose) {
350      var addContent = function addContent(parent) {
351        overlayContent.html($(parent).find(config.contentSelector).html());
352
353        if (callbackOpen) {
354          callbackOpen(overlayContent);
355        }
356
357        overlayContainer.css('width', '5000%');
358
359        if (overlayContent.outerWidth() > $(window).width()) {
360          overlayContent.css('width', '97%');
361          overlayContainer.css('width', '');
362          overlayContent.css('margin-left', '-48.5%');
363        } else {
364          overlayContent.css('margin-left', "-".concat(overlayContent.outerWidth() / 2, "px"));
365        }
366
367        overlayContent.css('margin-top', "-".concat(overlayContent.outerHeight() / 2, "px"));
368        overlayContainer.css('width', '');
369      };
370
371      var removeContent = function removeContent() {
372        overlayContent.html('');
373      };
374
375      var show = function show(parent) {
376        overlayContainer.show();
377        setTimeout(function () {
378          overlayContainer.addClass(config.activeClass);
379          addContent(parent);
380          $('body').addClass('sol-modal-overflow-hidden');
381        }, 1);
382      };
383
384      var hide = function hide() {
385        overlayContainer.removeClass(config.activeClass);
386        $('body').removeClass('sol-modal-overflow-hidden');
387        setTimeout(function () {
388          overlayContainer.hide();
389
390          if (callbackClose) {
391            callbackClose(overlayContent);
392          }
393
394          removeContent();
395        }, config.transitionDelay);
396      };
397
398      var overlayContainer = $(config.overlaySelector);
399      var overlayContent = $(config.overlayContentSelector);
400      $(config.triggerSelector).click(function (e) {
401        show(this);
402      });
403      $(overlayContainer).click(function () {
404        hide();
405      });
406      $(overlayContent).click(function (e) {
407        e.stopPropagation();
408      });
409      $(overlayContent).on('click', '.sol-js-modal-close', function () {
410        hide();
411      });
412      return {
413        close: function close() {
414          hide();
415        }
416      };
417    };
418
419    return {
420      create: function create(config, callbackOpen, callbackClose) {
421        var f = init.call(this, config, callbackOpen, callbackClose);
422        return f;
423      }
424    };
425  };
426
427  solUtilsInit();
428  SolOverlay();
429  SolTabs();
430  SolUtils.clickableElement('.sol-clickable-element');
431  SolUtils.setImgAsBackground('.sol-widget-decoration .sv-image-portlet', 'sol-widget-decoration-img');
432
433  if (SolUtils.isOnline()) {
434    $('.sol-subpage-wrapper .sv-text-portlet .sv-linkicon[src="/sitevision/util/images/externallink.png"], .sol-subpage-wrapper .sv-text-portlet .sv-linkicon[src="/sitevision/util/images/newwindow.gif"], .sol-subpage-wrapper .sv-text-portlet .sv-linkicon[src="/sitevision/util/images/externallinknewwindow.png"]').after('<i class="fal fa-external-link sol-external-link-icon" aria-hidden="true"></i>');
435  }
436});
437
438},{}],8:[function(require,module,exports){
439"use strict";
440
441var AccessibilityUtil = require('../api/accessibility-util');
442
443window.Soleil = window.Soleil || {};
444
445window.Soleil.Modal = function modal() {
446  var template = "\n    <transition :name=\"$options.config.prefix + '-modal-transition'\">\n      <div ref=\"mask\" :id=\"$options.config.id\" v-show=\"isOpen\" :class=\"$options.config.prefix + '-modal-mask'\" @click=\"close()\" @keyup.esc=\"close()\">\n        <div :class=\"$options.config.prefix + '-modal-wrapper'\">\n          <div ref=\"modal\" tabindex=\"-1\" :class=\"$options.config.prefix + '-modal-container'\" @click.stop :role=\"$options.config.role\" :aria-hidden=\"isOpen ? 'false' : 'true'\" :aria-label=\"$options.config.label\" :aria-labelledby=\"$options.config.labelledBy\" aria-modal=\"true\">\n            <slot v-if=\"$options.config.component\">\n              <modal-content></modal-content>\n            </slot>\n            <div v-else v-html=\"$options.config.content\"></div>\n            <button v-if=\"!$options.config.buttonOutside\" :class=\"$options.config.prefix + '-modal-close'\" @click=\"close()\" v-html=\"$options.config.buttonContent\"></button>\n          </div>\n        </div>\n        <button v-if=\"$options.config.buttonOutside\" :class=\"$options.config.prefix + '-modal-close'\" @click=\"close()\" v-html=\"$options.config.buttonContent\"></button>\n      </div>\n    </transition>";
447  var buttonContent = "\n    <i class=\"fal fa-times\" aria-hidden=\"true\"></i>\n    <span class=\"sr-only\">St\xE4ng</span>\n  ";
448
449  function help() {
450    console.info("\n      Soleil.Modal\n      Usage:\n      var modal = Soleil.modal.create({\n        id: 'containerId',\n        role: '\"dialog\" if containing a form, \"alertdialog\" if not, alertdialog is default',\n        component: 'A Vue component',\n        content: 'HTML content',\n        buttonContent: 'If you need to change the HTML-content of the close button.',\n        buttonOutside: 'If the button sohuld be inside or outside the modal container, boolean, defaults to false',\n        prefix: 'CSS class prefix, optional, defaults to \"sol\".',\n        labelledBy, 'ID to labeling heading element',\n        label: 'Label of the modal, used if the modal doesn't have a heading for some reason,\n      });\n      modal.open();\n      Emits two event, 'open' and 'close' that has the mask element.\n      modal.$on('open', function(maskEl){\n        \n      });\n      modal.$on('close', function(maskEl){\n        \n      });\n    ");
451  }
452
453  function create(c) {
454    var config = c;
455    config.prefix = config.prefix ? config.prefix : 'sol';
456    config.role = config.role ? config.role : 'dialog';
457    config.buttonContent = config.buttonContent ? config.buttonContent : buttonContent;
458    config.buttonOutside = config.buttonOutside || false;
459
460    function isIOS() {
461      var userAgent = navigator.userAgent || navigator.vendor || window.opera;
462      return /iPad|iPhone|iPod/.test(userAgent) && !window.MSStream;
463    }
464
465    function setHash() {
466      window.history.replaceState({}, '', "".concat(window.location.pathname).concat(window.location.search, "#").concat(config.id));
467    }
468
469    function removeHash() {
470      window.history.replaceState({}, '', "".concat(window.location.pathname).concat(window.location.search));
471    }
472
473    function setOverflow() {
474      document.body.style.overflow = 'hidden';
475      document.body.style.height = '100%';
476      document.body.style.width = '100%';
477
478      if (isIOS()) {
479        document.body.style.position = 'fixed';
480      }
481    }
482
483    function removeOverflow() {
484      document.body.style.overflow = '';
485      document.body.style.height = '';
486      document.body.style.width = '';
487      document.body.style.position = '';
488    }
489
490    function scrollTop() {
491      setTimeout(function () {
492        window.scrollTo(0, 0);
493      }, 100);
494    }
495
496    return new window.Vue({
497      el: "#".concat(config.id),
498      name: config.id,
499      template: template,
500      config: config,
501      components: {
502        modalContent: config.component
503      },
504      data: function data() {
505        return {
506          isOpen: false,
507          referer: null
508        };
509      },
510      methods: {
511        close: function close() {
512          window.removeEventListener('hashchange', this.hashChange, false);
513          this.isOpen = false;
514          AccessibilityUtil.restoreTabIndex();
515          AccessibilityUtil.restoreAriaHiddenRecursive(this.$refs.mask);
516          removeOverflow();
517          removeHash();
518
519          if (this.referer) {
520            this.referer.focus();
521            this.referer = null;
522          }
523
524          this.$emit('close', this.$refs.mask);
525        },
526        open: function open(referer) {
527          var _this = this;
528
529          this.referer = referer || document.activeElement;
530          this.isOpen = true;
531          AccessibilityUtil.removeTabIndex(document.querySelector('header'));
532          AccessibilityUtil.setAriaHiddenRecursive(this.$refs.mask);
533          setOverflow();
534          setHash();
535          this.$nextTick(function () {
536            var elem = _this.$refs.modal.querySelector('input');
537
538            if (elem) {
539              elem.focus();
540              if (isIOS()) scrollTop();
541            } else {
542              _this.$refs.modal.focus();
543            }
544
545            window.addEventListener('hashchange', _this.hashChange, false);
546
547            _this.$emit('open', _this.$refs.mask);
548          });
549        },
550        toggle: function toggle(referer) {
551          if (this.isOpen) {
552            this.close();
553          } else {
554            this.open(referer);
555          }
556        },
557        hashChange: function hashChange(e) {
558          e.preventDefault();
559          this.close();
560        }
561      },
562      mounted: function mounted() {
563        if (isIOS()) {
564          this.$refs.mask.style.position = 'absolute';
565        }
566      }
567    });
568  }
569
570  return {
571    create: create,
572    help: help
573  };
574}();
575
576},{"../api/accessibility-util":1}],9:[function(require,module,exports){
577"use strict";
578
579Object.defineProperty(exports, "__esModule", {
580  value: true
581});
582exports.default = void 0;
583var KEY = 'se.soleilit.my-css';
584var PATH = '/webdav/files/System/css';
585var ID = 'se_soleilit_my_css';
586
587var myCss = function myCss() {
588  var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
589  var isFirefox = /firefox/i.test(navigator.userAgent);
590
591  function setSessionStorage(file) {
592    sessionStorage.setItem(KEY, "".concat(PATH, "/").concat(file));
593  }
594
595  function clearSessionStorage() {
596    sessionStorage.removeItem(KEY);
597  }
598
599  function getSessionStorage() {
600    return sessionStorage.getItem(KEY);
601  }
602
603  function getStylesheet() {
604    return document.getElementById(ID);
605  }
606
607  function appendStylesheet() {
608    var sessionValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getSessionStorage();
609    var $head = document.getElementsByTagName('head')[0];
610    var $link = document.createElement('link');
611    $link.setAttribute('id', ID);
612    $link.setAttribute('type', 'text/css');
613    $link.setAttribute('rel', 'stylesheet');
614    $link.setAttribute('href', sessionValue);
615    $head.appendChild($link);
616  }
617
618  function updateStylesheet() {
619    var $link = getStylesheet();
620    if ($link) $link.setAttribute('href', getSessionStorage());
621  }
622
623  function removeStylesheet() {
624    var $link = getStylesheet();
625    if ($link) $link.outerHTML = '';
626  }
627
628  function set(file) {
629    setSessionStorage(file);
630
631    if (getStylesheet()) {
632      updateStylesheet();
633    } else {
634      appendStylesheet();
635    }
636
637    return 'MyCss has been updated';
638  }
639
640  function clear() {
641    removeStylesheet();
642    clearSessionStorage();
643    return 'MyCss has been cleared';
644  }
645
646  function init() {
647    var sessionValue = getSessionStorage();
648
649    if (sessionValue) {
650      appendStylesheet(sessionValue);
651      var file = sessionValue.replace("".concat(PATH, "/"), '');
652
653      if (isChrome || isFirefox) {
654        console.log("%cSoleil.MyCss%cCurrently using: '".concat(file, "'"), 'background-color:#30333a; color: white; padding: 1px 7px; border-top-left-radius: 3px; border-bottom-left-radius: 3px', 'background-color: #7aa6bd; color: white; padding: 1px 7px; border-top-right-radius: 3px; border-bottom-right-radius: 3px');
655      } else {
656        console.info("Currently using MyCss-file: '".concat(file, "'"));
657      }
658    }
659  }
660
661  document.addEventListener('DOMContentLoaded', function () {
662    init();
663  }, false);
664  return {
665    set: set,
666    clear: clear
667  };
668}();
669
670var _default = myCss;
671exports.default = _default;
672window.Soleil = window.Soleil || {};
673window.Soleil.MyCss = myCss;
674
675},{}],10:[function(require,module,exports){
676"use strict";
677
678/* eslint-disable func-names */
679
680/* eslint-disable no-use-before-define */
681
682/* eslint-disable no-undef */
683window.SolUtils = window.SolUtils || {};
684/**
685 * Toggle collapse on an element.
686 * @param {Object} config - Config for the collapase element.
687 * @param {string} config.headerSelector - Selector for the header.
688 * @param {string} config.contentSelector - Selector for the content.
689 * @param {string} config.activeClass - Class that indicates the active state.
690 * @param {number} config.time - Toggle animation duration.
691 * @param {function} callback - Callback function after toggle, with the elements header.
692 */
693
694window.svDocReady(function () {
695  var $ = $svjq;
696
697  SolUtils.collapseElement = function (config, callback) {
698    var _toggle = function toggle(header) {
699      $(content).slideToggle(config.time).toggleAttr('aria-hidden', 'true', 'false');
700      $(header).toggleClass(config.activeClass).toggleAttr('aria-expanded', 'true', 'false');
701
702      if (callback) {
703        callback(header);
704      }
705    };
706
707    var _show = function show(header) {
708      $(content).show().attr('aria-hidden', 'false');
709      $(header).toggleClass(config.activeClass).addClass('sol-no-anim').attr('aria-expanded', 'true');
710      setTimeout(function () {
711        $(header).removeClass('sol-no-anim');
712      }, config.time);
713
714      if (callback) {
715        callback(header);
716      }
717    };
718
719    var saveClick = function saveClick(url, header) {
720      var elementId = $(header).closest('.sv-text-portlet, [id*="sol-pinboard-optionNr"], .sv-layout:not(.sol-collapsible)').attr('id');
721      var lastClickedCollapsible = {
722        url: url,
723        elementId: elementId
724      };
725      sessionStorage.setItem('lastClickedCollapsible', JSON.stringify(lastClickedCollapsible));
726    };
727
728    var getLastClicked = function getLastClicked() {
729      if (sessionStorage.getItem('lastClickedCollapsible')) {
730        var _JSON$parse = JSON.parse(sessionStorage.getItem('lastClickedCollapsible')),
731            url = _JSON$parse.url;
732
733        if (currentUrl === url) {
734          var _JSON$parse2 = JSON.parse(sessionStorage.getItem('lastClickedCollapsible')),
735              elementId = _JSON$parse2.elementId;
736
737          if (elementId === config.id) {
738            var childCollapsible = $("#".concat(elementId)).find('button.sol-collapsible__header')[0];
739            $(childCollapsible).click();
740          }
741        }
742      }
743    };
744
745    var header = $(config.headerSelector);
746    var content = $(config.contentSelector).attr('aria-hidden', SolUtils.isOnline() ? 'true' : 'false');
747    var currentUrl = window.location.href;
748    header.unbind('click');
749    header.click(function () {
750      _toggle(header);
751
752      saveClick(currentUrl, header);
753    });
754    getLastClicked();
755    var ret = {
756      toggle: function toggle() {
757        _toggle(header);
758      },
759      show: function show() {
760        _show(header);
761      }
762    };
763    return ret;
764  };
765});
766
767},{}],11:[function(require,module,exports){
768"use strict";
769
770/*
771
772Meny som får data från en service som returnerar menystrukturen i JSON.
773Strukturen ser ut på följande sätt:
774
775                   +----------------+
776                +--+ parentSiblingX |
777                |  +----------------+
778 +----------+   |                 +----------+
779 | rootNode +---+              +--+ siblingA |
780 +----------+   |  +--------+  |  +----------+        +--------+
781                +--+ parent +--+                   +--+ childA |
782                |  +--------+  |  +-------------+  |  +--------+
783                |              +--+ currentNode +--+
784                |                 +-------------+  |  +--------+
785                |  +----------------+              +--+ childB |
786                +--+ parentSiblingY |                 +--------+
787                   +----------------+
788
789currentNode är den sidan man befinner sig på nu och rootNode är den som håller den första nivån av
790menystrukturen. Data som returnerar returnerar dock inte rootnodens data.
791I exemplet ovan returneras en array med [parentSiblingX, parent, parentSiblingY].
792En nods data ser ut som följande:
793{
794  "id":id,
795  "displayName":displayName,
796  "uri":uri,
797  "hasChildren":hasChildren, // true || false
798  "isCurrent":isCurrent, // true || false
799  "children":children // array med noder som är barn till den aktuella noden, finns inte om hasChildren === 0
800}
801
802Meny skapar html mha en mall som kan set ut som följande:
803
804<script type="text/my-tmpl" id="menu-item-tmpl">
805<div class="sol-menu-item">
806   <a href="{{uri}}">
807      <span>{{displayName}}</span>
808   </a>
809   <span class="sol-menu-button"></span>
810   <span class="sol-menu-list"></span>
811</div>
812</script>
813
814Menyn förväntar sig att följande klasser sätts:
815* sol-menu-item - Menyelement som ska innehålla ett element med klassen sol-menu-button samt sol-menu-list.
816* sol-menu-button - knappen som expanderar/kollapsar nodens barn. Ska vara ett underelement till sol-menu-item
817* sol-menu-list - listan som håller nodens barn. Ska vara ett underelement till sol-menu-item
818Se exempel på en mall ovan.
819
820
821*/
822window.SoleilMenu = window.SoleilMenu || {};
823window.svDocReady(function () {
824  var $ = $svjq;
825
826  var fetchMenuItems = function fetchMenuItems(url, param, callback) {
827    $.getJSON(url, param, callback);
828  };
829
830  var createHtml = function createHtml(selector, obj) {
831    var html = $(selector).html();
832
833    var template = _.template(html);
834
835    return template(obj);
836  };
837
838  var setDataAttr = function setDataAttr(element, dataObj, level) {
839    element.attr("data-is-current", dataObj.isCurrent ? "true" : "false");
840    element.attr("data-expanded", dataObj.isExpanded ? "true" : "false");
841    element.attr("data-menu-level", level);
842    element.attr("data-has-children", dataObj.hasChildren);
843    element.attr("data-display-name", dataObj.displayName);
844    element.attr("data-node-type", dataObj.nodeType);
845    element.attr("data-id", dataObj.id);
846    element.find(".sol-menu-button").first().attr("data-refid", dataObj.id).attr("aria-expanded", dataObj.isExpanded);
847  };
848
849  var fetchChildrenAndExpandItem = function fetchChildrenAndExpandItem(theButton) {
850    var self = this;
851    var menuItem = getMenuItem.call(self, theButton);
852    var level = parseInt(menuItem.attr("data-menu-level"), 10);
853    var nodeId = menuItem.attr("data-id");
854    fetchMenuItems(self.options.menuServiceUrl, {
855      currentNodeId: nodeId,
856      rootNodeId: nodeId
857    }, function (data) {
858      var menuElements = createMenuElements.call(self, data, level + 1);
859      menuItem.find(".sol-menu-list").first().append(menuElements).hide();
860      expandMenuItem.call(self, theButton);
861    });
862  };
863
864  var createMenuElements = function createMenuElements(menuItems, level) {
865    var self = this;
866    var menuElements = [];
867    $.each(menuItems, function (index, itemData) {
868      var menuItem = $(createHtml(self.options.menuItemTemplateSelector, itemData));
869      setDataAttr(menuItem, itemData, level);
870      var menuLiElement = $("<li></li>").append($(menuItem));
871      menuElements.push(menuLiElement);
872
873      if (itemData.children && itemData.children.length > 0) {
874        var childrenElements = createMenuElements.call(self, itemData.children, level 
874+ 1);
875        var menuList = $(menuLiElement).find(".sol-menu-list").first();
876        menuList.append(childrenElements);
877        menuList.attr("aria-hidden", "false");
878      }
879    });
880    var menuList = $("<ul></ul>");
881    menuList.append(menuElements);
882    return menuList;
883  };
884
885  var onExpand = function onExpand(callback) {
886    this.expandCallback = callback;
887  };
888
889  var onCollapse = function onCollapse(callback) {
890    this.collapseCallback = callback;
891  };
892
893  var collapseMenuItem = function collapseMenuItem(theButton) {
894    var self = this;
895    var menuItem = getMenuItem.call(self, theButton);
896    menuItem.attr("data-expanded", "false");
897    menuItem.children('.sol-menu-list').attr("aria-hidden", "true");
898    theButton.attr("aria-expanded", "false");
899    var subMenuList = menuItem.find(".sol-menu-list").first();
900
901    if (this.onCollapseCallback) {
902      this.onCollapseCallback(menuItem, theButton, subMenuList);
903    } else {
904      subMenuList.hide();
905    }
906  };
907
908  var expandMenuItem = function expandMenuItem(theButton) {
909    var self = this;
910    var menuItem = getMenuItem.call(self, theButton);
911    menuItem.attr("data-expanded", "true");
912    menuItem.children('.sol-menu-list').attr("aria-hidden", "false");
913    theButton.attr("aria-expanded", "true");
914    var subMenuList = menuItem.find(".sol-menu-list").first();
915
916    if (this.onExpandCallback) {
917      this.onExpandCallback(menuItem, theButton, subMenuList);
918    } else {
919      subMenuList.show();
920    }
921  };
922
923  var getMenuItem = function getMenuItem(theButton) {
924    var self = this;
925    var refId = theButton.attr("data-refid");
926    return $(self.options.containerSelector).find("[data-id='" + refId + "']");
927  };
928
929  var hasChildren = function hasChildren(theButton) {
930    var self = this;
931    var menuItem = getMenuItem.call(self, theButton);
932    return menuItem.attr("data-has-children") === "true";
933  };
934
935  var isExpanded = function isExpanded(theButton) {
936    var self = this;
937    var menuItem = getMenuItem.call(self, theButton);
938    return menuItem.attr("data-expanded") === "true";
939  };
940
941  var hasFetchedMenuItems = function hasFetchedMenuItems(theButton) {
942    var self = this;
943    var menuItem = getMenuItem.call(self, theButton);
944    return menuItem.find(".sol-menu-list ul").first().length !== 0;
945  };
946
947  return {
948    create: function create(opt, createCallback) {
949      var menuObj = {
950        options: opt,
951        onExpand: function onExpand(callback) {
952          this.onExpandCallback = callback;
953        },
954        onCollapse: function onCollapse(callback) {
955          this.onCollapseCallback = callback;
956        }
957      }; // Skapa menyn
958
959      if (opt.initStart) {
960        fetchMenuItems(opt.menuServiceUrl, {
961          currentNodeId: opt.currentNodeId,
962          rootNodeId: opt.rootNodeId
963        }, function (data) {
964          var level = 0;
965          var menuElements = createMenuElements.call(menuObj, data, level);
966          $(opt.containerSelector).append(menuElements);
967
968          if (createCallback) {
969            createCallback(data);
970          }
971        });
972      } // Registrera click-events
973
974
975      $(opt.containerSelector).on("click", ".sol-menu-button", function (event) {
976        event.preventDefault();
977        var theButton = $(this);
978
979        if (hasChildren.call(menuObj, theButton)) {
980          if (isExpanded.call(menuObj, theButton)) {
981            collapseMenuItem.call(menuObj, theButton);
982          } else {
983            if (hasFetchedMenuItems.call(menuObj, theButton)) {
984              expandMenuItem.call(menuObj, theButton);
985            } else {
986              fetchChildrenAndExpandItem.call(menuObj, theButton);
987            }
988          }
989        }
990      });
991      return menuObj;
992    }
993  };
994});
995
996},{}],12:[function(require,module,exports){
997// window.SolUtils = window.SolUtils || {};
998// console.log('ccccccccccccc')
999// window.svDocReady(function() {
1000//   function solUtilsInit($svjq){
1001//     SolUtils.createHtml = function (selector, obj) {
1002//       let html = $(selector).html();
1003//       for (const i in obj) {
1004//         const regexp = new RegExp(`{{${  i  }}}`, 'g');
1005//         html = html.replace(regexp, obj[i]);
1006//       }
1007//       return html;
1008//     };
1009//     SolUtils.getParameterByName = function (name, url) {
1010//       if (!url) url = window.location.href;
1011//       name = name.replace(/[\[\]]/g, '\\$&');
1012//       const regex = new RegExp(`[?&]${  name  }(=([^&#]*)|&|#|$)`);
1013//   let results = regex.exec(url);
1014//       if (!results) return null;
1015//       if (!results[2]) return '';
1016//       return decodeURIComponent(results[2].replace(/\+/g, ' '));
1017//     };
1018//     SolUtils.clickableElement = function (selector) {
1019//       if (SolUtils.isOnline()) {
1020//         $(selector).each(function () {
1021//           const elem = $(this).find('a');
1022//           if (elem.length > 0) {
1023//             const url = elem.attr('href');
1024//             const target = (elem.attr('rel') == 'external' ? '_blank' : '_self');
1025//             $(this).css('cursor', 'pointer');
1026//             $(this).click(() => {
1027//               window.open(url, target);
1028//             });
1029//           }
1030//         });
1031//       }
1032//     };
1033//     SolUtils.setImgAsBackground = function (selector, bgClass) {
1034//       if (SolUtils.isOnline()) {
1035//         $(selector).each(function () {
1036//           const elem = $(this).find('img');
1037//           if (elem.length > 0) {
1038//             $(this).css('background-image', `url('${ elem.attr('src')}')`).addClass(bgClass).append(`<span class="sr-only">${elem.attr('alt') }</span>`);
1039//             $(elem).remove();
1040//           }
1041//         });
1042//       }
1043//     };
1044//     SolUtils.isOnline = function () {
1045//       return $('html.sv-edit-mode').length === 0;
1046//     };
1047//     SolUtils.getFormData = function getFormData(formSelector) {
1048//       const formData = {};
1049//       return $(formSelector).serializeArray().reduce((obj, item) => {
1050//         formData[item.name] = item.value;
1051//         return formData;
1052//       }, {});
1053//     };
1054// }
1055// const SolTabs = function () {
1056//   const init = function (config) {
1057//     const self = this;
1058//     const tabsContainer = $(`#${config.contentId}`).find(config.containerSelector);
1059//     const tabContent = $(tabsContainer).find(config.tabContentSelector);
1060//     const tabButtons = $(tabsContainer).find(config.tabButtonSelector);
1061//     const width = (100 / tabButtons.length) - config.widthOffset;
1062//     $(tabButtons).each((i, tabButton) => {
1063//       if (config.equalWidth) {
1064//         $(tabButton).css('width', `${width  }%`);
1065//       }
1066//       if ($(tabContent[i]).text().trim() === '') {
1067//         $(tabButton).remove();
1068//         if (self.active === i) {
1069//           self.active++;
1070//         }
1071//       }
1072//       $(tabButton).click(() => {
1073//         $(tabButtons).removeClass(config.tabActiveClass);
1074//         $(tabButton).addClass(config.tabActiveClass);
1075//         $(tabContent[self.active]).fadeOut(200, function() {
1076//           $(tabContent[i]).fadeIn(200);
1077//         });
1078//         self.active = i;
1079//       });
1080//     });
1081//     $(tabContent).hide();
1082//     $(tabContent[self.active]).show();
1083//     $(tabButtons[self.active]).addClass(config.tabActiveClass);
1084//     if ($(tabsContainer).find(config.tabButtonSelector).length === 0) {
1085//       $(tabsContainer).hide();
1086//     }
1087//   };
1088//   return {
1089//     create(config) {
1090//       let obj = {
1091//         active: 0,
1092//       };
1093//       init.call(obj, config);
1094//     },
1095//   };
1096// }
1097// const SolOverlay = function () {
1098//   const init = function (config, callbackOpen, callbackClose) {
1099//     const addContent = function (parent) {
1100//       overlayContent.html($(parent).find(config.contentSelector).html());
1101//       if (callbackOpen) {
1102//         callbackOpen(overlayContent);
1103//       }
1104//       overlayContainer.css('width', '5000%');
1105//       if (overlayContent.outerWidth() > $(window).width()) {
1106//         overlayContent.css('width', '97%');
1107//         overlayContainer.css('width', '');
1108//         overlayContent.css('margin-left', '-48.5%');
1109//       } else {
1110//         overlayContent.css('margin-left', `-${overlayContent.outerWidth() / 2}px`);
1111//       }
1112//       overlayContent.css('margin-top', `-${overlayContent.outerHeight() / 2 }px`);
1113//       overlayContainer.css('width', '');
1114//     };
1115//     const removeContent = function () {
1116//       overlayContent.html('');
1117//     };
1118//     const show = function (parent) {
1119//       overlayContainer.show();
1120//       setTimeout(() => {
1121//         overlayContainer.addClass(config.activeClass);
1122//         addContent(parent);
1123//         $('body').addClass('sol-modal-overflow-hidden');
1124//       }, 1);
1125//     };
1126//     const hide = function () {
1127//       overlayContainer.removeClass(config.activeClass);
1128//       $('body').removeClass('sol-modal-overflow-hidden');
1129//       setTimeout(() => {
1130//         overlayContainer.hide();
1131//         if (callbackClose) {
1132//           callbackClose(overlayContent);
1133//         }
1134//         removeContent();
1135//       }, config.transitionDelay);
1136//     };
1137//     var overlayContainer = $(config.overlaySelector);
1138//     var overlayContent = $(config.overlayContentSelector);
1139//     $(config.triggerSelector).click(function (e) {
1140//       show(this);
1141//     });
1142//     $(overlayContainer).click(() => {
1143//       hide();
1144//     });
1145//     $(overlayContent).click((e) => {
1146//       e.stopPropagation();
1147//     });
1148//     $(overlayContent).on('click', '.sol-js-modal-close', () => {
1149//       hide();
1150//     });
1151//     return {
1152//       close() {
1153//         hide();
1154//       },
1155//     };
1156//   };
1157//   return {
1158//     create(config, callbackOpen, callbackClose) {
1159//       let f = init.call(this, config, callbackOpen, callbackClose);
1160//       return f;
1161//     },
1162//   };
1163// };
1164// solUtilsInit();
1165// SolOverlay();
1166// SolTabs();
1167// })
1168"use strict";
1169
1170},{}],13:[function(require,module,exports){
1171"use strict";
1172
1173window.svDocReady(function () {
1174  var $ = $svjq;
1175  setTimeout(function () {
1176    var topImage = $('.sol-startpage-top-images-item');
1177    var popularPages = $('.sol-popular-pages');
1178    var windowWidth = $(window).innerWidth();
1179
1180    if (windowWidth <= 767) {
1181      $(topImage).height($(popularPages).height() + 181);
1182    }
1183
1184    $(window).on('resize', function () {
1185      var windowWidth = $(window).innerWidth();
1186
1187      if (windowWidth <= 767) {
1188        $(topImage).height($(popularPages).height() + 181);
1189      } else {
1190        $(topImage.height(385));
1191      }
1192    });
1193  }, 1000);
1194});
1195
1196},{}],14:[function(require,module,exports){
1197"use strict";
1198
1199window.svDocReady(function () {
1200  var $ = $svjq;
1201
1202  function changeClick() {
1203    var searchButton = $('header .sol-top-search button').first();
1204    searchButton.on('click', function (e) {
1205      if ($('header .sol-top .sol-top-search').hasClass('sol-top-search--closed')) {
1206        e.preventDefault();
1207        $('.sol-top-search-start input').focus();
1208      }
1209    });
1210    var mobileSearchButton = $('.sol-top-search--mobile.sol-top-search--closed button.sol
1210-js-toggle-search');
1211    mobileSearchButton.on('click', function (e) {
1212      e.preventDefault();
1213      $('.sol-mobile-search').toggle();
1214      $('.sol-mobile-search input').focus();
1215    });
1216  }
1217
1218  ;
1219  changeClick();
1220});
1221
1222},{}],15:[function(require,module,exports){
1223"use strict";
1224
1225window.svDocReady(function () {
1226  var $ = $svjq;
1227  $('.sol-js-toggle-menu').click(function whenClicked() {
1228    $(this).toggleAttr('aria-expanded', 'true', 'false');
1229    var menuContainer = $('.sol-mobile-menu-modal-mask');
1230    $(this).find('.sol-hamburger').toggleClass('sol-active');
1231    menuContainer.css('display', 'block');
1232    var containerHeight = menuContainer.find('.sol-mobile-menu-modal-container').outerHeight() - $(document).find('header').outerHeight();
1233    menuContainer.toggleClass('sol-active');
1234
1235    if (menuContainer.hasClass('sol-active')) {
1236      $(this).find('.sol-hamburger-text').text('STÄNG');
1237      $(menuContainer).toggleAttr('aria-hidden', 'true', 'false');
1238      menuContainer.css('height', "".concat(containerHeight, "px"));
1239      menuContainer.css('min-height', "".concat(containerHeight, "px"));
1240      setTimeout(function () {
1241        menuContainer.css('height', 'auto');
1242      }, 250);
1243    } else {
1244      $(this).find('.sol-hamburger-text').text('MENY');
1245      menuContainer.css('height', "".concat(containerHeight, "px"));
1246      setTimeout(function () {
1247        menuContainer.css('height', '');
1248        menuContainer.css('min-height', '');
1249      }, 10);
1250      setTimeout(function () {
1251        menuContainer.css('display', '');
1252      }, 250);
1253    }
1254  });
1255  $(window).resize(function () {
1256    if ($(window).width() < 992) {} else {
1257      // $(this).toggleAttr('aria-expanded', 'true', 'false');
1258      var menuContainer = $('.sol-mobile-menu-container');
1259
1260      if (menuContainer.hasClass('sol-active')) {
1261        menuContainer.css('display', 'block');
1262        var containerHeight = menuContainer.find('> ul').outerHeight();
1263        var menuContainer = $('.sol-mobile-menu-container');
1264        $('.sol-hamburger').toggleClass('sol-active');
1265        $('.sol-hamburger-text').text('MENY');
1266        setTimeout(function () {
1267          menuContainer.css('height', '');
1268          menuContainer.css('min-height', '');
1269        }, 10);
1270        setTimeout(function () {
1271          menuContainer.css('display', '');
1272        }, 250);
1273      }
1274    }
1275  });
1276});
1277
1278},{}],16:[function(require,module,exports){
1279"use strict";
1280
1281Object.defineProperty(exports, "__esModule", {
1282  value: true
1283});
1284exports.default = void 0;
1285
1286require("core-js/fn/object/assign");
1287
1288window.Soleil = window.Soleil || {};
1289window.vueApps = window.vueApps || {};
1290var _default = {
1291  render: function render(name, id) {
1292    var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
1293    var data = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
1294    Object.assign(window.vueApps[name], options);
1295    window.vueApps[name] = new window.Vue(window.vueApps[name], data).$mount("[data-vue-portlet=\"".concat(id, "\"]"));
1296  }
1297};
1298exports.default = _default;
1299
1300},{"core-js/fn/object/assign":17}],17:[function(require,module,exports){
1301require('../../modules/es6.object.assign');
1302module.exports = require('../../modules/_core').Object.assign;
1303
1304},{"../../modules/_core":22,"../../modules/es6.object.assign":54}],18:[function(require,module,exports){
1305module.exports = function (it) {
1306  if (typeof it != 'function') throw TypeError(it + ' is not a function!');
1307  return it;
1308};
1309
1310},{}],19:[function(require,module,exports){
1311var isObject = require('./_is-object');
1312module.exports = function (it) {
1313  if (!isObject(it)) throw TypeError(it + ' is not an object!');
1314  return it;
1315};
1316
1317},{"./_is-object":35}],20:[function(require,module,exports){
1318// false -> Array#indexOf
1319// true  -> Array#includes
1320var toIObject = require('./_to-iobject');
1321var toLength = require('./_to-length');
1322var toAbsoluteIndex = require('./_to-absolute-index');
1323module.exports = function (IS_INCLUDES) {
1324  return function ($this, el, fromIndex) {
1325    var O = toIObject($this);
1326    var length = toLength(O.length);
1327    var index = toAbsoluteIndex(fromIndex, length);
1328    var value;
1329    // Array#includes uses SameValueZero equality algorithm
1330    // eslint-disable-next-line no-self-compare
vendor: 5,180 bytes, lines 1331-1482
1331    if (IS_INCLUDES && el != el) while (length > index) {
1332      value = O[index++];
1333      // eslint-disable-next-line no-self-compare
1334      if (value != value) return true;
1335    // Array#indexOf ignores holes, Array#includes - not
1336    } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
1337      if (O[index] === el) return IS_INCLUDES || index || 0;
1338    } return !IS_INCLUDES && -1;
1339  };
1340};
1341
1342},{"./_to-absolute-index":47,"./_to-iobject":49,"./_to-length":50}],21:[function(require,module,exports){
1343var toString = {}.toString;
1344
1345module.exports = function (it) {
1346  return toString.call(it).slice(8, -1);
1347};
1348
1349},{}],22:[function(require,module,exports){
1350var core = module.exports = { version: '2.6.2' };
1351if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
1352
1353},{}],23:[function(require,module,exports){
1354// optional / simple context binding
1355var aFunction = require('./_a-function');
1356module.exports = function (fn, that, length) {
1357  aFunction(fn);
1358  if (that === undefined) return fn;
1359  switch (length) {
1360    case 1: return function (a) {
1361      return fn.call(that, a);
1362    };
1363    case 2: return function (a, b) {
1364      return fn.call(that, a, b);
1365    };
1366    case 3: return function (a, b, c) {
1367      return fn.call(that, a, b, c);
1368    };
1369  }
1370  return function (/* ...args */) {
1371    return fn.apply(that, arguments);
1372  };
1373};
1374
1375},{"./_a-function":18}],24:[function(require,module,exports){
1376// 7.2.1 RequireObjectCoercible(argument)
1377module.exports = function (it) {
1378  if (it == undefined) throw TypeError("Can't call method on  " + it);
1379  return it;
1380};
1381
1382},{}],25:[function(require,module,exports){
1383// Thank's IE8 for his funny defineProperty
1384module.exports = !require('./_fails')(function () {
1385  return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
1386});
1387
1388},{"./_fails":29}],26:[function(require,module,exports){
1389var isObject = require('./_is-object');
1390var document = require('./_global').document;
1391// typeof document.createElement is 'object' in old IE
1392var is = isObject(document) && isObject(document.createElement);
1393module.exports = function (it) {
1394  return is ? document.createElement(it) : {};
1395};
1396
1397},{"./_global":30,"./_is-object":35}],27:[function(require,module,exports){
1398// IE 8- don't enum bug keys
1399module.exports = (
1400  'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
1401).split(',');
1402
1403},{}],28:[function(require,module,exports){
1404'use strict';
1405var global = require('./_global');
1406var core = require('./_core');
1407var hide = require('./_hide');
1408var redefine = require('./_redefine');
1409var ctx = require('./_ctx');
1410var PROTOTYPE = 'prototype';
1411
1412var $export = function (type, name, source) {
1413  var IS_FORCED = type & $export.F;
1414  var IS_GLOBAL = type & $export.G;
1415  var IS_STATIC = type & $export.S;
1416  var IS_PROTO = type & $export.P;
1417  var IS_BIND = type & $export.B;
1418  var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
1419  var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
1420  var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
1421  var key, own, out, exp;
1422  if (IS_GLOBAL) source = name;
1423  for (key in source) {
1424    // contains in native
1425    own = !IS_FORCED && target && target[key] !== undefined;
1426    // export native or passed
1427    out = (own ? target : source)[key];
1428    // bind timers to global for call from export context
1429    exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
1430    // extend global
1431    if (target) redefine(target, key, out, type & $export.U);
1432    // export
1433    if (exports[key] != out) hide(exports, key, exp);
1434    if (IS_PROTO && expProto[key] != out) expProto[key] = out;
1435  }
1436};
1437global.core = core;
1438// type bitmap
1439$export.F = 1;   // forced
1440$export.G = 2;   // global
1441$export.S = 4;   // static
1442$export.P = 8;   // proto
1443$export.B = 16;  // bind
1444$export.W = 32;  // wrap
1445$export.U = 64;  // safe
1446$export.R = 128; // real proto method for `library`
1447module.exports = $export;
1448
1449},{"./_core":22,"./_ctx":23,"./_global":30,"./_hide":32,"./_redefine":44}],29:[function(require,module,exports){
1450module.exports = function (exec) {
1451  try {
1452    return !!exec();
1453  } catch (e) {
1454    return true;
1455  }
1456};
1457
1458},{}],30:[function(require,module,exports){
1459// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
1460var global = module.exports = typeof window != 'undefined' && window.Math == Math
1461  ? window : typeof self != 'undefined' && self.Math == Math ? self
1462  // eslint-disable-next-line no-new-func
1463  : Function('return this')();
1464if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
1465
1466},{}],31:[function(require,module,exports){
1467var hasOwnProperty = {}.hasOwnProperty;
1468module.exports = function (it, key) {
1469  return hasOwnProperty.call(it, key);
1470};
1471
1472},{}],32:[function(require,module,exports){
1473var dP = require('./_object-dp');
1474var createDesc = require('./_property-desc');
1475module.exports = require('./_descriptors') ? function (object, key, value) {
1476  return dP.f(object, key, createDesc(1, value));
1477} : function (object, key, value) {
1478  object[key] = value;
1479  return object;
1480};
1481
1482}
1482,{"./_descriptors":25,"./_object-dp":38,"./_property-desc":43}],33:[function(require,module,exports){
1483module.exports = !require('./_descriptors') && !require('./_fails')(function () {
1484  return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;
1485});
1486
1487},{"./_descriptors":25,"./_dom-create":26,"./_fails":29}],34:[function(require,module,exports){
1488// fallback for non-array-like ES3 and non-enumerable old V8 strings
1489var cof = require('./_cof');
1490// eslint-disable-next-line no-prototype-builtins
1491module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
1492  return cof(it) == 'String' ? it.split('') : Object(it);
1493};
1494
1495},{"./_cof":21}],35:[function(require,module,exports){
1496module.exports = function (it) {
1497  return typeof it === 'object' ? it !== null : typeof it === 'function';
1498};
1499
1500},{}],36:[function(require,module,exports){
1501module.exports = false;
1502
1503},{}],37:[function(require,module,exports){
1504'use strict';
1505// 19.1.2.1 Object.assign(target, source, ...)
1506var getKeys = require('./_object-keys');
1507var gOPS = require('./_object-gops');
1508var pIE = require('./_object-pie');
1509var toObject = require('./_to-object');
1510var IObject = require('./_iobject');
1511var $assign = Object.assign;
1512
1513// should work with symbols and should have deterministic property order (V8 bug)
1514module.exports = !$assign || require('./_fails')(function () {
1515  var A = {};
1516  var B = {};
1517  // eslint-disable-next-line no-undef
1518  var S = Symbol();
1519  var K = 'abcdefghijklmnopqrst';
1520  A[S] = 7;
1521  K.split('').forEach(function (k) { B[k] = k; });
1522  return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;
1523}) ? function assign(target, source) { // eslint-disable-line no-unused-vars
1524  var T = toObject(target);
1525  var aLen = arguments.length;
1526  var index = 1;
1527  var getSymbols = gOPS.f;
1528  var isEnum = pIE.f;
1529  while (aLen > index) {
1530    var S = IObject(arguments[index++]);
1531    var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);
1532    var length = keys.length;
1533    var j = 0;
1534    var key;
1535    while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key];
1536  } return T;
1537} : $assign;
1538
1539},{"./_fails":29,"./_iobject":34,"./_object-gops":39,"./_object-keys":41,"./_object-pie":42,"./_to-object":51}],38:[function(require,module,exports){
1540var anObject = require('./_an-object');
1541var IE8_DOM_DEFINE = require('./_ie8-dom-define');
1542var toPrimitive = require('./_to-primitive');
1543var dP = Object.defineProperty;
1544
1545exports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {
1546  anObject(O);
1547  P = toPrimitive(P, true);
1548  anObject(Attributes);
1549  if (IE8_DOM_DEFINE) try {
1550    return dP(O, P, Attributes);
1551  } catch (e) { /* empty */ }
1552  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
1553  if ('value' in Attributes) O[P] = Attributes.value;
1554  return O;
1555};
1556
1557},{"./_an-object":19,"./_descriptors":25,"./_ie8-dom-define":33,"./_to-primitive":52}],39:[function(require,module,exports){
1558exports.f = Object.getOwnPropertySymbols;
1559
1560},{}],40:[function(require,module,exports){
1561var has = require('./_has');
1562var toIObject = require('./_to-iobject');
1563var arrayIndexOf = require('./_array-includes')(false);
1564var IE_PROTO = require('./_shared-key')('IE_PROTO');
1565
1566module.exports = function (object, names) {
1567  var O = toIObject(object);
1568  var i = 0;
1569  var result = [];
1570  var key;
1571  for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
1572  // Don't enum bug & hidden keys
1573  while (names.length > i) if (has(O, key = names[i++])) {
1574    ~arrayIndexOf(result, key) || result.push(key);
1575  }
1576  return result;
1577};
1578
1579},{"./_array-includes":20,"./_has":31,"./_shared-key":45,"./_to-iobject":49}],41:[function(require,module,exports){
1580// 19.1.2.14 / 15.2.3.14 Object.keys(O)
1581var $keys = require('./_object-keys-internal');
1582var enumBugKeys = require('./_enum-bug-keys');
1583
1584module.exports = Object.keys || function keys(O) {
1585  return $keys(O, enumBugKeys);
1586};
1587
1588},{"./_enum-bug-keys":27,"./_object-keys-internal":40}],42:[function(require,module,exports){
1589exports.f = {}.propertyIsEnumerable;
1590
1591},{}],43:[function(require,module,exports){
1592module.exports = function (bitmap, value) {
1593  return {
1594    enumerable: !(bitmap & 1),
1595    configurable: !(bitmap & 2),
1596    writable: !(bitmap & 4),
1597    value: value
1598  };
1599};
1600
1601},{}],44:[function(require,module,exports){
1602var global = require('./_global');
1603var hide = require('./_hide');
1604var has = require('./_has');
1605var SRC = require('./_uid')('src');
1606var TO_STRING = 'toString';
1607var $toString = Function[TO_STRING];
1608var TPL = ('' + $toString).split(TO_STRING);
1609
1610require('./_core').inspectSource = function (it) {
1611  return $toString.call(it);
1612};
1613
1614(module.exports = function (O, key, val, safe) {
1615  var isFunction = typeof val == 'function';
1616  if (isFunction) has(val, 'name') || hide(val, 'name', key);
1617  if (O[key] === val) return;
1618  if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
1619  if (O === global) {
1620    O[key] = val;
1621  } else if (!safe) {
1622    delete O[key];
1623    hide(O, key, val);
1624  } else if (O[key]) {
1625    O[key] = val;
1626  } else {
1627    hide(O, key, val);
1628  }
1629// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
1630})(Function.prototype, TO_STRING, function toString() {
1631  return typeof this == 'function' && this[SRC] || $toString.call(this);
1632});
1633
1634},{"./_core":22,"./_global":30,"./_has":31,"./_hide":32,"./_uid":53}],45:[function(require,module,exports){
1635var shared = require('./_shared')('keys');
1636var uid = require('./_uid');
1637module.exports = function (key) {
1638  return shared[key] || (shared[key] = uid(key));
1639};
1640
1641},{"./_shared":46,"./_uid":53}],46:[function(require,module,exports){
1642var core = require('./_core');
1643var global = require('./_global');
1644var SHARED = '__core-js_shared__';
1645var store = global[SHARED] || (global[SHARED] = {});
1646
1647(module.exports = function (key, value) {
1648  return store[key] || (store[key] = value !== undefined ? value : {});
1649})('versions', []).push({
1650  version: core.version,
1651  mode: require('./_library') ? 'pure' : 'global',
1652  copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
1653});
1654
1655},{"./_core":22,"./_global":30,"./_library":36}],47:[function(require,module,exports){
1656var toInteger = require('./_to-integer');
1657var max = Math.max;
1658var min = Math.min;
1659module.exports = function (index, length) {
1660  index = toInteger(index);
1661  return index < 0 ? max(index + length, 0) : min(index, length);
1662};
1663
1664},{"./_to-integer":48}],48:[function(require,module,exports){
1665// 7.1.4 ToInteger
1666var ceil = Math.ceil;
1667var floor = Math.floor;
1668module.exports = function (it) {
1669  return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
1670};
1671
1672},{}],49:[function(require,module,exports){
1673// to indexed object, toObject with fallback for non-array-like ES3 strings
1674var IObject = require('./_iobject');
1675var defined = require('./_defined');
1676module.exports = function (it) {
1677  return IObject(defined(it));
1678};
1679
1680},{"./_defined":24,"./_iobject":34}],50:[function(require,module,exports){
1681// 7.1.15 ToLength
1682var toInteger = require('./_to-integer');
1683var min = Math.min;
1684module.exports = function (it) {
1685  return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
1686};
1687
1688},{"./_to-integer":48}],51:[function(require,module,exports){
1689// 7.1.13 ToObject(argument)
1690var defined = require('./_defined');
1691module.exports = function (it) {
1692  return Object(defined(it));
1693};
1694
1695},{"./_defined":24}],52:[function(require,module,exports){
1696// 7.1.1 ToPrimitive(input [, PreferredType])
1697var isObject = require('./_is-object');
1698// instead of the ES6 spec version, we didn't implement @@toPrimitive case
1699// and the second argument - flag - preferred type is a string
1700module.exports = function (it, S) {
1701  if (!isObject(it)) return it;
1702  var fn, val;
1703  if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
1704  if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
1705  if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
1706  throw TypeError("Can't convert object to primitive value");
1707};
1708
1709},{"./_is-object":35}],53:[function(require,module,exports){
1710var id = 0;
1711var px = Math.random();
1712module.exports = function (key) {
1713  return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
1714};
1715
1716},{}],54:[function(require,module,exports){
1717'use strict';
1718// 19.1.3.1 Object.assign(target, source)
1719var $export = require('./_export');
1720
1721$export($export.S + $export.F, 'Object', { assign: require('./_object-assign') });
1722
1723},{"./_export":28,"./_object-assign":37}]},{},[3,4,5,6,7,8,9,10,11,12,13,14,15]);

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.