1var _global;!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="910d4442-8298-45d2-a154-dd744bf0516d",e._sentryDebugIdIdentifier="sentry-dbid-910d4442-8298-45d2-a154-dd744bf0516d")}catch(e){}}(),(_global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"1.30.3.5"},function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="910d4442-8298-45d2-a154-dd744bf0516d",e._sentryDebugIdIdentifier="sentry-dbid-910d4442-8298-45d2-a154-dd744bf0516d")}catch(e){}}(),(_global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"94c52878174d063fe834ad5b32e500e278fea03b"},(self.webpackChunkbiesse_website=self.webpackChunkbiesse_website||[]).push([[904],{53557:function(e,t,a){a.d(t,{p:function(){return i}});var r=a(17828),n=a(7378),l=a(85893);const i=e=>{let{children:t,visible:a=!0,duration:i=.2,additional:o={},className:s,mode:c,initial:d=!1}=e;return(0,l.jsx)(r.M,{initial:d,mode:c,children:a&&(0,l.jsx)(n.E.div,{className:s,initial:{opacity:0,...o.initial},animate:{opacity:1,...o.animate},exit:{opacity:0,...o.exit},transition:{ease:"easeOut",duration:i},children:t})})}},28021:function(e,t,a){a.d(t,{E:function(){return o},x:function(){return i}});var r=a(99217),n=a(63049),l=a(88657);const i={"Advanced materials":{tagColor:n.CF.Materia,label:"materia"},Wood:{tagColor:n.CF.Wood,label:"wood"},Glass:{tagColor:n.CF.Glass,label:"glass"},Stone:{tagColor:n.CF.Stone,label:"stone"},Metal:{tagColor:n.CF.Metal,label:"metal"}},o={[r.x.Materia]:{tagColor:n.CF.Materia,label:"Advanced materials"},[r.x.Wood]:{tagColor:n.CF.Wood,label:"Wood"},[r.x.Glass]:{tagColor:n.CF.Glass,label:"Glass"},[r.x.Stone]:{tagColor:n.CF.Stone,label:"Stone"},[r.x.Metal]:{tagColor:n.CF.Metal,label:"Metal"},[l.vG]:{tagColor:n.CF.Neutral,label:"Other"}}},33822:function(e,t,a){a.d(t,{HQ:function(){return l},Hr:function(){return n},tw:function(){return r}});let r=function(e){return e.DIGITAL="DIGITAL",e.IN_PERSON="IN-PERSON",e.BOTH="BOTH",e}({}),n=function(e){return e[e.DIGITAL_SUBSCRIPTION=0]="DIGITAL_SUBSCRIPTION",e[e.IN_PERSON_SUBSCRIPTION=1]="IN_PERSON_SUBSCRIPTION",e}({}),l=function(e){return e.PAST_EVENTS="past-events",e.FUTURE_EVENTS="future-events",e}({})},82210:function(e,t,a){a.d(t,{d:function(){return l}});var r=a(67294),n=a(77121);function l(e){const{locale:t}=(0,n.PE)(),a=(0,r.useMemo)((()=>new Date(e.startDateEvent)),[e.startDateEvent]),l=(0,r.useMemo)((()=>new Date(e.endDateEvent)),[e.endDateEvent]),i=(0,r.useMemo)((()=>new Date(e.startDateSubscription)),[e.startDateSubscription]),o=(0,r.useMemo)((()=>new Date(e.endDateSubscription)),[e.endDateSubscription]),s=(0,r.useMemo)((()=>(new Date).getTime()),[]),c=s>=i.getTime()&&s<=o.getTime(),d=s>l.getTime(),u=Intl.DateTimeFormat(t,{day:"2-digit",month:"short",year:"numeric"}).formatRange(a,l),f=Intl.DateTimeFormat(t,{day:"2-digit",month:"short",hour:"numeric",minute:"numeric"}).formatRange(a,l);return(0,r.useMemo)((()=>({startDate:a,endDate:l,formattedDateRange:u,formattedDateTimeRange:f,isSubscriptionOpen:c,isPastEvent:d})),[l,u,f,d,c,a])}},92363:function(e,t,a){a.d(t,{O:function(){return s}});var r=a(67294),n=a(83063),l=a(18033),i=a(9689),o=a(77121);function s(){const{logged:e,userInfo:t,checking:a}=(0,i.Eu)(),{locale:s}=(0,o.PE)(),c=(0,l.f)(s),[d,u]=(0,r.useState)([]),[f,v]=(0,r.useState)(n.ag.LOADING);return(0,r.useEffect)((()=>{a?v(n.ag.LOADING):e&&null!=t&&t.sub?(0,n.sT)().get(`${n.zU.SUBSCRIPTIONS}/${t.sub}`,{headers:{"Accept-Language":c}}).then((e=>{var t;return u(null!==(t=e.data.data)&&void 0!==t?t:[]),v(n.ag.SUCCESS),e})).catch((e=>{v(n.ag.FAILED),console.log(e)})):v(n.ag.FAILED)}),[s,e,a,null==t?void 0:t.sub,c]),[d,f]}},85044:function(e,t,a){a.d(t,{L:function(){return l},v:function(){return n}});var r=a(99217);const n="otherMaterial",l=[...Object.values(r.x),n]},88657:function(e,t,a){a.d(t,{ly:function(){return u},Lk:function(){return s.L},vG:function(){return s.v}});var r=a(90512),n=a(87536),l=a(99217),i=a(63154),o=a(63049),s=a(85044),c=a(85893);const d={[l.x.Wood]:o.CF.Wood,[l.x.Stone]:o.CF.Stone,[l.x.Glass]:o.CF.Glass,[l.x.Materia]:o.CF.Materia,[l.x.Metal]:o.CF.Metal,[s.v]:o.CF.Primary};function u(e){let{labels:t,className:a,materialsToShow:l,...u}=e;const f=(0,n.Gc)(),v=f.watch("materials");return(0,c.jsxs)("div",{className:(0,r.Z)("flex flex-col gap-2",a),...u,children:[(0,c.jsx)(i.Eq,{label:t.materials}),(0,c.jsx)("div",{className:"flex gap-4 w-fit flex-wrap",children:(null!=l?l:s.L).map((e=>{var a;const r=`materials.${e}`;return(0,c.jsx)(i.DR,{color:d[e],dimension:o.qu.Medium,className:"font-medium",checked:null!==(a=null==v?void 0:v[e])&&void 0!==a&&a,...f.register(r),children:t[e]},e)}))})]})}l.x.Wood,o.CF.Wood,l.x.Stone,o.CF.Stone,l.x.Glass,o.CF.Glass,l.x.Materia,o.CF.Materia,l.x.Metal,o.CF.Metal,s.v,o.CF.Primary},63511:function(e,t,a){a.d(t,{mQ:function(){return T},vI:function(){return S}});var r=a(67294),n=a(12185),l=a(6247),i=a(85893);const o=(0,r.createContext)({activeTab:null,setActiveTab:()=>{}});function s(e){let{children:t,searchParamKey:a=l.z,initialTab:s}=e;const c=(0,n.Qw)(),[d,u]=(0,r.useState)((null!==a?null==c?void 0:c.get(a):null)||s||null),f=(0,r.useCallback)((e=>{if(u(e||null),"undefined"!=typeof window&&null!==a){const t=(0,n.Rt)({[a]:e});window.history.pushState({path:t},"",t)}}),[a]);return(0,i.jsx)(o.Provider,{value:{activeTab:d,setActiveTab:f},children:t})}var c=a(90512),d=a(70079);
1const u={[d.H.Primary]:{activeItemClasses:"bg-primary border-primary text-light"},[d.H.Light]:{activeItemClasses:"bg-light border-primary text-primary"},[d.H.Neutral]:{activeItemClasses:"bg-neutral border-primary text-primary"},[d.H.NeutralLight]:{activeItemClasses:"bg-neutral-light border-primary text-primary"},[d.H.Dark]:{activeItemClasses:"bg-dark border-dark text-light"},[d.H.Glass]:{activeItemClasses:"bg-glass border-glass"},[d.H.Wood]:{activeItemClasses:"bg-wood border-wood"},[d.H.Stone]:{activeItemClasses:"bg-stone border-stone"},[d.H.Materia]:{activeItemClasses:"bg-materia border-materia"},[d.H.Metal]:{activeItemClasses:"bg-metal border-metal"}};function f(e){let{id:t,className:a,header:n,subHeader:l,color:s=d.H.Light}=e;const{activeTab:f,setActiveTab:v}=(0,r.useContext)(o),m=f===t,{activeItemClasses:g}=u[s];return(0,i.jsxs)("div",{onClick:()=>v(t),className:(0,c.Z)("border rounded-full text-lg py-2 px-5 whitespace-nowrap cursor-pointer","transition-colors ease-in duration-300 select-none",m?g:"bg-transparent border-transparent",a),children:[(0,i.jsx)("h3",{className:"font-medium text-xl",children:n}),l&&(0,i.jsx)("p",{className:"font-light text-sm",children:l})]})}var v=a(99601),m=a(76251);const g={[d.H.Primary]:"from-primary via-primary",[d.H.Light]:"from-light via-light",[d.H.Neutral]:"from-neutral via-neutral",[d.H.NeutralLight]:"from-neutral-light via-neutral-light",[d.H.Dark]:"from-dark via-dark",[d.H.Glass]:"from-glass via-glass",[d.H.Wood]:"from-wood via-wood",[d.H.Stone]:"from-stone via-stone",[d.H.Materia]:"from-materia via-materia",[d.H.Metal]:"from-metal via-metal"};function x(e){let{children:t,backgroundColor:a,className:n}=e;const l=["absolute top-0 flex h-full items-center w-10 z-10 to-transparent",a?g[a]:"from-transparent via-transparent"],o=(0,r.useRef)(null),{canScroll:s,canScrollBackward:d,canScrollForward:u,startScrolling:f,stopScrolling:x}=(0,v.m)(o,"horizontal");return(0,i.jsxs)("div",{className:"relative w-full overflow-hidden",children:[s&&(0,i.jsx)("div",{className:(0,c.Z)(l,"bg-gradient-to-r left-1"),children:(0,i.jsx)(m.J,{onMouseDown:()=>f(-10),onMouseUp:x,icon:"chevron-left",className:(0,c.Z)(d?"cursor-pointer":"opacity-20","text-primary transition-all")})}),(0,i.jsx)("div",{className:(0,c.Z)("overflow-x-auto no-scrollbar",n),ref:o,children:(0,i.jsx)("div",{className:"flex gap-2 items-center lg:w-fit lg:mx-auto",children:t})}),s&&(0,i.jsx)("div",{className:(0,c.Z)(l,"bg-gradient-to-l right-1 justify-end"),children:(0,i.jsx)(m.J,{onMouseDown:()=>f(10),onMouseUp:x,icon:"chevron-left",className:(0,c.Z)(u?"cursor-pointer":"opacity-20","text-primary transition-all -scale-x-100")})})]})}function b(e){let{className:t,children:a}=e;return(0,i.jsx)(x,{className:(0,c.Z)("mx-2 px-8 lg:px-20",t),backgroundColor:d.H.Neutral,children:a})}const h={[d.H.Primary]:{inactiveColor:"bg-primary",inactiveText:"text-light",activeColor:"bg-light",activeText:"text-primary"},[d.H.Light]:{inactiveColor:"bg-light",inactiveText:"text-dark",activeColor:"bg-neutral",activeText:"text-dark"},[d.H.Neutral]:{inactiveColor:"bg-neutral",inactiveText:"text-dark",activeColor:"bg-light",activeText:"text-dark"},[d.H.NeutralLight]:{inactiveColor:"bg-neutral-light",inactiveText:"text-dark",activeColor:"bg-light",activeText:"text-dark"},[d.H.Dark]:{inactiveColor:"bg-dark",inactiveText:"text-light",activeColor:"bg-light",activeText:"text-dark"},[d.H.Glass]:{inactiveColor:"bg-glass",inactiveText:"text-dark",activeColor:"bg-light",activeText:"text-dark"},[d.H.Wood]:{inactiveColor:"bg-wood",inactiveText:"text-dark",activeColor:"bg-light",activeText:"text-dark"},[d.H.Stone]:{inactiveColor:"bg-stone",inactiveText:"text-dark",activeColor:"bg-light",activeText:"text-dark"},[d.H.Materia]:{inactiveColor:"bg-materia",inactiveText:"text-dark",activeColor:"bg-light",activeText:"text-dark"},[d.H.Metal]:{inactiveColor:"bg-metal",inactiveText:"text-dark",activeColor:"bg-light",activeText:"text-dark"}},p=(0,r.forwardRef)(((e,t)=>{let{id:a,className:n,header:l,subHeader:s,color:d}=e;const{activeTab:u,setActiveTab:f}=(0,r.useContext)(o),v=u===a,{inactiveText:m,activeText:g}=h[d];return(0,i.jsxs)("div",{ref:t,onClick:()=>
1f(a),className:(0,c.Z)("relative text-lg pt-4 pb-3 px-10 cursor-pointer h-full z-10","select-none border-0 transition-all duration-300",v?g:m,n),children:[(0,i.jsx)("h3",{className:"font-medium text-xl 2xl:text-2xl 3xl:text-3xl pb-1 whitespace-nowrap min-w-[5ch]",children:l}),s&&(0,i.jsx)("div",{style:{minWidth:`${Math.min(20,"string"==typeof s?s.length:1/0)}ch`},className:"font-light text-sm 2xl:text-base",children:s})]})})),w=(0,r.forwardRef)(((e,t)=>{let{className:a,children:n,color:l,tabIndicatorWidth:o,tabIndicatorLeft:s}=e;const{inactiveColor:d,activeColor:u}=h[l],f=(0,r.useCallback)((e=>(0,i.jsx)("div",{className:(0,c.Z)("absolute bottom-0 w-6 h-6 transition-all duration-300 ease-in",d,"left"===e?"-left-2 rounded-br-2xl":"right-0 rounded-bl-2xl")})),[d]);return(0,i.jsxs)("div",{ref:t,className:(0,c.Z)("transition-all duration-300 ease-in relative","flex px-2 overflow-x-auto no-scrollbar 2xl:justify-center",d,a),children:[(0,i.jsxs)("div",{className:(0,c.Z)("w-full absolute bottom-[-1px] h-full overflow-hidden","transition-all duration-300"),style:{left:s,width:o},children:[(0,i.jsxs)("div",{className:"w-full h-full relative",children:[(0,i.jsx)("div",{className:(0,c.Z)("absolute bottom-0 left-[1px] h-4",u),style:{width:"calc(100% - 2px)"}}),(0,i.jsx)("div",{className:(0,c.Z)("absolute bottom-0 left-4 rounded-t-2xl",u),style:{width:"calc(100% - 40px)",height:"calc(100% - 8px)"}})]}),f("left"),f("right")]}),n]})}));var C=a(53557);function y(e){let{id:t,children:a,className:n}=e;const{activeTab:l}=(0,r.useContext)(o),s=l===t;return(0,i.jsx)(C.p,{className:n,visible:s,mode:"popLayout",children:a})}let S=function(e){return e.Pill="pill",e.Squared="squared",e}({});const N=e=>{let{tabs:t,variant:a=S.Pill,colorScheme:n=d.H.Light}=e;const{activeTab:l}=(0,r.useContext)(o),s=t.findIndex((e=>{let{id:t}=e;return t===l})),c=(0,r.useRef)(null),u=(0,r.useRef)([]),[v,m]=(0,r.useState)(0),[g,x]=(0,r.useState)(0),h=(0,r.useCallback)((e=>{var t,a;const r=null===(t=u.current[e])||void 0===t?void 0:t.getBoundingClientRect(),n=null===(a=c.current)||void 0===a?void 0:a.getBoundingClientRect();var l,i,o;r&&(m(r.width),x(r.left-(null!==(l=null==n?void 0:n.left)&&void 0!==l?l:0)+(null!==(i=null===(o=c.current)||void 0===o?void 0:o.scrollLeft)&&void 0!==i?i:0)));return requestAnimationFrame((()=>{h(e)}))}),[]);(0,r.useEffect)((()=>{const e=h(s);return()=>{cancelAnimationFrame(e)}}),[s,h]);const C=t.map(((e,t)=>{let{id:r,header:l,subHeader:o}=e;switch(a){case S.Squared:return(0,i.jsx)(p,{ref:e=>u.current[t]=e,id:r,color:n,header:l,subHeader:o},r);case S.Pill:default:return(0,i.jsx)(f,{color:n,id:r,header:l,subHeader:o},r)}}));switch(a){case S.Squared:return(0,i.jsx)(w,{tabIndicatorWidth:v,tabIndicatorLeft:g,ref:c,color:n,children:C});case S.Pill:default:return(0,i.jsx)(b,{children:C})}},T=e=>{var t;let{tabs:a,initialTab:r,bodyClassName:n,searchParamKey:l,variant:o=S.Pill,colorScheme:u=d.H.Light,title:f}=e;return(0,i.jsxs)("div",{className:(0,c.Z)(o===S.Squared?["pb-16",h[u].activeColor]:"py-16"),children:[f&&(0,i.jsx)("div",{className:"text-center text-3xl lg:text-5xl text-primary font-medium px-8 lg:px-20 w-full mb-8",children:f}),(0,i.jsxs)(s,{initialTab:null!=r?r:null===(t=a[0])||void 0===t?void 0:t.id,searchParamKey:l,children:[(0,i.jsx)(N,{tabs:a,variant:o,colorScheme:u}),(0,i.jsx)("div",{className:n,children:a.map((e=>{let{id:t,body:a}=e;return(0,i.jsx)(y,{id:t,children:a},t)}))})]})]})}},99601:function(e,t,a){a.d(t,{m:function(){return n}});var r=a(67294);function n(e,t){const[a,n]=(0,r.useState)(!1),[l,i]=(0,r.useState)(!0),[o,s]=(0,r.useState)(0),c=(0,r.useRef)(null),d=e.current;(0,r.useEffect)((()=>(c.current&&clearInterval(c.current),c.current=setInterval((()=>{"horizontal"===t?null==d||d.scrollBy(o,0):null==d||d.scrollBy(0,o)}),10),()=>{c.current&&clearInterval(c.current)})),[t,o,d]);const u=(0,r.useCallback)((()=>s(0)),[]),f=(0,r.useCallback)((()=>{var a,r,l,o,s,c;const d=e.current;n("horizontal"===t?!(null==d||!d.scrollLeft):!(null==d||!d.scrollTop)),i("horizontal"===t?(null!==(a=null==d?void 0:d.scrollWidth)&&void 0!==a?a:0)-((null!==(r=null==d?void 0:d.scrollLeft)&&void 0!==r?r:0)+(null!==(l=null==d?void 0:d.getBoundingClientRect().width)&&void 0!==l?l:0))>1:(null!==(o=null==d?void 0:d.scrollHeight)&&void 0!==o?o:0)-((null!==(s=null==d?void 0:d.scrollTop)&&void 0!==s?s:0)+(null!==(c=null==d?void 0:d.getBoundingClientRect().height)&&void 0!==c?c:0))>1)}),[e,t]);(0,r.useEffect)((()=>(window.addEventListener("resize",f),()=>{window.removeEventListener("resize",f)})),[f]),(0,r.useEffect)((()=>{const t=e.current;return null==t||t.addEventListener("scroll",f),()=>{null==t||t.removeEventListener("scroll",f)}}),[e,t,f]);const v=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{v.current||(f(),v.current=!0)}),[f]),{canScroll:a||l,canScrollBackward:a,canScrollForward:l,startScrolling:s,stopScrolling:u,isScrolling:0!==o}}},70079:function(e,t,a){a.d(t,{H:function(){return r}});let r=function(e){return e.Primary="primary",e.Light="light",e.Neutral="neutral",e.Dark="dark",e.Glass="glass",e.Wood="wood",e.Stone="stone",e.Materia="materia",e.Metal="metal",e.NeutralLight="neutral-light",e}({})},12185:function(e,t,a){function r(){return"undefined"!=typeof window&&"URLSearchParams"in window?new URLSearchParams(window.location.search):null}function n(e,t){const a=function(e){if("undefined"!=typeof window&&"URLSearchParams"in window){const t=new URLSearchParams(window.location.search);return Object.keys(e).forEach((a=>
1{if(e.hasOwnProperty(a)){const r=e[a];r?t.set(a,r.toString()):t.delete(a)}})),t.toString()}return""}(e);return t?[t,a].filter(Boolean).join("?"):"undefined"!=typeof window?[`${window.location.origin}${window.location.pathname}`,a].filter(Boolean).join("?"):""}a.d(t,{Qw:function(){return r},Rt:function(){return n}})}}]); 2//# sourceMappingURL=2d1c9d34d7cabdcdf27eb8ffad16bade3b93f9b1-1a245f03330c6be02123.js.map
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.