1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[544],{66063:function(e,a,l){"use strict";l.d(a,{_:function(){return i}});var t=l(85893),r=l(19845),n=l.n(r),d=l(54630),c=l(20036),s=l.n(c);let o=n().bind(s()),i=e=>{let{tooltip:a,hidden:l,className:r,...n}=e,c=o(s().label,r,{hidden:l});return n.children?a&&!l?(0,t.jsxs)("div",{className:c,children:[(0,t.jsx)("label",{...n}),a&&(0,t.jsx)(d.u,{text:a})]}):(0,t.jsx)("label",{className:c,...n}):null}},53384:function(e,a,l){"use strict";l.d(a,{o:function(){return i}});var t=l(85893),r=l(67294),n=l(60680),d=l(66063),c=l(89925),s=l(32243),o=l.n(s);let i=(0,r.forwardRef)((e,a)=>{var l;let{inputType:s="text",label:i,labelHidden:u,placeholder:b,message:f,status:m,required:_,id:p,tooltip:g,icon:x,isFormLayoutElement:k,...y}=e,h=(0,r.useId)(),v=null!=p?p:h,T={...y},w={...y},S=["time","datetime-local","date"].includes(s),[j,N]=(0,r.useState)(S),I=a=>{var l;null===(l=e.onBlur)||void 0===l||l.call(e,a),N(S&&!a.target.value)},F={className:o().textInput__input,id:v,"aria-describedby":f?"".concat(v,"-message"):void 0,placeholder:null!=b?b:" ",required:_},P=i?(0,t.jsxs)(d._,{className:o().textInput__label,tooltip:g,htmlFor:v,hidden:u,children:[i," ",_&&"*"]}):null;return(0,t.jsxs)(t.Fragment,{children:[k&&P,(0,t.jsxs)("div",{className:o().textInput,style:m?{"--theme":"var(--color-".concat(m,")")}:void 0,children:[!k&&P,(0,t.jsxs)("div",{className:o().textInput__inner,children:["textarea"===s?(0,t.jsx)("textarea",{...T,ref:a,rows:null!==(l=T.rows)&&void 0!==l?l:5,maxLength:5e3,...F}):(0,t.jsx)("input",{...w,ref:a,type:s,onBlur:e=>I(e),...F}),b&&j&&(0,t.jsx)("span",{className:o().textInput__fakePlaceholder,children:b}),x&&(0,t.jsx)(n.JO,{className:o().textInput__icon,preserveAspectRatio:"xMaxYMid",id:x})]}),f&&(0,t.jsx)(c.v,{id:v,message:f,status:m})]})]})})},42721:function(e,a,l){"use strict";l.d(a,{$:function(){return d}});var t=l(85893),r=l(38623),n=l.n(r);let d=e=>{let{children:a,container:l,as:r="section",style:d,id:c}=e,s=l?(0,t.jsx)("div",{className:n().section__container,children:a}):a;return(0,t.jsx)(r,{id:c,style:d,className:n().section,children:s})}},32626:function(e,a,l){"use strict";l.d(a,{b:function(){return k}});var t=l(85893),r=l(67294),n=l(19845),d=l.n(n),c=l(88838),s=l(11615),o=l(53384),i=l(40021),u=l(44539),b=l(35732),f=l(56337),m=l(14409),_=l(2327),p=l.n(_);let g=d().bind(p()),x=e=>{var a,l,n;let{formRef:d,showPersons:_,onsubmit:x}=e,k=(0,f.Z)(),y=k.getLocale(),{fastTrackState:h,saveFastTrackState:v,setFastTrackState:T}=(0,b.R)(),[w,S]=(0,r.useState)(!1),[j,N]=(0,r.useState)(!1),[I,F]=(0,r.useState)(!1);if((0,r.useEffect)(()=>{F(!0)},[]),!I)return null;let P=h.fastTrackPrice;async function C(){let e=await fetch("/api/fast-track/coupon?coupon=".concat(h.promoCode,"&locale=").concat(y)).then(e=>e.json());e.success&&T({fastTrackPrice:"Percentage"===e.coupon.type_of_value?h.originalFastTrackPrice-h.originalFastTrackPrice*e.coupon.discount/100:e.coupon.discount}),N(!1)}return(0,t.jsxs)("div",{className:p().fastTrackSummary,children:[(0,t.jsx)(i.H5,{as:"h2",children:(0,m.p)("Order summary",y)}),(0,t.jsxs)("div",{className:p().fastTrackSummary__section,children:[(0,t.jsx)("h3",{className:p().fastTrackSummary__sectionHeading,children:(0,m.p)("Fast track",y)}),(0,t.jsxs)("dl",{children:[(0,t.jsx)("dt",{children:(0,m.p)("Entry",y)}),(0,t.jsx)("dd",{children:h.date&&(0,c.Z)(new Date(h.date),"Atlantic/Reykjavik","dd.MM.yyyy")}),(0,t.jsx)("dt",{children:(0,m.p)("Flight",y)}),(0,t.jsx)("dd",{children:null===(a=h.flight)||void 0===a?void 0:a.flightNumber}),h.persons.length&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("dt",{children:[h.persons.length,"x"," ",h.persons.length>1?(0,m.p)("passangers",y):(0,m.p)("passenger",y)]}),(0,t.jsxs)("dd",{children:[h.persons.length*P," kr"]})]})]})]}),_&&(0,t.jsxs)("div",{className:p().fastTrackSummary__section,children:[(0,t.jsx)("h3",{className:p().fastTrackSummary__sectionHeading,children:(0,m.p)("Passengers",y)}),(0,t.jsx)("ul",{className:p().fastTrackSummary__list,children:h.persons.map((e,a)=>(0,t.jsxs)("li",{children:[e.firstName," ",e.lastName]},a))})]}),(0,t.jsxs)("div",{className:g(p().fastTrackSummary__section,p().promo),children:[(0,t.jsx)(o.o,{label:(0,m.p)("Promo code",y),placeholder:"0000-000",onChange:e=>T({promoCode:e.currentTarget.value}),value:h.promoCode}),(0,t.jsx)(s.z,{variant:"stroked",onClick:()=>{N(!0),C()},disabled:j,loading:j,children:"en-us"===y?"Apply":"S\xe6kja"})]}),(0,t.jsxs)("div",{className:g(p().fastTrackSummary__section,p().total),children:[(0,t.jsx)("span",{className:p().fastTrackSummary__totalLabel,children:(0,m.p)("Total",y)}),(0,t.jsxs)("span",{className:p().fastTrackSummary__totalAmount,children:[h.persons.length*P," kr"]})]}),(0,t.jsx)("div",{className:p().fastTrackSummary__nextStep,children:(0,t.jsx)(s.z,{variant:"primary",type:"submit",disabled:!h.date||!h.flight||!(null===(l=h.persons[0])||void 0===l?void 0:l.firstName)||!(null===(n=h.persons[0])||void 0===n?void 0:n.lastName)||w,loading:w,onClick:()=>{var e;T({locale:k.getLocale()}),v(),S(!0),null==d||null===(e=d.current)||void 0===e||e.requestSubmit(),x&&x()},fill:!0,children:(0,m.p)("Next step",y)})}),(0,t.jsxs)("div",{className:p().fastTrackSummary__paymentImages,children:[(0,t.jsx)(u.t,{src:"/images/fast-track/mc_gray.svg",width:75,height:44}),(0,t.jsx)(u.t,{src:"/images/fast-track/visa_gray.svg",width:75,height:44}),(0,t.jsx)(u.t,{src:"/images/fast-track/trustwave_gray.png",width:75,height:44})]})]})},k=e=>{let{formRef:a,showPersons:l=!1,onsubmit:r}=e;return(0,t.jsx)(x,{formRef:a,showPersons:l,onsubmit:r})}},76542:function(e,a,l){"use strict";l.d(a,{N:function(){return n}});var t=l(85893),r=l(30766);function n(e){var a,l,n,d,c,s,o,i,u,b,f,m,_,p,g,x,k;let{page:y,layout:h}=e,v=(null==y?void 0:null===(a=y.seo)||void 0===a?void 0:a.seo_title)?y.seo.seo_title:(null==y?void 0:y.title)?y.title:null===(l=h.default_seo)||void 0===l?void 0:l.title,T=null!==(g=null==y?void 0:null===(n=y.seo)||void 0===n?void 0:n.seo_description)&&void 0!==g?g:null===(d=h.default_seo)||void 0===d?void 0:d.description,w=(null==y?void 0:null===(s=y.seo)||void 0===s?void 0:null===(c=s.seo_image)||void 0===c?void 0:c.url)?{url:y.seo.seo_image.url,width:y.seo.seo_image.dimension.width,height:y.seo.seo_image.dimension.height}:{url:null===(i=h.default_seo)||void 0===i?void 0:null===(o=i.image)||void 0===o?void 0:o.url,width:null===(b=h.default_seo)||void 0===b?void 0:null===(u=b.image)||void 0===u?void 0:u.dimension.width,height:null===(m=h.default_seo)||void 0===m?void 0:null===(f=m.image)||void 0===f?void 0:f.dimension.height},S=null!==(x=null==y?void 0:null===(_=y.seo)||void 0===_?void 0:_.no_index)&&void 0!==x&&x,j=null!==(k=null==y?void 0:null===(p=y.seo)||void 0===p?void 0:p.no_follow)&&void 0!==k&&k;return(0,t.jsx)(r.h,{title:v,description:T,openGraph:{image:w},noindex:S||j})}},89108:function(e,a,l){"use strict";l.d(a,{c:function(){return c},E:function(){return s}});var t=l(85893),r=l(67294);let n=Number("5")||2500,d={date:void 0,flight:void 0,persons:[{firstName:"",lastName:""}],contact:{firstName:void 0},fastTrackPrice:n,originalFastTrackPrice:n,locale:"is-is"},c=(0,r.createContext)({fastTrackState:d,saveFastTrackState:()=>null,setFastTrackState:()=>null,createFormFromState:()=>null}),s=e=>{let{price:a,locale:l,children:n}=e,[s,o]=(0,r.useState)((e=>{let a;if(window.sessionStorage){let t=sessionStorage.getItem("fastTrackState");if(t)return(a=JSON.parse(t)).originalFastTrackPrice===e||(a.originalFastTrackPrice=e,a.promoCode||(a.fastTrackPrice=e)),a.locale=l,a}return{...d,originalFastTrackPrice:e,fastTrackPrice:e}})(a)),i=(0,r.useCallback)(e=>{o(a=>({...a,...e}))},[]),u=(0,r.useCallback)(()=>{window.sessionStorage&&sessionStorage.setItem("fastTrackState",JSON.stringify(s))},[s]),b=(0,r.useCallback)(()=>s.persons.map((e,a)=>(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)("input",{type:"hidden",name:"Itemdescription_".concat(a),value:"Fast Track: ".concat(e.firstName," ").concat(e.lastName)}),(0,t.jsx)("input",{type:"hidden",name:"Itemcount_".concat(a),value:1}),(0,t.jsx)("input",{type:"hidden",name:"Itemunitamount_".concat(a),value:s.fastTrackPrice}),(0,t.jsx)("input",{type:"hidden",name:"Itemamount_".concat(a),value:s.fastTrackPrice})]},a)),[s]);return(0,t.jsx)(c.Provider,{value:{fastTrackState:s,setFastTrackState:i,saveFastTrackState:u,createFormFromState:b},children:n})}},35732:function(e,a,l){"use strict";l.d(a,{R:function(){return n}});var t=l(67294),r=l(89108);let n=()=>(0,t.useContext)(r.c)},2327:function(e){e.exports={mobile:"480px",tablet:"720px",desktop:"1080px",wide:"1320px",maxMobile:"479.9px",maxTablet:"719.9px",maxDesktop:"10
179.9px",maxWide:"1319.9px",scroll:'"(min-width: 1080px) and (pointer: fine) and (prefers-reduced-motion: no-preference)"',black25:"#f5f5f5",black50:"#e7e7e7",black100:"#b5b5b5",black200:"#919191",black250:"#757575",black300:"#5f5f5f",black400:"#404040",black500:"#101010",black600:"#0f0f0f",black700:"#0b0b0b",black800:"#090909",black900:"#070707",blue50:"#e6edfe",blue100:"#b0c8fc",blue200:"#8aadfa",blue300:"#5488f8",blue400:"#3371f6",blue500:"#004df4",blue600:"#0046de",blue700:"#0037ad",blue800:"#002a86",blue900:"#002066",gold50:"#f8f3ec",gold100:"#eadbc3",gold200:"#e0caa7",gold300:"#d1b17e",gold400:"#c9a265",gold500:"#bb8b3f",gold600:"#aa7e39",gold700:"#85632d",gold800:"#674c23",gold900:"#4f3a1a",green50:"#e7f5eb",green100:"#b4dfc0",green200:"#90d0a2",green300:"#5dbb78",green400:"#3dad5d",green500:"#0d9935",green600:"#0c8b30",green700:"#096d26",green800:"#07541d",green900:"#054016",red50:"#fbeae7",red100:"#f4bdb6",red200:"#ee9d92",red300:"#e77060",red400:"#e25541",red500:"#db2a12",red600:"#c72610",red700:"#9b1e0d",red800:"#78170a",red900:"#5c1208",yellow100:"#f4d8b6",yellow200:"#eec592",yellow300:"#e7ab60",yellow400:"#e29a41",yellow500:"#db8112",yellow600:"#c77510",yellow700:"#9b5c0d",yellow800:"#78170a",yellow900:"#5c3608",fastTrackSummary:"FastTrackSummary_fastTrackSummary__smzCw",fastTrackSummary__section:"FastTrackSummary_fastTrackSummary__section__qZpZg",promo:"FastTrackSummary_promo__n573e",total:"FastTrackSummary_total__zZPAu",fastTrackSummary__sectionHeading:"FastTrackSummary_fastTrackSummary__sectionHeading__jkJdT",fastTrackSummary__list:"FastTrackSummary_fastTrackSummary__list__4MQTE",fastTrackSummary__totalLabel:"FastTrackSummary_fastTrackSummary__totalLabel__X13RQ",fastTrackSummary__totalAmount:"FastTrackSummary_fastTrackSummary__totalAmount__WCxMt",fastTrackSummary__nextStep:"FastTrackSummary_fastTrackSummary__nextStep__b21Ai",fastTrackSummary__paymentImages:"FastTrackSummary_fastTrackSummary__paymentImages__k2hwK"}},20036:function(e){e.exports={mobile:"480px",tablet:"720px",desktop:"1080px",wide:"1320px",maxMobile:"479.9px",maxTablet:"719.9px",maxDesktop:"10
179.9px",maxWide:"1319.9px",scroll:'"(min-width: 1080px) and (pointer: fine) and (prefers-reduced-motion: no-preference)"',black25:"#f5f5f5",black50:"#e7e7e7",black100:"#b5b5b5",black200:"#919191",black250:"#757575",black300:"#5f5f5f",black400:"#404040",black500:"#101010",black600:"#0f0f0f",black700:"#0b0b0b",black800:"#090909",black900:"#070707",blue50:"#e6edfe",blue100:"#b0c8fc",blue200:"#8aadfa",blue300:"#5488f8",blue400:"#3371f6",blue500:"#004df4",blue600:"#0046de",blue700:"#0037ad",blue800:"#002a86",blue900:"#002066",gold50:"#f8f3ec",gold100:"#eadbc3",gold200:"#e0caa7",gold300:"#d1b17e",gold400:"#c9a265",gold500:"#bb8b3f",gold600:"#aa7e39",gold700:"#85632d",gold800:"#674c23",gold900:"#4f3a1a",green50:"#e7f5eb",green100:"#b4dfc0",green200:"#90d0a2",green300:"#5dbb78",green400:"#3dad5d",green500:"#0d9935",green600:"#0c8b30",green700:"#096d26",green800:"#07541d",green900:"#054016",red50:"#fbeae7",red100:"#f4bdb6",red200:"#ee9d92",red300:"#e77060",red400:"#e25541",red500:"#db2a12",red600:"#c72610",red700:"#9b1e0d",red800:"#78170a",red900:"#5c1208",yellow100:"#f4d8b6",yellow200:"#eec592",yellow300:"#e7ab60",yellow400:"#e29a41",yellow500:"#db8112",yellow600:"#c77510",yellow700:"#9b5c0d",yellow800:"#78170a",yellow900:"#5c3608",label:"Label_label__LgnJk",hidden:"Label_hidden__Ywn0H"}},32243:function(e){e.exports={mobile:"480px",tablet:"720px",desktop:"1080px",wide:"1320px",maxMobile:"479.9px",maxTablet:"719.9px",maxDesktop:"10
179.9px",maxWide:"1319.9px",scroll:'"(min-width: 1080px) and (pointer: fine) and (prefers-reduced-motion: no-preference)"',black25:"#f5f5f5",black50:"#e7e7e7",black100:"#b5b5b5",black200:"#919191",black250:"#757575",black300:"#5f5f5f",black400:"#404040",black500:"#101010",black600:"#0f0f0f",black700:"#0b0b0b",black800:"#090909",black900:"#070707",blue50:"#e6edfe",blue100:"#b0c8fc",blue200:"#8aadfa",blue300:"#5488f8",blue400:"#3371f6",blue500:"#004df4",blue600:"#0046de",blue700:"#0037ad",blue800:"#002a86",blue900:"#002066",gold50:"#f8f3ec",gold100:"#eadbc3",gold200:"#e0caa7",gold300:"#d1b17e",gold400:"#c9a265",gold500:"#bb8b3f",gold600:"#aa7e39",gold700:"#85632d",gold800:"#674c23",gold900:"#4f3a1a",green50:"#e7f5eb",green100:"#b4dfc0",green200:"#90d0a2",green300:"#5dbb78",green400:"#3dad5d",green500:"#0d9935",green600:"#0c8b30",green700:"#096d26",green800:"#07541d",green900:"#054016",red50:"#fbeae7",red100:"#f4bdb6",red200:"#ee9d92",red300:"#e77060",red400:"#e25541",red500:"#db2a12",red600:"#c72610",red700:"#9b1e0d",red800:"#78170a",red900:"#5c1208",yellow100:"#f4d8b6",yellow200:"#eec592",yellow300:"#e7ab60",yellow400:"#e29a41",yellow500:"#db8112",yellow600:"#c77510",yellow700:"#9b5c0d",yellow800:"#78170a",yellow900:"#5c3608",textInput:"TextInput_textInput__2_7on",textInput__inner:"TextInput_textInput__inner__Stdox",textInput__input
1:"TextInput_textInput__input__a_j6h",textInput__icon:"TextInput_textInput__icon__L7FTt",textInput__fakePlaceholder:"TextInput_textInput__fakePlaceholder__yEZtt"}},38623:function(e){e.exports={mobile:"480px",tablet:"720px",desktop:"1080px",wide:"1320px",maxMobile:"479.9px",maxTablet:"719.9px",maxDesktop:"1079.9px",maxWide:"1319.9px",scroll:'"(min-width: 1080px) and (pointer: fine) and (prefers-reduced-motion: no-preference)"',black25:"#f5f5f5",black50:"#e7e7e7",black100:"#b5b5b5",black200:"#919191",black250:"#757575",black300:"#5f5f5f",black400:"#404040",black500:"#101010",black600:"#0f0f0f",black700:"#0b0b0b",black800:"#090909",black900:"#070707",blue50:"#e6edfe",blue100:"#b0c8fc",blue200:"#8aadfa",blue300:"#5488f8",blue400:"#3371f6",blue500:"#004df4",blue600:"#0046de",blue700:"#0037ad",blue800:"#002a86",blue900:"#002066",gold50:"#f8f3ec",gold100:"#eadbc3",gold200:"#e0caa7",gold300:"#d1b17e",gold400:"#c9a265",gold500:"#bb8b3f",gold600:"#aa7e39",gold700:"#85632d",gold800:"#674c23",gold900:"#4f3a1a",green50:"#e7f5eb",green100:"#b4dfc0",green200:"#90d0a2",green300:"#5dbb78",green400:"#3dad5d",green500:"#0d9935",green600:"#0c8b30",green700:"#096d26",green800:"#07541d",green900:"#054016",red50:"#fbeae7",red100:"#f4bdb6",red200:"#ee9d92",red300:"#e77060",red400:"#e25541",red500:"#db2a12",red600:"#c72610",red700:"#9b1e0d",red800:"#78170a",red900:"#5c1208",yellow100:"#f4d8b6",yellow200:"#eec592",yellow300:"#e7ab60",yellow400:"#e29a41",yellow500:"#db8112",yellow600:"#c77510",yellow700:"#9b5c0d",yellow800:"#78170a",yellow900:"#5c3608",section:"Section_section__xs1he",section__container:"Section_section__container__BeypN"}}}]);
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.