{"version":3,"sources":["webpack://printJS/webpack/universalModuleDefinition","webpack://printJS/webpack/bootstrap","webpack://printJS/./src/index.js","webpack://printJS/./src/js/browser.js","webpack://printJS/./src/js/functions.js","webpack://printJS/./src/js/html.js","webpack://printJS/./src/js/image.js","webpack://printJS/./src/js/init.js","webpack://printJS/./src/js/json.js","webpack://printJS/./src/js/modal.js","webpack://printJS/./src/js/pdf.js","webpack://printJS/./src/js/print.js","webpack://printJS/./src/js/raw-html.js","webpack://printJS/./src/sass/index.scss"],"names":["printJS","print","init","window","Browser","isFirefox","InstallTrigger","isIE","navigator","userAgent","indexOf","document","documentMode","isEdge","StyleMedia","isChrome","context","chrome","isSafari","Object","prototype","toString","call","HTMLElement","toLowerCase","isIOSChrome","addWrapper","htmlData","params","bodyStyle","font","font_size","capitalizePrint","obj","charAt","toUpperCase","slice","collectStyles","element","win","defaultView","elementStyle","styles","getComputedStyle","key","length","targetStyles","targetStyle","targetStylesMatch","getPropertyValue","maxWidth","value","i","addHeader","printElement","headerContainer","createElement","isRawHTML","header","innerHTML","headerElement","headerNode","createTextNode","appendChild","setAttribute","headerStyle","insertBefore","childNodes","cleanUp","showModal","Modal","close","onLoadingEnd","onLoadingStart","URL","revokeObjectURL","printable","event","handler","removeEventListener","onPrintDialogClose","iframe","getElementById","frameId","remove","addEventListener","raw","regexHtml","RegExp","test","printFrame","isHtmlElement","console","error","printableElement","cloneElement","Print","send","clone","cloneNode","childNodesArray","Array","ignoreElements","id","clonedChild","scanStyles","nodeType","tagName","getContext","drawImage","constructor","forEach","src","img","imageStyle","fullyQualifiedSrc","imageWrapper","printTypes","fallbackPrintable","type","properties","gridHeaderStyle","gridStyle","onError","onIncompatibleBrowser","modalMessage","documentTitle","repeatTableHeader","css","style","base64","onPdfOpen","honorMarginPadding","honorColor","args","arguments","undefined","Error","encodeURI","k","show","usedFrame","parentNode","removeChild","srcdoc","isArray","file","info","open","focus","Pdf","Image","Html","RawHtml","Json","map","property","field","displayName","columnSize","jsonToHTML","data","a","n","stringData","split","p","modalStyle","printModal","contentDiv","closeButton","spinner","messageNode","getElementsByTagName","bytesArray","Uint8Array","from","atob","c","charCodeAt","createBlobAndPrint","location","origin","req","XMLHttpRequest","responseType","statusText","status","response","localPdf","Blob","createObjectURL","iframeElement","onload","setTimeout","performPrint","printDocument","contentWindow","contentDocument","body","head","images","loadIframeImages","then","execCommand","e","visibility","left","promises","image","href","loadIframeImage","Promise","all","resolve","pollImage","naturalWidth","complete"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;QCVA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;AClFA;AAAA;AAAA;AAAA;AAAA;AACA;AAEA,IAAMA,OAAO,GAAGC,gDAAK,CAACC,IAAtB;;AAEA,IAAI,OAAOC,MAAP,KAAkB,WAAtB,EAAmC;AACjCA,QAAM,CAACH,OAAP,GAAiBA,OAAjB;AACD;;AAEcA,sEAAf,E;;;;;;;;;;;;ACTA;AAAA,IAAMI,OAAO,GAAG;AACd;AACAC,WAAS,EAAE,qBAAM;AACf,WAAO,OAAOC,cAAP,KAA0B,WAAjC;AACD,GAJa;AAKd;AACAC,MAAI,EAAE,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AM,CAACkE,gBAAP,GAA0BnF,QAAQ,CAAC6C,aAAT,CAAuB,KAAvB,CAA1B;AACA5B,UAAM,CAACkE,gBAAP,CAAwB9B,YAAxB,CAAqC,OAArC,EAA8C,YAA9C,EAH6B,CAK7B;;AACApC,UAAM,CAACkE,gBAAP,CAAwBnC,SAAxB,GAAoC/B,MAAM,CAACgD,SAA3C,CAN6B,CAQ7B;;AACAoB,kDAAK,CAACC,IAAN,CAAWrE,MAAX,EAAmB8D,UAAnB;AACD;AAXY,CAAf,E;;;;;;;;;;;ACFA,uC","file":"print.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"printJS\"] = factory();\n\telse\n\t\troot[\"printJS\"] = factory();\n})(window, function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n","import './sass/index.scss'\nimport print from './js/init'\n\nconst printJS = print.init\n\nif (typeof window !== 'undefined') {\n window.printJS = printJS\n}\n\nexport default printJS\n","const Browser = {\n // Firefox 1.0+\n isFirefox: () => {\n return typeof InstallTrigger !== 'undefined'\n },\n // Internet Explorer 6-11\n isIE: () => {\n return navigator.userAgent.indexOf('MSIE') !== -1 || !!document.documentMode\n },\n // Edge 20+\n isEdge: () => {\n return !Browser.isIE() && !!window.StyleMedia\n },\n // Chrome 1+\n isChrome: (context = window) => {\n return !!context.chrome\n },\n // At least Safari 3+: \"[object HTMLElementConstructor]\"\n isSafari: () => {\n return Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0 ||\n navigator.userAgent.toLowerCase().indexOf('safari') !== -1\n },\n // IOS Chrome\n isIOSChrome: () => {\n return navigator.userAgent.toLowerCase().indexOf('crios') !== -1\n }\n}\n\nexport default Browser\n","import Modal from './modal'\nimport Browser from './browser'\n\nexport function addWrapper (htmlData, params) {\n const bodyStyle = 'font-family:' + params.font + ' !important; font-size: ' + params.font_size + ' !important; width:100%;'\n return '
' + capitalizePrint(properties[a].displayName) + ' | '\n }\n\n // Add the closing tag for the table header row\n htmlData += '
---|
' + stringData + ' | '\n }\n\n // Add the row closing tag\n htmlData += '