const SpreadJsObj={createNewSpread:function(e){const t=new GC.Spread.Sheets.Workbook(e,{sheetCount:1});t.options.tabStripVisible=false;t.options.scrollbarMaxAlign=true;t.options.cutCopyIndicatorVisible=false;t.options.allowCopyPasteExcelStyle=false;t.options.allowUserDragDrop=false;t.getActiveSheet().setRowCount(3);return t},protectedSheet:function(e){const t={allowSelectLockedCells:true,allowSelectUnlockedCells:true,allowResizeRows:true,allowResizeColumns:true};e.options.protectionOptions=t;e.options.isProtected=true},massOperationSheet:function(e,t){e.suspendPaint();e.suspendEvent();t();e.resumeEvent();e.resumePaint()},getObjPos:function(e){let t=e;let l={x:e.offsetLeft,y:e.offsetTop};t=e.offsetParent;while(t){l.x+=t.offsetLeft;l.y+=t.offsetTop;t=t.offsetParent}return l},getHitTest:function(e,t,l){var n=e.offset(),o=t.pageX-n.left,i=t.pageY-n.top;return l.hitTest(o,i)},getTargetSelection:function(e,t){if(t.hitTestType===GC.Spread.Sheets.SheetArea.colHeader){return e.getRange(-1,t.col,e.getRowCount(),1)}else if(t.hitTestType===GC.Spread.Sheets.SheetArea.rowHeader){return e.getRange(t.row,-1,1,e.getColumnCount())}else if(t.hitTestType===GC.Spread.Sheets.SheetArea.viewport){return e.getRange(t.row,t.col,1,1)}else if(t.hitTestType===GC.Spread.Sheets.SheetArea.corner){return e.getRange(-1,-1,e.getRowCount(),e.getColumnCount())}},getCellInSelections:function(e,t,l){const n=e.length;let o;for(var i=0;i");for(let n=t.row,o=t.row+t.rowCount;n");for(let l=t.col,i=t.col+t.colCount;l"+t+"")}o.push("");l.push(o.join(""))}l.push("");return l.join("")},getFilterCopyText:function(e){const t=[];const l=e.getSelections()[0];for(let n=l.row,o=l.row+l.rowCount;n