webpackJsonp([13],{"9RxY":function(e,t,r){"use strict";var s=r("Dd8w"),n=r.n(s),a=r("NYxO");t.a={props:{title:{type:String},subtitle:{type:String}},computed:n()({done:function(){return this.currentStepIndex+1>=this.steps.length},value:function(){return(this.currentStepIndex+1)/this.steps.length*100},stepData:function(){return this.steps[this.currentStepIndex]}},Object(a.mapState)("booking-form",{currentStepIndex:function(e){return e.currentStepIndex},steps:"steps"}))}},G2Du:function(e,t,r){var s=r("si0K");"string"==typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);r("rjj0")("63d8285a",s,!1,{sourceMap:!1})},KN2c:function(e,t,r){"use strict";var s=r("Xxa5"),n=r.n(s),a=r("exGp"),i=r.n(a),o=r("Dd8w"),p=r.n(o),c=r("NYxO"),u=r("QAdZ");t.a={layout:"public",components:{BookingProgressBar:u.a},computed:p()({seasonName:function(){return this.packageType.name+" "+this.year.year+"/"+this.year.hijri_year+"H"}},Object(c.mapState)("booking-form",{year:function(e){return e.year},packageType:function(e){return e.packageType},packages:function(e){return e.packages},countries:function(e){return e.countries},residencyStatuses:function(e){return e.residencyStatuses},mahramRelationships:function(e){return e.mahramRelationships},agents:function(e){return e.agents}})),fetch:function(){var e=i()(n.a.mark(function e(t){var r=t.store,s=t.params;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.dispatch("booking-form/getMetadata",{package_type:s.packageType,year:s.year});case 2:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}()}},OmpN:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=r("KN2c"),n=r("UfS4"),a=r("VU/8")(s.a,n.a,!1,null,null,null);a.options.__file="pages/book/_packageType/_year/new.vue",t.default=a.exports},QAdZ:function(e,t,r){"use strict";var s=r("9RxY"),n=r("bqB9"),a=!1;var i=function(e){a||r("G2Du")},o=r("VU/8")(s.a,n.a,!1,i,null,null);o.options.__file="components/booking/booking-progress-bar.vue",t.a=o.exports},UfS4:function(e,t,r){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("booking-progress-bar",{attrs:{title:this.seasonName+" Booking Form",subtitle:"Your journey with Almarwah Travel starts here"}}),this._m(0),t("div",{staticClass:"container"},[t("nuxt-child")],1)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"pricing-header px-3 py-3 pb-md-4 mx-auto text-center"},[t("p",{staticClass:"lead"})])}]};t.a=n},bqB9:function(e,t,r){"use strict";var s=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticClass:"progress-header bg-gray-700"},[r("h1",[e._v(e._s(e.title))]),r("h5",{staticClass:"subtitle"},[e._v(e._s(e.subtitle))])]),r("div",{staticClass:"progress-container container"},[r("b-progress",{attrs:{value:e.value,variant:e.done?"success":"primary"}}),r("div",{staticClass:"progress-overlay"},[r("b-row",e._l(e.steps,function(t,s){return r("b-col",{key:s},[r("div",{staticClass:"progress-step",class:s<=e.currentStepIndex?"elapsed":""},[r("i",{staticClass:"fa",class:t.icon}),r("span",{staticClass:"d-none d-md-inline ml-2"},[e._v(e._s(t.title))])])])}))],1)],1)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},si0K:function(e,t,r){(e.exports=r("FZ+f")(!1)).push([e.i,".progress-header{text-align:center;background-color:green;color:#fff;padding:48px 0 64px;padding:3rem 0 4rem;margin-bottom:-32px;margin-bottom:-2rem}.progress-header h1{color:#fff}.progress-container{height:64px;height:4rem;position:relative}.progress-container .progress-overlay{width:100%;position:absolute;top:0;left:0;height:64px;height:4rem;line-height:64px;line-height:4rem;font-size:1.2em;padding:0 16px;padding:0 1rem}.progress-container .progress-overlay .progress-step{text-align:center}.progress-container .progress-overlay .progress-step.elapsed{color:#fff}.progress-container .progress{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.3);box-shadow:0 1px 5px rgba(0,0,0,.3);height:64px;height:4rem;border-radius:4rem}.progress-container .progress .progress-bar{border-radius:4rem;background-color:#099f54}",""])}});