HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/buyercall/node_modules/vue-resize/dist/vue-resize.umd.js.map
{"version":3,"file":"vue-resize.umd.js","sources":["../src/utils/compatibility.js","../src/components/ResizeObserver.vue","../src/components/ResizeObserver.vue?vue&type=template&id=b329ee4c&lang.js","../src/index.js"],"sourcesContent":["export function getInternetExplorerVersion () {\n  const ua = window.navigator.userAgent\n\n  const msie = ua.indexOf('MSIE ')\n  if (msie > 0) {\n    // IE 10 or older => return version number\n    return parseInt(ua.substring(msie + 5, ua.indexOf('.', msie)), 10)\n  }\n\n  const trident = ua.indexOf('Trident/')\n  if (trident > 0) {\n    // IE 11 => return version number\n    const rv = ua.indexOf('rv:')\n    return parseInt(ua.substring(rv + 3, ua.indexOf('.', rv)), 10)\n  }\n\n  const edge = ua.indexOf('Edge/')\n  if (edge > 0) {\n    // Edge (IE 12+) => return version number\n    return parseInt(ua.substring(edge + 5, ua.indexOf('.', edge)), 10)\n  }\n\n  // other browser\n  return -1\n}\n","<template>\n  <div\n    class=\"resize-observer\"\n    tabindex=\"-1\"\n  />\n</template>\n\n<script>\nimport { nextTick } from 'vue'\nimport { getInternetExplorerVersion } from '../utils/compatibility'\n\nlet isIE\n\nfunction initCompat () {\n  if (!initCompat.init) {\n    initCompat.init = true\n    isIE = getInternetExplorerVersion() !== -1\n  }\n}\n\nexport default {\n  name: 'ResizeObserver',\n\n  props: {\n    emitOnMount: {\n      type: Boolean,\n      default: false,\n    },\n\n    ignoreWidth: {\n      type: Boolean,\n      default: false,\n    },\n\n    ignoreHeight: {\n      type: Boolean,\n      default: false,\n    },\n  },\n\n  emits: [\n    'notify',\n  ],\n\n  mounted () {\n    initCompat()\n    nextTick(() => {\n      this._w = this.$el.offsetWidth\n      this._h = this.$el.offsetHeight\n      if (this.emitOnMount) {\n        this.emitSize()\n      }\n    })\n    const object = document.createElement('object')\n    this._resizeObject = object\n    object.setAttribute('aria-hidden', 'true')\n    object.setAttribute('tabindex', -1)\n    object.onload = this.addResizeHandlers\n    object.type = 'text/html'\n    if (isIE) {\n      this.$el.appendChild(object)\n    }\n    object.data = 'about:blank'\n    if (!isIE) {\n      this.$el.appendChild(object)\n    }\n  },\n\n  beforeUnmount () {\n    this.removeResizeHandlers()\n  },\n\n  methods: {\n    compareAndNotify () {\n      if ((!this.ignoreWidth && this._w !== this.$el.offsetWidth) || (!this.ignoreHeight && this._h !== this.$el.offsetHeight)) {\n        this._w = this.$el.offsetWidth\n        this._h = this.$el.offsetHeight\n        this.emitSize()\n      }\n    },\n\n    emitSize () {\n      this.$emit('notify', {\n        width: this._w,\n        height: this._h,\n      })\n    },\n\n    addResizeHandlers () {\n      this._resizeObject.contentDocument.defaultView.addEventListener('resize', this.compareAndNotify)\n      this.compareAndNotify()\n    },\n\n    removeResizeHandlers () {\n      if (this._resizeObject && this._resizeObject.onload) {\n        if (!isIE && this._resizeObject.contentDocument) {\n          this._resizeObject.contentDocument.defaultView.removeEventListener('resize', this.compareAndNotify)\n        }\n        this.$el.removeChild(this._resizeObject)\n        this._resizeObject.onload = null\n        this._resizeObject = null\n      }\n    },\n  },\n}\n</script>\n\n<style scoped>\n.resize-observer {\n  position: absolute;\n  top: 0;\n  left: 0;\n  z-index: -1;\n  width: 100%;\n  height: 100%;\n  border: none;\n  background-color: transparent;\n  pointer-events: none;\n  display: block;\n  overflow: hidden;\n  opacity: 0;\n}\n\n.resize-observer:deep(object) {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  height: 100%;\n  width: 100%;\n  overflow: hidden;\n  pointer-events: none;\n  z-index: -1;\n}\n</style>\n","<template>\n  <div\n    class=\"resize-observer\"\n    tabindex=\"-1\"\n  />\n</template>\n\n<script>\nimport { nextTick } from 'vue'\nimport { getInternetExplorerVersion } from '../utils/compatibility'\n\nlet isIE\n\nfunction initCompat () {\n  if (!initCompat.init) {\n    initCompat.init = true\n    isIE = getInternetExplorerVersion() !== -1\n  }\n}\n\nexport default {\n  name: 'ResizeObserver',\n\n  props: {\n    emitOnMount: {\n      type: Boolean,\n      default: false,\n    },\n\n    ignoreWidth: {\n      type: Boolean,\n      default: false,\n    },\n\n    ignoreHeight: {\n      type: Boolean,\n      default: false,\n    },\n  },\n\n  emits: [\n    'notify',\n  ],\n\n  mounted () {\n    initCompat()\n    nextTick(() => {\n      this._w = this.$el.offsetWidth\n      this._h = this.$el.offsetHeight\n      if (this.emitOnMount) {\n        this.emitSize()\n      }\n    })\n    const object = document.createElement('object')\n    this._resizeObject = object\n    object.setAttribute('aria-hidden', 'true')\n    object.setAttribute('tabindex', -1)\n    object.onload = this.addResizeHandlers\n    object.type = 'text/html'\n    if (isIE) {\n      this.$el.appendChild(object)\n    }\n    object.data = 'about:blank'\n    if (!isIE) {\n      this.$el.appendChild(object)\n    }\n  },\n\n  beforeUnmount () {\n    this.removeResizeHandlers()\n  },\n\n  methods: {\n    compareAndNotify () {\n      if ((!this.ignoreWidth && this._w !== this.$el.offsetWidth) || (!this.ignoreHeight && this._h !== this.$el.offsetHeight)) {\n        this._w = this.$el.offsetWidth\n        this._h = this.$el.offsetHeight\n        this.emitSize()\n      }\n    },\n\n    emitSize () {\n      this.$emit('notify', {\n        width: this._w,\n        height: this._h,\n      })\n    },\n\n    addResizeHandlers () {\n      this._resizeObject.contentDocument.defaultView.addEventListener('resize', this.compareAndNotify)\n      this.compareAndNotify()\n    },\n\n    removeResizeHandlers () {\n      if (this._resizeObject && this._resizeObject.onload) {\n        if (!isIE && this._resizeObject.contentDocument) {\n          this._resizeObject.contentDocument.defaultView.removeEventListener('resize', this.compareAndNotify)\n        }\n        this.$el.removeChild(this._resizeObject)\n        this._resizeObject.onload = null\n        this._resizeObject = null\n      }\n    },\n  },\n}\n</script>\n\n<style scoped>\n.resize-observer {\n  position: absolute;\n  top: 0;\n  left: 0;\n  z-index: -1;\n  width: 100%;\n  height: 100%;\n  border: none;\n  background-color: transparent;\n  pointer-events: none;\n  display: block;\n  overflow: hidden;\n  opacity: 0;\n}\n\n.resize-observer:deep(object) {\n  display: block;\n  position: absolute;\n  top: 0;\n  left: 0;\n  height: 100%;\n  width: 100%;\n  overflow: hidden;\n  pointer-events: none;\n  z-index: -1;\n}\n</style>\n","import ResizeObserver from './components/ResizeObserver.vue'\n\n// Install the components\nexport function install (app) {\n  // eslint-disable-next-line vue/component-definition-name-casing\n  app.component('resize-observer', ResizeObserver)\n  app.component('ResizeObserver', ResizeObserver)\n}\n\nexport {\n  ResizeObserver,\n}\n\n// Plugin\nconst plugin = {\n  // eslint-disable-next-line no-undef\n  version: VERSION,\n  install,\n}\n\nexport default plugin\n"],"names":["getInternetExplorerVersion","ua","window","navigator","userAgent","msie","indexOf","parseInt","substring","trident","rv","edge","nextTick","_createBlock","install","app","component","ResizeObserver","plugin","version","VERSION"],"mappings":";;;;;;EAAO,SAASA,0BAAT,GAAuC;EAC5C,MAAMC,EAAE,GAAGC,MAAM,CAACC,SAAP,CAAiBC,SAA5B;EAEA,MAAMC,IAAI,GAAGJ,EAAE,CAACK,OAAH,CAAW,OAAX,CAAb;;EACA,MAAID,IAAI,GAAG,CAAX,EAAc;EACZ;EACA,WAAOE,QAAQ,CAACN,EAAE,CAACO,SAAH,CAAaH,IAAI,GAAG,CAApB,EAAuBJ,EAAE,CAACK,OAAH,CAAW,GAAX,EAAgBD,IAAhB,CAAvB,CAAD,EAAgD,EAAhD,CAAf;EACD;;EAED,MAAMI,OAAO,GAAGR,EAAE,CAACK,OAAH,CAAW,UAAX,CAAhB;;EACA,MAAIG,OAAO,GAAG,CAAd,EAAiB;EACf;EACA,QAAMC,EAAE,GAAGT,EAAE,CAACK,OAAH,CAAW,KAAX,CAAX;EACA,WAAOC,QAAQ,CAACN,EAAE,CAACO,SAAH,CAAaE,EAAE,GAAG,CAAlB,EAAqBT,EAAE,CAACK,OA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