1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4313],{44019:function(e,l,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/app/bible/tracker/detail/[id]/leave",function(){return a(62157)}])},62157:function(e,l,a){"use strict";a.r(l),a.d(l,{default:function(){return P}});var n=a(85893),t=a(48228),c=a(27226);let s=()=>(0,t.D)({mutationFn:e=>c.H.delete("/bible-tracker-challenges/".concat(e,"/leave"))});var i=a(60479),r=a(11501),d=a(26038),o=a(93607),u=a(66797),h=a(36762),p=a(94777),x=a(41006),b=a(32427),m=a(81708),_=a(87907),f=a(61460),k=a(51673),v=a(64659),j=a(84159),N=a(11163),g=a(67294),w=a(76236),C=a(46018);let y=["ì±ê²½íµë
ì ëê°ë©´, ì§ê¸ê¹ì§ ì´ ì±ê²½íµë
ì ì ì¥ë ëì íµë
기ë¡ì ë¤ì ë³¼ ì ìì´ì.","ì´íì ë¤ì ì°¸ì¬íëë¼ë, ëê°ê¸° ì´ì ìì ì 기ë¡ì 복구ëì§ ììì.","리ëê° ì±ê²½íµë
ì ëê°ëë¼ë ë¤ë¥¸ 멤ë²ë¤ì íµë
ì ì§ìí ì ìì´ì. ìì¹ ìì¼ì ë¤ë©´, ì±ê²½íµë
ì ëê°ê¸° ì ì [ì±ê²½íµë
ìì ]를 í´ì£¼ì¸ì.","리ëê° ì±ê²½íµë
ì ëê°ë©´ ì 리ëë ìëì¼ë¡ 기존 ë©¤ë² ì¤ í ëª
ì¼ë¡ ì§ì ë©ëë¤. ì 리ë를 ì§ì ì§ì íê³ ì¶ë¤ë©´, ì±ê²½íµë
ì ëê°ê¸° ì ì [리ë ë³ê²½í기]를 í´ì£¼ì¸ì."],H=["ì±ê²½íµë
ì ëê°ë©´, ì§ê¸ê¹ì§ ì´ ì±ê²½íµë
ì ì ì¥ë ëì íµë
기ë¡ì ë¤ì ë³¼ ì ìì´ì.","ì´íì ë¤ì ì°¸ì¬íëë¼ë, ëê°ê¸° ì´ì ìì ì 기ë¡ì 복구ëì§ ììì."],D=e=>e?y:H,E=()=>{var e;let l=(0,N.useRouter)(),{id:a,pid:t}=null!==(e=null==l?void 0:l.query)&&void 0!==e?e:{},c=a?"".concat(a):"",y=t?"".concat(t):"",H=(0,w.CG)("user"),{back:E}=(0,_.H)(),{open:P}=(0,f.D)(),{data:T}=(0,i.t)(c),z=(0,m.N)(T),B=(0,g.useRef)(!1);(0,g.useEffect)(()=>{!B.current&&T&&(B.current=!0,j.Kz(x.U.viewBibleTrackerLeavePage,z()))},[T,z]);let{trackerRoutine:q}=(0,k.PN)(c),{updateRoutineSetting:A}=(0,v.m)(),{mutateAsync:F}=s(),K=(null==T?void 0:T.owner)===(null==H?void 0:H._id),O=D(K),[R,S]=(0,g.useState)(r.H.outlined),U=()=>{R===r.H.checked?S(r.H.outlined):S(r.H.checked)},X=async()=>{try{await F(y),A({type:"tracker",setting:{...null!=q?q:k.ho,enabled:!1},challengeInfo:{id:c,startDate:T.startDate,endDate:T.endDate}}).catch(()=>{}),j.Kz(x.U.leaveBibleTracker,{bible_tracker_id:c,bible_tracker_member_count:null==T?void 0:T.memberCount,bible_tracker_name:null==T?void 0:T.name}),P({message:"ì±ê²½íµë
ì ëê°ì´ì"}),await (0,C.V)(1600),E()}catch(e){P({message:b.N.requestFailed})}};return(0,n.jsx)(p.T,{topAppBarComponent:(0,n.jsx)(h.P,{title:"ì±ê²½íµë
ëê°ê¸°",onBackClick:E}),children:(0,n.jsxs)("div",{className:"flex flex-col gap-6 p-4",children:[(0,n.jsxs)("section",{className:"flex flex-col gap-4",children:[(0,n.jsx)(u.k,{bold:!0,children:"ì, ëê°ê¸° ì ì ê¼ íì¸í´ì£¼ì¸ì!"}),(0,n.jsx)("ul",{children:O.map(e=>(0,n.jsxs)("li",{className:"flex items-start gap-2 pl-1",children:[(0,n.jsx)("span",{className:"mt-[0.5em] h-[3px] w-[3px] shrink-0 rounded-[50%] bg-labelsSecondary"}),(0,n.jsx)(o.j,{children:e})]},e))})]}),(0,n.jsx)("section",{className:"py-[2px]",children:(0,n.jsx)(r.$,{label:"ì´ ì±ê²½íµë
ìì ëê°ê² ìµëë¤.",status:R,onClick:U})}),(0,n.jsxs)("section",{className:"flex flex-col gap-4",children:[(0,n.jsx)(d._,{size:"l",variant:"filled",disabled:R===r.H.outlined,onClick:X,children:"ì±ê²½íµë
ëê°ê¸°"}),(0,n.jsx)(d._,{size:"l",variant:"borderless",onClick:E,children:"ëìê°ê¸°"})]})]})})};var P=E}},function(e){e.O(0,[8257,8937,9774,2888,179],function(){return e(e.s=44019)}),_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.