{"version":3,"file":"SaveContent.js","names":["print","e","type","which","window","attachEvents","id","$","on","init"],"sources":["components/SaveContent.js"],"sourcesContent":["import $ from 'jquery';\r\n\r\nfunction print(e) {\r\n if (e.type === 'keypress' && e.which !== 13) {\r\n return;\r\n }\r\n\r\n window.print();\r\n}\r\n\r\nfunction attachEvents(id) {\r\n $(\"#\" + id).on('click keypress', print);\r\n};\r\n\r\n\r\nexport var init = function (id) {\r\n attachEvents(id);\r\n};"],"mappings":";;;;;;AAAA;AAAuB;AAEvB,SAASA,KAAK,CAACC,CAAC,EAAE;EACd,IAAIA,CAAC,CAACC,IAAI,KAAK,UAAU,IAAID,CAAC,CAACE,KAAK,KAAK,EAAE,EAAE;IACzC;EACJ;EAEAC,MAAM,CAACJ,KAAK,EAAE;AAClB;AAEA,SAASK,YAAY,CAACC,EAAE,EAAE;EACtB,IAAAC,kBAAC,EAAC,GAAG,GAAGD,EAAE,CAAC,CAACE,EAAE,CAAC,gBAAgB,EAAER,KAAK,CAAC;AAC3C;AAAC;AAGM,IAAIS,IAAI,GAAG,SAAPA,IAAI,CAAaH,EAAE,EAAE;EAC5BD,YAAY,CAACC,EAAE,CAAC;AACpB,CAAC;AAAC"}