1export const __webpack_id__=252;export const __webpack_ids__=[252];export const __webpack_modules__={48105:(n,e,t)=>{t.r(e),t.d(e,{CloseGamblingSession:()=>h,CloseGamblingSessionBare:()=>_,default:()=>y});var o=t(74848),i=t(10782),c=t(15424),s=t(37489),a=t(57182),r=t(96540),u=t(66229),l=t(53806),d=function(n,e,t,o){return new(t||(t=Promise))((function(i,c){function s(n){try{r(o.next(n))}catch(n){c(n)}}function a(n){try{r(o.throw(n))}catch(n){c(n)}}function r(n){n.done?i(n.value):function(n){return n instanceof t?n:new t((function(e){e(n)}))}(n.value).then(s,a)}r((o=o.apply(n,e||[])).next())}))};var m=t(92519),f=t(53108),p=t(83312),v=t(71316),b=function(n,e,t,o){return new(t||(t=Promise))((function(i,c){function s(n){try{r(o.next(n))}catch(n){c(n)}}function a(n){try{r(o.throw(n))}catch(n){c(n)}}function r(n){n.done?i(n.value):function(n){return n instanceof t?n:new t((function(e){e(n)}))}(n.value).then(s,a)}r((o=o.apply(n,e||[])).next())}))};const g=()=>{const n=(0,u.wA)(),e=(0,f.Z)(),t=(0,p.a)(),o=(()=>{const n=(0,l.B)();return(0,r.useCallback)((e=>d(void 0,void 0,void 0,(function*(){return yield n(Object.assign({ID:35905,responses:[35906,35907],description:"End Gambling Session"},e))}))),[n])})(),i=(0,a.N)();return(0,r.useCallback)((()=>b(void 0,void 0,void 0,(function*(){var c,s;try{const{data:e}=yield o({mode:"tryToClose"}),a=()=>t(i("message.success"),{variant:"success"}),r=null===(s=null===(c=null==e?void 0:e.actions)||void 0===c?void 0:c.find((n=>n.actionShowSimpleDialogInfo)))||void 0===s?void 0:s.actionShowSimpleDialogInfo;if(r)return void n((0,v.Wj)({message:r.message,actionId:r.actionId,onAccept:a,layer:m.IO.GAMBLING_SESSION,acceptBtnText:i("popup.close"),declineBtnText:i("popup.cancel")}));a()}catch(n){t(e(n),{variant:"error"})}}))),[n,i,o,e,t])},_=()=>{const n=(0,a.N)(),e=g();return(0,o.jsx)(i.A,{onSubmit:e,render:({submitting:e,handleSubmit:t})=>(0,o.jsx)("form",{onSubmit:t,className:"cms-close-gambling-session",children:(0,o.jsx)(c.$,{type:"submit",disabled:e,children:n("button.submit")})})})},h=(0,s.m)({isForLoggedIn:!0,tkPrefix:"playtech.mobile.system.close-gambling-session."})(_),y=h}}; 2//# sourceMappingURL=close-gambling-session.5802e8b9069d7038ced7.chunk.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.