{"version":3,"sources":["config/development.js","config/model.js","config/production.js","config/sandbox.js","common-icon/logout.svg","logo_color.svg","common-icon/admin.svg","common-icon/admin_grey.svg","common-icon/user.svg","common-icon/user_white.svg","services/auth.js","HeaderPage.js","common-icon/assurant-logo-footer-bw.svg","common-icon/ssl-secure-footer.svg","common-icon/assurant-logo.svg","pages/term-conditions/term-conditions.js","FooterPage.js","hocs/withSuspense.js","routes/config.js","routes/privateRoute.js","routes/Route.js","App.js","components/configLoader.js","index.js","services/navigation.js","services/storage.js","config-okta.js","apiFactory.js","services/network.js","config/index.js"],"names":["baseurl","isLogin","LocalStorageService","get","checkRole","role","groups","indexOf","checkAllExternalRoles","HeaderPage","props","adminImg","history","useHistory","location","useLocation","React","useState","SetMessage","useOktaAuth","oktaAuth","authState","adminClass","pathname","admin","admin_grey","showAdminRoute","isLoginPage","className","onClick","push","src","logo","alt","Tooltip","title","placement","arrow","PopperProps","disablePortal","LogoutIcon","clearAll","signOut","Button","TermConditions","Dialog","open","show","onClose","showTermConditions","style","alignItems","DialogTitle","id","DialogContent","width","DialogContentText","AssurantLogo","textAlign","fontWeight","fontSize","margin","height","overflow","href","rel","target","class","color","float","paddingBottom","FooterPage","setModel","Fragment","AssurantFooterLogo","SSLFooterLogo","withSuspence","WrappedComponent","fallback","CircularProgress","Outage","lazy","OfflineRating","AdminPage","PageNotFound","LoginPage","routeConfig","path","component","redirect","isPrivate","PrivateRoute","Component","rest","set","isAuth","render","to","CustomRoute","map","index","restRouteProps","exact","App","origin","NavigationService","getLocation","restoreOriginalUri","originalUri","a","replace","toRelativeUrl","onAuthRequired","OktaAuth","config","pkce","clientId","redirectUri","issuer","scopes","Route","ConfigLoader","state","isLoaded","load","then","setState","this","ready","loading","WebFont","google","families","ReactDOM","StrictMode","document","getElementById","window","reload","key","localStorage","getItem","data","setItem","removeItem","clear","filename","fetch","result","json","newconfig","prop","apiFactory","axios","create","baseURL","timeout","redirectOnBasisOfPathName","updateLocation","requestHandler","request","headers","Authorization","oktaTokenStorage","value","accessToken","JSON","parse","remove","acessTokenVavlue","CorrelationId","uuid","errorHandler","error","response","status","Promise","reject","interceptors","use","responseHandler","NetworkService","url","params","api","body","post","put","delete","development","require","model","production","sandbox","module","exports"],"mappings":"0cAAA,OAAe,WACXA,QAAU,0B,iCCDd,OAAe,WACVA,QAAU,wD,iCCDf,OAAe,WACVA,QAAU,kD,iCCDf,OAAe,WACXA,QAAU,6D,uPCDC,MAA0B,mCCA1B,MAA0B,uCCA1B,MAA0B,kCCA1B,MAA0B,uC,GCA1B,I,SCAA,I,eCEFC,EAAU,WACrB,QAAIC,IAAoBC,IAAI,uBAKjBC,EAAY,WAAmB,IAAlBC,EAAiB,uDAAZ,QAEvBC,EAASJ,IAAoBC,IAAI,WAAa,GACpD,OAAOG,EAAOC,QAAQF,IAAS,GAUpBG,EAAwB,WACnC,OAAOJ,EAAU,kCAAoCA,EAAU,+B,gBCiGlDK,EAzGI,SAACC,GAClB,IAWIC,EAXEC,EAAUC,cACZC,EAAWC,cACf,EAAkCC,IAAMC,UAAS,GAAjD,mBAAoBC,GAApB,WAEA,EAAgCC,cAAbC,GAAnB,EAAQC,UAAR,EAAmBD,UAEfE,EAAa,YAMQ,UAArBR,EAASS,UACXD,GAAc,WACG,eACjBX,EAAWa,IAGE,WACG,cAChBb,EAAWc,GAIb,IAmBMC,EAAuC,oBAAtBZ,EAASS,SAE1BI,GAAe1B,KAAmC,WAAtBa,EAASS,SAE3C,OACE,mCACII,EAkDE,KAjDF,wBAAQC,UAAU,aAAlB,SACE,sBAAKA,UAAU,cAAf,UACE,sBAAMA,UAAU,WAAhB,SACE,qBACEA,UAAU,aACVC,QAAS,kBAAMjB,EAAQkB,KAAK,MAC5BC,IAAKC,EACLC,IAAI,WAKPhC,IACC,qCACE,sBAAM2B,UAAU,eAAhB,SACE,cAACM,EAAA,EAAD,CACEC,MAAM,SACNC,UAAU,OACVC,OAAK,EACLC,YAAa,CACXC,eAAe,GALnB,SAQE,qBACEX,UAAU,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AA3BsJ,EAAMC,SAASC,SACd7K,IAAoBsK,OAAO,sBAC3BX,EAA0BtI,IAEvByJ,QAAQC,OAAOJ,IAG1BrB,EAAW0B,aAAalB,QAAQmB,KAC5B,SAACnB,GAAD,OAAaD,EAAeC,MAC5B,SAACa,GAAD,OAAWD,EAAaC,MAG5BrB,EAAW0B,aAAaJ,SAASK,KAC7B,SAACL,GAAD,OAxBoB,SAAAA,GACpB,IAAQvJ,EAAakF,IAAkBC,cAA/BnF,SAKR,OAJwB,MAApBuJ,EAASC,SACT7K,IAAoBsK,OAAO,sBAC3BX,EAA0BtI,IAEvBuJ,EAkBOM,CAAgBN,MAC9B,SAACD,GAAD,OAAWD,EAAaC,MAIbrB,QCvET6B,E,mIACJ,WAAqBC,EAAKC,GAA1B,mGAEWC,EAAIrL,IAAImL,EAAKC,IAFxB,mG,sHAQA,WAAsBD,EAAKG,GAA3B,mGAEWD,EAAIE,KAAKJ,EAAKG,IAFzB,mG,wHAQA,WAAwBH,EAAKxC,GAA7B,mGAEW0C,EAAIG,IAAIL,EAAKxC,IAFxB,mG,wHASA,WAAwBwC,EAAKxC,GAA7B,mGAEW0C,EAAII,OAAON,EAAKxC,IAF3B,mG,gEAWauC,O,mBCvCf,IAEInE,EAAS,CACX2E,YAAaC,EAAQ,KACrBC,MAAOD,EAAQ,KACfE,WAAYF,EAAQ,KACpBG,QAASH,EAAQ,MAEnBI,EAAOC,QAAUjF,EAAM,Q","file":"static/js/main.394fb058.chunk.js","sourcesContent":["export default {\n baseurl : 'http://localhost:3001'\n}","export default {\n baseurl : 'https://model-api.assurantautoratingdr.assurant.com'\n };\n ","export default {\n baseurl : 'https://api.assurantautoratingdr.assurant.com'\n}","export default {\n baseurl : 'https://app-centralus-dev-ratingdr-api.azurewebsites.net'\n}","export default __webpack_public_path__ + \"static/media/logout.67fbebcd.svg\";","export default __webpack_public_path__ + \"static/media/logo_color.140a48c9.svg\";","export default __webpack_public_path__ + \"static/media/admin.9cb578e1.svg\";","export default __webpack_public_path__ + \"static/media/admin_grey.a990b101.svg\";","export default __webpack_public_path__ + \"static/media/user.2402af97.svg\";","export default __webpack_public_path__ + \"static/media/user_white.ca97b964.svg\";","import LocalStorageService from \"./storage\";\n\nexport const isLogin = () => {\n if (LocalStorageService.get(\"okta-token-storage\")) {\n return true;\n }\n return false;\n};\nexport const checkRole = (role=\"Admin\") => {\n //RatingDR AppRole_Admin / GL-Okta-AutoHub-AppRole-RatingDR_Admin-Dev\n const groups = LocalStorageService.get(\"groups\") || [];\n return groups.indexOf(role) > -1;\n};\n\nexport const shouldAllowAdminAccess = () => {\n if(checkAllExternalRoles()) {\n return checkRole(\"Admin\");\n }\n return true;\n}\n\nexport const checkAllExternalRoles = () => {\n return checkRole(\"AutoHub AppRole_User_External\") || checkRole(\"Global Auto External Users\");\n}","import React from \"react\";\nimport Button from \"@material-ui/core/Button\";\nimport LogoutIcon from \"./common-icon/logout.svg\";\nimport logo from \"./logo_color.svg\";\nimport admin from \"./common-icon/admin.svg\";\nimport admin_grey from \"./common-icon/admin_grey.svg\";\nimport user from \"./common-icon/user.svg\";\nimport { useHistory, useLocation } from \"react-router-dom\";\nimport user_white from \"./common-icon/user_white.svg\";\nimport { useOktaAuth } from \"@okta/okta-react\";\nimport LocalStorageService from \"./services/storage\";\nimport { checkRole, isLogin } from \"./services/auth\";\nimport { Tooltip } from \"@material-ui/core\";\n\nconst HeaderPage = (props) => {\n const history = useHistory();\n let location = useLocation();\n const [showMessage, SetMessage] = React.useState(false);\n\n const { authState, oktaAuth } = useOktaAuth();\n\n let adminClass = \"admin-btn\";\n let userClass = \"user-button\";\n let userBtnClass;\n let adminBtnClass;\n let userbutton;\n let adminImg, userImg;\n if (location.pathname == \"/admin\") {\n adminClass += \" blackBG\";\n adminBtnClass += \" user-button\";\n adminImg = admin;\n userImg = user;\n } else {\n userClass += \" blackBG\";\n userBtnClass += \" blackColor\";\n adminImg = admin_grey;\n userImg = user_white;\n }\n\n const redirectToAdmin = () => {\n history.push(\"/admin\"); //todo - router way of redirection without hard reload\n };\n\n const redirectToUser = () => {\n history.push(\"/\");\n };\n\n const handleClose = () => {\n SetMessage(false);\n };\n\n const logout = () => {\n LocalStorageService.clearAll();\n oktaAuth.signOut();\n SetMessage(true);\n history.push(\"/\");\n };\n\n const showAdminRoute = location.pathname !== \"/offline-rating\";\n\n const isLoginPage = !isLogin() && location.pathname === \"/login\";\n\n return (\n <>\n {!isLoginPage ? (\n
\n
\n \n history.push(\"/\")}\n src={logo}\n alt=\"logo\"\n />\n \n {/* Global Automotive */}\n\n {isLogin() ? (\n <>\n \n \n \n \n \n {checkRole('Admin') && showAdminRoute ? (\n \n \n \n ) : null}\n {/* \n \n */}\n \n ) : null}\n
\n
\n ) : null}\n \n );\n};\n\nexport default HeaderPage;\n","export default __webpack_public_path__ + \"static/media/assurant-logo-footer-bw.831a468a.svg\";","export default __webpack_public_path__ + \"static/media/ssl-secure-footer.8b1f1e02.svg\";","export default __webpack_public_path__ + \"static/media/assurant-logo.33fdc5c3.svg\";","import Dialog from \"@material-ui/core/Dialog\";\nimport DialogContent from \"@material-ui/core/DialogContent\";\nimport DialogContentText from \"@material-ui/core/DialogContentText\";\nimport DialogTitle from \"@material-ui/core/DialogTitle\";\nimport AssurantLogo from \"../../common-icon/assurant-logo.svg\";\n\nexport default function TermConditions(props) {\n return (\n
\n \n \n \n \n
\n
\n \n

Quick Quote

\n \n Terms & Conditions\n

\n
\n
\n

EFFECTIVE: October 29, 2021

\n \n IMPORTANT, READ CAREFULLY: YOUR USE OF AND ACCESS TO THE WEB\n SITE AND PRODUCTS AND SERVICES AND ASSOCIATED SOFTWARE\n (COLLECTIVELY, THE \"SERVICES\") OF COMPANY (AS DEFINED BELOW), IS\n CONDITIONED UPON YOUR COMPLIANCE WITH AND ACCEPTANCE OF THESE\n TERMS, WHICH INCLUDE YOUR AGREEMENT TO ARBITRATE CLAIMS AND TO\n WAIVE CLASS ACTIONS. PLEASE REVIEW THOROUGHLY BEFORE USING THE\n SITE.\n \n

\n Use of Site\n

\n

\n The entities listed below (collectively, “Company”, “We”, “Us”,\n or “Our”) are the providers of the Services through use of this\n Disaster Recovery Web Site (“Site”). Such Services include, but\n are not limited to, viewing and accessing reports and data, and\n certain other functionality related to systems outages. Company\n requires that each visitor (“You”, “Your”, or \"User\") to this\n Site adhere to these Terms of Use. Please read these Terms of\n Use carefully before using the Site. By accessing this Site, You\n acknowledge that You have read, understand and accept each of\n the Terms of Use. You are bound by any revisions to these Terms\n of Use and should visit this page at each visit to review the\n current Terms of Use. If You do not agree to all of these Terms\n of Use, You should not use this Site.\n

\n Company Defined\n

\n Company means the following companies and their affiliates:

\n\n

American Bankers Insurance Company of Florida American Security\n Insurance Company Assurant Service Protection, Inc. Automotive\n Warranty Services, Inc. Automotive Warranty Services of Florida,\n Inc. Consumer Program Administrators, Inc. Federal Warranty\n Service Corporation First Extended Service Corporation Motor\n Warranty Services of North America National Product Care Company\n United Service Protection Corporation United Service Protection,\n Inc. Virginia Surety Company, Inc.\n

\n\n Scope of Site\n

\n To use the Site, You must have an electronic device with access\n to the internet that is compatible with the Site. Company does\n not warrant that the Site will be compatible with Your\n electronic device. Some features are only available if You have\n created an online account with Company.\n

\n\n Access to Password Protected or Secure Areas\n

\n Access to and use of password protected or secure areas of this\n Site are restricted to authorized persons only. Any User who\n accesses or attempts to access such areas without authorization\n may be subject to prosecution.\n

\n No Warranty\n

\n Company does not warrant the accuracy or completeness of the\n information, text, graphics, links or other content contained on\n this Site or any other server. Company makes no representation\n concerning the suitability of this documentation for any\n purpose. It is provided \"as is\" without express or implied\n warranty.

\n \n Third-Party Sites, Products, and Services\n\n

This Site may contain hyperlinks to Web sites operated by parties other\n than Company and its subsidiaries solely as a convenience to\n Users. In the course of providing services related to the Site,\n We may also make recommendations with respect to third-party\n services or resources that are commonly used or popular. Company\n does not control such Web sites and is not responsible for the\n content. The inclusion of hyperlinks to such Web sites does not\n imply any endorsement, approval or certification by Company of\n the material on such Web sites or any association with their\n operators. Viewing a linked site, accessing and using the\n information, materials, products or utilizing outside services\n and resources is done entirely at Your own risk. Accordingly, We\n encourage You to be aware when You leave the Site or use a\n recommended resource or service and to read the terms and\n conditions and privacy policy of each such third-party site,\n service, or resource that You visit or use. Furthermore, We make\n no express or implied warranties with regard to the information,\n material, products or services that are contained on or\n accessible through linked sites.\n

\n Limitation of Liability\n

\n Company expressly disclaims all warranties, including, but not\n limited to, the implied warranties of merchantability, fitness\n for a particular purpose, title, non-infringement, security and\n accuracy. Information in this Site may contain inaccuracies or\n errors. Information on this Site may be changed or updated\n without notice.Company has no obligation to update information\n on this Site, so such information may be out of date at any\n given time. Company also may make improvements or changes in\n products or content described on this Site at any time without\n notice.

\n

Company will not be responsible for any damages or\n injuries that accompany or result from any use of this Site.\n Company specifically disclaims any liability (whether based in\n contract, tort, strict liability or otherwise) for any direct,\n indirect, incidental, consequential, or special damage arising\n out of or in any way connected with access to or use of this\n Site (even if Company has been advised of the possibility of any\n such damage), including any liability associated with any virus\n that may infect a User's computer equipment. Under no\n circumstances will Company be liable for any loss or damage\n caused by a User's reliance on information obtained through this\n Site. It is the sole responsibility of each User to evaluate the\n accuracy, completeness or usefulness of any information,\n opinion, advice or other content available through this Site.

\n \n No Representation as to Suitability \n \n

Company makes no representation\n as to the financial or other suitability of any product or\n service described on this Site for any User.\n

\n\n Proprietary Rights\n

\n The design, content, graphics, compilation, information,\n organization, products, content, and all other elements of the\n Site provided by Company are protected under applicable\n copyrights, trademarks, trade dress, and other proprietary\n rights, including without limitation, intellectual property\n rights. You do not acquire ownership rights to the Service, Site\n materials, or any content included therein. All Site materials\n are the property of Company or Our affiliated companies and/or\n third-party licensors. You agree not to sell, license, copy,\n modify, alter, reverse engineer, disassemble, decompile,\n translate, edit, adapt, create derivative works from, or\n otherwise make unauthorized use of the materials. You agree not\n to disclose, publicly perform or display, transmit, publish,\n distribute or provide the materials to any other party.

\n

\n Except as expressly permitted in these Terms of Use, You may not: (i)\n copy in whole or in part, modify or create derivative works\n based on the Site or Site materials; (ii) remove any proprietary\n notices or labels on the Site or Site materials; (iii) use the\n Site or Site materials in any manner or for any purpose that\n infringes, misappropriates or otherwise violates any\n intellectual property right or other right of any person or\n party, or that violates any applicable law; or (iv) use the Site\n or Site materials for any commercial or illegal purpose, or for\n any purpose not expressly permitted by these Terms of Use.\n \n Company reserves all rights not expressly granted in these Terms\n of Use. \n \n Company reserves the right to exercise whatever lawful\n means it deems necessary to prevent unauthorized or prohibited\n uses.\n

\n System Requirements. \n

Use of the Services requires one or\n more compatible devices, Internet access (fees may apply), and\n certain software (fees may apply), and may require obtaining\n updates or upgrades from time to time. Because use of the Services\n involves hardware, software, and Internet access, Your ability to\n access and use the Services may be affected by the performance of\n these factors. High speed Internet access is recommended. You\n acknowledge and agree that such system requirements, which may be\n changed from time to time, are Your responsibility.

\n \n Privacy\n

\n As part of the normal operation of Our Site, We may collect a\n limited amount of information about Your visit. For Our privacy\n policies, please refer to \n https://www.assurant.com/privacypolicy \n

\n Indemnification.\n

You agree to indemnify, defend, and hold Company, its affiliates,\n partners, agents, officers, directors, employees, subcontractors,\n successors, assigns, and third party suppliers of information\n harmless from any claims, losses, damages, liabilities, including\n legal fees and expenses, arising out of Your misuse of the Site or\n Site materials or any violation by You of these Terms of Use.\n Company reserves the right, at Your expense, to assume the\n exclusive defense and control of any matter for which You are\n required to indemnify Company, and You agree to cooperate with\n Company’s defense of these claims. Company will use reasonable\n efforts to notify You of any such claim, action, or proceeding\n upon becoming aware of it.

\n\n Usage Rules and Prohibited Conduct\n

\n YOU UNDERSTAND AND HEREBY ACKNOWLEDGE AND AGREE THAT YOU MAY NOT\n AND WARRANT THAT YOU WILL NOT:\n

\n

\n 1. use the Site or any location information displayed within the\n Site to stalk, harass, abuse, defame, threaten or defraud other\n users, or collect, attempt to collect, or store location or\n personal information about others;

\n

2. use the Site if You are under the age of 13 years old;

\n

3. use the Site for any commercial or non-private use without Company’s written consent,\n it being understood that the Site is intended for individual,\n non-commercial use only;

\n

4. use the Site for any illegal purpose, or in violation of any local, state national or\n international law, including, without limitation, laws governing\n intellectual property and other proprietary rights, data\n protection and privacy, and import or export control;

\n

5. post,store, send, transmit, or disseminate any information or\n material which a reasonable person could deem to be\n objectionable, libelous, offensive, indecent, pornographic,\n harassing, threatening, embarrassing, distressing, vulgar,\n hateful, racially or ethnically offensive, or otherwise\n inappropriate, regardless of whether this material or its\n dissemination is unlawful;

\n

6. post, store, send, transmit, or disseminate any information or material which infringes any\n patents, trademarks, trade secrets, copyrights, or any other\n proprietary or intellectual property rights;

\n

7. use the Site with any products, systems, or applications installed or\n otherwise connected to or in communication with vehicles, or\n otherwise capable of vehicle navigation, positioning, dispatch,\n real time route guidance, fleet management, or similar\n applications;

\n

8. use the Site in connection with hazardous environments requiring fail- safe performance or any application\n in which the failure or inaccuracy of that application or the\n Site could lead directly to death, personal injury, or severe\n physical or property damage;

\n

9. make unsolicited offers,advertisements, proposals, or send junk mail, to other users of\n the Site. This includes, but is not limited to, unsolicited\n advertising, promotional materials or other solicitation\n material, bulk mailing of commercial advertising, chain mail,\n informational announcements, charity requests, and petitions for\n signatures;

\n

10. impersonate any person or entity, falsely claim\n an affiliation with any person or entity, or access the Services\n accounts of other users;

\n

11. share passwords or access to Your account while the Site is running and/or accessible with any\n third party or encourage any other user to do so;

\n

12.misrepresent the source, identity or content of information\n transmitted via the Site;

\n

13. remove, circumvent, disable,damage, reverse engineer, or otherwise interfere with\n security-related features of the Site, digital rights management\n technologies that are integrated in the Site, features that\n prevent or restrict use or copying of any content accessible\n through the Site, or features that enforce limitations on use of\n the Site;

\n

14. intentionally interfere with or damage operation\n of the Site or any user's enjoyment of the Site, by any means,\n including uploading or otherwise disseminating viruses, worms,\n or other malicious code;

\n

15. attempt to gain unauthorized access to the Site, or any part of it, other accounts, computer systems\n or networks connected to the Site, or any part of it, through\n hacking, password mining or any other means or interfere or\n attempt to interfere with the proper working of the Site or any\n activities conducted on the Site;

\n

16. use any robot, spider,scraper or other automated means to access the Site for any\n purpose without Company’s express written permission or bypass\n Company’s robot exclusion headers or other measures Company may\n use to prevent or restrict access to the Site or modify the Site\n in any manner or form, nor to use modified versions of the Site,\n including without limitation for the purpose of obtaining\n unauthorized access to the Site; or

\n

17. sell or transfer or allow another person to access Your account password, profile,\n or account.\n

\n Laws and Regulations\n \n

Access to and use of this Site are subject to all applicable\n federal, state and local laws and regulations.

\n \n Governing Law\n

\n THESE TERMS OF USE SHALL BE GOVERNED BY AND CONSTRUED IN ACCORDANCE WITH\n THE LAWS OF THE STATE OF GEORGIA WITHOUT REGARD TO CONFLICT OF LAW\n RULES OR PRINCIPLES THAT WOULD CAUSE THE APPLICATION OF LAWS OF\n ANY OTHER JURISDICTION.

\n \n Arbitration \n \n

\n If any dispute shall arise between Company and User(s), with reference to the interpretation\n of these Terms of Use or use of the Site, and cannot be settled\n through informal means, the dispute shall be settled by\n arbitration in accordance with the rules of the American\n Arbitration Association. The dispute shall be referred to three\n (3) arbitrators. One arbitrator shall be chosen by each party and\n the two chosen shall promptly select a third arbitrator. If either\n party refuses or neglects to appoint an arbitrator within thirty\n (30) days after the receipt of written notice from the other party\n requesting arbitration and naming its arbitrators, the requesting\n party may name an arbitrator for the other party. Each party shall\n submit its case to the three (3) arbitrators within thirty (30)\n days of the appointment of the third arbitrator unless such time\n is extended by the arbitrators or a majority of them or by\n agreement between the parties. The decision of a majority of the\n arbitrators shall be final and binding on both Company and\n User(s). Company and User(s) shall each bear the expense of its\n own arbitrator, or one-half of the expense of two (2) arbitrators\n if both are appointed by the requesting party as provided above,\n and shall jointly bear and equally bear with the other the expense\n of the third arbitrator and of the arbitration. Any such\n arbitration shall take place in Atlanta, Georgia. This Section\n shall survive termination of these Terms of Use.

\n \n

You and We agree that except as may be required by law, neither You nor We may\n disclose the existence, content, substance, documents, or\n information submitted thereunder, or any results of any\n arbitration hereunder without the prior written consent of other\n party.

\n \n Class Action Waiver \n \n

User(s) shall not be entitled to join\n or consolidate claims under or relating to these Terms of Use by\n or against other individuals or entities or litigate or pursue any\n claim as a representative ‎member of a class or in a private\n attorney general capacity. THIS MEANS THAT USER(S) WAIVE THE RIGHT\n TO INITIATE OR PARTICIPATE IN ANY CLASS OR CONSOLIDATED ‎ACTION\n WHATSOEVER. A court may sever any portion of this dispute\n resolution provision if ‎it finds such unenforceable.

\n \n Suspension, Violations and Termination of Service‎\n \n

Company reserves the right to disable, suspend or terminate access to the Site for any reason\n and without any notice, unless otherwise prohibited by law.

\n\n Violations of Terms of Use\n

Company reserves the right to seek any remedy available at law or in equity for any violation of these\n Terms of Use, including the right to block access from a\n particular Internet address to this Site.

\n \n Severability, Waiver, and Entire Agreement\n

If any provision of these Terms of Use is invalid, unlawful, void, or for any reason unenforceable, then\n that provision shall be deemed severable from these Terms of Use\n and shall not affect the rest of the Terms of Use and shall\n continue to be valid and enforceable. Company’s failure to enforce\n any part of these Terms of Use shall not constitute a waiver of\n Company’s right to later enforce that or any other part of these\n Terms of Use. Waiver of compliance in any particular instance does\n not mean that Company will waive compliance in the future. In\n order for any waiver of compliance with these Terms of Use to be\n binding, Company must provide User(s) with written notice of such\n waiver through a Company authorized representative.

\n

These Terms of Use state the entire agreement with regard to the Site and\n supersedes all prior or contemporaneous communications and\n proposals (whether oral, written or electronic) between Company\n and User(s) with respect to the Site. Company shall not be liable\n for any failure to perform Our obligations hereunder where such\n failure results from any cause beyond Our reasonable control\n including, without limitation, mechanical, electronic or\n communications failure or degradation.

\n \n

These Terms of Use are personal to You as a User, and are not assignable, transferable or\n sublicensable by You except with Company’s prior written consent.\n Company may assign, transfer or delegate any of Our rights and\n obligations hereunder without consent. BY USING THIS SITE, YOU\n AGREE TO THE PROVISIONS CONTAINED ABOVE.

\n\n

The Assurant brand mark is a service mark of Assurant. No part of this site may be\n reproduced without written permission from Assurant.

\n \n

© 2021 Assurant

\n
\n
\n
\n

\n CLOSE\n

\n
\n \n \n
\n );\n}\n","import React from \"react\";\nimport AssurantFooterLogo from \"./common-icon/assurant-logo-footer-bw.svg\";\nimport SSLFooterLogo from \"./common-icon/ssl-secure-footer.svg\";\nimport { Link, useHistory, useLocation } from \"react-router-dom\";\nimport TermConditions from \"./pages/term-conditions/term-conditions\";\nimport { isLogin } from './services/auth';\n\nconst FooterPage = (props) => {\n const [show, setModel] = React.useState(false);\n const history = useHistory();\n let location = useLocation();\n const redirectToAdmin = () => {\n history.push(\"/admin\");\n };\n\n const showTermConditions = () => {\n setModel(!show);\n };\n\n\n const isLoginPage = !isLogin() && (location.pathname === '/login');\n\n return (\n <>\n {!isLoginPage ? (\n \n
\n
\n \n \"assurant-footer-logo\"\n \n \n \"ssl-footer-logo\"\n \n
\n
\n \n © 2021 Assurant, Inc. All rights reserved\n \n {!isLogin() ? (\n \n redirectToAdmin()}>Admin\n \n ) : null}\n \n Terms and Conditions\n \n \n {\" \"}\n \n Privacy Policy{\" \"}\n \n \n \n Contact Us \n \n
\n
\n \n
\n ) : null}\n \n );\n};\n\nexport default FooterPage;\n","import { Suspense } from 'react';\nimport CircularProgress from \"@material-ui/core/CircularProgress\";\nimport './styles.css';\nimport '../pages/admin-view/admin-view.css';\nimport '../pages/admin-view/event-view.css';\nimport '../pages/admin-view/list-view.css';\nimport '../pages/offline-rating/offline-rating.css';\nimport '../pages/offline-rating/offline-table.css';\nimport '../pages/offline-rating/rating-card.css';\nimport '../pages/offline-rating/vehicle-detail.css';\nimport '../pages/offline-rating/vehicle-listing.css';\nimport '../pages/outage/maintance-underway/system-grey.css';\nimport '../pages/outage/system-green/system-green.css';\nimport '../pages/outage/system-red/system-red.css';\nimport '../pages/outage/impact-full.css';\nimport '../pages/outage/tile.css';\nimport '../pages/page-not-found/page-not-found.css';\nimport '../components/login/login-okta.css';\nimport '../components/login/login.css';\nimport '../components/common/common.css';\n\nconst withSuspence = (WrappedComponent) => {\n return (props) => {\n \n return(\n }>\n \n \n );\n } \n}\nexport { withSuspence };","import { lazy } from 'react';\nimport { withSuspence } from '../hocs/withSuspense';\nconst Outage = lazy(() => import(\"../pages/outage/outage\"));\nconst OfflineRating = lazy(() => import(\"../pages/offline-rating/offline-rating\"));\nconst AdminPage = lazy(() => import(\"../pages/admin-view/admin-view\"));\nconst PageNotFound = lazy(() => import(\"../pages/page-not-found/page-not-found\"));\nconst LoginPage = lazy(() => import(\"../components/login/login-okta\"));\n\nexport const pathname = {\n outage : '/',\n login : '/login',\n admin : '/admin',\n offlineRating : '/offline-rating',\n notfound: '*'\n}\nexport const routeConfig = [\n {\n path: pathname.outage,\n component: withSuspence(Outage)\n },\n {\n path: pathname.login,\n component: withSuspence(LoginPage)\n },\n {\n path: pathname.admin,\n component: withSuspence(AdminPage),\n redirect:\"admin\",\n isPrivate: true,\n },\n {\n path: pathname.offlineRating,\n component: withSuspence(OfflineRating),\n redirect:\"offline-rating\",\n isPrivate: true,\n },\n {\n path: pathname.notfound,\n component: withSuspence(PageNotFound)\n }\n];","import React from \"react\";\nimport { Route, Redirect } from \"react-router-dom\";\nimport LocalStorageService from \"../services/storage\";\nimport { isLogin, checkRole, shouldAllowAdminAccess } from \"../services/auth\";\nimport { pathname } from './config';\n\nconst PrivateRoute = ({ component: Component, redirect, ...rest }) => {\n\n if(redirect) LocalStorageService.set('lastPage', redirect);\n const isAuth = () => {\n if(rest.path === pathname.offlineRating){\n return isLogin();\n }\n\n if(rest.path === pathname.admin) {\n return isLogin() && shouldAllowAdminAccess();\n }\n \n return checkRole('Admin');\n }\n return (\n \n isAuth() ? (\n \n ) : (\n \n )\n }\n />\n );\n};\n\nexport default PrivateRoute;\n","import React from 'react';\nimport { routeConfig } from './config';\nimport PrivateRoute from './privateRoute';\nimport { Route, Switch } from \"react-router-dom\";\n\n\nconst CustomRoute = (props) => {\n return (\n \n {\n routeConfig.map(({ isPrivate, ...restRouteProps}, index) => {\n if(isPrivate){\n return \n } else{\n return \n } \n })\n }\n \n );\n};\nexport default CustomRoute;","import \"./App.css\";\nimport HeaderPage from \"./HeaderPage\";\nimport FooterPage from \"./FooterPage\";\nimport { BrowserRouter as Router } from \"react-router-dom\";\nimport { OktaAuth, toRelativeUrl } from \"@okta/okta-auth-js\";\nimport { Security } from '@okta/okta-react';\nimport React from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport config from \"./config-okta\";\nimport { NavigationService } from './services';\nimport { Route } from './routes';\n\nconst App = () => {\n const history = useHistory();\n const { origin } = NavigationService.getLocation();\n\n const restoreOriginalUri = async (oktaAuth, originalUri) => {\n if(history && originalUri) {\n history.replace(toRelativeUrl(originalUri || \"/\", origin));\n }\n };\n\n const customAuthHandler = () => {\n if(history) history.push(\"/login\");\n };\n\n return (\n
\n \n \n \n \n \n \n \n
\n );\n}\n\nexport default App;\n","import { Component } from 'react';\nimport {load} from \"../config-okta\";\n\nexport default class ConfigLoader extends Component {\n constructor(props){\n super(props);\n this.state = {isLoaded: false};\n }\n\n\n componentDidMount() {\n // Once the configuration is loaded set `isLoaded` to true so we know to render our component\n load().then(config => this.setState({isLoaded: true, config}));\n }\n\n render() { \n // If we haven't yet loaded the config, show either a \"splash\" component provided via a `loading` props or return nothing.\n if(!this.state.isLoaded) {\n return this.props.loading ? this.props.loading() : null;\n }\n\n // The config is loaded so show the component set on the `ready()` props\n return this.props.ready(this.state.config);\n }\n}","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport ConfigLoader from './components/configLoader'\nimport { BrowserRouter as Router } from 'react-router-dom';\nimport WebFont from 'webfontloader';\n\nWebFont.load({\n google: {\n families: ['Open Sans:300,400,600,700', 'sans-serif']\n }\n});\n\nReactDOM.render(\n \n \n } />\n \n ,\n document.getElementById('root')\n);\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\n","class NavigationService {\n\n static updateLocation(location){\n if(location === '/'){\n window.location = '/login';\n } else{\n window.location.reload();\n }\n }\n static getLocation(){\n return window.location.pathname;\n }\n}\nexport default NavigationService;","class LocalStorageService {\n\n static get(key){\n return localStorage.getItem(key)\n }\n\n static set(key,data){\n localStorage.setItem(key,data)\n }\n\n static remove(key){\n localStorage.removeItem(key)\n }\n\n static clearAll(){\n localStorage.clear()\n }\n}\n\nexport default LocalStorageService;","const config = {};\nexport default config;\n\nfunction load() {\n const env = process.env.REACT_APP_STAGE;\n let filename = 'development.json';\n if(env === 'production'){\n filename = 'production.json';\n }else if(env === 'model'){\n filename = 'model.json';\n }else if( env === 'sandbox') {\n filename = 'sandbox.json';\n }\n\n return fetch(filename)\n .then(result => result.json())\n .then((newconfig) => {\n for(let prop in config) {\n delete config[prop]\n }\n for(let prop in newconfig) {\n config[prop] = newconfig[prop]\n }\n return config;\n });\n}\nexport {load}","import axios from 'axios';\nimport config from \"./config\";\nimport { LocalStorageService, NavigationService } from './services';\nimport uuid from 'react-uuid'\n\nconst apiFactory = axios.create({\n baseURL: config.baseurl,\n timeout: 60000, \n});\nconst redirectOnBasisOfPathName = (pathname) => {\n if(pathname === '/'){\n NavigationService.updateLocation('/login');\n } else{\n NavigationService.updateLocation(pathname);\n }\n}\nconst acessTokenVavlue = () => {\n const oktaTokenStorage = LocalStorageService.get('okta-token-storage');\n const { pathname } = NavigationService.getLocation();\n if(oktaTokenStorage) {\n let accessToken = JSON.parse(oktaTokenStorage);\n let value;\n if(accessToken && accessToken.accessToken) {\n if(accessToken.accessToken.value) {\n value = accessToken.accessToken.value\n }else if(accessToken.accessToken) {\n value = accessToken.accessToken.accessToken;\n }\n } else {\n LocalStorageService.remove('okta-token-storage');\n redirectOnBasisOfPathName(pathname);\n return;\n }\n return `Bearer ${value ||value.accessToken}`\n }\n return null;\n}\n\nconst requestHandler = request => {\n request.headers.Authorization = acessTokenVavlue();\n request.headers.CorrelationId = uuid();\n return request;\n};\n\nconst responseHandler = response => {\n const { pathname } = NavigationService.getLocation();\n if (response.status === 401) {\n LocalStorageService.remove('okta-token-storage');\n redirectOnBasisOfPathName(pathname);\n }\n return response;\n};\n\nconst errorHandler = error => {\n const { pathname } = NavigationService.getLocation();\n if(error.response.status === 401) {\n LocalStorageService.remove('okta-token-storage');\n redirectOnBasisOfPathName(pathname);\n }\n return Promise.reject(error);\n};\n\napiFactory.interceptors.request.use(\n (request) => requestHandler(request),\n (error) => errorHandler(error)\n);\n\napiFactory.interceptors.response.use(\n (response) => responseHandler(response),\n (error) => errorHandler(error)\n);\n\n\nexport default apiFactory;\n","import api from \"../apiFactory\";\n\nclass NetworkService {\n static async getData(url, params) {\n try {\n return api.get(url, params);\n } catch (ex) {\n throw ex;\n }\n }\n\n static async postData(url, body) {\n try {\n return api.post(url, body);\n } catch (ex) {\n throw ex;\n }\n }\n\n static async updateData(url, data) {\n try {\n return api.put(url, data);\n } catch (ex) {\n throw ex;\n }\n }\n\n\n static async removeData(url, data) {\n try {\n return api.delete(url, data);\n } catch (ex) {\n throw ex;\n }\n }\n\n \n}\n\nexport default NetworkService;\n","var env = process.env.REACT_APP_STAGE || 'development'\n\nvar config = {\n development: require('./development.js'),\n model: require('./model.js'),\n production: require('./production.js'),\n sandbox: require('./sandbox.js')\n}\nmodule.exports = config[env]"],"sourceRoot":""}