PageSourceSearch

https://lidomatrip.com/_next/static/chunks/pages/admin/comments/phone/[id]-b72a55e6c02de783.js

js lidomatrip.com collected 2026-09-25 07:10:53 UTC 19,117 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3330],{90437:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/comments/phone/[id]",function(){return n(2573)}])},55290:function(e,t,n){"use strict";n.d(t,{Em:function(){return x},R3:function(){return u},Y3:function(){return c},YS:function(){return d},ZP:function(){return m}});var r=n(10253),s=n(85893),a=n(67294),i=n(68289),l=n.n(i),c=["فروردین","اردیبهشت","خرداد","تیر","مرداد","شهریور","مهر","آبان","آذر","دی","بهمن","اسفند"],o=["ش","ی","د","س","چ","پ","ج"],d=function(e){return String(e).replace(/[0-9]/g,function(e){return"۰۱۲۳۴۵۶۷۸۹"[Number(e)]})};function u(e){if(!e)return"—";var t=l()(e.slice(0,10),"YYYY-MM-DD");return t.isValid()?"".concat(d(t.format("jD"))," ").concat(c[t.jMonth()]," ").concat(d(t.jYear())):"—"}function x(e){if(!e)return"—";var t=l()(e.slice(0,10),"YYYY-MM-DD");return t.isValid()?d(t.format("jYYYY/jMM/jDD")):"—"}function m(e){var t=e.label,n=e.value,i=e.onChange,x=e.min,m=e.hint,f=(0,r.Z)((0,a.useState)(!1),2),h=f[0],g=f[1],v=(0,r.Z)((0,a.useState)(function(){return n?l()(n,"YYYY-MM-DD"):l()()}),2),p=v[0],j=v[1],b=(0,a.useRef)(null);(0,a.useEffect)(function(){h&&n&&j(l()(n,"YYYY-MM-DD"))},[h,n]),(0,a.useEffect)(function(){var e=function(e){var t;(null===(t=b.current)||void 0===t?void 0:t.contains(e.target))||g(!1)},t=function(e){"Escape"===e.key&&g(!1)};if(h)return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),function(){document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}},[h]);var y=(0,a.useMemo)(function(){var e=p.clone().startOf("jMonth");return Array.from({length:p.clone().endOf("jMonth").jDate()},function(t,n){return e.clone().add(n,"day")})},[p]),N=(p.clone().startOf("jMonth").day()+1)%7;return(0,s.jsxs)("div",{ref:b,className:"relative",children:[(0,s.jsx)("span",{className:"block mb-6 text-12 leading-18 text-gray-6C6A7D font-m",children:t}),(0,s.jsxs)("button",{type:"button",onClick:function(){return g(function(e){return!e})},className:"w-full flex items-center justify-between gap-x-8 px-14 py-10 rounded-10 border text-14 leading-22 text-right transition ".concat(h?"border-primary-main":"border-gray-E5E5E6 hover:border-gray-C4CAD3"),children:[(0,s.jsx)("span",{className:n?"text-black":"text-gray-9B9BAA",children:n?u(n):"انتخاب تاریخ"}),(0,s.jsx)("i",{className:"icon-Calendar text-16 text-gray-9B9BAA"})]}),m&&(0,s.jsx)("span",{className:"block mt-4 text-11 leading-18 text-gray-9B9BAA",children:m}),h&&(0,s.jsxs)("div",{className:"absolute z-5 mt-6 right-0 w-[268px] bg-white rounded-12 border border-gray-E5E5E6 shadow-[0_6px_16px_0px_rgba(8,19,56,0.12)] p-12",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between mb-10",children:[(0,s.jsx)("button",{type:"button",onClick:function(){return j(function(e){return e.clone().subtract(1,"jMonth")})},className:"w-28 h-28 rounded-8 text-gray-6C6A7D hover:bg-gray-F0F0F0",children:"‹"}),(0,s.jsxs)("span",{className:"text-13 leading-20 font-m text-black",children:[c[p.jMonth()]," ",d(p.jYear())]}),(0,s.jsx)("button",{type:"button",onClick:function(){return j(function(e){return e.clone().add(1,"jMonth")})},className:"w-28 h-28 rounded-8 text-gray-6C6A7D hover:bg-gray-F0F0F0",children:"›"})]}),(0,s.jsx)("div",{className:"grid grid-cols-7 gap-2 mb-2",children:o.map(function(e){return(0,s.jsx)("div",{className:"text-center text-10 text-gray-9B9BAA py-2",children:e},e)})}),(0,s.jsxs)("div",{className:"grid grid-cols-7 gap-2",children:[Array.from({length:N}).map(function(e,t){return(0,s.jsx)("div",{},"b-".concat(t))}),y.map(function(e){var t=e.format("YYYY-MM-DD"),r=!!x&&t<x;return(0,s.jsx)("button",{type:"button",disabled:r,onClick:function(){i(t),g(!1)},className:"h-30 rounded-8 text-12 leading-18 transition ".concat(t===n?"bg-primary-main text-white font-m":r?"text-gray-C4CAD3 cursor-not-allowed":"text-gray-6C6A7D hover:bg-gray-F0F0F0"),children:d(e.format("jD"))},t)})]})]})]})}},2573:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return k}});var r=n(47568),s=n(14924),a=n(26042),i=n(69396),l=n(10253),c=n(70655),o=n(85893),d=n(67294),u=n(41664),x=n.n(u),m=n(25675),f=n.n(m),h=n(11163),g=n(44389),v=n(49759),p=n(84858),j=n(35157),b=n(32474),y=n(55290),N={AWAITING_HOST_ANSWER_APPROVAL:{label:"در انتظار تایید نظر میزبان",tone:"yellow"},AWAITING_GUEST_COMMENT_APPROVAL:{label:"در انتظار تایید نظر مهمان",tone:"yellow"},AWAITING_BOTH:{label:"در انتظار تایید",tone:"yellow"},PUBLISHED:{label:"منتشر شده",tone:"green"}
1,REJECTED:{label:"رد شده",tone:"red"}},w={PENDING:{label:"در انتظار تایید",tone:"yellow"},PUBLISHED:{label:"منتشر شده",tone:"green"},REJECTED:{label:"رد شده",tone:"red"}},E=["score1","score2","score3","score4","score5","score6"];function A(e){var t=e.value,n=e.onPick;return(0,o.jsx)("span",{className:"inline-flex items-center gap-x-2",dir:"ltr",children:[1,2,3,4,5].map(function(e){var r=e<=Math.round(t);return n?(0,o.jsx)("button",{type:"button",title:"".concat(e," از ۵"),"aria-label":"".concat(e," از ۵"),onClick:function(){return n(e)},className:"leading-none",children:(0,o.jsx)("i",{className:"icon-Star text-16 transition ".concat(r?"text-[#FFC120]":"text-gray-E5E5E6 hover:text-[#FFE2A0]")})},e):(0,o.jsx)("i",{className:"icon-Star text-14 ".concat(r?"text-[#FFC120]":"text-gray-E5E5E6")},e)})})}function C(e){var t=e.url,n=e.name,r=e.size,s=void 0===r?40:r;return t?(0,o.jsx)(f(),{src:(0,b.vD)(t,96),alt:null!=n?n:"",width:s,height:s,className:"rounded-full object-cover shrink-0",style:{width:s,height:s}}):(0,o.jsx)("span",{className:"rounded-full bg-gray-F0F0F0 text-gray-6C6A7D flex items-center justify-center shrink-0 text-13",style:{width:s,height:s},children:(null!=n?n:"؟").trim().charAt(0)})}function k(){var e,t,n,u,m,f,k,S,D,_,Y,B,F,Z,I,M,P,O,T,U,L,z,H,J,R,G=Number((0,h.useRouter)().query.id),V=(0,g.u)(Number.isFinite(G)?"/api/admin/phone-reviews/".concat(G):null,function(e){return(0,p.SC)(e)}),W=V.data,X=V.isLoading,q=V.mutate,K=(0,j.o)("comments:phone",Number.isFinite(G)?G:void 0),Q=(0,l.Z)((0,d.useState)(""),2),$=Q[0],ee=Q[1],et=(0,l.Z)((0,d.useState)(""),2),en=et[0],er=et[1],es=(0,l.Z)((0,d.useState)(null),2),ea=es[0],ei=es[1],el=(0,l.Z)((0,d.useState)(null),2),ec=el[0],eo=el[1],ed=(0,l.Z)((0,d.useState)({}),2),eu=ed[0],ex=ed[1],em=(0,l.Z)((0,d.useState)(null),2),ef=em[0],eh=em[1],eg=(0,l.Z)((0,d.useState)(""),2),ev=eg[0],ep=eg[1];function ej(e,t,n){return eb.apply(this,arguments)}function eb(){return(eb=(0,r.Z)(function(e,t,n){var r;return(0,c.__generator)(this,function(s){switch(s.label){case 0:ei(e),eo(null),s.label=1;case 1:return s.trys.push([1,4,5,6]),[4,t()];case 2:return s.sent(),[4,q()];case 3:return s.sent(),eo({tone:"ok",text:n}),[3,6];case 4:return eo({tone:"err",text:(r=s.sent())instanceof Error?r.message:"انجام نشد"}),[3,6];case 5:return ei(null),[7];case 6:return[2]}})})).apply(this,arguments)}(0,d.useEffect)(function(){var e,t;W&&(ee(null!==(e=W.comment)&&void 0!==e?e:""),er(null!==(t=W.hostAnswer)&&void 0!==t?t:""),ex({}))},[null==W?void 0:W.id,null==W?void 0:W.comment,null==W?void 0:W.hostAnswer]);var ey=function(e,t){return ej("comment-status",function(){return(0,p.SC)("/api/admin/phone-reviews/".concat(G,"/comment-status"),{method:"POST",body:JSON.stringify({status:e,note:t})})},"PUBLISHED"===e?"نظر مهمان منتشر شد":"نظر مهمان رد شد")},eN=function(e,t){return ej("answer-status",function(){return(0,p.SC)("/api/admin/phone-reviews/".concat(G,"/answer-status"),{method:"POST",body:JSON.stringify({status:e,note:t})})},"PUBLISHED"===e?"پاسخ میزبان منتشر شد":"پاسخ میزبان رد شد")};if(X)return(0,o.jsx)(v.Z,{title:"جزئیات نظر رزرو تلفنی",children:(0,o.jsx)(b.Od,{className:"h-[520px]"})});if(!W)return(0,o.jsx)(v.Z,{title:"جزئیات نظر رزرو تلفنی",children:(0,o.jsx)(b.Zb,{children:(0,o.jsx)(b.ub,{text:"نظر پیدا نشد"})})});var ew=E.map(function(e,t){var n;return{key:e,label:(null===(n=W.criteria)||void 0===n?void 0:n[t])||"شاخص ".concat(t+1)}}),eE=ew.some(function(e){return void 0!==eu[e.key]&&eu[e.key]!==W[e.key]}),eA=$.trim()!==(null!==(D=W.comment)&&void 0!==D?D:"").trim(),eC=en.trim()!==(null!==(_=W.hostAnswer)&&void 0!==_?_:"").trim();return(0,o.jsxs)(v.Z,{title:"جزئیات نظر رزرو تلفنی",breadcrumb:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(x(),{href:"/admin",children:"داشبورد"})," /"," ",(0,o.jsx)(x(),{href:"/admin/comments",children:"نظرات"})," /"," ",(0,o.jsx)(x(),{href:"/admin/residences/".concat(null!==(Y=W.residence.publicId)&&void 0!==Y?Y:W.residence.id),children:W.residence.name})]}),backHref:null!==(B=null==K?void 0:K.returnUrl)&&void 0!==B?B:"/admin/comments",prevNext:K?{prevHref:K.prevId?"/admin/comments/phone/".concat(K.prevId):null,nextHref:K.nextId?"/admin/comments/phone/".concat(K.nextId):null,position:"".concat((0,b.N)(K.index+1)," از ").concat((0,b.N)(K.total))}:void 0,children:[(0,o.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-[1fr_220px] gap-16 items-start",children:[(0,o.jsxs)("div",{className:"flex flex-col gap-y-16",children:[(0,o.jsxs)(b.Zb,{className:"p-20",children:[(0,o.jsxs)("div",{className:"flex items-center justify-between gap-x-12 flex-wrap gap-y-10 mb-16",children:[(0,o.jsxs)("div",{className:"flex items-center gap-x-10",children:[(0,o.jsx)(b.Ct,{tone:"purple",children:"مهمان"}),(0,o.jsx)(C,{url:W.guest.avatarUrl,name:W.guest.name}),(0,o.jsx)(x(),{href:"/admin/users/".concat(W.guest.id),className:"text-14 font-m text-primary-dark",children:null!==(F=W.guest.name)&&void 0!==F?F:W.guest.phone})]}),(0,o.jsxs)("div",{className:"flex items-center gap-x-12 text-12 text-gray-6C6A7D",children:[(0,o.jsx)("span",{children:"رزرو تلفنی"}),(0,o.jsxs)("span",{children:["تاریخ نظر : ",(0,y.Em)(W.createdAt)]}),(0,o.jsx)(b.Ct,{tone:null!==(Z=null===(e=w[W.commentStatus])||void 0===e?void 0:e.tone)&&void 0!==Z?Z:"gray",children:null!==(I=null===(t=w[W.commentStatus])||void 0===t?void 0:t.label)&&void 0!==I?I:W.commentStatus})]})]}),(0,o.jsxs)("div",{className:"flex items-center gap-x-8 mb-14",children:[(0,o.jsx)("span",{className:"text-14 font-m text-black",children:"میانگین امتیاز"}),(0,o.jsx)("i",{className:"icon-Star text-16 text-[#FFC120]"}),(0,o.jsxs)("span",{className:"text-14 font-b text-black",children:["(",(0,b.N)(Math.round(10*W.averageRating)/10),")"]})]}),(0,o.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-x-20 gap-y-8 mb-10",children:ew.map(function(e){var t,n=null!==(t=eu[e.key])&&void 0!==t?t:W[e.key],r=void 0!==eu[e.key]&&eu[e.key]!==W[e.key];return(0,o.jsxs)("div",{className:"flex items-center justify-between gap-x-8",children:[(0,o.jsx)("span",{className:"text-12 ".concat(r?"text-[#B26A00] font-m":"text-gray-6C6A7D"),children:e.label}),(0,o.jsxs)("span",{className:"flex items-center gap-x-6",children:[(0,o.jsx)(A,{value:n,onPick:function(t){return ex(function(n){return(0,i.Z)((0,a.Z)({},n),(0,s.Z)({},e.key,t))})}}),(0,o.jsxs)("span",{className:"text-12 ".concat(r?"text-[#B26A00] font-m":"text-black"),children:["(",(0,b.N)(n),")"]})]})]},e.key)})}),eE&&(0,o.jsxs)("div",{className:"flex items-center justify-between gap-x-12 flex-wrap gap-y-8 rounded-10 bg-[#FFF8EC] border border-[#F5D9A8] px-12 py-10 mb-14",children:[(0,o.jsx)("p",{className:"text-12 leading-20 text-black",children:"با ذخیره‌ی امتیازها میانگین این نظر دوباره حساب می‌شود."}),(0,o.jsxs)("div",{className:"flex items-center gap-x-8",children:[(0,o.jsx)(b.zx,{variant:"secondary",onClick:function(){return ex({})},children:"بازگردانی"}),(0,o.jsx)(b.zx,{disabled:"edit-scores"===ea,onClick:function(){return ej("edit-scores",function(){return(0,p.SC)("/api/admin/phone-reviews/".concat(G,"/scores"),{method:"PUT",body:JSON.stringify(eu)})},"امتیازها ذخیره شد").then(function(){return ex({})})},children:"ذخیره امتیازها"})]})]}),(0,o.jsx)("label",{className:"block text-11 text-gray-9B9BAA mb-4",children:"متن نظر مهمان"}),(0,o.jsx)("textarea",{value:$,onChange:function(e){return ee(e.target.value)},rows:4,className:"w-full rounded-10 border border-gray-E5E5E6 px-14 py-12 text-13 leading-24 outline-none focus:border-primary-main resize-y"}),(0,o.jsxs)("div",{className:"flex items-center justify-between gap-x-12 flex-wrap gap-y-10 mt-12",children:[(0,o.jsxs)("label",{className:"flex items-center gap-x-8 text-13 text-gray-6C6A7D",children:[(0,o.jsx)(b.ZD,{checked:"PUBLISHED"===W.commentStatus,onChange:function(e){return e?ey("PUBLISHED"):eh("comment")}}),"نمایش نظر"]}),eA&&(0,o.jsxs)("div",{className:"flex items-center gap-x-8",children:[(0,o.jsx)(b.zx,{variant:"secondary",onClick:function(){return ee(null!==(M=W.comment)&&void 0!==M?M:"")},children:"بازگردانی"}),(0,o.jsx)(b.zx,{disabled:"edit-comment"===ea,onClick:function(){return ej("edit-comment",function(){return(0,p.SC)("/api/admin/phone-reviews/".concat(G,"/comment"),{method:"PUT",body:JSON.stringify({comment:$.trim()})})},"متن نظر ذخیره شد")},children:"ذخیره متن نظر"})]})]}),!!W.moderationNote&&(0,o.jsxs)("p",{className:"mt-10 text-12 leading-20 text-[#C62828]",children:["دلیل رد شدن : ",W.moderationNote]})]}),(0,o.jsxs)(b.Zb,{className:"p-20",children:[(0,o.jsxs)("div",{className:"flex items-center justify-between gap-x-12 flex-wrap gap-y-10 mb-14",children:[(0,o.jsxs)("div",{className:"flex items-center gap-x-10",children:[(0,o.jsx)(b.Ct,{tone:"blue",children:"میزبان"}),(0,o.jsx)(C,{url:null!==(P=null===(n=W.residence.host)||void 0===n?void 0:n.avatarUrl)&&void 0!==P?P:null,name:null!==(O=null===(u=W.residence.host)||void 0===u?void 0:u.name)&&void 0!==O?O:null}),W.residence.host?(0,o.jsx)(x(),{href:"/admin/users/".concat(W.residence.host.id),className:"text-14 font-m text-primary-dark",children:null!==(T=W.residence.host.name)&&void 0!==T?T:W.residence.host.phone}):(0,o.jsx)("span",{className:"text-14 text-gray-9B9BAA",children:"—"})]}),W.hostAnswerStatus?(0,o.jsx)(b.Ct,{tone:null!==(U=null===(m=w[W.hostAnswerStatus])||void 0===m?void 0:m.tone)&&void 0!==U?U:"gray",children:null!==(L=null===(f=w[W.hostAnswerStatus])||void 0===f?void 0:f.label)&&void 0!==L?L:W.hostAnswerStatus}):(0,o.jsx)(b.Ct,{tone:"gray",children:"بدون پاسخ"})]}),(0,o.jsx)("label",{className:"block text-11 text-gray-9B9BAA mb-4",children:"متن پاسخ میزبان"}),(0,o.jsx)("textarea",{value:en,onChange:function(e){return er(e.target.value)},rows:4,placeholder:"میزبان هنوز پاسخی ننوشته — می‌توانید از اینجا برایش ثبت کنید.",className:"w-full rounded-10 border border-gray-E5E5E6 px-14 py-12 text-13 leading-24 outline-none focus:border-primary-main resize-y"}),(0,o.jsxs)("div",{className:"flex items-center justify-between gap-x-12 flex-wrap gap-y-10 mt-12",children:[(0,o.jsxs)("label",{className:"flex items-center gap-x-8 text-13 text-gray-6C6A7D",children:[(0,o.jsx)(b.ZD,{checked:"PUBLISHED"===W.hostAnswerStatus,onChange:function(e){return e?eN("PUBLISHED"):eh("answer")}}),"نمایش پاسخ"]}
1),eC&&(0,o.jsxs)("div",{className:"flex items-center gap-x-8",children:[(0,o.jsx)(b.zx,{variant:"secondary",onClick:function(){return er(null!==(z=W.hostAnswer)&&void 0!==z?z:"")},children:"بازگردانی"}),(0,o.jsx)(b.zx,{disabled:"edit-answer"===ea||!en.trim(),onClick:function(){return ej("edit-answer",function(){return(0,p.SC)("/api/admin/phone-reviews/".concat(G,"/answer"),{method:"PUT",body:JSON.stringify({answer:en.trim()})})},"پاسخ میزبان ذخیره شد")},children:"ذخیره پاسخ"})]})]})]})]}),(0,o.jsxs)("div",{className:"flex flex-col gap-y-10 lg:sticky lg:top-[76px]",children:[(0,o.jsxs)(b.Zb,{className:"p-14",children:[(0,o.jsx)(b.Ct,{tone:null!==(H=null===(k=N[W.status])||void 0===k?void 0:k.tone)&&void 0!==H?H:"gray",children:null!==(J=null===(S=N[W.status])||void 0===S?void 0:S.label)&&void 0!==J?J:W.status}),!!ec&&(0,o.jsx)("p",{className:"mt-12 text-12 leading-20 ".concat("ok"===ec.tone?"text-[#2E7D32]":"text-[#C62828]"),children:ec.text})]}),(0,o.jsxs)(b.Zb,{className:"p-14",children:[(0,o.jsx)("p",{className:"text-12 leading-20 text-gray-6C6A7D mb-2",children:"اقامتگاه"}),(0,o.jsx)(x(),{href:"/admin/residences/".concat(null!==(R=W.residence.publicId)&&void 0!==R?R:W.residence.id),className:"text-13 leading-22 font-m text-primary-dark",children:W.residence.name}),(0,o.jsxs)("p",{className:"text-11 leading-18 text-gray-9B9BAA mt-6",children:["ثبت نظر : ",(0,y.Em)(W.createdAt)]})]})]})]}),ef&&(0,o.jsx)("div",{className:"fixed inset-0 z-50 bg-black/40 flex items-center justify-center p-16",children:(0,o.jsxs)(b.Zb,{className:"p-20 w-full max-w-[420px]",children:[(0,o.jsx)("h3",{className:"text-15 leading-24 font-m text-black mb-8",children:"comment"===ef?"رد کردن نظر مهمان":"رد کردن پاسخ میزبان"}),(0,o.jsx)("p",{className:"text-12 leading-20 text-gray-6C6A7D mb-12",children:"متن حذف نمی‌شود — فقط از سایت برداشته می‌شود و دلیلش ثبت می‌ماند."}),(0,o.jsx)("textarea",{value:ev,onChange:function(e){return ep(e.target.value)},rows:3,placeholder:"دلیل",className:"w-full rounded-10 border border-gray-E5E5E6 px-12 py-10 text-13 leading-22 outline-none focus:border-primary-main resize-none"}),(0,o.jsxs)("div",{className:"flex items-center justify-end gap-x-10 mt-14",children:[(0,o.jsx)(b.zx,{variant:"secondary",onClick:function(){eh(null),ep("")},children:"انصراف"}),(0,o.jsx)(b.zx,{variant:"danger",disabled:!ev.trim(),onClick:(0,r.Z)(function(){var e;return(0,c.__generator)(this,function(t){switch(t.label){case 0:if(e=ev.trim(),eh(null),ep(""),"comment"!==ef)return[3,2];return[4,ey("REJECTED",e)];case 1:return t.sent(),[3,4];case 2:return[4,eN("REJECTED",e)];case 3:t.sent(),t.label=4;case 4:return[2]}})}),children:"رد کن"})]})]})})]})}},35157:function(e,t,n){"use strict";n.d(t,{g:function(){return i},o:function(){return l}});var r=n(10253),s=n(67294),a="lidoma_admin_nav:";function i(e,t,n){try{var r={ids:t,returnUrl:n,savedAt:Date.now()};window.sessionStorage.setItem(a+e,JSON.stringify(r))}catch(e){}}function l(e,t){var n=(0,r.Z)((0,s.useState)(null),2),i=n[0],l=n[1];return(0,s.useEffect)(function(){if(null==t){l(null);return}var n=function(e){try{var t=window.sessionStorage.getItem(a+e);if(!t)return null;var n=JSON.parse(t);if(Date.now()-n.savedAt>18e5)return null;return n}catch(e){return null}}(e);if(!n){l(null);return}var r=n.ids.findIndex(function(e){return String(e)===String(t)});if(-1===r){l(null);return}l({index:r,total:n.ids.length,prevId:r>0?n.ids[r-1]:null,nextId:r<n.ids.length-1?n.ids[r+1]:null,returnUrl:n.returnUrl})},[e,t]),i}}},function(e){e.O(0,[4885,9791,8289,9759,9774,2888,179],function(){return e(e.s=90437)}),_N_E=e.O()}]);

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.