PageSourceSearch

https://malmofestivalen.vercel.app/_next/static/chunks/3474-be1a85222a02cbdb.js

js malmofestivalen.vercel.app collected 2026-10-03 07:17:03 UTC 18,099 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3474],{16568:function(e,t,r){r.r(t),r.d(t,{default:function(){return g}});var a=r(57437),n=r(52371),o=r(65255),i=r(81201),l=r(83365),s=r(58894),c=r(2265),d=r(73110);function g(e){let{eventUuid:t,type:r="booking",className:g,date:u,label:f,variant:b="small",view:h="default"}=e,{isFavorite:v,toggleFavorite:p,getFavorites:m}=(0,n.r)(t,r,u),[y,w]=(0,c.useState)(!1),[k,x]=(0,c.useState)(new Date);(0,c.useEffect)(()=>{w(!0)},[]);let S=null==f?void 0:f.trim();return y?(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("button",{onClick:function(e){e.preventDefault(),e.stopPropagation(),p(),m(),x(new Date)},className:(0,i.cn)("large"===b?o.d.action.default:o.d.action.icon,"grid"===h&&"absolute right-0 rounded-l-md rounded-r-none","default"===h?"bg-gray-25":"bg-white","small"===b&&"h-8 w-8 p-1.5 lg:h-8 lg:w-8","dark:bg-gray-700 dark:text-white dark:hover:bg-gray-800 dark:focus:bg-gray-800",g),tabIndex:0,"aria-label":S?v?"Ta bort ".concat(S," fr\xe5n favoriter"):"L\xe4gg till ".concat(S," i favoriter"):v?"Ta bort fr\xe5n favoriter":"L\xe4gg till i favoriter",children:["large"===b&&(0,a.jsx)("span",{"data-translateable":!0,children:"Spara"}),v?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.Z,{"aria-hidden":"true",className:(0,i.cn)("stroke-[3] text-gray-800 dark:text-white","large"===b?"h-5 w-5":"h-4 w-4 md:h-4 md:w-4")}),(0,a.jsx)(l.Z,{"aria-hidden":"true",className:(0,i.cn)("hidden stroke-[3] text-gray-800","large"===b?"h-5 w-5":"h-4 w-4 md:h-4 md:w-4")})]}):(0,a.jsx)(l.Z,{"aria-hidden":"true",className:(0,i.cn)("stroke-[3] text-gray-800 dark:text-white","large"===b?"h-5 w-5":"h-4 w-4 md:h-4 md:w-4")})]},k.getMilliseconds())}):(0,a.jsx)("div",{className:(0,i.cn)("large"===b?o.d.action.default:o.d.action.icon,"grid"===h&&"absolute right-0 rounded-l-md rounded-r-none","default"===h?"bg-gray-25":"bg-white","small"===b&&"h-8 w-8 p-1.5 lg:h-8 lg:w-8","dark:bg-gray-700 dark:text-white dark:hover:bg-gray-800 dark:focus:bg-gray-800",g),children:(0,a.jsx)(d.Z,{})})}},4275:function(e,t,r){var a=r(57437),n=r(81201),o=r(2265);let i=o.forwardRef((e,t)=>{let{children:r,className:a,gap:i="gap-x-layout",as:l="div"}=e;return o.createElement(l,{ref:t,className:(0,n.cn)(a,"grid grid-cols-layout ".concat(i))},r)});i.displayName="LayoutGrid";let l=o.forwardRef((e,t)=>{let{children:r,layout:n="center",gap:o="gap-x-layout",className:l,as:s}=e;return(0,a.jsxs)(i,{ref:t,as:s,className:l,gap:o,children:["full"===n&&(0,a.jsx)(a.Fragment,{children:r}),"center"===n&&(0,a.jsx)("div",{className:"col-start-2 col-end-total grid grid-cols-inner ".concat(o),children:r}),"center-overflow"===n&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"hide-scrollbar col-span-full flex flex-col gap-layout overflow-x-auto pl-layout lg:grid lg:grid-cols-inner lg:overflow-visible ".concat(o),children:r})}),"overflow"===n&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"hide-scrollbar col-span-full flex gap-layout overflow-x-auto pl-layout ".concat(o),children:r})})]})});l.displayName="Grid",t.Z=l},35435:function(e,t,r){r.d(t,{TranslationProvider:function(){return g},H:function(){return u}});var a=r(57437),n={Sök:"Search","Om festivalen":"About the festival",'<span class="transition-navlink duration-300 md:group-hover:-translate-y-full">Om festivalen</span><span class="transition-navlink duration-300 md:group-hover:-translate-y-full">Om festivalen</span>':'<span class="transition-navlink duration-300 md:group-hover:-translate-y-full">About the festival</span><span class="transition-navlink duration-300 md:group-hover:-translate-y-full">About the festival</span>','<span class="transition-navlink duration-300 md:group-hover:-translate-y-full">Info f\xf6r bes\xf6kare</span><span class="transition-navlink duration-300 md:group-hover:-translate-y-full">Info f\xf6r bes\xf6kare</span>':'<span class="transition-navlink duration-300 md:group-hover:-translate-y-full">Info for visitors</span><span class="transition-navlink duration-300 md:group-hover:-translate-y-full">Info for visitors</span>','<span class="transition-navlink duration-300 md:group-hover:-translate-y-full">Program</span><span class="transition-navlink duration-300 md:group-hover:-translate-y-full">Program</span>':'<span class="transition-navlink duration-300 md:group-hover:-translate-y-full">Program</span><span class="transition-navlink duration-300 md:group-hover:-translate-y-full">Program</span>',"Info f\xf6r bes\xf6kare":"Info for visitors",Program:"Program",Rensa:"Clear","Rensa alla":"Clear all","V\xe4lj spr\xe5k":"Select language","Aktivera R\xf6rligt":"Enable Motion","Avaktivera R\xf6rligt":"Disable Motion",Nyheter:"News",Scener:"Stages","Mat och dryck":"Food and drink","Fr\xe5gor & svar":"Questions & answers","Fr\xe5gor &amp; svar":"Questions &amp; answers",Press:"Press","Press ":"Press ","Mer om festivalen":"More about the festival",Tillgänglighet:"Accessibility",Jämställdhet:"Equality",Trygghet:"Safety",Hållbarhet:"Sustainability",Historia:"History","Mitt program":"My program","Mitt Program":"My Program",Kontakt:"Contact","Arrangeras av":"Organized by",Certifieringar:"Certifications",Sidor:"Pages",FAQ:"FAQ",Nyhet:"News","\xa9 Malm\xf6festivalen 2026. Av Malm\xf6 Stad sedan 1985.":"\xa9 Malm\xf6festivalen 2026. By Malm\xf6 Stad since 1985.",idag:"today",mån:"mon",tis:"tues",ons:"wed",tors:"thurs",fre:"fri",lör:"sat",sön:"sun",Fredag:"Friday",Lördag:"Saturday",Söndag:"Sunday",Måndag:"Monday",Tisdag:"Tuesday",Onsdag:"Wednesday",Torsdag:"Thursday",fredag:"friday",lördag:"saturday",söndag:"sunday",måndag:"monday",tisdag:"tuesday",onsdag:"wednesday",torsd
1ag:"thursday","N\xe4sta dag":"Next day",Föregående:"Previous",Kategori:"Category",Kategorier:"Categories",Aktiviteter:"Activities","Barn & familj":"Children & family","Barn &amp; familj":"Children &amp; family",Kultur:"Culture","Milj\xf6 & h\xe5llbarhet":"Environment & sustainability","Milj\xf6 &amp; h\xe5llbarhet":"Environment &amp; sustainability",Musik:"Music",Syntolkning:"Audio description",Teckenspråkstolkning:"Sign language interpretation","Se alla bokningar":"See all bookings","Scener & Platser":"Stages & Places","Program f\xf6r":"Program for",Information:"Information","Malm\xf6festivalens \xf6ppettider":"Malm\xf6festivalen's opening hours",Öppettider:"Opening hours","AVST\xc4NGDA GATOR":"CLOSED STREETS","MALM\xd6 BY BIKE":"MALM\xd6 BY BIKE",KOLLEKTIVTRAFIK:"PUBLIC TRANSPORT",LJUDNIVÅER:"SOUND LEVELS",Cykelparkering:"Bicycle parking",Sjukvård:"Medic",Infobod:"Info booth",Polis:"Police","Hela matprogrammet":"The entire food program","Matst\xe5nd, foodtrucks och serveringar.":"Food stalls, food trucks and restaurants.",Mat:"Food","Mat & dryck":"Food & drink","Mat &amp; dryck":"Food &amp; drink",Veg:"Veg",Glutenfritt:"Gluten free",Vegan:"Vegan","Matmarkanden har \xf6ppet under festivalens ordinarie \xf6ppetider.":"The food market is open during the festival's regular opening hours.",Vägbeskrivning:"Directions",Dela:"Share",Spara:"Save",Kostalternativ:"Dietary options",Tillbaka:"Back",Karta:"Map",tillfällen:"occasions",Presskontakt:"Press contact","\xd6vriga fr\xe5gor":"Other questions",Pressrum:"Press room",Cykel:"Bike",Bil:"Car",Info:"Info",Toalett:"Toilet",Vatten:"Water",Scen:"Stage",Tillgänglighetsval:"Accessibility options",Animationer:"Animations","Talande webb":"Speaking web","Cookies-inst\xe4llningar":"Cookies settings","Hantera cookies":"Manage cookies",Inställningar:"Settings","Se alla nyheter":"See all news","Uppt\xe4ck v\xe5ra scener":"Discover our stages","Se alla scener":"See all stages","F\xf6lj oss":"Follow us","F\xf6lj oss p\xe5 Instagram":"Follow us on Instagram","Dag, Tid & Plats":"Day, Time & Place",Länkar:"Links","Ladda mer":"Load more","MITT PROGRAM":"MY PROGRAM",Unga:"Young",Dag:"Day",Tid:"Time",Plats:"Place","Visa fler":"Show more","Scener &amp; platser":"Stages &am; places",Fotoutställning:"Exhibition",Vattenkran:"Water tap",Färdtjänst:"Transport service",Polisen:"Police"},o=r(2265),i=r(820);let l="translations:sv-en:v1",s=(0,o.createContext)(null),c=new i.Z;function d(e,t){"placeholder"===e.kind?e.element.setAttribute("placeholder",t):e.element.innerHTML=t,e.element.setAttribute("data-translated","true"),e.element.removeAttribute("data-translating")}function g(e){let{children:t}=e,[r,i]=(0,o.useState)("sv"),[g,u]=(0,o.useState)(!1),f=(0,o.useRef)(()=>void 0),b=(0,o.useRef)(new Map);(0,o.useEffect)(()=>{b.current=function(){try{let e=sessionStorage.getItem(l);if(!e)return new Map;let t=JSON.parse(e);return new Map(t.filter(e=>Array.isArray(e)&&"string"==typeof e[0]&&"string"==typeof e[1]))}catch(e){return new Map}}();let e="en"===c.get("translate")?"en":"sv";i(e),document.documentElement.lang=e,u(!0)},[]),(0,o.useEffect)(()=>{if(!g||"en"!==r){f.current=()=>void 0;return}let e=new Map,t=new Map,a=null,o=!1,i=null,s=(e,t)=>{e.forEach(e=>d(e,t))},c=e=>{e.forEach(e=>{let{element:t}=e;t.removeAttribute("data-translating")})},u=async()=>{if(!o&&0!==e.size){o=!0;try{for(;e.size>0;){let r=Array.from(e.keys()).slice(0,10),a=new Map;r.forEach(t=>{let r=e.get(t);r&&a.set(t,r),e.delete(t)});try{var t;let e=await fetch("/api/i18n",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({strings:r})});if(!e.ok)throw Error("API call failed: ".concat(e.status));let n=await e.json(),o=new Map(((null===(t=n.data)||void 0===t?void 0:t.translations)||[]).filter(e=>"string"==typeof e.sourceText&&"string"==typeof e.translatedText).map(e=>[e.sourceText,e.translatedText]));r.forEach(e=>{let t=a.get(e);if(!t)return;let r=o.get(e);"string"==typeof r?(b.current.set(e,r),s(t,r)):c(t)}),function(e){try{let t=Array.from(e.entries()).slice(-500);sessionStorage.setItem(l,JSON.stringify(t))}catch(e){}}(b.current)}catch(e){a.forEach(c),console.error("Error translating content batch:",e)}}}finally{o=!1}}},h=()=>{null===a&&(a=window.setTimeout(()=>{a=null,u()},75))},v=t=>{if("false"===t.getAttribute("data-translateable")||t.hasAttribute("data-translated")||t.hasAttribute("data-translating"))return;let r=t instanceof HTMLInputElement&&t.hasAttribute("placeholder"),a=r?t.getAttribute("placeholder"):t.innerHTML;if(!(null==a?void 0:a.trim()))return;let o={element:t,kind:r?"placeholder":"content"};t.setAttribute("data-translating","true");let i=n[a];if("string"==typeof i){d(o,i);return}let l=b.current.get(a);if("string"==typeof l){d(o,l);return}let s=e.get(a)||new Set;s.add(o),e.set(a,s),h()},p=new IntersectionObserver(e=>
1{e.forEach(e=>{if(e.isIntersecting){let r=window.setTimeout(()=>{t.delete(e.target),v(e.target),p.unobserve(e.target)},500);t.set(e.target,r)}else{let r=t.get(e.target);void 0!==r&&(window.clearTimeout(r),t.delete(e.target))}})},{threshold:.1}),m=()=>{document.querySelectorAll("[data-translateable]").forEach(e=>{"false"===e.getAttribute("data-translateable")||e.hasAttribute("data-translated")||e.hasAttribute("data-translating")||p.observe(e)})},y=()=>{null===i&&(i=window.requestAnimationFrame(()=>{i=null,m()}))};f.current=y,m();let w=new MutationObserver(y);return w.observe(document.body,{childList:!0,subtree:!0}),()=>{f.current=()=>void 0,p.disconnect(),w.disconnect(),t.forEach(e=>window.clearTimeout(e)),null!==a&&window.clearTimeout(a),null!==i&&window.cancelAnimationFrame(i)}},[r,g]);let h=(0,o.useCallback)(()=>{f.current()},[]),v=(0,o.useCallback)(e=>{if("sv"===e){c.remove("translate",{path:"/"}),location.reload();return}"en"===e&&(c.set("translate","en",{path:"/"}),document.documentElement.lang="en",i("en"),f.current())},[]),p=(0,o.useMemo)(()=>({currentLanguage:r,doTranslate:h,isClient:g,toggleLanguage:v}),[r,h,g,v]);return(0,a.jsx)(s.Provider,{value:p,children:t})}function u(){let e=(0,o.useContext)(s);if(!e)throw Error("useTranslation must be used within a TranslationProvider");return e}},52371:function(e,t,r){r.d(t,{r:function(){return o}});var a=r(2265);let n=new(r(820)).Z,o=(e,t,r)=>{let o=(0,a.useCallback)(()=>n.get("favorites")||[],[]),i=e=>{let{title:t,description:r}=e},l=()=>{try{if(!e||void 0===e)return!1;let a=o();return void 0!==a.find(a=>a.id.toString()===e.toString()&&a.type===t&&a.date===r)}catch(e){return!1}},s=()=>
1{if(!e)return;let a=o();l()?i({title:"Error",description:"Already in favorites!"}):(a.push({id:e,type:t,date:r}),n.set("favorites",a,{path:"/",expires:new Date(Date.now()+22896e6)}),i({description:"Added to favorites ❤️"}))},c=()=>{if(!e)return;let a=o();l()?(a=a.filter(a=>!(a.id.toString()===e.toString()&&a.type===t&&a.date===r)),n.set("favorites",a,{path:"/",expires:new Date(Date.now()+22896e6)}),i({description:"Removed from favorites!"})):i({title:"Error",description:"Not in favorites!"})};return{isFavorite:l(),addFavorite:s,removeFavorite:c,toggleFavorite:()=>{l()?c():s(),window.dispatchEvent(new CustomEvent("favoritesUpdated"))},getFavorites:o}}},18627:function(e,t,r){var a=r(35435);t.Z=a.H},65255:function(e,t,r){r.d(t,{d:function(){return d}});var a=r(7798);let n="flex items-center justify-center whitespace-nowrap gap-2 ".concat(a.Z.button.md," ").concat((0,a.e)("lg",a.Z.button.twoMd)," py-2.5 px-3.5 lg:h-[38px] lg:px-4 rounded-sm"),o="flex items-center justify-center p-2.5 rounded-sm h-9 lg:h-[38px] aspect-square",i="leading-115 lg:leading-115 inline-flex bg-gradient-to-l whitespace-nowrap from-current text-md to-current bg-no-repeat bg-[length:100%_2px] ".concat(a.Z.bold.md," ").concat((0,a.e)("lg",a.Z.bold.twoMd)," sm:[transition:background-size_400ms_cubic-bezier(0.6,0,0,1)_150ms] sm:hover:[transition:background-size_400ms_cubic-bezier(0.6,0,0,1)_0ms] sm:hover:bg-[length:0%_2px] sm:not-hover:bg-left-bottom bg-left-bottom hover:bg-right-bottom w-fit"),l="leading-115 lg:leading-115 inline bg-gradient-to-l ".concat(a.Z.blackRoundedAllCaps.twoXl," ").concat((0,a.e)("lg",a.Z.blackRoundedAllCaps.threeXl)," ").concat((0,a.e)("2xl",a.Z.blackRoundedAllCaps.fourXl)," from-current to-current bg-no-repeat bg-[length:100%_4px] sm:[transition:background-size_400ms_cubic-bezier(0.6,0,0,1)_150ms] sm:hover:[transition:background-size_400ms_cubic-bezier(0.6,0,0,1)_0ms] sm:hover:bg-[length:0%_4px] sm:not-hover:bg-left-bottom bg-left-bottom sm:hover:bg-right-bottom 2xl:leading-127"),s="leading-115 lg:leading-115 inline-flex bg-no-repeat bg-[length:100%_2px] w-fit ".concat(a.Z.bold.md," ").concat((0,a.e)("lg",a.Z.bold.twoMd)," "),c="leading-115 lg:leading-115 inline bg-gradient-to-l ".concat(a.Z.bold.lg," from-current to-current bg-no-repeat bg-[length:0%_2px] sm:[transition:background-size_300ms_cubic-bezier(0.6,0,0,1)_150ms] sm:hover:[transition:background-size_300ms_cubic-bezier(0.6,0,0,1)_0ms] sm:hover:bg-[length:100%_2px] sm:not-hover:bg-right-bottom bg-right-bottom sm:hover:bg-left-bottom"),d={primary:{default:"".concat(n," bg-brand-yellow hover:bg-brand-yellow-hover text-black disabled:opacity-40 disabled:cursor-not-allowed transition-colors focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-brand-yellow-border-hover focus:outline-none focus:ring-2 focus:ring-brand-yellow-border-hover focus:bg-brand-yellow-hover"),icon:"".concat(o," bg-brand-yellow hover:bg-brand-yellow-hover text-black disabled:opacity-40 disabled:cursor-not-allowed transition-colors focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-brand-yellow-border-hover focus:outline-none focus:ring-2 focus:ring-brand-yellow-border-hover focus:bg-brand-yellow-hover")},secondary:{default:"".concat(n," bg-gray-25 hover:bg-gray-hover text-black disabled:opacity-40 disabled:cursor-not-allowed transition-colors focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-gray-border-hover focus:outline-none focus:ring-2 focus:ring-gray-border-hover focus:bg-gray-hover"),icon:"".concat(o," bg-gray-25 hover:bg-gray-hover text-black disabled:opacity-40 disabled:cursor-not-allowed transition-colors focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-gray-border-hover focus:outline-none focus:ring-2 focus:ring-gray-border-hover focus:bg-gray-hover")},action:{default:"".concat(n," bg-gray-25 hover:bg-gray-hover focus-visible:ring-inset text-md lg:text-md disabled:opacity-40 disabled:cursor-not-allowed transition-colors focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-gray-border-hover focus:outline-none focus:outline-offset-[-10px] focus:ring-2 focus:ring-gray-border-hover dark:focus:bg-gray-800 focus:bg-gray-hover"),icon:"".concat(o," bg-gray-25 hover:bg-gray-hover text-black disabled:opacity-40 disabled:cursor-not-allowed transition-colors focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-gray-border-hover focus:outline-none focus:ring-2 focus:ring-gray-border-hover focus:bg-gray-hover")},shadowPrimary:{default:"".concat(n," button-shadow bg-brand-yellow hover:bg-brand-yellow-hover focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-brand-yellow-border-hover focus:outline-none focus:ring-2 focus:ring-brand-yellow-border-hover focus:bg-brand-yellow-hover"),icon:"".concat(o," button-shadow bg-brand-yellow hover:bg-brand-yellow-hover focus-visible:ring-2 focus-visible:outline-none focus-visible:ring-brand-yellow-border-hover focus:outline-none focus:ring-2 focus:ring-brand-yellow-border-hover focus:bg-brand-yellow-hover")},shadowSecondary:{default:"".concat(n," button-shadow bg-gray-25 hover:bg-gray-hover"),icon:"".concat(o," h-9 button-shadow bg-gray-25 hover:bg-gray-hover")},link:{default:"font-bold tracking-4 uppercase text-md pb-0.5 ".concat(i),large:"font-black -tracking-2 uppercase pb-1 pt-1 lg:pb-2 lg:pt-2.5 white ".concat(l),header:"font-bold tracking-4 uppercase text-lg pb-0.5 ".concat(c),card:"font-black tracking-4 uppercase pb-1 ".concat("leading-115 lg:leading-115 inline bg-gradient-to-l from-current to-current bg-no-repeat bg-[length:100%_4px] bg-left-bottom"),footer:"font-bold tracking-4 uppercase text-lg pb-0.5 ".concat(i),footerLinkGroup:"font-bold tracking-4 pb-0.5 ".concat(s)}}},81201:function(e,t,r){r.d(t,{cn:function(){return o}});var a=r(61994),n=r(53335);function o(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,n.m6)((0,a.Z)(t))}}}]);

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.