amis.define("b9bd95c",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e("11ed2ab"),n=r.__importStar(e("f5750f9")),o=r.__importStar(e("60fb112")),i=e("bbb15f3"),a=e("864e3b2"),f=function(){function e(){}return e.prototype.doHover=function(e,t,r){function f(t){return i.Range.create(e.positionAt(t.offset),e.positionAt(t.end))}for(var s=e.offsetAt(t),c=n.getNodePath(r,s),l=0;l<c.length;l++){var u=c[l];if(u instanceof n.Selector)return{contents:a.selectorToMarkedString(u),range:f(u)};if(u instanceof n.SimpleSelector)return{contents:a.simpleSelectorToMarkedString(u),range:f(u)};if(u instanceof n.Declaration){var g=u.getFullPropertyName(),p=o.cssDataManager.getProperty(g);if(p){var d=[];p.description&&d.push(i.MarkedString.fromPlainText(p.description));var S=o.getBrowserLabel(p.browsers);if(S&&d.push(i.MarkedString.fromPlainText(S)),d.length)return{contents:d,range:f(u)}}}}return null},e}();t.CSSHover=f});