1import{r as o,o as O,a as N,b as c,c as D,e as i,f as g,k as b,y as G,w as s,T as H,g as d,h as n,i as C,t as x,a6 as R,l as k,F as f,j as $,m as q}from"./vendor.91ad5693.js";import{_ as Q,p,o as Z}from"./index.0e7f23a9.js";const J=C(' { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position": 1, "item": { "@id": "https://www.genertel.hu/lopascasco-biztositas", "name": "Lop\xE1s CASCO biztos\xEDt\xE1s" } }, { "@type": "ListItem", "position": 2, "item": { "@id": "https://www.genertel.hu/lopascasco-biztositas/lopascasco-biztositas-kalkulator/kezdes", "name": "Lop\xE1s CASCO biztos\xEDt\xE1s" } } ] } '),K={id:"lopascasco-page",class:"product-page product-page-calculator"},W={class:"description-section"},X={class:"container-xxl"},Y={class:"text-margin-bottom"},ee={key:0,class:"google-score-mobile pt-0"},te={name:"LopasCascoViewCalculator",setup(le){const I=o(Z.getTheftCasco()),l=o({}),L=o("Lop\xE1s casco"),M=o({}),a=o({value1:{id:"MINI_110",value:null},value2:{id:"MINI_111",value:null},value3:{id:"MINI_113",value:null},value4:{id:null,value:null}}),v=o({text:"",label:"",text:""}),m=o({text:"",label:"",text:""}),_=o({text:"",label:"",text:""}),V=o({}),y=o({}),T=o(!0),w=o(!0),S=o(!0);O(async()=>{await N.get("https://portalapi.genertel.hu/pba/Contents/GetZerothPageCalculator?product=lopascasco").then(u=>{V.value=u.data.uspBox,y.value=u.data.descriptionModules}),await N.get("https://portalapi.genertel.hu/pba/Contents/Minicalculator?product=lopascasco").then(u=>{if(l.value=u.data,l.value.fields!==void 0&&l.value.fields!==null){let e=[];l.value.fields.forEach(r=>{e.push({label:r.label,name:r.name,tooltip:r.tooltip})}),v.value.label=p.getTextValue(e,"label","MINI_110"),v.value.tooltip=p.getTextValue(e,"tooltip","MINI_110"),m.value.label=p.getTextValue(e,"label","MINI_111"),m.value.tooltip=p.getTextValue(e,"tooltip","MINI_111"),_.value.label=p.getTextValue(e,"label","MINI_113"),_.value.tooltip=p.getTextValue(e,"tooltip","MINI_113")}T.value=!1,w.value=!1})});function E(u){return u.charAt(0).toUpperCase()+u.slice(1)}return(u,e)=>{const r=c("Tooltip"),F=c("PhIconManager"),h=c("SelectInput"),j=c("ProductMinicalculator"),z=c("GoogleScore"),A=c("MiniCarouselModule"),B=c("HeroModule"),P=D("sanitize");return i(),g(f,null,[(i(),b(H,{to:"head"},[(i(),b(G("script"),{type:"application/ld+json"},{default:s(()=>[J]),_:1}))])),d("main",K,[n(B,{"background-image":l.value.backgroundImage},{default:s(()=>[w.value?k("",!0):(i(),b(j,{key:T.value,"discount-link":l.value.discountLink,inputs:a.value,"input-ref":M.value,"calculate-link":l.value.calculateLink,"show-tooltip-content":!0,"calculator-title":E(l.value.type)},{title:s(()=>[C(x(l.value.zerothPageTitle),1)]),subtitle:s(()=>[C(x(l.value.zerothPageSubtitle)+" ",1),n(r,{"tooltip-content":l.value.tooltip},null,8,["tooltip-content"])]),"tag-icon":s(()=>[n(F,{"ph-icon":`ph-${l.value.discountIcon}`,size:20,color:"purple"},null,8,["ph-icon"])]),"tag-text":s(()=>[C(x(l.value.discountLink.title),1)]),"input-holder":s(()=>[n(R,{ref_key:"miniCalculatorInputFormRef",ref:M},{default:s(()=>[n(h,{id:a.value.value1.id,modelValue:a.value.value1.value,"onUpdate:modelValue":e[0]||(e[0]=t=>a.value.value1.value=t),label:v.value.label,"tooltip-content":v.value.tooltip,options:I.value.szerzodoErdekeltsegOpciok,"validation-rules":"VAL_100_SELECT",onUpdateSelectedLabel:e[1]||(e[1]=t=>a.value.value1.text=t)},null,8,["id","modelValue","label","tooltip-content","options"]),n(h,{id:a.value.value2.id,modelValue:a.value.value2.value,"onUpdate:modelValue":e[2]||(e[2]=t=>a.value.value2.value=t),label:m.value.label,options:I.value.forgalmiNevOpciok,"tooltip-content":m.value.tooltip,"validation-rules":"VAL_100_SELECT",onUpdateSelectedLabel:e[3]||(e[3]=t=>a.value.value2.text=t)},null,8,["id","modelValue","label","options","tooltip-content"]),n(h,{id:a.value.value3.id,modelValue:a.value.value3.value,"onUpdate:modelValue":e[4]||(e[4]=t=>a.value.value3.value=t),label:_.value.label,options:I.value.gepjarmuFajtajaOpciok,"tooltip-content":_.value.tooltip,"validation-rules":"VAL_100_SELECT",onUpdateSelectedLabel:e[5]||(e[5]=t=>a.value.value3.text=t)},null,8,["id","modelValue","label","options","tooltip-content"])]),_:1},512)]),_:1},8,["discount-link","inputs","input-ref","calculate-link","calculator-title"])),u.$q.screen.width>991?(i(),b(z,{key:1,"insurance-type":L.value},null,8,["insurance-type"])):k("",!0),n(A,{items:V.value!==null?V.value.items:[]},null,8,["items"])]),_:1},8,["background-image"]),d("section",W,[d("div",X,[(i(!0),g(f,null,$(y.value.items,(t,U)=>(i(),g(f,{key:U},[d("h2",null,x(t.header),1),q(d("p",Y,null,512),[[P,t.htmlText]])],64))),128))])]),S.value?(i(),g("section",ee,[n(z,{"insurance-type":L.value,onSelectedModule:e[6]||(e[6]=t=>S.value=t)},null,8,["insurance-type"])])):k("",!0)])],64)}}};var ue=Q(te,[["__scopeId","data-v-d6f0ed24"]]);export{ue as default}; 2//# sourceMappingURL=LopasCascoViewCalculator.6a20844e.js.map
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.