PageSourceSearch

https://puzzlezilla.ru/_next/static/chunks/5939-c82738b1b3799818.js

js puzzlezilla.ru collected 2026-10-05 00:18:24 UTC 6,322 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5939],{41143:function(e){"use strict";e.exports=function(e,t,r,s,n,a,i,o){if(!e){var l;if(void 0===t)l=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,s,n,a,i,o],u=0;(l=Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},49752:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var s=r(85893),n=r(8193),a=r(55788),i=r(53854),o=r(37106),l=r(47516),c=r(5434),u=r(55827),d=r(73111),p=r(50332),f=r.n(p),v=r(20987);function h(e){let{data:t,saveId:r,classN:p="sapp",dropClick:h=()=>{},deleteLoading:g,addLoading:m,showTrash:x=!0}=e,{t:j,tc:b}=(0,u.Z)("components.app.Save"),y=(0,u.Z)("components.app.SettingsDifficulty");return(0,s.jsxs)(s.Fragment,{children:[(null==t?void 0:t.d)?(0,s.jsxs)("div",{className:f()[p],children:[(0,s.jsx)("div",{style:{backgroundImage:"url(https://api.puzzlezilla.com"+t.s.id+")",backgroundPosition:"center center",backgroundSize:"cover"},className:"".concat(f().img)}),(0,s.jsxs)("div",{className:f().info,children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(l._kF,{color:"#999"})," ",(0,s.jsx)("b",{children:b("mode")}),":"," ",b("mode_"+t.s.t)]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(c.f$3,{color:"#999"})," ",(0,s.jsx)("b",{children:j("date")}),": ",t.d]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(i.XoX,{color:"#999"})," ",(0,s.jsx)("b",{children:j("ts")}),":"," ",(0,d.Z)(t.t)]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(a.U_z,{color:"#999"}),(0,s.jsxs)("span",{className:"pe-2",children:[(0,s.jsx)("b",{children:"X"}),": ",t.s.x,","]}),(0,s.jsxs)("span",{className:"pe-2",children:[(0,s.jsx)("b",{children:"Y"}),": ",t.s.y,","]}),(0,s.jsxs)("span",{children:[(0,s.jsx)("b",{children:j("total")}),": ",t.s.x*t.s.y]})]}),"pzzz"===t.s.t&&(0,s.jsxs)("div",{children:[(0,s.jsx)(i.FxF,{color:"#999"}),(0,s.jsx)("b",{children:j("collected")}),": ",t.p.length]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(l.Kol,{color:"#999"}),(0,s.jsx)("b",{children:y.t("title")}),": ",y.t("mode"+t.s.m)]}),"pzzz"===t.s.t&&(0,s.jsxs)("div",{children:[(0,s.jsx)(o.dUs,{color:"#999"})," ",j("r_"+t.s.r)]})]}),x&&(0,s.jsx)("div",{className:f().trash,title:j("trash"),onClick:e=>{e.stopPropagation(),h()},children:(0,s.jsx)(l.SW4,{})})]}):(0,s.jsx)("div",{className:"d-flex align-items-center justify-content-center",children:(0,s.jsxs)("div",{className:"text-center",children:[(0,s.jsx)(n.Lfi,{size:"1.6em",color:"#666"}),(0,s.jsx)("div",{children:j("ns")})]})}),g&&g==r||m&&m==r?(0,s.jsx)("div",{className:f().loading,onClick:e=>{e.stopPropagation()},children:(0,s.jsx)(v.Z,{size:100})}):""]})}},34307:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var s=r(78945),n=r(67294);function a(e){if("string"!=typeof e)return new Date(0);let t=e.split(/[\.\s:]/).filter(Boolean),r=parseInt(t[0],10),s=parseInt(t[1],10)-1,n=parseInt(t[2],10),a=parseInt(t[3],10),i=parseInt(t[4],10),o=parseInt(t[5],10);return Number.isNaN(n)||Number.isNaN(s)||Number.isNaN(r)?new Date(0):new Date(n,s,r,a||0,i||0,o||0)}var i=r(1052),o=r(91700);function l(e,t,r){let[l,c]=(0,n.useState)(!0),[u,d]=(0,n.useState)(""),[p,f]=(0,n.useState)(""),v=(0,i.T)(),h=["s1","s2","s3","s4","s5"],g=()=>{let t={},r=JSON.parse(localStorage.getItem("s1")),s=JSON.parse(localStorage.getItem("s2")),n=JSON.parse(localStorage.getItem("s3")),a=JSON.parse(localStorage.getItem("s4")),i=JSON.parse(localStorage.getItem("s5"));return"save"==e?t={s1:r,s2:s,s3:n,s4:a,s5:i}:(r&&(t.s1=r),s&&(t.s2=s),n&&(t.s3=n),a&&(t.s4=a),i&&(t.s5=i)),t};async function m(){let t=g(),r=await s.Z.post("/api/proxy-get",{url:"/saves/get?mode="+e});if(0==r.data.length)return Object.keys(t).length>0&&s.Z.post("/api/proxy",{url:"/saves/sync",fields:t}),t;{let s={};for(let n in r.data){let i=r.data[n];!i&&t[n]&&(i=t[n]),(i||"load"!=e)&&(i&&t[n]&&a(t[n].d)>a(i.d)&&(i=t[n]),s[n]=i)}if("save"==e)for(let e=0;e<h.length;e++)void 0===s[h[e]]&&(s[h[e]]=null);return s}}let x=async()=>{let e={};return j(e=t?await m():g()),c(!1),e},j=e=>{let t=[];if(Object.keys(e).length>0&&r)for(let s in e)e[s]&&e[s].s.id==r&&t.push(e[s]);v((0,o.u)(t))},b=async(e,r)=>{let n;return f(e),localStorage.setItem(e,r),t&&(n=await s.Z.post("/api/proxy",{url:"/saves/add",fields:{save_key:e,save_data:r}})),f(""),n},y=async e=>{let r;return d(e),localStorage.removeItem(e),t&&(r=await s.Z.post("/api/proxy-get",{url:"/saves/remove?key="+e})),d(""),r};return{getLots:x,deleteLot:y,saveLot:b,lotsLoading:l,deleteLoading:u,addLoading:p}}},73111:function(e,t,r){"use strict";function s(e){return Math.floor(e/3600).toString().padStart(2,"0")+" ч. "+Math.floor(e%3600/60).toString().padStart(2,"0")+" м. "+(e%60).toString().padStart(2,"0")+" с."}r.d(t,{Z:function(){return s}})},50332:function(e){e.exports={sapp:"save_sapp__RQbTQ",sweb:"save_sweb__LQoSn",img:"save_img__pzQII",info:"save_info__OdmX4",trash:"save_trash__lew_x",loading:"save_loading__S9hes"}},47150:function(e,t,r){"use strict";r.d(t,{Ch:function(){return c},$c:function(){return l}});var s=r(87462),n=r(63366),a=r(67294);function i(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function o(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var s=r.call(e,t||"default");if("object"!=typeof s)return s;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function l(e,t,r){var s=(0,a.useRef)(void 0!==e),n=(0,a.useState)(t),i=n[0],o=n[1],l=void 0!==e,c=s.current;return s.current=l,!l&&c&&i!==t&&o(t),[l?e:i,(0,a.useCallback)(function(e){for(var t=arguments.length,s=Array(t>1?t-1:0),n=1;n<t;n++)s[n-1]=arguments[n];r&&r.apply(void 0,[e].concat(s)),o(e)},[r])]}function c(e,t){return Object.keys(t).reduce(function(r,a){var c,u=r[i(a)],d=r[a],p=(0,n.Z)(r,[i(a),a].map(o)),f=t[a],v=l(d,u,e[f]),h=v[0],g=v[1];return(0,s.Z)({},p,((c={})[a]=h,c[f]=g,c))},e)}r(41143)},87462:function(e,t,r){"use strict";function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}r.d(t,{Z:function(){return 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.