(self.webpackChunkname_of_app=self.webpackChunkname_of_app||[]).push([[4876],{37745:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return Xe}});var r,o,i=t(67557),u=t(89526),a=t(65092),c=t(12384),s=t(61011),l=t(51214),p=t(71373),f=t(38809),d=t(13120),m=t(565),h=t(20193),y=t(84084),v=t(61698),g=t(36105),b=t.n(g),A=t(81449),P=t(70109),w=t(40445),x=t(44156),O=t(34311),j=["en","de"],k=(0,u.createContext)(void 0),Z=function(e){var n=e.children,t=(0,v.$)().i18n,r=(0,u.useCallback)((function(e){return b().locale(e),t.changeLanguage(e)}),[t]);return(0,u.useEffect)((function(){b().locale(t.language)}),[t.language]),(0,i.jsx)(k.Provider,{value:{i18n:t,language:t.language,languages:j,defaultLanguage:"en",changeLanguage:r},children:n})},S=t(5615),T=t(29174),C=function(e){var n=e.children,t=(0,T.X)(),r=(0,u.useMemo)((function(){var e=t;return new S.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnMount:!1,retry:!1,onError:function(n){return e(n)}},mutations:{onError:function(n){return e(n)}}}})}),[t]);return(0,i.jsx)(S.QueryClientProvider,{client:r,children:n})},I=t(17513),E=t(33401),M=t(86210),D=t(98995),z=t(30168),_=(0,I.vJ)(r||(r=(0,z.Z)(["\n button {\n font: inherit;\n }\n\n html {\n height: -webkit-fill-available;\n }\n\n body {\n min-height: 100vh;\n min-width: 320px;\n min-height: -webkit-fill-available;\n display: flex;\n background: ",";\n color: ",";\n }\n\n #root {\n width: 100%;\n display: flex;\n flex: 1;\n }\n\n b {\n font-weight: 600;\n }\n\n a {\n color: inherit;\n text-decoration: none;\n }\n //.react-horizontal-scrolling-menu--scroll-container {\n // overflow: hidden;\n //}\n"])),(function(e){return e.theme.palette.background.default}),(function(e){return e.theme.palette.text.primary})),R=(0,I.vJ)(o||(o=(0,z.Z)(["\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n html {\n line-height: 1.4;\n height: 100%;\n -webkit-text-size-adjust: 100%;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n touch-action: manipulation;\n }\n\n body {\n margin: 0;\n min-height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n position: relative;\n font-feature-settings: 'kern';\n }\n\n main {\n display: block;\n }\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n b,\n strong {\n font-weight: bold;\n }\n small {\n font-size: 80%;\n }\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n img {\n border-style: none;\n }\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n button,\n input {\n overflow: visible;\n }\n button,\n select {\n text-transform: none;\n }\n button::-moz-focus-inner,\n [type='button']::-moz-focus-inner,\n [type='reset']::-moz-focus-inner,\n [type='submit']::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n fieldset {\n padding: 0.35em 0.75em 0.625em;\n }\n legend {\n box-sizing: border-box;\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n progress {\n vertical-align: baseline;\n }\n textarea {\n overflow: auto;\n }\n [type='checkbox'],\n [type='radio'] {\n box-sizing: border-box;\n padding: 0;\n }\n [type='number']::-webkit-inner-spin-button,\n [type='number']::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n input[type='number'] {\n -moz-appearance: textfield;\n }\n [type='search'] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n [type='search']::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n details {\n display: block;\n }\n summary {\n display: list-item;\n }\n template {\n display: none;\n }\n [hidden] {\n display: none !important;\n }\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n button {\n background: transparent;\n padding: 0;\n }\n fieldset {\n margin: 0;\n padding: 0;\n }\n ol,\n ul {\n margin: 0;\n padding: 0;\n }\n textarea {\n resize: vertical;\n }\n button,\n [role='button'] {\n cursor: pointer;\n }\n button::-moz-focus-inner {\n border: 0 !important;\n }\n table {\n border-collapse: collapse;\n }\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n vertical-align: middle;\n }\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n [data-js-focus-visible] :focus:not([data-focus-visible-added]) {\n outline: none;\n box-shadow: none;\n }\n select::-ms-expand {\n display: none;\n }\n"]))),Q=t(10890),U={mode:"light",background:{paper:"#f7f7f7",default:"#FFFFFF"},common:{black:"#000",white:"#fff"},primary:{main:"#EBE2D9",dark:"#d5f2ff",contrastText:"#000"},secondary:{main:"#f8f8f8",dark:"#000000",contrastText:"#222"},info:{main:"#5AB9FE"},success:{main:"#EB4E28",dark:"#08205c",contrastText:"#FFFFFF"},warning:{light:"#FFE58F",main:"#FAAD14"},error:{main:"#EE786C",dark:"#bc4538",contrastText:"#fff"},bankIdViolet:{main:"#39134C",dark:"#2a0140",contrastText:"#fff"},orange:{main:"#F7931A",contrastText:"#fff"},text:{primary:"#EB4E28",secondary:"#7E8098"},textInverted:"#FFFFFF",textBlueish:"#324A57",greyDefault:"#9FA2B4",border:"rgba(211, 211, 211, 0.3)",borderLight:"rgba(211, 211, 211, 0.3)",placeholder:"#C4C4C4",bgLight:"#FFFFFF",grey:{900:"#262626",800:"#595959",700:"#9FA2B4",600:"#BFBFBF",300:"#DFE0EB",200:"#EAEFF4",100:"#F7F8FC"}},B=t(99643),F=t(42682),L=t(93504),N={MuiTooltip:{defaultProps:{arrow:!0,placement:"top",enterDelay:150,leaveDelay:100},styleOverrides:{arrow:{color:"#1F2128"},tooltip:{backgroundColor:"#1F2128"},tooltipPlacementTop:{marginBottom:"1em"}}},MuiBreadcrumbs:{defaultProps:{separator:"|"},styleOverrides:{root:{fontSize:B.CH.extraSmall,fontWeight:500,color:"inherit",textTransform:"uppercase"},separator:{color:U.text.secondary},li:{}}},MuiTextField:{defaultProps:{variant:"outlined",size:"medium"},styleOverrides:{}},MuiCheckbox:{defaultProps:{color:"primary"},styleOverrides:{}},MuiButton:{defaultProps:{color:"primary",variant:"contained"},styleOverrides:{root:{fontSize:B.CH.default,borderRadius:L.p.default,fontWeight:500,textTransform:"none",lineHeight:1.25},contained:{boxShadow:"none"},sizeMedium:{minHeight:40}}},MuiSkeleton:{defaultProps:{animation:"wave"},styleOverrides:{}},MuiAlert:{styleOverrides:{standardError:{color:U.error.dark,"& $icon":{color:U.error.dark}},root:{lineHeight:1.2,fontSize:B.CH.default,alignItems:"center"},message:{padding:"0.25em 0"},icon:{padding:"0"}}},MuiMenuItem:{styleOverrides:{root:{lineHeight:1.25,fontSize:B.CH.small,minHeight:36}}},MuiListItemIcon:{styleOverrides:{root:{minWidth:"auto",marginRight:10}}},MuiSvgIcon:{defaultProps:{fontSize:"inherit"},styleOverrides:{fontSizeInherit:{fontSize:"1.4em"},fontSizeSmall:{fontSize:"1.25rem"}}},MuiIconButton:{defaultProps:{size:"medium",color:"inherit"},styleOverrides:{sizeSmall:{fontSize:"1.1rem"},sizeMedium:{fontSize:"1.2rem"},sizeLarge:{fontSize:"1.3rem"}}},MuiOutlinedInput:{styleOverrides:{root:{background:U.bgLight},sizeSmall:{borderRadius:L.p.small},adornedEnd:{paddingRight:0}}},MuiTab:{styleOverrides:{root:{},textColorPrimary:{"&.Mui-selected":{color:U.text.primary}}}},MuiFormHelperText:{styleOverrides:{root:{margin:"0.5rem 0 0",lineHeight:1.2,fontSize:B.CH.extraSmall}}},MuiTableCell:{styleOverrides:{head:{fontSize:B.CH.small,color:U.text.secondary,height:44,whiteSpace:"nowrap"},body:{height:56,fontSize:B.CH.small,"@media (max-width: 768px)":{fontSize:B.CH.extraSmall}},root:{borderColor:U.border,padding:"0.5em",lineHeight:1.2,"&:first-child":{paddingLeft:"1rem"},"&:last-child":{paddingRight:"1rem",width:"1%"}}}}},H=(0,Q.Z)({palette:U,fontSizes:B.CH,fontFamilies:B.Vl,typography:B.ZP,radii:L.p,spacing:L.W,space:L.W,shape:{borderRadius:L.p.default},transitions:{duration:{shortest:100,shorter:150,short:200,standard:250,complex:350}},breakpoints:F.Z,components:N});function K(e){var n=e.children;return(0,i.jsx)(E.Z,{injectFirst:!0,children:(0,i.jsx)(M.Z,{theme:H,children:(0,i.jsxs)(I.f6,{theme:H,children:[(0,i.jsx)(_,{}),(0,i.jsx)(R,{}),(0,i.jsx)(D.ZP,{}),n]})})})}var V=t(11668),W=t(53918),q=t(72170),$=function(e){var n=e.id,t=(0,V.Ds)().closeSnackbar;return(0,i.jsx)(q.Z,{onClick:function(){return t(n)},children:(0,i.jsx)(W.Z,{})})},G=function(e){var n=e.children;return(0,i.jsx)(V.wT,{maxSnack:3,preventDuplicate:!0,dense:!0,action:function(e){return(0,i.jsx)($,{id:e},e)},children:n})},J=function(e){var n=e.children,t=(0,i.jsx)("div",{style:{alignSelf:"center",width:"100%",textAlign:"center"},children:(0,i.jsx)(d.Z,{})});return(0,i.jsx)(K,{children:(0,i.jsx)(u.Suspense,{fallback:t,children:(0,i.jsx)(Z,{children:(0,i.jsx)(f._,{dateAdapter:p.Z,children:(0,i.jsx)(m.VK,{children:(0,i.jsx)(G,{children:(0,i.jsx)(h.Fz,{ReactRouterRoute:a.AW,children:(0,i.jsx)(C,{children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(y.ReactQueryDevtools,{initialIsOpen:!1}),n]})})})})})})})})})},Y=t(37762),X=t(20653),ee=t(2171),ne=t(86644),te=Object.defineProperty,re=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,ie=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,ce=function(e,n,t){return n in e?te(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},se=function(e,n){for(var t in n||(n={}))ue.call(n,t)&&ce(e,t,n[t]);if(ie){var r,o=(0,Y.Z)(ie(n));try{for(o.s();!(r=o.n()).done;){t=r.value;ae.call(n,t)&&ce(e,t,n[t])}}catch(i){o.e(i)}finally{o.f()}}return e},le=function(e){var n,t,r=e.children;return(0,i.jsx)(X.Zo,{components:(n=se({},ee.cR),t={wrapper:ne.Z},re(n,oe(t))),children:r})},pe=t(14661);function fe(e){var n=e.cbid;if(!n||"production"!==pe.e.appEnv)return(0,i.jsx)(i.Fragment,{});if("undefined"===typeof window)return(0,i.jsx)(i.Fragment,{});if(!n||!document)return(0,i.jsx)(i.Fragment,{});24!==n.length&&console.warn("The cookie bot domain group id is ".concat(n.length," characters, instead it should be 36 characters!"));var t=document.createElement("script");t.setAttribute("id","cookieyes"),t.setAttribute("src","https://cdn-cookieyes.com/client_data/".concat(n,"/script.js")),t.setAttribute("data-blockingmode","auto"),t.setAttribute("type","text/javascript"),t.setAttribute("strategy","beforeInteractive");var r=document.querySelector("html > head");return r&&r.insertBefore(t,r.firstChild),(0,i.jsx)(i.Fragment,{})}var de,me=(0,u.memo)(fe),he=t(71771),ye=t.p+"static/media/PlusJakartaSans-Medium.f78ffc04acb877ce387e.ttf",ve=t.p+"static/media/Anton-Regular.170b842f9a8cd6150a0d.ttf";function ge(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"normal";return'\n @font-face{\n font-family: "'.concat(e,'";\n src: url("').concat(n,'");\n font-style: ').concat(r,";\n font-weight: ").concat(t,";\n font-display: auto;\n }\n ")}var be=(0,I.vJ)(de||(de=(0,z.Z)(["\n ",";\n\n ",";\n"])),ge("PlusJakartaSans",ye,500),ge("Anton",ve,400)),Ae=t(10881),Pe=t(77633),we=t(35297),xe=t(76941),Oe=Object.defineProperty,je=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Se=function(e,n,t){return n in e?Oe(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},Te=function(e,n){for(var t in n||(n={}))ke.call(n,t)&&Se(e,t,n[t]);if(je){var r,o=(0,Y.Z)(je(n));try{for(o.s();!(r=o.n()).done;){t=r.value;Ze.call(n,t)&&Se(e,t,n[t])}}catch(i){o.e(i)}finally{o.f()}}return e},Ce=(0,Ae.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(8961),t.e(1340),t.e(3283),t.e(4196),t.e(5346),t.e(9328),t.e(974),t.e(7919),t.e(5981)]).then(t.bind(t,82049))})),Ie=function(){return(0,A.NP)({version:"0.1.0",buildTime:1750060393178}),(0,i.jsxs)(a.rs,{children:[(0,i.jsx)(we.Z,Te({},Pe.VP.paymentRedirect)),(0,i.jsx)(we.Z,Te({},Pe.VP.b2cRedirect)),(0,i.jsx)(a.AW,{children:(0,i.jsxs)(a.rs,{children:[(0,i.jsx)(we.Z,Te({exact:!0},Pe.VP.main)),(0,i.jsx)(we.Z,Te({exact:!0},Pe.VP.contacts)),(0,i.jsx)(we.Z,Te({exact:!0},Pe.VP.about)),(0,i.jsx)(we.Z,Te({exact:!0},Pe.VP.contributors)),(0,i.jsx)(we.Z,Te({exact:!0},Pe.VP.careers)),(0,i.jsx)(we.Z,Te({exact:!0},Pe.VP.careersDetail)),(0,i.jsx)(we.Z,Te({exact:!0},Pe.VP.catalog)),(0,i.jsx)(we.Z,Te({exact:!0},Pe.VP.videos)),(0,i.jsx)(we.Z,Te({exact:!0},Pe.VP.graphics)),(0,i.jsx)(we.Z,Te({exact:!0},Pe.VP.catalogDetailPhoto)),(0,i.jsx)(we.Z,Te({},Pe.VP.buy)),(0,i.jsx)(xe.Z,Te({},Pe.iN.docs)),(0,i.jsx)(we.Z,Te({nonAuthorized:!0},Pe.jb)),(0,i.jsx)(we.Z,{authorized:!0,component:Ce})]})})]})},Ee=t(53658),Me=t(89592),De=t(6639),ze=t(55944),_e=Object.defineProperty,Re=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Be=function(e,n,t){return n in e?_e(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},Fe=function(e,n){for(var t in n||(n={}))Qe.call(n,t)&&Be(e,t,n[t]);if(Re){var r,o=(0,Y.Z)(Re(n));try{for(o.s();!(r=o.n()).done;){t=r.value;Ue.call(n,t)&&Be(e,t,n[t])}}catch(i){o.e(i)}finally{o.f()}}return e};var Le,Ne=t(2152),He=Object.defineProperty,Ke=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,qe=function(e,n,t){return n in e?He(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},$e=function(e,n){var t=n,r=t.devTools,o=function(e,n){var t={};for(var r in e)Qe.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&Re){var o,i=(0,Y.Z)(Re(e));try{for(i.s();!(o=i.n()).done;)r=o.value,n.indexOf(r)<0&&Ue.call(e,r)&&(t[r]=e[r])}catch(u){i.e(u)}finally{i.f()}}return t}(t,["devTools"]),i=Fe({storage:Me.Z},o),u=(0,De.UY)(Fe({},e)),a={reducer:(0,Ee.OJ)(i,(function(e,n){return"auth/logoutUser"===n.type?u(void 0,n):u(e,n)})),devTools:r,middleware:function(e){return e({serializableCheck:{ignoredActions:[Ee._P,Ee.I2,Ee.E7,Ee.ex,Ee.e,Ee.Nz]}})}},c=(0,ze.xC)(a);return{store:c,persistor:(0,Ee.p5)(c)}}(function(e,n){for(var t in n||(n={}))Ve.call(n,t)&&qe(e,t,n[t]);if(Ke){var r,o=(0,Y.Z)(Ke(n));try{for(o.s();!(r=o.n()).done;){t=r.value;We.call(n,t)&&qe(e,t,n[t])}}catch(i){o.e(i)}finally{o.f()}}return e}({},Ne.Kk),{key:"root",devTools:"development"===pe.e.appEnv,version:1,blacklist:[]}),Ge=$e.store,Je=$e.persistor;(Le="main",(0,P.D$)(w.Z).use(x.Z).use(O.Db).init(function(e){return{fallbackLng:"en",supportedLngs:j,keySeparator:".",nsSeparator:":",ns:[e],defaultNS:e,load:"languageOnly",nonExplicitSupportedLngs:!1,returnEmptyString:!1,returnNull:!1,backend:{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}"},parseMissingKeyHandler:function(e){var n=e.split(".");return n[n.length-1]},react:{useSuspense:!0,defaultTransParent:"div",hashTransKey:function(e){return console.log("missing key",e),e}}}}(Le))).then();var Ye=function(e){var n=e.children,t=(0,a.k6)(),r=(0,u.useCallback)((function(){Je.purge().then((function(){t.push(Pe.jb.views.login.path)}))}),[t]);return(0,i.jsx)(he.AuthProvider,{store:Ge,onLogout:r,children:n})};function Xe(e){var n=e.helmetContext;return(0,i.jsx)(s.B6,{context:n,children:(0,i.jsx)(J,{children:(0,i.jsx)(le,{children:(0,i.jsx)(c.zt,{store:Ge,children:(0,i.jsx)(l.r,{loading:null,persistor:Je,children:(0,i.jsx)(he.AppApiProvider,{platform:"app",brand:pe.e.brand,baseURL:pe.e.apiBaseUrl,children:(0,i.jsxs)(Ye,{children:[(0,i.jsx)(be,{}),(0,i.jsxs)(s.ql,{children:[(0,i.jsx)("title",{children:"Discover Premium Images and Designs | StockSpicy"}),(0,i.jsx)("meta",{name:"description",content:"Explore StockSpicy, your go-to library for premium images, captivating designs, and versatile mockups."})]}),(0,i.jsx)(Ie,{}),(0,i.jsx)(me,{cbid:"dc9bc101f0d42e23ccbce97d"})]})})})})})})})}},1463:function(e,n,t){"use strict";t.d(n,{z:function(){return a}});var r=t(15671),o=t(43144),i=t(70235),u=t(68397),a=function(){function e(n){(0,r.Z)(this,e),this.api=n,(0,i.Z)(this)}return(0,o.Z)(e,[{key:"register",value:function(e){return this.api.post("/auth/register",e)}},{key:"loginRequest",value:function(e){return this.api.post("/auth/login",e)}},{key:"loginWithOtp",value:function(e){return this.api.post("/auth/otp",e)}},{key:"loginWithToken",value:function(e){return this.api.post("/auth/otp_link",{otp:e})}},{key:"refresh",value:function(e){return this.api.post("/auth/refresh",void 0,{headers:{Authorization:(0,u.H)(e)},skipAuthRefresh:!0})}}]),e}()},36741:function(e,n,t){"use strict";t.d(n,{R:function(){return v}});var r=t(74165),o=t(15671),i=t(43144),u=t(37762),a=t(70235),c=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,m=function(e,n,t){return n in e?c(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},h=function(e,n){for(var t in n||(n={}))f.call(n,t)&&m(e,t,n[t]);if(p){var r,o=(0,u.Z)(p(n));try{for(o.s();!(r=o.n()).done;){t=r.value;d.call(n,t)&&m(e,t,n[t])}}catch(i){o.e(i)}finally{o.f()}}return e},y=function(e,n,t){return new Promise((function(r,o){var i=function(e){try{a(t.next(e))}catch(n){o(n)}},u=function(e){try{a(t.throw(e))}catch(n){o(n)}},a=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(i,u)};a((t=t.apply(e,n)).next())}))},v=function(){function e(n){(0,o.Z)(this,e),this.api=n,(0,a.Z)(this)}return(0,i.Z)(e,[{key:"me",value:function(){return y(this,null,(0,r.Z)().mark((function e(){var n;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.api.get("/profile/");case 2:return n=e.sent,e.abrupt("return",n.avatar?(t=h({},n),r={avatar:"".concat(n.avatar,"?").concat((new Date).getTime())},s(t,l(r))):n);case 4:case"end":return e.stop()}var t,r}),e,this)})))}},{key:"setBasicInfo",value:function(e){return this.api.patch("/profile/",e)}},{key:"getCountries",value:function(e){return y(this,null,(0,r.Z)().mark((function n(){var t;return(0,r.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.api.get("/info/countries",h({},e));case 2:return t=n.sent,n.abrupt("return",t);case 4:case"end":return n.stop()}}),n,this)})))}},{key:"updateBillingInfo",value:function(e){return this.api.patch("/profile/",e)}},{key:"uploadAvatar",value:function(e){var n=new FormData;return n.append("file",e),this.api.put("/profile/avatar",n,{headers:{"Content-Type":"multipart/form-data"}})}},{key:"deleteAvatar",value:function(){return this.api.delete("/profile/avatar")}},{key:"changeEmailInit",value:function(){return this.api.post("/profile/change_email")}},{key:"changeEmailOtpOld",value:function(e){return this.api.post("/profile/change_email_otp_old",e)}},{key:"changeEmailConfirm",value:function(e){return this.api.post("/profile/change_email_token_new",e)}},{key:"changeEmailOtpNew",value:function(e){return this.api.post("/profile/change_email_otp_new",e)}}]),e}()},86706:function(e,n,t){"use strict";t.d(n,{z9:function(){return r.z},DF:function(){return A},A4:function(){return g},R5:function(){return o.R},ev:function(){return I}});var r=t(1463),o=t(36741),i=t(15671),u=t(43144),a=t(37762),c=t(70235),s=Object.defineProperty,l=Object.defineProperties,p=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,h=function(e,n,t){return n in e?s(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},y=function(e,n){for(var t in n||(n={}))d.call(n,t)&&h(e,t,n[t]);if(f){var r,o=(0,a.Z)(f(n));try{for(o.s();!(r=o.n()).done;){t=r.value;m.call(n,t)&&h(e,t,n[t])}}catch(i){o.e(i)}finally{o.f()}}return e},v=function(e,n){return l(e,p(n))},g=function(){function e(n){(0,i.Z)(this,e),this.api=n,this.api.axiosClient.defaults.paramsSerializer=function(e){var n=new URLSearchParams;return Object.keys(e).map((function(t){return Array.isArray(e[t])&&e[t].length>0?e[t].map((function(e){return void 0!==e&&n.append(t,e)})):void 0!==e[t]&&n.append(t,e[t]),null})),n},(0,c.Z)(this)}return(0,u.Z)(e,[{key:"fetchImages",value:function(e){return this.api.get("/p/images/",y({},e))}},{key:"fetchPrivateImages",value:function(e){return this.api.get("/images/",y({},e))}},{key:"getTags",value:function(e){return this.api.get("/p/images/tags",y({},e))}},{key:"getCategories",value:function(e){return this.api.get("/p/images/categories",y({},e))}},{key:"getImageById",value:function(e){return this.api.get("/p/images/".concat(e))}},{key:"getPrivateImageById",value:function(e){return this.api.get("/images/".concat(e))}},{key:"purchaseImageById",value:function(e){return this.api.get("/images/".concat(e,"/purchase"))}},{key:"getPurchasedImages",value:function(e){return this.api.get("/images/",v(y({},e),{is_purchased:!0}))}},{key:"downloadImageById",value:function(e){return this.api.get("/images/".concat(e,"/download"))}},{key:"addImageToFavourite",value:function(e){return this.api.post("/images/favorites/".concat(e))}},{key:"removeImageFromFavourite",value:function(e){return this.api.delete("/images/favorites/".concat(e))}},{key:"getFavouritesImages",value:function(e){return this.api.get("/images/",v(y({},e),{is_favorite:!0}))}}]),e}(),b=t(72795),A=function(){function e(n){(0,i.Z)(this,e),this.api=n,(0,c.Z)(this)}return(0,u.Z)(e,[{key:"getBalance",value:function(){return this.api.get("/credits/balance")}},{key:"makePurchase",value:function(e){return this.api.post("/credits/purchase",e,{headers:(0,b.J)()})}}]),e}(),P=t(74165),w=Object.defineProperty,x=Object.defineProperties,O=Object.getOwnPropertyDescriptors,j=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable,S=function(e,n,t){return n in e?w(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},T=function(e,n){for(var t in n||(n={}))k.call(n,t)&&S(e,t,n[t]);if(j){var r,o=(0,a.Z)(j(n));try{for(o.s();!(r=o.n()).done;){t=r.value;Z.call(n,t)&&S(e,t,n[t])}}catch(i){o.e(i)}finally{o.f()}}return e},C=function(e,n,t){return new Promise((function(r,o){var i=function(e){try{a(t.next(e))}catch(n){o(n)}},u=function(e){try{a(t.throw(e))}catch(n){o(n)}},a=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(i,u)};a((t=t.apply(e,n)).next())}))},I=function(){function e(n){(0,i.Z)(this,e),this.api=n,(0,c.Z)(this)}return(0,u.Z)(e,[{key:"transferTransaction",value:function(e){return C(this,null,(0,P.Z)().mark((function n(){return(0,P.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",this.api.post("/transaction/transfer",e));case 1:case"end":return n.stop()}}),n,this)})))}},{key:"redirectConfirm",value:function(e){return C(this,null,(0,P.Z)().mark((function n(){return(0,P.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",this.api.post("/transaction/".concat(e,"/redirect_confirm")));case 1:case"end":return n.stop()}}),n,this)})))}},{key:"getTransactionsHistory",value:function(e){return C(this,null,(0,P.Z)().mark((function n(){return(0,P.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",this.api.get("/transaction/history",e));case 1:case"end":return n.stop()}}),n,this)})))}},{key:"downloadPdfReceipt",value:function(e){return C(this,null,(0,P.Z)().mark((function n(){return(0,P.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",this.api.get("/transaction/".concat(e,"/pdf_receipt"),{transaction_id:e},{responseType:"blob"}));case 1:case"end":return n.stop()}}),n,this)})))}},{key:"downloadPdfInvoice",value:function(e){return C(this,null,(0,P.Z)().mark((function n(){return(0,P.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",this.api.get("/transaction/".concat(e,"/pdf_invoice"),{purchase_id:e},{responseType:"blob"}));case 1:case"end":return n.stop()}}),n,this)})))}},{key:"getTransaction",value:function(e){return C(this,null,(0,P.Z)().mark((function n(){return(0,P.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",this.api.get("/transaction/".concat(e)));case 1:case"end":return n.stop()}}),n,this)})))}},{key:"cancelTransaction",value:function(e){return C(this,null,(0,P.Z)().mark((function n(){return(0,P.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",this.api.delete("/transaction/".concat(e)));case 1:case"end":return n.stop()}}),n,this)})))}},{key:"getPaymentInfo",value:function(e){return C(this,null,(0,P.Z)().mark((function n(){return(0,P.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",this.api.get("/transaction/".concat(e,"/payment"),{},{timeout:7e4,headers:(0,b.J)()}));case 1:case"end":return n.stop()}}),n,this)})))}},{key:"getCardsList",value:function(e){return C(this,null,(0,P.Z)().mark((function n(){return(0,P.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",this.api.get("/transaction/".concat(e,"/cards")));case 1:case"end":return n.stop()}}),n,this)})))}},{key:"addNewCard",value:function(e,n){return C(this,null,(0,P.Z)().mark((function t(){var r,o;return(0,P.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=T({},n),u={transaction_id:e,exp_year:2===(null==(r=null==n?void 0:n.exp_year)?void 0:r.length)?"20".concat(null==n?void 0:n.exp_year):n.exp_year},o=x(i,O(u)),t.abrupt("return",this.api.post("/transaction/".concat(e,"/cards"),o));case 2:case"end":return t.stop()}var i,u}),t,this)})))}},{key:"removeCard",value:function(e,n){return C(this,null,(0,P.Z)().mark((function t(){return(0,P.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.api.delete("/transaction/".concat(e,"/cards/").concat(n)));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"payWithCard",value:function(e,n){return C(this,null,(0,P.Z)().mark((function t(){return(0,P.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.api.post("/transaction/".concat(e,"/pay"),n,{timeout:7e4,headers:(0,b.J)()}));case 1:case"end":return t.stop()}}),t,this)})))}}]),e}()},4861:function(e,n,t){"use strict";t.d(n,{V:function(){return r}});var r={myRole:"myRole",myProfile:"myProfile",legalInfo:"legalInfo",imageDetail:function(e,n){return["imageDetail",{id:e,isAuth:n}]},transactionInfo:function(e){return["transactionInfo",{uuid:e}]}}},8725:function(e,n,t){"use strict";t.d(n,{q:function(){return A}});var r=t(74165),o=t(15671),i=t(43144),u=t(37762),a=t(70235),c=t(52868),s=t.n(c),l=t(65907),p=t.n(l),f=Object.defineProperty,d=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,y=function(e,n,t){return n in e?f(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},v=function(e,n){for(var t in n||(n={}))m.call(n,t)&&y(e,t,n[t]);if(d){var r,o=(0,u.Z)(d(n));try{for(o.s();!(r=o.n()).done;){t=r.value;h.call(n,t)&&y(e,t,n[t])}}catch(i){o.e(i)}finally{o.f()}}return e},g=function(e,n){var t={};for(var r in e)m.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&d){var o,i=(0,u.Z)(d(e));try{for(i.s();!(o=i.n()).done;){r=o.value;n.indexOf(r)<0&&h.call(e,r)&&(t[r]=e[r])}}catch(a){i.e(a)}finally{i.f()}}return t},b=function(e,n,t){return new Promise((function(r,o){var i=function(e){try{a(t.next(e))}catch(n){o(n)}},u=function(e){try{a(t.throw(e))}catch(n){o(n)}},a=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(i,u)};a((t=t.apply(e,n)).next())}))},A=function(){function e(n){(0,o.Z)(this,e);var t=n,r=t.headers,i=t.timeout,u=void 0===i?1e4:i,c=g(t,["headers","timeout"]);this.axiosClient=s().create(v({headers:v({Accept:"application/json","content-type":"application/json"},r),timeout:u,paramsSerializer:function(e){return p().stringify(e)},responseType:"json"},c)),(0,a.Z)(this)}return(0,i.Z)(e,[{key:"request",value:function(e){return b(this,null,(0,r.Z)().mark((function n(){var t,o;return(0,r.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return(t=e).fullResponse,o=g(t,["fullResponse"]),n.abrupt("return",this.axiosClient.request(o).then((function(e){return e.data})));case 2:case"end":return n.stop()}}),n,this)})))}},{key:"get",value:function(e,n,t){return b(this,null,(0,r.Z)().mark((function o(){return(0,r.Z)().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this.request(v({url:e,method:"get",params:n},t)));case 1:case"end":return r.stop()}}),o,this)})))}},{key:"post",value:function(e,n,t){return b(this,null,(0,r.Z)().mark((function o(){return(0,r.Z)().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this.request(v({url:e,method:"post",data:n},t)));case 1:case"end":return r.stop()}}),o,this)})))}},{key:"put",value:function(e,n,t){return b(this,null,(0,r.Z)().mark((function o(){return(0,r.Z)().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this.request(v({url:e,method:"put",data:n},t)));case 1:case"end":return r.stop()}}),o,this)})))}},{key:"patch",value:function(e,n,t){return b(this,null,(0,r.Z)().mark((function o(){return(0,r.Z)().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this.request(v({url:e,method:"patch",data:n},t)));case 1:case"end":return r.stop()}}),o,this)})))}},{key:"delete",value:function(e,n,t){return b(this,null,(0,r.Z)().mark((function o(){return(0,r.Z)().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this.request(v({url:e,method:"delete",data:n},t)));case 1:case"end":return r.stop()}}),o,this)})))}}]),e}()},65332:function(e,n,t){"use strict";t.d(n,{D:function(){return a}});var r=t(15671),o=t(43144),i=t(60136),u=t(29388),a=function(e){(0,i.Z)(t,e);var n=(0,u.Z)(t);function t(e){var o,i=e.message,u=e.type,a=e.statusCode,c=e.details;return(0,r.Z)(this,t),(o=n.call(this,i)).name="ApiError",o.type=u,o.message=i,o.statusCode=a,o.details=c,o}return(0,o.Z)(t,[{key:"toString",value:function(){var e;return(null==(e=this.message)?void 0:e.toString())||"Unhandled API error"}}]),t}((0,t(98737).Z)(Error))},52632:function(e,n,t){"use strict";t.d(n,{d:function(){return A}});var r=t(74165),o=t(15671),i=t(43144),u=t(97326),a=t(60136),c=t(29388),s=t(70235),l=t(8725),p=t(65332),f=t(54889),d=t(59656),m=function(e,n,t){return new Promise((function(r,o){var i=function(e){try{a(t.next(e))}catch(n){o(n)}},u=function(e){try{a(t.throw(e))}catch(n){o(n)}},a=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(i,u)};a((t=t.apply(e,n)).next())}))};function h(e){return m(this,null,(0,r.Z)().mark((function n(){var t,o,i;return(0,r.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!("blob"===(null==(t=e.request)?void 0:t.responseType)&&e.response&&e.response.data instanceof Blob&&e.response.data.type&&-1!==e.response.data.type.toLowerCase().indexOf("json"))){n.next=5;break}return n.next=3,e.response.data.text();case 3:return i=n.sent,n.abrupt("return",JSON.parse(i));case 5:return n.abrupt("return",null==(o=e.response)?void 0:o.data);case 6:case"end":return n.stop()}}),n)})))}function y(e){return m(this,null,(0,r.Z)().mark((function n(){return(0,r.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",h(e).then((function(n){if(e.response){var t=e.response.status;return n.detail?new f.n(n,e.response):n.errors?new d.a(n,e.response):new p.D({message:e.message,statusCode:t,details:n})}return e.message?new p.D({message:e.message,statusCode:e.code?+e.code:void 0}):new p.D({message:"Unhandled error happened"})})));case 1:case"end":return n.stop()}}),n)})))}var v=Object.getPrototypeOf,g=Reflect.get,b=function(e,n,t){return new Promise((function(r,o){var i=function(e){try{a(t.next(e))}catch(n){o(n)}},u=function(e){try{a(t.throw(e))}catch(n){o(n)}},a=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(i,u)};a((t=t.apply(e,n)).next())}))},A=function(e){(0,a.Z)(t,e);var n=(0,c.Z)(t);function t(e){var r,i=e.baseURL,a=e.brand,c=e.platform;return(0,o.Z)(this,t),r=n.call(this,{baseURL:i,headers:{"x-brand":a,platform:c}}),(0,s.Z)((0,u.Z)(r)),r}return(0,i.Z)(t,[{key:"request",value:function(e){return b(this,null,(0,r.Z)().mark((function n(){var o=this;return(0,r.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(i=t.prototype,u=this,a="request",g(v(i),a,u)).call(this,e).catch((function(e){return b(o,null,(0,r.Z)().mark((function n(){return(0,r.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,y(e);case 2:throw n.sent;case 3:case"end":return n.stop()}}),n)})))})));case 1:case"end":return n.stop()}var i,u,a}),n,this)})))}}]),t}(l.q)},20273:function(e,n,t){"use strict";t(8725),t(52632),t(65332)},60730:function(){},97863:function(){},8006:function(){},40335:function(e,n,t){"use strict";var r=t(8006);t.o(r,"AppApiProvider")&&t.d(n,{AppApiProvider:function(){return r.AppApiProvider}}),t.o(r,"AuthProvider")&&t.d(n,{AuthProvider:function(){return r.AuthProvider}}),t.o(r,"B2CTransactionType")&&t.d(n,{B2CTransactionType:function(){return r.B2CTransactionType}}),t.o(r,"b2cTypesNaming")&&t.d(n,{b2cTypesNaming:function(){return r.b2cTypesNaming}}),t.o(r,"cacheKeys")&&t.d(n,{cacheKeys:function(){return r.cacheKeys}}),t.o(r,"selectAccessToken")&&t.d(n,{selectAccessToken:function(){return r.selectAccessToken}}),t.o(r,"useApiMutation")&&t.d(n,{useApiMutation:function(){return r.useApiMutation}}),t.o(r,"useApiQuery")&&t.d(n,{useApiQuery:function(){return r.useApiQuery}}),t.o(r,"useAppApi")&&t.d(n,{useAppApi:function(){return r.useAppApi}}),t.o(r,"useAuth")&&t.d(n,{useAuth:function(){return r.useAuth}}),t.o(r,"useAutologin")&&t.d(n,{useAutologin:function(){return r.useAutologin}}),t.o(r,"useImageDetail")&&t.d(n,{useImageDetail:function(){return r.useImageDetail}}),t.o(r,"useMyProfile")&&t.d(n,{useMyProfile:function(){return r.useMyProfile}}),t.o(r,"useUpdateQuery")&&t.d(n,{useUpdateQuery:function(){return r.useUpdateQuery}})},44728:function(e,n,t){"use strict";var r=t(37762),o=Object.defineProperty,i=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,c=function(e,n,t){return n in e?o(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},s=function(e,n){for(var t in n||(n={}))u.call(n,t)&&c(e,t,n[t]);if(i){var o,s=(0,r.Z)(i(n));try{for(s.s();!(o=s.n()).done;){t=o.value;a.call(n,t)&&c(e,t,n[t])}}catch(l){s.e(l)}finally{s.f()}}return e},l={decimals:2,maxValue:999999};s({name:"EUR",apiName:"eur",fullName:"Euro"},l),s({name:"NOK",apiName:"nok",fullName:"Norwegian Krone"},l),s({name:"SEK",apiName:"sek",fullName:"Sweden Krone"},l),s({name:"DKK",apiName:"dkk",fullName:"Denmark Krone"},l),s({name:"USD",apiName:"usd",fullName:"USA Dollar"},l),s({name:"CAD",apiName:"cad",fullName:"Canadian Dollar"},l)},12913:function(e,n,t){"use strict";t.d(n,{B2CTransactionType:function(){return a.B2CTransactionType},b2cTypesNaming:function(){return a.b2cTypesNaming}});var r=t(97863);t.o(r,"AppApiProvider")&&t.d(n,{AppApiProvider:function(){return r.AppApiProvider}}),t.o(r,"AuthProvider")&&t.d(n,{AuthProvider:function(){return r.AuthProvider}}),t.o(r,"B2CTransactionType")&&t.d(n,{B2CTransactionType:function(){return r.B2CTransactionType}}),t.o(r,"b2cTypesNaming")&&t.d(n,{b2cTypesNaming:function(){return r.b2cTypesNaming}}),t.o(r,"cacheKeys")&&t.d(n,{cacheKeys:function(){return r.cacheKeys}}),t.o(r,"selectAccessToken")&&t.d(n,{selectAccessToken:function(){return r.selectAccessToken}}),t.o(r,"useApiMutation")&&t.d(n,{useApiMutation:function(){return r.useApiMutation}}),t.o(r,"useApiQuery")&&t.d(n,{useApiQuery:function(){return r.useApiQuery}}),t.o(r,"useAppApi")&&t.d(n,{useAppApi:function(){return r.useAppApi}}),t.o(r,"useAuth")&&t.d(n,{useAuth:function(){return r.useAuth}}),t.o(r,"useAutologin")&&t.d(n,{useAutologin:function(){return r.useAutologin}}),t.o(r,"useImageDetail")&&t.d(n,{useImageDetail:function(){return r.useImageDetail}}),t.o(r,"useMyProfile")&&t.d(n,{useMyProfile:function(){return r.useMyProfile}}),t.o(r,"useUpdateQuery")&&t.d(n,{useUpdateQuery:function(){return r.useUpdateQuery}});var o=t(60730);t.o(o,"AppApiProvider")&&t.d(n,{AppApiProvider:function(){return o.AppApiProvider}}),t.o(o,"AuthProvider")&&t.d(n,{AuthProvider:function(){return o.AuthProvider}}),t.o(o,"B2CTransactionType")&&t.d(n,{B2CTransactionType:function(){return o.B2CTransactionType}}),t.o(o,"b2cTypesNaming")&&t.d(n,{b2cTypesNaming:function(){return o.b2cTypesNaming}}),t.o(o,"cacheKeys")&&t.d(n,{cacheKeys:function(){return o.cacheKeys}}),t.o(o,"selectAccessToken")&&t.d(n,{selectAccessToken:function(){return o.selectAccessToken}}),t.o(o,"useApiMutation")&&t.d(n,{useApiMutation:function(){return o.useApiMutation}}),t.o(o,"useApiQuery")&&t.d(n,{useApiQuery:function(){return o.useApiQuery}}),t.o(o,"useAppApi")&&t.d(n,{useAppApi:function(){return o.useAppApi}}),t.o(o,"useAuth")&&t.d(n,{useAuth:function(){return o.useAuth}}),t.o(o,"useAutologin")&&t.d(n,{useAutologin:function(){return o.useAutologin}}),t.o(o,"useImageDetail")&&t.d(n,{useImageDetail:function(){return o.useImageDetail}}),t.o(o,"useMyProfile")&&t.d(n,{useMyProfile:function(){return o.useMyProfile}}),t.o(o,"useUpdateQuery")&&t.d(n,{useUpdateQuery:function(){return o.useUpdateQuery}});var i=t(62253);t.o(i,"AppApiProvider")&&t.d(n,{AppApiProvider:function(){return i.AppApiProvider}}),t.o(i,"AuthProvider")&&t.d(n,{AuthProvider:function(){return i.AuthProvider}}),t.o(i,"B2CTransactionType")&&t.d(n,{B2CTransactionType:function(){return i.B2CTransactionType}}),t.o(i,"b2cTypesNaming")&&t.d(n,{b2cTypesNaming:function(){return i.b2cTypesNaming}}),t.o(i,"cacheKeys")&&t.d(n,{cacheKeys:function(){return i.cacheKeys}}),t.o(i,"selectAccessToken")&&t.d(n,{selectAccessToken:function(){return i.selectAccessToken}}),t.o(i,"useApiMutation")&&t.d(n,{useApiMutation:function(){return i.useApiMutation}}),t.o(i,"useApiQuery")&&t.d(n,{useApiQuery:function(){return i.useApiQuery}}),t.o(i,"useAppApi")&&t.d(n,{useAppApi:function(){return i.useAppApi}}),t.o(i,"useAuth")&&t.d(n,{useAuth:function(){return i.useAuth}}),t.o(i,"useAutologin")&&t.d(n,{useAutologin:function(){return i.useAutologin}}),t.o(i,"useImageDetail")&&t.d(n,{useImageDetail:function(){return i.useImageDetail}}),t.o(i,"useMyProfile")&&t.d(n,{useMyProfile:function(){return i.useMyProfile}}),t.o(i,"useUpdateQuery")&&t.d(n,{useUpdateQuery:function(){return i.useUpdateQuery}});var u=t(40335);t.o(u,"AppApiProvider")&&t.d(n,{AppApiProvider:function(){return u.AppApiProvider}}),t.o(u,"AuthProvider")&&t.d(n,{AuthProvider:function(){return u.AuthProvider}}),t.o(u,"B2CTransactionType")&&t.d(n,{B2CTransactionType:function(){return u.B2CTransactionType}}),t.o(u,"b2cTypesNaming")&&t.d(n,{b2cTypesNaming:function(){return u.b2cTypesNaming}}),t.o(u,"cacheKeys")&&t.d(n,{cacheKeys:function(){return u.cacheKeys}}),t.o(u,"selectAccessToken")&&t.d(n,{selectAccessToken:function(){return u.selectAccessToken}}),t.o(u,"useApiMutation")&&t.d(n,{useApiMutation:function(){return u.useApiMutation}}),t.o(u,"useApiQuery")&&t.d(n,{useApiQuery:function(){return u.useApiQuery}}),t.o(u,"useAppApi")&&t.d(n,{useAppApi:function(){return u.useAppApi}}),t.o(u,"useAuth")&&t.d(n,{useAuth:function(){return u.useAuth}}),t.o(u,"useAutologin")&&t.d(n,{useAutologin:function(){return u.useAutologin}}),t.o(u,"useImageDetail")&&t.d(n,{useImageDetail:function(){return u.useImageDetail}}),t.o(u,"useMyProfile")&&t.d(n,{useMyProfile:function(){return u.useMyProfile}}),t.o(u,"useUpdateQuery")&&t.d(n,{useUpdateQuery:function(){return u.useUpdateQuery}});var a=t(34488);t.o(a,"AppApiProvider")&&t.d(n,{AppApiProvider:function(){return a.AppApiProvider}}),t.o(a,"AuthProvider")&&t.d(n,{AuthProvider:function(){return a.AuthProvider}}),t.o(a,"cacheKeys")&&t.d(n,{cacheKeys:function(){return a.cacheKeys}}),t.o(a,"selectAccessToken")&&t.d(n,{selectAccessToken:function(){return a.selectAccessToken}}),t.o(a,"useApiMutation")&&t.d(n,{useApiMutation:function(){return a.useApiMutation}}),t.o(a,"useApiQuery")&&t.d(n,{useApiQuery:function(){return a.useApiQuery}}),t.o(a,"useAppApi")&&t.d(n,{useAppApi:function(){return a.useAppApi}}),t.o(a,"useAuth")&&t.d(n,{useAuth:function(){return a.useAuth}}),t.o(a,"useAutologin")&&t.d(n,{useAutologin:function(){return a.useAutologin}}),t.o(a,"useImageDetail")&&t.d(n,{useImageDetail:function(){return a.useImageDetail}}),t.o(a,"useMyProfile")&&t.d(n,{useMyProfile:function(){return a.useMyProfile}}),t.o(a,"useUpdateQuery")&&t.d(n,{useUpdateQuery:function(){return a.useUpdateQuery}});t(44728)},6796:function(e,n,t){"use strict";t.d(n,{$:function(){return i},A:function(){return u}});var r,o=t(4942),i=function(e){return e[e.purchase=1]="purchase",e[e.sale=2]="sale",e[e.transfer=3]="transfer",e}(i||{}),u=(r={},(0,o.Z)(r,1,"Purchase"),(0,o.Z)(r,2,"Sale"),(0,o.Z)(r,3,"Transfer"),r)},31116:function(){},34488:function(e,n,t){"use strict";t.d(n,{B2CTransactionType:function(){return o.$},b2cTypesNaming:function(){return o.A}});var r=t(31116);t.o(r,"AppApiProvider")&&t.d(n,{AppApiProvider:function(){return r.AppApiProvider}}),t.o(r,"AuthProvider")&&t.d(n,{AuthProvider:function(){return r.AuthProvider}}),t.o(r,"B2CTransactionType")&&t.d(n,{B2CTransactionType:function(){return r.B2CTransactionType}}),t.o(r,"b2cTypesNaming")&&t.d(n,{b2cTypesNaming:function(){return r.b2cTypesNaming}}),t.o(r,"cacheKeys")&&t.d(n,{cacheKeys:function(){return r.cacheKeys}}),t.o(r,"selectAccessToken")&&t.d(n,{selectAccessToken:function(){return r.selectAccessToken}}),t.o(r,"useApiMutation")&&t.d(n,{useApiMutation:function(){return r.useApiMutation}}),t.o(r,"useApiQuery")&&t.d(n,{useApiQuery:function(){return r.useApiQuery}}),t.o(r,"useAppApi")&&t.d(n,{useAppApi:function(){return r.useAppApi}}),t.o(r,"useAuth")&&t.d(n,{useAuth:function(){return r.useAuth}}),t.o(r,"useAutologin")&&t.d(n,{useAutologin:function(){return r.useAutologin}}),t.o(r,"useImageDetail")&&t.d(n,{useImageDetail:function(){return r.useImageDetail}}),t.o(r,"useMyProfile")&&t.d(n,{useMyProfile:function(){return r.useMyProfile}}),t.o(r,"useUpdateQuery")&&t.d(n,{useUpdateQuery:function(){return r.useUpdateQuery}});var o=t(6796),i=(t(21677),t(35771));t.o(i,"AppApiProvider")&&t.d(n,{AppApiProvider:function(){return i.AppApiProvider}}),t.o(i,"AuthProvider")&&t.d(n,{AuthProvider:function(){return i.AuthProvider}}),t.o(i,"cacheKeys")&&t.d(n,{cacheKeys:function(){return i.cacheKeys}}),t.o(i,"selectAccessToken")&&t.d(n,{selectAccessToken:function(){return i.selectAccessToken}}),t.o(i,"useApiMutation")&&t.d(n,{useApiMutation:function(){return i.useApiMutation}}),t.o(i,"useApiQuery")&&t.d(n,{useApiQuery:function(){return i.useApiQuery}}),t.o(i,"useAppApi")&&t.d(n,{useAppApi:function(){return i.useAppApi}}),t.o(i,"useAuth")&&t.d(n,{useAuth:function(){return i.useAuth}}),t.o(i,"useAutologin")&&t.d(n,{useAutologin:function(){return i.useAutologin}}),t.o(i,"useImageDetail")&&t.d(n,{useImageDetail:function(){return i.useImageDetail}}),t.o(i,"useMyProfile")&&t.d(n,{useMyProfile:function(){return i.useMyProfile}}),t.o(i,"useUpdateQuery")&&t.d(n,{useUpdateQuery:function(){return i.useUpdateQuery}});var u=t(78577);t.o(u,"AppApiProvider")&&t.d(n,{AppApiProvider:function(){return u.AppApiProvider}}),t.o(u,"AuthProvider")&&t.d(n,{AuthProvider:function(){return u.AuthProvider}}),t.o(u,"cacheKeys")&&t.d(n,{cacheKeys:function(){return u.cacheKeys}}),t.o(u,"selectAccessToken")&&t.d(n,{selectAccessToken:function(){return u.selectAccessToken}}),t.o(u,"useApiMutation")&&t.d(n,{useApiMutation:function(){return u.useApiMutation}}),t.o(u,"useApiQuery")&&t.d(n,{useApiQuery:function(){return u.useApiQuery}}),t.o(u,"useAppApi")&&t.d(n,{useAppApi:function(){return u.useAppApi}}),t.o(u,"useAuth")&&t.d(n,{useAuth:function(){return u.useAuth}}),t.o(u,"useAutologin")&&t.d(n,{useAutologin:function(){return u.useAutologin}}),t.o(u,"useImageDetail")&&t.d(n,{useImageDetail:function(){return u.useImageDetail}}),t.o(u,"useMyProfile")&&t.d(n,{useMyProfile:function(){return u.useMyProfile}}),t.o(u,"useUpdateQuery")&&t.d(n,{useUpdateQuery:function(){return u.useUpdateQuery}});var a=t(90829);t.o(a,"AppApiProvider")&&t.d(n,{AppApiProvider:function(){return a.AppApiProvider}}),t.o(a,"AuthProvider")&&t.d(n,{AuthProvider:function(){return a.AuthProvider}}),t.o(a,"cacheKeys")&&t.d(n,{cacheKeys:function(){return a.cacheKeys}}),t.o(a,"selectAccessToken")&&t.d(n,{selectAccessToken:function(){return a.selectAccessToken}}),t.o(a,"useApiMutation")&&t.d(n,{useApiMutation:function(){return a.useApiMutation}}),t.o(a,"useApiQuery")&&t.d(n,{useApiQuery:function(){return a.useApiQuery}}),t.o(a,"useAppApi")&&t.d(n,{useAppApi:function(){return a.useAppApi}}),t.o(a,"useAuth")&&t.d(n,{useAuth:function(){return a.useAuth}}),t.o(a,"useAutologin")&&t.d(n,{useAutologin:function(){return a.useAutologin}}),t.o(a,"useImageDetail")&&t.d(n,{useImageDetail:function(){return a.useImageDetail}}),t.o(a,"useMyProfile")&&t.d(n,{useMyProfile:function(){return a.useMyProfile}}),t.o(a,"useUpdateQuery")&&t.d(n,{useUpdateQuery:function(){return a.useUpdateQuery}})},35771:function(){},21677:function(e,n,t){"use strict";var r,o=t(4942);r={},(0,o.Z)(r,1,"Powercash"),(0,o.Z)(r,2,"Unlimit"),(0,o.Z)(r,4,"Emerchantpay"),(0,o.Z)(r,5,"Noovei")},90829:function(){},78577:function(){},62253:function(e,n,t){"use strict";var r=t(28620);t.o(r,"AppApiProvider")&&t.d(n,{AppApiProvider:function(){return r.AppApiProvider}}),t.o(r,"AuthProvider")&&t.d(n,{AuthProvider:function(){return r.AuthProvider}}),t.o(r,"B2CTransactionType")&&t.d(n,{B2CTransactionType:function(){return r.B2CTransactionType}}),t.o(r,"b2cTypesNaming")&&t.d(n,{b2cTypesNaming:function(){return r.b2cTypesNaming}}),t.o(r,"cacheKeys")&&t.d(n,{cacheKeys:function(){return r.cacheKeys}}),t.o(r,"selectAccessToken")&&t.d(n,{selectAccessToken:function(){return r.selectAccessToken}}),t.o(r,"useApiMutation")&&t.d(n,{useApiMutation:function(){return r.useApiMutation}}),t.o(r,"useApiQuery")&&t.d(n,{useApiQuery:function(){return r.useApiQuery}}),t.o(r,"useAppApi")&&t.d(n,{useAppApi:function(){return r.useAppApi}}),t.o(r,"useAuth")&&t.d(n,{useAuth:function(){return r.useAuth}}),t.o(r,"useAutologin")&&t.d(n,{useAutologin:function(){return r.useAutologin}}),t.o(r,"useImageDetail")&&t.d(n,{useImageDetail:function(){return r.useImageDetail}}),t.o(r,"useMyProfile")&&t.d(n,{useMyProfile:function(){return r.useMyProfile}}),t.o(r,"useUpdateQuery")&&t.d(n,{useUpdateQuery:function(){return r.useUpdateQuery}});var o=t(51160);t.o(o,"AppApiProvider")&&t.d(n,{AppApiProvider:function(){return o.AppApiProvider}}),t.o(o,"AuthProvider")&&t.d(n,{AuthProvider:function(){return o.AuthProvider}}),t.o(o,"B2CTransactionType")&&t.d(n,{B2CTransactionType:function(){return o.B2CTransactionType}}),t.o(o,"b2cTypesNaming")&&t.d(n,{b2cTypesNaming:function(){return o.b2cTypesNaming}}),t.o(o,"cacheKeys")&&t.d(n,{cacheKeys:function(){return o.cacheKeys}}),t.o(o,"selectAccessToken")&&t.d(n,{selectAccessToken:function(){return o.selectAccessToken}}),t.o(o,"useApiMutation")&&t.d(n,{useApiMutation:function(){return o.useApiMutation}}),t.o(o,"useApiQuery")&&t.d(n,{useApiQuery:function(){return o.useApiQuery}}),t.o(o,"useAppApi")&&t.d(n,{useAppApi:function(){return o.useAppApi}}),t.o(o,"useAuth")&&t.d(n,{useAuth:function(){return o.useAuth}}),t.o(o,"useAutologin")&&t.d(n,{useAutologin:function(){return o.useAutologin}}),t.o(o,"useImageDetail")&&t.d(n,{useImageDetail:function(){return o.useImageDetail}}),t.o(o,"useMyProfile")&&t.d(n,{useMyProfile:function(){return o.useMyProfile}}),t.o(o,"useUpdateQuery")&&t.d(n,{useUpdateQuery:function(){return o.useUpdateQuery}})},51160:function(){},28620:function(){},59656:function(e,n,t){"use strict";t.d(n,{a:function(){return c}});var r=t(43144),o=t(15671),i=t(82963),u=t(60136),a=t(29388),c=function(e){(0,u.Z)(t,e);var n=(0,a.Z)(t);function t(e,r){var u,a=e.errors,c=r.status;(0,o.Z)(this,t);var s=a[0];return u=s?n.call(this,{message:s.detail,type:s.status,statusCode:c}):n.call(this,{message:"Unhandled API error",statusCode:c}),(0,i.Z)(u)}return(0,r.Z)(t)}(t(65332).D)},54889:function(e,n,t){"use strict";t.d(n,{n:function(){return c}});var r=t(43144),o=t(15671),i=t(82963),u=t(60136),a=t(29388),c=function(e){(0,u.Z)(t,e);var n=(0,a.Z)(t);function t(e,r){var u,a=e.detail,c=r.status;(0,o.Z)(this,t);var s=Array.isArray(a)?a[0]:a;return u="string"===typeof s?n.call(this,{message:s,statusCode:c}):"object"===typeof s?n.call(this,{message:s.msg,type:s.type,statusCode:c}):n.call(this,{message:"Unhandled API error",statusCode:c}),(0,i.Z)(u)}return(0,r.Z)(t)}(t(65332).D)},51663:function(e,n,t){"use strict";t(59656),t(54889)},74586:function(e,n,t){"use strict";t.d(n,{W:function(){return d}});var r=t(37762),o=t(5615),i=t(1754),u=Object.defineProperty,a=Object.defineProperties,c=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,f=function(e,n,t){return n in e?u(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t};function d(e,n,t){return(0,o.useQuery)(e,n,(u=function(e,n){for(var t in n||(n={}))l.call(n,t)&&f(e,t,n[t]);if(s){var o,i=(0,r.Z)(s(n));try{for(i.s();!(o=i.n()).done;)t=o.value,p.call(n,t)&&f(e,t,n[t])}catch(u){i.e(u)}finally{i.f()}}return e}({},t),d={onError:(0,i.Z)(null==t?void 0:t.onError)},a(u,c(d))));var u,d}},1754:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(89526),o=t(81449);function i(e){var n=(0,o.Xl)();return(0,r.useCallback)((function(t){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i1?n-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{},t=n.fallback,r=void 0===t?null:t,u=(0,i.lazy)((function(){return e().catch((function(){return console.error("LazyLoading failed; Reloading the app to fetch the newest index.html version"),window.location.reload(),{default:f}}))}));return(0,i.memo)((function(e){return(0,o.jsx)(i.Suspense,{fallback:r||(0,o.jsx)(f,{}),children:(0,o.jsx)(u,p({},e))})}))}},11205:function(e,n,t){"use strict";t.d(n,{Ee:function(){return Q},GS:function(){return z},H1:function(){return S},H2:function(){return T},H3:function(){return C},H4:function(){return I},H5:function(){return E},H6:function(){return M},QI:function(){return D},SA:function(){return k},V6:function(){return _},nv:function(){return Z},rU:function(){return R}});var r,o,i,u,a,c,s,l,p,f,d,m,h,y,v,g=t(30168),b=t(17513),A=t(565),P=t(91484),w=t(96773),x=(0,b.ZP)(A.rU)(r||(r=(0,g.Z)(["\n color: ",";\n text-decoration: none;\n font-weight: 400;\n &:hover {\n color: ",";\n text-decoration: underline;\n }\n"])),(function(e){return e.theme.palette.primary.main}),(function(e){return e.theme.palette.primary.dark})),O=(0,b.iv)(o||(o=(0,g.Z)(["\n text-decoration: underline;\n transition-duration: 100ms;\n &:hover {\n text-decoration: underline;\n color: ",";\n }\n"])),(function(e){return e.theme.palette.primary.main})),j="1164px",k=b.ZP.div(i||(i=(0,g.Z)(["\n ",";\n max-width: ",";\n margin: 0 auto;\n\n a {\n ",";\n }\n"])),(function(e){var n=e.theme;return(0,w.MB)(n.fontSizes.medium)}),j,O),Z=b.ZP.p(u||(u=(0,g.Z)(["\n margin: 1.25em 0;\n max-width: ",";\n"])),j),S=(0,b.ZP)(P.hM).attrs({asComp:"h1"})(a||(a=(0,g.Z)(["\n margin: 1em 0 1rem;\n ",";\n"])),(0,w.MB)("3.5rem")),T=(0,b.ZP)(P.ot).attrs({asComp:"h2"})(c||(c=(0,g.Z)(["\n margin: 2em 0 0.5em;\n padding-bottom: 0.5em;\n border-bottom: 1px solid rgba(48, 48, 48, 0.7);\n"]))),C=(0,b.ZP)(P.ot).attrs({asComp:"h3"})(s||(s=(0,g.Z)(["\n margin: 2em 0 1em;\n"]))),I=(0,b.ZP)(P.s6).attrs({asComp:"h4"})(l||(l=(0,g.Z)(["\n margin: 2em 0 1em;\n"]))),E=(0,b.ZP)(P.h2).attrs({asComp:"h5"})(p||(p=(0,g.Z)(["\n margin: 2em 0 1em;\n"]))),M=(0,b.ZP)(P.h2).attrs({asComp:"h6"})(f||(f=(0,g.Z)(["\n margin: 1.5em 0 1em;\n"]))),D=b.ZP.ul(d||(d=(0,g.Z)(["\n list-style: none;\n padding-inline-start: 1.5em;\n margin: 1em 0;\n max-width: ",";\n\n & > li {\n width: 100%;\n margin-bottom: 0.75rem;\n\n p {\n display: inline;\n margin: 0;\n }\n\n &:before {\n content: '\\2022';\n color: ",";\n font-weight: bold;\n display: inline-block;\n width: 1.5em;\n //margin-left: -1.5em;\n }\n }\n"],["\n list-style: none;\n padding-inline-start: 1.5em;\n margin: 1em 0;\n max-width: ",";\n\n & > li {\n width: 100%;\n margin-bottom: 0.75rem;\n\n p {\n display: inline;\n margin: 0;\n }\n\n &:before {\n content: '\\\\2022';\n color: ",";\n font-weight: bold;\n display: inline-block;\n width: 1.5em;\n //margin-left: -1.5em;\n }\n }\n"])),j,(function(e){return e.theme.palette.primary.main})),z=b.ZP.ol(m||(m=(0,g.Z)(["\n list-style: none;\n counter-reset: li;\n padding-inline-start: 1.5em;\n margin: 1em 0;\n max-width: ",";\n\n & > li {\n width: 100%;\n counter-increment: li;\n margin-bottom: 0.75rem;\n\n &::before {\n content: counter(li) '.';\n color: ",";\n font-weight: bold;\n display: inline-block;\n width: 1.5em;\n margin-left: -1.5em;\n }\n }\n"])),j,(function(e){return e.theme.palette.primary.main})),_=b.ZP.blockquote(h||(h=(0,g.Z)(["\n ",";\n display: block;\n font-weight: 500;\n padding: 2em 0 0 1em;\n position: relative;\n margin: 3em 0;\n\n &:before {\n content: '';\n position: absolute;\n top: 0;\n left: 1em;\n height: 4px;\n width: 130px;\n background: linear-gradient(260deg, #4eac60 0%, #324a57 100%);\n border-radius: 10rem;\n }\n\n p {\n margin: 0;\n }\n"])),(function(e){var n=e.theme;return(0,w.MB)(n.fontSizes.medium)})),R=(0,b.ZP)(x).attrs({target:"_blank"})(y||(y=(0,g.Z)([""]))),Q=b.ZP.img.attrs({lazy:!0})(v||(v=(0,g.Z)(["\n width: 100%;\n max-height: 700px;\n object-fit: contain;\n\n margin: 2rem 0;\n cursor: zoom-in;\n & > * {\n transition-duration: 200ms;\n }\n\n &:hover {\n & > * {\n transform: scale(1.02);\n }\n }\n"])))},2171:function(e,n,t){"use strict";t.d(n,{cR:function(){return o}});var r=t(11205),o={h1:r.H1,h2:r.H2,h3:r.H3,h4:r.H4,h5:r.H5,h6:r.H6,p:r.nv,ul:r.QI,ol:r.GS,a:r.rU,blockquote:r.V6,img:r.Ee}},84362:function(e,n,t){"use strict";t.d(n,{um:function(){return l},og:function(){return s}});var r,o,i,u=t(30168),a=t(17513),c=t(48123),s=a.ZP.div(r||(r=(0,u.Z)(["\n display: flex;\n width: 100%;\n justify-content: center;\n align-items: center;\n"]))),l=(a.ZP.div(o||(o=(0,u.Z)(["\n display: flex;\n ",";\n ",";\n"])),c.GQ,c.Dh),a.ZP.div(i||(i=(0,u.Z)(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n"]))))},91484:function(e,n,t){"use strict";t.d(n,{NR:function(){return M},z8:function(){return z},Db:function(){return D},in:function(){return U},hM:function(){return _},EU:function(){return B},P9:function(){return L},ot:function(){return F},s6:function(){return Q},h2:function(){return R}});var r,o,i,u,a,c,s,l,p,f,d,m,h=t(37762),y=t(67557),v=t(89526),g=t(18051),b=t(30168),A=t(17513),P=t(48123),w=t(96773),x=A.ZP.div(r||(r=(0,b.Z)(["\n ",";\n ",";\n ",";\n ",";\n ",";\n ",";\n"])),P.cp,P.$_,P.Dh,P.bK,P.GQ,(function(e){var n=e.$responsiveSize;return n?(0,w.MB)(n):void 0})),O=Object.defineProperty,j=Object.defineProperties,k=Object.getOwnPropertyDescriptors,Z=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,C=function(e,n,t){return n in e?O(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},I=(0,v.forwardRef)((function(e,n){var t,r=e,o=r.text,i=r.asComp,u=r.children,a=r.fontSizeResponsive,c=function(e,n){var t={};for(var r in e)S.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&Z){var o,i=(0,h.Z)(Z(e));try{for(i.s();!(o=i.n()).done;)r=o.value,n.indexOf(r)<0&&T.call(e,r)&&(t[r]=e[r])}catch(u){i.e(u)}finally{i.f()}}return t}(r,["text","asComp","children","fontSizeResponsive"]),s=(0,g.Z)(),l=(0,v.useMemo)((function(){if(a){var e=s.fontSizes[a];return null!=e?e:a}}),[a,s]);return(0,y.jsx)(x,(t=function(e,n){for(var t in n||(n={}))S.call(n,t)&&C(e,t,n[t]);if(Z){var r,o=(0,h.Z)(Z(n));try{for(o.s();!(r=o.n()).done;)t=r.value,T.call(n,t)&&C(e,t,n[t])}catch(i){o.e(i)}finally{o.f()}}return e}({ref:n,as:i,$responsiveSize:l},c),j(t,k({children:o?(0,y.jsx)("span",{children:o}):u}))))})),E=(0,v.memo)(I),M=((0,A.ZP)(E).attrs({fontSizeResponsive:"small"})(o||(o=(0,b.Z)([""]))),(0,A.ZP)(E).attrs({fontSizeResponsive:"default"})(i||(i=(0,b.Z)([""])))),D=(0,A.ZP)(E).attrs({fontSizeResponsive:"medium"})(u||(u=(0,b.Z)([""]))),z=(0,A.ZP)(E).attrs({fontSizeResponsive:"large"})(a||(a=(0,b.Z)([""]))),_=(0,A.ZP)(E)(c||(c=(0,b.Z)(["\n font-weight: 400;\n line-height: 1.2;\n letter-spacing: -0.01em;\n font-family: 'Anton', sans-serif;\n ",";\n ",";\n ",";\n ",";\n ",";\n"])),P.cp,P.$_,P.Dh,P.bK,P.GQ),R=(0,A.ZP)(_).attrs({fontSizeResponsive:"small"})(s||(s=(0,b.Z)([""]))),Q=(0,A.ZP)(_).attrs({fontSizeResponsive:"large"})(l||(l=(0,b.Z)([""]))),U=(0,A.ZP)(_).attrs({fontSizeResponsive:"title2rem"})(p||(p=(0,b.Z)([""]))),B=(0,A.ZP)(_).attrs({fontSizeResponsive:"title"})(f||(f=(0,b.Z)([""]))),F=(0,A.ZP)(_).attrs({fontSizeResponsive:"medium"})(d||(d=(0,b.Z)([""]))),L=(0,A.ZP)(_).attrs({fontSizeResponsive:"titleLarge"})(m||(m=(0,b.Z)([""])))},14661:function(e,n,t){"use strict";t.d(n,{e:function(){return r}});var r={brand:{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_BUILD_TARGET:"app",REACT_APP_PAY_URL:"https://pay.stockspicy.com",REACT_APP_ENV:"production",REACT_APP_API_URL:"https://api.stockspicy.com/api/v1"}.REACT_APP_X_BRAND||"stockspicy",apiBaseUrl:"https://api.stockspicy.com/api/v1",appEnv:"production",pciProxyMerchantId:{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_BUILD_TARGET:"app",REACT_APP_PAY_URL:"https://pay.stockspicy.com",REACT_APP_ENV:"production",REACT_APP_API_URL:"https://api.stockspicy.com/api/v1"}.REACT_APP_PCI_PROXY_MERCHANT_ID||""}},75059:function(e,n,t){"use strict";t.d(n,{I:function(){return o}});t(14661);var r=window.origin,o=(new URL(window.origin),{landing:r,termsAndConditions:r+"/docs/terms-of-use",privacyPolicy:r+"/docs/privacy-policy",cookiePolicy:r+"/docs/cookie-policy",buy:"https://pay.stockspicy.com"})},41462:function(e,n,t){"use strict";function r(e,n){var t=e;"string"!==typeof e&&(t=window.URL.createObjectURL(new Blob([e])));var r=document.createElement("a");"string"===typeof t&&(r.href=t),n&&r.setAttribute("download",n),document.body.appendChild(r),r.click()}function o(e,n){return!!e&&Object.prototype.hasOwnProperty.call(e,n)}t.d(n,{$8:function(){return o},yH:function(){return r}})},81449:function(e,n,t){"use strict";t.d(n,{wc:function(){return p.wc},NP:function(){return l},EF:function(){return c},YV:function(){return p.YV},X9:function(){return i},Xl:function(){return u.X},s_:function(){return p.s_},$G:function(){return a.$}});var r=t(29439),o=t(89526);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.initialOpen,t=void 0!==n&&n,i=(0,o.useState)(t),u=(0,r.Z)(i,2),a=u[0],c=u[1],s=(0,o.useCallback)((function(){c(!0)}),[]),l=(0,o.useCallback)((function(){c(!1)}),[]),p=(0,o.useCallback)((function(e){c((function(n){return null!=e?e:!n}))}),[]);return{onOpen:s,onClose:l,open:a,onToggle:p}}var u=t(29174),a=t(39082);t(51289);function c(e){var n=(0,o.useContext)(e);if(!n)throw new Error("useContext must be used within the ");return n}var s=t(82223),l=function(e){var n=e.version,t=e.buildTime;(0,o.useEffect)((function(){document.head.prepend(document.createComment("App version: ".concat(n))),document.head.prepend(document.createComment("Build time: ".concat((0,s.p6)(t))))}),[t,n])},p=t(42636)},29174:function(e,n,t){"use strict";t.d(n,{X:function(){return a}});var r=t(67557),o=t(89526),i=t(11668),u=t(41462),a=function(){var e=(0,i.Ds)().enqueueSnackbar;return(0,o.useCallback)((function(n,t){if(n&&!(0,u.$8)(n,"silent")){var o=t?(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{children:n.toString()}),(0,r.jsx)("div",{style:{fontSize:"0.9em",opacity:.8},children:t})]}):n.toString();e(o,{key:n.toString(),variant:"error",preventDuplicate:!0})}}),[e])}},39082:function(e,n,t){"use strict";t.d(n,{$:function(){return o}});var r=t(51289),o=function(){return(0,r.t)("main")}},51289:function(e,n,t){"use strict";t.d(n,{t:function(){return m}});var r=t(37762),o=t(61698),i=t(89526),u=Object.defineProperty,a=Object.defineProperties,c=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,f=function(e,n,t){return n in e?u(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},d=function(e,n){for(var t in n||(n={}))l.call(n,t)&&f(e,t,n[t]);if(s){var o,i=(0,r.Z)(s(n));try{for(i.s();!(o=i.n()).done;){t=o.value;p.call(n,t)&&f(e,t,n[t])}}catch(u){i.e(u)}finally{i.f()}}return e},m=function(e,n){var t,u=(0,o.$)(e,n),f=u.t,m=function(e,n){var t={};for(var o in e)l.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&s){var i,u=(0,r.Z)(s(e));try{for(u.s();!(i=u.n()).done;)o=i.value,n.indexOf(o)<0&&p.call(e,o)&&(t[o]=e[o])}catch(a){u.e(a)}finally{u.f()}}return t}(u,["t"]),h=(0,i.useCallback)((function(n,t){return f(n,d({ns:e},"object"===typeof t&&t))}),[e,f]);return t=d({},m),a(t,c({t:h}))}},42636:function(e,n,t){"use strict";t.d(n,{wc:function(){return c},YV:function(){return u},s_:function(){return s}});var r=t(74165),o=t(89526),i=t(75059);function u(e){var n=this,t=e.onMessage,u=e.eventSource,a=e.eventName,c=e.sameOrigin,s=void 0!==c&&c,l=(0,o.useCallback)((function(e){return o=n,c=null,l=(0,r.Z)().mark((function n(){var o,c;return(0,r.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:(null==(o=e.data)?void 0:o.source)!==u||(null==(c=e.data)?void 0:c.event)!==a||s&&e.origin!==window.origin&&e.origin!==i.I.buy||t(e.data.payload);case 1:case"end":return n.stop()}}),n)})),new Promise((function(e,n){var t=function(e){try{i(l.next(e))}catch(t){n(t)}},r=function(e){try{i(l.throw(e))}catch(t){n(t)}},i=function(n){return n.done?e(n.value):Promise.resolve(n.value).then(t,r)};i((l=l.apply(o,c)).next())}));var o,c,l}),[a,u,t,s]);(0,o.useEffect)((function(){return window.addEventListener("message",l),function(){window.removeEventListener("message",l)}}),[l])}var a=t(29439),c=function(e){return e[e.popup=0]="popup",e[e.iframe=1]="iframe",e}(c||{});function s(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.origin,r=(0,o.useState)(!!n),i=(0,a.Z)(r,2),u=i[0],s=i[1],l=(0,o.useState)(!1),p=(0,a.Z)(l,2),f=p[0],d=p[1],m=(0,o.useCallback)((function(n){s(!0),e===c.iframe&&(window.location!==window.parent.location?window.parent.postMessage(n,t):d(!0)),e===c.popup&&(window.opener?(window.opener.postMessage(n,t),window.opener.focus(),window.close()):d(!0)),s(!1)}),[e,t]);return(0,o.useEffect)((function(){n&&m(n)}),[n,m]),{isError:f,isLoading:u,postMessage:m}}},86644:function(e,n,t){"use strict";var r=t(37762),o=t(67557),i=t(89526),u=t(11205),a=Object.defineProperty,c=Object.defineProperties,s=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,d=function(e,n,t){return n in e?a(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},m=function(e){var n,t=e,i=t.children,a=function(e,n){var t={};for(var o in e)p.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&l){var i,u=(0,r.Z)(l(e));try{for(u.s();!(i=u.n()).done;)o=i.value,n.indexOf(o)<0&&f.call(e,o)&&(t[o]=e[o])}catch(a){u.e(a)}finally{u.f()}}return t}(t,["children"]);return(0,o.jsx)(u.SA,(n=function(e,n){for(var t in n||(n={}))p.call(n,t)&&d(e,t,n[t]);if(l){var o,i=(0,r.Z)(l(n));try{for(i.s();!(o=i.n()).done;)t=o.value,f.call(n,t)&&d(e,t,n[t])}catch(u){i.e(u)}finally{i.f()}}return e}({},a),c(n,s({children:i}))))};n.Z=(0,i.memo)(m)},3768:function(e,n,t){"use strict";t.d(n,{VZ:function(){return A},KA:function(){return v},mi:function(){return g}});var r=t(6639),o=t(92551),i=t(40239),u=t(37762),a=t(55944),c=function(e){return function(n){!function(e,n){var t=e.findIndex((function(e){return e.id===n.id}));if(t>=0)return t;var r=e.findIndex((function(e){return e.field===n.field}))}(e.filterItems,n)}},s=Object.defineProperty,l=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,d=function(e,n,t){return n in e?s(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},m=function(e,n){for(var t in n||(n={}))p.call(n,t)&&d(e,t,n[t]);if(l){var r,o=(0,u.Z)(l(n));try{for(o.s();!(r=o.n()).done;){t=r.value;f.call(n,t)&&d(e,t,n[t])}}catch(i){o.e(i)}finally{o.f()}}return e},h={filterItems:[]},y=function(e,n){return(0,a.Lq)(m(m({},h),n),(function(n){n.addCase(function(e){return(0,a.PH)("".concat(e,"/changeFilterItems"))}(e),(function(e,n){var t=n.payload;e.filterItems=t})).addCase(function(e){return(0,a.PH)("".concat(e,"/updateFilter"))}(e),(function(e,n){var t=n.payload,r=c(e)(t);void 0!==r&&(e.filterItems[r]=m(m({},e.filterItems[r]),t))})).addCase(function(e){return(0,a.PH)("".concat(e,"/deleteFilter"))}(e),(function(e,n){var t=n.payload,r=c(e)(t);void 0!==r&&e.filterItems.splice(r,1)}))}))},v=function(e){return"".concat(e,"/pagination")},g=function(e){return"".concat(e,"/sorting")},b=function(e){return"".concat(e,"/filter")},A=function(e){return(0,r.UY)({pagination:(0,o.hG)(v(e)),sorting:(0,i.tk)(g(e)),filter:y(b(e))})}},2152:function(e,n,t){"use strict";t.d(n,{YK:function(){return O},OX:function(){return w},Yk:function(){return v},ys:function(){return g},vX:function(){return y},vD:function(){return A},RM:function(){return x},g_:function(){return P},DD:function(){return b},Kk:function(){return j}});var r,o=t(4942),i=t(37762),u=Object.defineProperty,a=Object.defineProperties,c=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,f=function(e,n,t){return n in e?u(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},d=function(e,n){for(var t in n||(n={}))l.call(n,t)&&f(e,t,n[t]);if(s){var r,o=(0,i.Z)(s(n));try{for(o.s();!(r=o.n()).done;){t=r.value;p.call(n,t)&&f(e,t,n[t])}}catch(u){o.e(u)}finally{o.f()}}return e},m=function(e,n){return a(e,c(n))},h=t(3768),y="imagesList",v="downloadedList",g="favouritesList",b="transfersList",A="invoicesList",P="tagsList",w="categoriesList",x="similarList",O="bestList",j=(r=h.VZ,[y,P,w,"sameSeriesList",x,O,v,g,A,b].reduce((function(e,n){return m(d({},e),(0,o.Z)({},n,r(n)))}),{}))},92551:function(e,n,t){"use strict";t.d(n,{lx:function(){return i},oO:function(){return o},hG:function(){return m}});var r=t(55944),o=function(e){return(0,r.PH)("".concat(e,"/changePage"))},i=function(e){return(0,r.PH)("".concat(e,"/changeLimit"))},u=t(37762),a=Object.defineProperty,c=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,p=function(e,n,t){return n in e?a(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},f=function(e,n){for(var t in n||(n={}))s.call(n,t)&&p(e,t,n[t]);if(c){var r,o=(0,u.Z)(c(n));try{for(o.s();!(r=o.n()).done;){t=r.value;l.call(n,t)&&p(e,t,n[t])}}catch(i){o.e(i)}finally{o.f()}}return e},d={page:0,limit:10,limitOptions:[10,25,50]},m=function(e,n){return(0,r.Lq)(f(f({},d),n),(function(n){n.addCase(o(e),(function(e,n){var t=n.payload;e.page=t})).addCase(i(e),(function(e,n){var t=n.payload;e.page=0,e.limit=t}))}))}},40239:function(e,n,t){"use strict";t.d(n,{Ad:function(){return o},tk:function(){return d}});var r=t(55944),o=function(e){return(0,r.PH)("".concat(e,"/changeSortModel"))},i=t(37762),u=Object.defineProperty,a=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,l=function(e,n,t){return n in e?u(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},p=function(e,n){for(var t in n||(n={}))c.call(n,t)&&l(e,t,n[t]);if(a){var r,o=(0,i.Z)(a(n));try{for(o.s();!(r=o.n()).done;){t=r.value;s.call(n,t)&&l(e,t,n[t])}}catch(u){o.e(u)}finally{o.f()}}return e},f={sortModel:{field:"",direction:"asc"}},d=function(e,n){return(0,r.Lq)(p(p({},f),n),(function(n){n.addCase(o(e),(function(e,n){var t=n.payload;e.sortModel=t}))}))}},26806:function(e,n,t){"use strict";t.d(n,{Z:function(){return I}});var r=t(37762),o=t(67557),i=t(89526),u=t(65092),a=t(76941),c=t(71771),s=t(77633),l=t(21558),p=t(33557),f=t(81449),d=function(e){var n=e.title,t=e.text,r=(0,f.$G)().t;return(0,o.jsx)(u.AW,{children:(0,o.jsx)("div",{children:(0,o.jsx)(p.Z,{title:null!=n?n:r("auth.notAllowed"),text:t,nature:"error"})})})},m=(0,i.memo)(d),h=t(1433),y=Object.defineProperty,v=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,A=function(e,n,t){return n in e?y(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},P=function(e){var n=e,t=(n.authorized,n.verified,function(e,n){var t={};for(var o in e)g.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&v){var i,u=(0,r.Z)(v(e));try{for(u.s();!(i=u.n()).done;)o=i.value,n.indexOf(o)<0&&b.call(e,o)&&(t[o]=e[o])}catch(a){u.e(a)}finally{u.f()}}return t}(n,["authorized","verified"])),i=(0,c.useAuth)().isReady,u=(0,c.useMyProfile)();return i?null!=u.error||null==u.data?(0,o.jsx)(m,{title:"Profile loading failed. Please, try reloading the page"}):(0,o.jsx)(a.Z,function(e,n){for(var t in n||(n={}))g.call(n,t)&&A(e,t,n[t]);if(v){var o,i=(0,r.Z)(v(n));try{for(i.s();!(o=i.n()).done;)t=o.value,b.call(n,t)&&A(e,t,n[t])}catch(u){i.e(u)}finally{i.f()}}return e}({},t)):(0,o.jsx)(h.Z,{to:s.jb.views.login.path})},w=t(17690),x=Object.defineProperty,O=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,Z=function(e,n,t){return n in e?x(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},S=function(e,n){for(var t in n||(n={}))j.call(n,t)&&Z(e,t,n[t]);if(O){var o,i=(0,r.Z)(O(n));try{for(i.s();!(o=i.n()).done;){t=o.value;k.call(n,t)&&Z(e,t,n[t])}}catch(u){i.e(u)}finally{i.f()}}return e},T=function(e,n){var t={};for(var o in e)j.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&O){var i,u=(0,r.Z)(O(e));try{for(u.s();!(i=u.n()).done;){o=i.value;n.indexOf(o)<0&&k.call(e,o)&&(t[o]=e[o])}}catch(a){u.e(a)}finally{u.f()}}return t},C=function(e){var n,t=e,r=t.nonAuthorized,i=(t.policies,T(t,["nonAuthorized","policies"])),p=(0,c.useAuth)(),f=p.isReady,d=p.isLoading,h=p.logout,y=(0,c.useMyProfile)();if(y.isLoading||d)return(0,o.jsx)("div",{style:{alignSelf:"center",width:"100%",textAlign:"center"},children:(0,o.jsx)(w.Z,{})});if(f&&"0003"===(null==(n=y.error)?void 0:n.type))return(0,o.jsx)(m,{title:"User is banned. Please contact support",text:(0,o.jsx)(l.Z,{size:"small",color:"success",onClick:h,children:"Log out"})});if(f&&(null!=y.error||null==y.data))return(0,o.jsx)(m,{title:"Profile loading failed. Please, try reloading the page"});if(r&&f)return(0,o.jsx)(u.l_,{to:s.VP.main.path});var v=i,g=v.authorized,b=v.verified,A=T(v,["authorized","verified"]);return g||b?(0,o.jsx)(P,S({},i)):(0,o.jsx)(a.Z,S({},A))},I=(0,i.memo)(C)},17690:function(e,n,t){"use strict";var r=t(67557),o=t(13120),i=t(89526),u=t(65092),a=function(){return(0,r.jsx)(u.AW,{children:(0,r.jsx)(o.Z,{})})};n.Z=(0,i.memo)(a)},1433:function(e,n,t){"use strict";var r=t(67557),o=t(11668),i=t(89526),u=t(65092),a=t(81449);n.Z=function(e){var n=e.errorMsg,t=e.to,c=(0,a.$G)().t,s=(0,o.Ds)().enqueueSnackbar;return(0,i.useEffect)((function(){n&&s(n,{variant:"warning"})}),[s,n,c]),(0,r.jsx)(u.AW,{children:(0,r.jsx)(u.l_,{to:t})})}},35297:function(e,n,t){"use strict";t.d(n,{Z:function(){return r.Z}});var r=t(26806)},76941:function(e,n,t){"use strict";t.d(n,{Z:function(){return b}});var r=t(37762),o=t(67557),i=t(89526),u=t(65092),a=t(66822),c=Object.defineProperty,s=Object.defineProperties,l=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,m=function(e,n,t){return n in e?c(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},h=function(e,n){for(var t in n||(n={}))f.call(n,t)&&m(e,t,n[t]);if(p){var o,i=(0,r.Z)(p(n));try{for(i.s();!(o=i.n()).done;){t=o.value;d.call(n,t)&&m(e,t,n[t])}}catch(u){i.e(u)}finally{i.f()}}return e},y=function(e,n){return s(e,l(n))},v=function(e,n){var t={};for(var o in e)f.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&p){var i,u=(0,r.Z)(p(e));try{for(u.s();!(i=u.n()).done;){o=i.value;n.indexOf(o)<0&&d.call(e,o)&&(t[o]=e[o])}}catch(a){u.e(a)}finally{u.f()}}return t},g=function(e){var n=e,t=n.meta,r=v(n,["meta"]),i=r.component,c=v(r,["component"]);return(0,o.jsx)(u.AW,y(h({},c),{render:function(e){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.Z,h({},t)),(0,o.jsx)(i,y(h(h({},e),c),{meta:t}))]})}}))},b=(0,i.memo)(g)},77633:function(e,n,t){"use strict";t.d(n,{VP:function(){return Z},jb:function(){return o},iN:function(){return T},d0:function(){return S}});var r=t(10881),o={path:"/auth",component:(0,r.u)((function(){return t.e(6813).then(t.bind(t,59746))})),views:{login:{path:"/auth/login",exact:!0,component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(6549),t.e(7886),t.e(7908)]).then(t.bind(t,7908))})),meta:{title:"Sign In to StockSpicy | Manage and Share Your Creative Content",description:"Sign in to your StockSpicy account to upload, organize, and access your premium stock images and videos. Share your creations with a global audience today!"}},register:{path:"/auth/register",exact:!0,component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(8961),t.e(6549),t.e(7886),t.e(3896)]).then(t.bind(t,36747))})),meta:{title:"Register for StockSpicy | Upload and Share Your Creative Assets",description:"Create a StockSpicy account to easily upload, organize, and share your premium stock photos and videos. Join our platform and connect with a worldwide audience today!"}},autoLogin:{path:"/auth/autologin",exact:!0,component:(0,r.u)((function(){return Promise.all([t.e(6549),t.e(8245)]).then(t.bind(t,18245))}))},changeEmailConfirm:{path:"/auth/change-email-confirm",exact:!0,component:(0,r.u)((function(){return t.e(8873).then(t.bind(t,78873))}))}}},i=t(67557),u=t(89526),a=t(65092),c=t(33557),s=t(84362),l=t(39082),p=function(){var e=(0,l.$)().t,n=(0,a.k6)(),t=(0,a.UO)().action;return(0,u.useEffect)((function(){"auth"===t&&(window.parent.location.href=o.views.login.path),t&&"back"!==t||(window.parent.location.href=Z.main.path)}),[n,t]),(0,i.jsx)(s.og,{style:{padding:"1rem"},children:(0,i.jsx)(c.Z,{title:e("paymentRedirect.successMsg"),nature:"success"})})},f=t(37762),d=t(13120),m=t(81449),h=t(71771),y=Object.defineProperty,v=Object.defineProperties,g=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,w=function(e,n,t){return n in e?y(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t},x=function(){try{return window.self!==window.top}catch(e){return!0}};function O(e){var n,t,r=e,o=r.transactionPageUrl,p=function(e,n){var t={};for(var r in e)A.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&b){var o,i=(0,f.Z)(b(e));try{for(i.s();!(o=i.n()).done;)r=o.value,n.indexOf(r)<0&&P.call(e,r)&&(t[r]=e[r])}catch(u){i.e(u)}finally{i.f()}}return t}(r,["transactionPageUrl"]),y=(0,l.$)().t,O=(0,h.useAuth)().isLoading,j=(0,a.k6)(),k=(0,m.s_)(m.wc.iframe,x()?{source:"payment_iframe",event:"on_payment_finished",payload:void 0}:void 0),Z=k.isError,S=k.isLoading;return(0,u.useEffect)((function(){x()?(!function(){try{return window.parent.document,!0}catch(e){return!1}}()||window.location===window.parent.location)&&j.replace(o):O||j.replace(o)}),[j,o,O]),(0,i.jsx)(s.og,(n=function(e,n){for(var t in n||(n={}))A.call(n,t)&&w(e,t,n[t]);if(b){var r,o=(0,f.Z)(b(n));try{for(o.s();!(r=o.n()).done;)t=r.value,P.call(n,t)&&w(e,t,n[t])}catch(i){o.e(i)}finally{o.f()}}return e}({style:{padding:"1rem"}},p),t={children:O||S?(0,i.jsx)(d.Z,{}):Z?(0,i.jsx)(c.Z,{title:y("paymentRedirect.errorMsg"),nature:"error"}):(0,i.jsx)(c.Z,{title:y("paymentRedirect.successMsg"),nature:"success"})},v(n,g(t))))}var j=(0,u.memo)(O),k=function(){var e=(0,a.UO)().uuid;return(0,i.jsx)(j,{transactionPageUrl:(0,a.Gn)(Z.buyProceed.path,{uuid:e})})},Z={main:{path:"/",component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(8961),t.e(1340),t.e(3283),t.e(3059),t.e(6893),t.e(5346),t.e(9328),t.e(974),t.e(7919),t.e(4301)]).then(t.bind(t,12466))})),meta:{title:"StockSpicy | Transform Your Ideas with Stunning Visuals",description:"Discover a curated collection of premium-quality photos, videos, and illustrations that bring your concepts to life. Find visuals that grab attention, evoke emotions, and make a memorable impression."}},contacts:{path:"/contacts",component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(8961),t.e(1340),t.e(3283),t.e(5346),t.e(9328),t.e(974),t.e(7919),t.e(9022)]).then(t.bind(t,2036))})),meta:{title:"Get in Touch with StakeGallery \u2013 Support & Inquiries",description:"Need help or have questions? Our support team is here to assist you."}},about:{path:"/about",component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(8961),t.e(1340),t.e(3283),t.e(5346),t.e(9328),t.e(974),t.e(7919),t.e(6546)]).then(t.bind(t,51485))})),meta:{title:"Discover StockSpicy \u2013 High-Quality Creative Content at Your Fingertips",description:"StockSpicy is your go-to platform for finding and sharing premium stock photos, videos, and creative content. Join our global community of content creators and explore an exceptional range of visuals."}},careers:{path:"/careers",component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(8961),t.e(1340),t.e(3283),t.e(5346),t.e(9328),t.e(974),t.e(7919),t.e(9732)]).then(t.bind(t,66137))})),meta:{title:"About StockSpicy | Discover High-Quality Creative Content",description:"Introducing StockSpicy \u2013 your one-stop platform for finding top-notch images, videos, and creative assets. Dive into our curated collection, designed to fulfill all your creative needs."}},careersDetail:{path:"/careers/:id(designer|frontend|backend|seo)",component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(8961),t.e(1340),t.e(3283),t.e(5346),t.e(9328),t.e(974),t.e(7919),t.e(8515)]).then(t.bind(t,56911))})),meta:{title:"Explore Exciting Career Opportunities | StockSpicy",description:"Discover unique career opportunities at StockSpicy tailored for designers, front-end developers, back-end developers, and SEO specialists."}},contributors:{path:"/content-contributors",component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(8961),t.e(1340),t.e(3283),t.e(5346),t.e(9328),t.e(974),t.e(7919),t.e(8743)]).then(t.bind(t,81987))})),meta:{title:"About StockSpicy | Explore Premium Creative Content",description:"Discover StockSpicy \u2013 your ultimate platform for high-quality images, videos, and creative assets. Browse our curated collection, tailored to meet your creative needs."}},catalog:{path:"/photos",component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(8961),t.e(1340),t.e(3283),t.e(3059),t.e(6893),t.e(4196),t.e(5346),t.e(9328),t.e(974),t.e(7919),t.e(1902)]).then(t.bind(t,81902))})),meta:{title:"StockSpicy | Browse a Wide Selection of Premium Stock Photos",description:"Explore an extensive library of premium stock photos at StockSpicy. Find, browse, and download the perfect visuals for your creative projects\u2014all in one convenient platform."}},videos:{path:"/videos",component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(8961),t.e(1340),t.e(3283),t.e(5346),t.e(9328),t.e(974),t.e(7919),t.e(3499)]).then(t.bind(t,25696))}))},graphics:{path:"/graphics",component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(8961),t.e(1340),t.e(3283),t.e(5346),t.e(9328),t.e(974),t.e(7919),t.e(3499)]).then(t.bind(t,25696))}))},catalogDetailPhoto:{path:"/photos/:id",component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(8961),t.e(1340),t.e(3283),t.e(3059),t.e(6893),t.e(5346),t.e(9328),t.e(974),t.e(7919),t.e(7524)]).then(t.bind(t,47524))}))},buy:{path:"/buy",component:(0,r.u)((function(){return Promise.all([t.e(1909),t.e(1785)]).then(t.bind(t,91785))}))},pricing:{path:"/buy/pricing",component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(8961),t.e(1340),t.e(3283),t.e(9096),t.e(2570),t.e(5346),t.e(9328),t.e(974),t.e(7919),t.e(7279)]).then(t.bind(t,33317))})),meta:{title:"Pricing & FAQ | StockSpicy",description:"Get answers to your questions and explore StockSpicy's flexible pricing options. Discover image plans, credit systems, and licensing designed to meet your creative needs."}},buyProceed:{path:"/buy/:uuid",exact:!0,component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(8961),t.e(1340),t.e(5346),t.e(9328),t.e(974),t.e(8066)]).then(t.bind(t,92145))}))},buyBillingInfo:{path:"/buy/billing-info",exact:!0,component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(8961),t.e(1340),t.e(9096),t.e(4049),t.e(172),t.e(5346),t.e(9328),t.e(974),t.e(1622),t.e(4271)]).then(t.bind(t,46233))}))},paymentRedirect:{path:"/r/:uuid",exact:!0,component:k},b2cRedirect:{path:"/b-back",exact:!0,component:p}},S={profile:{path:"/profile",component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(8961),t.e(1340),t.e(3283),t.e(4196),t.e(5346),t.e(9328),t.e(974),t.e(7919),t.e(5981)]).then(t.bind(t,82049))})),views:{account:{path:"/profile/account",exact:!0,component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(3283),t.e(3399)]).then(t.bind(t,33399))}))},downloads:{path:"/profile/downloads",exact:!0,component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(3059),t.e(9096),t.e(4049),t.e(5346),t.e(4394),t.e(6354)]).then(t.bind(t,86354))}))},favourites:{path:"/profile/favourites",exact:!0,component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(3059),t.e(4394),t.e(4433)]).then(t.bind(t,21108))}))},invoices:{path:"/profile/invoices",exact:!0,component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(3059),t.e(9096),t.e(4049),t.e(5346),t.e(4394),t.e(3455)]).then(t.bind(t,43455))}))},transfers:{path:"/profile/transfers",exact:!0,component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(3059),t.e(4394),t.e(7598)]).then(t.bind(t,21886))}))},following:{path:"/profile/following",exact:!0,component:(0,r.u)((function(){return t.e(7521).then(t.bind(t,87521))}))},collections:{path:"/profile/collections",exact:!0,component:(0,r.u)((function(){return t.e(7521).then(t.bind(t,87521))}))},devices:{path:"/profile/devices",exact:!0,component:(0,r.u)((function(){return t.e(7521).then(t.bind(t,87521))}))},subscription:{path:"/profile/billing",exact:!0,component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(8961),t.e(1340),t.e(9096),t.e(4049),t.e(172),t.e(5346),t.e(9328),t.e(1622),t.e(9731)]).then(t.bind(t,39731))}))}}}},T={docs:{path:"/docs",component:(0,r.u)((function(){return Promise.all([t.e(3383),t.e(1909),t.e(577),t.e(8961),t.e(1340),t.e(3283),t.e(5346),t.e(9328),t.e(974),t.e(7919),t.e(9484)]).then(t.bind(t,4184))})),views:{refundPolicy:{path:"/docs/refund-policy",component:(0,r.u)((function(){return t.e(604).then(t.bind(t,10604))})),meta:{title:"",description:""}},imprint:{path:"/docs/imprint",component:(0,r.u)((function(){return t.e(911).then(t.bind(t,911))})),meta:{title:"Legal Information and Imprint | StockSpicy",description:"Explore StockSpicy's legal information and imprint page. Get insights into our terms, policies, and compliance standards."}},privacyPolicy:{path:"/docs/privacy-policy",component:(0,r.u)((function(){return t.e(5045).then(t.bind(t,85045))})),meta:{title:"Privacy Policy | StockSpicy",description:"Review StockSpicy's Privacy Policy to understand how we safeguard your data and prioritize your privacy."}},termsOfUse:{path:"/docs/terms-of-use",component:(0,r.u)((function(){return t.e(464).then(t.bind(t,60464))})),meta:{title:"Terms of Use | StockSpicy",description:"Explore StockSpicy's Terms of Use to understand the guidelines governing your creative journey on our platform. Learn about usage policies, rights, and responsibilities."}},licenseAgreement:{path:"/docs/content-license-agreement",component:(0,r.u)((function(){return t.e(7291).then(t.bind(t,27291))})),meta:{title:"Content License Agreement | StockSpicy",description:"Understand the terms and conditions for licensing creative content on StockSpicy. Learn how to use our premium images, designs, and mockups."}},membershipAgreement:{path:"/docs/user-agreement",component:(0,r.u)((function(){return t.e(5433).then(t.bind(t,75433))})),meta:{title:"User Agreement | StockSpicy",description:"Review StockSpicy's User Agreement to understand the terms and conditions for accessing premium creative content on our platform."}},editorialAgreement:{path:"/docs/editorial-content-supply-agreement",component:(0,r.u)((function(){return t.e(5142).then(t.bind(t,45142))})),meta:{title:"Editorial Content Supply Agreement | StockSpicy",description:"Explore StockSpicy's Editorial Content Supply Agreement to understand the terms and conditions for collaborating and supplying editorial content on our platform."}}}}}},42682:function(e,n,t){"use strict";t.d(n,{o:function(){return i}});var r="px",o={mobileS:320,mobileM:375,mobileL:425,tabletS:600,tablet:768,tabletL:992,laptop:1024,laptopS:1199,laptopM:1280,laptopL:1440,desktop:2560,collapseAppBar:800,lg:1280,md:960,sm:600,xl:1920,xs:0},i=function(e){var n;return"number"===typeof e?e:null!=(n=o[e])?n:e},u={unit:r,values:o,get down(){return function(e){var n="".concat(i(e)-.5).concat(r);return"@media (max-width:".concat(n,")")}},get up(){return function(e){var n="".concat(i(e)).concat(r);return"@media (min-width:".concat(n,")")}}};n.Z=u},93504:function(e,n,t){"use strict";t.d(n,{W:function(){return r},p:function(){return o}});var r=10,o={small:4,default:6,medium:8,large:50}},99643:function(e,n,t){"use strict";t.d(n,{CH:function(){return r},Vl:function(){return o}});var r={superSmall:"0.625rem",extraSmall:"0.75rem",small:"0.875rem",default:"1rem",medium:"1.25rem",large:"1.5rem",title2rem:"2rem",titleSmall:"1.75rem",title:"2.5rem",titleLarge:"3.75rem"},o={default:"PlusJakartaSans, sans-serif",title:"Anton, sans-serif"},i={fontSize:16,fontSizes:r,fontFamily:o.default,fontFamilies:o,h1:{fontWeight:400,fontSize:r.titleLarge,fontFamily:o.title},h2:{fontWeight:400,fontSize:r.title2rem},h3:{fontWeight:400,fontSize:r.large},h4:{fontWeight:400,fontSize:r.large},h5:{fontWeight:400,fontSize:r.medium},h6:{fontWeight:400,fontSize:r.medium},body1:{fontSize:r.default},subtitle1:{fontWeight:500,fontSize:r.default},subtitle2:{fontWeight:500,fontSize:r.small},subtitle3:{fontWeight:500,fontSize:r.extraSmall},smallCaption:{fontWeight:500,fontSize:r.superSmall}};n.ZP=i},96773:function(e,n,t){"use strict";t.d(n,{_y:function(){return s},kr:function(){return p},MB:function(){return x},ze:function(){return w}});var r,o,i,u=t(30168),a=t(17513),c=t(72945),s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width,t=void 0===n?"1px":n;return(0,a.iv)(r||(r=(0,u.Z)(["\n position: absolute;\n inset: 0;\n z-index: 1;\n border-radius: inherit;\n pointer-events: none;\n padding: ",";\n\n background: radial-gradient(ellipse 60% 90% at 55% 55%, #c0f3c8 25%, rgba(103, 194, 229, 0.2));\n background-size: auto;\n mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);\n -webkit-mask-composite: destination-out;\n mask-composite: exclude;\n"])),t)},l=function(){return(0,a.iv)(o||(o=(0,u.Z)(["\n appearance: none;\n outline: none;\n background: none;\n border: none;\n border-radius: 0;\n padding: 0;\n margin: 0;\n font-weight: inherit;\n color: inherit;\n cursor: pointer;\n transition-duration: 150ms;\n width: max-content;\n"])))},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.color,t=void 0===n?"inherit":n,r=e.underline,o=void 0===r?"hover":r,s=e.darkenCoef,p=void 0===s?.2:s;return(0,a.iv)(i||(i=(0,u.Z)(["\n ",";\n color: ",";\n text-decoration: ",";\n\n &:hover {\n color: ",";\n text-decoration: ",";\n }\n"])),l(),t,"always"===o?"underline":"none",(0,c._j)(t,p),"none"!==o?"underline":"none")},f=t(4942),d=t(37762),m=t(42682),h=Object.defineProperty,y=Object.defineProperties,v=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,P=function(e,n,t){return n in e?h(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t};function w(e){var n=e.cssProperty,t=e.min,r=e.max,o=e.unit,i=void 0===o?"rem":o,u=e.breakpoints,a=void 0===u?[600,960,1280]:u,c=(r-t)/a[a.length-1];return a.reduce((function(e,r){var o,u,a=t+c*r;return o=function(e,n){for(var t in n||(n={}))b.call(n,t)&&P(e,t,n[t]);if(g){var r,o=(0,d.Z)(g(n));try{for(o.s();!(r=o.n()).done;)t=r.value,A.call(n,t)&&P(e,t,n[t])}catch(i){o.e(i)}finally{o.f()}}return e}({},e),u=(0,f.Z)({},"@media (min-width:".concat(r,"px)"),(0,f.Z)({},n,"".concat(Math.round(1e3*a)/1e3).concat(i))),y(o,v(u))}),(0,f.Z)({},n,"".concat(t).concat(i)))}function x(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.factor,r=void 0===t?3:t,o=n.breakpoints,i=void 0===o?["mobileL","tabletS","tablet","tabletL","laptopM"]:o,u=n.unit,a=void 0===u?"rem":u,c="number"!==typeof e?parseFloat(e):e,s=1+(c-1)/r;return w({max:c,min:s,cssProperty:"fontSize",breakpoints:i.map(m.o),unit:a})}},72795:function(e,n,t){"use strict";t.d(n,{J:function(){return r}});var r=function(){return{"x-fp-timezone":((new Date).getTimezoneOffset()||0).toString(),"x-fp-color-depth":window.screen.colorDepth.toString(),"x-fp-screen-height":window.screen.width.toString(),"x-fp-screen-width":window.screen.height.toString(),"x-fp-window-width":document.body.clientWidth.toString(),"x-fp-window-height":document.body.clientHeight.toString(),"x-fp-java-enabled":((null==navigator?void 0:navigator.javaEnabled())||!1).toString(),"x-fp-timezone-name":Intl.DateTimeFormat().resolvedOptions().timeZone}}},24654:function(){}}]); //# sourceMappingURL=4876.c4e0c6c6.chunk.js.map