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/v-clipboard/dist/index.min.js.map
{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///index.min.js","webpack:///webpack/bootstrap 968e9ffa9d915fa428f4","webpack:///./src/index.js"],"names":["root","factory","exports","module","define","amd","this","modules","__webpack_require__","moduleId","installedModules","i","l","call","m","c","value","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","$clipboard","input","JSON","stringify","e","textarea","document","createElement","setAttribute","style","cssText","body","appendChild","navigator","userAgent","match","contentEditable","readOnly","range","createRange","selectNodeContents","selection","window","getSelection","removeAllRanges","addRange","setSelectionRange","select","success","execCommand","err","console","warn","removeChild","default","install","Vue","generateId","id","handlers","removeHandler","addHandler","func","directive","bind","el","binding","arg","errorHandlerId","dataset","clipboardErrorHandler","successHandlerId","clipboardSuccessHandler","clickEventHandler","event","payload","handlerId","handler","clickEventHandlerId","clipboardClickHandler","addEventListener","unbind","_el$dataset","removeEventListener"],"mappings":"CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,IACA,kBAAAG,gBAAAC,IACAD,UAAAH,GACA,gBAAAC,SACAA,QAAA,eAAAD,IAEAD,EAAA,eAAAC,KACCK,KAAA,WACD,MCAgB,UAAUC,GCN1B,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAP,OAGA,IAAAC,GAAAO,EAAAD,IACAE,EAAAF,EACAG,GAAA,EACAV,WAUA,OANAK,GAAAE,GAAAI,KAAAV,EAAAD,QAAAC,IAAAD,QAAAM,GAGAL,EAAAS,GAAA,EAGAT,EAAAD,QAvBA,GAAAQ,KA+DA,OAn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K,KAAKsB,YAAY5B,GAEnBuB,EF2FT5D,GAAQkE,SEvFNC,QADa,SACLC,GACNA,EAAIxC,UAAUI,WAAaA,CAE3B,IAAMqC,GAAc,SAACC,GAAD,MAAQ,kBAAM,IAAMA,MAAM,GACxCC,KAEAC,EAAgB,SAACF,GACjBA,IACFC,EAASD,GAAM,WACRC,GAASD,KAIdG,EAAa,SAACC,GAClB,GAAMJ,GAAKD,GAGX,OAFAE,GAASD,GAAMI,EAERJ,EAGTF,GAAIO,UAAU,aACZC,KADyB,SACpBC,EAAIC,GAAS,GACRC,GAAeD,EAAfC,IAAKjE,EAAUgE,EAAVhE,KAEb,QAAQiE,GACN,IAAK,QACH,GAAMC,GAAiBP,EAAW3D,EAElC,aADA+D,EAAGI,QAAQC,sBAAwBF,EAGrC,KAAK,UACH,GAAMG,GAAmBV,EAAW3D,EAEpC,aADA+D,EAAGI,QAAQG,wBAA0BD,EAGvC,SACE,GAAME,GAAoB,SAACC,GACzB,GAAIR,EAAQjD,eAAe,SAAU,CACnC,GAAM0D,IACJzE,MAAwB,kBAAVA,GAAuBA,IAAUA,EAC/CwE,SAGIE,EAAYxD,EAAWuD,EAAQzE,OACjC+D,EAAGI,QAAQG,wBACXP,EAAGI,QAAQC,sBAETO,EAAUlB,EAASiB,EAErBC,IACFA,EAAQF,KAKRG,EAAsBjB,EAAWY,EAKvC,OAHAR,GAAGI,QAAQU,sBAAwBD,MACnCb,GAAGe,iBAAiB,QAASrB,EAASmB,MAM5CG,OA5CyB,SA4ClBhB,GAAI,GAAAiB,GAKLjB,EAAGI,QAHLG,EAFOU,EAEPV,wBACAF,EAHOY,EAGPZ,sBACAS,EAJOG,EAIPH,qBAGFnB,GAAcY,GACdZ,EAAcU,GAEVS,IACFd,EAAGkB,oBAAoB,QAASxB,EAASoB,IACzCnB,EAAcmB","file":"index.min.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[\"v-clipboard\"] = factory();\n\telse\n\t\troot[\"v-clipboard\"] = factory();\n})(this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition","(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[\"v-clipboard\"] = factory();\n\telse\n\t\troot[\"v-clipboard\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \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// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\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, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\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 = \"/dist/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n/**\n * Copyright (c) 2017 - 2018 - Yev Vlasenko\n */\nvar cssText = 'position:fixed;pointer-events:none;z-index:-9999;opacity:0;';\nvar copyErrorMessage = 'Failed to copy value to clipboard. Unknown type.';\n\nvar $clipboard = function $clipboard(input) {\n  var value = void 0;\n\n  if (typeof input !== 'string') {\n    try {\n      value = JSON.stringify(input);\n    } catch (e) {\n      throw copyErrorMessage;\n    }\n  } else {\n    value = input;\n  }\n\n  var textarea = document.createElement('textarea');\n\n  textarea.value = value;\n  textarea.setAttribute('readonly', '');\n  textarea.style.cssText = cssText;\n\n  document.body.appendChild(textarea);\n\n  if (navigator.userAgent.match(/ipad|ipod|iphone/i)) {\n    textarea.contentEditable = true;\n    textarea.readOnly = true;\n\n    var range = document.createRange();\n\n    range.selectNodeContents(textarea);\n\n    var selection = window.getSelection();\n\n    selection.removeAllRanges();\n    selection.addRange(range);\n    textarea.setSelectionRange(0, 999999);\n  } else {\n    textarea.select();\n  }\n\n  var success = false;\n\n  try {\n    success = document.execCommand('copy');\n  } catch (err) {\n    console.warn(err);\n  }\n\n  document.body.removeChild(textarea);\n\n  return success;\n};\n\nexports.default = {\n  install: function install(Vue) {\n    Vue.prototype.$clipboard = $clipboard;\n\n    var generateId = function (id) {\n      return function () {\n        return '$' + id++;\n      };\n    }(1);\n    var handlers = {};\n\n    var removeHandler = function removeHandler(id) {\n      if (id) {\n        handlers[id] = null;\n        delete handlers[id];\n      }\n    };\n\n    var addHandler = function addHandler(func) {\n      var id = generateId();\n      handlers[id] = func;\n\n      return id;\n    };\n\n    Vue.directive('clipboard', {\n      bind: function bind(el, binding) {\n        var arg = binding.arg,\n            value = binding.value;\n\n\n        switch (arg) {\n          case 'error':\n            var errorHandlerId = addHandler(value);\n            el.dataset.clipboardErrorHandler = errorHandlerId;\n            return;\n\n          case 'success':\n            var successHandlerId = addHandler(value);\n            el.dataset.clipboardSuccessHandler = successHandlerId;\n            return;\n\n          default:\n            var clickEventHandler = function clickEventHandler(event) {\n              if (binding.hasOwnProperty('value')) {\n                var payload = {\n                  value: typeof value === 'function' ? value() : value,\n                  event: event\n                };\n\n                var handlerId = $clipboard(payload.value) ? el.dataset.clipboardSuccessHandler : el.dataset.clipboardErrorHandler;\n\n                var handler = handlers[handlerId];\n\n                if (handler) {\n                  handler(payload);\n                }\n              }\n            };\n\n            var clickEventHandlerId = addHandler(clickEventHandler);\n\n            el.dataset.clipboardClickHandler = clickEventHandlerId;\n            el.addEventListener('click', handlers[clickEventHandlerId]);\n\n            return;\n        }\n      },\n      unbind: function unbind(el) {\n        var _el$dataset = el.dataset,\n            clipboardSuccessHandler = _el$dataset.clipboardSuccessHandler,\n            clipboardErrorHandler = _el$dataset.clipboardErrorHandler,\n            clipboardClickHandler = _el$dataset.clipboardClickHandler;\n\n\n        removeHandler(clipboardSuccessHandler);\n        removeHandler(clipboardErrorHandler);\n\n        if (clipboardClickHandler) {\n          el.removeEventListener('click', handlers[clipboardClickHandler]);\n          removeHandler(clipboardClickHandler);\n        }\n      }\n    });\n  }\n};\n\n/***/ })\n/******/ ]);\n});\n\n\n// WEBPACK FOOTER //\n// index.min.js"," \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// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\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, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\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 = \"/dist/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 968e9ffa9d915fa428f4","/**\n * Copyright (c) 2017 - 2018 - Yev Vlasenko\n */\nconst cssText = 'position:fixed;pointer-events:none;z-index:-9999;opacity:0;'\nconst copyErrorMessage = 'Failed to copy value to clipboard. Unknown type.'\n\nconst $clipboard = (input) => {\n  let value\n\n  if (typeof input !== 'string') {\n    try {\n      value = JSON.stringify(input)\n    } catch (e) {\n      throw copyErrorMessage\n    }\n  } else {\n    value = input\n  }\n\n  const textarea = document.createElement('textarea')\n\n  textarea.value = value\n  textarea.setAttribute('readonly', '')\n  textarea.style.cssText = cssText\n\n  document.body.appendChild(textarea)\n\n  if (navigator.userAgent.match(/ipad|ipod|iphone/i)) {\n    textarea.contentEditable = true\n    textarea.readOnly = true\n\n    const range = document.createRange()\n\n    range.selectNodeContents(textarea)\n\n    const selection = window.getSelection()\n\n    selection.removeAllRanges()\n    selection.addRange(range)\n    textarea.setSelectionRange(0, 999999)\n  } else {\n    textarea.select()\n  }\n\n  let success = false\n\n  try {\n    success = document.execCommand('copy')\n  } catch (err) {\n    console.warn(err)\n  }\n\n  document.body.removeChild(textarea)\n\n  return success\n}\n\nexport default {\n  install(Vue) {\n    Vue.prototype.$clipboard = $clipboard\n\n    const generateId = ((id) => () => '$' + id++)(1)\n    const handlers = {}\n\n    const removeHandler = (id) => {\n      if (id) {\n        handlers[id] = null\n        delete handlers[id]\n      }\n    }\n\n    const addHandler = (func) => {\n      const id = generateId()\n      handlers[id] = func\n\n      return id\n    }\n\n    Vue.directive('clipboard', {\n      bind(el, binding) {\n        const { arg, value } = binding\n\n        switch (arg) {\n          case 'error':\n            const errorHandlerId = addHandler(value)\n            el.dataset.clipboardErrorHandler = errorHandlerId\n            return\n\n          case 'success':\n            const successHandlerId = addHandler(value)\n            el.dataset.clipboardSuccessHandler = successHandlerId\n            return\n\n          default:\n            const clickEventHandler = (event) => {\n              if (binding.hasOwnProperty('value')) {\n                const payload = {\n                  value: typeof value === 'function' ? value() : value,\n                  event\n                }\n\n                const handlerId = $clipboard(payload.value)\n                  ? el.dataset.clipboardSuccessHandler\n                  : el.dataset.clipboardErrorHandler\n\n                const handler = handlers[handlerId]\n\n                if (handler) {\n                  handler(payload)\n                }\n              }\n            }\n\n            const clickEventHandlerId = addHandler(clickEventHandler)\n\n            el.dataset.clipboardClickHandler = clickEventHandlerId\n            el.addEventListener('click', handlers[clickEventHandlerId])\n\n            return\n        }\n      },\n\n      unbind(el) {\n        const {\n          clipboardSuccessHandler,\n          clipboardErrorHandler,\n          clipboardClickHandler\n        } = el.dataset\n\n        removeHandler(clipboardSuccessHandler)\n        removeHandler(clipboardErrorHandler)\n\n        if (clipboardClickHandler) {\n          el.removeEventListener('click', handlers[clipboardClickHandler])\n          removeHandler(clipboardClickHandler)\n        }\n      }\n    })\n  }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/index.js"],"sourceRoot":""}