PageSourceSearch

https://bookriver.ru/_next/static/chunks/7129-a955709fe0853be6.js

js bookriver.ru collected 2026-10-03 23:12:15 UTC 11,139 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7129],{10992:function(e,n,t){t.d(n,{Z:function(){return C}});var r=t(91600),o=t(59496),i=t(87995),a=t(18618),c=(t(75015),t(69543)),u=o.createContext(null),l=t(49544),d=t(59333),s=[];var f=t(52708),v=t(56850);var m="rc-util-locker-".concat(Date.now()),p=0;function h(e){var n=!!e,t=o.useState((function(){return p+=1,"".concat(m,"_").concat(p)})),i=(0,r.Z)(t,1)[0];(0,d.Z)((function(){if(n){var e=(0,v.Z)(),t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,f.hq)("\nhtml body {\n  overflow-y: hidden;\n  ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),i)}else(0,f.jL)(i);return function(){(0,f.jL)(i)}}),[n,i])}var y=!1;var b=function(e){return!1!==e&&((0,a.Z)()&&e?"string"===typeof e?document.querySelector(e):"function"===typeof e?e():e:null)};var C=o.forwardRef((function(e,n){var t=e.open,f=e.autoLock,v=e.getContainer,m=(e.debug,e.autoDestroy),p=void 0===m||m,C=e.children,E=o.useState(t),g=(0,r.Z)(E,2),Z=g[0],N=g[1],w=Z||t;o.useEffect((function(){(p||t)&&N(t)}),[t,p]);var k=o.useState((function(){return b(v)})),x=(0,r.Z)(k,2),R=x[0],S=x[1];o.useEffect((function(){var e=b(v);S(null!==e&&void 0!==e?e:null)}));var I=function(e,n){var t=o.useState((function(){return(0,a.Z)()?document.createElement("div"):null})),i=(0,r.Z)(t,1)[0],c=o.useRef(!1),f=o.useContext(u),v=o.useState(s),m=(0,r.Z)(v,2),p=m[0],h=m[1],y=f||(c.current?void 0:function(e){h((function(n){return[e].concat((0,l.Z)(n))}))});function b(){i.parentElement||document.body.appendChild(i),c.current=!0}function C(){var e;null===(e=i.parentElement)||void 0===e||e.removeChild(i),c.current=!1}return(0,d.Z)((function(){return e?f?f(b):b():C(),C}),[e]),(0,d.Z)((function(){p.length&&(p.forEach((function(e){return e()})),h(s))}),[p]),[i,y]}(w&&!R),T=(0,r.Z)(I,2),P=T[0],A=T[1],L=null!==R&&void 0!==R?R:P;h(f&&t&&(0,a.Z)()&&(L===P||L===document.body));var M=null;C&&(0,c.Yr)(C)&&n&&(M=C.ref);var D=(0,c.x1)(M,n);if(!w||!(0,a.Z)()||void 0===R)return null;var q,H=!1===L||("boolean"===typeof q&&(y=q),y),W=C;return n&&(W=o.cloneElement(C,{ref:D})),o.createElement(u.Provider,{value:A},H?W:(0,i.createPortal)(W,L))}))},97129:function(e,n,t){t.r(n),t.d(n,{Panel:function(){return Z},default:function(){return R}});var r=t(51163),o=t(91600),i=t(59496),a=t.t(i,2),c=t(10992),u=t(75782),l=t(84875),d=t.n(l),s=t(51740);var f=0;function v(e){var n=i.useState("ssr-id"),t=(0,o.Z)(n,2),r=t[0],c=t[1],l=(0,u.Z)({},a).useId,d=null===l||void 0===l?void 0:l();return i.useEffect((function(){if(!l){var e=f;f+=1,c("rc_unique_".concat(e))}}),[]),e||(d||r)}var m=t(84806),p=t(60150),h=t(93460);function y(e){var n=e.prefixCls,t=e.style,o=e.visible,a=e.maskProps,c=e.motionName;return i.createElement(h.default,{key:"mask",visible:o,motionName:c,leavedClassName:"".concat(n,"-mask-hidden")},(function(e,o){var c=e.className,l=e.style;return i.createElement("div",(0,r.Z)({ref:o,style:(0,u.Z)((0,u.Z)({},l),t),className:d()("".concat(n,"-mask"),c)},a))}))}function b(e,n,t){var r=n;return!r&&t&&(r="".concat(e,"-").concat(t)),r}function C(e,n){var t=e["page".concat(n?"Y":"X","Offset")],r="scroll".concat(n?"Top":"Left");if("number"!==typeof t){var o=e.document;"number"!==typeof(t=o.documentElement[r])&&(t=o.body[r])}return t}var E=i.memo((function(e){return e.children}),(function(e,n){return!n.shouldUpdate})),g={width:0,height:0,overflow:"hidden",outline:"none"};var Z=i.forwardRef((function(e,n){var t=e.prefixCls,o=e.className,a=e.style,c=e.title,l=e.ariaId,s=e.footer,f=e.closable,v=e.closeIcon,m=e.onClose,p=e.children,h=e.bodyStyle,y=e.bodyProps,b=e.modalRender,C=e.onMouseDown,Z=e.onMouseUp,N=e.holderRef,w=e.visible,k=e.forceRender,x=e.width,R=e.height,S=(0,i.useRef)(),I=(0,i.useRef)();i.useImperativeHandle(n,(function(){return{focus:function(){var e;null===(e=S.current)||void 0===e||e.focus()},changeActive:function(e){var n=document.activeElement;
1e&&n===I.current?S.current.focus():e||n!==S.current||I.current.focus()}}}));var T,P,A,L={};void 0!==x&&(L.width=x),void 0!==R&&(L.height=R),s&&(T=i.createElement("div",{className:"".concat(t,"-footer")},s)),c&&(P=i.createElement("div",{className:"".concat(t,"-header")},i.createElement("div",{className:"".concat(t,"-title"),id:l},c))),f&&(A=i.createElement("button",{type:"button",onClick:m,"aria-label":"Close",className:"".concat(t,"-close")},v||i.createElement("span",{className:"".concat(t,"-close-x")})));var M=i.createElement("div",{className:"".concat(t,"-content")},A,P,i.createElement("div",(0,r.Z)({className:"".concat(t,"-body"),style:h},y),p),T);return i.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":c?l:null,"aria-modal":"true",ref:N,style:(0,u.Z)((0,u.Z)({},a),L),className:d()(t,o),onMouseDown:C,onMouseUp:Z},i.createElement("div",{tabIndex:0,ref:S,style:g,"aria-hidden":"true"}),i.createElement(E,{shouldUpdate:w||k},b?b(M):M),i.createElement("div",{tabIndex:0,ref:I,style:g,"aria-hidden":"true"}))})),N=i.forwardRef((function(e,n){var t=e.prefixCls,a=e.title,c=e.style,l=e.className,s=e.visible,f=e.forceRender,v=e.destroyOnClose,m=e.motionName,p=e.ariaId,y=e.onVisibleChanged,b=e.mousePosition,E=(0,i.useRef)(),g=i.useState(),N=(0,o.Z)(g,2),w=N[0],k=N[1],x={};function R(){var e=function(e){var n=e.getBoundingClientRect(),t={left:n.left,top:n.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return t.left+=C(o),t.top+=C(o,!0),t}(E.current);k(b?"".concat(b.x-e.left,"px ").concat(b.y-e.top,"px"):"")}return w&&(x.transformOrigin=w),i.createElement(h.default,{visible:s,onVisibleChanged:y,onAppearPrepare:R,onEnterPrepare:R,forceRender:f,motionName:m,removeOnLeave:v,ref:E},(function(o,s){var f=o.className,v=o.style;return i.createElement(Z,(0,r.Z)({},e,{ref:n,title:a,ariaId:p,prefixCls:t,holderRef:s,style:(0,u.Z)((0,u.Z)((0,u.Z)({},v),c),x),className:d()(l,f)}))}))}));N.displayName="Content";var w=N;function k(e){var n=e.prefixCls,t=void 0===n?"rc-dialog":n,a=e.zIndex,c=e.visible,l=void 0!==c&&c,f=e.keyboard,h=void 0===f||f,C=e.focusTriggerAfterClose,E=void 0===C||C,g=e.wrapStyle,Z=e.wrapClassName,N=e.wrapProps,k=e.onClose,x=e.afterClose,R=e.transitionName,S=e.animation,I=e.closable,T=void 0===I||I,P=e.mask,A=void 0===P||P,L=e.maskTransitionName,M=e.maskAnimation,D=e.maskClosable,q=void 0===D||D,H=e.maskStyle,W=e.maskProps,_=e.rootClassName,O=(0,i.useRef)(),U=(0,i.useRef)(),B=(0,i.useRef)(),V=i.useState(l),j=(0,o.Z)(V,2),z=j[0],Y=j[1],K=v();function Q(e){null===k||void 0===k||k(e)}var X=(0,i.useRef)(!1),$=(0,i.useRef)(),F=null;return q&&(F=function(e){X.current?X.current=!1:U.current===e.target&&Q(e)}),(0,i.useEffect)((function(){l&&(Y(!0),(0,m.Z)(U.current,document.activeElement)||(O.current=document.activeElement))}),[l]),(0,i.useEffect)((function(){return function(){clearTimeout($.current)}}),[]),i.createElement("div",(0,r.Z)({className:d()("".concat(t,"-root"),_)},(0,p.Z)(e,{data:!0})),i.createElement(y,{prefixCls:t,visible:A&&l,motionName:b(t,L,M),style:(0,u.Z)({zIndex:a},H),maskProps:W}),i.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:function(e){if(h&&e.keyCode===s.Z.ESC)return e.stopPropagation(),void Q(e);l&&e.keyCode===s.Z.TAB&&B.current.changeActive(!e.shiftKey)},className:d()("".concat(t,"-wrap"),Z),ref:U,onClick:F,style:(0,u.Z)((0,u.Z)({zIndex:a},g),{},{display:z?null:"none"})},N),i.createElement(w,(0,r.Z)({},e,{onMouseDown:function(){clearTimeout($.current),X.current=!0},onMouseUp:function(){$.current=setTimeout((function(){X.current=!1}))},ref:B,closable:T,ariaId:K,prefixCls:t,visible:l&&z,onClose:Q,onVisibleChanged:function(e){if(e)!function(){var e;(0,m.Z)(U.current,document.activeElement)||null===(e=B.current)||void 0===e||e.focus()}();else{if(Y(!1),A&&O.current&&E){try{O.current.focus({preventScroll:!0})}catch(n){}O.current=null}z&&(null===x||void 0===x||x())}},motionName:b(t,R,S)}))))}var x=function(e){var n=e.visible,t=e.getContainer,a=e.forceRender,u=e.destroyOnClose,l=void 0!==u&&u,d=e.afterClose,s=i.useState(n),f=(0,o.Z)(s,2),v=f[0],m=f[1];return i.useEffect((function(){n&&m(!0)}),[n]),a||!l||v?i.createElement(c.Z,{open:n||a||v,autoDestroy:!1,getContainer:t,autoLock:n||v},i.createElement(k,(0,r.Z)({},e,{destroyOnClose:l,afterClose:function(){null===d||void 0===d||d(),m(!1)}}))):null};x.displayName="Dialog";var R=x},52708:function(e,n,t){t.d(n,{hq:function(){return h},jL:function(){return m}});var r=t(18618),o=t(84806),i="data-rc-order",a="rc-util-key",c=new Map;function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.mark;return n?n.startsWith("data-")?n:"data-".concat(n):a}function l(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function d(e){return"queue"===e?"prependQueue":e?"prepend":"append"}function s(e){return Array.from((c.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function f(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,r.Z)())return null;var t=n.csp,o=n.prepend,a=document.createElement("style");a.setAttribute(i,d(o)),null!==t&&void 0!==t&&t.nonce&&(a.nonce=null===t||void 0===t?void 0:t.nonce),a.innerHTML=e;var c=l(n),u=c.firstChild;if(o){if("queue"===o){var f=s(c).filter((function(e){return["prepend","prepe
1ndQueue"].includes(e.getAttribute(i))}));if(f.length)return c.insertBefore(a,f[f.length-1].nextSibling),a}c.insertBefore(a,u)}else c.appendChild(a);return a}function v(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=l(n);return s(t).find((function(t){return t.getAttribute(u(n))===e}))}function m(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=v(e,n);if(t){var r=l(n);r.removeChild(t)}}function p(e,n){var t=c.get(e);if(!t||!(0,o.Z)(document,t)){var r=f("",n),i=r.parentNode;c.set(e,i),e.removeChild(r)}}function h(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=l(t);p(r,t);var o=v(n,t);if(o){var i,a,c;if(null!==(i=t.csp)&&void 0!==i&&i.nonce&&o.nonce!==(null===(a=t.csp)||void 0===a?void 0:a.nonce))o.nonce=null===(c=t.csp)||void 0===c?void 0:c.nonce;return o.innerHTML!==e&&(o.innerHTML=e),o}var d=f(e,t);return d.setAttribute(u(t),n),d}},56850:function(e,n,t){var r;function o(e){if("undefined"===typeof document)return 0;if(e||void 0===r){var n=document.createElement("div");n.style.width="100%",n.style.height="200px";var t=document.createElement("div"),o=t.style;o.position="absolute",o.top="0",o.left="0",o.pointerEvents="none",o.visibility="hidden",o.width="200px",o.height="150px",o.overflow="hidden",t.appendChild(n),document.body.appendChild(t);var i=n.offsetWidth;t.style.overflow="scroll";var a=n.offsetWidth;i===a&&(a=t.clientWidth),document.body.removeChild(t),r=i-a}return r}function i(e){var n=e.match(/^(.*)px$/),t=Number(null===n||void 0===n?void 0:n[1]);return Number.isNaN(t)?o():t}function a(e){if("undefined"===typeof document||!e||!(e instanceof Element))return{width:0,height:0};var n=getComputedStyle(e,"::-webkit-scrollbar"),t=n.width,r=n.height;return{width:i(t),height:i(r)}}t.d(n,{Z:function(){return o},o:function(){return a}})}}]);
2//# sourceMappingURL=7129-a955709fe0853be6.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.