1import{C as s}from"./chessground-CfwCpaLt.js";const o=/^[a-h][1-8]$/;function a(t){if(!t||t.length<4)return;const e=t.slice(0,2),n=t.slice(2,4);if(!(!o.test(e)||!o.test(n)))return[e,n]}function r(t){const e=t.dataset.fen;if(!e)return;const n=a(t.dataset.lastMove);s(t,{fen:e,orientation:t.dataset.orientation==="black"?"black":"white",lastMove:n,coordinates:!0,viewOnly:!0,disableContextMenu:!0,highlight:{lastMove:!!n,check:!1},animation:{enabled:!1},drawable:{enabled:!1,visible:!1}})}export{r as init};
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.