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ACRnI,aAASmI,G,mCC9GX,IACInK,EADW,EAAQ,KACQA,gBAE/BA,EAAgBA,gBAAkBA,EAClC8B,EAAOC,QAAU/B,C,kBCLjB8B,EAAOC,QAAU,WACf,IAAIM,EAAYzJ,SAAS6J,eACzB,IAAKJ,EAAU+H,WACb,OAAO,WAAa,EAKtB,IAHA,IAAIC,EAASzR,SAAS0R,cAElBC,EAAS,GACJlW,EAAI,EAAGA,EAAIgO,EAAU+H,WAAY/V,IACxCkW,EAAOzM,KAAKuE,EAAUmI,WAAWnW,IAGnC,OAAQgW,EAAOI,QAAQpQ,eACrB,IAAK,QACL,IAAK,WACHgQ,EAAOK,OACP,MAEF,QACEL,EAAS,KAKb,OADAhI,EAAUqC,kBACH,WACc,UAAnBrC,EAAU3P,MACV2P,EAAUqC,kBAELrC,EAAU+H,YACbG,EAAOnE,SAAQ,SAAShE,GACtBC,EAAU4B,SAAS7B,EACrB,IAGFiI,GACAA,EAAOM,OACT,CACF,C","sources":["webpack://app/./app/javascript/bundles/layout/NavBar.tsx","webpack://app/./node_modules/local-time/app/assets/javascripts/local-time.es2017-esm.js","webpack://app/./app/javascript/packs/application.js","webpack://app/./app/javascript/bundles/widgets/CopyWidget.tsx","webpack://app/./app/javascript/bundles/widgets/PasteWidget.tsx","webpack://app/./node_modules/copy-to-clipboard/index.js","webpack://app/./node_modules/react-copy-to-clipboard/lib/Component.js","webpack://app/./node_modules/react-copy-to-clipboard/lib/index.js","webpack://app/./node_modules/toggle-selection/index.js"],"sourcesContent":["import React, { useState } from 'react'\nimport { Dialog, DialogPanel } from '@headlessui/react'\nimport { Bars3Icon, XMarkIcon } from '@heroicons/react/24/outline'\nimport mixpanel from \"mixpanel-browser\";\n\ntype Link = {\n text: string;\n href: string;\n}\ninterface NavBarProps {\n links: Link[]\n loginLogoutLink: Link\n}\n\nexport default function NavBar({ links, loginLogoutLink }) {\n const [mobileMenuOpen, setMobileMenuOpen] = useState(false)\n\n function onLinkClick(event) {\n const text = event.target.innerText;\n mixpanel.track(`Click link NavBar \"${text}\"`);\n }\n\n return (\n
\n \n \n
\n \n
\n \n HeadacheDoc\n \n \n setMobileMenuOpen(false)}\n className=\"-m-2.5 rounded-md p-2.5 text-gray-700\"\n >\n Close menu\n \n \n
\n
\n
\n
\n {links.map((item) => (\n \n {item.text}\n \n ))}\n
\n
\n \n {loginLogoutLink.text}\n \n
\n
\n
\n
\n
\n
\n )\n}","var t;t={config:{},run:function(){return this.getController().processElements()},process:function(...t){var e,r,a;for(r=0,a=t.length;r11?\"pm\":\"am\")).toUpperCase();case\"P\":return M(\"time.\"+(n>11?\"pm\":\"am\"));case\"S\":return p(o,l);case\"w\":return a;case\"y\":return p(u%100,l);case\"Y\":return u;case\"Z\":return S(t)}}))},p=function(t,e){return\"-\"===e?t:`0${t}`.slice(-2)},S=function(t){var e,r,a;return(r=h(t))?g[r]:(a=y(t,{allowGMT:!1}))||(a=v(t))?a:(e=y(t,{allowGMT:!0}))?e:\"\"},h=function(t){return Object.keys(g).find((function(e){return b?new Date(t).toLocaleString(\"en-US\",{timeZoneName:\"long\"}).includes(e):t.toString().includes(e)}))},y=function(t,{allowGMT:e}){var r;if(b&&(r=new Date(t).toLocaleString(\"en-US\",{timeZoneName:\"short\"}).split(\" \").pop(),e||!r.includes(\"GMT\")))return r},v=function(t){var e,r,a,n,s;return(e=null!=(r=(s=t.toString()).match(/\\(([\\w\\s]+)\\)$/))?r[1]:void 0)?/\\s/.test(e)?e.match(/\\b(\\w)/g).join(\"\"):e:(e=null!=(a=s.match(/(\\w{3,4})\\s\\d{4}$/))?a[1]:void 0)||(e=null!=(n=s.match(/(UTC[\\+\\-]\\d+)/))?n[1]:void 0)?e:void 0},L.CalendarDate=class{static fromDate(t){return new this(t.getFullYear(),t.getMonth()+1,t.getDate())}static today(){return this.fromDate(new Date)}constructor(t,e,r){this.date=new Date(Date.UTC(t,e-1)),this.date.setUTCDate(r),this.year=this.date.getUTCFullYear(),this.month=this.date.getUTCMonth()+1,this.day=this.date.getUTCDate(),this.value=this.date.getTime()}equals(t){return(null!=t?t.value:void 0)===this.value}is(t){return this.equals(t)}isToday(){return this.is(this.constructor.today())}occursOnSameYearAs(t){return this.year===(null!=t?t.year:void 0)}occursThisYear(){return this.occursOnSameYearAs(this.constructor.today())}daysSince(t){if(t)return(this.date-t.date)/864e5}daysPassed(){return this.constructor.today().daysSince(this)}},({strftime:E,translate:I,getI18nValue:w,config:D}=L),L.RelativeTime=class{constructor(t){this.date=t,this.calendarDate=L.CalendarDate.fromDate(this.date)}toString(){var t,e;return(e=this.toTimeElapsedString())?I(\"time.elapsed\",{time:e}):(t=this.toWeekdayString())?(e=this.toTimeString(),I(\"datetime.at\",{date:t,time:e})):I(\"date.on\",{date:this.toDateString()})}toTimeOrDateString(){return this.calendarDate.isToday()?this.toTimeString():this.toDateString()}toTimeElapsedString(){var t,e,r,a,n;return r=(new Date).getTime()-this.date.getTime(),a=Math.round(r/1e3),e=Math.round(a/60),t=Math.round(e/60),r<0?null:a<10?(n=I(\"time.second\"),I(\"time.singular\",{time:n})):a<45?`${a} ${I(\"time.seconds\")}`:a<90?(n=I(\"time.minute\"),I(\"time.singular\",{time:n})):e<45?`${e} ${I(\"time.minutes\")}`:e<90?(n=I(\"time.hour\"),I(\"time.singularAn\",{time:n})):t<24?`${t} ${I(\"time.hours\")}`:\"\"}toWeekdayString(){switch(this.calendarDate.daysPassed()){case 0:return I(\"date.today\");case 1:return I(\"date.yesterday\");case-1:return I(\"date.tomorrow\");case 2:case 3:case 4:case 5:case 6:return E(this.date,\"%A\");default:return\"\"}}toDateString(){var t;return t=this.calendarDate.occursThisYear()?w(\"date.formats.thisYear\"):w(\"date.formats.default\"),E(this.date,t)}toTimeString(){var t;return t=D.useFormat24?\"default_24h\":\"default\",E(this.date,w(`time.formats.${t}`))}},({elementMatchesSelector:C}=L),L.PageObserver=class{constructor(t,e){this.processMutations=this.processMutations.bind(this),this.processInsertion=this.processInsertion.bind(this),this.selector=t,this.callback=e}start(){if(!this.started)return this.observeWithMutationObserver()||this.observeWithMutationEvent(),this.started=!0}observeWithMutationObserver(){if(\"undefined\"!=typeof MutationObserver&&null!==MutationObserver)return new MutationObserver(this.processMutations).observe(document.documentElement,{childList:!0,subtree:!0}),!0}observeWithMutationEvent(){return addEventListener(\"DOMNodeInserted\",this.processInsertion,!1),!0}findSignificantElements(t){var e;return e=[],(null!=t?t.nodeType:void 0)===Node.ELEMENT_NODE&&(C(t,this.selector)&&e.push(t),e.push(...t.querySelectorAll(this.selector))),e}processMutations(t){var e,r,a,n,s,i,o,u;for(e=[],r=0,n=t.length;r {\n setIsCopied(true);\n if (isHTML) {\n navigator.clipboard.write([data]);\n }\n setTimeout(() => setIsCopied(false), 1500); // Reset after 1.5 seconds\n };\n\n return (\n
\n \n \n \n
\n );\n}","import React, { useState } from 'react';\nimport CopyToClipboard from 'react-copy-to-clipboard';\n\nexport default function CopyWidget(props) {\n const { copyText } = props;\n const [isCopied, setIsCopied] = useState(false);\n const [consultID, setConsultID] = useState();\n\n const handleCopy = () => {\n setIsCopied(true);\n setTimeout(() => setIsCopied(false), 1500); // Reset after 1.5 seconds\n };\n\n const onChangeConsultID = (event) => {\n setConsultID(event.target.value)\n };\n\n const onPasteClick = () => {\n navigator.clipboard\n .readText()\n .then((clipText) => {\n const numbers = findNumbers(clipText);\n if (numbers.length != 0) {\n const number = numbers[0]\n setConsultID(number)\n window.location.assign(`survey_results/${number}?debug=true`);\n }\n });\n };\n\n const onGoClick = () => {\n const numbers = findNumbers(consultID);\n if (numbers.length != 0) {\n const number = numbers[0]\n setConsultID(number)\n window.location.assign(`survey_results/${number}?debug=true`);\n }\n };\n\n function findNumbers(str) {\n const numbers = str.match(/\\d+/g);\n return numbers ? numbers : [];\n }\n\n return (\n
\n
\n ConsultID:\n \n \n \n
\n
\n );\n}","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // avoid screen readers from reading out loud the text\n mark.ariaHidden = \"true\"\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.CopyToClipboard = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _copyToClipboard = _interopRequireDefault(require(\"copy-to-clipboard\"));\n\nvar _excluded = [\"text\", \"onCopy\", \"options\", \"children\"];\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar CopyToClipboard = /*#__PURE__*/function (_React$PureComponent) {\n _inherits(CopyToClipboard, _React$PureComponent);\n\n var _super = _createSuper(CopyToClipboard);\n\n function CopyToClipboard() {\n var _this;\n\n _classCallCheck(this, CopyToClipboard);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n\n _defineProperty(_assertThisInitialized(_this), \"onClick\", function (event) {\n var _this$props = _this.props,\n text = _this$props.text,\n onCopy = _this$props.onCopy,\n children = _this$props.children,\n options = _this$props.options;\n\n var elem = _react[\"default\"].Children.only(children);\n\n var result = (0, _copyToClipboard[\"default\"])(text, options);\n\n if (onCopy) {\n onCopy(text, result);\n } // Bypass onClick if it was present\n\n\n if (elem && elem.props && typeof elem.props.onClick === 'function') {\n elem.props.onClick(event);\n }\n });\n\n return _this;\n }\n\n _createClass(CopyToClipboard, [{\n key: \"render\",\n value: function render() {\n var _this$props2 = this.props,\n _text = _this$props2.text,\n _onCopy = _this$props2.onCopy,\n _options = _this$props2.options,\n children = _this$props2.children,\n props = _objectWithoutProperties(_this$props2, _excluded);\n\n var elem = _react[\"default\"].Children.only(children);\n\n return /*#__PURE__*/_react[\"default\"].cloneElement(elem, _objectSpread(_objectSpread({}, props), {}, {\n onClick: this.onClick\n }));\n }\n }]);\n\n return CopyToClipboard;\n}(_react[\"default\"].PureComponent);\n\nexports.CopyToClipboard = CopyToClipboard;\n\n_defineProperty(CopyToClipboard, \"defaultProps\", {\n onCopy: undefined,\n options: undefined\n});","\"use strict\";\n\nvar _require = require('./Component'),\n CopyToClipboard = _require.CopyToClipboard;\n\nCopyToClipboard.CopyToClipboard = CopyToClipboard;\nmodule.exports = CopyToClipboard;","\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n"],"names":["NavBar","links","loginLogoutLink","mobileMenuOpen","setMobileMenuOpen","useState","onLinkClick","event","text","target","innerText","mixpanel","track","React","className","href","alt","src","type","onClick","Bars3Icon","map","item","key","Dialog","open","onClose","DialogPanel","XMarkIcon","t","config","run","this","getController","processElements","process","e","r","a","length","processElement","controller","Controller","n","s","i","o","u","l","c","d","m","h","f","g","p","S","v","y","T","b","M","D","w","E","I","C","N","A","O","F","Y","k","W","L","useFormat24","i18n","en","date","dayNames","abbrDayNames","monthNames","abbrMonthNames","yesterday","today","tomorrow","on","formats","default","thisYear","time","am","pm","singular","singularAn","elapsed","second","seconds","minute","minutes","hour","hours","default_24h","datetime","at","locale","defaultLocale","timerInterval","isNaN","Date","parse","parseDate","toString","match","replace","elementMatchesSelector","document","documentElement","matches","matchesSelector","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","nodeType","Node","ELEMENT_NODE","call","getI18nValue","translate","split","Intl","DateTimeFormat","knownEdgeCaseTimeZones","strftime","getDay","getDate","getMonth","getFullYear","getHours","getMinutes","getSeconds","toUpperCase","slice","allowGMT","Object","keys","find","toLocaleString","timeZoneName","includes","pop","test","join","CalendarDate","fromDate","constructor","UTC","setUTCDate","year","getUTCFullYear","month","getUTCMonth","day","getUTCDate","value","getTime","equals","is","isToday","occursOnSameYearAs","occursThisYear","daysSince","daysPassed","RelativeTime","calendarDate","toTimeElapsedString","toWeekdayString","toTimeString","toDateString","toTimeOrDateString","Math","round","PageObserver","processMutations","bind","processInsertion","selector","callback","start","started","observeWithMutationObserver","observeWithMutationEvent","MutationObserver","observe","childList","subtree","addEventListener","findSignificantElements","push","querySelectorAll","addedNodes","notify","setAttribute","toISOString","pageObserver","startTimer","timer","setInterval","getAttribute","hasAttribute","textContent","window","attachEvent","readyState","requestAnimationFrame","setTimeout","processing","LocalTime","mixpanelToken","querySelector","init","ReactOnRails","CopyWidget","props","copyText","isHTML","isCopied","setIsCopied","blob","Blob","data","ClipboardItem","CopyToClipboard","onCopy","async","navigator","clipboard","write","PasteWidget","consultID","setConsultID","findNumbers","str","numbers","onChange","onPasteClick","readText","then","clipText","number","location","assign","onGoClick","jQuery","jquery","$","trackableLinks","linkText","currentTarget","dataset","deselectCurrent","clipboardToIE11Formatting","module","exports","options","debug","message","reselectPrevious","range","selection","mark","success","createRange","getSelection","createElement","ariaHidden","style","all","position","top","clip","whiteSpace","webkitUserSelect","MozUserSelect","msUserSelect","userSelect","stopPropagation","format","preventDefault","clipboardData","console","warn","clearData","setData","body","appendChild","selectNodeContents","addRange","execCommand","Error","err","error","copyKey","userAgent","prompt","removeRange","removeAllRanges","removeChild","_typeof","obj","Symbol","iterator","prototype","defineProperty","_react","_interopRequireDefault","_copyToClipboard","_excluded","__esModule","ownKeys","object","enumerableOnly","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","apply","_objectSpread","arguments","source","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","_objectWithoutProperties","excluded","sourceKeys","indexOf","_objectWithoutPropertiesLoose","sourceSymbolKeys","propertyIsEnumerable","_defineProperties","descriptor","configurable","writable","_setPrototypeOf","setPrototypeOf","__proto__","_createSuper","Derived","hasNativeReflectConstruct","Reflect","construct","sham","Proxy","Boolean","valueOf","_isNativeReflectConstruct","result","Super","_getPrototypeOf","NewTarget","self","TypeError","_assertThisInitialized","_possibleConstructorReturn","ReferenceError","getPrototypeOf","_React$PureComponent","subClass","superClass","create","_inherits","Constructor","protoProps","staticProps","_super","_this","instance","_classCallCheck","_len","args","Array","_key","concat","_this$props","children","elem","Children","only","_this$props2","cloneElement","PureComponent","undefined","rangeCount","active","activeElement","ranges","getRangeAt","tagName","blur","focus"],"sourceRoot":""}