PageSourceSearch

https://ragunda.se/webapp-resource/4.75ddc5ef1846027d0e89df/360.66…/1671180595925/webapp-assets.js

js ragunda.se collected 2026-10-02 16:45:39 UTC 11,716 bytes, 308 lines download raw bytes

1AppRegistry.registerBundle({applicationId:'limepark.blurbs|1.5.2',bundle: {"en":{},"sv":{}}});
2AppRegistry.registerModule({applicationId:'limepark.blurbs|1.5.2',path:'/template/main',module:function(define){define(function(require){var _=require('underscore');return function(obj){
3var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
4with(obj||{}){
5__p+='';
6 if (hasItems) { 
7__p+='\n  <div class="lp-app-blurbs lp-app-blurbs--block-links lp-app-blurbs--'+
8((__t=(blurbConfigClass))==null?'':_.escape(__t))+
9' lp-app-blurbs--'+
10((__t=( useBlockLinks ? 'block-links' : 'title-links' ))==null?'':_.escape(__t))+
11'">\n    <ul class="lp-app-blurbs-list env-list">\n      ';
12 items.forEach(function (item) { 
13__p+='\n        <li class="lp-app-blurbs-list__item env-list__item lp-app-blurbs-list__item--'+
14((__t=(blurbConfigClass))==null?'':_.escape(__t))+
15'">\n          ';
16 if (item.type === 'html') { 
17__p+='\n            '+
18((__t=( item.html ))==null?'':__t)+
19'\n          ';
20 } else { 
21__p+='\n            ';
22 if (useBlockLinks) { 
23__p+='\n              <a href="'+
24((__t=( item.url ))==null?'':_.escape(__t))+
25'" class="lp-app-blurbs-list__item__inner lp-app-blurbs-list__item__inner--'+
26((__t=(blurbConfigClass))==null?'':_.escape(__t))+
27'" aria-labelledby="'+
28((__t=(item.domId))==null?'':_.escape(__t))+
29'-title">\n            ';
30 } else { 
31__p+='\n              <div class="lp-app-blurbs-list__item__inner lp-app-blurbs-list__item__inner--'+
32((__t=(blurbConfigClass))==null?'':_.escape(__t))+
33'">\n            ';
34 } 
35__p+='\n\n              ';
36 if (item.useImage) { 
37__p+='\n              ';
38 if (item.imageType === 'image') { 
39__p+='\n                <div class="lp-app-blurbs-list__item-image"';
40 if (item.imageUrl) { 
41__p+=' style="background-image: url(\''+
42((__t=( item.imageUrl ))==null?'':_.escape(__t))+
43'\')"';
44 } 
45__p+='>';
46 if (item.imageUrl) { 
47__p+='<img src="'+
48((__t=( item.imageUrl ))==null?'':_.escape(__t))+
49'" alt="" />';
50 } 
51__p+='</div><!--! .lp-app-blurbs-list__item-image -->\n              ';
52 } 
53__p+='\n\n              ';
54 if (item.imageType === 'icon') { 
55__p+='\n              <div class="lp-app-blurbs-list__item-icon">\n                <svg aria-hidden="true" class="lp-icon">\n                  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/rest-api/svg-sources/lp-icons.svg#'+
56((__t=(item.iconName))==null?'':_.escape(__t))+
57'"></use>\n                </svg>\n              </div>\n              ';
58 } 
59__p+='\n\n              ';
60 } 
61__p+='\n\n              <div class="lp-app-blurbs-list__item-content">\n                <'+
62((__t=( item.headingFont.tagName ))==null?'':_.escape(__t))+
63' class="lp-app-blurbs-list__item-heading '+
64((__t=( item.headingFont.selectorText ))==null?'':_.escape(__t))+
65'" id="'+
66((__t=(item.domId))==null?'':_.escape(__t))+
67'-title">\n                  ';
68 if (useBlockLinks) { 
69__p+='\n                    <span>'+
70((__t=( item.title ))==null?'':_.escape(__t))+
71'</span>\n                  ';
72 } else { 
73__p+='\n                    <a href="'+
74((__t=( item.url ))==null?'':_.escape(__t))+
75'">'+
76((__t=( item.title ))==null?'':_.escape(__t))+
77'</a>\n                  ';
78 } 
79__p+='\n                </'+
80((__t=( item.headingFont.tagName ))==null?'':_.escape(__t))+
81'><!--! .lp-app-blurbs-list__item-heading -->\n                \n                ';
82 if (item.useDescription && item.description) { 
83__p+='\n                  <p class="lp-app-blurbs-list__item-description env-text">'+
84((__t=( item.description ))==null?'':_.escape(__t))+
85'</p><!--! .lp-app-blurbs-list__item-description -->\n                ';
86 } 
87__p+='\n              </div><!--! .lp-app-blurbs-list__item-content -->\n\n              ';
88 item.fields.forEach(function(field) { 
89__p+='\n              <div class="lp-app-blurbs__blurb-field '+
90((__t=(field.classNames))==null?'':_.escape(__t))+
91'">\n                <'+
92((__t=( field.font.tagName ))==null?'':_.escape(__t))+
93' class="lp-app-blurbs__blurb-field-value '+
94((__t=( field.font.selectorText ))==null?'':_.escape(__t))+
95'">\n                '+
96((__t=( field.value ))==null?'':_.escape(__t))+
97'\n                </'+
98((__t=( field.font.tagName ))==null?'':_.escape(__t))+
99'>\n              </div>\n              ';
100 }) 
101__p+='\n\n              ';
102 if (item.useTags && item.tags.length > 0) { 
103__p+='\n              <ul class="lp-app-blurbs__tag-list">\n                ';
104 item.tags.forEach(function(tag) { 
105__p+='\n                <li class="lp-app-blurbs__tag-list__item '+
106((__t=(tag.classNames))==null?'':_.escape(__t))+
107'">\n                  <'+
108((__t=( tag.font.tagName ))==null?'':_.escape(__t))+
109' class="lp-app-blurbs__blurb-tag-value '+
110((__t=( tag.font.selectorText ))==null?'':_.escape(__t))+
111'">\n                  '+
112((__t=( tag.value ))==null?'':_.escape(__t))+
113'\n                  </'+
114((__t=( tag.font.tagName ))==null?'':_.escape(__t))+
115'>\n                </li>\n                ';
116 }) 
117__p+='\n              </ul>\n              ';
118 } 
119__p+='\n\n            ';
120 if (useBlockLinks) { 
121__p+='\n              </a><!--! .lp-app-blurbs-list__item__inner -->\n            ';
122 } else { 
123__p+='\n              </div><!--! .lp-app-blurbs-list__item__inner -->\n            ';
124 } 
125__p+='\n          ';
126 } 
127__p+=' \n        </li><!--! .lp-app-blurbs-list__item -->\n      ';
128 }) 
129__p+='\n    </ul><!--! .lp-app-blurbs-list -->\n  </div><!--! .lp-app-blurbs -->\n ';
130 } 
131__p+='\n';
132}
133return __p;
134};});}});
135AppRegistry.registerModule({applicationId:'limepark.blurbs|1.5.2',path:'/module/common/@limepark/wdu-log_1.0.2/index',module:function(define){'use strict';/**
136 * Logger for use with the webapp dev utils `log` command.
137 * 
138 * @module common/wdu-log
139 * @example 
140 * const WDULog = require('!limepark:common/wdu-log');
141 * const log    = WDULog.getLogger(__filename);
142 * 
143 * function doSomeWork(data) {
144 *   log.debug('Trying to calculate data from', data);
145 *   var result = calculateData(data);
146 *   if (!data) {
147 *     log.warn('Unable to calculate result from specified data.');
148 *     return null;
149 *   }
150 *   
151 *   log.debug('Generated result', result);
152 *   
153 *   //
154 *   //...
155 * }
156 */
157
158/* globals require, module */
159(function (root, factory) {
160  if (typeof define === 'function') {
161    // AMD. Register as an anonymous module.
162    define(factory);
163  } else if (typeof module === 'object' && module.exports) {
164    // Node. Does not work with strict CommonJS, but
165    // only CommonJS-like environments that support module.exports,
166    // like Node.
167    module.exports = factory(require);
168  } else {
169    // Browser globals (root is window)
170    root.wduLog = factory();
171  }
172})(typeof self !== 'undefined' ? self : this, function (require) {
173  var _dereq_ = require;
174  var isBrowser = typeof window !== 'undefined';
175  var logUtil = isBrowser ? console : _dereq_('LogUtil');
176
177  if (isBrowser) {
178    logUtil.debug = logUtil.log;
179  }
180
181  var buildLogMessage = function buildLogMessage(logTag, message) {
182    var data = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
183    var messages = ["WDU[M#".concat("limepark.blurbs", "/").concat(logTag, "]: ").concat(message)];
184
185    if (data) {
186      messages.push("WDU[D#".concat("limepark.blurbs", "/").concat(logTag, "]: ").concat(JSON.stringify(data)));
187    }
188
189    return messages;
190  };
191  /**
192   * Creates a new Logger with a logTag
193   * 
194   * @param {string} logTag The log tag
195   * @module server/wdu-log/Logger
196   */
197
198
199  var Logger = function Logger(logTag) {
200    this.LOG_TAG = logTag;
201  };
202  /**
203   * Logs an info message
204   *
205   * @param {String} message The message
206   * @param {Mixed} data Extra data for the message, will be stringified
207   * @memberof module:server/wdu-log/Logger
208   */
209
210
211  Logger.prototype.info = function Logger$$info(message) {
212    var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
213    buildLogMessage(this.LOG_TAG, message, data).forEach(function (m) {
214      return logUtil.info(m);
215    });
216  };
217  /**
218   * Logs a debug message
219   *
220   * @param {String} message The message
221   * @param {Mixed} data Extra data for the message, will be stringified
222   * @memberof module:server/wdu-log/Logger
223   */
224
225
226  Logger.prototype.debug = function Logger$$debug(message) {
227    var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
228    buildLogMessage(this.LOG_TAG, message, data).forEach(function (m) {
229      return logUtil.debug(m);
230    });
231  };
232  /**
233   * Logs a warn message
234   *
235   * @param {String} message The message
236   * @param {Mixed}
236 data Extra data for the message, will be stringified
237   * @memberof module:server/wdu-log/Logger
238   */
239
240
241  Logger.prototype.warn = function Logger$$warn(message) {
242    var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
243    buildLogMessage(this.LOG_TAG, message, data).forEach(function (m) {
244      return logUtil.warn(m);
245    });
246  };
247  /**
248   * Logs an error message
249   *
250   * @param {String} message The message
251   * @param {Mixed} data Extra data for the message, will be stringified
252   * @memberof module:server/wdu-log/Logger
253   */
254
255
256  Logger.prototype.error = function Logger$$error(message) {
257    var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
258    buildLogMessage(this.LOG_TAG, message, data).forEach(function (m) {
259      return logUtil.error(m);
260    });
261  };
262
263  Logger.prototype._debugReportError = function Logger$$_debugReportError(e, filename, fnName, line, col) {
264    try {
265      buildLogMessage(this.LOG_TAG, "An error occured in ".concat(filename, " (").concat(fnName, ":").concat(line, ":").concat(col, ") at ").concat(e.lineNumber, ": ").concat(e.message), e.stack).forEach(function (m) {
266        return logUtil.error(m);
267      });
268    } catch (ex) {
269      logUtil.error('Error in wdu-log: ' + ex);
270    }
271  };
272  /**
273   * Creates a logger with a specific LogTag
274   *
275   * @param {String} logTag The logTag, typically filename or another unique tag.
276   * @memberof module:server/wdu-log
277   * @returns {module:server/wdu-log/Logger} The logger
278   */
279
280
281  var getLogger = function getLogger(logTag) {
282    return new Logger(logTag);
283  };
284
285  return {
286    getLogger: getLogger
287  };
288});}});
289AppRegistry.registerModule({applicationId:'limepark.blurbs|1.5.2',path:'/main',module:function(define){'use strict';function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
290
291function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
292
293function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
294
295define(function (require) {
296  'use strict';
297
298  var Component = require('Component');
299
300  var template = require('/template/main');
301
302  return Component.extend({
303    template: template,
304    filterState: function filterState(state) {
305      return _objectSpread({}, state);
306    }
307  });
308});}});

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.