1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5804],{2415:(e,a,t)=>{t.d(a,{SN:()=>i,dk:()=>n});var l=t(88281),s=t.n(l);let i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";s().q.push(["track_pageview",e])},n=(e,a)=>{s().q.push(["add_event",{key:a,segmentation:e}])}},38971:(e,a,t)=>{t.d(a,{Bq:()=>i,Rb:()=>n,hB:()=>s});var l=t(56945);let s=e=>new Promise(async(a,t)=>{var s,i,n,r;try{let t=await l.S.get("/api/server/claim/assistances/get-types?productCode=".concat(e));a(null==t||null==(i=t.data)||null==(s=i.data)?void 0:s.assistanceTypes)}catch(e){t(null==e||null==(r=e.response)||null==(n=r.data)?void 0:n.meta)}}),i=e=>{let{cityCode:a}=e;return new Promise(async(e,t)=>{var s,i,n,r;try{let t=await l.S.post("/api/server/addresses/counties",{cityCode:a});e(null==t||null==(i=t.data)||null==(s=i.data)?void 0:s.counties)}catch(e){t(null==e||null==(r=e.response)||null==(n=r.data)?void 0:n.meta)}})},n=e=>new Promise(async(a,t)=>{var s,i,n;try{let t=await l.S.post("/api/server/claim/assistances",e);a(null==t||null==(s=t.data)?void 0:s.data)}catch(e){t(null==e||null==(n=e.response)||null==(i=n.data)?void 0:i.meta)}})},42552:(e,a,t)=>{t.d(a,{Ay:()=>c,nM:()=>n});var l=t(37876);t(14232);var s=t(99250),i=t(8720),n=function(e){return e.GRAY="gray",e.DEFAULT="default",e.BLACK="black",e.ERROR="error",e}({});let r={styles:{base:{backgroundColor:s.zB},default:{backgroundColor:s.zB},black:{backgroundColor:s.ek},gray:{backgroundColor:s.Ik},error:{backgroundColor:s.YP}}};function c(e){let{severity:a="default",size:t="large",styleOverride:s,value:n,options:c,align:o=i.ALIGN.horizontal,disabled:d,setValue:u}=e,m={RadioMarkOuter:{style:()=>({...r.styles[a],...s})}};return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(i.RadioGroup,{value:n,onChange:e=>u(e.target.value),name:"number",disabled:d||!1,align:o,children:c.map((e,a)=>(0,l.jsx)(i.Radio,{value:e.value,overrides:{...m},children:e.title},a))})})}},45804:(e,a,t)=>{t.r(a),t.d(a,{default:()=>v});var l=t(37876),s=t(99250),i=t(14232),n=t(94792),r=t(57927),c=t(51286),o=t(85358),d=t(90043),u=t(38971),m=t(89099),x=t(2415),p=t(8244),h=t(98173),b=t(25994),g=t(52882),y=t(36147);let v=()=>{let e=(0,m.useRouter)(),a=(0,b.lW)(),{useProductCode:t,useAssistantCategories:v}=(0,i.useContext)(o.x),{useComponentIndex:f,useNextClick:k,useError:j,useSelectedAssistanceCategory:N,useDamageType:w,useIsMissingReport:C,useSelectedPolicy:T,useUserIdentity:A}=(0,i.useContext)(d.X),[P,z]=T,[V,R]=A,[S]=w,[_]=t,[D,E]=f,[G,L]=k,[M,B]=j,[F,O]=v,[q,Y]=N,[H,K]=(0,i.useState)(!1),[U,I]=C;(0,i.useEffect)(()=>{(0,x.SN)("".concat(e.query.slug,"-Hasar Destek/").concat(h.jk[S]))},[]),(0,i.useEffect)(()=>{J()},[]),(0,i.useEffect)(()=>{if(G&&X()){let a=F.find(e=>e.code===q).typeName;(0,x.dk)({["".concat(e.query.slug," Destek Talebi/").concat(a)]:!0},"".concat(e.query.slug," Destek Talebi/").concat(a)),L(!1),E(D+1)}},[G]);let J=()=>{K(!0),(0,u.hB)(_).then(e=>{O(e)}).catch(e=>{B({status:!0,type:"error",title:e.description,description:""})}).finally(()=>{K(!1)})},X=()=>!!q||(Q("İlerlemek i\xe7in bir destek t\xfcr\xfc se\xe7iniz"),L(!1),!1),Q=e=>B({status:!0,type:"error",title:e,description:""}),W=e=>{if(q!==e){Y(e),z(""),R("");let a=c.K.get(e);(0,p.rX)({buttonName:a?"".concat(a.typeName," Hizmeti"):String(e),buttonLocation:"damage_support_type_selection",stepName:"Destek T\xfcr\xfc",stepNumber:"2"})}};return(0,l.jsxs)("div",{className:"flex flex-col max-w-[432px] flex-1",children:[(0,l.jsxs)("div",{className:"flex flex-col items-start justify-center gap-2 mb-6 lg:mb-10",children:[(0,l.jsx)("span",{className:"font-semibold text-2xl",children:"Destek Talebi"}),(0,l.jsx)("span",{className:"text-sm font-normal",style:{color:s.c3},children:"L\xfctfen aÅaÄıdan destek istediÄiniz t\xfcr\xfc se\xe7in"})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-6",children:[F.map(e=>{let a=c.K.get(e.code);return(0,l.jsx)(n.A,{icon:(0,l.jsx)("i",{children:a.imgPath({width:56,height:56})}),iconClassName:"mr-3",small:!0,isFlex:!0,value:e.code,currentValue:q,title:"".concat(a.typeName," Hizmeti"),subTitle:"Fibasigorta ".concat(a.subTitle," hizmeti"),setValue:W},e.code)}),H&&(0,l.jsx)(r.A,{})]}),(0,l.jsx)(g.Modal,{isOpen:U,closeable:!0,overrides:{Dialog:{style:e=>{let{$theme:a}=e;return{padding:0}}},Close:{style:e=>{let{$theme:a}=e;return{display:"none"}}}},children:(0,l.jsxs)("div",{className:"flex flex-col p-6",children:[(0,l.jsxs)("div",{className:"flex flex-row justify-between items-start",children:[(0,l.jsx)("img",{className:"mb-6 w-[64px] h-[64px] lg:w-[72px] lg:h-[72px]",src:"/img/damageSVG/error_damage_asistans.svg",alt:"info"}),(0,l.jsx)("img",{className:"cursor-pointer",onClick:()=>I(!1),src:"/img/profileSVG/x.svg"})]}),(0,l.jsx)("p",{className:"font-semibold text-xl lg:text-2xl mb-2",children:"Hasar Dosyanız Bulunmamaktadır."}),(0,l.jsx)("p",{className:"text-sm lg:text-base font-normal",style:{color:s.c1,marginBottom:a.width>1024?"24px":"32px"},children:"İkame ara\xe7 talep etmeniz i\xe7in aktif olarak hasar ihbarınızın olması gerekmektedir."}),(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)(y.Ay,{onClick:()=>
1{I(!1),e.push("/hasar-destek/basvuru/hasar-bildirimi/kasko",null,{shallow:!0})},children:"Hasar İhbarı OluÅtur"}),(0,l.jsx)(y.Ay,{onClick:()=>e.push("/"),severity:y.OR.SECONDARY,outlined:!0,size:y.Mp.SMALL,styleOverride:{width:"100%"},children:"Ana Men\xfc"})]})]})})]})}},51286:(e,a,t)=>{t.d(a,{K:()=>i});var l=t(37876),s=t(18297);let i=new Map([[1,{code:1,typeName:"\xc7ekici \xc7aÄır",subTitle:"\xe7ekici",imgPath:e=>(0,l.jsx)(s.S_o,{...e})}],[2,{code:2,typeName:"İkame Ara\xe7",subTitle:"ikame ara\xe7",imgPath:e=>(0,l.jsx)(s.GSG,{...e})}],[3,{code:3,typeName:"Yol Yardım",subTitle:"yol yardım",imgPath:e=>(0,l.jsx)(s.Ytz,{...e})}],[4,{code:4,typeName:"\xc7ilingir",subTitle:"\xe7ilingir",imgPath:e=>(0,l.jsx)(s.JVv,{...e})}],[5,{code:5,typeName:"Ambulans",subTitle:"ambulans",imgPath:e=>(0,l.jsx)(s.neA,{...e})}],[6,{code:6,typeName:"Mini Onarım",subTitle:"ambulans",imgPath:e=>(0,l.jsx)(s.lPL,{...e})}],[7,{code:7,typeName:"Ambulans",subTitle:"ambulans",imgPath:e=>(0,l.jsx)(s.neA,{...e})}],[8,{code:8,typeName:"DiÅ",subTitle:"diÅ saÄlıÄı",imgPath:e=>(0,l.jsx)(s.NZm,{...e})}],[9,{code:9,typeName:"G\xf6z",subTitle:"g\xf6z saÄlıÄı",imgPath:e=>(0,l.jsx)(s.nGF,{...e})}],[10,{code:10,typeName:"Check-Up",subTitle:"check-up",imgPath:e=>(0,l.jsx)(s.cnQ,{...e})}],[11,{code:11,typeName:"Ambulans",subTitle:"ambulans",imgPath:e=>(0,l.jsx)(s.neA,{...e})}],[12,{code:12,typeName:"\xc7ilingir",subTitle:"\xe7ilingir",imgPath:e=>(0,l.jsx)(s.JVv,{...e})}]])},94792:(e,a,t)=>{t.d(a,{A:()=>i});var l=t(37876),s=t(42552);function i(e){let a=e.onClick||(()=>{e.disabled||e.setValue(e.value)});return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"".concat(e.value===e.currentValue?"border-2 border-primary bg-blue-50":"border-2 border-white bg-white","\n ").concat(e.isFlex?"":"flex justify-between h-full","\n ").concat(!e.nonRadio||!e.small?"min-h-[92px]":""," rounded-xl p-4 w-full flex items-center relative\n ").concat(e.disabled?" cursor-not-allowed":"cursor-pointer","\n "),onClick:()=>!e.disabled&&e.setValue(e.value)||a(),children:[(0,l.jsxs)("div",{className:"top"!==e.iconPosition?" flex items-center w-[80%]":"",children:[(0,l.jsx)("div",{className:e.iconClassName&&e.iconClassName,children:e.icon}),(0,l.jsxs)("div",{className:"h-full flex flex-col w-full justify-center",children:[(0,l.jsx)("span",{className:"".concat(e.small?"text-base":"text-lg"," font-medium"),children:e.title}),e.subTitle&&(0,l.jsx)("span",{className:"text-sm font-normal ".concat(e.value===e.currentValue?"text-textPrimary":"text-gray-400"," "),children:e.subTitle}),(0,l.jsx)("span",{className:"".concat(e.description?"block":"hidden"," ").concat(e.value===e.currentValue?"text-textPrimary":"text-gray-400"," text-sm text-left"),children:null==e?void 0:e.description})]})]}),!e.nonRadio&&(0,l.jsx)("div",{className:"absolute right-1 ".concat("top"===e.iconPosition&&"top-4"),children:(0,l.jsx)(s.Ay,{severity:e.severity||s.nM.DEFAULT,value:e.currentValue,options:[{title:"",value:e.value}],setValue:()=>{},onClick:()=>{e.disabled||e.setValue(e.value)}})})]})})}t(14232)}}]);
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.