{"version":3,"sources":["CGClaimManager.coffee"],"names":[],"mappings":";;;;;;;;;AAAC;AAAA;;AAAM;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA,aAEL,oBAAa,GAAb,EAAY;AACV,SAAC,CAAC,IAAF,CACE;AAAA,iBAAO,KAAP;AACA,eAAM,GADN;AAEA,oBAAW,kBAAC,IAAD;AACjB;AAAQ,cAAE,WAAF,EAAe,OAAf,CAAuB;AACnB,yBAAY;AADO,aAAvB,EAGE;AAAA,wBAAU;AAAV,aAHF;AAIA,cAAE,MAAF,EAAU,MAAV,CAAiB,IAAI,CAAC,YAAtB;AACA,mBAAO,QAAQ,CAAC,IAAhB;AACA,mBAAO,QAAQ,CAAC,eAAhB;AAEA,qBAAS,IAAI,CAAC,GAAL,CAAU,IAAI,CAAC,YAAf,EAA6B,IAAI,CAAC,YAAlC,EACW,IAAI,CAAC,YADhB,EAC8B,IAAI,CAAC,YADnC,EACiD,IAAI,CAAC,YADtD,CAAT;AAEA,cAAE,SAAF,EAAa,MAAb,CAAoB,MAApB;AACA,cAAE,mBAAF,EAAuB,KAAvB,CAA6B,MAAM,CAAC,cAAP,CAAsB,UAAnD;AACA,cAAE,YAAF,EAAgB,KAAhB;mBACA,EAAE,YAAF,EAAgB,QAAhB,CAAyB,aAAzB;AAdS;AAFX,SADF;eAkBA;AAnBU;AAFP;AAAA;AAAA,aAuBL,sBAAY;AACV,UAAE,YAAF,EAAgB,WAAhB,CAA4B,aAA5B;AACA,cAAM,CAAC,UAAP,CAAkB,MAAM,CAAC,cAAP,CAAsB,YAAxC,EAAqD,IAArD;eAEA;AAJU;AAvBP;AAAA;AAAA,aA6BL,wBAAc;eACZ,EAAE,SAAF,EAAa,MAAb;AADY;AA7BT;;AAAA;AAAA;;AAgCP,QAAM,CAAC,cAAP,GAAwB,IAAI,cAAJ,EAAxB;CAhCC","file":"CGClaimManager.es5.js","sourcesContent":["class CGClaimManager\n\n  showClaims: (url) ->\n    $.ajax\n      cache: false\n      url : url\n      complete : (data) ->\n        $(\"body,html\").animate {\n            scrollTop : 0\n          },\n          duration: 500\n        $(\"main\").append(data.responseText)\n        body = document.body\n        html = document.documentElement\n\n        height = Math.max( body.scrollHeight, body.offsetHeight, \n                            html.clientHeight, html.scrollHeight, html.offsetHeight )\n        $(\".filter\").height(height)\n        $(\".claimsdiv .close\").click(window.cgClaimManager.hideClaims)\n        $(\".claimsdiv\").focus()\n        $(\".claimsdiv\").addClass(\"initialized\")\n    false\n\n  hideClaims: () ->\n    $(\".claimsdiv\").removeClass(\"initialized\")\n    window.setTimeout(window.cgClaimManager.removeClaims,1000)\n\n    false\n\n  removeClaims: () ->\n    $(\".filter\").remove()\n\nwindow.cgClaimManager = new CGClaimManager()"]}