var Common;!function(t){!function(t){"use strict";class e{constructor(e,n){this.text=e;this.errorMessage=n;var o=new t.SourceSpanBuilder(0,e.length);o.calculateLineOffsets(e);this._sourceSpan=new t.SourceSpan(o.data)}getOriginalPosition(t){return t}getMappedPosition(t){return t}positionToOffset(t){return 0===this.text.length?0:this._sourceSpan.getOffset(t)}offsetToPosition(e){return 0===this.text.length?t.Position.EMPTY_POSITION:this._sourceSpan.getPosition(Math.min(this.text.length,Math.max(0,e)))}getOffsetMappings(){return[]}}t.UnmappedTextMapping=e}(t.FormatService||(t.FormatService={}))}(Common||(Common={}));
