1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7418],{9499:(t,e,o)=>{o.d(e,{refreshToken:()=>n});var s=o(70788),r=o(84646),a=o(2987);o(6978);var l=o(84959),f=o.n(l);let n=async t=>{let e=r.A.get("REFRESH_TOKEN"),o=r.A.get("organizationId"),l={refresh_token:`${e}`,client_id:`${o}`};try{var n;let o=await fetch("https://api.penpencil.co//v3/oauth/refresh-token",{method:"POST",body:JSON.stringify(l),headers:{"Content-Type":"application/json",Authorization:`Bearer ${e}`}});if(!o.ok)throw t&&((0,s.q4)(),localStorage.clear()),console.log("Failed to refresh token"),Error("Failed to refresh token");let r=await o.json();return r?.data?.access_token&&(n=r?.data?.access_token,"undefined"!=typeof localStorage&&localStorage.setItem("TOKEN",n)),r?.data?.refresh_token&&"undefined"!=typeof localStorage&&localStorage.setItem("REFRESH_TOKEN",r?.data?.refresh_token),window?.PWWebSDK&&window?.PWWebSDK?.setTokenContext&&(window.PWWebSDK.setTokenContext={token:r?.data?.access_token,refresh_token:r?.data?.refresh_token,expires_in:r?.data?.expires_in,randomId:(0,a.wh)("randomId")||f()()}),r?.data?.access_token}catch(t){throw console.error("Error refreshing token:",t),t}}},11093:(t,e,o)=>{o.d(e,{$:()=>n,CountryProvider:()=>i});var s=o(65322),r=o(8234),a=o(70405),l=o(6978);let f=(0,l.createContext)(void 0),n=()=>{let t=(0,l.useContext)(f);if(void 0===t)throw Error("useCountryContext must be used within a CountryProvider");return t},i=t=>{let{children:e}=t,[o,n]=(0,l.useState)([]),[i,c]=(0,l.useState)(!0),[p,d]=(0,l.useState)(null),C=async()=>{if(!(o.length>0))try{c(!0),d(null);let t=await (0,a.jo)();n([...t.data,r.ey])}catch(t){console.error("Error fetching countries:",t),d(t instanceof Error?t.message:"Failed to fetch countries")}finally{c(!1)}};return(0,l.useEffect)(()=>{C()},[]),(0,s.jsx)(f.Provider,{value:{countryList:o,loading:i,error:p,refetch:C},children:e})}},12431:(t,e,o)=>{o.d(e,{A:()=>r});var s=o(65322);let r=t=>{let{...e}=t;return(0,s.jsxs)("svg",{height:"25",viewBox:"0 0 143.459 42.507",...e,xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsxs)("defs",{children:[(0,s.jsx)("clipPath",{id:"a",children:(0,s.jsx)("path",{clipRule:"evenodd",d:"M10.543-6.058l-.079-.075a2.128,2.128,0,0,1-.492-1.493V-30.818a2.054,2.054,0,0,1,.57-1.571L23.708-19.224ZM9.972-30.981c0-.058,0-.116,0-.171C9.974-31.1,9.972-31.039,9.972-30.981Zm.005-.174v0Zm0-.007h0Z",fill:"none",transform:"translate(-9.972 32.389)"})}),(0,s.jsxs)("linearGradient",{gradientUnits:"objectBoundingBox",id:"b",x1:"0.826",x2:"1.017",y1:"0.303",y2:"0.303",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#00a0ff"}),(0,s.jsx)("stop",{offset:"0.1",stopColor:"#00a6ff"}),(0,s.jsx)("stop",{offset:"0.2",stopColor:"#00adff"}),(0,s.jsx)("stop",{offset:"0.3",stopColor:"#00b3ff"}),(0,s.jsx)("stop",{offset:"0.4",stopColor:"#00baff"}),(0,s.jsx)("stop",{offset:"0.5",stopColor:"#00c1ff"}),(0,s.jsx)("stop",{offset:"0.6",stopColor:"#00c7ff"}),(0,s.jsx)("stop",{offset:"0.7",stopColor:"#00ceff"}),(0,s.jsx)("stop",{offset:"0.8",stopColor:"#00d4ff"}),(0,s.jsx)("stop",{offset:"0.9",stopColor:"#00dbff"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#00e2ff"})]}),(0,s.jsx)("clipPath",{id:"c",children:(0,s.jsx)("path",{clipRule:"evenodd",d:"M27.286-15.2l.1-.057,5.2-2.954a2.273,2.273,0,0,0,.991-.985,2.28,2.28,0,0,1-.991.986l-5.2,2.954Zm0-.156L22.9-19.741l4.389-4.389,5.3,3.011A1.974,1.974,0,0,1,33.7-19.741v0a1.978,1.978,0,0,1-1.114,1.377Z",fill:"none",transform:"translate(-22.898 24.13)"})}),(0,s.jsxs)("linearGradient",{gradientUnits:"objectBoundingBox",id:"d",x1:"0.749",x2:"0.929",y1:"0.5",y2:"0.5",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#ffde00"}),(0,s.jsx)("stop",{offset:"0.1",stopColor:"#ffd800"}),(0,s.jsx)("stop",{offset:"0.2",stopColor:"#ffd100"}),(0,s.jsx)("stop",{offset:"0.3",stopColor:"#ffca00"}),(0,s.jsx)("stop",{offset:"0.4",stopColor:"#ffc400"}),(0,s.jsx)("stop",{offset:"0.5",stopColor:"#ffbd00"}),(0,s.jsx)("stop",{offset:"0.6",stopColor:"#ffb600"}),(0,s.jsx)("stop",{offset:"0.7",stopColor:"#ffb000"}),(0,s.jsx)("stop",{offset:"0.8",stopColor:"#ffa900"}),(0,s.jsx)("stop",{offset:"0.9",stopColor:"#ffa200"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#ff9c00"})]}),(0,s.jsx)("clipPath",{id:"e",children:(0,s.jsx)("path",{clipRule:"evenodd",d:"M11.452-6.333a1.37,1.37,0,0,1-.938-.345h0a1.368,1.368,0,0,0,.939.346c.032,0,.065,0,.1,0Q11.5-6.333,11.452-6.333Zm0-.156a1.363,1.363,0,0,1-.939-.345L23.679-20l4.389,4.39L12.643-6.845A2.441,2.441,0,0,1,11.453-6.489Zm-.943-.192c-.023-.021-.047-.044-.069-.067Z",fill:"none",transform:"translate(-10.441 20)"})}),(0,s.jsxs)("linearGradient",{gradientUnits:"objectBoundingBox",id:"f",x1:"0.731",x2:"0.991",y1:"0.243",y2:"0.243",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#ff3a44"}),(0,s.jsx)("stop",{offset:"0.1",stopColor:"#f83547"}),(0,s.jsx)("stop",{offset:"0.2",stopColor:"#f2314a"}),(0,s.jsx)("stop",{offset:"0.3",stopColor:"#ec2d4d"}),(0,s.jsx)("stop",{offset:"0.4",stopColor:"#e62950"}),(0,s.jsx)("stop",{offset:"0.5",stopColor:"#e02553"}),(0,s.jsx)("stop",{offset:"0.6",stopColor:"#da2156"}),(0,s.jsx)("stop",{offset:"0.7",stopColor:"#d41d59"}),(0,s.jsx)("stop",{offset:"0.8",stopColor:"#ce195b"}),(0,s.jsx)("stop",{offset:"0.9",stopColor:"#c8155e"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#c21161"})]}),(0,s.jsx)("clipPath",{id:"g",children:(0,s.jsx)("path",{clipRule:"evenodd",d:"M23.674-19.194,10.508-32.359a1.37,1.37,0,0,1,.938-.345,2.441,2.441,0,0,1,1.192.358l15.424,8.764Zm4.488-4.488L12.639-32.5a2.441,2.441,0,0,0-1.192-.358h0a2.446,2.446,0,0,1,1.191.357l15.523,8.82Z",fill:"none",transform:"translate(-10.508 32.86)"})}),(0,s.jsxs)("linearGradient",{gradientUnits:"objectBoundingBox",id:"h",x1:"0.269",x2:"0.385",y1:"0.043",y2:"0.043",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#31a06f"}),(0,s.jsx)("stop",{offset:"0.1",stopColor:"#2ca770"}),(0,s.jsx)("stop",{offset:"0.2",stopColor:"#27af70"}),(0,s.jsx)("stop",{offset:"0.3",stopColor:"#22b771"}),(0,s.jsx)("stop",{offset:"0.4",stopColor:"#1dbf71"}),(0,s.jsx)("stop",{offset:"0.5",stopColor:"#18c772"}),(0,s.jsx)("stop",{offset:"0.6",stopColor:"#13cf72"}),(0,s.jsx)("stop",{offset:"0.7",stopColor:"#0ed773"}),(0,s.jsx)("stop",{offset:"0.8",stopColor:"#09df73"}),(0,s.jsx)("stop",{offset:"0.9",stopColor:"#04e774"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#00ef74"})]}),(0,s.jsx)("clipPath",{id:"i",children:(0,s.jsx)("path",{clipRule:"evenodd",d:"M27.027-15.719l.1-.057Z",fill:"none",transform:"translate(-27.027 15.776)"})}),(0,s.jsxs)("linearGradient",{gradientUnits:"objectBoundingBox",id:"j",x1:"0.749",x2:"0.929",y1:"0.5",y2:"0.5",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#ccb300"}),(0,s.jsx)("stop",{offset:"0.1",stopColor:"#ccad00"}),(0,s.jsx)("stop",{offset:"0.2",stopColor:"#cca800"}),(0,s.jsx)("stop",{offset:"0.3",stopColor:"#cca200"}),(0,s.jsx)("stop",{offset:"0.4",stopColor:"#cc9d00"}),(0,s.jsx)("stop",{offset:"0.5",stopColor:"#cc9700"}),(0,s.jsx)("stop",{offset:"0.6",stopColor:"#cc9200"}),(0,s.jsx)("stop",{offset:"0.7",stopColor:"#cc8c00"}),(0,s.jsx)("stop",{offset:"0.8",stopColor:"#cc8700"}),(0,s.jsx)("stop",{offset:"0.9",stopColor:"#cc8100"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#cc7c00"})]}),(0,s.jsx)("clipPath",{id:"k",children:(0,s.jsx)("path",{clipRule:"evenodd",d:"M11.453-6.592a1.368,1.368,0,0,1-.939-.346h0l0,0-.069-.067-.006-.006.079-.08a1.363,1.363,0,0,0,.939.345,2.44,2.44,0,0,0,1.19-.356l15.424-8.765.1.1-.1.057L12.643-6.949a2.544,2.544,0,0,1-1.092.354C11.518-6.593,11.485-6.592,11.453-6.592Z",fill:"none",transform:"translate(-10.435 15.869)"})}),(0,s.jsxs)("linearGradient",{gradientUnits:"objectBoundingBox",id:"l",x1:"0.731",x2:"0.991",y1:"0.243",y2:"0.243",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#cc2d36"}),(0,s.jsx)("stop",{offset:"0.1",stopColor:"#c72938"}),(0,s.jsx)("stop",{offset:"0.2",stopColor:"#c2263a"}),(0,s.jsx)("stop",{offset:"0.3",stopColor:"#bd233c"}),(0,s.jsx)("stop",{offset:"0.4",stopColor:"#b8203f"}),(0,s.jsx)("stop",{offset:"0.5",stopColor:"#b41d41"}),(0,s.jsx)("stop",{offset:"0.6",stopColor:"#af1a43"}),(0,s.jsx)("stop",{offset:"0.7",stopColor:"#aa1746"}),(0,s.jsx)("stop",{offset:"0.8",stopColor:"#a51448"}),(0,s.jsx)("stop",{offset:"0.9",stopColor:"#a0114a"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#9c0d4d"})]}),(0,s.jsx)("clipPath",{id:"m",children:(0,s.jsx)("path",{clipRule:"evenodd",d:"M10.464-7.44a2.124,2.124,0,0,1-.492-1.493v-.154a2.128,2.128,0,0,0,.492,1.493l.079.075Z",fill:"none",transform:"translate(-9.972 9.087)"})}),(0,s.jsxs)("linearGradient",{gradientUnits:"objectBoundingBox",id:"n",x1:"0.826",x2:"1.017",y1:"0.303",y2:"0.303",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#008bde"}),(0,s.jsx)("stop",{offset:"0.1",stopColor:"#0091de"}),(0,s.jsx)("stop",{offset:"0.2",stopColor:"#0097de"}),(0,s.jsx)("stop",{offset:"0.3",stopColor:"#009dde"}),(0,s.jsx)("stop",{offset:"0.4",stopColor:"#00a3de"}),(0,s.jsx)("stop",{offset:"0.5",stopColor:"#00a9de"}),(0,s.jsx)("stop",{offset:"0.6",stopColor:"#00aede"}),(0,s.jsx)("stop",{offset:"0.7",stopColor:"#00b4de"}),(0,s.jsx)("stop",{offset:"0.8",stopColor:"#00bade"}),(0,s.jsx)("stop",{offset:"0.9",stopColor:"#00c0de"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#00c6de"})]}),(0,s.jsx)("clipPath",{id:"o",children:(0,s.jsx)("path",{clipRule:"evenodd",d:"M10.435-7.531h0l.079-.079Z",fill:"none",transform:"translate(-10.435 7.611)"})}),(0,s.jsxs)("linearGradient",{gradientUnits:"objectBoundingBox",id:"p",x1:"0.731",x2:"0.991",y1:"0.243",y2:"0.243",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#de333b"}),(0,s.jsx)("stop",{offset:"0.1",stopColor:"#d92f3d"}),(0,s.jsx)("stop",{offset:"0.2",stopColor:"#d42b40"}),(0,s.jsx)("stop",{offset:"0.3",stopColor:"#cf2743"}),(0,s.jsx)("stop",{offset:"0.4",stopColor:"#c92445"}),(0,s.jsx)("stop",{offset:"0.5",stopColor:"#c42048"}),(0,s.jsx)("stop",{offset:"0.6",stopColor:"#bf1c4b"}),(0,s.jsx)("stop",{offset:"0.7",stopColor:"#b9194d"}),(0,s.jsx)("stop",{offset:"0.8",stopColor:"#b41550"}),(0,s.jsx)("stop",{offset:"0.9",stopColor:"#af1153"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#aa0d56"})]}),(0,s.jsx)("clipPath",{id:"q",children:(0,s.jsx)("path",{clipRule:"evenodd",d:"M27.127-15.511l-.1-.1,5.3-3.011A1.978,1.978,0,0,0,33.44-20a1.309,1.309,0,0,1-.122.547,2.273,2.273,0,0,1-.991.985Z",fill:"none",transform:"translate(-27.028 19.998)"})}),(0,s.jsxs)("linearGradient",{gradientUnits:"objectBoundingBox",id:"r",x1:"0.749",x2:"0.929",y1:"0.5",y2:"0.5",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#dec300"}),(0,s.jsx)("stop",{offset:"0.1",stopColor:"#debe00"}),(0,s.jsx)("stop",{offset:"0.2",stopColor:"#deb800"}),(0,s.jsx)("stop",{offset:"0.3",stopColor:"#deb200"}),(0,s.jsx)("stop",{offset:"0.4",stopColor:"#deac00"}),(0,s.jsx)("stop",{offset:"0.5",stopColor:"#dea600"}),(0,s.jsx)("stop",{offset:"0.6",stopColor:"#dea000"}),(0,s.jsx)("stop",{offset:"0.7",stopColor:"#de9a00"}),(0,s.jsx)("stop",{offset:"0.8",stopColor:"#de9400"}),(0,s.jsx)("stop",{offset:"0.9",stopColor:"#de8e00"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#de8900"})]}),(0,s.jsx)("clipPath",{id:"s",children:(0,s.jsx)("path",{clipRule:"evenodd",d:"M33.44-19.735a1.974,1.974,0,0,0-1.114-1.378l-5.3-3.011.1-.1,5.2,2.954A1.863,1.863,0,0,1,33.44-19.735Z",fill:"none",transform:"translate(-27.028 24.223)"})}),(0,s.jsxs)("linearGradient",{gradientUnits:"objectBoundingBox",id:"t",x1:"0.749",x2:"0.929",y1:"0.5",y2:"0.5",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#ffe73f"}),(0,s.jsx)("stop",{offset:"0.1",stopColor:"#ffe23f"}),(0,s.jsx)("stop",{offset:"0.2",stopColor:"#ffdd3f"}),(0,s.jsx)("stop",{offset:"0.3",stopColor:"#ffd83f"}),(0,s.jsx)("stop",{offset:"0.4",stopColor:"#ffd33f"}),(0,s.jsx)("stop",{offset:"0.5",stopColor:"#ffce3f"}),(0,s.jsx)("stop",{offset:"0.6",stopColor:"#ffc93f"}),(0,s.jsx)("stop",{offset:"0.7",stopColor:"#ffc43f"}),(0,s.jsx)("stop",{offset:"0.8",stopColor:"#ffbf3f"}),(0,s.jsx)("stop",{offset:"0.9",stopColor:"#ffba3f"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#ffb43f"})]}),(0,s.jsx)("clipPath",{id:"u",children:(0,s.jsx)("path",{clipRule:"evenodd",d:"M9.972-30.809v-.163c0-.058,0-.116,0-.171a0,0,0,0,0,0,0v-.008a2.028,2.028,0,0,1,.487-1.3l.078.079A2.054,2.054,0,0,0,9.972-30.809Zm.567-1.723,0,0Z",fill:"none",transform:"translate(-9.972 32.535)"})}),(0,s.jsxs)("linearGradient",{gradientUnits:"objectBoundingBox",id:"v",x1:"0.826",x2:"1.017",y1:"0.303",y2:"0.303",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#3fb8ff"}),(0,s.jsx)("stop",{offset:"0.1",stopColor:"#3fbcff"}),(0,s.jsx)("stop",{offset:"0.2",stopColor:"#3fc1ff"}),(0,s.jsx)("stop",{offset:"0.3",stopColor:"#3fc6ff"}),(0,s.jsx)("stop",{offset:"0.4",stopColor:"#3fcbff"}),(0,s.jsx)("stop",{offset:"0.5",stopColor:"#3fd0ff"}),(0,s.jsx)("stop",{offset:"0.6",stopColor:"#3fd5ff"}),(0,s.jsx)("stop",{offset:"0.7",stopColor:"#3fdaff"}),(0,s.jsx)("stop",{offset:"0.8",stopColor:"#3fdfff"}),(0,s.jsx)("stop",{offset:"0.9",stopColor:"#3fe4ff"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#3fe8ff"})]}),(0,s.jsx)("clipPath",{id:"w",children:(0,s.jsx)("path",{clipRule:"evenodd",d:"M28.068-23.583,12.643-32.347a2.441,2.441,0,0,0-1.192-.358,1.37,1.37,0,0,0-.938.345l-.078-.079c.024-.026.05-.05.075-.073l0,0a1.365,1.365,0,0,1,.929-.345h.009a2.441,2.441,0,0,1,1.192.358l15.523,8.82Z",fill:"none",transform:"translate(-10.435 32.86)"})}),(0,s.jsxs)("linearGradient",{gradientUnits:"objectBoundingBox",id:"x",x1:"0.269",x2:"0.385",y1:"0.043",y2:"0.043",children:[(0,s.jsx)("stop",{offset:"0",stopColor:"#64b894"}),(0,s.jsx)("stop",{offset:"0.1",stopColor:"#60be95"}),(0,s.jsx)("stop",{offset:"0.2",stopColor:"#5cc495"}),(0,s.jsx)("stop",{offset:"0.3",stopColor:"#58ca95"}),(0,s.jsx)("stop",{offset:"0.4",stopColor:"#55d095"}),(0,s.jsx)("stop",{offset:"0.5",stopColor:"#51d696"}),(0,s.jsx)("stop",{offset:"0.6",stopColor:"#4ddc96"}),(0,s.jsx)("stop",{offset:"0.7",stopColor:"#4ae296"}),(0,s.jsx)("stop",{offset:"0.8",stopColor:"#46e896"}),(0,s.jsx)("stop",{offset:"0.9",stopColor:"#42ee96"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#3ff497"})]})]}),(0,s.jsxs)("g",{transform:"translate(0 40.001)",children:[(0,s.jsx)("path",{d:"M138.146,2.505H5.313A5.329,5.329,0,0,1,0-2.808v-31.88A5.329,5.329,0,0,1,5.313-40H138.146a5.329,5.329,0,0,1,5.313,5.313v31.88A5.329,5.329,0,0,1,138.146,2.505Z",transform:"translate(0 0)"}),(0,s.jsx)("path",{d:"M138.146-40H5.313A5.329,5.329,0,0,0,0-34.688V-2.807A5.33,5.33,0,0,0,5.313,2.506H138.146a5.33,5.33,0,0,0,5.313-5.313V-34.688A5.329,5.329,0,0,0,138.146-40Zm0,.849a4.469,4.469,0,0,1,4.463,4.463V-2.807a4.469,4.469,0,0,1-4.463,4.463H5.313A4.469,4.469,0,0,1,.85-2.807V-34.688a4.469,4.469,0,0,1,4.463-4.463Z",fill:"#a6a6a6",transform:"translate(0 0)"}),(0,s.jsx)("path",{d:"M47.8-29.545a2.878,2.878,0,0,1-.792,2.129,3.1,3.1,0,0,1-2.342.943,3.209,3.209,0,0,1-2.346-.956,3.205,3.205,0,0,1-.966-2.374,3.2,3.2,0,0,1,.966-2.373,3.206,3.206,0,0,1,2.346-.957,3.278,3.278,0,0,1,1.308.268,2.637,2.637,0,0,1,1,.712l-.561.561a2.151,2.151,0,0,0-1.745-.757,2.425,2.425,0,0,0-1.742.708,2.438,2.438,0,0,0-.734,1.838,2.439,2.439,0,0,0,.734,1.839,2.425,2.425,0,0,0,1.742.708,2.418,2.418,0,0,0,1.781-.712,2,2,0,0,0,.533-1.291H44.664v-.766h3.089A2.733,2.733,0,0,1,47.8-29.545Z",fill:"#fff",transform:"translate(2.591 0.43)"}),(0,s.jsx)("path",{d:"M47.911-29.539H47.7a2.771,2.771,0,0,1-.761,2.053h0a2.986,2.986,0,0,1-2.266.91A3.1,3.1,0,0,1,42.4-27.5a3.1,3.1,0,0,1-.934-2.3,3.1,3.1,0,0,1,.934-2.3,3.1,3.1,0,0,1,2.272-.927,3.171,3.171,0,0,1,1.267.259,2.527,2.527,0,0,1,.957.682l.082-.068-.075-.075-.56.561.074.075.082-.068a2.258,2.258,0,0,0-1.827-.795,2.527,2.527,0,0,0-1.815.737,2.545,2.545,0,0,0-.767,1.915,2.54
16,2.546,0,0,0,.767,1.916,2.527,2.527,0,0,0,1.815.737,2.524,2.524,0,0,0,1.855-.743,2.115,2.115,0,0,0,.565-1.358l.011-.115H44.777v-.554H47.76v-.106l-.1.019a2.615,2.615,0,0,1,.043.462h.213a2.743,2.743,0,0,0-.047-.5l-.015-.087H44.564v.979h2.421v-.106l-.105-.01a1.9,1.9,0,0,1-.5,1.225,2.311,2.311,0,0,1-1.706.681A2.313,2.313,0,0,1,43-28.035a2.331,2.331,0,0,1-.7-1.763A2.33,2.33,0,0,1,43-31.56a2.313,2.313,0,0,1,1.667-.678,2.046,2.046,0,0,1,1.664.718l.074.089.642-.643.069-.069-.063-.074a2.738,2.738,0,0,0-1.036-.742,3.4,3.4,0,0,0-1.351-.276,3.317,3.317,0,0,0-2.422.988,3.315,3.315,0,0,0-1,2.448,3.319,3.319,0,0,0,1,2.449,3.317,3.317,0,0,0,2.422.987,3.2,3.2,0,0,0,2.419-.976l-.076-.073.075.074A2.983,2.983,0,0,0,47.911-29.539Z",fill:"#fff",transform:"translate(2.585 0.424)"}),(0,s.jsx)("path",{d:"M52.247-32.217h-2.9V-30.2h2.618v.766H49.343v2.021h2.9v.783H48.524V-33h3.722Z",fill:"#fff",transform:"translate(3.04 0.439)"}),(0,s.jsx)("path",{d:"M52.253-32.21v-.106H49.243v2.234h2.618v.554H49.243V-27.3h2.9v.571h-3.51v-6.163h3.51v.678h.106v0h.106V-33.1H48.424v6.588h3.935v-1h-2.9v-1.809h2.618V-30.3H49.456V-32.1h2.9v-.106Z",fill:"#fff",transform:"translate(3.034 0.432)"}),(0,s.jsx)("path",{d:"M55.431-26.625h-.819v-5.592H52.831V-33h4.381v.784H55.431Z",fill:"#fff",transform:"translate(3.31 0.439)"}),(0,s.jsx)("path",{d:"M55.438-26.619v-.106h-.713v-5.592H52.944v-.572h4.169v.572H55.331v5.7h.106v0h.106V-32.1h1.781v-1H52.731v1h1.781v5.592h1.032v-.106Z",fill:"#fff",transform:"translate(3.304 0.432)"}),(0,s.jsx)("path",{d:"M59.938-26.625h.818V-33h-.818Z",fill:"#fff",transform:"translate(3.756 0.439)"}),(0,s.jsx)("path",{d:"M59.944-26.619h.106v-6.27h.606v6.163h-.712v.106h0v.106h.925V-33.1H59.838v6.588h.106Z",fill:"#fff",transform:"translate(3.749 0.432)"}),(0,s.jsx)("path",{d:"M64.281-26.625h-.82v-5.592h-1.78V-33h4.381v.784H64.281Z",fill:"#fff",transform:"translate(3.865 0.439)"}),(0,s.jsx)("path",{d:"M64.288-26.619v-.106h-.714v-5.592h-1.78v-.572h4.169v.572H64.181v5.7h.106v0h.106V-32.1h1.781v-1H61.581v1h1.78v5.592h1.033v-.106Z",fill:"#fff",transform:"translate(3.859 0.432)"}),(0,s.jsx)("path",{d:"M69.87-27.974a2.342,2.342,0,0,0,1.732.716,2.344,2.344,0,0,0,1.732-.716,2.5,2.5,0,0,0,.709-1.831,2.5,2.5,0,0,0-.709-1.83,2.344,2.344,0,0,0-1.732-.716,2.342,2.342,0,0,0-1.732.716,2.5,2.5,0,0,0-.708,1.83A2.5,2.5,0,0,0,69.87-27.974Zm4.07.533a3.126,3.126,0,0,1-2.338.966,3.121,3.121,0,0,1-2.337-.966,3.26,3.26,0,0,1-.939-2.364,3.258,3.258,0,0,1,.939-2.363,3.122,3.122,0,0,1,2.337-.967,3.127,3.127,0,0,1,2.334.971,3.259,3.259,0,0,1,.944,2.359A3.265,3.265,0,0,1,73.94-27.44Z",fill:"#fff",transform:"translate(4.281 0.43)"}),(0,s.jsx)("path",{d:"M69.876-27.967l-.075.074a2.446,2.446,0,0,0,1.808.748,2.446,2.446,0,0,0,1.808-.748,2.6,2.6,0,0,0,.74-1.905,2.6,2.6,0,0,0-.74-1.9,2.446,2.446,0,0,0-1.808-.748A2.446,2.446,0,0,0,69.8-31.7a2.6,2.6,0,0,0-.739,1.9,2.6,2.6,0,0,0,.739,1.905l.075-.074.075-.075a2.39,2.39,0,0,1-.677-1.756,2.394,2.394,0,0,1,.677-1.756h0a2.232,2.232,0,0,1,1.657-.685,2.232,2.232,0,0,1,1.656.684h0a2.383,2.383,0,0,1,.679,1.754,2.384,2.384,0,0,1-.679,1.756,2.229,2.229,0,0,1-1.656.685,2.232,2.232,0,0,1-1.657-.685Zm4.147.608-.153-.149a3.019,3.019,0,0,1-2.261.934,3.017,3.017,0,0,1-2.261-.934l0,0,0,0a3.152,3.152,0,0,1-.909-2.29,3.152,3.152,0,0,1,.909-2.289,3.018,3.018,0,0,1,2.261-.935,3.015,3.015,0,0,1,2.257.939,3.148,3.148,0,0,1,.914,2.285,3.158,3.158,0,0,1-.91,2.29l.153.149a3.374,3.374,0,0,0,.969-2.439,3.368,3.368,0,0,0-.973-2.433,3.238,3.238,0,0,0-2.41-1,3.233,3.233,0,0,0-2.413,1,3.365,3.365,0,0,0-.969,2.438A3.366,3.366,0,0,0,69.2-27.36l0,0,0,0a3.232,3.232,0,0,0,2.413,1A3.238,3.238,0,0,0,74.023-27.36Z",fill:"#fff",transform:"translate(4.275 0.424)"}),(0,s.jsx)("path",{d:"M75.575-26.625V-33h1l3.1,4.96h.035l-.035-1.228V-33h.82v6.376h-.855l-3.242-5.2h-.035l.035,1.228v3.971Z",fill:"#fff",transform:"translate(4.735 0.439)"}),(0,s.jsx)("path",{d:"M75.581-26.619h.106v-6.27h.832l3.1,4.96h.2l-.038-1.337v-3.624h.608v6.163H79.7l-3.242-5.2h-.2l.038,1.337v3.863h-.712v.106h0v.106h.925v-4.078l-.035-1.231-.106,0v.106H76.4v-.106l-.09.056,3.274,5.25H80.6V-33.1H79.571v3.839l.035,1.231.106,0v-.106h-.035v.106l.09-.056-3.13-5.01H75.475v6.588h.106Z",fill:"#fff",transform:"translate(4.729 0.432)"}),(0,s.jsx)("path",{d:"M111.065-9.188h1.983V-22.474h-1.983Zm17.86-8.5-2.273,5.76h-.068l-2.359-5.76h-2.136l3.538,8.051L123.61-5.161h2.069l5.451-12.528ZM117.68-10.7c-.65,0-1.556-.324-1.556-1.127,0-1.025,1.129-1.419,2.1-1.419a3.535,3.535,0,0,1,1.812.444A2.4,2.4,0,0,1,117.68-10.7Zm.239-7.28a3.722,3.722,0,0,0-3.538,2.034l1.76.735a1.878,1.878,0,0,1,1.812-.974,1.909,1.909,0,0,1,2.085,1.709v.137a4.384,4.384,0,0,0-2.068-.513c-1.9,0-3.829,1.042-3.829,2.991a3.07,3.07,0,0,0,3.3,2.922,2.8,2.8,0,0,0,2.53-1.3h.068v1.025h1.914V-14.3C121.952-16.663,120.192-17.979,117.919-17.979Zm-12.255,1.907h-2.82v-4.553h2.82a2.3,2.3,0,0,1,2.324,2.277A2.313,2.313,0,0,1,105.664-16.071Zm-.051-6.4h-4.751V-9.188h1.982v-5.034h2.769a4.209,4.209,0,0,0,4.358-4.125A4.209,4.209,0,0,0,105.613-22.474ZM79.7-10.7a2.6,2.6,0,0,1-2.516-2.723A2.614,2.614,0,0,1,79.7-16.173a2.547,2.547,0,0,1,2.414,2.755A2.526,2.526,0,0,1,79.7-10.7Zm2.277-6.248h-.068a3.132,3.132,0,0,0-2.38-1.011A4.5,4.5,0,0,0,75.2-13.418a4.476,4.476,0,0,0,4.331,4.5,3.085,3.085,0,0,0,2.38-1.027h.068v.65c0,1.729-.925,2.653-2.414,2.653A2.5,2.5,0,0,1,77.29-8.247l-1.729.718a4.306,4.306,0,0,0,4.005,2.672c2.329,0,4.3-1.37,4.3-4.709V-17.68H81.981Zm3.253,7.755H87.22V-22.474H85.234Zm4.914-4.383a2.479,2.479,0,0,1,2.362-2.636,1.749,1.749,0,0,1,1.678.96Zm6.163-1.506a4.2,4.2,0,0,0-3.869-2.877,4.3,4.3,0,0,0-4.263,4.519,4.422,4.422,0,0,0,4.485,4.519,4.5,4.5,0,0,0,3.767-2L94.89-11.945a2.581,2.581,0,0,1-2.226,1.25,2.3,2.3,0,0,1-2.191-1.37l6.043-2.5Zm-48.148-1.49v1.917h4.589a4,4,0,0,1-1.045,2.414,4.7,4.7,0,0,1-3.544,1.4,5.035,5.035,0,0,1-5.033-5.1,5.035,5.035,0,0,1,5.033-5.1,4.893,4.893,0,0,1,3.459,1.37l1.352-1.353a6.687,6.687,0,0,0-4.811-1.934,7.117,7.117,0,0,0-7.122,7.019,7.117,7.117,0,0,0,7.122,7.019,6.418,6.418,0,0,0,4.9-1.968,6.339,6.339,0,0,0,1.661-4.485,6.291,6.291,0,0,0-.1-1.2ZM59.936-10.7a2.614,2.614,0,0,1-2.55-2.74,2.6,2.6,0,0,1,2.55-2.738,2.6,2.6,0,0,1,2.55,2.738A2.614,2.614,0,0,1,59.936-10.7Zm0-7.259A4.455,4.455,0,0,0,55.4-13.435a4.465,4.465,0,0,0,4.536,4.519,4.465,4.465,0,0,0,4.536-4.519A4.455,4.455,0,0,0,59.936-17.954Zm9.9,7.259a2.615,2.615,0,0,1-2.55-2.74,2.6,2.6,0,0,1,2.55-2.738,2.6,2.6,0,0,1,2.551,2.738A2.615,2.615,0,0,1,69.833-10.7Zm0-7.259A4.455,4.455,0,0,0,65.3-13.435a4.465,4.465,0,0,0,4.536,4.519,4.465,4.465,0,0,0,4.538-4.519A4.455,4.455,0,0,0,69.833-17.954Z",fill:"#fff",transform:"translate(2.572 1.068)"}),(0,s.jsx)("g",{clipPath:"url(#a)",transform:"translate(10.597 -31.912)",children:(0,s.jsx)("g",{transform:"translate(61.133 106.148) rotate(-135)",children:(0,s.jsx)("path",{d:"M131.5,30.057,30.057,131.5,0,101.441,101.441,0Z",fill:"url(#b)",transform:"translate(0 0)"})})}),(0,s.jsx)("g",{clipPath:"url(#c)",transform:"translate(24.333 -23.136)",children:(0,s.jsx)("g",{transform:"translate(119.126 25.642) rotate(180)",children:(0,s.jsx)("path",{d:"M143.459,42.507H0V0H143.459Z",fill:"url(#d)",transform:"translate(0 0)"})})}),(0,s.jsx)("g",{clipPath:"url(#e)",transform:"translate(11.095 -18.747)",children:(0,s.jsx)("g",{transform:"translate(60.634 92.983) rotate(-135)",children:(0,s.jsx)("path",{d:"M131.5,30.057,30.057,131.5,0,101.441,101.441,0Z",fill:"url(#f)",transform:"translate(0 0)"})})}),(0,s.jsx)("g",{clipPath:"url(#g)",transform:"translate(11.166 -32.413)",children:(0,s.jsx)("g",{transform:"translate(-32.42 13.665) rotate(-45)",children:(0,s.jsx)("path",{d:"M30.057,0,131.5,101.441,101.441,131.5,0,30.057Z",fill:"url(#h)",transform:"translate(0 0)"})})}),(0,s.jsx)("path",{d:"M11.551-6.6a2.544,2.544,0,0,0,1.092-.354l15.423-8.764L12.643-6.958A2.516,2.516,0,0,1,11.551-6.6Zm-1.037-.342,0,0Zm-.072-.07-.006-.006Z",transform:"translate(0.654 1.521)"}),(0,s.jsx)("g",{clipPath:"url(#i)",transform:"translate(28.72 -14.258)",children:(0,s.jsx)("g",{transform:"translate(114.738 16.765) rotate(180)",children:(0,s.jsx)("path",{d:"M143.459,42.507H0V0H143.459Z",fill:"url(#j)",transform:"translate(0 0)"})})}),(0,s.jsx)("g",{clipPath:"url(#k)",transform:"translate(11.089 -14.357)",children:(0,s.jsx)("g",{transform:"translate(60.641 88.593) rotate(-135)",children:(0,s.jsx)("path",{d:"M131.5,30.057,30.057,131.5,0,101.441,101.441,0Z",fill:"url(#l)",transform:"translate(0 0)"})})}),(0,s.jsx)("path",{d:"M10.464-7.448a2.128,2.128,0,0,1-.492-1.493h0a2.124,2.124,0,0,0,.492,1.493Z",transform:"translate(0.625 1.946)"}),(0,s.jsx)("g",{clipPath:"url(#m)",transform:"translate(10.597 -7.15)",children:(0,s.jsx)("g",{transform:"translate(61.133 81.386) rotate(-135)",children:(0,s.jsx)("path",{d:"M131.5,30.057,30.057,131.5,0,101.441,101.441,0Z",fill:"url(#n)",transform:"translate(0 0)"})})}),(0,s.jsx)("g",{clipPath:"url(#o)",transform:"translate(11.089 -5.581)",children:(0,s.jsx)("g",{transform:"translate(60.641 79.817) rotate(-135)",children:(0,s.jsx)("path",{d:"M131.5,30.057,30.057,131.5,0,101.441,101.441,0Z",fill:"url(#p)",transform:"translate(0 0)"})})}),(0,s.jsx)("path",{d:"M32.947-19.451A1.309,1.309,0,0,0,33.069-20a0,0,0,0,1,0,0A1.315,1.315,0,0,1,32.947-19.451Z",transform:"translate(2.064 1.253)"}),(0,s.jsx)("g",{clipPath:"url(#q)",transform:"translate(28.722 -18.745)",children:(0,s.jsx)("g",{transform:"translate(114.737 21.251) rotate(180)",children:(0,s.jsx)("path",{d:"M143.459,42.507H0V0H143.459Z",fill:"url(#r)",transform:"translate(0 0)"})})}),(0,s.jsx)("path",{d:"M33.435-19.735h0a1.863,1.863,0,0,0-1.114-1.533l-5.2-2.954h0l5.2,2.955A1.865,1.865,0,0,1,33.435-19.735Z",fill:"#404040",transform:"translate(1.699 0.989)"}),(0,s.jsx)("g",{clipPath:"url(#s)",transform:"translate(28.722 -23.234)",children:(0,s.jsx)("g",{transform:"translate(114.737 25.741) rotate(180)",children:(0,s.jsx)("path",{d:"M143.459,42.507H0V0H143.459Z",fill:"url(#t)",transform:"translate(0 0)"})})}),(0,s.jsx)("path",{d:"M9.972-30.95h0Zm0-.172a0,0,0,0,0,0,0A0,0,0,0,1,9.976-31.123Zm0-.005v-.005Zm0-.006c.062-1.091.655-1.722,1.494-1.726a1.365,1.365,0,0,0-.929.345l0,0c-.026.023-.051.048-.075.073A2.028,2.028,0,0,0,9.977-31.134Z",fill:"#404040",transform:"translate(0.625 0.447)"}),(0,s.jsx)("g",{clipPath:"url(#u)",transform:"translate(10.597 -32.067)",children:(0,s.jsx)("g",{transform:"translate(61.133 106.303) rotate(-135)",children:(0,s.jsx)("path",{d:"M131.5,30.057,30.057,131.5,0,101.441,101.441,0Z",fill:"url(#v)",transform:"translate(0 0)"})})}),(0,s.jsx)("g",{clipPath:"url(#w)",transform:"translate(11.089 -32.413)",children:(0,s.jsx)("g",{transform:"translate(-32.343 13.665) rotate(-45)",children:(0,s.jsx)("path",{d:"M30.057,0,131.5,101.441,101.441,131.5,0,30.057Z",fill:"url(#x)",transform:"translate(0 0)"})})})]})]})}},19266:(t,e,o)=>{o.d(e,{A:()=>n});var s=o(9499),r=o(84646);
1class a extends Error{constructor(t,e){super(t),this.message=t,this.errorObject=e,Object.setPrototypeOf(this,new.target.prototype)}}let l=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=[];if(!e)return"";for(let o in t){let s=o;("countryId"!==s||"other"!==t[o])&&(Array.isArray(t[o])?t[o].forEach(t=>{e.push(`${s}=${encodeURIComponent(t)}`)}):e.push(`${s}=${encodeURIComponent(t[o])}`))}return e.length?`?${e.join("&")}`:""};class f{getHeaders(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,s={"Content-Type":"application/json",organizationid:o||"5eb393ee95fab7468a79d189",...e},a=r.A.get("TOKEN")||"";return a&&a?.length>0&&t&&(s.Authorization=`Bearer ${r.A.get("TOKEN")}`),s}async get(t,e){let o=await fetch(`${t}${l(e.params)}`,{method:"GET",headers:this.getHeaders(!e.public,e.customHeaders)});if(401===o.status&&await (0,s.refreshToken)(e?.shouldNotRedirect),!o.ok)if(o.body){let t=await o.json();throw new a(t?.message||t?.error?.message||"Request failed with status",t?.errors)}else throw new a(`Request failed with status ${o.status}`,{});return o.json()}async post(t,e){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=await fetch(`${t}`,{method:"POST",headers:this.getHeaders(!o.public,o?.customHeaders,o?.customOrganizationid),body:JSON.stringify(e)});if(401===r.status&&await (0,s.refreshToken)(o?.shouldNotRedirect),!r.ok)if(r.body){let t=await r.json();throw new a(t?.error?.message||t?.message||"Request failed with status",t?.errors)}else throw new a(`Request failed with status ${r.status}`,{});return r.json()}async put(t,e){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=await fetch(`${t}`,{method:"PUT",headers:this.getHeaders(!o.public,o?.customHeaders),body:JSON.stringify(e)});if(401===r.status&&await (0,s.refreshToken)(o?.shouldNotRedirect),!r.ok)if(r.body){let t=await r.json();throw new a("Request failed with status",t?.errors)}else throw new a(`Request failed with status ${r.status}`,{});return r.json()}async delete(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=await fetch(`${t}`,{method:"DELETE",headers:this.getHeaders(!e.public)});if(401===o.status&&await (0,s.refreshToken)(e?.shouldNotRedirect),!o.ok)if(o.body){let t=await o.json();throw new a("Request failed with status",t?.errors)}else throw new a(`Request failed with status ${o.status}`,{});return{}}}let n=new f},35640:(t,e,o)=>{o.d(e,{j:()=>a});var s=o(98388),r=o(39209);let a={loginClick:t=>{(0,r.c5)({eventName:"login_click",eventParams:t})},homePageVisit:t=>
1{(0,r.c5)({eventName:"homepage_visit",eventParams:t})},countryChange:t=>{(0,r.c5)({eventName:"country_change",eventParams:t})},bookADemoClick:async t=>{let e=await s.R.getReferralEventData();e&&(t={...t,...e}),(0,r.c5)({eventName:"book_a_demo_click",eventParams:{...t,came_from:t?.came_from||"landing_page"}})},cohortChange:t=>{let e={...t,source:t.source||"web",flow:t.flow||"revamped",URL:window.location.href};(0,r.c5)({eventName:"cohort_change",eventParams:{...e,is_user_status_required:!0}}),(0,r.RO)({eventName:"cohort_change",eventParams:{...e,is_user_status_required:!0}})},otpFailed:t=>{(0,r.c5)({eventName:"otp_failed",eventParams:t})},demoEnrollClick:t=>{(0,r.c5)({eventName:"demo_enroll_click",eventParams:t})},helpSubmitClick:t=>{(0,r.c5)({eventName:"help_submit_click",eventParams:t})},helpClick:t=>{(0,r.c5)({eventName:"help_click",eventParams:t})},demoBookSeat:t=>{(0,r.c5)({eventName:"demo_book_seat",eventParams:t})},demoPageVisit:async t=>{let e=await s.R.getReferralEventData();e&&(t={...t,...e}),(0,r.c5)({eventName:"demo_page_visit",eventParam
1s:t})},close_popup:()=>{(0,r.c5)({eventName:"close_popup"})},pageOpen:t=>{(0,r.c5)({eventName:"page_open",eventParams:{...t,source:t.source||"web",flow:t.flow||"revamped"}}),(0,r.RO)({eventName:"home_page_open",eventParams:{...t,source:t.source||"web",flow:t.flow||"revamped",is_user_status_required:!0}})},referralMlpClaimNowClicked:async t=>{let e=await s.R.getReferralEventData();e&&(t={...t,...e}),t.page_url=window.location.href,(0,r.c5)({eventName:"referral_mlp_claim_now_clicked",eventParams:t})},storeClick:t=>{(0,r.c5)({eventName:"store_click",eventParams:t}),(0,r.RO)({eventName:"store_click",eventParams:t})},storeLinkClick:t=>{(0,r.c5)({eventName:"bottom_tab_click",eventParams:t})},openSessionClick:t=>{(0,r.c5)({eventName:"open_session_click",eventParams:t}),(0,r.RO)({eventName:"open_session_click",eventParams:t})}}},48980:(t,e,o)=>{o.d(e,{Ag:()=>d,FD:()=>C,Px:()=>n,RA:()=>p,Vs:()=>i,YW:()=>h,cn:()=>f,ne:()=>c});var s=o(16895),r=o(20300),a=o(79208),l=o(45849);function f(){for(var t=arguments.length,e=Array(t),o=0;o<t;o++)e[o]=arguments[o];return(0,l.QP)((0,a.A)(e))}function n(){for(var t=arguments.length,e=Array(t),o=0;o<t;o++)e[o]=arguments[o];return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}let i=t=>t?`https://static.pw.live/production-curiousjr-fundoo/static/images/${t}`:"",c=t=>"/"===window.location.pathname?"landing_page":"MLP"===t?"market":"blp",p=t=>t?.subjects?.map(t=>t?.schedules)?.flat()?.sort((t,e)=>new Date(t?.startTime).getTime()-new Date(e?.startTime).getTime())?.[0],d=(t,e)=>{let o=window.location.href.split("?")[0];return{country_code:t?.countryCode||"",user_country:t?.countryGroup||"",batch_country:e?.countryGroup||"",batch_currency:e?.fee?.currency||"",batch_price:e?.fee?.amount?String(e.fee.amount):"",cohort_country:t?.countryGroup||"",source_link:o||"https://curiousjr.com",user_state:"",user_city:""}},C=t=>{switch(t){case"PracticeTrack":return"/v2/tracks/practice";case"AnimatedTrack":return"/v2/tracks/animated";case"BytesTrack":return"/v2/tracks/brainBytes";default:return console.warn(`Unknown offering type: ${t}. Redirecting to practice.`),"/v2/tracks/practice"}},h=(t,e)=>{if(e)return(0,r.gY)(e)===s.hJ.BOOSTER?"linear-gradient(180deg, #E2F5FF, #F3FBFF)":"linear-gradient(180deg, #FFF0D1, #FFFDF8)";switch(t){case"ENGLISH_BY_CAMBRIDGE":return"linear-gradient(180deg, #D9FFE6 2.85%, #FFF 7.94%)";case"MENTAL_MATHS":return"linear-gradient(180deg, #D1E0F3 2.85%, #FFF 7.94%)";default:return"linear-gradient(180deg, #FCE5D2 2.85%, #FFF 7.94%)"}}},63495:(t,e,o)=>{o.d(e,{A:()=>r});var s=o(6978);let r=function(){let t=arguments.length>
10&&void 0!==arguments[0]?arguments[0]:768,[e,o]=(0,s.useState)(window.innerWidth<t),[r,a]=(0,s.useState)(!0),[l,f]=(0,s.useState)(window.innerWidth);return(0,s.useEffect)(()=>{let e=()=>{o(window.innerWidth<t),f(window.innerWidth),a(!1)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[t]),{isMobile:e,isLoading:r,width:l}}},69038:(t,e,o)=>{o.d(e,{A:()=>r});var s=o(65322);let r=t=>{let{...e}=t;return(0,s.jsxs)("svg",{width:"140",height:"41",viewBox:"0 0 140 41",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,s.jsx)("path",{d:"M138.309 35.5854C138.309 37.717 136.546 39.4437 134.366 39.4437H5.33377C3.15459 39.4437 1.38574 37.717 1.38574 35.5854V4.81649C1.38574 2.68585 3.15459 0.953125 5.33377 0.953125H134.365C136.546 0.953125 138.308 2.68585 138.308 4.81649L138.309 35.5854Z",fill:"black"}),(0,s.jsx)("path",{d:"M133.951 0.999499C136.325 0.999499 138.257 2.88325 138.257 5.19825V35.1982C138.257 37.5132 136.325 39.397 133.951 39.397H5.74539C3.37103 39.397 1.43898 37.5132 1.43898 35.1982V5.19825C1.43898 2.88325 3.37103 0.999499 5.74539 0.999499H133.951ZM133.951 0.198249H5.74539C2.92616 0.198249 0.617188 2.4495 0.617188 5.19825V35.1982C0.617188 37.947 2.92616 40.1982 5.74539 40.1982H133.951C136.77 40.1982 139.079 37.947 139.079 35.1982V5.19825C139.079 2.4495 136.77 0.198249 133.951 0.198249Z",fill:"#A6A6A6"}),(0,s.jsx)("path",{d:"M31.5199 19.982C31.4901 16.759 34.2265 15.191 34.3517 15.118C32.8019 12.915 30.3999 12.614 29.5558 12.59C27.5383 12.383 25.5814 13.767 24.5537 13.767C23.5055 13.767 21.9229 12.61 20.2173 12.644C18.0224 12.677 15.9691 13.916 14.8429 15.84C12.5188 19.763 14.2522 25.528 16.4788 28.699C17.5927 30.252 18.8942 31.986 20.5978 31.925C22.2645 31.858 22.887 30.889 24.8983 30.889C26.8912 30.889 27.4758 31.925 29.2132 31.886C31.0019 31.858 32.1281 30.326 33.2029 28.759C34.4901 26.979 35.007 25.226 35.0276 25.136C34.9855 25.122 31.5537 23.845 31.5199 19.982Z",fill:"white"}),(0,s.jsx)("path",{d:"M28.2378 10.504C29.1342 9.41104 29.7476 7.92404 29.5773 6.41504C28.2799 6.47104 26.6573 7.29004 25.7229 8.35904C24.8963 9.30104 24.1578 10.845 24.3486 12.297C25.806 12.403 27.3024 11.58 28.2378 10.504Z",fill:"white"}),(0,s.jsx)("path",{d:"M55.6383 31.7023H53.3091L52.0332 27.7933H47.5983L46.3829 31.7023H44.1152L48.5091 18.3943H51.2229L55.6383 31.7023ZM51.6486 26.1533L50.4947 22.6783C50.3727 22.3233 50.1439 21.4873 49.8065 20.1713H49.7655C49.6311 20.7373 49.4147 21.5733 49.1173 22.6783L47.9839 26.1533H51.6486Z",fill:"white"}),(0,s.jsx)("path",{d:"M66.9379 26.7862C66.9379 28.4182 66.4856 29.7082 65.581 30.6552C64.7707 31.4982 63.7646 31.9192 62.5635 31.9192C61.2671 31.9192 60.3359 31.4652 59.7687 30.5572H59.7277V35.6122H57.541V25.2652C57.541 24.2392 57.5133 23.1862 57.46 22.1062H59.383L59.5051 23.6272H59.5461C60.2753 22.4812 61.382 21.9092 62.8671 21.9092C64.0282 21.9092 64.9974 22.3562 65.7728 23.2512C66.5502 24.1472 66.9379 25.3252 66.9379 26.7862ZM64.7102 26.8642C64.7102 25.9302 64.4948 25.1602 64.062 24.5542C63.5892 23.9222 62.9543 23.6062 62.1584 23.6062C61.6189 23.6062 61.1287 23.7822 60.6907 24.1292C60.2518 24.4792 59.9646 24.9362 59.8302 25.5022C59.7625 25.7662 59.7287 25.9822 59.7287 26.1522V27.7522C59.7287 28.4502 59.9482 29.0392 60.3871 29.5202C60.8261 30.0012 61.3964 30.2412 62.0979 30.2412C62.9215 30.2412 63.5625 29.9312 64.021 29.3132C64.4805 28.6942 64.7102 27.8782 64.7102 26.8642Z",fill:"white"}),(0,s.jsx)("path",{d:"M78.2582 26.7862C78.2582 28.4182 77.8059 29.7082 76.9002 30.6552C76.091 31.4982 75.0848 31.9192 73.8838 31.9192C72.5874 31.9192 71.6561 31.4652 71.09 30.5572H71.0489V35.6122H68.8623V25.2652C68.8623 24.2392 68.8346 23.1862 68.7812 22.1062H70.7043L70.8264 23.6272H70.8674C71.5956 22.4812 72.7023 21.9092 74.1884 21.9092C75.3484 21.9092 76.3177 22.3562 77.0951 23.2512C77.8695 24.1472 78.2582 25.3252 78.2582 26.7862ZM76.0305 26.8642C76.0305 25.9302 75.8141 25.1602 75.3812 24.5542C74.9084 23.9222 74.2756 23.6062 73.4787 23.6062C72.9382 23.6062 72.4489 23.7822 72.01 24.1292C71.571 24.4792 71.2848 24.9362 71.1505 25.5022C71.0838 25.7662 71.0489 25.9822 71.0489 26.1522V27.7522C71.0489 28.4502 71.2684 29.0392 71.7054 29.5202C72.1443 30.0002 72.714
16 30.2412 73.4182 30.2412C74.2418 30.2412 74.8828 29.9312 75.3413 29.3132C75.8007 28.6942 76.0305 27.8782 76.0305 26.8642Z",fill:"white"}),(0,s.jsx)("path",{d:"M90.915 27.9702C90.915 29.1022 90.5119 30.0232 89.7027 30.7342C88.8134 31.5112 87.5755 31.8992 85.9847 31.8992C84.516 31.8992 83.3385 31.6232 82.4473 31.0702L82.9539 29.2932C83.9139 29.8592 84.9673 30.1432 86.115 30.1432C86.9386 30.1432 87.5796 29.9612 88.0401 29.5992C88.4985 29.2372 88.7273 28.7512 88.7273 28.1452C88.7273 27.6052 88.5385 27.1502 88.1601 26.7812C87.7837 26.4122 87.155 26.0692 86.277 25.7522C83.8873 24.8832 82.6934 23.6102 82.6934 21.9362C82.6934 20.8422 83.1119 19.9452 83.9498 19.2472C84.7847 18.5482 85.8985 18.1992 87.2914 18.1992C88.5334 18.1992 89.5652 18.4102 90.3888 18.8312L89.8421 20.5692C89.0729 20.1612 88.2032 19.9572 87.2298 19.9572C86.4606 19.9572 85.8596 20.1422 85.4288 20.5102C85.0647 20.8392 84.8821 21.2402 84.8821 21.7152C84.8821 22.2412 85.0903 22.6762 85.5088 23.0182C85.8729 23.3342 86.5344 23.6762 87.4944 24.0452C88.6688 24.5062 89.5314 25.0452 90.0862 25.6632C90.6391 26.2792 90.915 27.0502 90.915 27.9702Z",fill:"white"}),(0,s.jsx)("path",{d:"M98.1442 23.7061H95.734V28.3651C95.734 29.5501 96.1586 30.1421 97.0099 30.1421C97.4006 30.1421 97.7247 30.1091 97.9812 30.0431L98.0417 31.6621C97.6109 31.8191 97.0437 31.8981 96.3412 31.8981C95.4776 31.8981 94.8027 31.6411 94.3155 31.1281C93.8304 30.6141 93.5863 29.7521 93.5863 28.5411V23.7041H92.1504V22.1041H93.5863V20.3471L95.734 19.7151V22.1041H98.1442V23.7061Z",fill:"white"}),(0,s.jsx)("path",{d:"M109.02 26.8252C109.02 28.3002 108.587 29.5112 107.723 30.4582C106.818 31.4332 105.616 31.9192 104.117 31.9192C102.673 31.9192 101.523 31.4522 100.666 30.5182C99.8086 29.5842 99.3799 28.4052 99.3799 26.9842C99.3799 25.4972 99.8209 24.2792 100.706 23.3322C101.589 22.3842 102.781 21.9102 104.279 21.9102C105.723 21.9102 106.886 22.3772 107.762 23.3122C108.601 24.2192 109.02 25.3902 109.02 26.8252ZM106.751 26.8942C106.751 26.0092 106.557 25.2502 106.164 24.6172C105.706 23.8512 105.051 23.4692 104.201 23.4692C103.322 23.4692 102.655 23.8522 102.196 24.6172C101.803 25.2512 101.61 26.0222 101.61 26.9342C101.61 27.8192 101.803 28.5782 102.196 29.2102C102.669 29.9762 103.33 30.3582 104.182 30.3582C105.017 30.3582 105.672 29.9682 106.145 29.1902C106.548 28.5452 106.751 27.7782 106.751 26.8942Z",fill:"white"}),(0,s.jsx)("path",{d:"M116.126 23.9812C115.91 23.9422 115.679 23.9222 115.437 23.9222C114.668 23.9222 114.073 24.2052 113.654 24.7722C113.29 25.2722 113.108 25.9042 113.108 26.6672V31.7022H110.922L110.942 25.1282C110.942 24.0222 110.915 23.0152 110.86 22.1072H112.765L112.845 23.9432H112.905C113.136 23.3122 113.5 22.8042 113.999 22.4232C114.486 22.0802 115.012 21.9092 115.579 21.9092C115.781 21.9092 115.964 21.9232 116.126 21.9482V23.9812Z",fill:"white"}),(0,s.jsx)("path",{d:"M125.905 26.4504C125.905 26.8324 125.879 27.1544 125.825 27.4174H119.265C119.291 28.3654 119.607 29.0904 120.217 29.5904C120.769 30.0374 121.484 30.2614 122.362 30.2614C123.334 30.2614 124.22 30.1104 125.017 29.8074L125.359 31.2874C124.428 31.6834 123.328 31.8804 122.06 31.8804C120.534 31.8804 119.336 31.4424 118.464 30.5674C117.594 29.6924 117.158 28.5174 117.158 27.0434C117.158 25.5964 117.563 24.3914 118.375 23.4304C119.224 22.4044 120.372 21.8914 121.816 21.8914C123.234 21.8914 124.308 22.4044 125.037 23.4304C125.615 24.2454 125.905 25.2534 125.905 26.4504ZM123.82 25.8974C123.834 25.2654 123.692 24.7194 123.395 24.2584C123.017 23.6654 122.435 23.3694 121.653 23.3694C120.938 23.3694 120.356 23.6584 119.912 24.2384C119.548 24.6994 119.332 25.2524 119.265 25.8964H123.82V25.8974Z",fill:"white"}),(0,s.jsx)("path",{d:"M50.922 10.2072C50.922 11.3842 50.5599 12.2702 49.8368 12.8652C49.1671 13.4142 48.2153 13.6892 46.9825 13.6892C46.3712 13.6892 45.8481 13.6632 45.4102 13.6112V7.18019C45.9814 7.09019 46.5968 7.04419 47.2614 7.04419C48.4358 7.04419 49.3209 7.29319 49.9179 7.79119C50.5866 8.35419 50.922 9.15919 50.922 10.2072ZM49.7886 10.2362C49.7886 9.47319 49.5814 8.88819 49.1671 8.48019C48.7527 8.07319 48.1476 7.86919 47.3507 7.86919C47.0122 7.86919 46.724 7.89119 46.485 7.93719V12.8262C46.6173 12.8462 46.8594 12.8552 47.2112 12.8552C48.0337 12.8552 48.6686 12.6322 49.1158 12.1862C49.563 11.7402 49.7886 11.0902 49.7886 10.2362Z",fill:"white"}),(0,s.jsx)("path",{d:"M56.9307 11.2353C56.9307 11.9603 56.7184 12.5543 56.2938 13.0203C55.8486 13.4993 55.2589 13.7383 54.5225 13.7383C53.8128 13.7383 53.2476 13.5093 52.8261 13.0493C52.4056 12.5903 52.1953 12.0113 52.1953 11.3133C52.1953 10.5833 52.4117 9.98429 52.8466 9.51929C53.2815 9.05429 53.8661 8.82129 54.6025 8.82129C55.3122 8.82129 55.8825 9.05029 56.3143 9.50929C56.7245 9.95529 56.9307 10.5313 56.9307 11.2353ZM55.8158 11.2693C55.8158 10.8343 55.7194 10.4613 55.5276 10.1503C55.302 9.77429 54.981 9.58629 54.5635 9.58629C54.1317 9.58629 53.8035 9.77429 53.5779 10.1503C53.3851 10.4613 53.2897 10.8403 53.2897 11.2883C53.2897 11.7233 53.3861 12.0963 53.5779 12.4073C53.8107 12.7833 54.1348 12.9713 54.5533 12.9713C54.9635 12.9713 55.2856 12.7803 55.5174 12.3973C55.7163 12.0803 55.8158
111.7043 55.8158 11.2693Z",fill:"white"}),(0,s.jsx)("path",{d:"M64.9895 8.91724L63.4767 13.6312H62.4921L61.8654 11.5842C61.7064 11.0732 61.5772 10.5652 61.4767 10.0612H61.4572C61.3639 10.5792 61.2346 11.0862 61.0685 11.5842L60.4028 13.6312H59.4069L57.9844 8.91724H59.089L59.6357 11.1582C59.768 11.6882 59.8767 12.1932 59.9639 12.6712H59.9833C60.0633 12.2772 60.1957 11.7752 60.3823 11.1682L61.0685 8.91824H61.9444L62.6018 11.1202C62.7608 11.6572 62.89 12.1742 62.9895 12.6722H63.0192C63.0921 12.1872 63.2018 11.6702 63.3474 11.1202L63.9341 8.91824H64.9895V8.91724Z",fill:"white"}),(0,s.jsx)("path",{d:"M70.5622 13.6314H69.4873V10.9314C69.4873 10.0994 69.1632 9.68336 68.5129 9.68336C68.194 9.68336 67.9365 9.79736 67.7365 10.0264C67.5386 10.2554 67.4381 10.5254 67.4381 10.8344V13.6304H66.3632V10.2644C66.3632 9.85036 66.3499 9.40136 66.3242 8.91536H67.2688L67.3191 9.65236H67.3488C67.474 9.42336 67.6606 9.23436 67.9058 9.08336C68.197 8.90736 68.5232 8.81836 68.8801 8.81836C69.3314 8.81836 69.7068 8.96036 70.0052 9.24536C70.3765 9.59436 70.5622 10.1154 70.5622 10.8074V13.6314Z",fill:"white"}),(0,s.jsx)("path",{d:"M73.526 13.6314H72.4521V6.75439H73.526V13.6314Z",fill:"white"}),(0,s.jsx)("path",{d:"M79.8545 11.2353C79.8545 11.9603 79.6422 12.5543 79.2176 13.0203C78.7725 13.4993 78.1817 13.7383 77.4463 13.7383C76.7356 13.7383 76.1704 13.5093 75.7499 13.0493C75.3294 12.5903 75.1191 12.0113 75.1191 11.3133C75.1191 10.5833 75.3356 9.98429 75.7704 9.51929C76.2053 9.05429 76.7899 8.82129 77.5253 8.82129C78.2361 8.82129 78.8053 9.05029 79.2381 9.50929C79.6484 9.95529 79.8545 10.5313 79.8545 11.2353ZM78.7386 11.2693C78.7386 10.8343 78.6422 10.4613 78.4504 10.1503C78.2258 9.77429 77.9038 9.58629 77.4873 9.58629C77.0545 9.58629 76.7263 9.77429 76.5017 10.1503C76.3089 10.4613 76.2135 10.8403 76.2135 11.2883C76.2135 11.7233 76.3099 12.0963 76.5017 12.4073C76.7345 12.7833 77.0586 12.9713 77.4771 12.9713C77.8873 12.9713 78.2084 12.7803 78.4402 12.3973C78.6402 12.0803 78.7386 11.7043 78.7386 11.2693Z",fill:"white"}),(0,s.jsx)("path",{d:"M85.0552 13.6313H84.09L84.01 13.0883H83.9803C83.65 13.5213 83.1793 13.7383 82.568 13.7383C82.1116 13.7383 81.7424 13.5953 81.4644 13.3113C81.2121 13.0533 81.0859 12.7323 81.0859 12.3513C81.0859 11.7753 81.3321 11.3363 81.8275 11.0323C82.3218 10.7283 83.0172 10.5793 83.9126 10.5863V10.4983C83.9126 9.87729 83.5782 9.56729 82.9085 9.56729C82.4316 9.56729 82.0111 9.68429 81.648 9.91629L81.4295 9.22829C81.8788 8.95729 82.4336 8.82129 83.088 8.82129C84.3516 8.82129 84.9854 9.47129 84.9854 10.7713V12.5073C84.9854 12.9783 85.009 13.3533 85.0552 13.6313ZM83.9393 12.0113V11.2843C82.7536 11.2643 82.1608 11.5813 82.1608 12.2343C82.1608 12.4803 82.2285 12.6643 82.367 12.7873C82.5054 12.9103 82.6818 12.9713 82.8921 12.9713C83.128 12.9713 83.3485 12.8983 83.5495 12.7533C83.7516 12.6073 83.8757 12.4223 83.9218 12.1953C83.9331 12.1443 83.9393 12.0823 83.9393 12.0113Z",fill:"white"}),(0,s.jsx)("path",{d:"M91.1642 13.6314H90.2104L90.1601 12.8744H90.1304C89.8257 13.4504 89.3068 13.7384 88.5775 13.7384C87.995 13.7384 87.5098 13.5154 87.1252 13.0694C86.7406 12.6234 86.5488 12.0444 86.5488 11.3334C86.5488 10.5704 86.757 9.95239 87.1755 9.48039C87.5806 9.04039 88.077 8.82039 88.6678 8.82039C89.317 8.82039 89.7714 9.03339 90.0298 9.46039H90.0504V6.75439H91.1263V12.3614C91.1263 12.8204 91.1386 13.2434 91.1642 13.6314ZM90.0504 11.6434V10.8574C90.0504 10.7214 90.0401 10.6114 90.0206 10.5274C89.9601 10.2754 89.8298 10.0634 89.6319 9.89239C89.4319 9.72139 89.1909 9.63539 88.9129 9.63539C88.5119 9.63539 88.1981 9.79039 87.9673 10.1014C87.7386 10.4124 87.6227 10.8094 87.6227 11.2944C87.6227 11.7604 87.7324 12.1384 87.9529 12.4294C88.1857 12.7394 88.4996 12.8944 88.8924 12.8944C89.2452 12.8944 89.5273 12.7654 89.7416 12.5064C89.9488 12.2674 90.0504 11.9794 90.0504 11.6434Z",fill:"white"}),(0,s.jsx)("path",{d:"M100.355 11.2353C100.355 11.9603 100.142 12.5543 99.7176 13.0203C99.2725 13.4993 98.6838 13.7383 97.9463 13.7383C97.2376 13.7383 96.6725 13.5093 96.2499 13.0493C95.8294 12.5903 95.6191 12.0113 95.6191 11.3133C95.6191 10.5833 95.8356 9.98429 96.2704 9.51929C96.7053 9.05429 97.2899 8.82129 98.0273 8.82129C98.7361 8.82129 99.3073 9.05029 99.738
11 9.50929C100.148 9.95529 100.355 10.5313 100.355 11.2353ZM99.2407 11.2693C99.2407 10.8343 99.1443 10.4613 98.9525 10.1503C98.7258 9.77429 98.4058 9.58629 97.9873 9.58629C97.5566 9.58629 97.2284 9.77429 97.0017 10.1503C96.8089 10.4613 96.7135 10.8403 96.7135 11.2883C96.7135 11.7233 96.8099 12.0963 97.0017 12.4073C97.2345 12.7833 97.5586 12.9713 97.9771 12.9713C98.3873 12.9713 98.7104 12.7803 98.9422 12.3973C99.1402 12.0803 99.2407 11.7043 99.2407 11.2693Z",fill:"white"}),(0,s.jsx)("path",{d:"M106.135 13.6314H105.062V10.9314C105.062 10.0994 104.737 9.68336 104.086 9.68336C103.767 9.68336 103.51 9.79736 103.311 10.0264C103.112 10.2554 103.012 10.5254 103.012 10.8344V13.6304H101.936V10.2644C101.936 9.85036 101.924 9.40136 101.898 8.91536H102.842L102.892 9.65236H102.922C103.048 9.42336 103.235 9.23436 103.479 9.08336C103.771 8.90736 104.096 8.81836 104.454 8.81836C104.905 8.81836 105.28 8.96036 105.578 9.24536C105.951 9.59436 106.135 10.1154 106.135 10.8074V13.6314Z",fill:"white"}),(0,s.jsx)("path",{d:"M113.368 9.70241H112.185V11.9924C112.185 12.5744 112.395 12.8654 112.812 12.8654C113.004 12.8654 113.164 12.8494 113.29 12.8164L113.318 13.6114C113.106 13.6894 112.827 13.7284 112.483 13.7284C112.059 13.7284 111.728 13.6024 111.489 13.3504C111.249 13.0984 111.13 12.6744 111.13 12.0794V9.70241H110.424V8.91741H111.13V8.05341L112.184 7.74341V8.91641H113.367V9.70241H113.368Z",fill:"white"}),(0,s.jsx)("path",{d:"M119.058 13.6314H117.982V10.9514C117.982 10.1064 117.658 9.68339 117.009 9.68339C116.511 9.68339 116.17 9.92839 115.983 10.4184C115.952 10.5214 115.933 10.6474 115.933 10.7954V13.6304H114.859V6.75439H115.933V9.59539H115.954C116.292 9.07839 116.777 8.82039 117.406 8.82039C117.851 8.82039 118.219 8.96239 118.512 9.24739C118.876 9.60239 119.058 10.1304 119.058 10.8284V13.6314Z",fill:"white"}),(0,s.jsx)("path",{d:"M124.928 11.0515C124.928 11.2395 124.914 11.3975 124.888 11.5265H121.665C121.679 11.9925 121.833 12.3475 122.131 12.5935C122.404 12.8135 122.756 12.9235 123.187 12.9235C123.664 12.9235 124.099 12.8495 124.49 12.7005L124.659 13.4285C124.2 13.6225 123.661 13.7195 123.036 13.7195C122.287 13.7195 121.698 13.5045 121.271 13.0745C120.842 12.6445 120.63 12.0675 120.63 11.3435C120.63 10.6325 120.828 10.0405 121.227 9.5685C121.643 9.0645 122.206 8.8125 122.917 8.8125C123.612 8.8125 124.141 9.0645 124.498 9.5685C124.786 9.9685 124.928 10.4635 124.928 11.0515ZM123.903 10.7805C123.911 10.4695 123.84 10.2015 123.694 9.9755C123.508 9.6845 123.224 9.5385 122.839 9.5385C122.488 9.5385 122.202 9.6805 121.984 9.9655C121.805 10.1925 121.7 10.4635 121.665 10.7805H123.903Z",fill:"white"})]})}},70405:(t,e,o)=>{o.d(e,{Cr:()=>p,jo:()=>i,pM:()=>c});var s=o(70788),r=o(19266);let a="https://curiousjr-k8-api.penpencil.co/",l=()=>(0,s.WJ)({org:"CJR"}),f=null,n=null,i=async()=>{if((0,s.WJ)({org:"CJR"}),f)return f;if(n)return n;n=r.A.get(`${a}/v1/public/country`,{customHeaders:l(),public:!0});try{let t=await n;return f=t,t}finally{n=null}},c=async t=>r.A.get(`https://api.penpencil.co/v3/batches/${t}/details`,{customHeaders:l(),public:!0}),p=t=>{let{pwPro:e,grade:o}=t;return(0,s.WJ)({org:"CJR"}),r.A.put(`${a}/v1/user/profile`,{pwPro:e,grade:o},{customHeaders:l()})}},84443:(t,e,o)=>{o.d(e,{Sl:()=>s});let s=async()=>{try{let t=new URLSearchParams(window.location.search).get("referralToken");if(!t)throw Error("Token is missing in the URL");let e=await fetch(`https://curiousjr-k8-api.penpencil.co/v1/public/referral/verify-token?referralToken=${t}`,{method:"GET",headers:{"Content-Type":"application/json"}});if(!e.ok){let t=await e.json();throw console.error("Error response:",t),Error(`Request failed with status ${e.status}`)}return(await e.json())?.data}catch(t){throw console.error("Error verifying referral token:",t),t}}},84646:(t,e,o)=>{o.d(e,{A:()=>r});class s{isLocalStorageAvailable(){try{if("undefined"==typeof localStorage)return!1;let t="test";return localStorage.setItem(t,"test"),localStorage.removeItem(t),!0}catch(t){return console.error("localStorage is not available:",t),!1}}set(t,e){if(!this.isLocalStorageAvailable())return void console.warn("localStorage is not available, cannot set value for key:",t);try{if("string"==typeof e&&("null"===e||"undefined"===e))return void console.error(`Error setting localStorage key '${t}':`,Error("Invalid value"));"string"==typeof e?localStorage.setItem(t,e):localStorage.setItem(t,JSON.stringify(e))}catch(e){console.error(`Error setting localStorage key '${t}':`,e)}}get(t){if(!this.isLocalStorageAvailable())return void console.warn("localStorage is not available, cannot get value for key:",t);try{let e=localStorage.getItem(t);if("null"===e||!e||null===e||"undefined"===e||void 0===e)return;try{return JSON.parse(e)}catch(t){return e}}catch(e){console.error(`Error getting localStorage key '${t}':`,e);return}}remove(t){if(!this.isLocalStorageAvailable())return void console.warn("localStorage is not available, cannot remove key:",t);try{localStorage.removeItem(t)}catch(e){console.error(`Error removing localStorage key '${t}':`,e)}}clear(){if(!this.isLocalStorageAvailable())return void console.warn("localStorage is not available, cannot clear storage");try{localStorage.clear()}catch(t){console.error("Error clearing localStorage:",t)}}keys(){if(!this.isLocalStorageAvailable())return console.warn("localStorage is not available, cannot get keys"),[];try{let t=[];for(let e=0;e<localStorage.length;e++){let o=localStorage.key(e);null!==o&&t.push(o)}return t}catch(t){return console.error("Error getting localStorage keys:",t),[]}}}let r=new s},98388:(t,e,o)=>{o.d(e,{R:()=>a});var s=o(84443);class r{async getReferralEventData(){if(!this.referralParams&&new URLSearchParams(window.location.search).get("token")){let t=await (0,s.Sl)();this.referralParams={referral_mlp:t?.referralCode?"y":"n",referrer_code:t?.referralCode||"",referrer_name:localStorage.getItem("referralUser")||""}}return this.referralParams}constructor(){this.referralParams=null}}let a=new r}}]); 2//# sourceMappingURL=7418-4060aba25b4092f1.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.