PageSourceSearch

https://puzzlezilla.ru/_next/static/chunks/1346-2ae88cb098133d93.js

js puzzlezilla.ru collected 2026-10-05 00:18:56 UTC 7,218 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1346],{3689:function(e,s,n){"use strict";n.d(s,{Z:function(){return r}});var l=n(85893),t=n(51479),i=n(79352);function r(e){let{rank:s,nowPercent:n,nowQty:r,nextQty:a}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"d-flex justify-content-between",children:[(0,l.jsxs)("div",{className:"fs-4 d-flex align-items-center text-success",children:[(0,l.jsx)(i.QhI,{})," ",(0,l.jsx)("span",{className:"ms-2 fs-5",children:s})]}),(0,l.jsx)("div",{className:"fs-4 text-secondary",children:(0,l.jsx)(i.QhI,{})})]}),(0,l.jsx)(t.Z,{variant:"success",animated:!0,now:n,label:r})]})}},22909:function(e,s,n){"use strict";n.d(s,{Z:function(){return g}});var l=n(85893),t=n(67294),i=n(6212),r=n(25675),a=n.n(r),c=n(89583),o=n(86893),d=n(2585),u=n(5152),m=n.n(u),x=n(78945),v=n(40782),p=n(55827);function h(){let{confirmProfile:e,loading:s}=function(){let[e,s]=(0,t.useState)(!1),n=(0,t.useRef)(null);return{confirmProfile:async function(){n.current&&n.current.abort(),n.current=new AbortController,s(!0);try{let e=await x.Z.post("/api/proxy-get",{url:"/profile/confirm"},{signal:n.current.signal});return s(!1),e.data}catch(n){if(s(!1),"AbortError"===n.name||"CanceledError"===n.name)return null;{var e,l,t;let s=(null==n?void 0:null===(e=n.response)||void 0===e?void 0:null===(l=e.data)||void 0===l?void 0:l.message)||(null==n?void 0:n.message);null==n||null===(t=n.response)||void 0===t||t.status,v.Am.error(s)}}},loading:e}}(),[n,i]=(0,t.useState)(null),{t:r}=(0,p.Z)("components.web.ProfileStatus");return(0,l.jsx)(l.Fragment,{children:s?(0,l.jsxs)("div",{className:"d-flex align-items-center",children:[(0,l.jsx)("div",{className:"spinner-border spinner-border-sm me-2",role:"status",children:(0,l.jsx)("span",{className:"visually-hidden",children:"Loading..."})}),r("sending"),"..."]}):null===n?(0,l.jsx)("u",{role:"button",onClick:()=>{e().then(e=>{i(e)})},children:r("send")}):!0===n?(0,l.jsxs)("span",{className:"text-success",children:[r("s_su"),"!"]}):(0,l.jsxs)("span",{className:"text-danger",children:[r("s_er"),"!"]})})}var j=n(3689),f=n(20987);function N(e){let{t:s}=e,[n,i]=(0,t.useState)([]),[r,c]=(0,t.useState)(!0);return((0,t.useEffect)(()=>{let e=x.Z.CancelToken.source();return x.Z.post("/api/proxy-get",{url:"/profile/my-progress"},{cancelToken:e.token}).then(e=>{c(!1),i(e.data)}).catch(function(e){x.Z.isCancel(e)?console.log("request cancelled:".concat(e.message)):console.log("another error happened:"+e.message)}),function(){e.cancel()}},[]),r)?(0,l.jsx)(f.Z,{size:200}):(0,l.jsx)(l.Fragment,{children:n.map((e,n)=>(0,l.jsxs)("div",{className:"row mb-3 align-items-center",children:[(0,l.jsx)("div",{className:"col-3 ",children:(0,l.jsx)(a(),{alt:(null==e?void 0:e.title)?e.title:"",width:250,height:250,src:"/lvls/".concat((null==e?void 0:e.badge)?e.badge:"blurimg.png"),priority:!0,className:"border ".concat(e.isCurrent&&"border-dark")})}),(0,l.jsxs)("div",{className:"col-9",children:[(0,l.jsx)("div",{className:"fs-5 d-block  ".concat(e.isCurrent&&"fw-bold"),children:(null==e?void 0:e.title)?e.title:(0,l.jsx)("span",{style:{textShadow:"#111 0 0 8px",color:"transparent"},children:s("nlvl")})}),(0,l.jsxs)("span",{className:"text-muted",children:[s("exp"),": ",e.exp]})]})]},n))})}let b=m()(()=>n.e(8708).then(n.bind(n,98708)),{loadableGenerated:{webpack:()=>[98708]},ssr:!1});function g(e){var s,n,r,u,m,x,v,f,g,k;let{data:y}=e,{t:w}=(0,p.Z)("components.web.ProfileStatus"),[Z,_]=(0,t.useState)(!1);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"container py-5",children:(0,l.jsx)("div",{className:"row justify-content-center",children:(0,l.jsx)("div",{className:"col-md-8",children:(0,l.jsxs)("div",{className:"d-flex",children:[(0,l.jsxs)("div",{className:"pe-2 pe-md-5",children:[(null==y?void 0:null===(s=y.rank)||void 0===s?void 0:null===(n=s.rank)||void 0===n?void 0:n.badge)?(0,l.jsx)(a(),{alt:null==y?void 0:null===(r=y.rank)||void 0===r?void 0:r.rank.title,width:250,height:250,src:"/lvls/".concat(null==y?void 0:null===(u=y.rank)||void 0===u?void 0:null===(m=u.rank)||void 0===m?void 0:m.badge),priority:!0}):(0,l.jsx)(c.wzp,{size:"9em",color:"#ccc"}),(0,l.jsxs)("div",{className:"d-flex align-items-center justify-content-center fs-4 pt-3",children:[(0,l.jsx)("span",{className:"text-warning me-2",children:(0,l.jsx)(c.vAr,{})})," ",(0,l.jsx)("b",{children:y.freeScore})]})]}),(0,l.jsxs)("div",{className:"w-100",children:[(0,l.jsx)("div",{style:{maxWidth:200},className:"fs-5 fw-bold text-truncate",children:y.username}),9===y.status?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"alert alert-danger mt-3 mb-1 p-2 ",role:"alert",children:[(0,l.jsx)(o.bcx,{size:"1.2em"})," ",(0,l.jsxs)("span",{className:"ps-1",children:[w("unp"),"!"]})]}),(0,l.jsx)(h,{})]}):(0,l.jsxs)("div",{className:"text-success d-flex align-items-center",children:[(0,l.jsx)(c.l_A,{size:"0.8em"})," ",(0,l.jsx)("span",{className:"ps-2",children:w("vp")})]}),(0,l.jsxs)("div",{className:"mt-3",children:[(0,l.jsx)(j.Z,{rank:null==y?void 0:null===(x=y.rank)||void 0===x?void 0:null===(v=x.rank)||void 0===v?void 0:v.title,nowPercent:null==y?void 0:null===(f=y.rank)||void 0===f?void 0:f.nowPercent,nowQty:null==y?void 0:null===(g=y.rank)||void 0===g?void 0:g.nowQty,nextQty:null==y?void 0:null===(k=y.rank)||void 0===k?void 0:k.nextQty}),(0,l.jsxs)("button",{onClick:()=>_(!0),className:"btn d-flex align-items-center btn-outline-secondary justify-content-center mt-3 ",children:[(0,l.jsx)(d.fi_,{className:"me-2"})," ",w("myp")]})," "]})]})]})})})}),(0,l.jsx)(b,{wrapperClass:"container pb-4"}),Z&&(0,l.jsxs)(i.Z,{show:Z,onHide:()=>
1_(!1),"aria-labelledby":"contained-modal-title-vcenter",dialogClassName:"custom-modal",centered:!0,children:[(0,l.jsx)(i.Z.Header,{closeButton:!0,children:(0,l.jsx)(i.Z.Title,{id:"contained-modal-title-vcenter",children:w("myp")})}),(0,l.jsx)(i.Z.Body,{children:(0,l.jsx)(N,{t:w})})]})]})}},47982:function(e,s,n){"use strict";n.d(s,{Z:function(){return m}});var l=n(85893),t=n(41664),i=n.n(t),r=n(51649),a=n(60155),c=n(53854),o=n(626),d=n.n(o),u=n(55827);function m(e){let{currentRoute:s}=e,{t:n}=(0,u.Z)("layouts.Menu"),t=[{title:n("myp"),link:"/profile",icon:(0,l.jsx)(c._MD,{size:"1.2em"})},{title:n("fav"),link:"/profile/likes",icon:(0,l.jsx)(a.Fhy,{size:"1.2em"})},{title:n("stat"),link:"/profile/stats",icon:(0,l.jsx)(r.QJ6,{size:"1.2em"})},{title:n("saves"),link:"/profile/saves",icon:(0,l.jsx)(r.ZXP,{size:"1.2em"})}];return(0,l.jsx)("div",{className:d().wrapper+" mb-5",children:(0,l.jsx)("div",{className:"container px-0",children:(0,l.jsx)("ul",{className:d().tabs,children:t.map((e,n)=>(0,l.jsx)("li",{className:s==e.link?d().active:"",children:(0,l.jsxs)(i(),{href:e.link,className:"text-truncate",children:[e.icon," ",e.title]})},n))})})})}},626:function(e){e.exports={wrapper:"profileTags_wrapper__tw5Tp",tabs:"profileTags_tabs__MND5Q",active:"profileTags_active__5SRYU"}},53439:function(e,s,n){"use strict";n.d(s,{UI:function(){return t},XW:function(){return i}});var l=n(67294);function t(e,s){let n=0;return l.Children.map(e,e=>l.isValidElement(e)?s(e,n++):e)}function i(e,s){return l.Children.toArray(e).some(e=>l.isValidElement(e)&&e.type===s)}}}]);

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.