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B,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAO7C,EAAoBS,EAAEC,EAAO,EAGjCyC,EAAqBC,KAA8B,wBAAIA,KAA8B,yBAAK,GAC9FD,EAAmBjI,QAAQ4H,EAAqBO,KAAK,KAAM,IAC3DF,EAAmBxJ,KAAOmJ,EAAqBO,KAAK,KAAMF,EAAmBxJ,KAAK0J,KAAKF,G,KCnDvF,IAAIG,EAAsBtD,EAAoBS,OAAEN,EAAW,CAAC,MAAM,IAAOH,EAAoB,MAC7FsD,EAAsBtD,EAAoBS,EAAE6C,E","sources":["webpack://payorportal/webpack/runtime/chunk loaded","webpack://payorportal/./Content/app/ts/views/case.clinicalevaluations/details-exposed.ts","webpack://payorportal/./Content/app/ts/views/case.documents-exposed.ts","webpack://payorportal/./Content/app/ts/views/index-exposed.ts","webpack://payorportal/./Content/app/ts/views/users-exposed.ts","webpack://payorportal/./Content/app/ts/main.ts","webpack://payorportal/./Content/app/ts/util/clearinputs.ts","webpack://payorportal/./Content/app/ts/util/showhide.ts","webpack://payorportal/./Content/app/ts/views/case.clinicalevaluations/details.ts","webpack://payorportal/./Content/app/ts/views/case.documents.ts","webpack://payorportal/./Content/app/ts/views/users.ts","webpack://payorportal/external var \"jQuery\"","webpack://payorportal/external var \"ko\"","webpack://payorportal/webpack/bootstrap","webpack://payorportal/webpack/runtime/compat get default export","webpack://payorportal/webpack/runtime/define property getters","webpack://payorportal/webpack/runtime/global","webpack://payorportal/webpack/runtime/hasOwnProperty shorthand","webpack://payorportal/webpack/runtime/make namespace object","webpack://payorportal/webpack/runtime/node module decorator","webpack://payorportal/webpack/runtime/jsonp chunk loading","webpack://payorportal/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var ___EXPOSE_LOADER_IMPORT___ = require(\"-!../../../../../node_modules/ts-loader/index.js!./details.ts\");\nvar ___EXPOSE_LOADER_GET_GLOBAL_THIS___ = require(\"../../../../../node_modules/expose-loader/dist/runtime/getGlobalThis.js\");\nvar ___EXPOSE_LOADER_GLOBAL_THIS___ = ___EXPOSE_LOADER_GET_GLOBAL_THIS___;\n___EXPOSE_LOADER_GLOBAL_THIS___[\"page\"] = ___EXPOSE_LOADER_IMPORT___;\nmodule.exports = ___EXPOSE_LOADER_IMPORT___;\n","var ___EXPOSE_LOADER_IMPORT___ = require(\"-!../../../../node_modules/ts-loader/index.js!./case.documents.ts\");\nvar ___EXPOSE_LOADER_GET_GLOBAL_THIS___ = require(\"../../../../node_modules/expose-loader/dist/runtime/getGlobalThis.js\");\nvar ___EXPOSE_LOADER_GLOBAL_THIS___ = ___EXPOSE_LOADER_GET_GLOBAL_THIS___;\n___EXPOSE_LOADER_GLOBAL_THIS___[\"page\"] = ___EXPOSE_LOADER_IMPORT___;\nmodule.exports = ___EXPOSE_LOADER_IMPORT___;\n","var ___EXPOSE_LOADER_IMPORT___ = require(\"-!../../../../node_modules/ts-loader/index.js!./index.ts\");\nvar ___EXPOSE_LOADER_GET_GLOBAL_THIS___ = require(\"../../../../node_modules/expose-loader/dist/runtime/getGlobalThis.js\");\nvar ___EXPOSE_LOADER_GLOBAL_THIS___ = ___EXPOSE_LOADER_GET_GLOBAL_THIS___;\n___EXPOSE_LOADER_GLOBAL_THIS___[\"page\"] = ___EXPOSE_LOADER_IMPORT___;\nmodule.exports = ___EXPOSE_LOADER_IMPORT___;\n","var ___EXPOSE_LOADER_IMPORT___ = require(\"-!../../../../node_modules/ts-loader/index.js!./users.ts\");\nvar ___EXPOSE_LOADER_GET_GLOBAL_THIS___ = require(\"../../../../node_modules/expose-loader/dist/runtime/getGlobalThis.js\");\nvar ___EXPOSE_LOADER_GLOBAL_THIS___ = ___EXPOSE_LOADER_GET_GLOBAL_THIS___;\n___EXPOSE_LOADER_GLOBAL_THIS___[\"page\"] = ___EXPOSE_LOADER_IMPORT___;\nmodule.exports = ___EXPOSE_LOADER_IMPORT___;\n","import $ from 'jquery';\r\nimport { Wireup, ListView } from 'rustig';\r\nimport { ClearInputs } from \"./util/clearinputs\";\r\nimport { ShowHide } from './util/showhide';\r\n\r\nimport './views/index'; // note: load all scripts from views directory to match previous behavior\r\n\r\ndeclare global {\r\n interface Window {\r\n Rustig: any;\r\n }\r\n}\r\n\r\n$(function () {\r\n var app = new Wireup();\r\n\r\n app.push(ShowHide.wireup, $.fn.showhide);\r\n\r\n app.execute()\r\n\r\n ClearInputs.Wireup();\r\n window.Rustig.ListView = ListView;\r\n});\r\n","import { Element } from 'rustig';\r\nimport $ from 'jquery';\r\n\r\nexport class ClearInputs {\r\n public static Wireup() {\r\n $(document).on('click', '[data-clear]', function () {\r\n let $button = $(this);\r\n let key = $button.data('clear');\r\n\r\n $('[data-clear-target*=\\'' + key + '\\']').each(function (i, e) {\r\n new Element($(e)).value(null);\r\n });\r\n $button.addClass('display-none');\r\n });\r\n\r\n let onChange = function ($target: JQuery) {\r\n let keys = ($target.data('clear-target')).split(',');\r\n\r\n if (new Element($target).value())\r\n keys.forEach(x => $('clear'.asDataSelector(x)).removeClass('display-none'));\r\n else {\r\n keys.forEach(function (x) {\r\n let $element = $('clear'.asDataSelector(x));\r\n let someInputStillHasValue = false;\r\n\r\n $('[data-clear-target*=\"' + $element.data('clear') + '\"]').each(function (i, e) {\r\n if (new Element($(e)).value())\r\n someInputStillHasValue = true;\r\n });\r\n\r\n if (!someInputStillHasValue)\r\n $element.addClass('display-none')\r\n });\r\n }\r\n }\r\n\r\n $(document).on('change', '[data-clear-target]', function () {\r\n let $target = $(this);\r\n onChange($target);\r\n });\r\n\r\n $(document).on('clear-inputs-refresh', function () {\r\n let $elements = $('[data-clear-target]');\r\n $elements.each(function () {\r\n onChange($(this));\r\n });\r\n });\r\n\r\n }\r\n}\r\n","import $ from 'jquery';\r\n\r\nexport class ShowHide {\r\n public static get wireup(): string { return 'showhide'.asDataSelector(); }\r\n\r\n private defaults: IShowHideOptions = {\r\n selector: null,\r\n alternateText: null,\r\n shouldShow: false,\r\n context: $(document)\r\n };\r\n private showText: string;\r\n private hideText: string;\r\n\r\n constructor(private $element: JQuery, private options: IShowHideOptions) {\r\n this.options = $.extend({}, this.defaults, this.options, this.$element.data());\r\n \r\n this.validate();\r\n if (typeof this.options.context === 'string')\r\n this.options.context = $(this.options.context);\r\n this.options.shouldShow = this.$element.hasClass('showhide-toggled');\r\n this.showText = this.options.shouldShow ? this.$element.text() : this.options.alternateText;\r\n this.hideText = this.options.shouldShow ? this.options.alternateText : this.$element.text();\r\n }\r\n\r\n public toggle(): void {\r\n this.toggleShouldShow();\r\n this.apply();\r\n }\r\n\r\n public apply($context?: JQuery): void {\r\n var $originalContext = this.options.context;\r\n try {\r\n if ($context) {\r\n this.options.context = $context;\r\n }\r\n this.setContentVisibility();\r\n this.setText();\r\n this.setClass();\r\n }\r\n finally {\r\n this.options.context = $originalContext;\r\n }\r\n }\r\n\r\n private validate() {\r\n if (this.$element.length == 0)\r\n throw new Error(\"$element is required\");\r\n if (this.options.selector == null)\r\n throw new Error(\"selector is required\");\r\n }\r\n\r\n private setContentVisibility() {\r\n var $elements = $(this.options.selector, this.options.context);\r\n if (this.options.shouldShow == true) {\r\n this.options.animation == 'slide' ? $elements.slideDown(200) : $elements.show();\r\n }\r\n else {\r\n this.options.animation == 'slide' ? $elements.slideUp(200) : $elements.hide();\r\n }\r\n $elements.trigger(\"visibilitychanged.pb\");\r\n }\r\n\r\n private setText() {\r\n if (!this.options.alternateText)\r\n return;\r\n\r\n if (this.options.shouldShow) {\r\n this.$element.text(this.showText);\r\n }\r\n else {\r\n this.$element.text(this.hideText);\r\n }\r\n }\r\n\r\n private toggleShouldShow() {\r\n this.options.shouldShow = !this.options.shouldShow;\r\n }\r\n\r\n private setClass() {\r\n this.$element.toggleClass(\"showhide-toggled\", this.options.shouldShow);\r\n }\r\n}\r\n\r\nexport interface IShowHideOptions {\r\n selector: string;\r\n alternateText?: string;\r\n shouldShow?: boolean;\r\n context?: JQuery;\r\n animation?: string;\r\n}\r\n\r\n$(document).on('click.pb.showhide', '[data-showhide]', function (e) {\r\n var $target = $(e.target);\r\n var isLink = $target.is('a') && $target.attr('href') != null;\r\n var isRemote = $target.data('remote') || $target.parent().data('remote');\r\n var areWeTryingToGoSomewhere = isLink || isRemote;\r\n\r\n if (!areWeTryingToGoSomewhere) {\r\n e.preventDefault();\r\n $(this).showhide('toggle');\r\n }\r\n});\r\n\r\n// PLUGIN DEFINITION\r\n// =========================\r\nfunction Plugin(option, args) {\r\n return this.each(function () {\r\n var $this = $(this);\r\n var data = $this.data('pb.showhide');\r\n var options = typeof option == 'object' && option;\r\n\r\n if (!data) {\r\n data = new ShowHide($this, options);\r\n $this.data('pb.showhide', data);\r\n }\r\n if (typeof option == 'string')\r\n data[option](args);\r\n });\r\n}\r\n\r\n$.fn.showhide = Plugin;\r\n\r\ndeclare global {\r\n interface JQuery {\r\n showhide: (option, args?) => any;\r\n }\r\n}\r\n\r\nexport default ShowHide;","import $ from 'jquery';\r\nimport { Url } from 'rustig';\r\n\r\n$(function () {\r\n $(document).on('click.rustig.tabs', '[data-tab]', function () {\r\n let tabId = $(this).data('tab');\r\n\r\n let setQueryParameter = function ($element: JQuery) {\r\n if ($element.length && $element.data('url')) {\r\n let url = new Url($element.data('url'))\r\n .setQueryParameter('selectedTab', tabId)\r\n .toUrl();\r\n $element.data('url', url);\r\n }\r\n };\r\n\r\n setQueryParameter($('[data-prior-eval]'));\r\n setQueryParameter($('[data-next-eval]'));\r\n });\r\n});","import $ from 'jquery';\r\nimport { Modal, FileInput } from 'rustig';\r\n\r\n$(() => {\r\n $(\".case-documents-drop-container\").fileDragAndDrop({\r\n onFileDrop: function ($dropArea, files, e) {\r\n $dropArea.removeClass('over');\r\n\r\n if (files[1] != null) {\r\n Modal.openErrorModal(\"Only one document may be uploaded at a time.\");\r\n return;\r\n }\r\n\r\n FileInput.storeDroppedFile({ file: files[0] });\r\n\r\n var $form = $('[data-file-drop]');\r\n $form.find('#filename').val(files[0].name);\r\n $form.find('#length').val(files[0].size);\r\n $form.remote();\r\n }\r\n });\r\n}); ","import $ from 'jquery';\r\nimport { Alert, Modal } from 'rustig';\r\n\r\nmodule Cp.Views {\r\n export class Users {\r\n public static refreshAccountStatus(data) {\r\n var $confirmModal = $('[data-modal-id=\"confirmation-modal\"');\r\n if ($confirmModal.length != 0) {\r\n Modal.close();\r\n }\r\n $('[data-modal-id=\"user-modal\"] .field-account-status').html(data.html);\r\n Alert.flash(data.alertMessage);\r\n }\r\n }\r\n}","module.exports = jQuery;","module.exports = ko;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t333: 0,\n\t607: 0,\n\t666: 0,\n\t690: 0,\n\t792: 0,\n\t838: 0,\n\t986: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkpayorportal\"] = self[\"webpackChunkpayorportal\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [121], () => (__webpack_require__(96)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","___EXPOSE_LOADER_IMPORT___","module","exports","app","Wireup","push","wireup","showhide","execute","window","Rustig","ListView","document","on","$button","this","key","data","each","i","e","Element","value","addClass","onChange","$target","keys","split","forEach","x","asDataSelector","removeClass","$element","someInputStillHasValue","options","defaults","selector","alternateText","shouldShow","context","validate","hasClass","showText","text","hideText","toggle","toggleShouldShow","apply","$context","$originalContext","setContentVisibility","setText","setClass","length","Error","$elements","animation","slideDown","show","slideUp","hide","trigger","toggleClass","target","isLink","is","attr","isRemote","parent","preventDefault","option","args","$this","ShowHide","tabId","setQueryParameter","url","Url","toUrl","fileDragAndDrop","onFileDrop","$dropArea","files","FileInput","storeDroppedFile","file","$form","find","val","name","size","remote","Modal","openErrorModal","Cp","Views","refreshAccountStatus","close","html","Alert","flash","alertMessage","Users","jQuery","ko","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","id","loaded","__webpack_modules__","call","m","O","result","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","every","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","Function","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","children","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","__webpack_exports__"],"sourceRoot":""}