(function(){try{const o=window.monaco&&window.monaco.editor&&typeof window.monaco.editor.getModels=="function"?window.monaco.editor.getModels()[0]:null;if(!o){window.postMessage({type:"LEETSYNC_CODE",success:!1},"*");return}const e=o.getValue(),s=o.getLanguageId();window.postMessage({type:"LEETSYNC_CODE",success:!0,payload:{code:e,language:s}},"*")}catch{window.postMessage({type:"LEETSYNC_CODE",success:!1},"*")}})();
