0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.119.118.237


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/206.4163cbe5.chunk.js.map

{"version":3,"sources":["pages/before-exam/PRReports/index.js","../node_modules/react-input-mask/index.js","../node_modules/react-input-mask/lib/react-input-mask.production.min.js"],"names":["IaPendingReport","_Component","_getPrototypeOf2","_this","_classCallCheck","this","_len","arguments","length","args","Array","_key","_possibleConstructorReturn","_getPrototypeOf","call","apply","concat","state","frmSubmit","rftype","fcolfrom","fcolto","fdegfrom","fdegto","fdeggrpfrom","fdeggrpto","reportType","handleChange","e","data","name","value","toUpperCase","type","setState","_defineProperty","handleReport","_this$props$user","props","user","fcuruniv","fdeggrp","_this$state","window","open","ReportAPI","handleChangedate","target","handleCancel","reportFormat","frmDeggrp","componentDidMount","_this$props$user2","handleFromChange","renderHeader","React","createElement","Card","Header","style","display","className","Button","basic","color","onClick","content","icon","Link","to","_inherits","_createClass","key","_this$state2","tcodefrom","tcodeto","vdatefrom","vdateto","wheight","wHeight","fluid","Content","Divider","Description","overflowY","height","Form","Field","Dropdown","placeholder","selection","search","options","text","onChange","Group","Input","width","onBlur","maxLength","label","marginTop","Component","connect","data2","allworkDOneReport","showError","module","exports","__webpack_require__","reactDom","_extends","Object","assign","t","n","a","prototype","hasOwnProperty","_inheritsLoose","create","getOwnPropertyNames","i","r","getOwnPropertyDescriptor","configurable","undefined","defineProperty","_defaults2","constructor","_assertThisInitialized","ReferenceError","invariant_1","o","s","l","Error","u","c","replace","framesToPop","setInputSelection","selectionStart","selectionEnd","createTextRange","collapse","moveStart","moveEnd","select","defaultFormatChars","9","*","defaultMaskChar","parseMask","maskChar","formatChars","mask","prefix","lastEditablePosition","permanents","split","forEach","push","isPermanentCharacter","indexOf","isAllowedCharacter","RegExp","test","isEmpty","every","getFilledLength","slice","isFilled","formatValue","insertString","h","getRightEditablePosition","getStringValue","processChange","f","Math","min","start","end","getInsertStringLength","getLeftEditablePosition","map","join","max","splice","clearRange","enteredString","isFunction","getCancelAnimationFrame","cancelAnimationFrame","webkitCancelRequestAnimationFrame","webkitCancelAnimationFrame","mozCancelAnimationFrame","defer","requestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","setTimeout","cancelDefer","clearTimeout","InputElement","focused","mounted","previousSelection","selectionDeferId","saveSelectionLoopDeferId","saveSelectionLoop","getSelection","runSaveSelectionLoop","stopSaveSelectionLoop","getInputDOMNode","findDOMNode","Element","nodeName","querySelector","getInputValue","setInputValue","setCursorToEnd","maskOptions","setCursorPosition","setSelection","isFocused","deferred","abs","document","createRange","parentElement","getInputSelection","getCursorPosition","getBeforeMaskedValueChangeConfig","alwaysShowMask","isInputAutofilled","matches","beforePasteState","beforeMaskedValueChange","isWindowsPhoneBrowser","onFocus","onMouseDown","addEventListener","mouseDownX","clientX","mouseDownY","clientY","mouseDownTime","Date","getTime","removeEventListener","onPaste","defaultPrevented","handleRef","children","inputRef","defaultValue","navigator","userAgent","componentDidUpdate","p","d","m","g","forceUpdate","v","componentWillUnmount","render","keys","_objectWithoutPropertiesLoose","filter","ref","disabled","readOnly","cloneElement"],"mappings":"mRAkBMA,UAAe,SAAAC,GAAA,SAAAD,IAAA,IAAAE,EAAAC,EAAAC,YAAAC,KAAAL,GAAA,QAAAM,EAAAC,UAAAC,OAAAC,EAAA,IAAAC,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAAF,EAAAE,GAAAJ,UAAAI,GA2IlB,OA3IkBR,EAAAS,YAAAP,MAAAH,EAAAW,YAAAb,IAAAc,KAAAC,MAAAb,EAAA,CAAAG,MAAAW,OAAAP,MACnBQ,MAAQ,CACNC,WAAW,EACXC,OAAQ,MACRC,SAAU,IACVC,OAAQ,OACRC,SAAU,IACVC,OAAQ,OACRC,YAAa,GACbC,UAAW,GACXC,WAAY,aACbvB,EAEDwB,aAA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OAAc4G,IAAAD,EAAAQ,EAAAP,GAAA,GAAAF,EAAAkD,QAAAjD,KAAAO,EAAAP,GAAAvF,EAAAuF,IAC3B,OAAAO,EAkcAoJ,CAAAlP,EAAA,oGACA,GAAAuF,EAAA,CACA6E,EAAA7E,IAAAiB,GAAA,GACA,IAAAV,EAAA,sFACAC,EAAAZ,EAAA,GAAuBK,GACvBM,EAAAuC,QAAA,SAAArI,GACA,cAAA+F,EAAA/F,KACOsF,EAAAC,EAAAQ,GAAAD,EAAAqJ,OAAA,SAAAnP,GACP,aAAAsF,EAAA5E,MAAAV,IAAAsF,EAAA5E,MAAAV,KAAAwF,EAAAxF,KACOpB,QAAA4H,GAAA,QACFlB,EAAA3D,EAAAC,cAAA,QAAAuD,EAAA,CACLiK,IAAA3Q,KAAAyP,WACK1I,IACL,IAAAiB,EAAA,CACA4G,QAAA5O,KAAA4O,QACA/I,OAAA7F,KAAA6F,QAEA,OAAA7F,KAAA0N,YAAAnE,OAAAxC,EAAA6J,UAAA7J,EAAA8J,WAAA7I,EAAAvC,SAAAzF,KAAAyF,SAAAuC,EAAAuH,QAAAvP,KAAAuP,QAAAvH,EAAA6G,YAAA7O,KAAA6O,aAAA,MAAA9H,EAAArF,QAAAsG,EAAAtG,MAAA1B,KAAA0B,QAAAmF,EAAA3D,EAAA4N,aAAAjK,EAAAmB,IACGzG,EAjQH,CAkQC2B,EAAA+C,WACDK,EAAAC,QAAAiG","file":"static/js/206.4163cbe5.chunk.js","sourcesContent":["import React, { Component } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport {\r\n  Card,\r\n  Button,\r\n  Form,\r\n  Dropdown,\r\n  Divider,\r\n  Radio,\r\n  Table,\r\n} from \"semantic-ui-react\";\r\nimport { connect } from \"react-redux\";\r\nimport { ReportAPI } from \"../../../apis/consts\";\r\nimport { showError } from \"../../../actions\";\r\nimport InputMask from \"react-input-mask\";\r\nimport { wHeight } from \"../../parms\";\r\nimport moment from \"moment\";\r\n//import { getWorkDone } from \"../actions/after-exam/workdonereport\";\r\nclass IaPendingReport extends Component {\r\n  state = {\r\n    frmSubmit: false,\r\n    rftype: \"PDF\",\r\n    fcolfrom: \"0\",\r\n    fcolto: \"ZZZZ\",\r\n    fdegfrom: \"0\",\r\n    fdegto: \"ZZZZ\",\r\n    fdeggrpfrom: \"\",\r\n    fdeggrpto: \"\",\r\n    reportType: \"Regnowise\",\r\n  };\r\n\r\n  handleChange = (e, data) => {\r\n    if (data.name != \"reportType\") data.value = data.value.toUpperCase();\r\n    switch (data.type) {\r\n      case \"text\":\r\n        this.setState({ [data.name]: data.value });\r\n      default:\r\n        this.setState({ [data.name]: data.value });\r\n    }\r\n    this.setState({ frmSubmit: false });\r\n  };\r\n\r\n  handleReport = () => {\r\n    const { fdeggrp, fcuruniv } = this.props.user;\r\n    const {\r\n      reportType,\r\n      rftype,\r\n      fcolfrom,\r\n      fcolto,\r\n      fdegfrom,\r\n      fdegto,\r\n      fdeggrpfrom,\r\n      fdeggrpto,\r\n    } = this.state;\r\n\r\n    reportType == \"Regnowise\"\r\n      ? window.open(\r\n          ReportAPI +\r\n            \"PRPendingRegNowise\" +\r\n            \"&univcode=\" +\r\n            fcuruniv +\r\n            \"&fdeggrpfrom=\" +\r\n            fdeggrpfrom +\r\n            \"&fdeggrpto=\" +\r\n            fdeggrpto +\r\n            \"&fcollfrom=\" +\r\n            fcolfrom +\r\n            \"&fcollto=\" +\r\n            fcolto +\r\n            \"&fdegfrom=\" +\r\n            fdegfrom +\r\n            \"&fdegto=\" +\r\n            fdegto,\r\n          \"_blank\"\r\n        )\r\n      : window.open(\r\n          ReportAPI +\r\n            \"PRPendingDetails\" +\r\n            \"&univcode=\" +\r\n            fcuruniv +\r\n            \"&fdeggrpfrom=\" +\r\n            fdeggrpfrom +\r\n            \"&fdeggrpto=\" +\r\n            fdeggrpto +\r\n            \"&fcollfrom=\" +\r\n            fcolfrom +\r\n            \"&fcollto=\" +\r\n            fcolto +\r\n            \"&fdegfrom=\" +\r\n            fdegfrom +\r\n            \"&fdegto=\" +\r\n            fdegto,\r\n          \"_blank\"\r\n        );\r\n  };\r\n\r\n  handleChangedate = (e) => {\r\n    this.setState({ [e.target.name]: e.target.value });\r\n  };\r\n\r\n  handleCancel = () => {\r\n    this.setState({\r\n      reportType: \"\",\r\n      reportFormat: \"\",\r\n      frmDeggrp: \"\",\r\n    });\r\n  };\r\n\r\n  componentDidMount = () => {\r\n    const { fdeggrp, fcuruniv } = this.props.user;\r\n    this.setState({ fdeggrpfrom: fdeggrp, fdeggrpto: fdeggrp });\r\n  };\r\n\r\n  handleFromChange = (e, data) => {\r\n    let name = e.target.name;\r\n    let value = e.target.value;\r\n    if (name == \"fdegfrom\" || name == \"fcolfrom\" || name == \"fdeggrpfrom\") {\r\n      if (name == \"fdegfrom\")\r\n        value == \"0\"\r\n          ? this.setState({ fdegto: \"ZZZZ\" })\r\n          : this.setState({ fdegto: value });\r\n      if (name == \"fcolfrom\")\r\n        value == \"0\"\r\n          ? this.setState({ fcolto: \"ZZZZ\" })\r\n          : this.setState({ fcolto: value });\r\n      if (name == \"fdeggrpfrom\")\r\n        value == \"0\"\r\n          ? this.setState({ fdeggrpto: \"ZZZZ\" })\r\n          : this.setState({ fdeggrpto: value });\r\n    }\r\n  };\r\n\r\n  renderHeader = () => {\r\n    return (\r\n      <Card.Header style={{ display: \"flex\" }}>\r\n        <h3>Practical Pending Report</h3>\r\n        <div className=\"ml-auto\">\r\n          <Button\r\n            basic\r\n            color=\"blue\"\r\n            onClick={this.handleReport}\r\n            content=\"Report\"\r\n            icon=\"file\"\r\n          />\r\n          <Button\r\n            basic\r\n            color=\"black\"\r\n            icon=\"ban\"\r\n            onClick={this.handleCancel}\r\n            content=\"Cancel\"\r\n          />\r\n          <Link to=\"/dashboard\">\r\n            <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\r\n          </Link>\r\n        </div>\r\n      </Card.Header>\r\n    );\r\n  };\r\n\r\n  render() {\r\n    const {\r\n      frmSubmit,\r\n      reportType,\r\n      rftype,\r\n      tcodefrom,\r\n      tcodeto,\r\n      vdatefrom,\r\n      vdateto,\r\n      fcolfrom,\r\n      fcolto,\r\n      fdegfrom,\r\n      fdegto,\r\n      fdeggrpfrom,\r\n      fdeggrpto,\r\n    } = this.state;\r\n\r\n    const formatChars = {\r\n      n: \"[0-1]\",\r\n      m: \"[0-9]\",\r\n      e: \"[0-3]\",\r\n      d: \"[0-9]\",\r\n      z: \"[1-2]\",\r\n      y: \"[0-9]\",\r\n    };\r\n    const wheight = wHeight();\r\n    const reporttypeOptions = [\r\n      { value: \"Regnowise\", text: \"Practical Pending Report (Regnowise)\" },\r\n      { value: \"Detail\", text: \"Practical Pending Report (Detail)\" },\r\n    ];\r\n\r\n    return (\r\n      <div className=\"animated fadeIn\">\r\n        <Card fluid>\r\n          <Card.Content>\r\n            {this.renderHeader()}\r\n            <Divider />\r\n            <Card.Description\r\n              style={{ overflowY: \"auto\", height: `${wheight}px` }}\r\n            >\r\n              <div className=\"col-md-6\">\r\n                <Form>\r\n                  <Form.Field>\r\n                    <label>Report Type</label>\r\n                    <Dropdown\r\n                      placeholder=\"Select Report Type\"\r\n                      name=\"reportType\"\r\n                      value={reportType}\r\n                      selection\r\n                      search\r\n                      options={reporttypeOptions}\r\n                      onChange={this.handleChange}\r\n                    />\r\n                  </Form.Field>\r\n                  <Form.Group>\r\n                    <Form.Input\r\n                      placeholder=\"From\"\r\n                      value={fdeggrpfrom}\r\n                      width={8}\r\n                      name=\"fdeggrpfrom\"\r\n                      onChange={this.handleChange}\r\n                      onBlur={this.handleFromChange}\r\n                      maxLength=\"5\"\r\n                      label=\"Degree Group Range\"\r\n                    />\r\n                    <Form.Input\r\n                      placeholder=\"To\"\r\n                      name=\"fdeggrpto\"\r\n                      value={fdeggrpto}\r\n                      width={8}\r\n                      onChange={this.handleChange}\r\n                      maxLength=\"5\"\r\n                      style={{ marginTop: \"1.6em\" }}\r\n                    />\r\n                  </Form.Group>\r\n\r\n                  <Form.Group>\r\n                    <Form.Input\r\n                      placeholder=\"From\"\r\n                      value={fcolfrom}\r\n                      width={8}\r\n                      name=\"fcolfrom\"\r\n                      onChange={this.handleChange}\r\n                      onBlur={this.handleFromChange}\r\n                      maxLength=\"5\"\r\n                      label=\"College Range\"\r\n                    />\r\n                    <Form.Input\r\n                      placeholder=\"To\"\r\n                      name=\"fcolto\"\r\n                      value={fcolto}\r\n                      width={8}\r\n                      onChange={this.handleChange}\r\n                      maxLength=\"5\"\r\n                      style={{ marginTop: \"1.6em\" }}\r\n                    />\r\n                  </Form.Group>\r\n                  <Form.Group>\r\n                    <Form.Input\r\n                      placeholder=\"From\"\r\n                      value={fdegfrom}\r\n                      width={8}\r\n                      name=\"fdegfrom\"\r\n                      onChange={this.handleChange}\r\n                      onBlur={this.handleFromChange}\r\n                      maxLength=\"5\"\r\n                      label=\"Degree Range\"\r\n                    />\r\n                    <Form.Input\r\n                      placeholder=\"To\"\r\n                      name=\"fdegto\"\r\n                      value={fdegto}\r\n                      width={8}\r\n                      onChange={this.handleChange}\r\n                      maxLength=\"5\"\r\n                      style={{ marginTop: \"1.6em\" }}\r\n                    />\r\n                  </Form.Group>\r\n                </Form>\r\n              </div>\r\n            </Card.Description>\r\n          </Card.Content>\r\n        </Card>\r\n      </div>\r\n    );\r\n  }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n  return {\r\n    user: state.user,\r\n    data2: state.allworkDOneReport,\r\n  };\r\n};\r\nexport default connect(mapStateToProps, {\r\n  showError,\r\n})(IaPendingReport);\r\n","if (process.env.NODE_ENV === 'production') {\n  module.exports = require('./lib/react-input-mask.production.min.js');\n} else {\n  module.exports = require('./lib/react-input-mask.development.js');\n}","\"use strict\";\n\nfunction _interopDefault(e) {\n  return e && \"object\" == typeof e && \"default\" in e ? e[\"default\"] : e;\n}\nvar React = _interopDefault(require(\"react\")),\n  reactDom = require(\"react-dom\");\nfunction _defaults2(e, t) {\n  for (var n = Object.getOwnPropertyNames(t), a = 0; a < n.length; a++) {\n    var i = n[a],\n      r = Object.getOwnPropertyDescriptor(t, i);\n    r && r.configurable && e[i] === undefined && Object.defineProperty(e, i, r);\n  }\n  return e;\n}\nfunction _extends() {\n  return (_extends = Object.assign || function (e) {\n    for (var t = 1; t < arguments.length; t++) {\n      var n = arguments[t];\n      for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);\n    }\n    return e;\n  }).apply(this, arguments);\n}\nfunction _inheritsLoose(e, t) {\n  e.prototype = Object.create(t.prototype), _defaults2(e.prototype.constructor = e, t);\n}\nfunction _objectWithoutPropertiesLoose(e, t) {\n  if (null == e) return {};\n  var n,\n    a,\n    i = {},\n    r = Object.keys(e);\n  for (a = 0; a < r.length; a++) n = r[a], 0 <= t.indexOf(n) || (i[n] = e[n]);\n  return i;\n}\nfunction _assertThisInitialized(e) {\n  if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n  return e;\n}\nvar invariant = function invariant(e, t, n, a, i, r, o, s) {\n    if (!e) {\n      var l;\n      if (t === undefined) l = new Error(\"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.\");else {\n        var u = [n, a, i, r, o, s],\n          c = 0;\n        (l = new Error(t.replace(/%s/g, function () {\n          return u[c++];\n        }))).name = \"Invariant Violation\";\n      }\n      throw l.framesToPop = 1, l;\n    }\n  },\n  invariant_1 = invariant;\nfunction setInputSelection(e, t, n) {\n  if (\"selectionStart\" in e && \"selectionEnd\" in e) e.selectionStart = t, e.selectionEnd = n;else {\n    var a = e.createTextRange();\n    a.collapse(!0), a.moveStart(\"character\", t), a.moveEnd(\"character\", n - t), a.select();\n  }\n}\nfunction getInputSelection(e) {\n  var t = 0,\n    n = 0;\n  if (\"selectionStart\" in e && \"selectionEnd\" in e) t = e.selectionStart, n = e.selectionEnd;else {\n    var a = document.selection.createRange();\n    a.parentElement() === e && (t = -a.moveStart(\"character\", -e.value.length), n = -a.moveEnd(\"character\", -e.value.length));\n  }\n  return {\n    start: t,\n    end: n,\n    length: n - t\n  };\n}\nvar defaultFormatChars = {\n    9: \"[0-9]\",\n    a: \"[A-Za-z]\",\n    \"*\": \"[A-Za-z0-9]\"\n  },\n  defaultMaskChar = \"_\";\nfunction parseMask(e, t, n) {\n  var a = \"\",\n    i = \"\",\n    r = null,\n    o = [];\n  if (t === undefined && (t = defaultMaskChar), null == n && (n = defaultFormatChars), !e || \"string\" != typeof e) return {\n    maskChar: t,\n    formatChars: n,\n    mask: null,\n    prefix: null,\n    lastEditablePosition: null,\n    permanents: []\n  };\n  var s = !1;\n  return e.split(\"\").forEach(function (e) {\n    s = !s && \"\\\\\" === e || (s || !n[e] ? (o.push(a.length), a.length === o.length - 1 && (i += e)) : r = a.length + 1, a += e, !1);\n  }), {\n    maskChar: t,\n    formatChars: n,\n    prefix: i,\n    mask: a,\n    lastEditablePosition: r,\n    permanents: o\n  };\n}\nfunction isPermanentCharacter(e, t) {\n  return -1 !== e.permanents.indexOf(t);\n}\nfunction isAllowedCharacter(e, t, n) {\n  var a = e.mask,\n    i = e.formatChars;\n  if (!n) return !1;\n  if (isPermanentCharacter(e, t)) return a[t] === n;\n  var r = i[a[t]];\n  return new RegExp(r).test(n);\n}\nfunction isEmpty(n, e) {\n  return e.split(\"\").every(function (e, t) {\n    return isPermanentCharacter(n, t) || !isAllowedCharacter(n, t, e);\n  });\n}\nfunction getFilledLength(e, t) {\n  var n = e.maskChar,\n    a = e.prefix;\n  if (!n) {\n    for (; t.length > a.length && isPermanentCharacter(e, t.length - 1);) t = t.slice(0, t.length - 1);\n    return t.length;\n  }\n  for (var i = a.length, r = t.length; r >= a.length; r--) {\n    var o = t[r];\n    if (!isPermanentCharacter(e, r) && isAllowedCharacter(e, r, o)) {\n      i = r + 1;\n      break;\n    }\n  }\n  return i;\n}\nfunction isFilled(e, t) {\n  return getFilledLength(e, t) === e.mask.length;\n}\nfunction formatValue(e, t) {\n  var n = e.maskChar,\n    a = e.mask,\n    i = e.prefix;\n  if (!n) {\n    for ((t = insertString(e, \"\", t, 0)).length < i.length && (t = i); t.length < a.length && isPermanentCharacter(e, t.length);) t += a[t.length];\n    return t;\n  }\n  if (t) return insertString(e, formatValue(e, \"\"), t, 0);\n  for (var r = 0; r < a.length; r++) isPermanentCharacter(e, r) ? t += a[r] : t += n;\n  return t;\n}\nfunction clearRange(n, e, a, t) {\n  var i = a + t,\n    r = n.maskChar,\n    o = n.mask,\n    s = n.prefix,\n    l = e.split(\"\");\n  if (r) return l.map(function (e, t) {\n    return t < a || i <= t ? e : isPermanentCharacter(n, t) ? o[t] : r;\n  }).join(\"\");\n  for (var u = i; u < l.length; u++) isPermanentCharacter(n, u) && (l[u] = \"\");\n  return a = Math.max(s.length, a), l.splice(a, i - a), e = l.join(\"\"), formatValue(n, e);\n}\nfunction insertString(r, o, e, s) {\n  var l = r.mask,\n    u = r.maskChar,\n    c = r.prefix,\n    t = e.split(\"\"),\n    h = isFilled(r, o);\n  return !u && s > o.length && (o += l.slice(o.length, s)), t.every(function (e) {\n    for (; i = e, isPermanentCharacter(r, a = s) && i !== l[a];) {\n      if (s >= o.length && (o += l[s]), t = e, n = s, u && isPermanentCharacter(r, n) && t === u) return !0;\n      if (++s >= l.length) return !1;\n    }\n    var t, n, a, i;\n    return !isAllowedCharacter(r, s, e) && e !== u || (s < o.length ? o = u || h || s < c.length ? o.slice(0, s) + e + o.slice(s + 1) : (o = o.slice(0, s) + e + o.slice(s), formatValue(r, o)) : u || (o += e), ++s < l.length);\n  }), o;\n}\nfunction getInsertStringLength(a, e, t, i) {\n  var r = a.mask,\n    o = a.maskChar,\n    n = t.split(\"\"),\n    s = i;\n  return n.every(function (e) {\n    for (; n = e, isPermanentCharacter(a, t = i) && n !== r[t];) if (++i >= r.length) return !1;\n    var t, n;\n    return (isAllowedCharacter(a, i, e) || e === o) && i++, i < r.length;\n  }), i - s;\n}\nfunction getLeftEditablePosition(e, t) {\n  for (var n = t; 0 <= n; --n) if (!isPermanentCharacter(e, n)) return n;\n  return null;\n}\nfunction getRightEditablePosition(e, t) {\n  for (var n = e.mask, a = t; a < n.length; ++a) if (!isPermanentCharacter(e, a)) return a;\n  return null;\n}\nfunction getStringValue(e) {\n  return e || 0 === e ? e + \"\" : \"\";\n}\nfunction processChange(e, t, n, a, i) {\n  var r = e.mask,\n    o = e.prefix,\n    s = e.lastEditablePosition,\n    l = t,\n    u = \"\",\n    c = 0,\n    h = 0,\n    f = Math.min(i.start, n.start);\n  if (n.end > i.start ? h = (c = getInsertStringLength(e, a, u = l.slice(i.start, n.end), f)) ? i.length : 0 : l.length < a.length && (h = a.length - l.length), l = a, h) {\n    if (1 === h && !i.length) f = i.start === n.start ? getRightEditablePosition(e, n.start) : getLeftEditablePosition(e, n.start);\n    l = clearRange(e, l, f, h);\n  }\n  return l = insertString(e, l, u, f), (f += c) >= r.length ? f = r.length : f < o.length && !c ? f = o.length : f >= o.length && f < s && c && (f = getRightEditablePosition(e, f)), u || (u = null), {\n    value: l = formatValue(e, l),\n    enteredString: u,\n    selection: {\n      start: f,\n      end: f\n    }\n  };\n}\nfunction isWindowsPhoneBrowser() {\n  var e = new RegExp(\"windows\", \"i\"),\n    t = new RegExp(\"phone\", \"i\"),\n    n = navigator.userAgent;\n  return e.test(n) && t.test(n);\n}\nfunction isFunction(e) {\n  return \"function\" == typeof e;\n}\nfunction getRequestAnimationFrame() {\n  return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame;\n}\nfunction getCancelAnimationFrame() {\n  return window.cancelAnimationFrame || window.webkitCancelRequestAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame;\n}\nfunction defer(e) {\n  return (!!getCancelAnimationFrame() ? getRequestAnimationFrame() : function () {\n    return setTimeout(e, 1e3 / 60);\n  })(e);\n}\nfunction cancelDefer(e) {\n  (getCancelAnimationFrame() || clearTimeout)(e);\n}\nvar InputElement = function (c) {\n  function e(e) {\n    var f = c.call(this, e) || this;\n    f.focused = !1, f.mounted = !1, f.previousSelection = null, f.selectionDeferId = null, f.saveSelectionLoopDeferId = null, f.saveSelectionLoop = function () {\n      f.previousSelection = f.getSelection(), f.saveSelectionLoopDeferId = defer(f.saveSelectionLoop);\n    }, f.runSaveSelectionLoop = function () {\n      null === f.saveSelectionLoopDeferId && f.saveSelectionLoop();\n    }, f.stopSaveSelectionLoop = function () {\n      null !== f.saveSelectionLoopDeferId && (cancelDefer(f.saveSelectionLoopDeferId), f.saveSelectionLoopDeferId = null, f.previousSelection = null);\n    }, f.getInputDOMNode = function () {\n      if (!f.mounted) return null;\n      var e = reactDom.findDOMNode(_assertThisInitialized(_assertThisInitialized(f))),\n        t = \"undefined\" != typeof window && e instanceof window.Element;\n      if (e && !t) return null;\n      if (\"INPUT\" !== e.nodeName && (e = e.querySelector(\"input\")), !e) throw new Error(\"react-input-mask: inputComponent doesn't contain input node\");\n      return e;\n    }, f.getInputValue = function () {\n      var e = f.getInputDOMNode();\n      return e ? e.value : null;\n    }, f.setInputValue = function (e) {\n      var t = f.getInputDOMNode();\n      t && (f.value = e, t.value = e);\n    }, f.setCursorToEnd = function () {\n      var e = getFilledLength(f.maskOptions, f.value),\n        t = getRightEditablePosition(f.maskOptions, e);\n      null !== t && f.setCursorPosition(t);\n    }, f.setSelection = function (e, t, n) {\n      void 0 === n && (n = {});\n      var a = f.getInputDOMNode(),\n        i = f.isFocused();\n      a && i && (n.deferred || setInputSelection(a, e, t), null !== f.selectionDeferId && cancelDefer(f.selectionDeferId), f.selectionDeferId = defer(function () {\n        f.selectionDeferId = null, setInputSelection(a, e, t);\n      }), f.previousSelection = {\n        start: e,\n        end: t,\n        length: Math.abs(t - e)\n      });\n    }, f.getSelection = function () {\n      return getInputSelection(f.getInputDOMNode());\n    }, f.getCursorPosition = function () {\n      return f.getSelection().start;\n    }, f.setCursorPosition = function (e) {\n      f.setSelection(e, e);\n    }, f.isFocused = function () {\n      return f.focused;\n    }, f.getBeforeMaskedValueChangeConfig = function () {\n      var e = f.maskOptions,\n        t = e.mask,\n        n = e.maskChar,\n        a = e.permanents,\n        i = e.formatChars;\n      return {\n        mask: t,\n        maskChar: n,\n        permanents: a,\n        alwaysShowMask: !!f.props.alwaysShowMask,\n        formatChars: i\n      };\n    }, f.isInputAutofilled = function (e, t, n, a) {\n      var i = f.getInputDOMNode();\n      try {\n        if (i.matches(\":-webkit-autofill\")) return !0;\n      } catch (r) {}\n      return !f.focused || a.end < n.length && t.end === e.length;\n    }, f.onChange = function (e) {\n      var t = _assertThisInitialized(_assertThisInitialized(f)).beforePasteState,\n        n = _assertThisInitialized(_assertThisInitialized(f)).previousSelection,\n        a = f.props.beforeMaskedValueChange,\n        i = f.getInputValue(),\n        r = f.value,\n        o = f.getSelection();\n      f.isInputAutofilled(i, o, r, n) && (r = formatValue(f.maskOptions, \"\"), n = {\n        start: 0,\n        end: 0,\n        length: 0\n      }), t && (n = t.selection, r = t.value, o = {\n        start: n.start + i.length,\n        end: n.start + i.length,\n        length: 0\n      }, i = r.slice(0, n.start) + i + r.slice(n.end), f.beforePasteState = null);\n      var s = processChange(f.maskOptions, i, o, r, n),\n        l = s.enteredString,\n        u = s.selection,\n        c = s.value;\n      if (isFunction(a)) {\n        var h = a({\n          value: c,\n          selection: u\n        }, {\n          value: r,\n          selection: n\n        }, l, f.getBeforeMaskedValueChangeConfig());\n        c = h.value, u = h.selection;\n      }\n      f.setInputValue(c), isFunction(f.props.onChange) && f.props.onChange(e), f.isWindowsPhoneBrowser ? f.setSelection(u.start, u.end, {\n        deferred: !0\n      }) : f.setSelection(u.start, u.end);\n    }, f.onFocus = function (e) {\n      var t = f.props.beforeMaskedValueChange,\n        n = f.maskOptions,\n        a = n.mask,\n        i = n.prefix;\n      if (f.focused = !0, f.mounted = !0, a) {\n        if (f.value) getFilledLength(f.maskOptions, f.value) < f.maskOptions.mask.length && f.setCursorToEnd();else {\n          var r = formatValue(f.maskOptions, i),\n            o = formatValue(f.maskOptions, r),\n            s = getFilledLength(f.maskOptions, o),\n            l = getRightEditablePosition(f.maskOptions, s),\n            u = {\n              start: l,\n              end: l\n            };\n          if (isFunction(t)) {\n            var c = t({\n              value: o,\n              selection: u\n            }, {\n              value: f.value,\n              selection: null\n            }, null, f.getBeforeMaskedValueChangeConfig());\n            o = c.value, u = c.selection;\n          }\n          var h = o !== f.getInputValue();\n          h && f.setInputValue(o), h && isFunction(f.props.onChange) && f.props.onChange(e), f.setSelection(u.start, u.end);\n        }\n        f.runSaveSelectionLoop();\n      }\n      isFunction(f.props.onFocus) && f.props.onFocus(e);\n    }, f.onBlur = function (e) {\n      var t = f.props.beforeMaskedValueChange,\n        n = f.maskOptions.mask;\n      if (f.stopSaveSelectionLoop(), f.focused = !1, n && !f.props.alwaysShowMask && isEmpty(f.maskOptions, f.value)) {\n        var a = \"\";\n        if (isFunction(t)) a = t({\n          value: a,\n          selection: null\n        }, {\n          value: f.value,\n          selection: f.previousSelection\n        }, null, f.getBeforeMaskedValueChangeConfig()).value;\n        var i = a !== f.getInputValue();\n        i && f.setInputValue(a), i && isFunction(f.props.onChange) && f.props.onChange(e);\n      }\n      isFunction(f.props.onBlur) && f.props.onBlur(e);\n    }, f.onMouseDown = function (e) {\n      if (!f.focused && document.addEventListener) {\n        f.mouseDownX = e.clientX, f.mouseDownY = e.clientY, f.mouseDownTime = new Date().getTime();\n        var r = function r(e) {\n          if (document.removeEventListener(\"mouseup\", r), f.focused) {\n            var t = Math.abs(e.clientX - f.mouseDownX),\n              n = Math.abs(e.clientY - f.mouseDownY),\n              a = Math.max(t, n),\n              i = new Date().getTime() - f.mouseDownTime;\n            (a <= 10 && i <= 200 || a <= 5 && i <= 300) && f.setCursorToEnd();\n          }\n        };\n        document.addEventListener(\"mouseup\", r);\n      }\n      isFunction(f.props.onMouseDown) && f.props.onMouseDown(e);\n    }, f.onPaste = function (e) {\n      isFunction(f.props.onPaste) && f.props.onPaste(e), e.defaultPrevented || (f.beforePasteState = {\n        value: f.getInputValue(),\n        selection: f.getSelection()\n      }, f.setInputValue(\"\"));\n    }, f.handleRef = function (e) {\n      null == f.props.children && isFunction(f.props.inputRef) && f.props.inputRef(e);\n    };\n    var t = e.mask,\n      n = e.maskChar,\n      a = e.formatChars,\n      i = e.alwaysShowMask,\n      r = e.beforeMaskedValueChange,\n      o = e.defaultValue,\n      s = e.value;\n    f.maskOptions = parseMask(t, n, a), null == o && (o = \"\"), null == s && (s = o);\n    var l = getStringValue(s);\n    if (f.maskOptions.mask && (i || l) && (l = formatValue(f.maskOptions, l), isFunction(r))) {\n      var u = e.value;\n      null == e.value && (u = o), l = r({\n        value: l,\n        selection: null\n      }, {\n        value: u = getStringValue(u),\n        selection: null\n      }, null, f.getBeforeMaskedValueChangeConfig()).value;\n    }\n    return f.value = l, f;\n  }\n  _inheritsLoose(e, c);\n  var t = e.prototype;\n  return t.componentDidMount = function () {\n    this.mounted = !0, this.getInputDOMNode() && (this.isWindowsPhoneBrowser = isWindowsPhoneBrowser(), this.maskOptions.mask && this.getInputValue() !== this.value && this.setInputValue(this.value));\n  }, t.componentDidUpdate = function () {\n    var e = this.previousSelection,\n      t = this.props,\n      n = t.beforeMaskedValueChange,\n      a = t.alwaysShowMask,\n      i = t.mask,\n      r = t.maskChar,\n      o = t.formatChars,\n      s = this.maskOptions,\n      l = a || this.isFocused(),\n      u = null != this.props.value,\n      c = u ? getStringValue(this.props.value) : this.value,\n      h = e ? e.start : null;\n    if (this.maskOptions = parseMask(i, r, o), this.maskOptions.mask) {\n      !s.mask && this.isFocused() && this.runSaveSelectionLoop();\n      var f = this.maskOptions.mask && this.maskOptions.mask !== s.mask;\n      if (s.mask || u || (c = this.getInputValue()), (f || this.maskOptions.mask && (c || l)) && (c = formatValue(this.maskOptions, c)), f) {\n        var p = getFilledLength(this.maskOptions, c);\n        (null === h || p < h) && (h = isFilled(this.maskOptions, c) ? p : getRightEditablePosition(this.maskOptions, p));\n      }\n      !this.maskOptions.mask || !isEmpty(this.maskOptions, c) || l || u && this.props.value || (c = \"\");\n      var d = {\n        start: h,\n        end: h\n      };\n      if (isFunction(n)) {\n        var m = n({\n          value: c,\n          selection: d\n        }, {\n          value: this.value,\n          selection: this.previousSelection\n        }, null, this.getBeforeMaskedValueChangeConfig());\n        c = m.value, d = m.selection;\n      }\n      this.value = c;\n      var g = this.getInputValue() !== this.value;\n      g ? (this.setInputValue(this.value), this.forceUpdate()) : f && this.forceUpdate();\n      var v = !1;\n      null != d.start && null != d.end && (v = !e || e.start !== d.start || e.end !== d.end), (v || g) && this.setSelection(d.start, d.end);\n    } else s.mask && (this.stopSaveSelectionLoop(), this.forceUpdate());\n  }, t.componentWillUnmount = function () {\n    this.mounted = !1, null !== this.selectionDeferId && cancelDefer(this.selectionDeferId), this.stopSaveSelectionLoop();\n  }, t.render = function () {\n    var t,\n      e = this.props,\n      n = (e.mask, e.alwaysShowMask, e.maskChar, e.formatChars, e.inputRef, e.beforeMaskedValueChange, e.children),\n      a = _objectWithoutPropertiesLoose(e, [\"mask\", \"alwaysShowMask\", \"maskChar\", \"formatChars\", \"inputRef\", \"beforeMaskedValueChange\", \"children\"]);\n    if (n) {\n      isFunction(n) || invariant_1(!1);\n      var i = [\"onChange\", \"onPaste\", \"onMouseDown\", \"onFocus\", \"onBlur\", \"value\", \"disabled\", \"readOnly\"],\n        r = _extends({}, a);\n      i.forEach(function (e) {\n        return delete r[e];\n      }), t = n(r), i.filter(function (e) {\n        return null != t.props[e] && t.props[e] !== a[e];\n      }).length && invariant_1(!1);\n    } else t = React.createElement(\"input\", _extends({\n      ref: this.handleRef\n    }, a));\n    var o = {\n      onFocus: this.onFocus,\n      onBlur: this.onBlur\n    };\n    return this.maskOptions.mask && (a.disabled || a.readOnly || (o.onChange = this.onChange, o.onPaste = this.onPaste, o.onMouseDown = this.onMouseDown), null != a.value && (o.value = this.value)), t = React.cloneElement(t, o);\n  }, e;\n}(React.Component);\nmodule.exports = InputElement;"],"sourceRoot":""}