1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5265],{2608:function(e,l,t){t.d(l,{default:function(){return p}});var r=t(52044),a=t(83322),n=t(6289),i=t(73841),s=t(74263),c=t(68642),d=t(11639),u=t(77861),o=t(11817),h=t(39062);let f=()=>"Tours",x=()=>"rejser",m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"en-US"===(h.Ns??l.locale??(0,h.Kd)())?f(e):x(e)};var p=e=>{let{className:l,activities:t}=e,[h,f]=(0,d.useState)(!1),[x,p]=(0,d.useState)(),g=(0,d.useMemo)(()=>t?.filter(e=>e.children&&e.children.length>0)||[],[t]);return(0,r.jsx)("li",{className:l,children:(0,r.jsx)(n.default,{className:"py-2",isRelative:!1,label:(0,u.j)(),align:"center",children:(0,r.jsx)("div",{className:"flex w-full flex-col gap-4 divide-y rounded-lg p-8 shadow-base",children:(0,r.jsxs)("div",{className:"flex flex-wrap justify-between gap-4",children:[!h&&(0,r.jsx)("div",{className:"flex w-full flex-wrap gap-4",children:g.slice(0,8).map((e,l)=>(0,r.jsxs)("div",{className:"flex w-full max-w-[22.5%] flex-shrink flex-grow basis-1/4 flex-col gap-6 text-wrap",children:[(0,r.jsx)(i.Z,{href:`${e.uri}`,className:"text-body-small-bold text-wrap text-neutral-black",prefetch:!0,children:e.uri_name}),(0,r.jsx)("div",{className:"flex flex-col",children:(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[e.children&&e.children.slice(0,6).map((e,l)=>(0,r.jsx)(i.Z,{href:`${e.uri}`,className:"text-body-small w-full text-wrap text-neutral-black",prefetch:!0,children:e.uri_name},l)),e.children&&e.children.length>6&&(0,r.jsx)(a.Av,{onClick:()=>{f(!0),p(e)},className:"text-body-small-bold w-full py-2 text-left text-primary-default",children:(0,o.x)()})]})})]},l))}),g.map((e,l)=>(0,r.jsxs)("div",{className:(0,s.j)("hidden w-full flex-col gap-4",{"!flex":e.id===x?.id&&h}),children:[(0,r.jsxs)("div",{className:"flex flex-row items-center gap-1",onClick:()=>{f(!1)},children:[(0,r.jsx)(c.Z,{height:24,width:24}),(0,r.jsx)("h4",{className:"text-body-small-bold text-neutral-black",children:e?.uri_name})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-0",children:[(0,r.jsx)("div",{className:"flex flex-row flex-wrap gap-0",children:e?.children?.map((e,l)=>r.jsx(i.Z,{href:`${e.uri}`,className:"text-body-small w-full flex-shrink-0 flex-grow-0 basis-1/6 text-wrap py-1 pr-2 text-neutral-black",children:e.uri_name},l))}),(0,r.jsxs)(i.Z,{href:`${e?.uri}`,className:"text-body-small-bold flex-shrink-0 flex-grow-0 basis-1/6 text-wrap py-1 text-primary-default",children:[(0,o.x)()," ",e?.uri_name," ",m()]})]})]},l))]})})})})}},52875:function(e,l,t){var r=t(52044),a=t(13453),n=t(73841),i=t(79211),s=t(60187),c=t(8445),d=t(84108);l.default=()=>{let{data:e}=(0,d.v)(),l=e?.authUser?.user_is===c.i.AGENCY?s.gk:s.XX;return(0,r.jsx)("div",{className:"logo",children:(0,r.jsx)(n.Z,{href:l,className:"flex items-center text-primary-default no-underline",children:(0,r.jsx)(a.Z,{width:121,height:20,src:`${i.p.staticImagesPath}/logo-base.svg`,alt:"bookmundi logo",unoptimized:!0})})})}},78587:function(e,l,t){var r=t(52044),a=t(83322),n=t(21315),i=t(73841),s=t(74263),c=t(68642),d=t(11639),u=t(90270),o=t(11817);l.default=e=>{let{className:l,destinations:t,regions:h}=e,[f,x]=(0,d.useState)(!1),[m,p]=(0,d.useState)(),g=t.filter(e=>e?.uri_name?.toLowerCase()?.includes("polar"))?.at(0)?.children;return(0,r.jsx)("li",{className:l,children:(0,r.jsx)(n.L,{className:"py-2",label:(0,u.j)(),isRelative:!1,align:"center",children:(0,r.jsxs)("div",{className:"flex w-full flex-col gap-4 divide-y rounded-lg p-8 shadow-base",children:[(0,r.jsxs)("div",{className:"flex w-full flex-row justify-between",children:[!f&&t.slice(0,6)?.map((e,l)=>r.jsxs("div",{className:"flex w-full flex-col gap-4",children:[r.jsx(i.Z,{href:`${e.uri}`,className:"text-body-small-bold text-neutral-black",prefetch:!0,children:e?.uri_name}),r.jsxs("div",{className:"flex flex-col gap-0",children:[r.jsx("div",{className:"flex flex-col gap-2",children:e.children&&e?.children.slice(0,6).map((e,l)=>r.jsx(i.Z,{href:`${e.uri}`,className:"text-body-small w-full text-neutral-black",prefetch:!0,children:e?.uri_name},l))}),e.children&&e?.children?.length>6&&r.jsx(a.Av,{onClick:()=>{x(!0),p(e)},className:"text-body-small-bold w-full py-2 text-left text-primary-default",children:o.x()})]})]},l)),t?.map((e,l)=>r.jsxs("div",{className:s.j("hidden w-full flex-col gap-4",{"!flex":e.id===m?.id&&f}),children:[r.jsxs("div",{className:"flex flex-row items-center gap-1",onClick:()=>{x(!1)},children:[r.jsx(c.Z,{height:24,width:24}),r.jsx("h4",{className:"text-body-small-bold text-neutral-black",children:e?.uri_name})]}),r.jsxs("div",{className:"flex flex-col gap-0",children:[r.jsx("div",{className:"flex flex-row flex-wrap",children:e?.children?.map((e,l)=>r.jsx(i.Z,{href:`${e.uri}`,className:"text-body-small flex-shrink-0 flex-grow-0 basis-1/6 py-1 text-neutral-black",children:e?.uri_name},l))}),r.jsxs(i.Z,{href:`${e?.uri}`,className:"text-body-small-bold flex-shrink-0 flex-grow-0 basis-1/6 py-1 text-primary-default",children:[o.x()," ",e?.uri_name," "]})]})]},l))]}),!f&&(0,r.jsx)("div",{className:"flex flex-col gap-4 pt-4",children:(0,r.jsxs)("div",{className:"text-body-small flex flex-wrap gap-2",children:[h&&h.map((e,l)=>(0,r.jsx)(i.Z,{href:`${e.uri}`,className:"flex flex-shrink-0 rounded-full border border-neutral-light px-4 py-2 text-neutral-black ",prefetch:!0,children:e.uri_name},l)),g&&g?.map((e,l)=>r.jsx(i.Z,{href:`${e.uri}`,className:"flex flex-shrink-0 rounded-full border border-neutral-light px-4 py-2 text-neutral-black",prefetch:!0,children:e?.uri_name},l)),(0,r.jsx)(i.Z,{href:"/p/everest-base-camp-trek",className:"flex flex-shrink-0 rounded-full border border-neutral-light px-4 py-2 text-neutral-black",prefetch:!0,children:"Everest Base Camp Trek"})]})})]})})})}},63860:function(e,l,t){var r=t(52044),a=t(73841),n=t(60187),i=t(84108),s=t(48656),c=t(91784),d=t(45999);let u=(0,c.default)(()=>t.e(3887).then(t.bind(t,13887)),{loadableGenerated:{webpack:()=>[13887]},ssr:!1});l.default=e=>{let{className:l}=e,{data:t}=(0,i.v)(),{unseenMessageCount:c}=(0,s.rV)({userId:t?.authUser?.id,shouldFetch:t?.isLoggedIn??!1});return t?.isLoggedIn&&t?.authUser?(0,r.jsx)("li",{children:(0,r.jsx)(a.Z,{href:n.eG,prefetch:!1,className:(0,d.Z)("text-body-small-medium block rounded-full py-2 uppercase hover:cursor-pointer hover:bg-neutral-lighter active:bg-neutral-light",l),children:(0,r.jsx)(u,{userId:t.authUser.id,messageCount:c||0})})}):null}},62279:function(e,l,t){var r=t(52044),a=t(73841),n=t(60187),i=t(87968),s=t(88524),c=t(45999),d=t(41348);l.default=e=>{let{className:l}=e,{data:t}
1=(0,s.Yk)(),u=Number(t?.meta?.count??0);return(0,r.jsx)("li",{children:(0,r.jsxs)(a.Z,{"aria-label":(0,d.p)(),href:n.IC,className:(0,c.Z)("relative flex items-center justify-center rounded-full py-2 hover:cursor-pointer hover:text-primary-default active:text-primary-clicked",l),children:[(0,r.jsx)(i.Z,{height:24,width:24,className:"text-neutral-sub-text hover:text-primary-default lg:text-neutral-black"}),u>0?(0,r.jsx)("div",{className:"absolute -right-2 top-1 inline-block h-4 w-4 -translate-x-1/2 rounded-full bg-primary-clicked text-center text-body-tiny-medium text-pure-white",children:u}):null]})})}},48656:function(e,l,t){t.d(l,{$3:function(){return u},Kf:function(){return o},jg:function(){return i},rV:function(){return h}});var r=t(12054),a=t(39292),n=t(70453);let i=e=>`/api/duplex/messages?userid=${encodeURIComponent(e)}`,s=async e=>{let l=await (0,r.tk)(e),t=await l.json();return{messages:t.messages,receiver:{profilePic:t.profilepicture}}},c=async(e,l)=>{let{arg:t}=l;return(await (0,r.tk)(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})).json()},d=async e=>(await (0,r.tk)(e)).json(),u=()=>{let{trigger:e,isMutating:l,error:t,data:r}=(0,n.Z)("/api/duplex/messages",c);return{error:t,sendMessage:e,isLoading:l,data:r}},o=e=>{let{operatorId:l,enablePolling:t=!1}=e,r=i(l),{data:n,isLoading:c,mutate:d}=(0,a.ZP)(r,()=>s(r),{dedupingInterval:0,...t&&{refreshInterval:()=>2e3}});return{data:n,isLoading:c,mutate:d}},h=e=>{let{userId:l,shouldFetch:t=!0}=e,{data:r,isLoading:n,mutate:i}=(0,a.ZP)(t?`/api/users/${l}/messages`:null,d,{dedupingInterval:0,refreshInterval:()=>3e3}),s=Number(r?.payload?.unseen_messages)||0,c=Number(r?.payload?.total_messages)||0;return{data:r,isLoading:n,unseenMessageCount:s,totalMessageCount:c,mutate:i}}},68642:function(e,l,t){t.d(l,{Z:function(){return r}});let r=(0,t(92873).Z)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},70534:function(e,l,t){t.d(l,{Z:function(){return r}});let r=(0,t(92873).Z)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},18402:function(e,l,t){t.d(l,{Z:function(){return r}});let r=(0,t(92873).Z)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},71777:function(e,l,t){t.d(l,{Z:function(){return r}});let r=(0,t(92873).Z)("clipboard-check",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]])},36730:function(e,l,t){t.d(l,{Z:function(){return r}});let r=(0,t(92873).Z)("dollar-sign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]])},87968:function(e,l,t){t.d(l,{Z:function(){return r}});let r=(0,t(92873).Z)("heart",[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]])},56484:function(e,l,t){t.d(l,{Z:function(){return r}});let r=(0,t(92873).Z)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},29577:function(e,l,t){t.d(l,{Z:function(){return r}});let r=(0,t(92873).Z)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]])}
1,5881:function(e,l,t){t.d(l,{Z:function(){return r}});let r=(0,t(92873).Z)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},77861:function(e,l,t){t.d(l,{j:function(){return i}});var r=t(39062);let a=()=>"Activities",n=()=>"Aktiviteter",i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"en-US"===(r.Ns??l.locale??(0,r.Kd)())?a(e):n(e)}},91405:function(e,l,t){t.d(l,{D:function(){return i}});var r=t(39062);let a=()=>"Currencies",n=()=>"Valutaer",i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"en-US"===(r.Ns??l.locale??(0,r.Kd)())?a(e):n(e)}},90270:function(e,l,t){t.d(l,{j:function(){return i}});var r=t(39062);let a=()=>"Destinations",n=()=>"Destinationer",i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"en-US"===(r.Ns??l.locale??(0,r.Kd)())?a(e):n(e)}},11817:function(e,l,t){t.d(l,{x:function(){return i}});var r=t(39062);let a=()=>"See All",n=()=>"Se alle",i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"en-US"===(r.Ns??l.locale??(0,r.Kd)())?a(e):n(e)}}}]);
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.