PageSourceSearch

https://divnomorskoe.ru/_next/static/chunks/0jsi5a8lr61py.js

js divnomorskoe.ru collected 2026-10-04 22:56:36 UTC 7,510 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(71645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=l(e,n)),t&&(o.current=l(t,n))},[e,t])}function l(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},3303,(e,t,r)=>{t.exports=e.r(79520)},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return a},formatWithValidation:function(){return c},urlObjectKeys:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let l=e.r(90809)._(e.r(98183)),u=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",a=e.hash||"",i=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),i&&"object"==typeof i&&(i=String(l.urlQueryToSearchParams(i)));let s=e.search||i&&`?${i}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||u.test(n))&&!1!==c?(c="//"+(c||""),o&&"/"!==o[0]&&(o="/"+o)):c||(c=""),a&&"#"!==a[0]&&(a="#"+a),s&&"?"!==s[0]&&(s="?"+s),o=o.replace(/[?#]/g,encodeURIComponent),s=s.replace("#","%23"),`${n}${c}${o}${s}${a}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return a(e)}},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return l}});let n=e.r(18967),o=e.r(52817);function l(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return m},useLinkStatus:function(){return b}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let l=e.r(90809),u=e.r(43476),a=l._(e.r(71645)),i=e.r(95057),c=e.r(8372),s=e.r(18581),f=e.r(18967),d=e.r(5550);e.r(33525);let p=e.r(88540),h=e.r(91949),y=e.r(73668),v=e.r(9396);function m(t){var r,n;let o,l,m,[b,w]=(0,a.useOptimistic)(h.IDLE_LINK_STATUS),_=(0,a.useRef)(null),{href:j,as:T,children:O,prefetch:P=null,passHref:C,replace:S,shallow:E,scroll:R,onClick:I,onMouseEnter:L,onTouchStart:M,legacyBehavior:x=!1,onNavigate:k,transitionTypes:A,ref:U,unstable_dynamicOnHover:N,...B}=t;o=O,x&&("string"==typeof o||"number"==typeof o)&&(o=(0,u.jsx)("a",{children:o}));let K=a.default.useContext(c.AppRouterContext),$=!1!==P,D=!1!==P?null===(n=P)||"auto"===n?v.FetchStrategy.PPR:v.FetchStrategy.Full:v.FetchStrategy.PPR,z="string"==typeof(r=T||j)?r:(0,i.formatUrl)(r);if(x){if(o?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});l=a.default.Children.only(o)}let F=x?l&&"object"==typeof l&&l.ref:U,W=a.default.useCallback(e=>(null!==K&&(_.current=(0,h.mountLinkInstance)(e,z,K,D,$,w)),()=>{_.current&&((0,h.unmountLinkForCurrentNavigation)(_.current),_.current=null),(0,h.unmountPrefetchableInstance)(e)}),[$,z,K,D,w]),q={ref:(0,s.useMergedRef)(W,F),onClick(t){x||"function"!=typeof I||I(t),x&&l.props&&"function"==typeof l.props.onClick&&l.props.onClick(t),!K||t.defaultPrevented||function(t,r,n,o,l,u,i){if("u">typeof window){let c,{nodeName:s}=t.currentTarget;if("A"===s.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,y.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),u){let e=!1;if(u({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:f}=e.r(99781);a.default.startTransition(()=>{f(r,o?"replace":"push",!1===l?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,i)})}}(t,z,_,S,R,k,A)},onMouseEnter(e){x||"function"!=typeof L||L(e),x&&l.props&&"function"==typeof l.props.onMouseEnter&&l.props.onMouseEnter(e),K&&$&&(0,h.onNavigationIntent)(e.currentTarget,!0===N)},onTouchStart:function(e){x||"function"!=typeof M||M(e),x&&l.props&&"function"==typeof l.props.onTouchStart&&l.props.onTouchStart(e),K&&$&&(0,h.onNavigationIntent)(e.currentTarget,!0===N)}};return(0,f.isAbsoluteUrl)(z)?q.href=z:x&&!C&&("a"!==l.type||"href"in l.props)||(q.href=(0,d.addBasePath)(z)),m=x?a.default.cloneElement(l,q):(0,u.jsx)("a",{...B,...q,children:o}),(0,u.jsx)(g.Provider,{value:b,children:m})}e.r(84508);let g=(0,a.createContext)(h.IDLE_LINK_STATUS),b=()=>(0,a.useContext)(g);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},27501,e=>{"use strict";var t=e.i(43476),r=e.i(3303),n=e.i(71645),o=e.i(36046);let l="(max-width: 960px)";e.s(["ArticleHotOffersWidget",0,function({apiBaseUrl:e,organizationId:u,token:a,mountId:i="hot-offers",layout:c="vertical",title:s,caption:f,className:d}){let p=(0,n.useRef)(null),h=`#${i}`,y=(0,n.useCallback)(()=>{let t=document.querySelector(h);if(!t)return!1;let r=window;if(!r.BookingWidget)return!1;let n="horizontal"===c||window.matchMedia(l).matches?"horizontal":"vertical";return p.current===n&&t.childElementCount>0||(t.innerHTML="",r.BookingWidget.init({mount:h,mode:"hot-offers",layout:n,apiBaseUrl:e,organizationId:u,token:a,metrikaId:o.YANDEX_METRIKA_ID}),p.current=n,!0)},[e,u,a,h,c]);(0,n.useEffect)(()=>{let e=0,t=0;if(y()||(e=window.setInterval(()=>{y()&&window.clearInterval(e)},250),t=window.setTimeout(()=>window.clearInterval(e),8e3)),"vertical"!==c)return()=>{e&&window.clearInterval(e),t&&window.clearTimeout(t)};let r=window.matchMedia(l),n=()=>{p.current=null,y()};return r.addEventListener("change",n),()=>{e&&window.clearInterval(e),t&&window.clearTimeout(t),r.removeEventListener("change",n)}},[y,c]);let v="horizontal"===c;return(0,t.jsxs)("aside",{className:d??(v?"article-hot-offers-inline":"article-hot-offers-widget"),"aria-label":s??"Горящие предложения",children:[s?(0,t.jsx)("h2",{className:"article-callout-title",children:s}):null,f?(0,t.jsx)("p",{className:"article-hot-offers-caption",children:f}):null,(0,t.jsx)("div",{id:i,className:"article-hot-offers-mount"}),(0,t.jsx)(r.default,{src:"https://br.divnomorskoe.ru/widget-booking.js",strategy:"afterInteractive",onLoad:y})]})}])}]);

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.