(window.webpackJsonp=window.webpackJsonp||[]).push([[196,197,198,328],{1673:function(e,t,o){var content=o(2185);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,o(5).default)("7b8814b5",content,!0,{sourceMap:!1})},1906:function(e,t,o){"use strict";o.r(t);var l={name:"JlrInfoSystemSelect",props:{dropdownOptions:{type:Array,default:()=>[]},fields:{type:Object,default:()=>{}},buttonDisabled:{type:Boolean,default:!0},selectedOption:{type:Object,default:()=>{}},value:{type:Object,default:()=>{}}},methods:{onInfoClick(){this.$emit("onInfoClick")},onButtonClick(){this.$emit("onButtonClick")},onInput(e){this.$emit("input",e)}}},n=o(0),component=Object(n.a)(l,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"jlr-info-system__wrapper"},[e.fields.heading?t("JlrUiAtomsHeading",{staticClass:"jlr-info-system__heading",attrs:{theme:e.fields.theme,level:e.fields.header_tag,size:e.fields.header_size||"l","font-variant":e.fields.header_font||"primary",html:e.$htmlFilter(e.fields.heading)}}):e._e(),e._v(" "),e.fields.paragraph?t("JlrUiAtomsParagraph",{staticClass:"jlr-info-system__paragraph",attrs:{theme:e.fields.theme,size:"m",html:e.$htmlFilter(e.fields.paragraph)}}):e._e(),e._v(" "),e.dropdownOptions&&e.dropdownOptions.length&&e.fields.dropdown_label?t("div",{staticClass:"jlr-info-system__block"},[t("div",{staticClass:"jlr-info-system__dropdown-wrapper"},[e.fields.dropdown_label?t("div",{staticClass:"jlr-info-system__dropdown-field-top"},[t("JlrUiAtomsParagraph",{staticClass:"jlr-info-system__dropdown-label",attrs:{theme:e.fields.theme,size:"m",html:e.$htmlFilter(e.fields.dropdown_label)}}),e._v(" "),e.fields.modal_title&&e.fields.modal_text?t("JlrUiAtomsIcon",{staticClass:"jlr-info-system__dropdown-icon",attrs:{icon:"icon-info-evo-jaguar",size:"18",theme:e.fields.theme},nativeOn:{click:function(t){return e.onInfoClick.apply(null,arguments)}}}):e._e()],1):e._e(),e._v(" "),e.dropdownOptions&&e.dropdownOptions.length?t("JlrUiAtomsDropdown",{staticClass:"jlr-info-system__dropdown",attrs:{value:e.value,options:e.dropdownOptions,placeholder:e.fields.dropdown_default||"","preselect-first":!1},on:{input:e.onInput}}):e._e()],1),e._v(" "),e.fields.button_label?t("JlrUiButton",{staticClass:"jlr-info-system__dropdown-button",attrs:{"always-show":"",theme:e.fields.theme,disabled:e.buttonDisabled,"label-text":e.fields.button_label},nativeOn:{click:function(t){return e.onButtonClick.apply(null,arguments)}}}):e._e()],1):e._e()],1)}),[],!1,null,null,null);t.default=component.exports;installComponents(component,{JlrUiAtomsHeading:o(70).default,JlrUiAtomsParagraph:o(127).default,JlrUiAtomsIcon:o(27).default,JlrUiAtomsDropdown:o(839).default,JlrUiButton:o(351).default})},1907:function(e,t,o){"use strict";o.r(t);var l={name:"JlrInfoSystemShow",props:{fields:{type:Object,default:()=>{}},selectedOption:{type:Object,default:()=>{}}},computed:{displayedHeading(){return this.fields.model_title?this.fields.model_title.replace("{selectedOption}","<span>"+this.selectedOption.name+"</span>"):""}},methods:{resetSelectedOption(){this.$emit("resetSelectedOption")}}},n=o(0),component=Object(n.a)(l,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"jlr-info-system__wrapper jlr-info-system__wrapper--show"},[e.displayedHeading?t("JlrUiAtomsHeading",{staticClass:"jlr-info-system__heading jlr-info-system__heading--selected",attrs:{theme:e.fields.theme,level:e.fields.model_title_heading_tag,size:e.fields.header_size||"l","font-variant":e.fields.header_font||"primary",html:e.displayedHeading}}):e._e(),e._v(" "),t("JlrUiCta",{attrs:{theme:e.fields.theme,"always-show":"","with-callback":!1,"label-text":e.fields.back_button_label,icon:e.fields.back_icon},on:{click:e.resetSelectedOption}})],1)}),[],!1,null,null,null);t.default=component.exports;installComponents(component,{JlrUiAtomsHeading:o(70).default,JlrUiCta:o(71).default})},2184:function(e,t,o){"use strict";o(1673)},2185:function(e,t,o){var l=o(4)((function(i){return i[1]}));l.push([e.i,".jlr-info-system .jlr-cta__icon{font-size:.75rem}.jlr-info-system__heading,.jlr-info-system__heading--selected{margin-bottom:24px}.jlr-info-system__heading--selected span{display:block}.jlr-info-system__paragraph{margin-bottom:24px}.jlr-info-system__block{align-items:flex-end;display:flex;flex-wrap:wrap}.jlr-info-system__block .jlr-info-system__dropdown-button.jlr-button{min-height:45px}.jlr-info-system__dropdown{margin:1px 0;width:100%}.jlr-info-system__dropdown-wrapper{display:flex;flex-wrap:wrap;margin-bottom:24px;max-width:360px;width:100%}.jlr-info-system__dropdown-wrapper .jlr-info-system__dropdown-field-top{align-items:baseline;display:flex;justify-content:space-between;margin-bottom:7px;width:100%}.jlr-info-system__dropdown-wrapper .jlr-info-system__dropdown-label{font-weight:600}.jlr-info-system__dropdown-wrapper .jlr-info-system__dropdown-icon{cursor:pointer}.jlr-info-system__dropdown-wrapper .jlr-info-system__dropdown-icon:before{margin-right:0}@media(min-width:741px){.jlr-info-system .jlr-info-system__wrapper{max-width:520px}.jlr-info-system .jlr-info-system__dropdown-wrapper{margin-bottom:0;margin-right:24px}.jlr-info-system .jlr-info-system__paragraph{margin-bottom:40px}.jlr-info-system .jlr-info-system__heading--selected span{display:inline}}@media(min-width:1280px){.jlr-info-system .jlr-info-system__wrapper{max-width:760px}}.jlr-info-system__paragraph.jlr-paragraph{font-size:.875rem;letter-spacing:.01rem;line-height:1.3125rem}@media(min-width:1280px){.jlr-info-system__paragraph.jlr-paragraph{font-size:1rem;letter-spacing:.01rem;line-height:1.3125rem}}",""]),l.locals={},e.exports=l},2788:function(e,t,o){"use strict";o.r(t);var l=o(1906),n=o(1907),r={name:"JlrInfoSystem",components:{JlrInfoSystemSelect:l.default,JlrInfoSystemShow:n.default},props:{id:{type:[String,Number],default:1},fields:{required:!0,type:Object},groups:{required:!0,type:Array,default:()=>[]}},data:()=>({selectedOption:null,mode:"select"}),computed:{dropdownOptions(){return this.groups.map(((e,i)=>({key:i,name:e.option_label,value:e.option_blocks})))}},mounted(){this.$emitter.emit("tabMounted",this.id)},methods:{emitSelectedTab(){var e=this.dropdownOptions.findIndex((option=>option.key===this.selectedOption.key));this.$emitter.emit("blocks-change",{tabsComponentId:this.id,currentTabIndex:e})},onInfoClick(){this.$refs.modal.setModalState(!0)},onButtonClick(){this.emitSelectedTab(),this.mode="show"},resetSelectedOption(){this.$emitter.emit("blocks-change",{tabsComponentId:this.id,currentTabIndex:null}),this.mode="select"}}},d=(o(2184),o(0)),component=Object(d.a)(r,(function(){var e=this,t=e._self._c;return t("JlrUiAtomsSection",{staticClass:"jlr-info-system",attrs:{theme:e.fields.theme,"grid-modifier-class":""+e.fields.padding_grid_class}},["select"===e.mode?t("JlrInfoSystemSelect",{attrs:{"dropdown-options":e.dropdownOptions,fields:e.fields,"button-disabled":!e.selectedOption},on:{onInfoClick:e.onInfoClick,onButtonClick:e.onButtonClick},model:{value:e.selectedOption,callback:function(t){e.selectedOption=t},expression:"selectedOption"}}):t("JlrInfoSystemShow",{attrs:{fields:e.fields,"selected-option":e.selectedOption},on:{resetSelectedOption:e.resetSelectedOption}}),e._v(" "),e.fields.modal_title||e.fields.modal_text?t("JlrUiAtomsCustomModal",{ref:"modal",staticClass:"jlr-dropdown-sections-select__modal",attrs:{"header-text":e.fields.modal_title,"body-text":e.fields.modal_text}}):e._e()],1)}),[],!1,null,null,null);t.default=component.exports;installComponents(component,{JlrUiAtomsCustomModal:o(128).default,JlrUiAtomsSection:o(87).default})},825:function(e,t,o){var content=o(842);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,o(5).default)("4b584efa",content,!0,{sourceMap:!1})},839:function(e,t,o){"use strict";o.r(t);var l=o(869),n={name:"Dropdown",components:{VueMultiselect:o.n(l).a},props:{value:{type:[String,Number,Array,Object],default:null},options:{type:Array,default:()=>[]},loading:{type:Boolean,default:!1},allowEmpty:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!0},openDirection:{type:String,default:""},trackBy:{type:String,default:"key"},label:{type:String,default:"name"},maxHeight:{type:[String,Number],default:300},placeholder:{type:String,default:"Select option"},disabled:{type:Boolean,default:!1},id:{type:[String,Number],default:null},searchable:{type:Boolean,default:!1}},methods:{onInput(e){this.$emit("input",e)},onSelect(e){this.$emit("select",e)}}},r=(o(841),o(0)),component=Object(r.a)(n,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"jlr-dropdown"},[t("VueMultiselect",{attrs:{id:e.id,value:e.value,options:e.options,searchable:e.searchable,"show-labels":!1,"allow-empty":e.allowEmpty,"preselect-first":e.preselectFirst,"open-direction":e.openDirection,"track-by":e.trackBy,label:e.label,disabled:e.disabled,"max-height":e.maxHeight,loading:e.loading,placeholder:e.placeholder},on:{input:e.onInput,select:e.onSelect},scopedSlots:e._u([{key:"singleLabel",fn:function(t){return[e._t("singleLabel",null,{option:t.option})]}},{key:"option",fn:function(t){return[e._t("option",null,{option:t.option})]}}],null,!0)},[e._v(" "),e._v(" "),t("template",{slot:"noOptions"},[e._t("noOptions")],2)],2)],1)}),[],!1,null,null,null);t.default=component.exports},841:function(e,t,o){"use strict";o(825)},842:function(e,t,o){var l=o(4)((function(i){return i[1]}));l.push([e.i,'.jlr-dropdown .multiselect{background-color:#fff;border:1px solid #bbb;box-sizing:content-box;color:#141414;cursor:pointer;font-family:"JLR Proxima Nova",Arial,Helvetica,"Microsoft JhengHei",sans-serif;font-size:.6875rem;font-weight:400;height:42px;line-height:42px;outline:0;position:relative;text-transform:uppercase;width:auto}.jlr-dropdown .multiselect:hover{border-color:#0c121c;z-index:999}.jlr-dropdown .multiselect:hover .multiselect__tags{border:none!important;color:#000}.jlr-dropdown .multiselect:hover:before{border:1px solid #0c121c;bottom:0;content:"";left:0;position:absolute;right:0;top:0}.jlr-dropdown .multiselect__option,.jlr-dropdown .multiselect__placeholder,.jlr-dropdown .multiselect__single{align-items:center;color:#141414;display:flex;font-size:.6875rem;font-weight:600;height:100%;letter-spacing:1.5px;line-height:13.2px;margin:0;padding:14px 34px 14px 14px}[data-hebrew-fonts=true] .jlr-dropdown .multiselect__option,[data-hebrew-fonts=true] .jlr-dropdown .multiselect__placeholder,[data-hebrew-fonts=true] .jlr-dropdown .multiselect__single{font-family:"Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;font-size:.6875rem;font-weight:700}.jlr-dropdown .multiselect__option{display:block;text-transform:uppercase;width:100%}.jlr-dropdown .multiselect.multiselect--active{background-color:#3c3c3b;border:2px solid #0c121c;border-bottom:none;outline:none}.jlr-dropdown .multiselect.multiselect--active .multiselect__placeholder,.jlr-dropdown .multiselect.multiselect--active .multiselect__single{color:#fff}.jlr-dropdown .multiselect.multiselect--active .multiselect__placeholder{display:flex}.jlr-dropdown .multiselect.multiselect--active.multiselect--above{border:2px solid #0c121c;border-top:none}.jlr-dropdown .multiselect.multiselect--active .multiselect__select{transform:none}.jlr-dropdown .multiselect.multiselect--active .multiselect__select:before{color:#fff;transform:rotate(180deg)}.jlr-dropdown .multiselect.multiselect--active .multiselect__tags{border:none!important}.jlr-dropdown .multiselect__tags{background:none;border:none;box-shadow:none;height:inherit;padding:0;position:relative}.jlr-dropdown .multiselect__tags:hover{border:none}.jlr-dropdown .multiselect__tags>.multiselect__single{display:inline-block;left:0;overflow:hidden;position:absolute;text-overflow:ellipsis;top:0;white-space:nowrap;width:100%}.jlr-dropdown .multiselect__content-wrapper{background:#fff;border:2px solid #0c121c;border-radius:0!important;border-top:none;box-shadow:0 3px 4px rgba(0,0,0,.25);left:-2px;margin:0;overflow:auto;position:absolute;top:42px;width:calc(100% + 4px);z-index:9}.jlr-dropdown .multiselect.multiselect--above .multiselect__content-wrapper{border:2px solid #0c121c;border-bottom:none}.jlr-dropdown .multiselect__option{background-color:#fff;border-bottom:1px solid #bbb}.jlr-dropdown .multiselect__option--selected,.jlr-dropdown .multiselect__option.active{background-color:#f9f9f9}.jlr-dropdown .multiselect__option:hover{background-color:#f0f0f0}.jlr-dropdown .multiselect__option:focus-visible:not([disabled]),.jlr-dropdown .multiselect__option:focus-within:not([disabled]),.jlr-dropdown .multiselect__option:focus:not([disabled]){outline:0!important}.jlr-dropdown .multiselect__option:focus-visible:not([disabled]),.jlr-dropdown .multiselect__option:focus-within:not([disabled]),.jlr-dropdown .multiselect__option:focus:not([disabled]){box-shadow:0 0 5px 2px #4a90e2}.jlr-dropdown .multiselect--above .multiselect__content-wrapper{bottom:100%;top:auto}.jlr-dropdown .multiselect__single{background:transparent none repeat 0 0/auto auto padding-box border-box scroll;background:initial;height:100%}.jlr-dropdown .multiselect__input{color:#fff;padding-left:14px;padding-right:34px}.jlr-dropdown .multiselect__single{color:inherit}.jlr-dropdown .multiselect__content{list-style:none;margin:0;padding:0;vertical-align:bottom;width:100%}.jlr-dropdown .multiselect__select{display:block;height:auto;position:relative;width:auto}.jlr-dropdown .multiselect__select:before{border:none;color:#141414;content:"";font-family:icons;font-size:inherit;font-weight:400;position:absolute;right:17px}@media(min-width:961px){.jlr-dropdown .multiselect__option,.jlr-dropdown .multiselect__placeholder,.jlr-dropdown .multiselect__single{font-size:.75rem;letter-spacing:1.2px;line-height:14.4px}}.jlr-dropdown .multiselect--disabled{border-color:#e4e4e4;opacity:1;pointer-events:none}.jlr-dropdown .multiselect--disabled .multiselect__select:before{content:none}.jlr-dropdown .multiselect--disabled .multiselect__tags{background:#f9f9f9}.jlr-dropdown .multiselect--disabled .multiselect__placeholder{color:#bbb}',""]),l.locals={},e.exports=l}}]);