PageSourceSearch

https://www.soki.ai/_next/static/chunks/app/%5Blocale%5D/(soki)/layout-57dd101acb4890a8.js

js soki.ai collected 2026-10-05 15:51:18 UTC 17,463 bytes, 1 lines download raw bytes

1try{let 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]="1ecab1ca-a723-4560-85c1-609353f5916d",e._sentryDebugIdIdentifier="sentry-dbid-1ecab1ca-a723-4560-85c1-609353f5916d")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5256],{422:e=>{e.exports={dropdown:"LanguageSelector_dropdown__h_MvK",pulse:"LanguageSelector_pulse__lNG2O"}},2314:(e,t,o)=>{"use strict";o.d(t,{Ny:()=>l,Cu:()=>c,O_:()=>d});var n=o(88741),r=o.n(n),i=function(e){return e.PRODUCTION="production",e.EXPERIMENTAL="experimental",e.DEVELOPMENT="development",e.TEST="test",e.UNKNOWN="unknown",e}({});let a=Object.values(i);function s(){return a.includes("__SOKI_ENV__")?"__SOKI_ENV__":a.includes("production")?"production":"unknown"}let l=e=>!!new(r())(e).mobile(),c=s()===i.DEVELOPMENT,d=s()===i.PRODUCTION},9932:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var n=o(9110),r=o(92645);let i="locale",a=!1;function s(){let e,t=(0,n.useParams)();try{e=(0,r.useLocale)()}catch(o){if("string"!=typeof(null==t?void 0:t[i]))throw o;a||(console.warn("Deprecation warning: `useLocale` has returned a default from `useParams().locale` since no `NextIntlClientProvider` ancestor was found for the calling component. This behavior will be removed in the next major version. Please ensure all Client Components that use `next-intl` are wrapped in a `NextIntlClientProvider`."),a=!0),e=t[i]}return e}},12554:(e,t,o)=>{"use strict";o.d(t,{default:()=>h});var n=o(75269);o(59585);var r=o(36015),i=o(74307),a=o.n(i),s=o(21523),l=o(86565),c=o(65878),d=o(32845),u=o(37355);let f=s.A.routes.soki,h=function(e){let{className:t,mobile:o}=e,i=s.A.sokiInfo.social;return(0,n.jsxs)("footer",{className:(0,r.A)(a().container,t),children:[(0,n.jsxs)("div",{className:a().footerSection,children:[(0,n.jsx)(u.A,{href:"/",noreferrer:!0,className:a().brand,children:(0,n.jsx)(l.default,{src:"/icons/SOKI_LOGO_DARK.svg",alt:"Soki Logo Dark",loading:"lazy",fill:!0,className:a().logo})}),(0,n.jsx)("div",{className:a().routes,children:f.map((e,t)=>{if(e.showInFooter&&1===e.footerLine)return(0,n.jsx)("div",{className:a().route,children:(0,n.jsx)(u.A,{href:e.href,noreferrer:!0,children:e.text})},t)})}),(0,n.jsx)("div",{className:a().social,children:Object.entries(i).map(e=>{let[t,o]=e;return(0,n.jsx)(d.A,{href:o.url,icon:o.icon,iconType:c.A.SOURCED},o.url)})})]}),(0,n.jsx)("div",{className:a().footerSection,children:(0,n.jsx)("div",{className:a().footerSection,children:f.map((e,t)=>{if(e.showInFooter&&2===e.footerLine)return(0,n.jsx)("div",{className:a().route,children:(0,n.jsx)(u.A,{href:e.href,newTab:!0,noreferrer:!0,children:e.text})},t)})})}),(0,n.jsxs)("div",{className:(0,r.A)(a().footerSection,a().copyright),children:["Copyright \xa9 ",new Date().getFullYear()," ",s.A.sokiInfo.companyName]})]})}},12631:e=>{e.exports={sokiMobileNav:"SokiMobileNav_sokiMobileNav__i7Iqo",open:"SokiMobileNav_open__WAeFT",navSection:"SokiMobileNav_navSection__I6KtP",navItem:"SokiMobileNav_navItem__3Pkfj",social:"SokiMobileNav_social__UC_zu",pulse:"SokiMobileNav_pulse___43gM"}},19519:()=>{},20456:e=>{e.exports={style:{fontFamily:"'Figtree', 'Figtree Fallback'",fontStyle:"normal"},className:"__className_2ca027",variable:"__variable_2ca027"}},21523:(e,t,o)=>{"use strict";o.d(t,{A:()=>n});let n={fallbackSeo:{metaTitle:"Soki AG",metaDescription:"Lorem ipsum odor amet, consectetuer adipiscing elit. Dolor diam tincidunt fames conubia aliquam. Mattis accumsan morbi vehicula rhoncus ornare metus pulvinar euismod in."},sokiInfo:{companyName:"Soki AG",address:"Dufourstrasse 150 9000 St. Gallen Switzerland",social:{Discord:{icon:"discordLogo.svg",url:"https://discord.gg/PPCKU62Fva"},Linkedin:{icon:"linkedinLogo.svg",url:"https://www.linkedin.com/company/soki-ag/about/"}},legal:{termsOfService:"https://soki-ag.notion.site/TOS-Soki-65dd6caebc8b4d2da867a1df314207a0",privacyPolicy:"https://soki-ag.notion.site/Privacy-Policy-Soki-6cfba573c218484fa9f85c09dcea38df"},supportEmail:"[email protected]"},locales:[{name:"English",abbreviation:"EN"},{name:"German",abbreviation:"DE"},{name:"Spanish",abbreviation:"ES"},{name:"Italian",abbreviation:"IT"},{name:"French",abbreviation:"FR"}],routes:{soki:[{text:"Home",href:"/",showInFooter:!0,showInNav:!0,footerLine:1},{text:"Insights",href:"/insights",showInFooter:!0,showInNav:!0,footerLine:1},{text:"Tutoring",href:"/tutoring",showInFooter:!0,showInNav:!0,footerLine:1},{text:"Team",href:"/about-us/our-team",showInFooter:!0,showInNav:!0,footerLine:1},{text:"About Us",href:"/about-us",showInFooter:!0,showInNav:!0,footerLine:1},{text:"Programs",href:"/tutoring/programs",showInFooter:!1,showInNav:!0,footerLine:1},{text:"Projects",href:"/projects",showInFooter:!1,showInNav:!0,footerLine:1},{text:"Terms & Conditions",href:"https://soki-ag.notion.site/TOS-Soki-65dd6caebc8b4d2da867a1df314207a0",showInFooter:!0,showInNav:!1,footerLine:2},{text:"Privacy policy",href:"https://soki-ag.notion.site/Privacy-Policy-Soki-6cfba573c218484fa9f85c09dcea38df",showInFooter:!0,showInNav:!1,footerLine:2},{text:"Contact Us",href:"/contact-us",showInFooter:!0,showInNav:!1,footerLine:2}]},links:{ankiUrl:"https://apps.ankiweb.net/",ankiConnectUrl:"https://ankiweb.net/shared/info/2055492159",ankiConnectSetup:"https://ankiweb.net/shared/info/2055492159",fmaChromeExtension:"https://chromewebstore.google.com/detail/fma-flashcard-maker-for-a/ffladepgibmfaoilencnkfjeadmbjhbn"},features:{tutoring:!0,accounts:!0,fma:!1,multiLanguage:!1,blog:{comments:!1,versioning:!1}},api:{useLocalBackend:o(2314).Cu}}},32845:(e,t,o)=>{"use strict";o.d(t,{A:()=>c});var n=o(75269),r=o(36015);o(59585);var i=o(61672),a=o.n(i),s=o(86103),l=o(37355);let c=function(e){let{className:t,disabled:o,icon:i,iconType:c,...d}=e;return(0,n.jsx)(l.A,{...d,newTab:!0,className:(0,r.A)(a().socialBtn,{[a().inconspicuous]:d.inconspicuous},t),children:(0,n.jsx)(s.A,{icon:{type:c,source:i,external:!1},className:a().socialIcon})})}},35693:(e,t,o)=>{"use strict";o.d(t,{default:()=>E});var n=o(75269),r=o(59585),i=o(45175),a=o.n(i),s=o(36015),l=o(21523),c=o(65878),d=o(86103),u=o(9110),f=o(55815),h=o(422),m=o.n(h),p=o(7261);let _=function(e){let{className:t}=e,[o,i]=(0,r.useState)(0),a=(0,r.useRef)(null);return(0,n.jsx)(p.A,{ref:a,options:l.A.locales.map(e=>({selectedTitle:e.abbreviation,title:e.name,type:e.abbreviation})),onChangeIdx:e=>{i(e)},selectedOptionIdx:o,allowNoSelection:!1,className:m().dropdown})};var v=o(37355);let b=({color:e="currentColor",direction:t="left",distance:o="md",duration:n=.4,easing:i="cubic-bezier(0, 0, 0, 1)",hideOutline:a=!0,label:s,lines:l=3,onToggle:c,render:d,rounded:u=!1,size:f=32,toggle:h,toggled:m,disabled:p=!1,animateO
1nMount:_=!1})=>{let[v,b]=(0,r.useState)(!1),[g,k]=(0,r.useState)(!1);(0,r.useEffect)(()=>{k(!0)},[]);let x=Math.max(12,Math.min(48,f)),S=Math.round((48-x)/2),w=x/12,N=Math.round(w),I=x/(l*(("lg"===o?.25:"sm"===o?.75:.5)+(3===l?1:1.25))),y=Math.round(I),j=Math.round((48-(N*l+y*(l-1)))/2),A=(w-N+(I-y))/(3===l?1:2),P=parseFloat((x/(3===l?"lg"===o?4.0425:"sm"===o?5.1625:4.6325:"lg"===o?6.7875:"sm"===o?8.4875:7.6675)-A/(4/3)).toFixed(2)),L=Math.max(0,n),O={cursor:p?"not-allowed":"pointer",height:"48px",position:"relative",transition:`${L}s ${i}`,userSelect:"none",width:"48px"},E={background:e,height:`${N}px`,left:`${S}px`,position:"absolute"};a&&(O.outline="none"),u&&(E.borderRadius="9em");let F=h||b,C=(()=>{let e=void 0!==m?m:v;return _&&!g?!e:e})();return d({barHeight:N,barStyles:E,burgerStyles:O,easing:i,handler:()=>{F(!C),"function"==typeof c&&c(!C)},isLeft:"left"===t,isToggled:C,label:s,margin:y,move:P,time:L,topOffset:j,width:x})};function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}let k=e=>r.createElement(b,g({},e,{render:t=>r.createElement("div",{className:"hamburger-react","aria-label":t.label,"aria-expanded":t.isToggled,onClick:e.disabled?void 0:t.handler,onKeyUp:e.disabled?void 0:e=>"Enter"===e.key&&t.handler(),role:"button",style:{...t.burgerStyles,transform:`${t.isToggled?`rotate(${90*(t.isLeft?-1:1)}deg)`:"none"}`},tabIndex:0},r.createElement("div",{style:{...t.barStyles,width:`${t.width}px`,top:`${t.topOffset}px`,transition:`${t.time}s ${t.easing}`,transform:`${t.isToggled?`rotate(${45*(t.isLeft?-1:1)}deg) translate(${t.move*(t.isLeft?-1:1)}px, ${t.move}px)`:"none"}`}}),r.createElement("div",{style:{...t.barStyles,width:`${t.width}px`,top:`${t.topOffset+t.barHeight+t.margin}px`,transition:`${t.time}s ${t.easing}`,transform:`${t.isToggled?"scaleX(0)":"none"}`}}),r.createElement("div",{style:{...t.barStyles,width:`${t.width}px`,top:`${t.topOffset+2*t.barHeight+2*t.margin}px`,transition:`${t.time}s ${t.easing}`,transform:`${t.isToggled?`rotate(${45*(t.isLeft?1:-1)}deg) translate(${t.move*(t.isLeft?-1:1)}px, ${-1*t.move}px)`:"none"}`}}))}));var x=o(12631),S=o.n(x),w=o(32845);let N=l.A.features,I=l.A.routes.soki,y=l.A.sokiInfo.social,j=function(e){let{isOpen:t,toggleMenu:o}=e;return(0,n.jsxs)("div",{className:(0,s.A)(S().sokiMobileNav,{[S().open]:t}),children:[(0,n.jsx)("div",{className:S().navSection,children:I.map((e,t)=>{if(e.showInNav)return(0,n.jsx)(v.A,{className:S().navItem,href:e.href,onClick:()=>{o(!1)},children:e.text},t)})}),N.multiLanguage||N.accounts&&(0,n.jsx)("hr",{}),(0,n.jsxs)("div",{className:S().navSection,children:[N.multiLanguage&&(0,n.jsx)(_,{}),N.accounts&&(0,n.jsx)(f.A,{})]}),(0,n.jsx)("hr",{}),(0,n.jsx)("div",{className:S().navSection,children:(0,n.jsx)("div",{className:S().social,children:Object.entries(y).map(e=>{let[t,o]=e;return(0,n.jsx)(w.A,{href:o.url,icon:o.icon,iconType:c.A.SOURCED},o.url)})})})]})};var A=o(78517),P=o(75861);let L=l.A.features,O=l.A.routes.soki,E=function(){let e=(0,u.usePathname)(),t=(0,r.useRef)(null),[o,i]=(0,r.useState)(!1);function l(e){i(e)}(0,A.A)(t,a().scrolled);let h=(0,n.jsx)(P.A,{});return(0,n.jsx)("header",{children:(0,n.jsxs)("nav",{className:a().sokiHeader,ref:t,children:[(0,n.jsxs)("div",{className:a().container,children:[(0,n.jsx)("div",{className:a().aside,children:(0,n.jsx)(v.A,{href:"/",noreferrer:!0,className:a().logoLink,children:(0,n.jsx)(d.A,{icon:{type:c.A.SOURCED,source:"SOKI_LOGO.svg",external:!1},className:a().logo})})}),(0,n.jsx)("div",{className:a().navItems,children:O.map((t,o)=>{if(t.showInNav)return(0,n.jsx)(v.A,{className:(0,s.A)(a().navItem,{[a().activeSubPage]:e===t.href}),href:t.href,children:t.text},o)})}),(0,n.jsxs)("div",{className:(0,s.A)(a().aside,a().desktopAside),children:[L.multiLanguage&&(0,n.jsx)(_,{}),h,L.accounts&&(0,n.jsx)(f.A,{className:a().authButton})]}),(0,n.jsxs)("div",{className:(0,s.A)(a().aside,a().mobileAside),children:[h,(0,n.jsx)(k,{label:"Menu",toggled:o,onToggle:l,color:"#262A32",rounded:!0})]})]}),(0,n.jsx)(j,{isOpen:o,toggleMenu:l})]})})}},45175:e=>{e.exports={sokiHeader:"SokiHeader_sokiHeader__D_FcF",scrolled:"SokiHeader_scrolled__Z77Kq",container:"SokiHeader_container__OX9qJ",aside:"SokiHeader_aside__8bTmj",logoLink:"SokiHeader_logoLink__gTll8",logo:"SokiHeader_logo__ugfQ0",mobileAside:"SokiHeader_mobileAside__KWPWb",desktopAside:"SokiHeader_desktopAside__TrAZs",dropDown:"SokiHeader_dropDown__ugj5f",selection:"SokiHeader_selection__ct_Vf",dropDownOption:"SokiHeader_dropDownOption__vU2W1",dropDownIcon:"SokiHeader_dropDownIcon__2hSdP",navItems:"SokiHeader_navItems__o2rFz",navItem:"SokiHeader_navItem__CxbQg",activeSubPage:"SokiHeader_activeSubPage__qvIux",pulse:"SokiHeader_pulse__DReP6"}},46579:(e,t,o)=>{"use strict";o.d(t,{default:()=>a});var n=o(73713),r=o(59585),i=o(43490);function a(e){let{locale:t,...o}=e;if(!t)throw Error("Failed to determine locale in `NextIntlClientProvider`, please provide the `locale` prop explicitly.\n\nSee https://next-intl.dev/docs/configuration#locale");return r.createElement(i.IntlProvider,(0,n._)({locale:t},o))}},47210:(e,t,o)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return l},getImageProps:function(){return s}});let n=o(71764),r=o(35090),i=o(83866),a=n._(o(88338));function s(e){let{props:t}=(0,r.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,o]of Object.entries(t))void 0===o&&delete t[e];return{props:t}}let l=i.Image},55701:(e,t,o)=>{"use strict";o.d(t,{default:()=>c});var n=o(73713),r=o(58213),i=o.n(r),a=o(9110),s=o(59585),l=o(9932),c=(0,s.forwardRef)(function(e,t){let{defaultLocale:o,href:r,locale:c,localeCookie:d,onClick:u,prefetch:f,unprefixed:h,...m}=e,p=(0,l.A)(),_=null!=c&&c!==p,v=c||p,b=function(){let[e,t]=(0,s.useState)();return(0,s.useEffect)(()=>{t(window.location.host)},[]),e}(),g=b&&h&&(h.domains[b]===v||!Object.keys(h.domains).includes(b)&&p===o&&!c)?h.pathname:r,k=(0,a.usePathname)();return _&&(f&&console.error("The `prefetch` prop is currently not supported when using the `locale` prop on `Link` to switch the locale.`"),f=!1),s.createElement(i(),(0,n._)({ref:t,href:g,hrefLang:_?c:void 0,onClick:function(e){(function(e,t,o,n){if(!e||n===o||null==n||!t)return;let r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.pathname;return"/"===e?t:t.replace(e,"")}(t),{name:i,...a}=e;a.path||(a.path=""!==r?r:"/");let s="".concat(i,"=").concat(n,";");for(let[e,t]of Object.entries(a))s+="".concat("maxAge"===e?"max-age":e),"boolean"!=typeof t&&(s+="="+t),s+=";";document.cookie=s})(d,k,p,c),u&&u(e)},prefetch:f},m))})},59328:(e,t,o)=>{Promise.resolve().then(o.bind(o,55701)),Promise.resolve().then(o.bind(o,80692)),Promise.resolve().then(o.bind(o,46579)),Promise.resolve().then(o.t.bind(o,32672,23)),Promise.resolve().then(o.t.bind(o,20456,23)),Promise.resolve().then(o.t.bind(o,85863,23)),Promise.resolve().then(o.bind(o,2853)),Promise.resolve().then(o.bind(o,30482)),Promise.resolve().then(o.bind(o,12554)),Promise.resolve().then(o.bind(o,35693)),Promise.resolve().then(o.bind(o,96512)),Promise.resolve().then(o.t.bind(o,19519,23))},61672:e=>{e.exports={baseLink:"SocialLinkButton_baseLink__QlIhz",disabled:"SocialLinkButton_disabled__F_9la",socialBtn:"SocialLinkButton_socialBtn__T4spe",socialIcon:"SocialLinkButton_socialIcon__PdzOK",inconspicuous:"SocialLinkButton_inconspicuous__yMPhp",pulse:"SocialLinkButton_pulse__yKjqX"}},73713:(e,t,o)=>{"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(null,arguments)}o.d(t,{_:()=>n})},74307:e=>{e.exports={container:"SokiFooter_container__adww3",brand:"SokiFooter_brand__Zb2jA",footerSection:"SokiFooter_footerSection__Txc0C",social:"SokiFooter_social__keBDP",routes:"SokiFooter_routes__d7klQ",route:"SokiFooter_route__jMy1p",copyright:"SokiFooter_copyright__q2SHx",pulse:"SokiFooter_pulse__19Fk0"}},78517:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});var n=o(59585);let r=(e,t,o)=>{(0,n.useEffect)(()=>{let n=o&&"current"in o?o.current:window;if(!n||!e.current)return;let r=()=>{e.current&&((n instanceof Window?window.scrollY:n.scrollTop)>0?e.current.classList.add(t):e.current.classList.remove(t))};return n.addEventListener("scroll",r),()=>n.removeEventListener("scroll",r)},[e,t,o])}},80692:(e,t,o)=>{"use strict";o.d(t,{default:()=>u});var n=o(73713),r=o(9110),i=o(59585),a=o(9932);function s(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function l(e,t){let o;return"string"==typeof e?o=c(t,e):(o={...e},e.pathname&&(o.pathname=c(t,e.pathname))),o}function c(e,t){let o=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),o+=t}o(98906);var d=o(55701);let u=(0,i.forwardRef)(function(e,t){let{href:o,locale:c,localeCookie:u,localePrefixMode:f,prefix:h,...m}=e,p=(0,r.usePathname)(),_=(0,a.A)(),v=c!==_,[b,g]=(0,i.useState)(()=>s(o)&&("never"!==f||v)?l(o,h):o);return(0,i.useEffect)(()=>{p&&g(function(e,t){var o,n;let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;if(!s(e))return e;let c=(o=a,(n=i)===o||n.startsWith("".concat(o,"/")));return(t!==r||c)&&null!=a?l(e,a):e}(o,c,_,p,h))},[_,o,c,p,h]),i.createElement(d.default,(0,n._)({ref:t,href:b,locale:c,localeCookie:u},m))});u.displayName="ClientLink"},85863:e=>{e.exports={style:{fontFamily:"'Noto Sans', 'Noto Sans Fallback'",fontStyle:"normal"},className:"__className_c85df0",variable:"__variable_c85df0"}},86565:(e,t,o)=>{"use strict";o.d(t,{default:()=>r.a});var n=o(47210),r=o.n(n)},96512:(e,t,o)=>{"use strict";o.d(t,{BreadcrumbsProvider:()=>a,v:()=>s});var n=o(75269),r=o(59585);let i=(0,r.createContext)(null);function a(e){let{children:t,breadcrumbsStructure:o}=e;return(0,n.jsx)(i.Provider,{value:o,children:t})}function s(){let e=(0,r.useContext)(i);if(!e)throw Error("useBreadcrumbsContext must be used within a BreadcrumbsProvider");return e}}},e=>{e.O(0,[8456,4808,693,1886,1122,1545,9561,8259,5574,697,8915,9042,398,3070,5818,3866,8741,7044,4781,3081,4823,6622,3995,7358],()=>e(e.s=59328)),_N_E=e.O()}]);

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.