PageSourceSearch

https://ljusnarsberg.se/webapp-resource/4.1f41af3d183f3d242ec40a/3…/1714038112309/webapp-assets.js

js ljusnarsberg.se collected 2026-10-02 12:14:23 UTC 6,998 bytes, 3 lines download raw bytes

1AppRegistry.registerBundle({applicationId:'se.soleil.goToContent|1.1.0',bundle: {}});
2AppRegistry.registerModule({applicationId:'se.soleil.goToContent|1.1.0',path:'/main',module:function(define){'use strict';define(["router","app"],(function(t,n){"use strict";function e(t){return t&&t.__esModule?t:{default:t}}function o(){}function r(t){return t()}function l(){return Object.create(null)}function i(t){t.forEach(r)}function c(t){return"function"==typeof t}function a(t,n){return t!=t?n==n:t!==n||t&&"object"==typeof t||"function"==typeof t}e(n).default.portletId.replace(".","_"),document.documentElement.classList.contains("sv-edit-mode");let u,d=!1;function s(){d=!0}function f(){d=!1}function h(t,n,e,o){for(;t<n;){const r=t+(n-t>>1);e(r)<=o?t=r+1:n=r}return t}function m(t,n){if(d){for(!function(t){if(t.hydrate_init)return;t.hydrate_init=!0;let n=t.childNodes;if("HEAD"===t.nodeName){const t=[];for(let e=0;e<n.length;e++){const o=n[e];void 0!==o.claim_order&&t.push(o)}n=t}const e=new Int32Array(n.length+1),o=new Int32Array(n.length);e[0]=-1;let r=0;for(let t=0;t<n.length;t++){const l=n[t].claim_order,i=(r>0&&n[e[r]].claim_order<=l?r+1:h(1,r,(t=>n[e[t]].claim_order),l))-1;o[t]=e[i]+1;const c=i+1;e[c]=t,r=Math.max(c,r)}const l=[],i=[];let c=n.length-1;for(let t=e[r]+1;0!=t;t=o[t-1]){for(l.push(n[t-1]);c>=t;c--)i.push(n[c]);c--}for(;c>=0;c--)i.push(n[c]);l.reverse(),i.sort(((t,n)=>t.claim_order-n.claim_order));for(let n=0,e=0;n<i.length;n++){for(;e<l.length&&i[n].claim_order>=l[e].claim_order;)e++;const o=e<l.length?l[e]:null;t.insertBefore(i[n],o)}}(t),(void 0===t.actual_end_child||null!==t.actual_end_child&&t.actual_end_child.parentElement!==t)&&(t.actual_end_child=t.firstChild);null!==t.actual_end_child&&void 0===t.actual_end_child.claim_order;)t.actual_end_child=t.actual_end_child.nextSibling;n!==t.actual_end_child?void 0===n.claim_order&&n.parentNode===t||t.insertBefore(n,t.actual_end_child):t.actual_end_child=n.nextSibling}else n.parentNode===t&&null===n.nextSibling||t.appendChild(n)}function _(t,n,e){d&&!e?m(t,n):n.parentNode===t&&n.nextSibling==e||t.insertBefore(n,e||null)}function p(t){t.parentNode.removeChild(t)}function g(t){return document.createElement(t)}function $(t){return document.createTextNode(t)}function b(){return $("")}function y(t,n,e){null==e?t.removeAttribute(n):t.getAttribute(n)!==e&&t.setAttribute(n,e)}function x(t){return Array.from(t.childNodes)}function v(t){void 0===t.claim_info&&(t.claim_info={last_index:0,total_claimed:0})}function E(t,n,e,o){let r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];v(t);const l=(()=>{for(let o=t.claim_info.last_index;o<t.length;o++){const l=t[o];if(n(l)){const n=e(l);return void 0===n?t.splice(o,1):t[o]=n,r||(t.claim_info.last_index=o),l}}for(let o=t.claim_info.last_index-1;o>=0;o--){const l=t[o];if(n(l)){const n=e(l);return void 0===n?t.splice(o,1):t[o]=n,r?void 0===n&&t.claim_info.last_index--:t.claim_info.last_index=o,l}}return o()})();return l.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,l}function I(t,n,e){return function(t,n,e,o){return E(t,(t=>t.nodeName===n),(t=>{const n=[];for(let o=0;o<t.attributes.length;o++){const r=t.attributes[o];e[r.name]||n.push(r.name)}n.forEach((n=>t.removeAttribute(n)))}),(()=>o(n)))}(t,n,e,g)}function A(t,n){return E(t,(t=>3===t.nodeType),(t=>{const e=""+n;if(t.data.startsWith(e)){if(t.data.length!==e.length)return t.splitText(e.length)}else t.data=e}),(()=>$(n)),!0)}function N(t){u=t}const k=[],w=[],S=[],B=[],C=Promise.resolve();let G=!1;function j(t){S.push(t)}const M=new Set;let O=0;function T(){const t=u;do{for(;O<k.length;){const t=k[O];O++,N(t),P(t.$$)}for(N(null),k.length=0,O=0;w.length;)w.pop()();for(let t=0;t<S.length;t+=1){const n=S[t];M.has(n)||(M.add(n),n())}S.length=0}while(k.length);for(;B.length;)B.pop()();G=!1,M.clear(),N(t)}function P(t){if(null!==t.fragment){t.update(),i(t.before_update);const n=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,n),t.after_update.forEach(j)}}const q=new Set;function D(t,n){t&&t.i&&(q.delete(t),t.i(n))}function H(t,n,e,o){const{fragment:l,on_mount:a,on_destroy:u,after_update:d}=t.$$;l&&l.m(n,e),o||j((()=>{const n=a.map(r).filter(c);u?u.push(...n):i(n),t.$$.on_mount=[]})),d.forEach(j)}function L(t,n){-1===t.$$.dirty[0]&&(k.push(t),G||(G=!0,C.then(T)),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<<n%31}function W(t){let n,e,r,l,i,c=t[2](),a=c&&function(t){let n,e,o;return{c(){n=g("a"),e=$("Gå till undermeny"),this.h()},l(t){n=I(t,"A",{href:!0,class:!0});var o=x(n);e=A(o,"Gå till undermeny"),o.forEach(p),this.h()},h(){y(n,"href",o="#"+t[1]),y(n,"class","app-ub7np2")},m(t,o){_(t,n,o),m(n,e)},p(t,e){2&e&&o!==(o="#"+t[1])&&y(n,"href",o)},d(t){t&&p(n)}}}(t);return{c(){n=g("a"),e=$("Gå till innehåll"),l=$(" "),a&&a.c(),i=b(),this.h()},l(t){n=I(t,"A",{href:!0,class:!0});var o=x(n);e=A(o,"Gå till innehåll"),o.forEach(p),l=function(t){return A(t," ")}
2(t),a&&a.l(t),i=b(),this.h()},h(){y(n,"href",r="#"+t[0]),y(n,"class","app-ub7np2")},m(t,o){_(t,n,o),m(n,e),_(t,l,o),a&&a.m(t,o),_(t,i,o)},p(t,e){let[o]=e;1&o&&r!==(r="#"+t[0])&&y(n,"href",r),c&&a.p(t,o)},i:o,o:o,d(t){t&&p(n),t&&p(l),a&&a.d(t),t&&p(i)}}}function z(t,n,e){let{contentId:o}=n,{submenuId:r}=n;return t.$$set=t=>{"contentId"in t&&e(0,o=t.contentId),"submenuId"in t&&e(1,r=t.submenuId)},[o,r,()=>{{const t=document.getElementById(r);return!!t&&null!==t.offsetParent}}]}class F extends class{$destroy(){!function(t,n){const e=t.$$;null!==e.fragment&&(i(e.on_destroy),e.fragment&&e.fragment.d(n),e.on_destroy=e.fragment=null,e.ctx=[])}(this,1),this.$destroy=o}$on(t,n){const e=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return e.push(n),()=>{const t=e.indexOf(n);-1!==t&&e.splice(t,1)}}$set(t){var n;this.$$set&&(n=t,0!==Object.keys(n).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}{constructor(t){super(),function(t,n,e,r,c,a,d){let h=arguments.length>7&&void 0!==arguments[7]?arguments[7]:[-1];const m=u;N(t);const _=t.$$={fragment:null,ctx:null,props:a,update:o,not_equal:c,bound:l(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(m?m.$$.context:[])),callbacks:l(),dirty:h,skip_bound:!1,root:n.target||m.$$.root};d&&d(_.root);let g=!1;if(_.ctx=e?e(t,n.props||{},(function(n,e){const o=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:e;return _.ctx&&c(_.ctx[n],_.ctx[n]=o)&&(!_.skip_bound&&_.bound[n]&&_.bound[n](o),g&&L(t,n)),e})):[],_.update(),g=!0,i(_.before_update),_.fragment=!!r&&r(_.ctx),n.target){if(n.hydrate){s();const t=x(n.target);_.fragment&&_.fragment.l(t),t.forEach(p)}else _.fragment&&_.fragment.c();n.intro&&D(t.$$.fragment),H(t,n.target,n.anchor,n.customElement),f(),T()}N(m)}(this,t,z,W,a,{contentId:0,submenuId:1})}}return(t,n)=>{!function(t){let{target:n,props:e,intro:o=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=n.childElementCount>0;new t({hydrate:r,target:n,props:e,intro:o})}(F,{props:t,target:n})}}));
3}});

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.