{"version":3,"sources":["utils.js","hooks/signature-focus-context.js","components/patient-elements/text-input.js","components/patient-elements/label.js","components/ui/button.js","components/patient-elements/signature-input.js","components/patient-elements/initials-input.js","components/patient-elements/checkbox-input.js","components/patient-elements/radio-group-input.js","hooks/use-modal.js","components/ui/modal/index.js","components/ui/loading/index.js","hooks/use-font-loader.js","components/patient-signature/verify-patient.jsx","components/patient-signature/index.js","components/patient-controls/index.js","components/form-validation.js","components/sign-document/sign-document.js","components/error-view/index.js","components/sign-document/index.js","components/print-view/print-view.jsx","components/print-view/index.js","redux/template-info.js","hooks/useTokenValidation.js","components/create-template/index.js","development.js","redux/layout.js","components/form-elements/controls.js","hooks/use-hover.js","hooks/use-resize.js","components/ui/input.js","components/ui/field.js","components/form-elements/text-element.js","components/form-elements/label-element.js","components/form-elements/signature-element.js","components/form-elements/initials-element.js","components/form-elements/checkbox-element.js","components/form-elements/radio-group-element.js","components/form-elements/element-defaults.js","hooks/useFormControlDrag.js","components/template-editor/form-controls/index.js","components/form-item.js","components/template-editor/template-workspace/index.js","components/template-editor/index.js","components/template-preview/index.js","components/copy-template/index.js","components/not-authorized/index.js","components/error-page/index.js","components/OldSignatureUrlHandler.jsx","assets/images/404-error.png","components/not-found/index.jsx","app.js","serviceWorkerRegistration.js","reportWebVitals.js","redux/store.js","index.js"],"names":["sortByPosition","items","R","pos","Math","floor","y","x","scrollToElement","element","container","document","getElementById","rec","getBoundingClientRect","scrollToTop","scrollTop","top","scrollToLeft","scrollLeft","left","focus","scrollTo","behavior","SignatureFocusContext","React","createContext","useSignatureFormFocus","layout","formElements","type","elms","map","index","id","indexedEls","useState","focusedEl","setFocusedEl","focusNextElement","focusPrevElement","focusElement","nextElement","useFieldFocus","useContext","isFocused","TextInput","size","attributes","printView","useFormikContext","values","handleChange","handleBlur","elemRef","useRef","useEffect","current","className","style","width","absoluteWidth","height","absoluteHeight","margin","absoluteTop","absoluteLeft","onClick","underline","background","paddingLeft","paddingRight","ref","onBlur","placeholder","placeHolder","onFocus","e","name","value","onChange","defaultProps","Label","fontSize","color","Button","children","rest","SignatureInput","signatureData","triggerSignature","coachIsSigning","setFieldValue","paddingTop","opacity","src","alt","backgroundSize","display","visible","InitialsInput","initials","justifyContent","flex","alignItems","CheckBoxInput","checked","target","label","RadioGroupInput","text","htmlFor","useModal","initialStatus","showModal","setShowModal","toggle","Modal","isShowing","hide","fullscreen","ReactDOM","createPortal","Fragment","tabIndex","role","body","Loading","font1","FontFaceObserver","font2","font3","useFontLoader","fontsLoaded","setFontsLoaded","Promise","all","loaded","then","validateTokenAndDob","token","dateOfBirth","fetch","method","headers","Authorization","JSON","stringify","response","ok","json","result","VerifyPatient","dateStr","setPatientIsVerified","location","useLocation","numberOfAttempts","setNumberOfAttempts","tokenString","queryString","parse","search","dob","setDob","isLoading","setIsLoading","errorMsg","setErrorMsg","flexDirection","textAlign","required","disabled","isNaN","Date","length","Error","message","PatientSignature","patientIsVerified","sigCanvas","clear","formValues","touched","errors","signatureRequired","setSignatureRequired","generateSignature","fontFamily","canvas","getCanvas","ctx","getContext","beginPath","font","textBaseline","fillStyle","fillText","stroke","autoGeneratedSig","setAutoGeneratedSig","off","on","patient_name","patient_initials","initialsFromName","s","undefined","names","split","substring","toUpperCase","getInitials","canvasProps","clearOnResize","getImageData","data","some","channel","isCanvasBlank","imgUrl","getTrimmedCanvas","toDataURL","timestamp","now","toLocaleString","setTimeout","console","error","verifyPatient","PatientFormControls","dmePreview","onCancel","pageCount","setCurrentPage","currentPage","handleSubmit","validateForm","isValid","fieldError","prop","fieldTouched","initialItemFocused","setInitialItemFocused","activeElement","elm","nextError","getNextError","generateValidationSchema","layoutValidation","filter","propEq","reduce","acc","assoc","Yup","getErrorMsg","shape","min","max","signature","SignDocumentScreen","handleSave","templateInfo","initialValues","coachSignature","signedByCoach","log","content","zoom","setZoom","template_id","files","imgLoaded","setImgLoaded","isFromEmailOrSMS","origin","Provider","signed_date","validationSchema","onSubmit","transform","visibility","onLoad","draggable","position","zIndex","userSelect","page","ErrorPage","errorMessage","goBack","padding","SignPatientDocument","history","useHistory","params","setLayout","templateInfoApi","useQuery","push","pathname","state","showBackBtn","layoutApi","templateSignedByCoachApi","signature_id","fetchCoachSignedLayoutApi","isError","isSignedByCoach","lay","fetchData","saveSignatureApi","useMutation","layoutWithValues","String","title","description","pick","coach","Accept","bulk","bulk_signatures","isFetching","isSuccess","minHeight","lineHeight","fontWeight","marginBottom","window","close","mutate","preview","PrintSignedDocumentScreen","enableReinitialize","PrintDocumentView","setInitialValues","signedLayoutApi","coachSignedLayoutApi","initValues","prev","cur","createSlice","initialState","fileName","pages","reducers","setTemplateInfo","payload","actions","selectTemplateInfo","validateUserToken","useTokenValidation","decodeToken","isAuthorized","setIsAuthorized","checkToken","btoa","browserHistory","UploadDocumentSchema","yup","file","isRequired","CreateSignatureTemplate","dispatch","useDispatch","setError","uploadSignatureTemplateApi","formData","FormData","append","company","isSubmitting","Form","minWidth","border","borderRadius","Field","marginTop","accept","Dimmer","active","Loader","primary","Development","inputs","setInputs","createTemplateLink","editTemplateLink","signSignatureLink","overflow","gridTemplateColumns","gridGap","to","layoutItems","clearLayout","moveFormItem","assocPath","updateFormItemAttributes","resizeFormItem","indexBy","addFormItem","updateFormItem","deleteFormItem","dissoc","selectLayout","createSelector","_","ElementControls","handleDelete","EditComponent","showControls","right","marginRight","Group","icon","Icon","negative","useHover","hovered","setHovered","handleMouseOver","useCallback","handleMouseOut","node","removeEventListener","addEventListener","useResize","initialSize","setSize","getSize","currentSize","elSize","deltaHeight","deltaWidth","onResize","event","handle","onResizeStop","newSize","Input","props","TextElement","origSize","isHovered","assigned_to_coach","resizeHandles","minConstraints","maxConstraints","readOnly","LabelElement","setWidth","inputShadowRef","offsetWidth","theWidth","SignatureElement","lockAspectRatio","InitialsElement","borderBottom","CheckBoxElement","RadioGroupElement","defaultValue","updatedElms","el","elIndex","elementDefaults","TEXT","LABEL","SIGNATURE","COACH_SIGNATURE","DATE","INITIALS","CHECKBOX","RADIO_GROUP","useFormControlDrag","dropZone","selectedControl","setSelectedControl","setActive","started","setStarted","useSelector","onDrop","bounds","OFFSETS","clientX","clientY","getRelativeCoords","uuidv4","onDragStart","taskName","dataTransfer","effectAllowed","setData","onDragOver","preventDefault","onDragEnd","clientPos","onDragLeave","FormControls","signaturesAdded","setSignaturesAdded","previewTemplate","setPreviewTemplate","saveSignatureFormLayoutApi","patients","coachSignatureExists","find","patientSignatureExists","maxHeight","alert","FormItem","handleDrag","ui","deltaPosition","setState","deltaX","deltaY","onStart","onStop","round","onControlledDrag","controlledPosition","onControlledDragStop","dragHandlers","this","onDrag","PureComponent","connect","TemplateWorkspace","forwardRef","dropZoneRef","currentImgUrl","item","TemplateEditor","TemplateLoader","metaResponse","metaData","layoutResponse","layoutData","enabled","Object","keys","TemplatePreview","CopyDocumentSchema","CopySignatureTemplate","copySignatureTemplateApi","NotAuthorized","justifyItems","maxWidth","OldSignatureUrlHandler","decodedToken","atob","urlParams","html_document_template_id","assignment_id","NotFound","class","NotFoundImage","queryClient","QueryClient","defaultOptions","queries","retry","refetchOnWindowFocus","App","client","path","component","CreateTemplate","SignDocument","exact","Component","displayName","Boolean","hostname","match","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","configureStore","reducer","layoutReducer","template_info","templateInfoReducer","rootElement","createBrowserHistory","render","store","navigator","serviceWorker","ready","registration","unregister","catch"],"mappings":"suBAoBaA,EAAiB,SAAAC,GAC5B,OAAOC,IAAW,CAChBA,KAAS,gBAAGC,EAAG,EAAHA,IAAG,OAAOC,KAAKC,MAAMF,EAAIG,EAAI,GAAG,IAC5CJ,KAAS,gBAAGC,EAAG,EAAHA,IAAG,OAAOC,KAAKC,MAAMF,EAAII,EAAE,KAFlCL,CAGJD,EACL,EAOaO,EAAkB,SAAAC,GAC7B,IAAIC,EAAYC,SAASC,eAAe,wBAGpCC,EAAMJ,EAAQK,wBACZC,EAAcL,EAAUM,UAAYH,EAAII,IAH3B,IAIbC,EAAeR,EA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,GAAM,SACrB,cAAC,IAAM,CAAC3S,QAASgE,GAAe,SAC9B,cAAC,GAAG,QAGRwO,IH2GI,kBAAmBI,WACrBA,UAAUC,cAAcC,MACrB1c,MAAK,SAAC2c,GACLA,EAAaC,YACf,IACCC,OAAM,SAACnX,GACND,QAAQC,MAAMA,EAAMnD,QACtB,IGvGNgZ,I","file":"static/js/main.0c88bb5a.chunk.js","sourcesContent":["import * as R from \"ramda\";\n\nexport const getInitials = s => {\n if (s === undefined) {\n return \"\";\n } else {\n const names = s.split(\" \");\n let initials = names[0].substring(0, 1).toUpperCase();\n if (names.length > 2) {\n initials += names[names.length - 2].substring(0, 1).toUpperCase();\n initials += names[names.length - 1].substring(0, 1).toUpperCase();\n } else if (names.length > 1) {\n initials += names[names.length - 1].substring(0, 1).toUpperCase();\n }\n return initials;\n }\n};\n\n// janky sort, idea was to give abituary weights primary left to right and don't look at specific pixes but sections of pages\n// so it follows more of a natural reading pattern\nexport const sortByPosition = items => {\n return R.sortWith([\n R.ascend(({ pos }) => Math.floor(pos.y / 10)),\n R.ascend(({ pos }) => Math.floor(pos.x))\n ])(items);\n};\n\nexport const getNextError = (formElements, errors) =>\n R.find(({ id }) => {\n return !!R.prop(id, errors);\n })(formElements);\n\nexport const scrollToElement = element => {\n var container = document.getElementById(\"form-builder-preview\");\n const OFFSET_TOP = 100;\n const OFFSET_LEFT = 50;\n var rec = element.getBoundingClientRect();\n const scrollToTop = container.scrollTop + rec.top - OFFSET_TOP;\n const scrollToLeft = container.scrollLeft + rec.left - OFFSET_LEFT;\n element.focus();\n container.scrollTo({\n top: scrollToTop,\n left: scrollToLeft,\n behavior: \"smooth\"\n });\n};\n","import React from \"react\";\nimport * as R from \"ramda\";\nimport { sortByPosition } from \"../utils\";\n\nconst SignatureFocusContext = React.createContext();\n\nexport default SignatureFocusContext;\n\nexport const useSignatureFormFocus = (layout = []) => {\n const formElements = R.pipe(\n sortByPosition,\n R.filter(({ type }) => type !== \"LABEL\"),\n elms => elms.map(({ id, pos }, index) => ({ id, pos, index }))\n )(layout);\n const indexedEls = R.indexBy(R.prop(\"id\"), formElements);\n const [focusedEl, setFocusedEl] = React.useState({ index: -1, id: null });\n const focusNextElement = () => {\n const nextElm = formElements[focusedEl.index + 1];\n if (nextElm) setFocusedEl(formElements[focusedEl.index + 1]);\n };\n const focusPrevElement = () => {\n const nextElm = formElements[focusedEl.index - 1];\n if (nextElm) setFocusedEl(formElements[focusedEl.index - 1]);\n };\n const focusElement = id => {\n if (id !== false) {\n setFocusedEl({ id: null, index: focusedEl.index });\n const nextElement = R.prop(id, indexedEls);\n if (nextElement) {\n setFocusedEl(nextElement);\n }\n }\n };\n return {\n focusedEl,\n focusNextElement,\n focusPrevElement,\n focusElement,\n formElements\n };\n};\n\nexport const useFieldFocus = ({ id }) => {\n const { focusedEl, focusElement } = React.useContext(SignatureFocusContext);\n return {\n focusElement,\n focusedEl,\n isFocused: focusedEl.id === id\n };\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useFieldFocus } from \"../../hooks/signature-focus-context\";\nimport { useFormikContext } from \"formik\";\nimport { scrollToElement } from \"../../utils\";\nimport \"./text-input.scss\";\n\nconst TextInput = ({ type, id, pos, size, attributes, index, printView }) => {\n const { focusElement, isFocused } = useFieldFocus({\n id,\n attributes\n });\n const { values, handleChange, handleBlur } = useFormikContext();\n const elemRef = React.useRef();\n React.useEffect(() => {\n if (isFocused && elemRef && elemRef.current) {\n scrollToElement(elemRef.current);\n }\n }, [isFocused]);\n return (\n
Paperwork can be no fun
\n\n Please close this window.\n
\n \n\n Please close this window.\n
\n \n* Coach and patient signatures are required
\n )}\n\n Please close this window.\n
\n \n\n