PageSourceSearch

https://www.cervera.se/_next/static/chunks/2229.78ea7648f3e41b9e.js

js cervera.se collected 2026-10-02 06:40:39 UTC 10,351 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="95d134e4-ad39-4e6c-aaaa-5cf1ffb84970",e._sentryDebugIdIdentifier="sentry-dbid-95d134e4-ad39-4e6c-aaaa-5cf1ffb84970")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2229],{15744:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},18053:e=>{e.exports={root:"InfoSection_root___qiQw",title:"InfoSection_title__rS4fK",body:"InfoSection_body__LfZWy",red:"InfoSection_red__DfN4V"}},19465:(e,t,n)=>{var r=n(2331),o=n(39004),l=n(66783);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=l,e.exports=a},19887:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},28375:(e,t,n)=>{var r=n(19465),o=n(15744),l=n(28389);e.exports=function(e,t,n,a,i,s){var u=1&n,c=e.length,d=t.length;if(c!=d&&!(u&&d>c))return!1;var f=s.get(e),v=s.get(t);if(f&&v)return f==t&&v==e;var p=-1,_=!0,h=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++p<c;){var b=e[p],y=t[p];if(a)var m=u?a(y,b,p,t,e,s):a(b,y,p,e,t,s);if(void 0!==m){if(m)continue;_=!1;break}if(h){if(!o(t,function(e,t){if(!l(h,t)&&(b===e||i(b,e,n,a,s)))return h.push(t)})){_=!1;break}}else if(!(b===y||i(b,y,n,a,s))){_=!1;break}}return s.delete(e),s.delete(t),_}},28389:e=>{e.exports=function(e,t){return e.has(t)}},32229:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>A});var r=n(37876),o=n(75656),l=n(47062),a=n.n(l),i=n(69241),s=n(51101),u=n.n(s);let c=function(){return(0,r.jsx)("div",{className:"container",children:(0,r.jsx)("div",{className:(0,i.A)(u().placeholder)})})};var d=n(69044);let f=async e=>{var t;if(!e)return null;let n=await (0,d.Jt)("/Store/PinMeToStore/".concat(e),{type:d.df});return n.isSuccess?null==n||null==(t=n.value)?void 0:t.data:null};var v=n(18053),p=n.n(v);let _=function(e){let{title:t,body:n,red:o}=e;return(0,r.jsxs)("div",{className:p().root,children:[(0,r.jsx)("div",{className:(0,i.A)(p().title,o&&p().red),children:t}),(0,r.jsx)("div",{className:(0,i.A)(p().body,o&&p().red),children:n})]})};var h=n(59232),b=n(79407),y=n(41946),m=n.n(y);let j=["mon","tue","wed","thu","fri"];var x=n(4076),g=n(49012),w=n(92732);let A=function(e){var t,n,l,s,u,d,v,p,y,A,k;let I,{block:{additionalText:S,egStoreCode:D,showAdditionalText:B,backgroundColor:N,color:H,infoSectionTitle:O,infoSectionText:C}}=e,{t:E}=(0,h.Bd)("common"),{data:F,error:L}=(0,o.Ay)(D,f),R=(e=>{let t=[],{t:n}=(0,h.Bd)("common"),r=n("/store/label/closed");if(!e)return null;if((e=>{let t=null==e?void 0:e.mon;return Object.entries(e).filter(e=>{let[t]=e;return j.includes(t)}).map(e=>{let[,t]=e;return t}).every(e=>m()(e,t))})(e)){let o=(0,b.A)(null==e?void 0:e.mon);t.push({day:n("/store/label/weekdays"),time:(null==o?void 0:o.open)?o.openHours:r})}else{let o=(0,b.A)(null==e?void 0:e.mon),l=(0,b.A)(null==e?void 0:e.tue),a=(0,b.A)(null==e?void 0:e.wed),i=(0,b.A)(null==e?void 0:e.thu),s=(0,b.A)(null==e?void 0:e.fri);t.push({day:n("/store/label/monday"),time:(null==o?void 0:o.open)?o.openHours:r},{day:n("/store/label/tuesday"),time:(null==l?void 0:l.open)?l.openHours:r},{day:n("/store/label/wednesday"),time:(null==a?void 0:a.open)?a.openHours:r},{day:n("/store/label/thursday"),time:(null==i?void 0:i.open)?i.openHours:r},{day:n("/store/label/friday"),time:(null==s?void 0:s.open)?s.openHours:r})}let o=(0,b.A)(null==e?void 0:e.sat),l=(0,b.A)(null==e?void 0:e.sun);return t.push({day:n("/store/label/saturday"),time:(null==o?void 0:o.open)?o.openHours:r},{day:n("/store/label/sunday"),time:(null==l?void 0:l.open)?l.openHours:r}),t})(null==F?void 0:F.openHours),T=(0,g.A)(null==F?void 0:F.specialOpenHours),z=(0,w.A)(F);return L||F?(0,r.jsx)("div",{className:(0,i.A)("container",a().root),children:(0,r.jsxs)("div",{className:a().columns,children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(_,{title:"".concat(null!=(A=null==F?void 0:F.name)?A:""," ").concat(null!=(k=null==F?void 0:F.locationDescriptor)?k:""),body:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:null==F||null==(t=F.address)?void 0:t.street}),(0,r.jsxs)("div",{children:[null==F||null==(n=F.address)?void 0:n.zip," ",null==F||null==(l=F.address)?void 0:l.city]})]})}),(0,r.jsx)(_,{title:E("/store/label/opening_hours"),body:(0,r.jsx)(r.Fragment,{children:z||(null==R?void 0:R.map((e,t)=>{let{day:n,time:o}=e;return(0,r.jsxs)("div",{children:[n,": ",o]},t)}))})}),!!(null==T?void 0:T.length)&&(0,r.jsx)(_,{title:E("/store/label/special_opening_hours"),red:!0,body:(0,r.jsx)(r.Fragment,{children:null==T?void 0:T.map((e,t)=>{let{day:n,time:o}=e;return(0,r.jsxs)("div",{children:[n,": ",o]},t)})})})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(_,{title:E("/store/label/contacts"),body:(0,r.jsxs)(r.Fragment,{children:[(null==F||null==(s=F.contact)?void 0:s.phone)&&(0,r.jsx)("div",{children:(0,r.jsx)("a",{href:"tel: +46".concat(null==(I=null==F||null==(u=F.contact)?void 0:u.phone)?void 0:I.replace(/-|\s/g,"")),children:null==F||null==(d=F.contact)?void 0:d.phone})}),(null==F||null==(v=F.contact)?void 0:v.email)&&(0,r.jsx)("div",{children:(0,r.jsx)("a",{href:"mailto: ".concat(null==F||null==(p=F.contact)?void 0:p.email),children:null==F||null==(y=F.contact)?void 0:y.email})})]})}
1),(O||C)&&(0,r.jsx)(_,{title:O,body:(0,r.jsx)(x.A,{value:C})}),B&&S&&(0,r.jsx)("div",{className:a().text,style:{backgroundColor:N,color:H},children:(0,r.jsx)(x.A,{value:S})})]})]})}):(0,r.jsx)(c,{})}},33872:(e,t,n)=>{var r=n(92441),o=n(28375),l=n(63700),a=n(78583),i=n(24015),s=n(93007),u=n(4756),c=n(82731),d="[object Arguments]",f="[object Array]",v="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,_,h,b){var y=s(e),m=s(t),j=y?f:i(e),x=m?f:i(t);j=j==d?v:j,x=x==d?v:x;var g=j==v,w=x==v,A=j==x;if(A&&u(e)){if(!u(t))return!1;y=!0,g=!1}if(A&&!g)return b||(b=new r),y||c(e)?o(e,t,n,_,h,b):l(e,t,j,n,_,h,b);if(!(1&n)){var k=g&&p.call(e,"__wrapped__"),I=w&&p.call(t,"__wrapped__");if(k||I){var S=k?e.value():e,D=I?t.value():t;return b||(b=new r),h(S,D,n,_,b)}}return!!A&&(b||(b=new r),a(e,t,n,_,h,b))}},39004:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},41946:(e,t,n)=>{var r=n(71266);e.exports=function(e,t){return r(e,t)}},44577:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},47062:e=>{e.exports={root:"StoreInfoBlock_root__F6sGE",columns:"StoreInfoBlock_columns__jnN1L",map:"StoreInfoBlock_map__8jVjm",locationIcon:"StoreInfoBlock_locationIcon___y_Ns",directionLink:"StoreInfoBlock_directionLink__oF_LB",text:"StoreInfoBlock_text__Cuou7",specialOpenHours:"StoreInfoBlock_specialOpenHours__j6r_V"}},49012:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(78393),o=n(59232);let l=(e,t)=>{let{t:n}=(0,o.Bd)("common");if(!e)return null;let l=new Date(new Date().getTime()-864e5),a=new Date;return e.filter(e=>{let n=new Date(e.start),r=new Date(e.end);return t?n>=l&&r<=a:n>=l||r>=l}).map(e=>{let t=new Date(e.start);return(null==e?void 0:e.isClosed)?{day:"".concat(t.getDate(),"/").concat(t.getMonth()+1),time:n("/store/label/closed")}:{day:"".concat(t.getDate(),"/").concat(t.getMonth()+1),time:"".concat((0,r.A)(e.openTime)," - ").concat((0,r.A)(e.closeTime))}})}},51101:e=>{e.exports={placeholder:"StoreInfoBlockPlaceholder_placeholder__F1Bek StoreInfoBlock_root__F6sGE"}},63700:(e,t,n)=>{var r=n(64451),o=n(75082),l=n(79364),a=n(28375),i=n(19887),s=n(44577),u=r?r.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,d,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!d(new o(e),new o(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return l(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var v=i;case"[object Set]":var p=1&r;if(v||(v=s),e.size!=t.size&&!p)break;var _=f.get(e);if(_)return _==t;r|=2,f.set(e,t);var h=a(v(e),v(t),r,u,d,f);return f.delete(e),h;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},66783:e=>{e.exports=function(e){return this.__data__.has(e)}},71266:(e,t,n)=>{var r=n(33872),o=n(28654);e.exports=function e(t,n,l,a,i){return t===n||(null!=t&&null!=n&&(o(t)||o(n))?r(t,n,l,a,e,i):t!=t&&n!=n)}},78393:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=e=>{if((null==e?void 0:e.length)!==4)return"";let t=e.substring(0,2),n=e.substring(2);return"".concat(t,":").concat(n)}},78583:(e,t,n)=>{var r=n(48872),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,l,a,i){var s=1&n,u=r(e),c=u.length;if(c!=r(t).length&&!s)return!1;for(var d=c;d--;){var f=u[d];if(!(s?f in t:o.call(t,f)))return!1}var v=i.get(e),p=i.get(t);if(v&&p)return v==t&&p==e;var _=!0;i.set(e,t),i.set(t,e);for(var h=s;++d<c;){var b=e[f=u[d]],y=t[f];if(l)var m=s?l(y,b,f,t,e,i):l(b,y,f,e,t,i);if(!(void 0===m?b===y||a(b,y,n,l,i):m)){_=!1;break}h||(h="constructor"==f)}if(_&&!h){var j=e.constructor,x=t.constructor;j!=x&&"constructor"in e&&"constructor"in t&&!("function"==typeof j&&j instanceof j&&"function"==typeof x&&x instanceof x)&&(_=!1)}return i.delete(e),i.delete(t),_}},79407:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(78393);let o=e=>{if((null==e?void 0:e.state)=="Closed")return{open:!1};if(!e||!(null==e?void 0:e.span))return null;let{state:t,span:n}=e;if("Open"==t&&n&&(null==n?void 0:n.length)>0){let{open:e,close:t}=n[0];if(e&&t){let n=(0,r.A)(e),o=(0,r.A)(t);return{open:!0,openHours:"".concat(n," - ").concat(o)}}}return{open:!1}}},92732:(e,t,n)=>{"use strict";n.d(t,{A:()=>
1o});var r=n(59232);let o=e=>{if(null==e?void 0:e.permanentlyClosed)return null===r.Ru||void 0===r.Ru?void 0:r.Ru.t("/stores/label/permanently_closed_nsd",{ns:"store-label"});if((null==e?void 0:e.temporarilyClosedUntil)&&(null==e?void 0:e.temporarilyClosedUntil.length)){let t=new Date(e.temporarilyClosedUntil);return null===r.Ru||void 0===r.Ru?void 0:r.Ru.t("/stores/label/temporarily_closed_until",{date:"".concat(t.getDate(),"/").concat(t.getMonth()+1,"/").concat(t.getFullYear())})}}}}]);

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.