PageSourceSearch

https://cubeofartuppsala.se/build/assets/ExhibitionShow-6Y861B9y.js

js cubeofartuppsala.se collected 2026-10-08 17:53:55 UTC 5,500 bytes, 1 lines download raw bytes

1import{_ as z}from"./PublicLayout-0uzg-x2J.js";import{T as v}from"./Translate-xI79nJqx.js";import{_ as L}from"./ScreenIntersactionObserver-UoRNoRib.js";import{_ as g}from"./LavaLocaleLink-CisLotrY.js";import{i as x,Q as y,o as u,g as m,a as i,w as a,b as t,t as d,u as s,n as w,Y as S,a2 as V,a3 as j,c as C,r as I,d as T,F as B}from"./app-EDzeK_jU.js";import{_ as b}from"./MediaImage-CSVN3mRf.js";import{_ as q}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{_ as n}from"./InViewTransition-unaw17Sl.js";import{_ as E}from"./LavaHead-COdo65sV.js";import"./LavaLink-D8997Rq3.js";import"./LocaleSwitcher-wfKl82wc.js";import"./ChevronDownIcon-C-B9X1Y4.js";import"./PlusIcon-Dv_4nAkp.js";import"./LavaModal-C_enVgjy.js";import"./ChevronRightIcon-DC0doORV.js";import"./Logo-BEwMhn60.js";const h=e=>(V("data-v-92953e29"),e=e(),j(),e),H=h(()=>t("div",{class:"absolute white-sheet group-hover:bg-white/50 transition-all delay-300 opacity-0 group-hover:opacity-100 duration-1000 right-[1px] h-full rounded-r-3xl"},null,-1)),M={class:"w-1/2 ml-auto relative"},N={class:"relative text-7xl font-bold text-white overflow-hidden h-1/2 mix-blend-multiply rounded-tr-3xl bg-clip-text"},O={class:"group-hover:left-6 duration-1000 transition-all pt-4 absolute top-0 left-[-20%] max-w-sm z-30"},F=h(()=>t("div",{class:"bg-black absolute h-full w-full z-20"},null,-1)),Y=h(()=>t("div",{class:"bg-black h-[50%] px-6 rounded-br-3xl"},null,-1)),D={class:"z-0 relative bg-center aspect-video bg-cover w-full shadow-primary drop-shadow rounded-3xl"},Q=h(()=>t("div",{class:"absolute left-0 right-0 h-32 bg-gradient-to-b from-white/20 rounded-3xl"},null,-1)),A=!0,G={__name:"CurrentExhibition",props:{exhibition:{required:!0,type:Object}},setup(e){const p=x(`current-exhibition-${e.exhibition.slug}`),f=x(!1),r=x(),c=y().props.app.locale;function $(_){let o=_.value;o<50&&(o=50),r.value=`translateY(-${100-o}px)`}return(_,o)=>(u(),m("div",null,[i(g,{name:"exhibitions.show",params:{exhibition:e.exhibition.slug},class:"hidden lg:flex relative h-[400px] mt-12 rounded-3xl bg-contain group"},{default:a(()=>[i(b,{size:"xl",media:e.exhibition.media,class:"absolute inset-0","image-class":"w-full h-full object-cover rounded-3xl"},null,8,["media"]),H,t("div",M,[t("div",N,[t("p",O,d(e.exhibition.name[s(c)]),1),F]),t("p",{class:w(["group-hover:opacity-0 group-hover:left-6 duration-1000 transition-all text-7xl bg-gradient-to-l bg-clip-text font-bold pt-4 absolute top-0 text-transparent z-10 max-w-sm left-[-20%]",[A?"from-white/50 ":"from-black"]])},d(e.exhibition.name[s(c)]),3),Y])]),_:1},8,["params"]),i(L,{"max-value":100,identifier:p.value,onInView:o[0]||(o[0]=k=>f.value=!0),onNotInView:o[1]||(o[1]=k=>f.value=!1),threshold:0,onChange:$},{default:a(()=>[i(g,{name:"exhibitions.show",params:{exhibition:e.exhibition.slug},class:"relative lg:hidden mt-12"},{default:a(()=>[t("div",D,[i(b,{size:"xl",media:e.exhibition.media,class:"absolute inset-0","image-class":"w-full h-full object-cover rounded-3xl"},null,8,["media"]),Q,t("p",{style:S({transform:r.value}),class:w(["ease-linear z-20 w-full absolute text-center rounded-t-3xl shadow-inner bg-gradient-to-b pt-2 pb-12 text-white mix-blend-multiply transition-all duration-500 text-3xl",["from-black/90 h-full font-bold "]])},d(e.exhibition.name[s(c)]),5)])]),_:1},8,["params"])]),_:1},8,["identifier"])]))}},J=q(G,[["__scopeId","data-v-92953e29"]]),K={class:"relative bg-black bg-center text-gray-300 pb-24"},P={class:"container pt-6"},R={class:"uppercase text-base"},U={class:"uppercase h1 mt-4"},W=["innerHTML"],X=["innerHTML"],Z={class:"mt-12 lg:mt-24"},ee={class:"h2"},te={class:"space-y-24 lg:space-y-0 mt-24 lg:mt-0"},ie={class:""},ae={key:0,class:"flex justify-center mt-12"},se=t("div",{class:"w-1/3 h-[1px] bg-secondary"},null,-1),oe=[se],ye={__name:"ExhibitionShow",props:{exhibition:{required:!0,type:Object},exhibitions:{required:!0,type:Object},schema:{required:!0,type:String}},setup(e){const l=y().props.app.locale;return(p,f)=>(u(),C(z,null,{default:a(()=>[i(E,{"meta-title":e.exhibition.data.name[s(l)],"meta-image":e.exhibition.data.media,schema:e.schema},null,8,["meta-title","meta-image","schema"]),i(n,{identifier:"cover",transition:"fade-in",class:"bg-black"},{default:a(()=>[i(b,{size:"xl",media:e.exhibition.data.media,"image-class":["aspect-video","max-h-[50vh]","w-full","image"]},null,8,["media"])]),_:1}),t("div",K,[t("div",P,[i(n,{identifier:"current_exhibition",transition:"slide-from-left"},{default:a(()=>[t("p",R,d(s(v)("current_exhibition")),1)]),_:1}),i(n,{identifier:"name",transition:"slide-from-left"},{default:a(()=>[t("h1",U,d(e.exhibition.data.name[s(l)]),1)]),_:1}),i(n,{identifier:"about",transition:"slide-from-left"},{default:a(()=>[t("div",{class:"mt-2 max-w-xl exhibition-prose",innerHTML:e.exhibition.data.about[s(l)]},null,8,W)]),_:1}),i(n,{identifier:"text",transition:"slide-from-left"},{default:a(()=>[t("div",{class:"mt-4 max-w-xl exhibition-prose",innerHTML:e.exhibition.data.text[s(l)]},null,8,X)]),_:1}),t("div",Z,[i(n,{identifier:"current_exhibitions",transition:"slide-from-left"},{default:a(()=>[t("h2",ee,d(s(v)("current_exhibitions")),1)]),_:1}),t("div",te,[(u(!0),m(B,null,I(e.exhibitions.data,(r,c)=>(u(),m("div",ie,[i(J,{ref_for:!0,ref:r.slug,exhibition:r},null,8,["exhibition"]),i(n,{identifier:`${r.name[s(l)]}-divider`,transition:"fade-in"},{default:a(()=>[c+1!==e.exhibitions.data.length?(u(),m("div",ae,oe)):T("",!0)]),_:2},1032,["identifier"])]))),256))])])])])]),_:1}))}};export{ye as default};

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.