PageSourceSearch

https://fibasigorta.com.tr/_next/static/chunks/1526.87c4b62f393a038f.js

js fibasigorta.com.tr collected 2026-09-29 17:01:20 UTC 13,520 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1526,8560],{18560:(e,a,t)=>{t.r(a),t.d(a,{DAMAGE_TYPE_COUNTLY_MAPPING:()=>g,default:()=>y});var l=t(37876),i=t(99250),s=t(14232),n=t(57927),r=t(19182),o=t(74491),c=t(20320),d=t(25994),u=t(18297),m=t(89763),p=t(89099);let v=new Map([["206",{img:e=>(0,l.jsx)(u.lim,{...e})}],["131",{img:e=>(0,l.jsx)(u.CE,{...e})}],["141",{img:e=>(0,l.jsx)(u.lNh,{...e})}],["344",{img:e=>(0,l.jsx)(u.f3m,{...e})}],["298",{img:e=>(0,l.jsx)(u.I2n,{...e})}],["003",{img:e=>(0,l.jsx)(u.rGQ,{...e})}]]),g={[c.C.Assistant]:"Asistans Hizmetleri Sorgulama",[c.C.Damage]:"Hasar Sorgulama",[c.C.Repair]:"Mini Onarım Sorgulama"},y=()=>{let e=(0,p.useRouter)(),a=(0,d.lW)(),[t,u]=(0,s.useState)(!1),{useProductCode:y}=(0,s.useContext)(o.l),[N]=y,{useSupportType:x,useNextClick:f,useComponentIndex:h,useError:C,useSupportList:b,useUserIdentity:A,useSelectedPolicy:I}=(0,s.useContext)(r.E),[D,j]=I,[w,P]=A,[k,E]=b,[S,T]=x,[_,M]=f,[G,R]=h,[O,Y]=C;return(0,s.useEffect)(()=>{(0,m.SN)("".concat(e.query.slug,"-Hasar Sorgulama/İşlem T\xfcr\xfc"))},[]),(0,s.useEffect)(()=>{_&&((0,m.dk)({["".concat(e.query.slug,"-").concat(g[S])]:!0},"".concat(e.query.slug,"-").concat(g[S])),M(!1),R(G+1))},[_]),(0,l.jsxs)("div",{className:"flex flex-col items-start justify-center",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 almak istediğiniz işlem t\xfcr\xfc nedir ?"}),(0,l.jsxs)("span",{className:"text-sm font-normal",style:{color:i.c3},children:["L\xfctfen aşağıda destek almak istediğiniz işlem t\xfcr\xfcn\xfc se\xe7in"," "]})]}),(0,l.jsxs)("div",{className:"flex flex-row flex-wrap gap-4 lg:gap-6",children:[k.map((e,t)=>{if((e.type!==c.C.Repair||"344"===N)&&(e.type!==c.C.Assistant||"003"!=N&&"298"!=N))return(0,l.jsxs)("div",{className:"flex flex-col py-6 items-center justify-center w-[171px] lg:w-[204px] cursor-pointer",style:{border:e.active&&"2px solid ".concat(i.zB),borderRadius:"20px",backgroundColor:e.active?"".concat(i.Gm):"".concat(i.ON)},onClick:()=>(e=>{k.find(a=>a.type===e).active||(E(k.map(a=>({...a,active:a.type===e}))),T(e),P(""),j(""))})(e.type),children:[(0,l.jsx)("i",{className:"mb-4",children:e.type===c.C.Damage?v.get(N).img({width:a.width>=1024?56:48,height:a.width>=1024?56:48}):e.img({width:a.width>=1024?56:48,height:a.width>=1024?56:48})}),(0,l.jsx)("span",{className:"text-sm lg:text-base font-semibold text-center",children:e.label})]},"pa-support-type-".concat(t))}),t&&(0,l.jsx)(n.A,{})]})]})}},31526:(e,a,t)=>{t.r(a),t.d(a,{default:()=>N});var l=t(37876),i=t(14232),s=t(74491),n=t(99250),r=t(94792),o=t(57927),c=t(18297),d=t(19182),u=t(79891),m=t(20320),p=t(44190),v=t(89763),g=t(89099),y=t(18560);let N=()=>{let e=(0,g.useRouter)(),[a,t]=(0,i.useState)(!1),{useDamageFiles:N,useUserInfo:x}=(0,i.useContext)(s.l),[f]=x,[h,C]=N,{useSelectedPolicy:b,useNextClick:A,useError:I,useComponentIndex:D,useSelectedDamageFile:j,useInquiryResult:w,useSupportType:P,useSelectedPolicyInfos:k,useSelectedSearchType:E}=(0,i.useContext)(d.E),[S]=b,[T,_]=A,[M,G]=I,[R,O]=D,[Y,L]=j,[F,z]=w,[U]=P,[V]=k,[q]=E;(0,i.useEffect)(()=>{U===m.C.Assistant&&(0,v.SN)("".concat(e.query.slug,"-").concat(y.DAMAGE_TYPE_COUNTLY_MAPPING[U],"/Destek Talepleri")),U===m.C.Damage&&(0,v.SN)("".concat(e.query.slug,"-").concat(y.DAMAGE_TYPE_COUNTLY_MAPPING[U],"/Hasar Dosyaları")),U===m.C.Repair&&(0,v.SN)("".concat(e.query.slug,"-").concat(y.DAMAGE_TYPE_COUNTLY_MAPPING[U],"/Onarım Talepleri"))},[]),(0,i.useEffect)(()=>{h.length||(U===m.C.Assistant&&(0,v.dk)({["".concat(e.query.slug,"-").concat(y.DAMAGE_TYPE_COUNTLY_MAPPING[U],"/Destek Talepleri")]:!1},"".concat(e.query.slug,"-").concat(y.DAMAGE_TYPE_COUNTLY_MAPPING[U],"/Destek Talepleri")),U===m.C.Damage&&(0,v.dk)({["".concat(e.query.slug,"-").concat(y.DAMAGE_TYPE_COUNTLY_MAPPING[U],"/Hasar Dosyaları")]:!1},"".concat(e.query.slug,"-").concat(y.DAMAGE_TYPE_COUNTLY_MAPPING[U],"/Hasar Dosyaları")),U===m.C.Repair&&(0,v.dk)({["".concat(e.query.slug,"-").concat(y.DAMAGE_TYPE_COUNTLY_MAPPING[U],"/Onarım Talepleri")]:!1},"".concat(e.query.slug,"-").concat(y.DAMAGE_TYPE_COUNTLY_MAPPING[U],"/Onarım Talepleri")))},[h]),(0,i.useEffect)(()=>{T&&Z()&&H()},[T]),(0,i.useEffect)(()=>{"st2"===q[0].value&&(O(R+1),_(!1))},[]);let H=()=>
1{if(U===m.C.Assistant){var e;z({damageMainInfo:{policyId:Y.policyNo,damageFileId:Y.assistanceClaimNo,damageStatus:{status:999,label:"Talebiniz Alındı"},damageReason:null==Y||null==(e=Y.assistanceType)?void 0:e.typeName,policyStartDate:Y.policyStartDate?Y.policyStartDate.split(" ")[0].replaceAll("/","."):"",policyEndDate:Y.policyEndDate?Y.policyEndDate.split(" ")[0].replaceAll("/","."):""}}),O(R+1),_(!1);return}if(U===m.C.Repair){t(!0),(0,p.$8)({policyNo:V.policyNo.toString(),additionalDocumentNo:V.additionalDocumentNo.toString(),renewalNo:V.renewalNo.toString(),orderNo:V.orderNo.toString(),identityNumber:f.identityNo}).then(e=>{var a,t,l,i;let s=null==e?void 0:e.vehicleDetailInformation,n=(null==s||null==(a=s.plate)?void 0:a.valueCode).replace(/([a-zA-Z]+)(\d+)/,"$1 $2");z({damageMainInfo:{policyId:V.policyNo,damageOwner:"",damageReason:"Mini Onarım",damageFileId:Y.workOrderNo,damageStatus:{status:1001,label:null==Y?void 0:Y.workOrderStatusDescription},vehiclePlate:"".concat(null==s||null==(t=s.plateCityCode)?void 0:t.valueCode," ").concat(n),vehicleManufacturer:null==s||null==(l=s.vehicleBrand)?void 0:l.valueName,vehicleModel:null==s||null==(i=s.vehicleModel)?void 0:i.valueName,bodyShopName:null==Y?void 0:Y.bodyShopName,bodyShopTel:null==Y?void 0:Y.bodyShopTel}}),O(R+1)}).catch(e=>G({status:!0,type:"error",title:e.description,description:""})).finally(()=>{t(!1),_(!1)});return}if(Y.hasOwnProperty("damageFileCreated")&&Y.damageFileCreated||Y.damageFileId)return void B();z({damageMainInfo:{policyId:Y.policyId,damageFileId:Y.preNoticeNo,additionalDocumentNo:Y.additionalDocumentNo,renewalNo:Y.renewalNo,orderId:Y.orderId,statusCode:Y.statusCode,damageReason:Y.damageReason,damageDate:Y.damageDate,notificationDate:Y.notificationDate,branchName:Y.branchName,notificationHour:Y.notificationHour,damageStatus:{status:Number(Y.statusCode),label:Y.statusName},policyStartDate:V.startDate?V.startDate.split(" ")[0].replaceAll("/","."):"",policyEndDate:V.endDate?V.endDate.split(" ")[0].replaceAll("/","."):""}}),O(R+1),_(!1)},B=()=>{t(!0),(0,u.pz)(f.identityNo,Y.damageFileId).then(e=>{z({...e,damageMainInfo:{...e.damageMainInfo,damageStatus:{status:Number(e.damageMainInfo.statusCode),label:e.damageMainInfo.statusName}}}),O(R+1)}).catch(e=>G({status:!0,type:"error",title:e.description,description:""})).finally(()=>{t(!1),_(!1)})},$=e=>{L(h.find(a=>a.claimIdx===e))},Z=()=>!!Y||(G({status:!0,type:"error",title:"İlerlemek i\xe7in bir dosya se\xe7iniz",description:""}),_(!1),!1),K=e=>{let a="",t=U===m.C.Assistant?"İhbar no: ":U===m.C.Damage&&e.preNoticeNo?"İhbar No ":"Hasar No  ";return a=U===m.C.Assistant?e.assistanceClaimNo:"".concat(Number(e.preNoticeNo)||Number(e.damageFileId)),"".concat(t," ").concat(a)},Q=e=>{if(e){let[a,t,l]=e.split("/"),[i,s]=l.split(" "),[n,r,o]=s.split(":");return new Date(parseInt(i),parseInt(t)-1,parseInt(a),parseInt(n),parseInt(r),parseInt(o))}};return(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-2 mb-6 lg:mb-10",children:[(0,l.jsx)("span",{className:"font-semibold text-2xl",children:"Hasar Bilgileriniz"}),(0,l.jsx)("span",{className:"text-sm font-normal",style:{color:n.c3},children:"Hasar dosyanızı se\xe7erek işleminize devam edin."})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-6 mb-36",children:[U===m.C.Repair&&h.map(e=>(0,l.jsx)(r.A,{icon:(0,l.jsx)(c.pyG,{}),iconClassName:"mr-3",small:!0,isFlex:!0,value:e.claimIdx,setValue:$,currentValue:null==Y?void 0:Y.claimIdx,title:e.workOrderNo},"minirepair-file-".concat(e.claimIdx))),U===m.C.Assistant&&"st2"!==q[0].value&&h.sort((e,a)=>{var t,l;let i=null==(t=Q(e.date))?void 0:t.getTime(),s=null==(l=Q(a.date))?void 0:l.getTime();return s!==i?s-i:a.assistanceClaimNo-e.assistanceClaimNo}).map(e=>(0,l.jsx)(r.A,{icon:(0,l.jsx)(c.pyG,{}),iconClassName:"mr-3",small:!0,isFlex:!0,value:e.claimIdx,setValue:$,currentValue:null==Y?void 0:Y.claimIdx,title:K(e)},"damage-file-".concat(e.claimIdx))),U===m.C.Damage&&"st2"!==q[0].value&&h.sort((e,a)=>{var t,l;let i=null==(t=Q(e.date))?void 0:t.getTime(),s=null==(l=Q(a.date))?void 0:l.getTime();return s!==i?s-i:a.preNoticeNo-e.preNoticeNo}).map(e=>(0,l.jsx)(r.A,{icon:(0,l.jsx)(c.pyG,{}),iconClassName:"mr-3",small:!0,isFlex:!0,value:e.claimIdx,setValue:$,currentValue:null==Y?void 0:Y.claimIdx,title:K(e)},"damage-file-".concat(e.claimIdx))),a&&(0,l.jsx)(o.A,{})]})]})}},42552:(e,a,t)=>{t.d(a,{Ay:()=>o,nM:()=>n});
1var l=t(37876);t(14232);var i=t(99250),s=t(8720),n=function(e){return e.GRAY="gray",e.DEFAULT="default",e.BLACK="black",e.ERROR="error",e}({});let r={styles:{base:{backgroundColor:i.zB},default:{backgroundColor:i.zB},black:{backgroundColor:i.ek},gray:{backgroundColor:i.Ik},error:{backgroundColor:i.YP}}};function o(e){let{severity:a="default",size:t="large",styleOverride:i,value:n,options:o,align:c=s.ALIGN.horizontal,disabled:d,setValue:u}=e,m={RadioMarkOuter:{style:()=>({...r.styles[a],...i})}};return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(s.RadioGroup,{value:n,onChange:e=>u(e.target.value),name:"number",disabled:d||!1,align:c,children:o.map((e,a)=>(0,l.jsx)(s.Radio,{value:e.value,overrides:{...m},children:e.title},a))})})}},44190:(e,a,t)=>{t.d(a,{$8:()=>n,cy:()=>i,ug:()=>s});var l=t(56945);let i=async(e,a,t)=>new Promise(async(i,s)=>{var n,r,o;try{let s=await l.S.post("/api/server/policies/filter",{identityNo:e,policyNo:a,productCode:t});i(null==s||null==(n=s.data)?void 0:n.data)}catch(e){s(null==e||null==(o=e.response)||null==(r=o.data)?void 0:r.meta)}}),s=async e=>new Promise(async(a,t)=>{var i,s,n;try{let t=await l.S.post("/api/server/customers/get-customers",{identityNumber:e});a(null==t||null==(i=t.data)?void 0:i.data)}catch(e){t(null==e||null==(n=e.response)||null==(s=n.data)?void 0:s.meta)}}),n=async e=>new Promise(async(a,t)=>{var i,s,n,r;try{let t=await l.S.post("/api/server/policies/policy-details",e);a(null==t||null==(s=t.data)||null==(i=s.data)?void 0:i.vehicle)}catch(e){t(null==e||null==(r=e.response)||null==(n=r.data)?void 0:n.meta)}})},79891:(e,a,t)=>{t.d(a,{jZ:()=>n,pz:()=>s,s6:()=>i});var l=t(56945);let i=async(e,a)=>new Promise(async(t,i)=>{var s,n,r,o;try{let i=await l.S.post("/api/server/claim/claim-files?policyNo=".concat(a),{identityNumber:e});if(null==i||null==(n=i.data)||null==(s=n.data)?void 0:s.policyClaimList){let e=i.data.data.policyClaimList.map((e,a)=>({...e,claimIdx:a}));t(e)}}catch(e){i(null==e||null==(o=e.response)||null==(r=o.data)?void 0:r.meta)}}),s=async(e,a)=>new Promise(async(t,i)=>{var s,n,r;try{let i=await l.S.post("/api/server/claim/claim-file-summary",{identityNumber:e,damageFileId:a});t(null==i||null==(s=i.data)?void 0:s.data)}catch(e){i(null==e||null==(r=e.response)||null==(n=r.data)?void 0:n.meta)}}),n=(e,a)=>new Promise(async(t,i)=>{var s,n,r,o,c,d;try{let i=await l.S.get("/api/server/claim/assistances?identityNumber=".concat(e,"&policyNo=").concat(a));if(null==i||null==(n=i.data)||null==(s=n.data)?void 0:s.assistanceClaims){let e=i.data.data.assistanceClaims.map((e,a)=>({...e,claimIdx:a}));t(e);return}t(null==i||null==(o=i.data)||null==(r=o.data)?void 0:r.assistanceClaims)}catch(e){i(null==e||null==(d=e.response)||null==(c=d.data)?void 0:c.meta)}})},89763:(e,a,t)=>{t.d(a,{SN:()=>n,Vw:()=>s,dk:()=>r});var l=t(88281),i=t.n(l);let s={HASAR_SORGULAMA_URUN_SECIMI:"Hasar Sorgulama/\xdcr\xfcn Se\xe7imi"},n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";i().q.push(["track_pageview",e])},r=(e,a)=>{i().q.push(["add_event",{key:a,segmentation:e}])}},94792:(e,a,t)=>{t.d(a,{A:()=>s});var l=t(37876),i=t(42552);function s(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)(i.Ay,{severity:e.severity||i.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.