PageSourceSearch

https://youcontrol.market/_next/static/chunks/pages/purchase/[status]-ca58b80046dff77a.js

js youcontrol.market collected 2026-10-01 12:37:34 UTC 11,637 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1753,4430],{3253:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/purchase/[status]",function(){return t(6022)}])},331:function(e,n,t){"use strict";var r=t(7294),i="undefined"!==typeof document?document:{};n.Z=function(){var e=(0,r.useRef)(),n=i.documentElement,t=i.body;return[function(){if(t&&t.style&&!e.current){var r=window.innerWidth-n.clientWidth,i=parseInt(window.getComputedStyle(t).getPropertyValue("padding-right"))||0;n.style.position="relative",n.style.overflow="hidden",t.style.position="relative",t.style.overflow="hidden",t.style.paddingRight="".concat(i+r,"px"),e.current=!0}},function(){t&&t.style&&e.current&&(n.style.position="",n.style.overflow="",t.style.position="",t.style.overflow="",t.style.paddingRight="",e.current=!1)}]}},7942:function(e,n,t){"use strict";var r=t(7294),i=t(4697);n.Z=function(){var e=(0,r.useState)(0),n=e[0],t=e[1],u=(0,i.y1)((function(){t(window.pageYOffset)}),5);return(0,r.useEffect)((function(){return window.addEventListener("scroll",u),function(){window.removeEventListener("scroll",u)}}),[u]),n}},4430:function(e,n,t){"use strict";t.r(n);var r=t(828),i=t(5893),u=t(7294),c=t(1163),o=t(2746),l=t(5697),a=t.n(l),s=t(603),d=t(2432),f=t(5633),v=t(331),p=t(1232),m=t(784),h=t(1008),x=t(7101),g=t(6499),w=t(227),b=t(5257),y=(0,u.forwardRef)((function(e,n){var t=e.simple,l=void 0!==t&&t,a=o.useTranslations,y=a("header-t"),j=a("buttons-t"),N=(0,c.useRouter)(),k=N.locale,_=N.defaultLocale,Z=(0,r.Z)((0,v.Z)(),2),R=Z[0],E=Z[1],S=(0,u.useState)(!1),C=S[0],L=S[1],T=(0,d.t)((function(e){return e.isAuth})),z=(0,f.i)((function(e){return e.banners})),M=null===z||void 0===z?void 0:z.find((function(e){return 1===(null===e||void 0===e?void 0:e.type)}));return(0,u.useEffect)((function(){var e,n;C?(R(),null===(e=null===document||void 0===document?void 0:document.querySelector("#chat-widget-container"))||void 0===e||e.classList.add("hidden")):(E(),null===(n=null===document||void 0===document?void 0:document.querySelector("#chat-widget-container"))||void 0===n||n.classList.remove("hidden"));return function(){return E()}}),[E,R,C]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("header",{ref:n,className:"fixed inset-x-0 top-0 z-[100]",children:[(0,i.jsx)("span",{className:(0,s.cx)(M?"opacity-100":"opacity-0","transition-opacity ease-in duration-500"),children:M&&(0,i.jsx)(m.Z,{banner:M})}),!l&&(0,i.jsx)("div",{className:"absolute inset-x-0 top-0 z-0 w-full h-full bg-black-rgba_15 rounded-b-[20px] backdrop-blur-[50px]"}),(0,i.jsx)("div",{className:"relative z-10 flex items-center px-4 py-2",children:(0,i.jsxs)("div",{className:(0,s.cx)(l?"text-base":"text-white","w-full flex items-center"),children:[(0,i.jsx)(h.Z,{link:"/"!==(null===N||void 0===N?void 0:N.pathname),mainColor:l?"var(--dark-200)":"var(--white)",stopColor1:l?"var(--dark-200)":"var(--white)",stopColor2:l?"var(--dark-200)":"var(--white)"}),(0,i.jsxs)("div",{className:"ml-auto flex items-center",children:[(0,i.jsx)(x.Z,{}),!l&&(0,i.jsx)("button",{id:"burgerButton","aria-label":"Burger",className:"ml-1",onClick:function(){return L(!C)},children:(0,i.jsx)(b.J,{type:C?"close":"burger",color:l?"var(--dark-200)":"var(--white)"})})]})]})})]}),C&&(0,i.jsxs)("div",{className:"px-4 pt-16 pb-10 bg-dark-200 font-medium text-white fixed inset-0 flex flex-col z-[99]",children:[(0,i.jsx)("div",{className:"my-auto grid grid-cols-[100%] gap-y-6 items-center",children:(0,i.jsx)(g.Z,{t:y,locale:k,defaultLocale:_})}),(0,i.jsxs)("div",{className:"mt-4 grid grid-cols-[100%] gap-y-3",children:[(0,i.jsx)(w.default,{id:"loginMobile",propClassName:"w-full text-center",type:"link",mode:T?"white":"white-transparent",label:j(T?"login_system":"login"),link:(0,p.Z)(T,k,_)}),!T&&(0,i.jsx)(w.default,{id:"registerMobile",propClassName:"w-full text-center",type:"link",mode:"white",label:j("try_free"),link:(0,p.Z)(T,k,_,"",!1)})]})]})]})}));y.displayName="AppHeaderMobile",n.default=y,y.propTypes={simple:a().bool}},4471:function(e,n,t){"use strict";t.d(n,{j:function(){return m}});var r=t(5893),i=t(1163),u=t(113),c=t(603),o=t(2368),l=t(7942),a=t(1087),s=t(5633),d=t(9299),f=t(4430),v=t
1(4320),p=function(e){var n=e.children,t=(0,i.useRouter)(),p=(0,u.Z)("(max-width: ".concat(o.ub,"px)"),!1),m=(0,l.Z)(),h=(0,s.i)((function(e){return e.banners})),x=null===h||void 0===h?void 0:h.find((function(e){return 1===(null===e||void 0===e?void 0:e.type)})),g="/analiz-klientiv-ta-konkurentiv"===t.pathname?"var(--linear-gradient-green)":"";return(0,r.jsxs)("div",{className:"min-h-screen flex flex-col bg-dark-200",children:[p?(0,r.jsx)(f.default,{bg:"/pricing"!==(null===t||void 0===t?void 0:t.route)&&!a.ep.cases.find((function(e){return e===(null===t||void 0===t?void 0:t.route)}))||m>100}):(0,r.jsx)(d.Z,{bg:"/pricing"!==(null===t||void 0===t?void 0:t.route)&&!a.ep.cases.find((function(e){return e===(null===t||void 0===t?void 0:t.route)}))||m>50}),(0,r.jsx)("main",{className:(0,c.cx)("bg-dark-200","/404"===(null===t||void 0===t?void 0:t.route)||a.ep.cases.find((function(e){return e===(null===t||void 0===t?void 0:t.route)}))||a.ep.forWhom.find((function(e){return e===(null===t||void 0===t?void 0:t.route)}))||a.ep.hromades.find((function(e){return e===(null===t||void 0===t?void 0:t.route)}))||(null===t||void 0===t?void 0:t.route.includes("status"))?"":x?"pt-28":"pt-20"),style:{background:g},children:n}),(0,r.jsx)(v.Z,{})]})},m=function(e){return(0,r.jsx)(p,{children:e})}},6022:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return Z},default:function(){return R}});var r=t(7568),i=t(7297),u=t(7582),c=t(5893),o=t(7294),l=t(1163),a=t(5152),s=t.n(a),d=t(5675),f=t.n(d),v=t(2746),p=t(603),m=t(2368),h=t(1232),x=t(6282),g=t(9725),w=t(4471),b=t(8431),y=t(5257);function j(){var e=(0,i.Z)(["\n    button {\n      font-size: 14px;\n    }\n  "]);return j=function(){return e},e}function N(){var e=(0,i.Z)(["\n    .svg {\n      top: 50%;\n      left: 50%;\n      width: 119.53125vw;\n      height: 119.53125vw;\n      max-width: unset;\n      transform: translate(-50%, -50%);\n\n      "," {\n        width: 231.11111vw;\n        height: 231.11111vw;\n      }\n    }\n  "]);return N=function(){return e},e}function k(){var e=(0,i.Z)(["\n  background: var(--linear-gradient-green);\n  background-clip: text;\n  text-fill-color: transparent;\n"]);return k=function(){return e},e}var _=s()((function(){return Promise.resolve().then(t.bind(t,227))}),{loadableGenerated:{webpack:function(){return[227]}},ssr:!1}),Z=!0;function R(e){var n,t=e.specificStatus,i=(0,v.useTranslations)("status-t"),a=(0,l.useRouter)(),s=a.locale,d=a.defaultLocale,m=(0,o.useState)(),w=m[0],j=m[1],N=(0,x.t)((function(e){return e.offerings})),k=(0,x.t)((function(e){return e.statusPage})),Z=(0,x.t)((function(e){return e.purchaseId})),R=(0,x.t)((function(e){return e.purchaseStatusLang})),L=(0,x.t)((function(e){return e.errorInfo})),T=(0,x.t)((function(e){return e.status})),z=function(e){return 0===Object.keys(e).length&&e.constructor===Object},M=function(){var e=(0,r.Z)((function(e){return(0,u.__generator)(this,(function(n){switch(n.label){case 0:switch(e){case"home":return[3,1];case"product":return[3,3];case"retry":return[3,4]}return[3,6];case 1:return[4,a.push("/")];case 2:case 5:return n.sent(),[3,6];case 3:return window.open((0,h.Z)(!1,s,d),"_self"),[3,6];case 4:return[4,a.push(g.Z.get("RetryUrl")?decodeURIComponent(g.Z.get("RetryUrl")):"/pricing/")];case 6:return[2]}}
1))}));return function(n){return e.apply(this,arguments)}}();return(0,o.useEffect)((function(){Z&&R&&R!==s&&T(s,Z)}),[s,Z,R,T]),(0,o.useEffect)((function(){N&&N.length&&j(N.find((function(e){return e.id===g.Z.get("purchaseId")})))}),[N]),(0,o.useEffect)((function(){k||a.push("/")}),[a,k]),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(b.Z,{title:z(L)?i.rich("".concat(t,".title"),{plan:null===w||void 0===w?void 0:w.title,period:null===w||void 0===w?void 0:w.periodTitle}):L.title,description:z(L)?i("".concat(t,".text")):null===L||void 0===L?void 0:L.description}),(0,c.jsxs)("section",{className:E,children:[(0,c.jsx)("div",{className:S,children:(0,c.jsx)("div",{className:"absolute svg",children:(0,c.jsx)(f(),{src:"/img/404.svg",alt:"404",layout:"fill",loading:"lazy"})})}),(0,c.jsx)("div",{className:"relative z-10 contain flex justify-center items-center animate-fadeSlow",children:(0,c.jsxs)("div",{className:"w-full text-center animate-fadeSmooth",style:{maxWidth:"42rem"},children:["status"!==t&&(0,c.jsx)("div",{className:"mb-8 lg:mb-10 flex justify-center",children:(0,c.jsx)(y.J,{type:"status-".concat(t)})}),(0,c.jsx)("h1",{className:"mb-6 lg:mb-7 lg:pb-0.5 font-medium text-2xl lg:text-[32px] leading-[130%] text-white",children:z(L)?i.rich("".concat(t,".title"),{plan:(0,c.jsx)("span",{className:(0,p.cx)(C,"inline-block"),children:null===w||void 0===w?void 0:w.title},"plan"),period:(0,c.jsx)("span",{className:(0,p.cx)(C,"inline-block"),children:null===w||void 0===w||null===(n=w.periodTitle)||void 0===n?void 0:n.toLowerCase()},"period")}):null===L||void 0===L?void 0:L.title}),(0,c.jsx)("p",{className:"mb-8 lg:mb-10 font-medium text-sm lg:text-[16px] leading-[150%] text-white ",children:z(L)?i("".concat(t,".text")):null===L||void 0===L?void 0:L.description}),(0,c.jsx)(_,{id:z(L)?i("".concat(t,".id")):i("".concat(t,".id_try_again")),mode:"gradient",label:z(L)?i("".concat(t,".label")):i("".concat(t,".try_again")),link:"/",sendData:function(){return M(z(L)?i("".concat(t,".id")):i("".concat(t,".id_try_again")))}})]})})]})]})}R.getLayout=w.j;var E="py-5 relative flex flex-col justify-center items-center w-full h-screen border-b border-solid border-white overflow-hidden "+(0,p.iv)(j()),S="absolute z-0 top-0 left-0 w-full h-full overflow-hidden pointer-events-none "+(0,p.iv)(N(),m.w4.get("lg")),C=(0,p.iv)(k())},4697:function(e,n,t){"use strict";t.d(n,{y1:function(){return i}});var r=t(7294);function i(e,n,t){var i=this,u=(0,r.useRef)(null),c=(0,r.useRef)(0),o=(0,r.useRef)(null),l=(0,r.useRef)([]),a=(0,r.useRef)(),s=(0,r.useRef)(),d=(0,r.useRef)(e),f=(0,r.useRef)(!0);(0,r.useEffect)((function(){d.current=e}),[e]);var v=!n&&0!==n&&"undefined"!=typeof window;if("function"!=typeof e)throw new TypeError("Expected a function");n=+n||0;var p=!!(t=t||{}).leading,m=!("trailing"in t)||!!t.trailing,h="maxWait"in t,x=h?Math.max(+t.maxWait||0,n):null;(0,r.useEffect)((function(){return f.current=!0,function(){f.current=!1}}),[]);var g=(0,r.useMemo)((function(){var e=function(e){var n=l.current,t=a.current;return l.current=a.current=null,c.current=e,s.current=d.current.apply(t,n)},t=function(e,n){v&&cancelAnimationFrame(o.current),o.current=v?requestAnimationFrame(e):setTimeout(e,n)},r=function(e){if(!f.current)return!1;var t=e-u.current;return!u.current||t>=n||t<0||h&&e-c.current>=x},g=function(n){return o.current=null,m&&l.current?e(n):(l.current=a.current=null,s.current)},w=function e(){var i=Date.now();if(r(i))return g(i);if(f.current){var o=n-(i-u.current),l=h?Math.min(o,x-(i-c.current)):o;t(e,l)}},b=function(){var d=Date.now(),v=r(d);if(l.current=[].slice.call(arguments),a.current=i,u.current=d,v){if(!o.current&&f.current)return c.current=u.current,t(w,n),p?e(u.current):s.current;if(h)return t(w,n),e(u.current)}return o.current||t(w,n),s.current};return b.cancel=function(){o.current&&(v?cancelAnimationFrame(o.current):clearTimeout(o.current)),c.current=0,l.current=u.current=a.current=o.current=null},b.isPending=function(){return!!o.current},b.flush=function(){return o.current?g(Date.now()):s.current},b}),[p,h,n,x,m,v]);return g}}},function(e){e.O(0,[7914,6812,8962,9774,2888,179],(function(){return n=3253,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.