{"version":3,"sources":["webpack:///node_modules/vue-resize-sensor/src/node_modules/vue-resize-sensor/src/resize-sensor.vue","webpack:///node_modules/vue-pdf/src/annotationLayer.css"],"names":[],"mappings":"AACA,kCACA,GAAA,KAAA,CACA,CCDA,iBAEC,MAAO,CACP,KAAM,CACN,OAAQ,CACR,QACD,CAEA,0CAPC,iBASD,CAEA,mCACC,iBAAkB,CAClB,aAAc,CACd,KAAM,CACN,MAAO,CACP,UAAW,CACX,WAAY,CAIZ,2GAHD,CAMA,yCACC,UAAY,CACZ,eAAgB,CAChB,0BACD,CAEA,qCACC,iBAAkB,CAClB,cACD,CAEA,gQAKC,mCAAwC,CACxC,4BAA6B,CAC7B,qBAAsB,CACtB,aAAc,CACd,WAAY,CACZ,aAAc,CACd,kBAAmB,CACnB,UACD,CAEA,gDACC,gBAAiB,CACjB,aAAc,CACd,WACD,CAEA,kTAKC,eAAgB,CAChB,4BAA6B,CAC7B,kBACD,CAEA,8RAKC,qBACD,CAEA,+JAGC,eAAgB,CAChB,4BACD,CAEA,kDACC,qBAAsB,CACtB,gBAAiB,CACjB,eACD,CAEA,wDAOC,UACD,CAEA,mHAEC,uBAAwB,CAGxB,eACD,CAEA,+BACC,iBAAkB,CAClB,UACD,CAEA,wBACC,iBAAkB,CAClB,WAAY,CACZ,cAAe,CACf,qBAAyB,CACzB,yBAA4B,CAC5B,iBAAkB,CAClB,YAAc,CACd,eAAgB,CAChB,cAAe,CACf,oBACD,CAEA,2BACC,aAAc,CACd,4BAAgC,CAChC,mBACD,CAEA,0BACC,gBACD,CAEA,4OAMC,cACD","file":"b623124e0104574b.css","sourcesContent":["<style>\r\n@keyframes resizeSensorVisibility {\r\n\tfrom { top: 0; }\r\n}\r\n</style>\r\n\r\n<script>\r\n\"use strict\";\r\n\r\nexport default {\r\n\r\n\t// thanks to https://github.com/marcj/css-element-queries\r\n\tprops: {\r\n\t\tinitial: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false,\r\n\t\t}\r\n\t},\r\n\tdata: function() {\r\n\t\treturn {\r\n\t\t\tsize: {\r\n\t\t\t\twidth: -1,\r\n\t\t\t\theight: -1\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\tmethods: {\r\n\t\treset: function() {\r\n\r\n\t\t\tvar expand = this.$el.firstChild;\r\n\t\t\tvar shrink = this.$el.lastChild;\r\n\t\t\texpand.scrollLeft = 100000;\r\n\t\t\texpand.scrollTop = 100000;\r\n\t\t\tshrink.scrollLeft = 100000;\r\n\t\t\tshrink.scrollTop = 100000;\r\n\t\t},\r\n\t\tupdate: function() {\r\n\t\t\t\r\n\t\t\tthis.size.width = this.$el.offsetWidth;\r\n\t\t\tthis.size.height = this.$el.offsetHeight;\r\n\t\t}\r\n\t},\r\n\twatch: {\r\n\t\tsize: {\r\n\t\t\tdeep: true,\r\n\t\t\thandler: function(size) {\r\n\t\t\t\t\r\n\t\t\t\tthis.reset();\r\n\t\t\t\tthis.$emit('resize', { width: this.size.width, height: this.size.height });\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\trender: function(create) {\r\n\t\t\r\n\t\tvar style = 'position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;';\r\n\t\tvar styleChild = 'position: absolute; left: 0; top: 0;';\r\n\r\n\t\treturn create('div', {\r\n\t\t\tstyle: style + 'animation-name: resizeSensorVisibility;',\r\n\t\t\ton: {\r\n\t\t\t\t'~animationstart': this.update\r\n\t\t\t}\r\n\t\t},[\r\n\t\t\tcreate('div', {\r\n\t\t\t\tstyle: style,\r\n\t\t\t\ton: {\r\n\t\t\t\t\tscroll: this.update\r\n\t\t\t\t}\r\n\t\t\t}, [\r\n\t\t\t\tcreate('div', {\r\n\t\t\t\t\tstyle: styleChild + 'width: 100000px; height: 100000px;'\r\n\t\t\t\t})\r\n\t\t\t]),\r\n\t\t\tcreate('div', {\r\n\t\t\t\tstyle: style,\r\n\t\t\t\ton: {\r\n\t\t\t\t\tscroll: this.update\r\n\t\t\t\t}\r\n\t\t\t}, [\r\n\t\t\t\tcreate('div', {\r\n\t\t\t\t\tstyle: styleChild + 'width: 200%; height: 200%;'\r\n\t\t\t\t})\r\n\t\t\t]),\r\n\t\t]);\r\n\t},\r\n\tbeforeDestroy: function() {\r\n\t\t\r\n\t\tthis.$emit('resize', { width: 0, height: 0 });\r\n\t\tthis.$emit('resizeSensorBeforeDestroy');\r\n\t},\r\n\tmounted: function() {\r\n\r\n\t\tif ( this.initial === true )\r\n\t\t\tthis.$nextTick(this.update);\r\n\t\t\r\n\t\tif ( this.$el.offsetParent !== this.$el.parentNode )\r\n\t\t\tthis.$el.parentNode.style.position = 'relative';\r\n\r\n\t\tif ( 'attachEvent' in this.$el && !('AnimationEvent' in window) ) {\r\n\r\n\t\t\tvar onresizeHandler = function() {\r\n\r\n\t\t\t\tthis.update();\r\n\t\t\t\tremoveOnresizeEvent();\r\n\t\t\t}.bind(this);\r\n\t\t\r\n\t\t\tvar removeOnresizeEvent = function() {\r\n\t\t\t\t\r\n\t\t\t\tthis.$el.detachEvent('onresize', onresizeHandler);\r\n\t\t\t\tthis.$off('resizeSensorBeforeDestroy', removeOnresizeEvent);\r\n\t\t\t}.bind(this);\r\n\t\t\t\r\n\t\t\tthis.$el.attachEvent('onresize', onresizeHandler);\r\n\t\t\tthis.$on('resizeSensorBeforeDestroy', removeOnresizeEvent);\r\n\t\t\tthis.reset();\r\n\t\t}\r\n\t}\r\n}\r\n\r\n</script>\r\n","/* see https://github.com/mozilla/pdf.js/blob/55a853b6678cf3d05681ffbb521e5228e607b5d2/test/annotation_layer_test.css */\r\n\r\n.annotationLayer {\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n}\r\n\r\n.annotationLayer section {\r\n\tposition: absolute;\r\n}\r\n\r\n.annotationLayer .linkAnnotation > a {\r\n\tposition: absolute;\r\n\tfont-size: 1em;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\r\n\r\n.annotationLayer .linkAnnotation > a /* -ms-a */  {\r\n\tbackground: url(\"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\") 0 0 repeat;\r\n}\r\n\r\n.annotationLayer .linkAnnotation > a:hover {\r\n\topacity: 0.2;\r\n\tbackground: #ff0;\r\n\tbox-shadow: 0px 2px 10px #ff0;\r\n}\r\n\r\n.annotationLayer .textAnnotation img {\r\n\tposition: absolute;\r\n\tcursor: pointer;\r\n}\r\n\r\n.annotationLayer .textWidgetAnnotation input,\r\n.annotationLayer .textWidgetAnnotation textarea,\r\n.annotationLayer .choiceWidgetAnnotation select,\r\n.annotationLayer .buttonWidgetAnnotation.checkBox input,\r\n.annotationLayer .buttonWidgetAnnotation.radioButton input {\r\n\tbackground-color: rgba(0, 54, 255, 0.13);\r\n\tborder: 1px solid transparent;\r\n\tbox-sizing: border-box;\r\n\tfont-size: 9px;\r\n\theight: 100%;\r\n\tpadding: 0 3px;\r\n\tvertical-align: top;\r\n\twidth: 100%;\r\n}\r\n\r\n.annotationLayer .textWidgetAnnotation textarea {\r\n\tfont: message-box;\r\n\tfont-size: 9px;\r\n\tresize: none;\r\n}\r\n\r\n.annotationLayer .textWidgetAnnotation input[disabled],\r\n.annotationLayer .textWidgetAnnotation textarea[disabled],\r\n.annotationLayer .choiceWidgetAnnotation select[disabled],\r\n.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],\r\n.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] {\r\n\tbackground: none;\r\n\tborder: 1px solid transparent;\r\n\tcursor: not-allowed;\r\n}\r\n\r\n.annotationLayer .textWidgetAnnotation input:hover,\r\n.annotationLayer .textWidgetAnnotation textarea:hover,\r\n.annotationLayer .choiceWidgetAnnotation select:hover,\r\n.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,\r\n.annotationLayer .buttonWidgetAnnotation.radioButton input:hover {\r\n\tborder: 1px solid #000;\r\n}\r\n\r\n.annotationLayer .textWidgetAnnotation input:focus,\r\n.annotationLayer .textWidgetAnnotation textarea:focus,\r\n.annotationLayer .choiceWidgetAnnotation select:focus {\r\n\tbackground: none;\r\n\tborder: 1px solid transparent;\r\n}\r\n\r\n.annotationLayer .textWidgetAnnotation input.comb {\r\n\tfont-family: monospace;\r\n\tpadding-left: 2px;\r\n\tpadding-right: 0;\r\n}\r\n\r\n.annotationLayer .textWidgetAnnotation input.comb:focus {\r\n\t/*\r\n\t * Letter spacing is placed on the right side of each character. Hence, the\r\n\t * letter spacing of the last character may be placed outside the visible\r\n\t * area, causing horizontal scrolling. We avoid this by extending the width\r\n\t * when the element has focus and revert this when it loses focus.\r\n\t */\r\n\twidth: 115%;\r\n}\r\n\r\n.annotationLayer .buttonWidgetAnnotation.checkBox input,\r\n.annotationLayer .buttonWidgetAnnotation.radioButton input {\r\n\t-webkit-appearance: none;\r\n\t-moz-appearance: none;\r\n\t-ms-appearance: none;\r\n\tappearance: none;\r\n}\r\n\r\n.annotationLayer .popupWrapper {\r\n\tposition: absolute;\r\n\twidth: 20em;\r\n}\r\n\r\n.annotationLayer .popup {\r\n\tposition: absolute;\r\n\tz-index: 200;\r\n\tmax-width: 20em;\r\n\tbackground-color: #FFFF99;\r\n\tbox-shadow: 0px 2px 5px #333;\r\n\tborder-radius: 2px;\r\n\tpadding: 0.6em;\r\n\tmargin-left: 5px;\r\n\tcursor: pointer;\r\n\tword-wrap: break-word;\r\n}\r\n\r\n.annotationLayer .popup h1 {\r\n\tfont-size: 1em;\r\n\tborder-bottom: 1px solid #000000;\r\n\tpadding-bottom: 0.2em;\r\n}\r\n\r\n.annotationLayer .popup p {\r\n\tpadding-top: 0.2em;\r\n}\r\n\r\n.annotationLayer .highlightAnnotation,\r\n.annotationLayer .underlineAnnotation,\r\n.annotationLayer .squigglyAnnotation,\r\n.annotationLayer .strikeoutAnnotation,\r\n.annotationLayer .lineAnnotation svg line,\r\n.annotationLayer .fileAttachmentAnnotation {\r\n\tcursor: pointer;\r\n}\r\n"]}