PageSourceSearch

https://www.deepnatureresorts.com/_next/static/chunks/pages/chamonix/reserver-8d9e92568b032241.js

js deepnatureresorts.com collected 2026-10-08 03:18:05 UTC 10,294 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[694],{58986:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/chamonix/reserver",function(){return t(17612)}])},32621:function(e,n,t){"use strict";t.d(n,{U:function(){return g}});var i=t(52322);t(2784);var a=t(82740),o=t(39976),r=t(67766),l=t(93223),s=t(80530),d=t(45533),c=t(87634),u=t(69846);let p=(0,c.m)("button"),g=e=>{let{className:n,link:t,image:a,secondarylabel:o,disabled:r,onClick:l}=e;return(0,i.jsx)(m,{disabled:r,className:n,link:t,onClick:l,children:(0,i.jsxs)(f,{distribution:"start",align:"center",horizontal:{desktop:!1,tablet:!1,mobile:!0},padding:{mobile:"xxSmall",tablet:"xSmall",desktop:"xSmall"},surface:"backgroundDarkSecondary",children:[(0,i.jsx)(h,{disabled:r,children:(0,i.jsx)(k,{objectFit:"cover",width:384,height:285,...a})}),(0,i.jsx)(_,{disabled:r,children:(0,i.jsx)(k,{objectFit:"cover",width:93,height:93,...a})}),(0,i.jsxs)(b,{secondarylabel:!!o,children:[(0,i.jsxs)(x,{children:[" ",o," "]}),(0,i.jsx)(v,{disabled:r,children:t.text})]})]})})},m=e=>{let{children:n,link:t,disabled:a,className:o,onClick:r}=e;return t&&t.href&&!a?(0,i.jsx)(s.r,{...t,children:(0,i.jsx)(w,{as:"a",disabled:a,children:n})}):(0,i.jsx)(w,{variant:"secondary",onClick:r,className:o,disabled:a,children:n})},b=(0,a.ZP)(o.G).withConfig({componentId:"sc-79193995-0"})(e=>{let{theme:n,secondarylabel:t=!1}=e,i="calc(".concat(t?"".concat(n.spacing.medium," - 14.4px"):"".concat(n.spacing.medium),")");return(0,a.iv)(["padding-top:",";@media ","{padding-top:0;}"],i,l.Uh.mobileLarge)}),h=a.ZP.div.withConfig({componentId:"sc-79193995-1"})(["display:block;position:relative;width:100%;height:100%;opacity:",";@media ","{display:none;}"],e=>{let{disabled:n}=e;return n?.3:1},l.Uh.mobileLarge),_=a.ZP.div.withConfig({componentId:"sc-79193995-2"})(["display:block;position:relative;width:93px;height:93px;min-width:93px;display:none;opacity:",";@media ","{display:block;}"],e=>{let{disabled:n}=e;return n?.3:1},l.Uh.mobileLarge),x=(0,a.ZP)(u.Y).withConfig({componentId:"sc-79193995-3"})(["text-align:center;@media ","{text-align:left;}"],l.Uh.mobileLarge),f=(0,a.ZP)(o.G).withConfig({componentId:"sc-79193995-4"})(["position:relative;border-radius:",";@media ","{row-gap:0;column-gap:",";}"],e=>{let{theme:n}=e;return n.radius.cardLink},l.Uh.mobileLarge,e=>{let{theme:n}=e;return n.spacing.small}),v=a.ZP.div.withConfig({componentId:"sc-79193995-5"})(["",";color:",";padding-top:",";padding-bottom:",";text-transform:uppercase;text-align:center;@media ","{text-align:left;}"],p,e=>{let{theme:n,disabled:t}=e;return t?n.colors.text.onPrimaryActionBackgroundDark.disabled:n.colors.text.onPrimaryActionBackgroundDark.default},e=>{let{theme:n}=e;return n.spacing.xxSmall},e=>{let{theme:n}=e;return n.spacing.xxSmall},l.Uh.mobileLarge),k=(0,a.ZP)(d.E).withConfig({componentId:"sc-79193995-6"})(["border-radius:",";"],e=>{let{theme:n}=e;return n.radius.cardLink}),w=(0,a.ZP)(r.z).withConfig({componentId:"sc-79193995-7"})(["align-self:start;text-decoration:none;&:hover ","{color:",";}@media ","{width:100%;justify-content:start;& span{width:100%;}}"],v,e=>{let{theme:n,disabled:t}=e;return t?n.colors.text.onPrimaryActionBackgroundDark.disabled:n.colors.text.onPrimaryActionBackgroundDark.hover},l.Uh.mobileLarge)},53551:function(e,n,t){"use strict";t.d(n,{G:function(){return c}});var i=t(52322),a=t(97729),o=t.n(a),r=t(5632),l=t(45847),s=t.n(l),d=t(86851);let c=e=>{let{configIds:n=[]}=e,{locale:t}=(0,r.useRouter)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o(),{children:(0,i.jsx)("script",{src:"".concat(d.config.mews.baseUrl,"/distributor/distributor.min.js")})}),(0,i.jsx)(s(),{id:"load-mews-distributor",strategy:"afterInteractive",children:"\n        const distributors = {}\n        function initMews() {\n          if (typeof Mews !== 'undefined') {\n            ".concat(n.map(e=>"Mews.Distributor({\n              configurationIds: ['".concat(e,"'],\n            }, function(distributor) {\n              distributor.setLanguageCode('").concat("en"===t?"en-US":"fr-FR","');\n              distributors['").concat(e,"'] = distributor\n            }, { dataBaseUrl: '").concat(d.config.mews.baseUrl,"' });\n            ")).join(""),"\n          } else {\n            setTimeout(initMews, 100)\n          }\n        }\n        setTimeout(initMews, 100)\n        ")})]})}},59111:function(e,n,t){"use strict";t.d(n,{D:function(){return a}});var i=t(43489);let a=(e,n)=>({fetch:(t,a)=>(0,i.s3)(a).fetch(e(),{...n,...t}),usePreviewSubscription:(t,a,o)=>(0,i.$r)(e(),{initialData:t,enabled:o,params:{...n,...a}})})},57954:function(e,n,t){"use strict";t.d(n,{J:function(){return r}});var i=t(73235),a=t(72350);function o(){let e=(0,i._)(["{\n  ...,\n  document->{ _type, slug, _id },\n  contact_subject->{ _type, slug, _id },\n  page_section->{ _type, slug, _id }\n}"]);return o=function(){return e},e}let r=t.n(a)()(o())},49528:function(e,n,t){"use strict";t.d(n,{P:function(){return s}});var i=t(73235),a=t(72350),o=t.n(a),r=t(57954);function l(){let e=(0,i._)(['\n  {\n    "header": *[_type == "websiteSettingsHeader"] | order(_updatedAt desc) [0][\'header\'][$locale] {\n      ..., \n      reservation_link ',',\n      logo{...,asset->}\n    },\n    "menu": *[_type == "websiteSettingsMenu"] | order(_updatedAt desc) [0][\'menu\'][$locale] { \n      ...,\n      "chalets": *[_type == "chalet" && __i18n_lang == $locale] | order(order asc) { _id, _type, name, slug, mews_id },\n      "menu_items": menu_items[] {\n        ...,\n        _type == "title_with_chalets" => {\n          ...,\n          page->{ _id, _type, slug },\n          page_section->{ _type, slug },\n        },\n        _type == "page_with_sections" => {\n          ...,\n          page->{ _id, _type, slug },\n          "links": links[] {\n            ...,\n            page_section->{ _type, slug },\n            faq_section_link->{ _type, slug },\n          },\n        },\n        _type == "activities" => {\n          ...,\n          page->{ _id, _type, slug },\n        },\n      }\n    }
1,\n    "footer": *[_type == "websiteSettingsFooter"] | order(_updatedAt desc) [0][\'footer\'][$locale] {\n      ..., \n      "menus": menus[] { \n        title, \n        "links": links[] ','\n      }\n    },\n    "reservation": *[_type == "websiteSettingsReservation"] | order(_updatedAt desc)[0][\'reservation\'][$locale] {\n      ...,\n      restaurant {\n        ...,\n        link ',"\n      },\n      spa {\n        ...,\n        link ",'\n      } \n    },\n    "alert": *[_type == "websiteSettingsAlert"] | order(_updateAt desc) [0] {\n      ...,\n      "content_cookie": content {\n        en {\n          "text": pt::text(text)\n        },\n        fr {\n          "text": pt::text(text)\n        }\n      }\n    },\n    "seo": *[_type == "websiteSettingsSeo"] | order(_updatedAt desc) [0][\'seo\'],\n    "social": *[_type == "websiteSettingsSocial"] | order(_updatedAt desc) [0],\n    "advanced": *[_type == "websiteSettingsAdvanced"] | order(_updatedAt desc) [0] { \n      \'main_chalet\': main_chalet[$locale][\'main_chalet_value\'], \n      facebook_app_id\n    }\n  }\n']);return l=function(){return e},e}let s=o()(l(),r.J,r.J,r.J,r.J)},55520:function(e,n,t){"use strict";t.d(n,{H:function(){return o}});var i=t(59111),a=t(49528);let o=()=>(0,i.D)(()=>a.P)},17612:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return x}});var i=t(52322),a=t(2784),o=t(39976),r=t(37901),l=t(32621),s=t(93223),d=t(5632),c=t(82740),u=t(55520),p=t(46161),g=t(53551),m=t(46918),b=t(75370);let{usePreviewSubscription:h}=(0,u.H)(),_=(0,c.ZP)(o.G).withConfig({componentId:"sc-2370fab4-0"})(["column-gap:",";max-width:",";margin:0 auto;@media ","{margin:inherit;column-gap:0;row-gap:",";}"],e=>{let{theme:n}=e;return n.spacing.medium},s.AV.desktopSmall,s.Uh.mobileLarge,e=>{let{theme:n}=e;return n.spacing.xSmall});var x=!0;n.default=e=>{var n,t;let{data:a,preview:s}=e,{data:c}=h(a.page,a.queryArgs,s),{locale:u}=(0,d.useRouter)(),x=(0,b.y)();if(f(),!(null==c?void 0:c.reservation))throw Error("Website not found");let{reservation:{accommodations:v,spa:k,restaurant:w,seo:y,page_title:j}}=c,L=(null===(n=c.booking)||void 0===n?void 0:n.customBookingLinks)||{},S=L.hotelLink||"https://lesgrangesdenhaut.guestybookings.com/",P=L.spaLink||"https://www.deepnature.fr/dn_fr/spa-les-granges-d-en-haut#soins",U=x(w.link),A=L.restaurantLink||(null==U?void 0:U.href)||"";return(0,i.jsxs)(p.FE,{website:c,title:j,ogTitle:(null==y?void 0:y.title)||"",description:(null==y?void 0:y.description)||"",ogImage:null==y?void 0:y.image,path:"en"===u?"/chamonix/book":"/chamonix/reserver",alternateDoc:"en"===u?"/chamonix/reserver":"/chamonix/book",preview:s,children:[(0,i.jsxs)(o.G,{paddingTop:{desktop:"xLarge",tablet:"xLarge",mobile:"medium"},paddingBottom:{desktop:"xxLarge",tablet:"xxLarge",mobile:"xLarge"},children:[(0,i.jsx)(r.R,{as:"h1",align:"center",size:"medium",children:j}),(0,i.jsxs)(_,{horizontal:{mobile:!1,tablet:!0,desktop:!0},paddingX:{desktop:"large",tablet:"large",mobile:"small"},paddingTop:{desktop:"xxLarge",tablet:"xxLarge",mobile:"medium"},children:[(0,i.jsx)(l.U,{link:{text:(null==v?void 0:v.label)||"Les h\xe9bergements",href:S,target:"_blank"},image:{src:(0,m.LU)(null==v?void 0:v.image)||""},secondarylabel:null==v?void 0:v.secondary_label,disabled:null==v?void 0:v.disabled,onClick:()=>window.open(S,"_blank")}),(0,i.jsx)(l.U,{link:{text:(null==k?void 0:k.label)||"Le spa deep nature",href:P,target:"_blank"},image:{src:(0,m.LU)(null==k?void 0:k.image)||""},disabled:null==k?void 0:k.disabled,secondarylabel:null==k?void 0:k.secondary_label,onClick:()=>window.open(P,"_blank")}),(0,i.jsx)(l.U,{link:{text:(null==w?void 0:w.label)||(null==U?void 0:U.text)||"Restaurant",href:A,target:L.restaurantLink?"_blank":void 0},image:{src:(0,m.LU)(null==w?void 0:w.image)||""},disabled:null==w?void 0:w.disabled,secondarylabel:null==w?void 0:w.secondary_label})]})]}),(0,i.jsx)(g.G,{configIds:null===(t=a.websiteSettings.menu)||void 0===t?void 0:t.chalets.map(e=>e.mews_id||"").filter(Boolean)})]})};let f=()=>{(0,a.useEffect)(()=>{var e;null===(e=window.dataLayer)||void 0===e||e.push({event:"bookPageVisited"})},[])}},45847:function(e,n,t){e.exports=t(55706)}},function(e){e.O(0,[888,774,179],function(){return e(e.s=58986)}),_N_E=e.O()}]);

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.