1import{f as K,a as G,u as $,r as l,ae as W,j as e,af as Y,d as L,K as h,ag as U,ah as V,ai as J,aj as Q,ak as z,al as X,L as Z,H as y,I as _,V as M,J as ee,M as se}from"./index-C3Qps0S4.js";import{B as I}from"./button-xdpkFraK.js";import{I as f}from"./input-Dj8udylZ.js";import{c as C,a as ae,f as te,g as ne,h as ie,H as A,j as ce,l as le}from"./riskControl-CfbaOeSM.js";import{I as re}from"./info-DmEqpz6r.js";import{G as ge}from"./gauge-C7AQYjdr.js";import{C as de}from"./circle-check-DmGdFs0e.js";import"./index-Jol-UBUv.js";import"./dialog-BY1FISUw.js";import"./index-BKUanX19.js";import"./index-Dr02_Kwf.js";/** 2 * @license lucide-react v0.453.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const oe=K("CirclePause",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]]),u={title:"Risk Management & Smart Limit | à¸à¸§à¸à¸à¸¸à¸¡à¸à¸ à¹à¸§à¸¥à¸² à¹à¸¥à¸°à¸à¸§à¸²à¸¡à¹à¸ªà¸µà¹à¸¢à¸ | MAWIN SIAM",description:"à¸à¸±à¹à¸ Budget Limit, Session Time, Loss Limit à¹à¸¥à¸° Break Reminder à¸à¸£à¹à¸à¸¡ AI à¸à¹à¸§à¸¢à¸à¸£à¸§à¸à¸à¸±à¸à¸à¸¤à¸à¸´à¸à¸£à¸£à¸¡à¹à¸ªà¸µà¹à¸¢à¸ à¹à¸à¹à¸ Tilt à¹à¸¥à¸°à¸à¸²à¸£à¹à¸¥à¹à¸à¸¸à¸ à¹à¸à¸·à¹à¸à¸à¹à¸§à¸¢à¹à¸«à¹à¹à¸¥à¹à¸à¸à¸¢à¹à¸²à¸à¸¡à¸µà¸ªà¸à¸´",path:"/risk-management"},xe={baccarat:X,hilo:z,roulette:Q,slot:J,football:V,"dragon-tiger":U},B=[{id:"baccarat",th:"à¸à¸²à¸à¸²à¸£à¹à¸²",en:"Baccarat"},{id:"hilo",th:"à¹à¸®à¹à¸¥",en:"Hi-Lo / Sic Bo"},{id:"roulette",th:"รูà¹à¸¥à¹à¸",en:"Roulette"},{id:"slot",th:"สลà¹à¸à¸",en:"Slot"},{id:"football",th:"à¸à¸¸à¸à¸à¸à¸¥",en:"Football"},{id:"dragon-tiger",th:"à¹à¸ªà¸·à¸à¸¡à¸±à¸à¸à¸£",en:"Dragon Tiger"}],T=[{question:"Smart Limit รัà¸à¸à¸£à¸°à¸à¸±à¸à¸§à¹à¸²à¸à¸°à¹à¸¡à¹à¹à¸ªà¸µà¸¢à¹à¸à¸´à¸à¸à¸³à¸«à¸à¸à¸«à¸£à¸·à¸à¹à¸¡à¹?",answer:"à¹à¸¡à¹ ระà¸à¸à¹à¸à¸·à¸à¸à¸à¸²à¸à¸à¹à¸²à¸à¸µà¹à¸à¸¹à¹à¹à¸à¹à¸à¸£à¸à¸à¹à¸¥à¸°à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¸à¸§à¸à¸à¸¸à¸¡à¹à¸§à¹à¸à¸ ายà¸à¸à¸à¹à¸à¹ à¸à¸¹à¹à¹à¸à¹à¸¢à¸±à¸à¸à¹à¸à¸à¸«à¸¢à¸¸à¸à¹à¸à¸à¹à¸¡à¸·à¹à¸à¸à¸¶à¸à¸à¸µà¸à¸à¸³à¸à¸±à¸"},{question:"AI Risk Score à¸à¸·à¸à¹à¸à¸à¸²à¸ªà¸à¸à¸°à¸«à¸£à¸·à¸à¹à¸¡à¹?",answer:"à¹à¸¡à¹à¹à¸à¹ à¸à¸°à¹à¸à¸à¸à¸µà¹à¸£à¸§à¸¡à¸ªà¸±à¸à¸à¸²à¸à¸à¸ à¹à¸§à¸¥à¸² à¹à¸à¸´à¸à¸à¹à¸à¸£à¸à¸ à¸à¸²à¸£à¸à¸±à¸ à¹à¸¥à¸°à¸à¸²à¸£à¸¡à¸à¹ à¸à¸£à¹à¸à¸¡à¹à¸à¸´à¸à¹à¸à¸¢à¹à¸«à¸à¸¸à¸à¸¥ à¹à¸¡à¹à¹à¸à¸µà¹à¸¢à¸§à¸à¸±à¸à¸à¸¥à¹à¸à¸¡à¸à¸±à¸à¹à¸"},{question:"à¸à¸³à¹à¸¡à¸¥à¹à¸à¸à¹à¸à¸à¹à¸¥à¹à¸§à¹à¸à¹ Limit à¹à¸¡à¹à¹à¸à¹?",answer:"à¹à¸à¸·à¹à¸à¹à¸¡à¹à¹à¸«à¹à¸à¸¢à¸²à¸¢à¸à¸µà¸à¸à¸³à¸à¸±à¸à¸£à¸°à¸«à¸§à¹à¸²à¸ Session à¸à¸²à¸¡à¸à¸²à¸£à¸¡à¸à¹ à¸à¸²à¸£à¹à¸£à¸´à¹à¸¡à¹à¸à¸à¹à¸«à¸¡à¹à¸à¸§à¸£à¸à¸³à¹à¸¡à¸·à¹à¸ Session à¹à¸à¸´à¸¡à¸ªà¸´à¹à¸à¸ªà¸¸à¸à¹à¸¥à¸°à¸à¸¹à¹à¹à¸à¹à¸à¸£à¹à¸à¸¡à¸à¸à¸à¸§à¸"},{question:"à¸à¸£à¸§à¸à¸à¸±à¸à¸à¸²à¸£à¹à¸¥à¹à¸à¸¸à¸à¸à¸¢à¹à¸²à¸à¹à¸£?",answer:"ระà¸à¸à¸¡à¸à¸à¸«à¸²à¸à¸²à¸£à¹à¸à¸´à¹à¸¡à¹à¸à¸´à¸à¸à¹à¸à¸£à¸à¸à¸«à¸¥à¸±à¸à¸à¸¥à¸à¸²à¸à¸à¸¸à¸à¸à¹à¸à¹à¸à¸·à¹à¸à¸à¸£à¹à¸§à¸¡à¸à¸±à¸à¸ªà¸±à¸à¸à¸²à¸à¸à¸·à¹à¸ à¹à¸¡à¹à¹à¸£à¸µà¸¢à¸à¸ªà¸´à¹à¸à¸à¸µà¹à¸§à¹à¸²à¸à¸¥à¸¢à¸¸à¸à¸à¹à¹à¸¥à¸°à¹à¸¡à¹à¹à¸à¸°à¸à¸³à¹à¸à¸´à¸¡à¸à¸±à¸à¹à¸«à¸¡à¹"},{question:"à¹à¸¡à¸·à¹à¸à¹à¸£à¸£à¸°à¸à¸à¸à¸§à¸£à¹à¸à¹à¸²à¸ªà¸¹à¹ Cool-down?",answer:"à¹à¸¡à¸·à¹à¸à¸à¸¶à¸ Loss Limit, Risk à¹à¸à¹à¸ CRITICAL, à¸à¸£à¸§à¸à¸à¸à¸à¸²à¸£à¹à¸¥à¹à¸à¸¸à¸à¸£à¸¸à¸à¹à¸£à¸ หรืà¸à¸à¸¹à¹à¹à¸à¹à¸£à¸°à¸à¸¸à¸§à¹à¸²à¸à¸¢à¸²à¸à¹à¸à¸²à¸à¸·à¸/à¹à¸¡à¹à¸à¸£à¹à¸à¸¡à¸à¸±à¸à¸ªà¸´à¸à¹à¸"},{question:"à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸à¹à¸à¸à¸µà¹à¹à¸«à¸?",answer:"หà¸à¹à¸² Public à¸à¸µà¹à¹à¸à¹à¸à¸à¸±à¸§à¸à¸¢à¹à¸²à¸à¸à¸à¸«à¸à¹à¸²à¸à¸ สà¹à¸§à¸ Smart Limit สมาà¸à¸´à¸à¹à¸à¹à¸à¹à¸à¸à¸²à¸°à¹à¸à¸à¸¸à¸à¸à¸£à¸à¹à¹à¸¥à¸°à¹à¸¢à¸à¸à¸²à¸¡à¸à¸±à¸à¸à¸µ à¹à¸¡à¹à¹à¸à¸¥à¸µà¹à¸¢à¸ Point หรืà¸à¸à¸²à¸à¸à¹à¸à¸¡à¸¹à¸¥"}],me={dailyBudget:3e3,sessionBudget:1500,lossLimit:1e3,sessionMinutes:60,breakMinutes:30,maxStake:100},E={low:"LOW",moderate:"MODERATE",high:"HIGH",critical:"CRITICAL"};function Ne(){const{user:b}=G(),[,O]=$(),[d,q]=l.useState("baccarat"),[a,w]=l.useState(me),[r,D]=l.useState(!1),[R,S]=l.useState("normal"),[x,v]=l.useState(!1),[n,N]=l.useState({spent:720,loss:320,stake:100,minutes:28}),m=l.useMemo(()=>({...C(),settings:{dailyBudget:a.dailyBudget,sessionBudget:a.sessionBudget,lossLimit:a.lossLimit,sessionMinutes:a.sessionMinutes,breakMinutes:a.breakMinutes}
6,activity:{...C().activity,dailySpent:n.spent,sessionSpent:n.spent,sessionLoss:n.loss,elapsedSeconds:n.minutes*60}}),[a,n]),p=l.useMemo(()=>({...ae(),gameId:d,maxStake:a.maxStake,planLocked:r,emotion:R,impaired:x,currentStake:n.stake,rounds:18,breaksTaken:1,emotionChecks:1}),[R,d,x,r,a.maxStake,n.stake]),c=l.useMemo(()=>te(m,p),[p,m]),H=l.useMemo(()=>ne(m,p),[p,m]),k=c.cooldownRequired,o=ie[d];W({title:u.title,description:u.description,path:u.path,kind:"article",faqs:T});const P=(s,t)=>{r||w(i=>({...i,[s]:Number.isFinite(t)?Math.max(s.includes("Minutes")?1:0,Math.min(1e7,t)):0}))},F=(s,t)=>N(i=>({...i,[s]:Number.isFinite(t)?Math.max(0,Math.min(1e7,t)):0}));return e.jsx(Y,{"data-loc":"client/src/pages/RiskManagementPage.tsx:64",currentSection:"knowledge",children:e.jsxs("main",{"data-loc":"client/src/pages/RiskManagementPage.tsx:64",id:"main-content",className:"risk-center",children:[e.jsx("section",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",className:"risk-hero",children:e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",className:"risk-shell risk-hero-grid",children:[e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",children:[e.jsxs("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",className:"risk-eyebrow",children:[e.jsx(L,{"data-loc":"client/src/pages/RiskManagementPage.tsx:65","aria-hidden":"true"})," AI RISK CONTROL & SMART LIMIT"]}),e.jsx("h1",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",children:"วาà¸à¹à¸à¸à¸à¹à¸à¸à¹à¸¥à¹à¸ à¸à¸§à¸à¸à¸¸à¸¡à¸£à¸°à¸«à¸§à¹à¸²à¸à¹à¸¥à¹à¸ à¹à¸¥à¸°à¸£à¸¹à¹à¸§à¹à¸²à¹à¸¡à¸·à¹à¸à¹à¸£à¸à¸§à¸£à¸«à¸¢à¸¸à¸"}),e.jsx("p",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",children:"ระà¸à¸à¸à¹à¸§à¸¢à¸à¸±à¹à¸ Budget Limit, Session Time, Loss Limit à¹à¸¥à¸° Break Reminder à¸à¸£à¹à¸à¸¡ AI à¸à¹à¸§à¸¢à¸à¸£à¸§à¸à¸à¸±à¸à¸à¸¤à¸à¸´à¸à¸£à¸£à¸¡à¹à¸ªà¸µà¹à¸¢à¸ à¹à¸à¹à¸ à¸à¸²à¸£à¹à¸¥à¹à¸à¸¸à¸ à¸à¸²à¸£à¹à¸à¸´à¹à¸¡à¹à¸à¸´à¸à¹à¸à¸´à¸¡à¸à¸±à¸ à¹à¸¥à¸°à¸à¸²à¸£à¹à¸¥à¹à¸à¹à¸à¸´à¸à¹à¸à¸"}),e.jsxs("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",className:"risk-disclaimer",children:[e.jsx(re,{"data-loc":"client/src/pages/RiskManagementPage.tsx:65","aria-hidden":"true"}),"ระà¸à¸à¸à¸µà¹à¸à¹à¸§à¸¢à¹à¸à¸·à¸à¸à¹à¸¥à¸°à¸à¸§à¸à¸à¸¸à¸¡à¸à¸¤à¸à¸´à¸à¸£à¸£à¸¡ à¹à¸¡à¹à¸ªà¸²à¸¡à¸²à¸£à¸à¸£à¸±à¸à¸à¸£à¸°à¸à¸±à¸à¸à¸¥à¸¥à¸±à¸à¸à¹à¸«à¸£à¸·à¸à¸à¹à¸à¸à¸à¸±à¸à¸à¸§à¸²à¸¡à¹à¸ªà¸µà¸¢à¸«à¸²à¸¢à¸à¸±à¹à¸à¸«à¸¡à¸à¹à¸à¹"]}),e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",className:"risk-hero-actions",children:[e.jsxs("a",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",href:"#session-planner",children:["à¹à¸£à¸´à¹à¸¡à¸§à¸²à¸à¹à¸à¸ Session",e.jsx(h,{"data-loc":"client/src/pages/RiskManagementPage.tsx:65","aria-hidden":"true"})]}),e.jsxs("a",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",href:"#live-risk",children:["à¸à¸¹à¸§à¸´à¸à¸µà¸à¸§à¸à¸à¸¸à¸¡à¸à¸²à¸£à¹à¸¥à¹à¸",e.jsx(ge,{"data-loc":"client/src/pages/RiskManagementPage.tsx:65","aria-hidden":"true"})]})]})]}),e.jsxs("aside",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",children:[e.jsx("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",children:"SMART DECISION"}),e.jsx("strong",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",children:"Control before prediction"}),e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",children:[e.jsx("small",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",children:"PLAN"}),e.jsx(h,{"data-loc":"client/src/pages/RiskManagementPage.tsx:65"}),e.jsx("small",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",children:"MONITOR"}),e.jsx(h,{"data-loc":"client/src/pages/RiskManagementPage.tsx:65"}),e.jsx("small",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",children:"PAUSE"})]}),e.jsx("p",{"data-loc":"client/src/pages/RiskManagementPage.tsx:65",children:"à¸à¸±à¹à¸à¹à¸à¸ â à¸à¸´à¸à¸à¸²à¸¡ â à¹à¸à¸·à¸à¸ â à¸à¸±à¸ â à¸à¸à¸à¸§à¸"})]})]})}),e.jsx("section",{"data-loc":"client/src/pages/RiskManagementPage.tsx:67",className:"risk-game-selector","aria-labelledby":"risk-game-title",children:e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:67",className:"risk-shell",children:[e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:67",children:[e.jsx("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:67",children:"GAME RISK MODEL"}),e.jsx("h2",{"data-loc":"client/src/pages/RiskManagementPage.tsx:67",id:"risk-game-title",children:"à¹à¸¥à¸·à¸à¸à¹à¸à¸¡à¹à¸¥à¸°à¹à¸à¹à¸à¸±à¸§à¸à¸µà¹à¸§à¸±à¸à¸à¸µà¹à¹à¸«à¸¡à¸²à¸°à¸ªà¸¡"})]}),e.jsx("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:67",role:"tablist","aria-label":"à¹à¸¥à¸·à¸à¸à¹à¸à¸¡à¸ªà¸³à¸«à¸£à¸±à¸ Risk Control",children:B.map(s=>{const t=xe[s.id];return e.jsxs("button",{"data-loc":"client/src/pages/RiskManagementPage.tsx:67",type:"button",role:"tab","aria-selected":s.id===d,onClick:()=>q(s.id),children:[e.jsx(t,{"data-loc":"client/src/pages/RiskManagementPage.tsx:67","aria-hidden":"true"}),e.jsxs("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:67",children:[s.th,e.jsx("small",{"data-loc":"client/src/pages/RiskManagementPage.tsx:67",children:s.en})]})]},s.id)})}),e.jsxs("p",{"data-loc":"client/src/pages/RiskManagementPage.tsx:67","aria-live":"polite",children:[o.unit," · ",o.stake," · Session Budget · Loss Limit · Time · Break"]})]})}),e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:69",className:"risk-shell risk-body",children:[e.jsxs("section",{"data-loc":"client/src/pages/RiskManagementPage.tsx:70",id:"session-planner",className:"risk-section","aria-labelledby":"risk-planner-title",children:[e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:70",className:"risk-section-heading",children:[e.jsx("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:70",children:"SMART SESSION PLANNER"}),e.jsx("h2",{"data-loc":"client/src/pages/RiskManagementPage.tsx:70",id:"risk-planner-title",children:"à¸à¸±à¹à¸à¸à¸µà¸à¸à¸³à¸à¸±à¸à¸à¹à¸à¸à¹à¸£à¸´à¹à¸¡"}),e.jsx("p",{"data-loc":"client/src/pages/RiskManagementPage.tsx:70",children:"à¹à¸¡à¸·à¹à¸à¸à¸à¸¥à¹à¸à¸à¹à¸à¸ à¸à¹à¸à¸à¸à¸°à¸à¸¹à¸à¸à¸´à¸à¹à¸à¸·à¹à¸à¹à¸¡à¹à¹à¸«à¹à¹à¸à¸´à¹à¸¡ Limit ระหวà¹à¸²à¸ Session"})]}),e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:70",className:"risk-planner-grid",children:[e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:70",className:"risk-plan-fields",children:[[["dailyBudget","à¸à¸à¸£à¸²à¸¢à¸§à¸±à¸","Daily Budget","à¸à¸²à¸"],["sessionBudget","à¸à¸à¸ªà¸³à¸«à¸£à¸±à¸à¸£à¸à¸à¸à¸µà¹","Session Budget","à¸à¸²à¸"],["maxStake",o.stake,"Maximum Stake","à¸à¸²à¸"],["lossLimit","à¸à¸²à¸à¸à¸¸à¸à¸ªà¸¹à¸à¸ªà¸¸à¸à¸à¸µà¹à¸¢à¸à¸¡à¸£à¸±à¸à¹à¸à¹","Loss Limit","à¸à¸²à¸"]].map(([s,t,i,g])=>e.jsxs("label",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",children:[e.jsxs("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",children:[t,e.jsx("small",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",children:i})]}),e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",children:[e.jsx(f,{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",type:"number",min:0,disabled:r,value:a[s],onChange:j=>P(s,j.target.valueAsNumber)}),e.jsx("small",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",children:g})]})]},s)),e.jsxs("label",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",children:[e.jsxs("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",children:["à¹à¸§à¸¥à¸²à¸ªà¸³à¸«à¸£à¸±à¸ Session",e.jsx("small",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",children:"Session Time"})]}),e.jsxs("select",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",disabled:r,value:a.sessionMinutes,onChange:s=>P("sessionMinutes",Number(s.target.value)),children:[e.jsx("option",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",value:"30",children:"30 à¸à¸²à¸à¸µ"}),e.jsx("option",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",value:"60",children:"60 à¸à¸²à¸à¸µ"}),e.jsx("option",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",value:"90",children:"90 à¸à¸²à¸à¸µ"}),e.jsx("option",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",value:"120",children:"à¸à¸³à¸«à¸à¸à¹à¸à¸: 120 à¸à¸²à¸à¸µ"})]})]}),e.jsxs("label",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",children:[e.jsxs("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",children:["à¹à¸à¸·à¸à¸à¹à¸«à¹à¸à¸±à¸à¸à¸¸à¸",e.jsx("small",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",children:"Break Reminder"})]}),e.jsxs("select",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",disabled:r,value:a.breakMinutes,onChange:s=>P("breakMinutes",Number(s.target.value)),children:[e.jsx("option",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",value:"15",children:"15 à¸à¸²à¸à¸µ"}),e.jsx("option",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",value:"30",children:"30 à¸à¸²à¸à¸µ"}),e.jsx("option",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",value:"45",children:"45 à¸à¸²à¸à¸µ"}),e.jsx("option",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",value:"60",children:"60 à¸à¸²à¸à¸µ"})]})]}),e.jsxs(I,{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",type:"button",disabled:r,onClick:()=>D(!0),className:"risk-lock-button",children:[e.jsx(Z,{"data-loc":"client/src/pages/RiskManagementPage.tsx:72","aria-hidden":"true"}),r?"ลà¹à¸à¸à¹à¸à¸à¹à¸¥à¹à¸§":"ลà¹à¸à¸à¹à¸à¸à¸à¹à¸à¸à¹à¸£à¸´à¹à¸¡"]})]}),e.jsxs("aside",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",className:"risk-plan-summary",children:[e.jsx("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",children:"YOUR PLAN"}),e.jsx("h3",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",children:B.find(s=>s.id===d)?.th}),[["à¸à¸à¸§à¸±à¸à¸à¸µà¹",a.dailyBudget,"à¸à¸²à¸"],["à¸à¸à¸£à¸à¸",a.sessionBudget,"à¸à¸²à¸"],["หยุà¸à¹à¸¡à¸·à¹à¸à¸à¸²à¸à¸à¸¸à¸",a.lossLimit,"à¸à¸²à¸"],["à¹à¸§à¸¥à¸²à¸ªà¸¹à¸à¸ªà¸¸à¸",a.sessionMinutes,"à¸à¸²à¸à¸µ"],["à¸à¸±à¸à¸à¸¸à¸",a.breakMinutes,"à¸à¸²à¸à¸µ"]].map(([s,t,i])=>e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",children:[e.jsx("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",children:s}),e.jsxs("strong",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",children:[Number(t).toLocaleStr
6ing("th-TH")," ",i]})]},String(s))),e.jsxs("p",{"data-loc":"client/src/pages/RiskManagementPage.tsx:72",children:[e.jsx(L,{"data-loc":"client/src/pages/RiskManagementPage.tsx:72","aria-hidden":"true"}),"à¹à¸à¸à¸à¸µà¹à¹à¸¡à¹à¹à¸à¸¥à¸µà¹à¸¢à¸ Probability, RTP หรืภHouse Edge"]})]})]})]}),e.jsxs("section",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",className:"risk-section","aria-labelledby":"risk-safety-title",children:[e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",className:"risk-section-heading",children:[e.jsx("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",children:"PRE-SESSION SAFETY CHECK"}),e.jsx("h2",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",id:"risk-safety-title",children:"à¸à¸£à¸§à¸à¸à¸§à¸²à¸¡à¸à¸£à¹à¸à¸¡à¸à¹à¸à¸à¹à¸£à¸´à¹à¸¡"})]}),e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",className:"risk-safety-card",children:[e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",className:"risk-emotions",children:[e.jsxs("p",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",children:[e.jsx(A,{"data-loc":"client/src/pages/RiskManagementPage.tsx:74","aria-hidden":"true"}),"à¸à¸à¸à¸à¸µà¹à¸à¸¸à¸à¸£à¸¹à¹à¸ªà¸¶à¸à¸à¸¢à¹à¸²à¸à¹à¸£?"]}),e.jsx("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",role:"group","aria-label":"à¹à¸¥à¸·à¸à¸à¸à¸²à¸£à¸¡à¸à¹à¸à¹à¸à¸à¹à¸£à¸´à¹à¸¡",children:ce.map(s=>e.jsxs("button",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",type:"button","aria-pressed":R===s.id,onClick:()=>S(s.id),children:[e.jsx("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74","aria-hidden":"true",children:s.icon}),s.label]},s.id))})]}),e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",className:"risk-impaired",children:[e.jsx("p",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",children:"à¸à¸¸à¸à¸à¸·à¹à¸¡à¹à¸à¸¥à¸à¸à¸®à¸à¸¥à¹à¸«à¸£à¸·à¸à¹à¸¡à¹à¸à¸£à¹à¸à¸¡à¸à¸±à¸à¸ªà¸´à¸à¹à¸à¸«à¸£à¸·à¸à¹à¸¡à¹?"}),e.jsx("button",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",type:"button","aria-pressed":!x,onClick:()=>v(!1),children:"à¹à¸¡à¹"}),e.jsx("button",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",type:"button","aria-pressed":x,onClick:()=>v(!0),children:"à¹à¸à¹"})]}),e.jsx("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",className:`risk-safety-result ${k?"is-blocked":""}`,"aria-live":"polite",children:k?e.jsxs(e.Fragment,{children:[e.jsx(y,{"data-loc":"client/src/pages/RiskManagementPage.tsx:74","aria-hidden":"true"}),e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",children:[e.jsx("strong",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",children:"à¹à¸¡à¹à¹à¸à¸°à¸à¸³à¹à¸«à¹à¹à¸£à¸´à¹à¸¡ Session"}),e.jsx("p",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",children:"สà¸à¸²à¸à¸°à¸à¸±à¸à¸à¸¸à¸à¸±à¸à¸à¸²à¸à¸à¸³à¹à¸«à¹à¸à¸²à¸£à¸à¸±à¸à¸ªà¸´à¸à¹à¸à¹à¸à¹à¸à¸²à¸£à¸¡à¸à¹ ระà¸à¸à¸à¸°à¹à¸ªà¸à¸à¹à¸à¸à¸²à¸°à¸à¸±à¸ à¸à¸ Session à¹à¸¥à¸° Responsible Play"})]})]}):e.jsxs(e.Fragment,{children:[e.jsx(de,{"data-loc":"client/src/pages/RiskManagementPage.tsx:74","aria-hidden":"true"}),e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",children:[e.jsx("strong",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",children:"à¸à¸£à¹à¸à¸¡à¸à¸£à¸§à¸à¹à¸à¸à¸à¹à¸"}),e.jsx("p",{"data-loc":"client/src/pages/RiskManagementPage.tsx:74",children:"ลà¹à¸à¸ Budget, Loss Limit, Time à¹à¸¥à¸° Break à¸à¹à¸à¸à¹à¸£à¸´à¹à¸¡âสà¸à¸²à¸à¸°à¸à¸µà¹à¹à¸¡à¹à¹à¸à¹à¸à¸²à¸£à¸£à¸±à¸à¸£à¸à¸à¸§à¹à¸²à¸à¸¥à¸à¸à¸ ัย"})]})]})})]})]}),e.jsxs("section",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",id:"live-risk",className:"risk-section risk-live","aria-labelledby":"risk-live-title",children:[e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",className:"risk-section-heading",children:[e.jsx("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",children:"LIVE SESSION RISK MODEL"}),e.jsx("h2",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",id:"risk-live-title",children:"à¸à¸¹à¸à¸ à¹à¸§à¸¥à¸² à¹à¸¥à¸°à¸à¸¤à¸à¸´à¸à¸£à¸£à¸¡à¹à¸à¸¡à¸¸à¸¡à¹à¸à¸µà¸¢à¸§"}),e.jsx("p",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",children:"ลà¸à¸à¸à¸£à¸±à¸à¸à¹à¸²à¸à¸±à¸§à¸à¸¢à¹à¸²à¸à¹à¸à¸·à¹à¸à¸à¸¹à¸§à¹à¸² AI Risk Score à¹à¸à¸¥à¸µà¹à¸¢à¸à¸à¸²à¸à¸à¸±à¸à¸à¸±à¸¢à¹à¸"})]}),e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",className:"risk-live-grid",children:[e.jsx("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",className:"risk-progress-inputs",children:[["spent","à¹à¸à¹à¹à¸à¸£à¸à¸","à¸à¸²à¸"],["loss","à¸à¸²à¸à¸à¸¸à¸à¹à¸à¸£à¸à¸","à¸à¸²à¸"],["stake",o.stake,"à¸à¸²à¸"],["minutes","à¹à¸§à¸¥à¸²à¸à¸µà¹à¹à¸¥à¹à¸","à¸à¸²à¸à¸µ"]].map(([s,t,i])=>e.jsxs("label",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",children:[e.jsx("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",children:t}),e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",children:[e.jsx(f,{"data-loc":"client/src/pages/RiskManagementPage.tsx:76","aria-label":t,type:"number",min:0,value:n[s],onChange:g=>F(s,g.target.valueAsNumber)}),e.jsx("small",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",children:i})]})]},s))}),e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",className:"risk-score-card",children:[e.jsx("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",className:`risk-score-ring is-${
6c.level}`,style:{"--score":c.score},children:e.jsxs("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",children:[e.jsx("strong",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",children:c.score}),e.jsx("small",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",children:"AI RISK SCORE"})]})}),e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",children:[e.jsx("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",className:`risk-level is-${c.level}`,children:E[c.level]}),e.jsx("h3",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",children:"à¸à¸§à¸²à¸¡à¹à¸ªà¸µà¹à¸¢à¸ Session à¸à¸±à¸à¸à¸¸à¸à¸±à¸"}),e.jsx("p",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",children:"à¸à¸°à¹à¸à¸à¸¡à¸²à¸à¸²à¸ Limit, à¹à¸§à¸¥à¸², à¹à¸à¸´à¸à¸à¹à¸à¸£à¸à¸, à¸à¸²à¸£à¸à¸±à¸ à¹à¸¥à¸°à¸à¸²à¸£à¸¡à¸à¹ à¹à¸¡à¹à¹à¸à¹à¸à¸¥à¹à¸à¸¡"}),e.jsxs("small",{"data-loc":"client/src/pages/RiskManagementPage.tsx:76",children:["Discipline ",H,"/100"]})]})]})]}),e.jsx("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:77",className:"risk-status-grid",children:[["à¸à¸à¸£à¸à¸",n.spent,a.sessionBudget],["à¸à¸²à¸à¸à¸¸à¸",n.loss,a.lossLimit],["à¹à¸§à¸¥à¸²",n.minutes,a.sessionMinutes],[o.stake,n.stake,a.maxStake]].map(([s,t,i])=>{const g=Number(i)>0?Number(t)/Number(i):0,j=le(g);return e.jsxs("article",{"data-loc":"client/src/pages/RiskManagementPage.tsx:77",className:`is-${j}`,children:[e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:77",children:[e.jsx("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:77",children:s}),e.jsxs("strong",{"data-loc":"client/src/pages/RiskManagementPage.tsx:77",children:[Math.round(g*100),"%"]})]}),e.jsx("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:77",className:"risk-progress",children:e.jsx("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:77",style:{width:`${Math.min(100,g*100)}%`}})}),e.jsxs("p",{"data-loc":"client/src/pages/RiskManagementPage.tsx:77",children:[Number(t).toLocaleString("th-TH")," / ",Number(i).toLocaleString("th-TH")]})]},String(s))})}),e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:78",className:"risk-explain",children:[e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:78",children:[e.jsx(_,{"data-loc":"client/src/pages/RiskManagementPage.tsx:78","aria-hidden":"true"}),e.jsxs("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:78",children:[e.jsx("strong",{"data-loc":"client/src/pages/RiskManagementPage.tsx:78",children:"à¸à¸³à¹à¸¡ AI à¸à¸¶à¸à¹à¸ªà¸à¸à¸£à¸°à¸à¸±à¸à¸à¸µà¹?"}),e.jsx("small",{"data-loc":"client/src/pages/RiskManagementPage.tsx:78",children:"Input â Rule â Calculation â Limitation"})]})]}),c.factors.length?e.jsx("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:78",children:c.factors.map(s=>e.jsxs("article",{"data-loc":"client/src/pages/RiskManagementPage.tsx:78",children:[e.jsxs("strong",{"data-loc":"client/src/pages/RiskManagementPage.tsx:78",children:["+",s.points," · ",s.label]}),e.jsx("p",{"data-loc":"client/src/pages/RiskManagementPage.tsx:78",children:s.detail})]},s.id))}):e.jsx("p",{"data-loc":"client/src/pages/RiskManagementPage.tsx:78",children:"ยัà¸à¹à¸¡à¹à¸à¸à¸à¸±à¸à¸à¸±à¸¢à¹à¸à¸·à¸à¸à¸à¸²à¸à¸à¹à¸²à¸à¸±à¸§à¸à¸¢à¹à¸²à¸ à¹à¸à¹à¸à¸§à¸£à¸à¸´à¸à¸à¸²à¸¡à¸à¹à¸à¹à¸à¸·à¹à¸à¸à¹à¸¥à¸°à¸«à¸¢à¸¸à¸à¹à¸¡à¸·à¹à¸à¸à¸¶à¸à¹à¸à¸"})]}),e.jsx("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:79",className:"risk-actions",children:k?e.jsxs(e.Fragment,{children:[e.jsxs("button",{"data-loc":"client/src/pages/RiskManagementPage.tsx:79",type:"button",children:[e.jsx(oe,{"data-loc":"client/src/pages/RiskManagementPage.tsx:79","aria-hidden":"true"}),"à¸à¸±à¸ 10 à¸à¸²à¸à¸µ"]}),e.jsxs(M,{"data-loc":"client/src/pages/RiskManagementPage.tsx:79",href:"/responsible-play",children:[e.jsx(y,{"data-loc":"client/src/pages/RiskManagementPage.tsx:79","aria-hidden":"true"}),"à¸à¸¹ Responsible Play"]})]}):e.jsxs(e.Fragment,{children:[e.jsxs("button",{"data-loc":"client/src/pages/RiskManagementPage.tsx:79",type:"button",onClick:()=>N(s=>({...s,minutes:s.minutes+10})),children:[e.jsx(ee,{"data-loc":"client/src/pages/RiskManagementPage.tsx:79","aria-hidden":"true"}),"à¹à¸à¸´à¹à¸¡à¹à¸§à¸¥à¸²à¸à¸±à¸§à¸à¸¢à¹à¸²à¸ 10 à¸à¸²à¸à¸µ"]}),e.jsxs("button",{"data-loc":"client/src/pages/RiskManagementPage.tsx:79",type:"button",onClick:()=>S("normal"),children:[e.jsx(A,{"data-loc":"client/src/pages/RiskManagementPage.tsx:79","aria-hidden":"true"}),"à¹à¸à¹à¸à¸à¸²à¸£à¸¡à¸à¹à¸à¸µà¸à¸à¸£à¸±à¹à¸"]})]})})]}),e.jsxs("section",{"data-loc":"client/src/pages/RiskManagementPage.tsx:82",className:"risk-philosophy","aria-labelledby":"risk-philosophy-title",children:[e.jsx(se,{"data-loc":"client/src/pages/RiskManagementPage.tsx:82","aria-hidden":"true"}),e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:82",children:[e.jsx("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:82",children:"MAWIN SIAM RISK PHILOSOPHY"}),e.jsx("h2",{"data-loc":"client/src/pages/RiskManagementPage.tsx:82",id:"risk-philosophy-title",children:"AI à¹à¸¡à¹à¹à¸à¹à¸¡à¸µà¸«à¸à¹à¸²à¸à¸µà¹à¸à¸à¸à¹à¸«à¹à¸à¸¸à¸à¹à¸¥à¹à¸à¸à¹à¸"}),e.jsx("p",{"data-loc":"client/src/pages/RiskManagementPage.tsx:82",children:"AI มีหà¸à¹à¸²à¸à¸µà¹à¸à¸à¸à¸à¹à¸§à¸¢à¸§à¹à¸²à¹à¸¡à¸·à¹à¸à¹à¸£à¸à¸¸à¸à¸à¸§à¸£à¸«à¸¢à¸¸à¸ วิà¹à¸à¸£à¸²à¸°à¸«à¹à¹à¸à¸¡à¹à¸à¹ à¹à¸à¹à¸à¹à¸à¸à¸§à¸´à¹à¸à¸£à¸²à¸°à¸«à¹à¸à¸±à¸§à¹à¸à¸à¹à¸à¹à¸à¸à¹à¸§à¸¢"}),e.jsxs("nav",{"data-loc":"client/src/pages/RiskManagementPage.tsx:82","aria-label":"à¹à¸à¸·à¹à¸à¸«à¸²à¹à¸ªà¸£à¸´à¸¡",children:[e.jsx(M,{"data-loc":"client/src/pages/RiskManagementPage.tsx:82",href:"/statistics",children:"Statistics"}),e.jsx(M,{"data-loc":"client/src/pages/RiskManagementPage.tsx:82",href:"/probability",children:"Probability"}),e.jsx(M,{"data-loc":"client/src/pages/RiskManagementPage.tsx:82",href:"/responsible-play",children:"Responsible Play"})]})]}),k?null:e.jsxs(I,{"data-loc":"client/src/pages/RiskManagementPage.tsx:82",type:"button",onClick:()=>
6O(b?"/smart-limit":"/login"),children:[b?"à¹à¸à¸´à¸ Smart Limit à¸à¸à¸à¸à¸±à¸":"à¹à¸à¹à¸²à¸ªà¸¹à¹à¸£à¸°à¸à¸à¹à¸à¸·à¹à¸à¸à¸±à¸à¸à¸¶à¸à¹à¸à¸",e.jsx(h,{"data-loc":"client/src/pages/RiskManagementPage.tsx:82"})]})]}),e.jsxs("section",{"data-loc":"client/src/pages/RiskManagementPage.tsx:84",className:"risk-faq","aria-labelledby":"risk-faq-title",children:[e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:84",className:"risk-section-heading",children:[e.jsx("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:84",children:"FAQ"}),e.jsx("h2",{"data-loc":"client/src/pages/RiskManagementPage.tsx:84",id:"risk-faq-title",children:"à¸à¸³à¸à¸²à¸¡à¸à¸µà¹à¸à¸à¸à¹à¸à¸¢à¹à¸à¸µà¹à¸¢à¸§à¸à¸±à¸ Risk Control"})]}),T.map(s=>e.jsxs("details",{"data-loc":"client/src/pages/RiskManagementPage.tsx:84",children:[e.jsxs("summary",{"data-loc":"client/src/pages/RiskManagementPage.tsx:84",children:[s.question,e.jsx("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:84",children:"+"})]}),e.jsx("p",{"data-loc":"client/src/pages/RiskManagementPage.tsx:84",children:s.answer})]},s.question))]})]}),e.jsxs("div",{"data-loc":"client/src/pages/RiskManagementPage.tsx:86",className:`risk-mobile-bar is-${c.level}`,children:[e.jsxs("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:86",children:["à¹à¸§à¸¥à¸² ",e.jsxs("strong",{"data-loc":"client/src/pages/RiskManagementPage.tsx:86",children:[n.minutes,"m"]})]}),e.jsxs("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:86",children:["à¸à¸ ",e.jsxs("strong",{"data-loc":"client/src/pages/RiskManagementPage.tsx:86",children:[Math.round(n.spent/a.sessionBudget*100),"%"]})]}),e.jsxs("span",{"data-loc":"client/src/pages/RiskManagementPage.tsx:86",children:["Risk ",e.jsx("strong",{"data-loc":"client/src/pages/RiskManagementPage.tsx:86",children:E[c.level]})]}),e.jsx("a",{"data-loc":"client/src/pages/RiskManagementPage.tsx:86",href:"#live-risk",children:"à¸à¸¹ Session"})]})]})})}export{Ne as default};
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.