(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{4593:function(e,t,n){Promise.resolve().then(n.bind(n,6624)),Promise.resolve().then(n.t.bind(n,2778,23)),Promise.resolve().then(n.bind(n,1287))},6624:function(e,t,n){"use strict";n.d(t,{default:function(){return l}});var r=n(7437),o=n(2265),i=n(1287);function s(){let[e,t]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let e=()=>{t(window.scrollY>400)};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,r.jsx)("button",{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},"aria-label":"Back to top",className:"fixed bottom-6 right-6 z-50 w-12 h-12 rounded-full bg-gold text-white shadow-lg flex items-center justify-center transition-all duration-300 hover:bg-gold-dark hover:scale-110 ".concat(e?"opacity-100 translate-y-0":"opacity-0 translate-y-4 pointer-events-none"),children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-5 h-5",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:(0,r.jsx)("path",{d:"M18 15l-6-6-6 6"})})})}function l(e){let{children:t}=e,{lang:n}=(0,i.Z)();return(0,r.jsxs)("div",{lang:n,children:[t,(0,r.jsx)(s,{})]})}},1287:function(e,t,n){"use strict";n.d(t,{LanguageProvider:function(){return s},Z:function(){return l}});var r=n(7437),o=n(2265);let i=(0,o.createContext)(void 0);function s(e){let{children:t,translations:n}=e,[s,l]=(0,o.useState)("id");return(0,r.jsx)(i.Provider,{value:{lang:s,setLang:l,t:e=>{var t,r;return(null===(t=n[s])||void 0===t?void 0:t[e])||(null===(r=n.id)||void 0===r?void 0:r[e])||e}},children:t})}function l(){let e=(0,o.useContext)(i);if(!e)throw Error("useLanguage must be used within a LanguageProvider");return e}},2778:function(){}},function(e){e.O(0,[2461,2971,2117,1744],function(){return e(e.s=4593)}),_N_E=e.O()}]);