1AppRegistry.registerBundle({applicationId:'se.soleil.infoMessage|1.0.7',bundle: {}}); 2AppRegistry.registerModule({applicationId:'se.soleil.infoMessage|1.0.7',path:'/main',module:function(define){'use strict';define(["router","app"],(function(t,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var o=n(t),r=n(e);const i=/^(\/)*/g,a=/(\/)*$/g,l=(r.default?.portletId||"preview").replace(".","_");function c(){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;const e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(i,""),n=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{addQueryPrefix:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=Object.keys(t).map((e=>{const n=t[e];if(n)return Array.isArray(n)?n.map((t=>`${encodeURIComponent(`${e}[]`)}=${encodeURIComponent(t)}`)).join("&"):`${encodeURIComponent(e)}=${encodeURIComponent(n)}`})).filter((t=>!!t)).join("&");return n?e?`?${n}`:n:""}(t,{addQueryPrefix:!0});return o.default?.getStandaloneUrl?o.default.getStandaloneUrl((""!==e?`/${e}`:e).replace(a,""))+n:function(t){const e=require("PortletContextUtil"),n=e.getCurrentPage(),o=e.getCurrentPortlet();if(n&&o)return`/appresource/${n.getIdentifier().replace("_sitePage","")}/${o.getIdentifier()}/${t}`;return"/"}(e).replace(a,"")+n}function s(){}document.documentElement.classList.contains("sv-edit-mode");const u=t=>t;function d(t){return t()}function f(){return Object.create(null)}function h(t){t.forEach(d)}function p(t){return"function"==typeof t}function g(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}const m="undefined"!=typeof window;let $=m?()=>window.performance.now():()=>Date.now(),b=m?t=>requestAnimationFrame(t):s;const _=new Set;function v(t){_.forEach((e=>{e.c(t)||(_.delete(e),e.f())})),0!==_.size&&b(v)}let y=!1;function x(t,e,n,o){for(;t<e;){const r=t+(e-t>>1);n(r)<=o?t=r+1:e=r}return t}function w(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function E(t){const e=N("style");return e.textContent="/* empty */",function(t,e){(function(t,e){t.appendChild(e)})(t.head||t,e),e.sheet}(w(t),e),e.sheet}function k(t,e){if(y){for(!function(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if("HEAD"===t.nodeName){const t=[];for(let n=0;n<e.length;n++){const o=e[n];void 0!==o.claim_order&&t.push(o)}e=t}const n=new Int32Array(e.length+1),o=new Int32Array(e.length);n[0]=-1;let r=0;for(let t=0;t<e.length;t++){const i=e[t].claim_order,a=(r>0&&e[n[r]].claim_order<=i?r+1:x(1,r,(t=>e[n[t]].claim_order),i))-1;o[t]=n[a]+1;const l=a+1;n[l]=t,r=Math.max(l,r)}const i=[],a=[];let l=e.length-1;for(let t=n[r]+1;0!=t;t=o[t-1]){for(i.push(e[t-1]);l>=t;l--)a.push(e[l]);l--}for(;l>=0;l--)a.push(e[l]);i.reverse(),a.sort(((t,e)=>t.claim_order-e.claim_order));for(let e=0,n=0;e<a.length;e++){for(;n<i.length&&a[e].claim_order>=i[n].claim_order;)n++;const o=n<i.length?i[n]:null;t.insertBefore(a[e],o)}}(t),(void 0===t.actual_end_child||null!==t.actual_end_child&&t.actual_end_child.parentNode!==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;e!==t.actual_end_child?void 0===e.claim_order&&e.parentNode===t||t.insertBefore(e,t.actual_end_child):t.actual_end_child=e.nextSibling}else e.parentNode===t&&null===e.nextSibling||t.appendChild(e)}function P(t,e,n){y&&!n?k(t,e):e.parentNode===t&&e.nextSibling==n||t.insertBefore(e,n||null)}function I(t){t.parentNode&&t.parentNode.removeChild(t)}function N(t){return document.createElement(t)}function C(t){return document.createTextNode(t)}function D(){return C(" ")}function A(){return C("")}function S(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function M(t){return Array.from(t.childNodes)}function U(t,e,n,o){let r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];!function(t){void 0===t.claim_info&&(t.claim_info={last_index:0,total_claimed:0})}(t);const i=(()=>{for(let o=t.claim_info.last_index;o<t.length;o++){const i=t[o];if(e(i)){const e=n(i);return void 0===e?t.splice(o,1):t[o]=e,r||(t.claim_info.last_index=o),i}}for(let o=t.claim_info.last_index-1;o>=0;o--){const i=t[o];if(e(i)){const e=n(i);return void 0===e?t.splice(o,1):t[o]=e,r?void 0===e&&t.claim_info.last_index--:t.claim_info.last_index=o,i}}return o()})();return i.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,i}function T(t,e,n){return function(t,e,n,o){return U(t,(t=>t.nodeName===e),(t=>{const e=[];for(let o=0;o<t.attributes.length;o++){const r=t.attributes[o];n[r.name]||e.push(r.name)}e.forEach((e=>t.removeAttribute(e)))}),(()=>o(e)))}(t,e,n,N)}function F(t,e){return U(t,(t=>3===t.nodeType),(t=>{const n=""+e;if(t.data.startsWith(n)){if(t.data.length!==n.length)return t.splitText(n.length)}else t.data=n}),(()=>C(e)),!0)}function O(t){return F(t," ")}function R(t,e){e=""+e,t.data!==e&&(t.data=e)}const j=new Map;let H,L=0;function V(t,e,n,o,r,i,a){let l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0;const c=16.666/o;let s="{\n";for(let t=0;t<=1;t+=c){const o=e+(n-e)*i(t);s+=100*t+`%{${a(o,1-o)}}\n`}const u=s+`100% {${a(n,1-n)}}\n}`,d=`__svelte_${function(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}(u)}_${l}`,f=w(t),{stylesheet:h,rules:p}=j.get(f)||function(t,e){const n={stylesheet:E(e),rules:{}};return j.set(t,n),n}(f,t);p[d]||(p[d]=!0,h.insertRule(`@keyframes ${d} ${u}`,h.cssRules.length));const g=t.style.animation||"";return t.style.animation=`${g?`${g}, `:""}${d} ${o}ms linear ${r}ms 1 both`,L+=1,d}function q(t,e){const n=(t.style.animation||"").split(", "),o=n.filter(e?t=>t.indexOf(e)<0:t=>-1===t.indexOf("__svelte")),r=n.length-o.length;r&&(t.style.animation=o.join(", "),L-=r,L||b((()=>{L||(j.forEach((t=>{const{ownerNode:e}=t.stylesheet;e&&I(e)})),j.clear())})))}function B(t){H=t}function W(t,e){const n=t.$$.callbacks[e.type];
2n&&n.slice().forEach((t=>t.call(this,e)))}const z=[],Q=[];let K=[];const G=[],J=Promise.resolve();let X=!1;function Y(t){K.push(t)}const Z=new Set;let tt,et=0;function nt(){if(0!==et)return;const t=H;do{try{for(;et<z.length;){const t=z[et];et++,B(t),ot(t.$$)}}catch(t){throw z.length=0,et=0,t}for(B(null),z.length=0,et=0;Q.length;)Q.pop()();for(let t=0;t<K.length;t+=1){const e=K[t];Z.has(e)||(Z.add(e),e())}K.length=0}while(z.length);for(;G.length;)G.pop()();X=!1,Z.clear(),B(t)}function ot(t){if(null!==t.fragment){t.update(),h(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Y)}}function rt(t,e,n){t.dispatchEvent(function(t,e){let{bubbles:n=!1,cancelable:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new CustomEvent(t,{detail:e,bubbles:n,cancelable:o})}(`${e?"intro":"outro"}${n}`))}const it=new Set;let at;function lt(t,e){t&&t.i&&(it.delete(t),t.i(e))}function ct(t,e,n,o){if(t&&t.o){if(it.has(t))return;it.add(t),at.c.push((()=>{it.delete(t),o&&(n&&t.d(1),o())})),t.o(e)}else o&&o()}const st={duration:0};function ut(t,e,n,o){let r,i=e(t,n,{direction:"both"}),a=o?0:1,l=null,c=null,d=null;function f(){d&&q(t,d)}function g(t,e){const n=t.b-a;return e*=Math.abs(n),{a:a,b:t.b,d:n,duration:e,start:t.start,end:t.start+e,group:t.group}}function m(e){const{delay:n=0,duration:o=300,easing:p=u,tick:m=s,css:y}=i||st,x={start:$()+n,b:e};e||(x.group=at,at.r+=1),"inert"in t&&(e?void 0!==r&&(t.inert=r):(r=t.inert,t.inert=!0)),l||c?c=x:(y&&(f(),d=V(t,a,e,o,n,p,y)),e&&m(0,1),l=g(x,o),Y((()=>rt(t,e,"start"))),function(t){let e;0===_.size&&b(v),new Promise((n=>{_.add(e={c:t,f:n})}))}((e=>{if(c&&e>c.start&&(l=g(c,o),c=null,rt(t,l.b,"start"),y&&(f(),d=V(t,a,l.b,l.duration,0,p,i.css))),l)if(e>=l.end)m(a=l.b,1-a),rt(t,l.b,"end"),c||(l.b?f():--l.group.r||h(l.group.c)),l=null;else if(e>=l.start){const t=e-l.start;a=l.a+l.d*p(t/l.duration),m(a,1-a)}return!(!l&&!c)})))}return{run(t){p(i)?(tt||(tt=Promise.resolve(),tt.then((()=>{tt=null}))),tt).then((()=>{i=i({direction:t?"in":"out"}),m(t)})):m(t)},end(){f(),l=c=null}}}function dt(t,e,n){const{fragment:o,after_update:r}=t.$$;o&&o.m(e,n),Y((()=>{const e=t.$$.on_mount.map(d).filter(p);t.$$.on_destroy?t.$$.on_destroy.push(...e):h(e),t.$$.on_mount=[]})),r.forEach(Y)}function ft(t,e){const n=t.$$;null!==n.fragment&&(!function(t){const e=[],n=[];K.forEach((o=>-1===t.indexOf(o)?e.push(o):n.push(o))),n.forEach((t=>t())),K=e}(n.after_update),h(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ht(t,e){-1===t.$$.dirty[0]&&(z.push(t),X||(X=!0,J.then(nt)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function pt(t,e,n,o,r,i,a){let l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:[-1];const c=H;B(t);const u=t.$$={fragment:null,ctx:[],props:i,update:s,not_equal:r,bound:f(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:f(),dirty:l,skip_bound:!1,root:e.target||c.$$.root};a&&a(u.root);let d=!1;if(u.ctx=n?n(t,e.props||{},(function(e,n){const o=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return u.ctx&&r(u.ctx[e],u.ctx[e]=o)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](o),d&&ht(t,e)),n})):[],u.update(),d=!0,h(u.before_update),u.fragment=!!o&&o(u.ctx),e.target){if(e.hydrate){y=!0;const t=M(e.target);u.fragment&&u.fragment.l(t),t.forEach(I)}else u.fragment&&u.fragment.c();e.intro&<(t.$$.fragment),dt(t,e.target,e.anchor),y=!1,nt()}B(c)}class gt{$$=void 0;$$set=void 0;$destroy(){ft(this,1),this.$destroy=s}$on(t,e){if(!p(e))return s;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}function mt(t){const e=t-1;return e*e*e+1}function $t(t){let{delay:e=0,duration:n=400,easing:o=mt,axis:r="y"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=getComputedStyle(t),a=+i.opacity,l="y"===r?"height":"width",c=parseFloat(i[l]),s="y"===r?["top","bottom"]:["left","right"],u=s.map((t=>`${t[0].toUpperCase()}${t.slice(1)}`)),d=parseFloat(i[`padding${u[0]}`]),f=parseFloat(i[`padding${u[1]}`]),h=parseFloat(i[`margin${u[0]}`]),p=parseFloat(i[`margin${u[1]}`]),g=parseFloat(i[`border${u[0]}Width`]),m=parseFloat(i[`border${u[1]}Width`]);return{delay:e,duration:n,easing:o,css:t=>`overflow: hidden;opacity: ${Math.min(20*t,1)*a};${l}: ${t*c}px;padding-${s[0]}: ${t*d}px;padding-${s[1]}: ${t*f}px;margin-${s[0]}: ${t*h}px;margin-${s[1]}: ${t*p}px;border-${s[0]}-width: ${t*g}px;border-${s[1]}-width: ${t*m}px;`}}function bt(t){let e,n,o,r='<span class="bi bi-x close-1b31ahx" aria-hidden="true"></span> <span class="close_msg sv-font-kris-och-info-text close-1b31ahx">Stäng meddelandet</span>';return{c(){e=N("button"),e.innerHTML=r,this.h()},l(t){e=T(t,"BUTTON",{class:!0,"data-svelte-h":!0}),"svelte-1l60q6x"!==e.dataset.svelteH&&(e.innerHTML=r),this.h()},h(){S(e,"class","close-1b31ahx")},m(r,i){var a,l,c,s;
2P(r,e,i),n||(a=e,l="click",c=t[0],a.addEventListener(l,c,s),o=()=>a.removeEventListener(l,c,s),n=!0)},p:s,i:s,o:s,d(t){t&&I(e),n=!1,o()}}}function _t(t){return[function(e){W.call(this,t,e)}]}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");class vt extends gt{constructor(t){super(),pt(this,t,_t,bt,g,{})}}function yt(t){let e,n,o,r,i,a,l,c,s,u,d,f,h,p,g,m,$,b,_,v,y,x,w,E,A,U,j,H,L,V,q,B;return L=new vt({}),L.$on("click",t[7]),{c(){var i;e=N("div"),n=N("div"),o=N("i"),r=N("div"),a=D(),l=N("div"),c=N("h2"),s=C(t[0]),u=D(),d=N("div"),f=N("span"),h=C("Publicerad: "),p=N("time"),g=C(t[3]),m=D(),$=N("p"),b=C(t[1]),_=D(),v=N("a"),y=C("Mer information "),x=N("span"),w=C("om "),E=C(t[0]),A=D(),U=N("i"),H=D(),(i=L.$$.fragment)&&i.c(),this.h()},l(i){e=T(i,"DIV",{class:!0,"aria-atomic":!0,"aria-labelledby":!0,role:!0});var k=M(e);n=T(k,"DIV",{class:!0});var P=M(n);o=T(P,"I",{class:!0,"aria-hidden":!0});var N=M(o);r=T(N,"DIV",{class:!0}),M(r).forEach(I),N.forEach(I),a=O(P),l=T(P,"DIV",{class:!0});var C=M(l);c=T(C,"H2",{id:!0,class:!0});var D=M(c);s=F(D,t[0]),D.forEach(I),u=O(C),d=T(C,"DIV",{class:!0});var S=M(d);f=T(S,"SPAN",{class:!0});var R=M(f);h=F(R,"Publicerad: "),p=T(R,"TIME",{class:!0,datetime:!0});var j=M(p);
2g=F(j,t[3]),j.forEach(I),R.forEach(I),S.forEach(I),m=O(C),$=T(C,"P",{class:!0});var V=M($);b=F(V,t[1]),V.forEach(I),_=O(C),v=T(C,"A",{class:!0,href:!0});var q=M(v);y=F(q,"Mer information "),x=T(q,"SPAN",{class:!0});var B,W,z=M(x);w=F(z,"om "),E=F(z,t[0]),z.forEach(I),A=O(q),U=T(q,"I",{class:!0,"aria-hidden":!0}),M(U).forEach(I),q.forEach(I),C.forEach(I),H=O(P),B=L.$$.fragment,W=P,B&&B.l(W),P.forEach(I),k.forEach(I),this.h()},h(){S(r,"class","bi_background app-ugbwdh"),S(o,"class",i="bi "+t[8]()+" "+t[4]+" main_icon app-ugbwdh"),S(o,"aria-hidden","true"),S(c,"id",t[6]),S(c,"class","sv-font-kris-och-info-titel app-ugbwdh"),S(p,"class","sv-font-mindre-text"),S(p,"datetime",t[3]),S(f,"class","sv-font-mindre-text app-ugbwdh"),S(d,"class","dates app-ugbwdh"),S($,"class","sv-font-kris-och-info-text app-ugbwdh"),S(x,"class","sr-only app-ugbwdh"),S(U,"class","bi bi-arrow-right-short app-ugbwdh"),S(U,"aria-hidden","true"),S(v,"class",j="env-button custom_button_crisis btn-"+t[4]+" sv-font-kris-och-info-text app-ugbwdh"),S(v,"href",t[2]),S(l,"class","content app-ugbwdh"),S(n,"class","sol-grid message app-ugbwdh"),S(e,"class",V="wrapper "+t[4]+" app-ugbwdh"),S(e,"aria-atomic","true"),S(e,"aria-labelledby",t[6]),S(e,"role","alert")},m(t,i){P(t,e,i),k(e,n),k(n,o),k(o,r),k(n,a),k(n,l),k(l,c),k(c,s),k(l,u),k(l,d),k(d,f),k(f,h),k(f,p),k(p,g),k(l,m),k(l,$),k($,b),k(l,_),k(l,v),k(v,y),k(v,x),k(x,w),k(x,E),k(v,A),k(v,U),k(n,H),dt(L,n,null),B=!0},p(t,n){(!B||16&n&&i!==(i="bi "+t[8]()+" "+t[4]+" main_icon app-ugbwdh"))&&S(o,"class",i),(!B||1&n)&&R(s,t[0]),(!B||8&n)&&R(g,t[3]),(!B||8&n)&&S(p,"datetime",t[3]),(!B||2&n)&&R(b,t[1]),(!B||1&n)&&R(E,t[0]),(!B||16&n&&j!==(j="env-button custom_button_crisis btn-"+t[4]+" sv-font-kris-och-info-text app-ugbwdh"))&&S(v,"class",j),(!B||4&n)&&S(v,"href",t[2]),(!B||16&n&&V!==(V="wrapper "+t[4]+" app-ugbwdh"))&&S(e,"class",V)},i(t){B||(lt(L.$$.fragment,t),t&&Y((()=>{B&&(q||(q=ut(e,$t,{duration:250},!0)),q.run(1))})),B=!0)},o(t){ct(L.$$.fragment,t),t&&(q||(q=ut(e,$t,{duration:250},!1)),q.run(0)),B=!1},d(t){t&&I(e),ft(L),t&&q&&q.end()}}}function xt(t){let e,n,o=t[5]&&yt(t);return{c(){o&&o.c(),e=A()},l(t){o&&o.l(t),e=A()},m(t,r){o&&o.m(t,r),P(t,e,r),n=!0},p(t,n){let[r]=n;t[5]?o?(o.p(t,r),32&r&<(o,1)):(o=yt(t),o.c(),lt(o,1),o.m(e.parentNode,e)):o&&(at={r:0,c:[],p:at},ct(o,1,1,(()=>{o=null})),at.r||h(at.c),at=at.p)},i(t){n||(lt(o),n=!0)},o(t){ct(o),n=!1},d(t){t&&I(e),o&&o.d(t)}}}function wt(t,e,n){let{title:o}=e,{text:r}=e,{uri:i}=e,{publishDate:a}=e,{lastPublishDate:s}=e,{type:u}=e,d=!0;const f=function(){return`${arguments.length>0&&void 0!==arguments[0]?arguments[0]:"app"}_${l}`}("heading");return t.$$set=t=>{"title"in t&&n(0,o=t.title),"text"in t&&n(1,r=t.text),"uri"in t&&n(2,i=t.uri),"publishDate"in t&&n(3,a=t.publishDate),"lastPublishDate"in t&&n(9,s=t.lastPublishDate),"type"in t&&n(4,u=t.type)},[o,r,i,a,u,d,f,function(){n(5,d=!1),fetch(c("/close"),{method:"PUT"})},()=>{switch(u){case"Kris":return"bi-exclamation-triangle-fill background_crisis";case"Info":return"bi-info-circle-fill background_info";default:return"bi-exclamation-triangle-fill"}},s]}class Et extends gt{constructor(t){super(),pt(this,t,wt,xt,g,{title:0,text:1,uri:2,publishDate:3,lastPublishDate:9,type:4})}}return(t,e)=>{!function(t){let{target:e,props:n,intro:o=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};new t({hydrate:e.childElementCount>0,target:e,props:n,intro:o})}(Et,{props:t,target:e})}})); 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.