@formio/angular 6.0.1 → 6.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (547) hide show
  1. package/{dist/angular-formio/FormioBaseComponent.d.ts → FormioBaseComponent.d.ts} +1 -1
  2. package/{dist/angular-formio/FormioBaseComponent.d.ts.map → FormioBaseComponent.d.ts.map} +1 -1
  3. package/README.md +13 -182
  4. package/{dist/angular-formio/components → components}/formbuilder/formbuilder.component.d.ts +1 -1
  5. package/{dist/angular-formio/components → components}/formbuilder/formbuilder.component.d.ts.map +1 -1
  6. package/{dist/angular-formio/components → components}/formioreport/formioreport.component.d.ts +0 -1
  7. package/{dist/angular-formio/components → components}/formioreport/formioreport.component.d.ts.map +1 -1
  8. package/{dist/angular-formio/core.d.ts → core.d.ts} +1 -3
  9. package/{dist/angular-formio/core.d.ts.map → core.d.ts.map} +1 -1
  10. package/esm2022/FormioBaseComponent.mjs +584 -0
  11. package/esm2022/auth/auth.component.mjs +13 -0
  12. package/esm2022/auth/auth.config.mjs +22 -0
  13. package/esm2022/auth/auth.module.mjs +47 -0
  14. package/esm2022/auth/auth.service.mjs +200 -0
  15. package/esm2022/auth/login/login.component.mjs +21 -0
  16. package/esm2022/auth/register/register.component.mjs +21 -0
  17. package/esm2022/auth/resetpass/resetpass.component.mjs +18 -0
  18. package/esm2022/components/alerts/formio.alerts.component.mjs +29 -0
  19. package/esm2022/components/alerts/parse-html-content.pipe.mjs +20 -0
  20. package/esm2022/components/formbuilder/formbuilder.component.mjs +202 -0
  21. package/esm2022/components/formio/formio.component.mjs +43 -0
  22. package/esm2022/components/formioreport/formioreport.component.mjs +86 -0
  23. package/esm2022/components/loader/formio.loader.component.mjs +16 -0
  24. package/esm2022/core.mjs +18 -0
  25. package/esm2022/custom-tags.service.mjs +15 -0
  26. package/esm2022/formio.common.mjs +11 -0
  27. package/esm2022/formio.config.mjs +30 -0
  28. package/esm2022/formio.module.mjs +60 -0
  29. package/esm2022/formio.service.mjs +62 -0
  30. package/esm2022/formio.utils.mjs +21 -0
  31. package/esm2022/grid/GridBodyComponent.mjs +90 -0
  32. package/esm2022/grid/GridFooterComponent.mjs +45 -0
  33. package/esm2022/grid/GridHeaderComponent.mjs +35 -0
  34. package/esm2022/grid/form/FormGridBody.component.mjs +64 -0
  35. package/esm2022/grid/form/FormGridFooter.component.mjs +27 -0
  36. package/esm2022/grid/form/FormGridHeader.component.mjs +28 -0
  37. package/esm2022/grid/form/time-since.pipe.mjs +38 -0
  38. package/esm2022/grid/grid.component.mjs +258 -0
  39. package/esm2022/grid/grid.module.mjs +80 -0
  40. package/esm2022/grid/grid.service.mjs +19 -0
  41. package/esm2022/grid/submission/SubmissionGridBody.component.mjs +44 -0
  42. package/esm2022/grid/submission/SubmissionGridFooter.component.mjs +24 -0
  43. package/esm2022/grid/submission/SubmissionGridHeader.component.mjs +64 -0
  44. package/esm2022/manager/create/create.component.mjs +19 -0
  45. package/esm2022/manager/delete/delete.component.mjs +43 -0
  46. package/esm2022/manager/edit/edit.component.mjs +126 -0
  47. package/esm2022/manager/form/form.component.mjs +81 -0
  48. package/esm2022/manager/form-manager.config.mjs +19 -0
  49. package/esm2022/manager/form-manager.module.mjs +84 -0
  50. package/esm2022/manager/form-manager.service.mjs +186 -0
  51. package/esm2022/manager/index/index.component.mjs +109 -0
  52. package/esm2022/manager/submission/delete/delete.component.mjs +33 -0
  53. package/esm2022/manager/submission/edit/edit.component.mjs +26 -0
  54. package/esm2022/manager/submission/index/index.component.mjs +26 -0
  55. package/esm2022/manager/submission/submission/submission.component.mjs +30 -0
  56. package/esm2022/manager/submission/view/view.component.mjs +18 -0
  57. package/esm2022/manager/view/view.component.mjs +53 -0
  58. package/esm2022/resource/create/create.component.mjs +44 -0
  59. package/esm2022/resource/delete/delete.component.mjs +30 -0
  60. package/esm2022/resource/edit/edit.component.mjs +43 -0
  61. package/esm2022/resource/index/index.component.mjs +70 -0
  62. package/esm2022/resource/resource.component.mjs +47 -0
  63. package/esm2022/resource/resource.config.mjs +14 -0
  64. package/esm2022/resource/resource.module.mjs +63 -0
  65. package/esm2022/resource/resource.service.mjs +230 -0
  66. package/esm2022/resource/resources.service.mjs +26 -0
  67. package/esm2022/resource/view/view.component.mjs +26 -0
  68. package/{dist/angular-formio/fesm2022 → fesm2022}/formio-angular-auth.mjs +59 -92
  69. package/fesm2022/formio-angular-auth.mjs.map +1 -0
  70. package/fesm2022/formio-angular-grid.mjs +771 -0
  71. package/fesm2022/formio-angular-grid.mjs.map +1 -0
  72. package/fesm2022/formio-angular-manager.mjs +822 -0
  73. package/fesm2022/formio-angular-manager.mjs.map +1 -0
  74. package/fesm2022/formio-angular-resource.mjs +571 -0
  75. package/fesm2022/formio-angular-resource.mjs.map +1 -0
  76. package/fesm2022/formio-angular.mjs +1183 -0
  77. package/fesm2022/formio-angular.mjs.map +1 -0
  78. package/{dist/angular-formio/formio.common.d.ts → formio.common.d.ts} +2 -1
  79. package/formio.common.d.ts.map +1 -0
  80. package/{dist/angular-formio/formio.config.d.ts → formio.config.d.ts} +1 -2
  81. package/formio.config.d.ts.map +1 -0
  82. package/{dist/angular-formio/grid → grid}/submission/SubmissionGridHeader.component.d.ts +1 -1
  83. package/grid/submission/SubmissionGridHeader.component.d.ts.map +1 -0
  84. package/{dist/angular-formio/manager → manager}/edit/edit.component.d.ts.map +1 -1
  85. package/{dist/angular-formio/manager → manager}/form-manager.service.d.ts +1 -1
  86. package/{dist/angular-formio/manager → manager}/form-manager.service.d.ts.map +1 -1
  87. package/package.json +57 -54
  88. package/{dist/angular-formio/resource → resource}/resource.service.d.ts.map +1 -1
  89. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/03/c3/57d706b57a9bb2202b4c3f58dc4c59bd1fae8dc1d330b416b5c069a4217a2457f6c7cfef2f6d0dc5378bb43c95f62533a75cb34d09cfef47dc40e5756725 +0 -1
  90. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/0c/7a/916bd866cb386cc87b9ea07c40edc23df9d726d1865e6699b42dedfbfb2a8364ced191aa62680a9297d7644cdfa64753b8975cc254c7c581f28bba0acd15 +0 -1
  91. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/17/1b/bc3996ef483c464312f7c1acf66b2ce37039601d01d5faf114e615de6ae5001d009aa0a1410c1b4682dda0866d78d5f9c709ab4f6c8ba986a7936ab9f6ef +0 -1
  92. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/1e/04/481e2f3a5c2e9aed176acbf87c09f0320892cb02bbf8a95019c30ea33f77af28e8280057e4720a90506cb25c59ed33c0d60655446b75c3e25dfb4330ed43 +0 -1
  93. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/28/48/0149b4006ab8d4a2a7b42e75c125f3adab48568f4d85ee48176367ae60965807a3a72f81550645fe5a2ba83c16b33196f85c46107d859175847763b9bba7 +0 -1
  94. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/42/8d/7954e44606cfeaf1246358216f7f53bdccafbdbf7b99700ea6002d6e0dbe1c33f015d0cf59b833e5b4a36767cd94f29b9d77f86645e872bdc3013b403845 +0 -1
  95. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/43/05/c86feb68c6e6f17d2b1e7d4aadfbef2f8554b42c9e0b7516b22a7c34044b513c23987b00507d17cb8f89b9b762b5499483d4ec16708519940e00cee5863a +0 -1
  96. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/4c/77/763f1bb202f7b0d54e7b79b0a23fe956cf0827a5e988bceb7c59621c9ec07c8e7863531e5731dc334e90cf1d735a6e64dafa6d5bae486ab3b7b90dea3fe5 +0 -1
  97. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/5e/df/0706d1dfb3ed5b0c5a65b7b5e40996105b18800c157e8fb273040145aa011d9e60e28eb2112e2867a70052784727400f86d082d90d2c5841ec3abcbb6840 +0 -1
  98. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/6f/86/7209df36e306d669d7347d7ddb464798ace457218aa5f3be5b17145cdfd1385bbd48d133381fc31c082b5025575865b351f9bb0265508359fda378962d60 +0 -1
  99. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/71/55/241de4ea057eae7171b73fac62de144f35df7c4ec9be4fca9b08fa02f24f281e79717c76086a90b578d52963cd7cc78fc391ec813576d667ac3ad043e67d +0 -1
  100. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/89/26/e1b6ab1ce4c15c9175974d262c9baead1eea23bb80c6da1926a36513e9777f8d1be0948ec0cb33e875e41926682599a92ede1900400004ad1856529822bc +0 -1
  101. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/9c/21/3b8af7b6ee09c29bf340610026191af56f9ba1cba1f5e4476424775d5e322f84d7e900c4d264d39804cebf3dcb5aaa5eb5e9d8fd143bc3a8aa76c3d5325e +0 -1
  102. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/9e/bc/eb0b9b19e56d5161114be0b4aa51d5e29527ddd9e8954a9977fdb80b1640d5ee535de8c5c7cc1348f12423d5c9ece8e6525290eed6d4259303c5e0dd9e54 +0 -1
  103. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/af/5c/97d9a08342685ee95844b54aed260370df0de7c2408ec7b14f7da3972c811ee5a4cae7be4f51de07dd039c8639ec4e9008733bcf0b6a438b29a83d7fabe3 +0 -1
  104. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/b3/9a/0f0721f954468df14c05be1e1ecf80808948d80accc676b22b2f42594e36fd848d7b6f3a494888778ced38819d64ac01619dadef02f5d064a07e422dc6e3 +0 -1
  105. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/ba/5d/d939f6c0890924d0234b6253e4c7baab7e285c4e9e3b838d4f223f5365ce00c421e48383fc21ecdf847e1592936f5be80b0d20ea3db471bfe39e181c091a +0 -1
  106. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/c2/ed/fa9f957c177066eb85345c4a12a5b966d0a8c9b13723ef0b97b9e97fd12d94dce317239ca3b04a085e837ac1254883fe308f6914c845b3ab905aee71104c +0 -1
  107. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/e5/02/dea9a92e3e7a840bde12d10d7b4d9c19c7be587e568019a9aacd2f3be7a6a968ec214e3c6671def4874ff7e14de90b2b7f4742d40932e5772e85ed9e2e5c +0 -1
  108. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/e9/ca/53ff813610ae5d57a25518e6546b659a092de2c929fd43130db59358947aa9aa5797289f7ca39fe550d2e41050a69cb26e6b5dd6ebbcae0207ab08474dc8 +0 -1
  109. package/.angular/cache/18.1.2/ng-packagr/index-v5/25/d3/52d51d20f0068267704af92a4b131f29e9318f247d503eb0ec23c1ed7188 +0 -2
  110. package/.angular/cache/18.1.2/ng-packagr/index-v5/32/2f/d5c320e973844b017f9df834dcf5f8a70b27c1c3b625602647fbe166617c +0 -2
  111. package/.angular/cache/18.1.2/ng-packagr/index-v5/38/53/3bd61bb2f286821c9ec46774147eb97de202bd306657efa7e8fb0a4343e8 +0 -2
  112. package/.angular/cache/18.1.2/ng-packagr/index-v5/4e/53/3b7731ca8fad27e6eaeb4c36c45bd95e9f08ffb7d050da8e33aa0c67f420 +0 -2
  113. package/.angular/cache/18.1.2/ng-packagr/index-v5/4f/b5/b4881a5f5a49b3873273918459bc33f4faa34e974e629f48a07d7a97c39c +0 -2
  114. package/.angular/cache/18.1.2/ng-packagr/index-v5/5b/e4/f6ef130cc3bbbf5aa958ce481e0b714d430a6a04f61381bc829296cde9a5 +0 -2
  115. package/.angular/cache/18.1.2/ng-packagr/index-v5/69/8c/55ebedfbeee3a23e43db1e5576ea5a06710fab809fc667ba3ce8583b8eea +0 -2
  116. package/.angular/cache/18.1.2/ng-packagr/index-v5/8a/38/489a51c20c3a372344dd5510758e23c1caffd6dfe1525c17dc3fbc231b76 +0 -2
  117. package/.angular/cache/18.1.2/ng-packagr/index-v5/8d/5d/26f10d893644ba75ac602bed8276ef0b4e1866d085754e032ee3833e95ab +0 -2
  118. package/.angular/cache/18.1.2/ng-packagr/index-v5/9a/0d/0056d732cfdfa97dfef099aa2189dcac3fae2f7c3c3560cd77a7c9567e74 +0 -2
  119. package/.angular/cache/18.1.2/ng-packagr/index-v5/9c/f5/9c5f48481303af30935226f6337a1e033ad35f0462f95da8a973b69aafb5 +0 -2
  120. package/.angular/cache/18.1.2/ng-packagr/index-v5/a3/17/80d2a0bcaac6af902db5f128a8f8ec58ec220b9d00d6825205749c2f418a +0 -2
  121. package/.angular/cache/18.1.2/ng-packagr/index-v5/aa/80/466e9b161643951f9a077066a20cd2d7ef6903a1fdcaadedcef9c0177747 +0 -2
  122. package/.angular/cache/18.1.2/ng-packagr/index-v5/b7/72/d9f00a872849a611fa73cb9ec575401ee6c838795bb102753b24d7d53ee3 +0 -2
  123. package/.angular/cache/18.1.2/ng-packagr/index-v5/c7/dd/eca0dfb0e1190fa828b47955c8f97ac1e7a5b24871fb9d8342cd7256e5f9 +0 -2
  124. package/.angular/cache/18.1.2/ng-packagr/index-v5/d9/03/3fd9ec2d0c37e7b3824ec5e7936928c4f6debbb6899a120a52cdba472f38 +0 -2
  125. package/.angular/cache/18.1.2/ng-packagr/index-v5/da/4e/570182d1f569903d2554c87334c0f7751dafcb6b683ddfbe4213614fd5be +0 -2
  126. package/.angular/cache/18.1.2/ng-packagr/index-v5/dc/4f/1a8db8af7d1e3f37160992ae5545e63460ab6e54a4d3981f234eb089d435 +0 -2
  127. package/.angular/cache/18.1.2/ng-packagr/index-v5/e8/e9/47b0d4126bcfabc2df9a4c4be0d197a805526dd04e2a48278501d62a85fd +0 -2
  128. package/.angular/cache/18.1.2/ng-packagr/index-v5/ed/de/db04689deebb1db3d7610a2bbca795b1180084d7985db7a993d4787f6d0e +0 -2
  129. package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-auth.tsbuildinfo +0 -1
  130. package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-embed.tsbuildinfo +0 -1
  131. package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-grid.tsbuildinfo +0 -1
  132. package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-manager.tsbuildinfo +0 -1
  133. package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-resource.tsbuildinfo +0 -1
  134. package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular.tsbuildinfo +0 -1
  135. package/.dockerignore +0 -5
  136. package/.editorconfig +0 -13
  137. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
  138. package/.github/ISSUE_TEMPLATE/custom-components-support-request.md +0 -15
  139. package/.github/ISSUE_TEMPLATE/question.md +0 -8
  140. package/.travis.yml +0 -4
  141. package/.yo-rc.json +0 -7
  142. package/CHANGELOG.md +0 -1095
  143. package/Dockerfile +0 -20
  144. package/LICENSE +0 -21
  145. package/angular.json +0 -38
  146. package/bs-config.json +0 -11
  147. package/dist/angular-formio/README.md +0 -24
  148. package/dist/angular-formio/embed/app.service.d.ts +0 -28
  149. package/dist/angular-formio/embed/app.service.d.ts.map +0 -1
  150. package/dist/angular-formio/embed/builder.component.d.ts +0 -13
  151. package/dist/angular-formio/embed/builder.component.d.ts.map +0 -1
  152. package/dist/angular-formio/embed/embed.module.d.ts +0 -10
  153. package/dist/angular-formio/embed/embed.module.d.ts.map +0 -1
  154. package/dist/angular-formio/embed/formio-angular-embed.d.ts.map +0 -1
  155. package/dist/angular-formio/embed/formio.component.d.ts +0 -16
  156. package/dist/angular-formio/embed/formio.component.d.ts.map +0 -1
  157. package/dist/angular-formio/embed/index.d.ts +0 -7
  158. package/dist/angular-formio/embed/index.d.ts.map +0 -1
  159. package/dist/angular-formio/esm2022/FormioBaseComponent.mjs +0 -587
  160. package/dist/angular-formio/esm2022/auth/auth.component.mjs +0 -23
  161. package/dist/angular-formio/esm2022/auth/auth.config.mjs +0 -21
  162. package/dist/angular-formio/esm2022/auth/auth.module.mjs +0 -47
  163. package/dist/angular-formio/esm2022/auth/auth.service.mjs +0 -199
  164. package/dist/angular-formio/esm2022/auth/login/login.component.mjs +0 -27
  165. package/dist/angular-formio/esm2022/auth/register/register.component.mjs +0 -27
  166. package/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs +0 -24
  167. package/dist/angular-formio/esm2022/components/alerts/formio.alerts.component.mjs +0 -46
  168. package/dist/angular-formio/esm2022/components/alerts/parse-html-content.pipe.mjs +0 -19
  169. package/dist/angular-formio/esm2022/components/formbuilder/formbuilder.component.mjs +0 -211
  170. package/dist/angular-formio/esm2022/components/formio/formio.component.mjs +0 -85
  171. package/dist/angular-formio/esm2022/components/formioreport/formioreport.component.mjs +0 -137
  172. package/dist/angular-formio/esm2022/components/loader/formio.loader.component.mjs +0 -25
  173. package/dist/angular-formio/esm2022/core.mjs +0 -19
  174. package/dist/angular-formio/esm2022/custom-tags.service.mjs +0 -14
  175. package/dist/angular-formio/esm2022/embed/app.service.mjs +0 -58
  176. package/dist/angular-formio/esm2022/embed/builder.component.mjs +0 -45
  177. package/dist/angular-formio/esm2022/embed/embed.module.mjs +0 -36
  178. package/dist/angular-formio/esm2022/embed/formio-angular-embed.mjs +0 -5
  179. package/dist/angular-formio/esm2022/embed/formio.component.mjs +0 -59
  180. package/dist/angular-formio/esm2022/embed/index.mjs +0 -7
  181. package/dist/angular-formio/esm2022/formio.common.mjs +0 -11
  182. package/dist/angular-formio/esm2022/formio.config.mjs +0 -29
  183. package/dist/angular-formio/esm2022/formio.module.mjs +0 -60
  184. package/dist/angular-formio/esm2022/formio.service.mjs +0 -62
  185. package/dist/angular-formio/esm2022/formio.utils.mjs +0 -21
  186. package/dist/angular-formio/esm2022/grid/GridBodyComponent.mjs +0 -95
  187. package/dist/angular-formio/esm2022/grid/GridFooterComponent.mjs +0 -50
  188. package/dist/angular-formio/esm2022/grid/GridHeaderComponent.mjs +0 -40
  189. package/dist/angular-formio/esm2022/grid/form/FormGridBody.component.mjs +0 -165
  190. package/dist/angular-formio/esm2022/grid/form/FormGridFooter.component.mjs +0 -112
  191. package/dist/angular-formio/esm2022/grid/form/FormGridHeader.component.mjs +0 -54
  192. package/dist/angular-formio/esm2022/grid/form/time-since.pipe.mjs +0 -37
  193. package/dist/angular-formio/esm2022/grid/grid.component.mjs +0 -321
  194. package/dist/angular-formio/esm2022/grid/grid.module.mjs +0 -80
  195. package/dist/angular-formio/esm2022/grid/grid.service.mjs +0 -18
  196. package/dist/angular-formio/esm2022/grid/submission/SubmissionGridBody.component.mjs +0 -74
  197. package/dist/angular-formio/esm2022/grid/submission/SubmissionGridFooter.component.mjs +0 -103
  198. package/dist/angular-formio/esm2022/grid/submission/SubmissionGridHeader.component.mjs +0 -96
  199. package/dist/angular-formio/esm2022/manager/create/create.component.mjs +0 -62
  200. package/dist/angular-formio/esm2022/manager/delete/delete.component.mjs +0 -58
  201. package/dist/angular-formio/esm2022/manager/edit/edit.component.mjs +0 -181
  202. package/dist/angular-formio/esm2022/manager/form/form.component.mjs +0 -176
  203. package/dist/angular-formio/esm2022/manager/form-manager.config.mjs +0 -18
  204. package/dist/angular-formio/esm2022/manager/form-manager.module.mjs +0 -84
  205. package/dist/angular-formio/esm2022/manager/form-manager.service.mjs +0 -185
  206. package/dist/angular-formio/esm2022/manager/index/index.component.mjs +0 -151
  207. package/dist/angular-formio/esm2022/manager/submission/delete/delete.component.mjs +0 -48
  208. package/dist/angular-formio/esm2022/manager/submission/edit/edit.component.mjs +0 -32
  209. package/dist/angular-formio/esm2022/manager/submission/index/index.component.mjs +0 -32
  210. package/dist/angular-formio/esm2022/manager/submission/submission/submission.component.mjs +0 -67
  211. package/dist/angular-formio/esm2022/manager/submission/view/view.component.mjs +0 -24
  212. package/dist/angular-formio/esm2022/manager/view/view.component.mjs +0 -66
  213. package/dist/angular-formio/esm2022/resource/create/create.component.mjs +0 -64
  214. package/dist/angular-formio/esm2022/resource/delete/delete.component.mjs +0 -42
  215. package/dist/angular-formio/esm2022/resource/edit/edit.component.mjs +0 -49
  216. package/dist/angular-formio/esm2022/resource/index/index.component.mjs +0 -79
  217. package/dist/angular-formio/esm2022/resource/resource.component.mjs +0 -72
  218. package/dist/angular-formio/esm2022/resource/resource.config.mjs +0 -13
  219. package/dist/angular-formio/esm2022/resource/resource.module.mjs +0 -63
  220. package/dist/angular-formio/esm2022/resource/resource.service.mjs +0 -231
  221. package/dist/angular-formio/esm2022/resource/resources.service.mjs +0 -25
  222. package/dist/angular-formio/esm2022/resource/view/view.component.mjs +0 -30
  223. package/dist/angular-formio/fesm2022/formio-angular-auth.mjs.map +0 -1
  224. package/dist/angular-formio/fesm2022/formio-angular-embed.mjs +0 -195
  225. package/dist/angular-formio/fesm2022/formio-angular-embed.mjs.map +0 -1
  226. package/dist/angular-formio/fesm2022/formio-angular-grid.mjs +0 -1213
  227. package/dist/angular-formio/fesm2022/formio-angular-grid.mjs.map +0 -1
  228. package/dist/angular-formio/fesm2022/formio-angular-manager.mjs +0 -1167
  229. package/dist/angular-formio/fesm2022/formio-angular-manager.mjs.map +0 -1
  230. package/dist/angular-formio/fesm2022/formio-angular-resource.mjs +0 -656
  231. package/dist/angular-formio/fesm2022/formio-angular-resource.mjs.map +0 -1
  232. package/dist/angular-formio/fesm2022/formio-angular.mjs +0 -1321
  233. package/dist/angular-formio/fesm2022/formio-angular.mjs.map +0 -1
  234. package/dist/angular-formio/formio.common.d.ts.map +0 -1
  235. package/dist/angular-formio/formio.config.d.ts.map +0 -1
  236. package/dist/angular-formio/grid/submission/SubmissionGridHeader.component.d.ts.map +0 -1
  237. package/projects/angular-formio/README.md +0 -24
  238. package/projects/angular-formio/auth/ng-package.json +0 -5
  239. package/projects/angular-formio/auth/src/auth.component.html +0 -11
  240. package/projects/angular-formio/auth/src/auth.component.ts +0 -5
  241. package/projects/angular-formio/auth/src/auth.config.ts +0 -72
  242. package/projects/angular-formio/auth/src/auth.module.ts +0 -33
  243. package/projects/angular-formio/auth/src/auth.routes.ts +0 -34
  244. package/projects/angular-formio/auth/src/auth.service.ts +0 -221
  245. package/projects/angular-formio/auth/src/index.ts +0 -8
  246. package/projects/angular-formio/auth/src/login/login.component.html +0 -1
  247. package/projects/angular-formio/auth/src/login/login.component.ts +0 -11
  248. package/projects/angular-formio/auth/src/public_api.ts +0 -5
  249. package/projects/angular-formio/auth/src/register/register.component.html +0 -1
  250. package/projects/angular-formio/auth/src/register/register.component.ts +0 -11
  251. package/projects/angular-formio/auth/src/resetpass/resetpass.component.html +0 -1
  252. package/projects/angular-formio/auth/src/resetpass/resetpass.component.ts +0 -8
  253. package/projects/angular-formio/grid/ng-package.json +0 -5
  254. package/projects/angular-formio/grid/src/GridBodyComponent.ts +0 -80
  255. package/projects/angular-formio/grid/src/GridFooterComponent.ts +0 -25
  256. package/projects/angular-formio/grid/src/GridHeaderComponent.ts +0 -25
  257. package/projects/angular-formio/grid/src/form/FormGridBody.component.html +0 -22
  258. package/projects/angular-formio/grid/src/form/FormGridBody.component.scss +0 -4
  259. package/projects/angular-formio/grid/src/form/FormGridBody.component.ts +0 -46
  260. package/projects/angular-formio/grid/src/form/FormGridFooter.component.html +0 -21
  261. package/projects/angular-formio/grid/src/form/FormGridFooter.component.ts +0 -23
  262. package/projects/angular-formio/grid/src/form/FormGridHeader.component.html +0 -18
  263. package/projects/angular-formio/grid/src/form/FormGridHeader.component.ts +0 -24
  264. package/projects/angular-formio/grid/src/form/index.ts +0 -8
  265. package/projects/angular-formio/grid/src/form/time-since.pipe.ts +0 -31
  266. package/projects/angular-formio/grid/src/grid.component.html +0 -18
  267. package/projects/angular-formio/grid/src/grid.component.scss +0 -9
  268. package/projects/angular-formio/grid/src/grid.component.ts +0 -242
  269. package/projects/angular-formio/grid/src/grid.footer.scss +0 -14
  270. package/projects/angular-formio/grid/src/grid.module.ts +0 -49
  271. package/projects/angular-formio/grid/src/grid.service.ts +0 -16
  272. package/projects/angular-formio/grid/src/index.ts +0 -12
  273. package/projects/angular-formio/grid/src/public_api.ts +0 -5
  274. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.html +0 -7
  275. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.ts +0 -39
  276. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.html +0 -18
  277. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.ts +0 -20
  278. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.html +0 -11
  279. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ts +0 -72
  280. package/projects/angular-formio/grid/src/submission/index.ts +0 -8
  281. package/projects/angular-formio/grid/src/types/grid-column.ts +0 -7
  282. package/projects/angular-formio/grid/src/types/grid-footer-positions.ts +0 -5
  283. package/projects/angular-formio/grid/src/types/grid-header.ts +0 -14
  284. package/projects/angular-formio/karma.conf.js +0 -32
  285. package/projects/angular-formio/manager/ng-package.json +0 -5
  286. package/projects/angular-formio/manager/src/create/create.component.ts +0 -11
  287. package/projects/angular-formio/manager/src/delete/delete.component.html +0 -6
  288. package/projects/angular-formio/manager/src/delete/delete.component.ts +0 -37
  289. package/projects/angular-formio/manager/src/edit/edit.component.html +0 -19
  290. package/projects/angular-formio/manager/src/edit/edit.component.ts +0 -110
  291. package/projects/angular-formio/manager/src/form/form.component.html +0 -32
  292. package/projects/angular-formio/manager/src/form/form.component.ts +0 -73
  293. package/projects/angular-formio/manager/src/form-manager.config.ts +0 -31
  294. package/projects/angular-formio/manager/src/form-manager.module.ts +0 -54
  295. package/projects/angular-formio/manager/src/form-manager.routes.ts +0 -75
  296. package/projects/angular-formio/manager/src/form-manager.service.ts +0 -190
  297. package/projects/angular-formio/manager/src/index/index.component.html +0 -14
  298. package/projects/angular-formio/manager/src/index/index.component.scss +0 -22
  299. package/projects/angular-formio/manager/src/index/index.component.ts +0 -100
  300. package/projects/angular-formio/manager/src/index.ts +0 -16
  301. package/projects/angular-formio/manager/src/public_api.ts +0 -5
  302. package/projects/angular-formio/manager/src/submission/delete/delete.component.html +0 -6
  303. package/projects/angular-formio/manager/src/submission/delete/delete.component.ts +0 -26
  304. package/projects/angular-formio/manager/src/submission/edit/edit.component.html +0 -7
  305. package/projects/angular-formio/manager/src/submission/edit/edit.component.ts +0 -18
  306. package/projects/angular-formio/manager/src/submission/index/index.component.html +0 -1
  307. package/projects/angular-formio/manager/src/submission/index/index.component.ts +0 -18
  308. package/projects/angular-formio/manager/src/submission/submission/submission.component.html +0 -8
  309. package/projects/angular-formio/manager/src/submission/submission/submission.component.ts +0 -24
  310. package/projects/angular-formio/manager/src/submission/view/view.component.html +0 -7
  311. package/projects/angular-formio/manager/src/submission/view/view.component.ts +0 -9
  312. package/projects/angular-formio/manager/src/view/view.component.html +0 -11
  313. package/projects/angular-formio/manager/src/view/view.component.ts +0 -44
  314. package/projects/angular-formio/ng-package.json +0 -7
  315. package/projects/angular-formio/node_modules/tslib/CopyrightNotice.txt +0 -15
  316. package/projects/angular-formio/node_modules/tslib/LICENSE.txt +0 -12
  317. package/projects/angular-formio/node_modules/tslib/README.md +0 -164
  318. package/projects/angular-formio/node_modules/tslib/SECURITY.md +0 -41
  319. package/projects/angular-formio/node_modules/tslib/modules/index.d.ts +0 -35
  320. package/projects/angular-formio/node_modules/tslib/modules/index.js +0 -64
  321. package/projects/angular-formio/node_modules/tslib/modules/package.json +0 -3
  322. package/projects/angular-formio/node_modules/tslib/package.json +0 -47
  323. package/projects/angular-formio/node_modules/tslib/tslib.d.ts +0 -430
  324. package/projects/angular-formio/node_modules/tslib/tslib.es6.html +0 -1
  325. package/projects/angular-formio/node_modules/tslib/tslib.es6.js +0 -321
  326. package/projects/angular-formio/node_modules/tslib/tslib.es6.mjs +0 -321
  327. package/projects/angular-formio/node_modules/tslib/tslib.html +0 -1
  328. package/projects/angular-formio/node_modules/tslib/tslib.js +0 -370
  329. package/projects/angular-formio/package.json +0 -39
  330. package/projects/angular-formio/resource/ng-package.json +0 -5
  331. package/projects/angular-formio/resource/src/create/create.component.html +0 -13
  332. package/projects/angular-formio/resource/src/create/create.component.scss +0 -3
  333. package/projects/angular-formio/resource/src/create/create.component.ts +0 -37
  334. package/projects/angular-formio/resource/src/delete/delete.component.html +0 -5
  335. package/projects/angular-formio/resource/src/delete/delete.component.ts +0 -24
  336. package/projects/angular-formio/resource/src/edit/edit.component.html +0 -7
  337. package/projects/angular-formio/resource/src/edit/edit.component.ts +0 -35
  338. package/projects/angular-formio/resource/src/index/index.component.html +0 -10
  339. package/projects/angular-formio/resource/src/index/index.component.ts +0 -64
  340. package/projects/angular-formio/resource/src/index.js +0 -24
  341. package/projects/angular-formio/resource/src/index.ts +0 -11
  342. package/projects/angular-formio/resource/src/public_api.ts +0 -5
  343. package/projects/angular-formio/resource/src/resource.component.html +0 -7
  344. package/projects/angular-formio/resource/src/resource.component.ts +0 -48
  345. package/projects/angular-formio/resource/src/resource.config.ts +0 -17
  346. package/projects/angular-formio/resource/src/resource.module.ts +0 -43
  347. package/projects/angular-formio/resource/src/resource.routes.ts +0 -43
  348. package/projects/angular-formio/resource/src/resource.service.ts +0 -258
  349. package/projects/angular-formio/resource/src/resources.service.ts +0 -24
  350. package/projects/angular-formio/resource/src/view/view.component.html +0 -6
  351. package/projects/angular-formio/resource/src/view/view.component.ts +0 -19
  352. package/projects/angular-formio/src/FormioBaseComponent.ts +0 -557
  353. package/projects/angular-formio/src/components/alerts/formio.alerts.component.html +0 -3
  354. package/projects/angular-formio/src/components/alerts/formio.alerts.component.ts +0 -19
  355. package/projects/angular-formio/src/components/alerts/formio.alerts.ts +0 -21
  356. package/projects/angular-formio/src/components/alerts/parse-html-content.pipe.ts +0 -15
  357. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.html +0 -1
  358. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.ts +0 -213
  359. package/projects/angular-formio/src/components/formio/formio.component.html +0 -8
  360. package/projects/angular-formio/src/components/formio/formio.component.ts +0 -33
  361. package/projects/angular-formio/src/components/formioreport/formioreport.component.html +0 -8
  362. package/projects/angular-formio/src/components/formioreport/formioreport.component.ts +0 -91
  363. package/projects/angular-formio/src/components/loader/formio.loader.component.html +0 -3
  364. package/projects/angular-formio/src/components/loader/formio.loader.component.scss +0 -26
  365. package/projects/angular-formio/src/components/loader/formio.loader.component.ts +0 -10
  366. package/projects/angular-formio/src/core.ts +0 -25
  367. package/projects/angular-formio/src/custom-tags.service.ts +0 -9
  368. package/projects/angular-formio/src/formio-promise.service.ts +0 -36
  369. package/projects/angular-formio/src/formio.common.ts +0 -91
  370. package/projects/angular-formio/src/formio.config.ts +0 -26
  371. package/projects/angular-formio/src/formio.module.ts +0 -38
  372. package/projects/angular-formio/src/formio.service.ts +0 -57
  373. package/projects/angular-formio/src/formio.utils.ts +0 -23
  374. package/projects/angular-formio/src/index.ts +0 -3
  375. package/projects/angular-formio/src/public-api.ts +0 -5
  376. package/projects/angular-formio/src/test.ts +0 -28
  377. package/projects/angular-formio/src/types/alerts-position.ts +0 -6
  378. package/projects/angular-formio/src/types/formio-metadata.ts +0 -10
  379. package/projects/angular-formio/src/types/formio-submission.ts +0 -20
  380. package/projects/angular-formio/tsconfig.lib.json +0 -27
  381. package/projects/angular-formio/tsconfig.lib.prod.json +0 -8
  382. package/projects/angular-formio/tsconfig.spec.json +0 -17
  383. package/projects/angular-formio/tslint.json +0 -17
  384. package/tsconfig.json +0 -39
  385. package/tslint.json +0 -140
  386. /package/{dist/angular-formio/auth → auth}/auth.component.d.ts +0 -0
  387. /package/{dist/angular-formio/auth → auth}/auth.component.d.ts.map +0 -0
  388. /package/{dist/angular-formio/auth → auth}/auth.config.d.ts +0 -0
  389. /package/{dist/angular-formio/auth → auth}/auth.config.d.ts.map +0 -0
  390. /package/{dist/angular-formio/auth → auth}/auth.module.d.ts +0 -0
  391. /package/{dist/angular-formio/auth → auth}/auth.module.d.ts.map +0 -0
  392. /package/{dist/angular-formio/auth → auth}/auth.routes.d.ts +0 -0
  393. /package/{dist/angular-formio/auth → auth}/auth.routes.d.ts.map +0 -0
  394. /package/{dist/angular-formio/auth → auth}/auth.service.d.ts +0 -0
  395. /package/{dist/angular-formio/auth → auth}/auth.service.d.ts.map +0 -0
  396. /package/{dist/angular-formio/auth → auth}/formio-angular-auth.d.ts.map +0 -0
  397. /package/{dist/angular-formio/auth → auth}/index.d.ts +0 -0
  398. /package/{dist/angular-formio/auth → auth}/index.d.ts.map +0 -0
  399. /package/{dist/angular-formio/auth → auth}/login/login.component.d.ts +0 -0
  400. /package/{dist/angular-formio/auth → auth}/login/login.component.d.ts.map +0 -0
  401. /package/{dist/angular-formio/auth → auth}/register/register.component.d.ts +0 -0
  402. /package/{dist/angular-formio/auth → auth}/register/register.component.d.ts.map +0 -0
  403. /package/{dist/angular-formio/auth → auth}/resetpass/resetpass.component.d.ts +0 -0
  404. /package/{dist/angular-formio/auth → auth}/resetpass/resetpass.component.d.ts.map +0 -0
  405. /package/{dist/angular-formio/components → components}/alerts/formio.alerts.component.d.ts +0 -0
  406. /package/{dist/angular-formio/components → components}/alerts/formio.alerts.component.d.ts.map +0 -0
  407. /package/{dist/angular-formio/components → components}/alerts/formio.alerts.d.ts +0 -0
  408. /package/{dist/angular-formio/components → components}/alerts/formio.alerts.d.ts.map +0 -0
  409. /package/{dist/angular-formio/components → components}/alerts/parse-html-content.pipe.d.ts +0 -0
  410. /package/{dist/angular-formio/components → components}/alerts/parse-html-content.pipe.d.ts.map +0 -0
  411. /package/{dist/angular-formio/components → components}/formio/formio.component.d.ts +0 -0
  412. /package/{dist/angular-formio/components → components}/formio/formio.component.d.ts.map +0 -0
  413. /package/{dist/angular-formio/components → components}/loader/formio.loader.component.d.ts +0 -0
  414. /package/{dist/angular-formio/components → components}/loader/formio.loader.component.d.ts.map +0 -0
  415. /package/{dist/angular-formio/custom-tags.service.d.ts → custom-tags.service.d.ts} +0 -0
  416. /package/{dist/angular-formio/custom-tags.service.d.ts.map → custom-tags.service.d.ts.map} +0 -0
  417. /package/{dist/angular-formio/esm2022 → esm2022}/auth/auth.routes.mjs +0 -0
  418. /package/{dist/angular-formio/esm2022 → esm2022}/auth/formio-angular-auth.mjs +0 -0
  419. /package/{dist/angular-formio/esm2022 → esm2022}/auth/index.mjs +0 -0
  420. /package/{dist/angular-formio/esm2022 → esm2022}/components/alerts/formio.alerts.mjs +0 -0
  421. /package/{dist/angular-formio/esm2022 → esm2022}/formio-angular.mjs +0 -0
  422. /package/{dist/angular-formio/esm2022 → esm2022}/formio-promise.service.mjs +0 -0
  423. /package/{dist/angular-formio/esm2022 → esm2022}/grid/form/index.mjs +0 -0
  424. /package/{dist/angular-formio/esm2022 → esm2022}/grid/formio-angular-grid.mjs +0 -0
  425. /package/{dist/angular-formio/esm2022 → esm2022}/grid/index.mjs +0 -0
  426. /package/{dist/angular-formio/esm2022 → esm2022}/grid/submission/index.mjs +0 -0
  427. /package/{dist/angular-formio/esm2022 → esm2022}/grid/types/grid-column.mjs +0 -0
  428. /package/{dist/angular-formio/esm2022 → esm2022}/grid/types/grid-footer-positions.mjs +0 -0
  429. /package/{dist/angular-formio/esm2022 → esm2022}/grid/types/grid-header.mjs +0 -0
  430. /package/{dist/angular-formio/esm2022 → esm2022}/index.mjs +0 -0
  431. /package/{dist/angular-formio/esm2022 → esm2022}/manager/form-manager.routes.mjs +0 -0
  432. /package/{dist/angular-formio/esm2022 → esm2022}/manager/formio-angular-manager.mjs +0 -0
  433. /package/{dist/angular-formio/esm2022 → esm2022}/manager/index.mjs +0 -0
  434. /package/{dist/angular-formio/esm2022 → esm2022}/resource/formio-angular-resource.mjs +0 -0
  435. /package/{dist/angular-formio/esm2022 → esm2022}/resource/index.mjs +0 -0
  436. /package/{dist/angular-formio/esm2022 → esm2022}/resource/resource.routes.mjs +0 -0
  437. /package/{dist/angular-formio/esm2022 → esm2022}/types/alerts-position.mjs +0 -0
  438. /package/{dist/angular-formio/esm2022 → esm2022}/types/formio-metadata.mjs +0 -0
  439. /package/{dist/angular-formio/esm2022 → esm2022}/types/formio-submission.mjs +0 -0
  440. /package/{dist/angular-formio/formio-angular.d.ts.map → formio-angular.d.ts.map} +0 -0
  441. /package/{dist/angular-formio/formio-promise.service.d.ts → formio-promise.service.d.ts} +0 -0
  442. /package/{dist/angular-formio/formio-promise.service.d.ts.map → formio-promise.service.d.ts.map} +0 -0
  443. /package/{dist/angular-formio/formio.module.d.ts → formio.module.d.ts} +0 -0
  444. /package/{dist/angular-formio/formio.module.d.ts.map → formio.module.d.ts.map} +0 -0
  445. /package/{dist/angular-formio/formio.service.d.ts → formio.service.d.ts} +0 -0
  446. /package/{dist/angular-formio/formio.service.d.ts.map → formio.service.d.ts.map} +0 -0
  447. /package/{dist/angular-formio/formio.utils.d.ts → formio.utils.d.ts} +0 -0
  448. /package/{dist/angular-formio/formio.utils.d.ts.map → formio.utils.d.ts.map} +0 -0
  449. /package/{dist/angular-formio/grid → grid}/GridBodyComponent.d.ts +0 -0
  450. /package/{dist/angular-formio/grid → grid}/GridBodyComponent.d.ts.map +0 -0
  451. /package/{dist/angular-formio/grid → grid}/GridFooterComponent.d.ts +0 -0
  452. /package/{dist/angular-formio/grid → grid}/GridFooterComponent.d.ts.map +0 -0
  453. /package/{dist/angular-formio/grid → grid}/GridHeaderComponent.d.ts +0 -0
  454. /package/{dist/angular-formio/grid → grid}/GridHeaderComponent.d.ts.map +0 -0
  455. /package/{dist/angular-formio/grid → grid}/form/FormGridBody.component.d.ts +0 -0
  456. /package/{dist/angular-formio/grid → grid}/form/FormGridBody.component.d.ts.map +0 -0
  457. /package/{dist/angular-formio/grid → grid}/form/FormGridFooter.component.d.ts +0 -0
  458. /package/{dist/angular-formio/grid → grid}/form/FormGridFooter.component.d.ts.map +0 -0
  459. /package/{dist/angular-formio/grid → grid}/form/FormGridHeader.component.d.ts +0 -0
  460. /package/{dist/angular-formio/grid → grid}/form/FormGridHeader.component.d.ts.map +0 -0
  461. /package/{dist/angular-formio/grid → grid}/form/index.d.ts +0 -0
  462. /package/{dist/angular-formio/grid → grid}/form/index.d.ts.map +0 -0
  463. /package/{dist/angular-formio/grid → grid}/form/time-since.pipe.d.ts +0 -0
  464. /package/{dist/angular-formio/grid → grid}/form/time-since.pipe.d.ts.map +0 -0
  465. /package/{dist/angular-formio/grid → grid}/formio-angular-grid.d.ts.map +0 -0
  466. /package/{dist/angular-formio/grid → grid}/grid.component.d.ts +0 -0
  467. /package/{dist/angular-formio/grid → grid}/grid.component.d.ts.map +0 -0
  468. /package/{dist/angular-formio/grid → grid}/grid.module.d.ts +0 -0
  469. /package/{dist/angular-formio/grid → grid}/grid.module.d.ts.map +0 -0
  470. /package/{dist/angular-formio/grid → grid}/grid.service.d.ts +0 -0
  471. /package/{dist/angular-formio/grid → grid}/grid.service.d.ts.map +0 -0
  472. /package/{dist/angular-formio/grid → grid}/index.d.ts +0 -0
  473. /package/{dist/angular-formio/grid → grid}/index.d.ts.map +0 -0
  474. /package/{dist/angular-formio/grid → grid}/submission/SubmissionGridBody.component.d.ts +0 -0
  475. /package/{dist/angular-formio/grid → grid}/submission/SubmissionGridBody.component.d.ts.map +0 -0
  476. /package/{dist/angular-formio/grid → grid}/submission/SubmissionGridFooter.component.d.ts +0 -0
  477. /package/{dist/angular-formio/grid → grid}/submission/SubmissionGridFooter.component.d.ts.map +0 -0
  478. /package/{dist/angular-formio/grid → grid}/submission/index.d.ts +0 -0
  479. /package/{dist/angular-formio/grid → grid}/submission/index.d.ts.map +0 -0
  480. /package/{dist/angular-formio/grid → grid}/types/grid-column.d.ts +0 -0
  481. /package/{dist/angular-formio/grid → grid}/types/grid-column.d.ts.map +0 -0
  482. /package/{dist/angular-formio/grid → grid}/types/grid-footer-positions.d.ts +0 -0
  483. /package/{dist/angular-formio/grid → grid}/types/grid-footer-positions.d.ts.map +0 -0
  484. /package/{dist/angular-formio/grid → grid}/types/grid-header.d.ts +0 -0
  485. /package/{dist/angular-formio/grid → grid}/types/grid-header.d.ts.map +0 -0
  486. /package/{dist/angular-formio/index.d.ts → index.d.ts} +0 -0
  487. /package/{dist/angular-formio/index.d.ts.map → index.d.ts.map} +0 -0
  488. /package/{dist/angular-formio/manager → manager}/create/create.component.d.ts +0 -0
  489. /package/{dist/angular-formio/manager → manager}/create/create.component.d.ts.map +0 -0
  490. /package/{dist/angular-formio/manager → manager}/delete/delete.component.d.ts +0 -0
  491. /package/{dist/angular-formio/manager → manager}/delete/delete.component.d.ts.map +0 -0
  492. /package/{dist/angular-formio/manager → manager}/edit/edit.component.d.ts +0 -0
  493. /package/{dist/angular-formio/manager → manager}/form/form.component.d.ts +0 -0
  494. /package/{dist/angular-formio/manager → manager}/form/form.component.d.ts.map +0 -0
  495. /package/{dist/angular-formio/manager → manager}/form-manager.config.d.ts +0 -0
  496. /package/{dist/angular-formio/manager → manager}/form-manager.config.d.ts.map +0 -0
  497. /package/{dist/angular-formio/manager → manager}/form-manager.module.d.ts +0 -0
  498. /package/{dist/angular-formio/manager → manager}/form-manager.module.d.ts.map +0 -0
  499. /package/{dist/angular-formio/manager → manager}/form-manager.routes.d.ts +0 -0
  500. /package/{dist/angular-formio/manager → manager}/form-manager.routes.d.ts.map +0 -0
  501. /package/{dist/angular-formio/manager → manager}/formio-angular-manager.d.ts.map +0 -0
  502. /package/{dist/angular-formio/manager → manager}/index/index.component.d.ts +0 -0
  503. /package/{dist/angular-formio/manager → manager}/index/index.component.d.ts.map +0 -0
  504. /package/{dist/angular-formio/manager → manager}/index.d.ts +0 -0
  505. /package/{dist/angular-formio/manager → manager}/index.d.ts.map +0 -0
  506. /package/{dist/angular-formio/manager → manager}/submission/delete/delete.component.d.ts +0 -0
  507. /package/{dist/angular-formio/manager → manager}/submission/delete/delete.component.d.ts.map +0 -0
  508. /package/{dist/angular-formio/manager → manager}/submission/edit/edit.component.d.ts +0 -0
  509. /package/{dist/angular-formio/manager → manager}/submission/edit/edit.component.d.ts.map +0 -0
  510. /package/{dist/angular-formio/manager → manager}/submission/index/index.component.d.ts +0 -0
  511. /package/{dist/angular-formio/manager → manager}/submission/index/index.component.d.ts.map +0 -0
  512. /package/{dist/angular-formio/manager → manager}/submission/submission/submission.component.d.ts +0 -0
  513. /package/{dist/angular-formio/manager → manager}/submission/submission/submission.component.d.ts.map +0 -0
  514. /package/{dist/angular-formio/manager → manager}/submission/view/view.component.d.ts +0 -0
  515. /package/{dist/angular-formio/manager → manager}/submission/view/view.component.d.ts.map +0 -0
  516. /package/{dist/angular-formio/manager → manager}/view/view.component.d.ts +0 -0
  517. /package/{dist/angular-formio/manager → manager}/view/view.component.d.ts.map +0 -0
  518. /package/{dist/angular-formio/resource → resource}/create/create.component.d.ts +0 -0
  519. /package/{dist/angular-formio/resource → resource}/create/create.component.d.ts.map +0 -0
  520. /package/{dist/angular-formio/resource → resource}/delete/delete.component.d.ts +0 -0
  521. /package/{dist/angular-formio/resource → resource}/delete/delete.component.d.ts.map +0 -0
  522. /package/{dist/angular-formio/resource → resource}/edit/edit.component.d.ts +0 -0
  523. /package/{dist/angular-formio/resource → resource}/edit/edit.component.d.ts.map +0 -0
  524. /package/{dist/angular-formio/resource → resource}/formio-angular-resource.d.ts.map +0 -0
  525. /package/{dist/angular-formio/resource → resource}/index/index.component.d.ts +0 -0
  526. /package/{dist/angular-formio/resource → resource}/index/index.component.d.ts.map +0 -0
  527. /package/{dist/angular-formio/resource → resource}/index.d.ts +0 -0
  528. /package/{dist/angular-formio/resource → resource}/index.d.ts.map +0 -0
  529. /package/{dist/angular-formio/resource → resource}/resource.component.d.ts +0 -0
  530. /package/{dist/angular-formio/resource → resource}/resource.component.d.ts.map +0 -0
  531. /package/{dist/angular-formio/resource → resource}/resource.config.d.ts +0 -0
  532. /package/{dist/angular-formio/resource → resource}/resource.config.d.ts.map +0 -0
  533. /package/{dist/angular-formio/resource → resource}/resource.module.d.ts +0 -0
  534. /package/{dist/angular-formio/resource → resource}/resource.module.d.ts.map +0 -0
  535. /package/{dist/angular-formio/resource → resource}/resource.routes.d.ts +0 -0
  536. /package/{dist/angular-formio/resource → resource}/resource.routes.d.ts.map +0 -0
  537. /package/{dist/angular-formio/resource → resource}/resource.service.d.ts +0 -0
  538. /package/{dist/angular-formio/resource → resource}/resources.service.d.ts +0 -0
  539. /package/{dist/angular-formio/resource → resource}/resources.service.d.ts.map +0 -0
  540. /package/{dist/angular-formio/resource → resource}/view/view.component.d.ts +0 -0
  541. /package/{dist/angular-formio/resource → resource}/view/view.component.d.ts.map +0 -0
  542. /package/{dist/angular-formio/types → types}/alerts-position.d.ts +0 -0
  543. /package/{dist/angular-formio/types → types}/alerts-position.d.ts.map +0 -0
  544. /package/{dist/angular-formio/types → types}/formio-metadata.d.ts +0 -0
  545. /package/{dist/angular-formio/types → types}/formio-metadata.d.ts.map +0 -0
  546. /package/{dist/angular-formio/types → types}/formio-submission.d.ts +0 -0
  547. /package/{dist/angular-formio/types → types}/formio-submission.d.ts.map +0 -0
@@ -1 +0,0 @@
1
- {"modules":[{"ast":{"type":"Program","start":0,"end":3580,"body":[{"type":"ImportDeclaration","start":0,"end":43,"specifiers":[{"type":"ImportSpecifier","start":9,"end":19,"imported":{"type":"Identifier","start":9,"end":19,"name":"Injectable"},"local":{"type":"Identifier","start":9,"end":19,"name":"Injectable"}}],"source":{"type":"Literal","start":27,"end":42,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":44,"end":80,"specifiers":[{"type":"ImportNamespaceSpecifier","start":51,"end":58,"local":{"type":"Identifier","start":56,"end":58,"name":"i0"}}],"source":{"type":"Literal","start":64,"end":79,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":81,"end":410,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":88,"end":410,"id":{"type":"Identifier","start":94,"end":110,"name":"FormioAuthConfig"},"superClass":null,"body":{"type":"ClassBody","start":111,"end":410,"body":[{"type":"PropertyDefinition","start":117,"end":127,"static":false,"computed":false,"key":{"type":"Identifier","start":117,"end":126,"name":"component"},"value":null},{"type":"PropertyDefinition","start":132,"end":142,"static":false,"computed":false,"key":{"type":"Identifier","start":132,"end":141,"name":"delayAuth"},"value":null},{"type":"PropertyDefinition","start":147,"end":153,"static":false,"computed":false,"key":{"type":"Identifier","start":147,"end":152,"name":"login"},"value":null},{"type":"PropertyDefinition","start":158,"end":167,"static":false,"computed":false,"key":{"type":"Identifier","start":158,"end":166,"name":"register"},"value":null},{"type":"PropertyDefinition","start":172,"end":182,"static":false,"computed":false,"key":{"type":"Identifier","start":172,"end":181,"name":"resetpass"},"value":null},{"type":"PropertyDefinition","start":187,"end":193,"static":false,"computed":false,"key":{"type":"Identifier","start":187,"end":192,"name":"oauth"},"value":null},{"type":"PropertyDefinition","start":198,"end":291,"static":true,"computed":false,"key":{"type":"Identifier","start":205,"end":209,"name":"ɵfac"},"value":{"type":"FunctionExpression","start":212,"end":290,"async":false,"generator":false,"id":{"type":"Identifier","start":221,"end":245,"name":"FormioAuthConfig_Factory"},"params":[{"type":"Identifier","start":246,"end":247,"name":"t"}],"body":{"type":"BlockStatement","start":249,"end":290,"body":[{"type":"ReturnStatement","start":251,"end":288,"argument":{"type":"NewExpression","start":258,"end":287,"callee":{"type":"LogicalExpression","start":263,"end":284,"operator":"||","left":{"type":"Identifier","start":263,"end":264,"name":"t"},"right":{"type":"Identifier","start":268,"end":284,"name":"FormioAuthConfig"}},"arguments":[]}}]},"expression":false}},{"type":"PropertyDefinition","start":296,"end":408,"static":true,"computed":false,"key":{"type":"Identifier","start":303,"end":308,"name":"ɵprov"},"value":{"type":"CallExpression","start":325,"end":407,"optional":false,"_rollupAnnotations":[{"end":324,"start":311,"type":"pure"}],"callee":{"type":"MemberExpression","start":325,"end":346,"computed":false,"optional":false,"object":{"type":"Identifier","start":325,"end":327,"name":"i0"},"property":{"type":"Identifier","start":328,"end":346,"name":"ɵɵdefineInjectable"}},"arguments":[{"type":"ObjectExpression","start":347,"end":406,"properties":[{"type":"Property","start":349,"end":372,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":349,"end":354,"name":"token"},"value":{"type":"Identifier","start":356,"end":372,"name":"FormioAuthConfig"},"kind":"init"},{"type":"Property","start":374,"end":404,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":374,"end":381,"name":"factory"},"value":{"type":"MemberExpression","start":383,"end":404,"computed":false,"optional":false,"object":{"type":"Identifier","start":383,"end":399,"name":"FormioAuthConfig"},"property":{"type":"Identifier","start":400,"end":404,"name":"ɵfac"}},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":411,"end":564,"expression":{"type":"CallExpression","start":411,"end":563,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":412,"end":560,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":418,"end":560,"body":[{"type":"ExpressionStatement","start":420,"end":558,"expression":{"type":"LogicalExpression","start":420,"end":557,"operator":"&&","left":{"type":"LogicalExpression","start":421,"end":466,"operator":"||","left":{"type":"BinaryExpression","start":421,"end":453,"operator":"===","left":{"type":"UnaryExpression","start":421,"end":437,"operator":"typeof","argument":{"type":"Identifier","start":428,"end":437,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":442,"end":453,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":457,"end":466,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":471,"end":557,"optional":false,"callee":{"type":"MemberExpression","start":471,"end":491,"computed":false,"optional":false,"object":{"type":"Identifier","start":471,"end":473,"name":"i0"},"property":{"type":"Identifier","start":474,"end":491,"name":"ɵsetClassMetadata"}},"arguments":[{"type":"Identifier","start":492,"end":508,"name":"FormioAuthConfig"},{"type":"ArrayExpression","start":510,"end":544,"elements":[{"type":"ObjectExpression","start":511,"end":543,"properties":[{"type":"Property","start":521,"end":537,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":521,"end":525,"name":"type"},"value":{"type":"Identifier","start":527,"end":537,"name":"Injectable"},"kind":"init"}]}]},{"type":"Literal","start":546,"end":550,"raw":"null","value":null},{"type":"Literal","start":552,"end":556,"raw":"null","value":null}]}}}]},"id":null},"arguments":[]}},{"type":"ExportNamedDeclaration","start":565,"end":592,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"VariableDeclaration","start":572,"end":592,"kind":"var","declarations":[{"type":"VariableDeclarator","start":576,"end":591,"id":{"type":"Identifier","start":576,"end":591,"name":"FormioOauthType"},"init":null}]}},{"type":"ExpressionStatement","start":593,"end":745,"expression":{"type":"CallExpression","start":593,"end":744,"optional":false,"callee":{"type":"FunctionExpression","start":594,"end":700,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":604,"end":619,"name":"FormioOauthType"}],"body":{"type":"BlockStatement","start":621,"end":700,"body":[{"type":"ExpressionStatement","start":627,"end":660,"expression":{"type":"AssignmentExpression","start":627,"end":659,"operator":"=","left":{"type":"MemberExpression","start":627,"end":650,"computed":true,"optional":false,"object":{"type":"Identifier","start":627,"end":642,"name":"FormioOauthType"},"property":{"type":"Literal","start":643,"end":649,"value":"okta","raw":"\"okta\""}},"right":{"type":"Literal","start":653,"end":659,"value":"okta","raw":"\"okta\""}}},{"type":"ExpressionStatement","start":665,"end":698,"expression":{"type":"AssignmentExpression","start":665,"end":697,"operator":"=","left":{"type":"MemberExpression","start":665,"end":688,"computed":true,"optional":false,"object":{"type":"Identifier","start":665,"end":680,"name":"FormioOauthType"},"property":{"type":"Literal","start":681,"end":687,"value":"saml","raw":"\"saml\""}},"right":{"type":"Literal","start":691,"end":697,"value":"saml","raw":"\"saml\""}}}]},"expression":false},"arguments":[{"type":"LogicalExpression","start":702,"end":743,"operator":"||","left":{"type":"Identifier","start":702,"end":717,"name":"FormioOauthType"},"right":{"type":"AssignmentExpression","start":722,"end":742,"operator":"=","left":{"type":"Identifier","start":722,"end":737,"name":"FormioOauthType"},"right":{"type":"ObjectExpression","start":740,"end":742,"properties":[]}}}]}}],"_rollupRemoved":[{"end":3580,"start":746,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Injectable } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class FormioAuthConfig {\n component;\n delayAuth;\n login;\n register;\n resetpass;\n oauth;\n static ɵfac = function FormioAuthConfig_Factory(t) { return new (t || FormioAuthConfig)(); };\n static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormioAuthConfig, factory: FormioAuthConfig.ɵfac });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthConfig, [{\n type: Injectable\n }], null, null); })();\nexport var FormioOauthType;\n(function (FormioOauthType) {\n FormioOauthType[\"okta\"] = \"okta\";\n FormioOauthType[\"saml\"] = \"saml\";\n})(FormioOauthType || (FormioOauthType = {}));\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5jb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9hdXRoL3NyYy9hdXRoLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQWdCM0MsTUFBTSxPQUFPLGdCQUFnQjtJQUMzQixTQUFTLENBQU87SUFDaEIsU0FBUyxDQUFPO0lBQ2hCLEtBQUssQ0FBd0I7SUFDN0IsUUFBUSxDQUF3QjtJQUNoQyxTQUFTLENBQXdCO0lBQ2pDLEtBQUssQ0FBcUI7MEVBTmYsZ0JBQWdCO2dFQUFoQixnQkFBZ0IsV0FBaEIsZ0JBQWdCOztpRkFBaEIsZ0JBQWdCO2NBRDVCLFVBQVU7O0FBZ0JYLE1BQU0sQ0FBTixJQUFZLGVBR1g7QUFIRCxXQUFZLGVBQWU7SUFDekIsZ0NBQWEsQ0FBQTtJQUNiLGdDQUFhLENBQUE7QUFDZixDQUFDLEVBSFcsZUFBZSxLQUFmLGVBQWUsUUFHMUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2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RwczovL2dpdGh1Yi5jb20vb2t0YS9va3RhLWF1dGgtanMjY29uZmlndXJhdGlvbi1yZWZlcmVuY2VcbmV4cG9ydCBpbnRlcmZhY2UgT2t0YUNvbmZpZyB7XG4gIHVybD86IHN0cmluZztcbiAgdG9rZW5NYW5hZ2VyPzogT2t0YVRva2VuTWFuYWdlckNvbmZpZztcbiAgaXNzdWVyPzogc3RyaW5nO1xuICBjbGllbnRJZD86IHN0cmluZztcbiAgcmVkaXJlY3RVcmk/OiBzdHJpbmc7XG4gIHBvc3RMb2dvdXRSZWRpcmVjdFVyaT86IHN0cmluZztcbiAgcGtjZT86IGJvb2xlYW47XG4gIGF1dGhvcml6ZVVybD86IHN0cmluZztcbiAgdXNlcmluZm9Vcmw/OiBzdHJpbmc7XG4gIHRva2VuVXJsPzogc3RyaW5nO1xuICBpZ25vcmVTaWduYXR1cmU/OiBib29sZWFuO1xuICBtYXhDbG9ja1NrZXc/OiBudW1iZXI7XG4gIHNjb3Blcz86IHN0cmluZ1tdO1xuICBodHRwUmVxdWVzdENsaWVudD86IEZ1bmN0aW9uO1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIE9rdGFUb2tlbk1hbmFnZXJDb25maWcge1xuICBzdG9yYWdlPzogc3RyaW5nIHwge1xuICAgIGdldEl0ZW0/OiBGdW5jdGlvbjtcbiAgICBzZXRJdGVtPzogRnVuY3Rpb247XG4gIH07XG4gIHNlY3VyZT86IGJvb2xlYW47XG4gIGF1dG9SZW5ldz86IGJvb2xlYW47XG4gIGV4cGlyZUVhcmx5U2Vjb25kcz86IG51bWJlcjtcbiAgc3RvcmFnZUtleT86IHN0cmluZztcbn1cbiJdfQ==","customTransformCache":false,"dependencies":["@angular/core"],"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.config.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Injectable } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class FormioAuthConfig {\n component;\n delayAuth;\n login;\n register;\n resetpass;\n oauth;\n static ɵfac = function FormioAuthConfig_Factory(t) { return new (t || FormioAuthConfig)(); };\n static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormioAuthConfig, factory: FormioAuthConfig.ɵfac });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthConfig, [{\n type: Injectable\n }], null, null); })();\nexport var FormioOauthType;\n(function (FormioOauthType) {\n FormioOauthType[\"okta\"] = \"okta\";\n FormioOauthType[\"saml\"] = \"saml\";\n})(FormioOauthType || (FormioOauthType = {}));\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5jb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9hdXRoL3NyYy9hdXRoLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQWdCM0MsTUFBTSxPQUFPLGdCQUFnQjtJQUMzQixTQUFTLENBQU87SUFDaEIsU0FBUyxDQUFPO0lBQ2hCLEtBQUssQ0FBd0I7SUFDN0IsUUFBUSxDQUF3QjtJQUNoQyxTQUFTLENBQXdCO0lBQ2pDLEtBQUssQ0FBcUI7MEVBTmYsZ0JBQWdCO2dFQUFoQixnQkFBZ0IsV0FBaEIsZ0JBQWdCOztpRkFBaEIsZ0JBQWdCO2NBRDVCLFVBQVU7O0FBZ0JYLE1BQU0sQ0FBTixJQUFZLGVBR1g7QUFIRCxXQUFZLGVBQWU7SUFDekIsZ0NBQWEsQ0FBQTtJQUNiLGdDQUFhLENBQUE7QUFDZixDQUFDLEVBSFcsZUFBZSxLQUFmLGVBQWUsUUFHMUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0g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haWxzIGFib3V0IE9rdGEgY29uZmlndXJhdGlvbiBvcHRpb25zIHNlZSBodHRwczovL2dpdGh1Yi5jb20vb2t0YS9va3RhLWF1dGgtanMjY29uZmlndXJhdGlvbi1yZWZlcmVuY2VcbmV4cG9ydCBpbnRlcmZhY2UgT2t0YUNvbmZpZyB7XG4gIHVybD86IHN0cmluZztcbiAgdG9rZW5NYW5hZ2VyPzogT2t0YVRva2VuTWFuYWdlckNvbmZpZztcbiAgaXNzdWVyPzogc3RyaW5nO1xuICBjbGllbnRJZD86IHN0cmluZztcbiAgcmVkaXJlY3RVcmk/OiBzdHJpbmc7XG4gIHBvc3RMb2dvdXRSZWRpcmVjdFVyaT86IHN0cmluZztcbiAgcGtjZT86IGJvb2xlYW47XG4gIGF1dGhvcml6ZVVybD86IHN0cmluZztcbiAgdXNlcmluZm9Vcmw/OiBzdHJpbmc7XG4gIHRva2VuVXJsPzogc3RyaW5nO1xuICBpZ25vcmVTaWduYXR1cmU/OiBib29sZWFuO1xuICBtYXhDbG9ja1NrZXc/OiBudW1iZXI7XG4gIHNjb3Blcz86IHN0cmluZ1tdO1xuICBodHRwUmVxdWVzdENsaWVudD86IEZ1bmN0aW9uO1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIE9rdGFUb2tlbk1hbmFnZXJDb25maWcge1xuICBzdG9yYWdlPzogc3RyaW5nIHwge1xuICAgIGdldEl0ZW0/OiBGdW5jdGlvbjtcbiAgICBzZXRJdGVtPzogRnVuY3Rpb247XG4gIH07XG4gIHNlY3VyZT86IGJvb2xlYW47XG4gIGF1dG9SZW5ldz86IGJvb2xlYW47XG4gIGV4cGlyZUVhcmx5U2Vjb25kcz86IG51bWJlcjtcbiAgc3RvcmFnZUtleT86IHN0cmluZztcbn1cbiJdfQ==","originalSourcemap":{"version":3,"file":"auth.config.js","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/auth.config.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[19,0,0,19],[21,0,0,21],[27,0,0,27],[42,0,0,42],[43,0,0,43]],[],[[0,0,16,0],[6,0,16,6],[13,0,16,13],[29,0,16,29]],[[4,0,17,2],[13,0,17,11],[14,0,17,18]],[[4,0,18,2],[13,0,18,11],[14,0,18,18]],[[4,0,19,2],[9,0,19,7],[10,0,19,31]],[[4,0,20,2],[12,0,20,10],[13,0,20,34]],[[4,0,21,2],[13,0,21,11],[14,0,21,35]],[[4,0,22,2],[9,0,22,7],[10,0,22,28]],[[74,0,16,13],[90,0,16,29]],[[64,0,16,13],[80,0,16,29],[91,0,16,13],[107,0,16,29]],[],[[81,0,16,13],[97,0,16,29]],[[14,0,15,1],[24,0,15,11]],[],[[0,0,31,0],[6,0,31,6],[7,0,31,0],[11,0,31,12],[26,0,34,1]],[[0,0,31,0],[11,0,31,12],[26,0,31,27]],[[4,0,32,2],[36,0,32,15],[37,0,32,15]],[[4,0,33,2],[36,0,33,15],[37,0,33,15]],[[0,0,34,0],[1,0,34,1],[3,0,31,12],[18,0,31,27],[23,0,31,12],[38,0,31,27],[46,0,34,1]]],"sourcesContent":["import { Injectable } from '@angular/core';\n\nexport interface FormioAuthFormConfig {\n path?: string;\n form?: string;\n component?: any;\n}\n\nexport interface FormioAuthRouteConfig {\n auth?: any;\n login?: any;\n register?: any;\n resetpass?: any;\n}\n\n@Injectable()\nexport class FormioAuthConfig {\n component?: any;\n delayAuth?: any;\n login?: FormioAuthFormConfig;\n register?: FormioAuthFormConfig;\n resetpass?: FormioAuthFormConfig;\n oauth?: FormioOAuthConfig;\n}\n\n\nexport interface FormioOAuthConfig {\n type: FormioOauthType;\n options: FormioOktaConfig | FormioSamlConfig;\n}\n\nexport enum FormioOauthType {\n okta = 'okta',\n saml = 'saml',\n}\n\nexport interface FormioOktaConfig extends OktaConfig {\n formio?: any;\n}\n\nexport interface FormioSamlConfig {\n relay: string;\n}\n\n// for more details about Okta configuration options see https://github.com/okta/okta-auth-js#configuration-reference\nexport interface OktaConfig {\n url?: string;\n tokenManager?: OktaTokenManagerConfig;\n issuer?: string;\n clientId?: string;\n redirectUri?: string;\n postLogoutRedirectUri?: string;\n pkce?: boolean;\n authorizeUrl?: string;\n userinfoUrl?: string;\n tokenUrl?: string;\n ignoreSignature?: boolean;\n maxClockSkew?: number;\n scopes?: string[];\n httpRequestClient?: Function;\n}\n\nexport interface OktaTokenManagerConfig {\n storage?: string | {\n getItem?: Function;\n setItem?: Function;\n };\n secure?: boolean;\n autoRenew?: boolean;\n expireEarlySeconds?: number;\n storageKey?: string;\n}\n"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":25264,"body":[{"type":"ImportDeclaration","start":0,"end":57,"specifiers":[{"type":"ImportSpecifier","start":9,"end":21,"imported":{"type":"Identifier","start":9,"end":21,"name":"EventEmitter"},"local":{"type":"Identifier","start":9,"end":21,"name":"EventEmitter"}},{"type":"ImportSpecifier","start":23,"end":33,"imported":{"type":"Identifier","start":23,"end":33,"name":"Injectable"},"local":{"type":"Identifier","start":23,"end":33,"name":"Injectable"}}],"source":{"type":"Literal","start":41,"end":56,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":58,"end":93,"specifiers":[{"type":"ImportSpecifier","start":67,"end":70,"imported":{"type":"Identifier","start":67,"end":70,"name":"get"},"local":{"type":"Identifier","start":67,"end":70,"name":"get"}},{"type":"ImportSpecifier","start":72,"end":76,"imported":{"type":"Identifier","start":72,"end":76,"name":"each"},"local":{"type":"Identifier","start":72,"end":76,"name":"each"}}],"source":{"type":"Literal","start":84,"end":92,"value":"lodash","raw":"'lodash'"},"attributes":[]},{"type":"ImportDeclaration","start":94,"end":130,"specifiers":[{"type":"ImportSpecifier","start":103,"end":109,"imported":{"type":"Identifier","start":103,"end":109,"name":"Formio"},"local":{"type":"Identifier","start":103,"end":109,"name":"Formio"}}],"source":{"type":"Literal","start":117,"end":129,"value":"@formio/js","raw":"'@formio/js'"},"attributes":[]},{"type":"ImportDeclaration","start":131,"end":167,"specifiers":[{"type":"ImportNamespaceSpecifier","start":138,"end":145,"local":{"type":"Identifier","start":143,"end":145,"name":"i0"}}],"source":{"type":"Literal","start":151,"end":166,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":168,"end":206,"specifiers":[{"type":"ImportNamespaceSpecifier","start":175,"end":182,"local":{"type":"Identifier","start":180,"end":182,"name":"i1"}}],"source":{"type":"Literal","start":188,"end":205,"value":"@formio/angular","raw":"\"@formio/angular\""},"attributes":[]},{"type":"ImportDeclaration","start":207,"end":243,"specifiers":[{"type":"ImportNamespaceSpecifier","start":214,"end":221,"local":{"type":"Identifier","start":219,"end":221,"name":"i2"}}],"source":{"type":"Literal","start":227,"end":242,"value":"./auth.config","raw":"\"./auth.config\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":244,"end":6947,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":251,"end":6947,"id":{"type":"Identifier","start":257,"end":274,"name":"FormioAuthService"},"superClass":null,"body":{"type":"ClassBody","start":275,"end":6947,"body":[{"type":"PropertyDefinition","start":281,"end":291,"static":false,"computed":false,"key":{"type":"Identifier","start":281,"end":290,"name":"appConfig"},"value":null},{"type":"PropertyDefinition","start":296,"end":303,"static":false,"computed":false,"key":{"type":"Identifier","start":296,"end":302,"name":"config"},"value":null},{"type":"PropertyDefinition","start":308,"end":313,"static":false,"computed":false,"key":{"type":"Identifier","start":308,"end":312,"name":"user"},"value":null},{"type":"PropertyDefinition","start":318,"end":340,"static":false,"computed":false,"key":{"type":"Identifier","start":318,"end":331,"name":"authenticated"},"value":{"type":"Literal","start":334,"end":339,"value":false,"raw":"false"}},{"type":"PropertyDefinition","start":345,"end":355,"static":false,"computed":false,"key":{"type":"Identifier","start":345,"end":354,"name":"loginForm"},"value":null},{"type":"PropertyDefinition","start":360,"end":368,"static":false,"computed":false,"key":{"type":"Identifier","start":360,"end":367,"name":"onLogin"},"value":null},{"type":"PropertyDefinition","start":373,"end":382,"static":false,"computed":false,"key":{"type":"Identifier","start":373,"end":381,"name":"onLogout"},"value":null},{"type":"PropertyDefinition","start":387,"end":400,"static":false,"computed":false,"key":{"type":"Identifier","start":387,"end":399,"name":"registerForm"},"value":null},{"type":"PropertyDefinition","start":405,"end":416,"static":false,"computed":false,"key":{"type":"Identifier","start":405,"end":415,"name":"onRegister"},"value":null},{"type":"PropertyDefinition","start":421,"end":428,"static":false,"computed":false,"key":{"type":"Identifier","start":421,"end":427,"name":"onUser"},"value":null},{"type":"PropertyDefinition","start":433,"end":441,"static":false,"computed":false,"key":{"type":"Identifier","start":433,"end":440,"name":"onError"},"value":null},{"type":"PropertyDefinition","start":446,"end":460,"static":false,"computed":false,"key":{"type":"Identifier","start":446,"end":459,"name":"resetPassForm"},"value":null},{"type":"PropertyDefinition","start":465,"end":477,"static":false,"computed":false,"key":{"type":"Identifier","start":465,"end":476,"name":"onResetPass"},"value":null},{"type":"PropertyDefinition","start":482,"end":488,"static":false,"computed":false,"key":{"type":"Identifier","start":482,"end":487,"name":"ready"},"value":null},{"type":"PropertyDefinition","start":493,"end":506,"static":false,"computed":false,"key":{"type":"Identifier","start":493,"end":505,"name":"readyResolve"},"value":null},{"type":"PropertyDefinition","start":511,"end":523,"static":false,"computed":false,"key":{"type":"Identifier","start":511,"end":522,"name":"readyReject"},"value":null},{"type":"PropertyDefinition","start":528,"end":541,"static":false,"computed":false,"key":{"type":"Identifier","start":528,"end":540,"name":"projectReady"},"value":null},{"type":"PropertyDefinition","start":546,"end":558,"static":false,"computed":false,"key":{"type":"Identifier","start":546,"end":557,"name":"accessReady"},"value":null},{"type":"PropertyDefinition","start":563,"end":573,"static":false,"computed":false,"key":{"type":"Identifier","start":563,"end":572,"name":"userReady"},"value":null},{"type":"PropertyDefinition","start":578,"end":594,"static":false,"computed":false,"key":{"type":"Identifier","start":578,"end":588,"name":"formAccess"},"value":{"type":"ObjectExpression","start":591,"end":593,"properties":[]}},{"type":"PropertyDefinition","start":599,"end":621,"static":false,"computed":false,"key":{"type":"Identifier","start":599,"end":615,"name":"submissionAccess"},"value":{"type":"ObjectExpression","start":618,"end":620,"properties":[]}},{"type":"PropertyDefinition","start":626,"end":632,"static":false,"computed":false,"key":{"type":"Identifier","start":626,"end":631,"name":"roles"},"value":null},{"type":"PropertyDefinition","start":637,"end":645,"static":false,"computed":false,"key":{"type":"Identifier","start":637,"end":639,"name":"is"},"value":{"type":"ObjectExpression","start":642,"end":644,"properties":[]}},{"type":"MethodDefinition","start":650,"end":2201,"static":false,"computed":false,"key":{"type":"Identifier","start":650,"end":661,"name":"constructor"},"value":{"type":"FunctionExpression","start":661,"end":2201,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":662,"end":671,"name":"appConfig"},{"type":"Identifier","start":673,"end":679,"name":"config"}],"body":{"type":"BlockStatement","start":681,"end":2201,"body":[{"type":"ExpressionStatement","start":691,"end":718,"expression":{"type":"AssignmentExpression","start":691,"end":717,"operator":"=","left":{"type":"MemberExpression","start":691,"end":705,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":691,"end":695},"property":{"type":"Identifier","start":696,"end":705,"name":"appConfig"}},"right":{"type":"Identifier","start":708,"end":717,"name":"appConfig"}}},{"type":"ExpressionStatement","start":727,"end":748,"expression":{"type":"AssignmentExpression","start":727,"end":747,"operator":"=","left":{"type":"MemberExpression","start":727,"end":738,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":727,"end":731},"property":{"type":"Identifier","start":732,"end":738,"name":"config"}},"right":{"type":"Identifier","start":741,"end":747,"name":"config"}}},{"type":"ExpressionStatement","start":757,"end":774,"expression":{"type":"AssignmentExpression","start":757,"end":773,"operator":"=","left":{"type":"MemberExpression","start":757,"end":766,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":757,"end":761},"property":{"type":"Identifier","start":762,"end":766,"name":"user"}},"right":{"type":"Literal","start":769,"end":773,"raw":"null","value":null}}},{"type":"IfStatement","start":783,"end":1117,"test":{"type":"LogicalExpression","start":787,"end":826,"operator":"&&","left":{"type":"MemberExpression","start":787,"end":801,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":787,"end":791},"property":{"type":"Identifier","start":792,"end":801,"name":"appConfig"}},"right":{"type":"MemberExpression","start":805,"end":826,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":805,"end":819,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":805,"end":809},"property":{"type":"Identifier","start":810,"end":819,"name":"appConfig"}},"property":{"type":"Identifier","start":820,"end":826,"name":"appUrl"}}},"consequent":{"type":"BlockStatement","start":828,"end":1007,"body":[{"type":"ExpressionStatement","start":842,"end":883,"expression":{"type":"CallExpression","start":842,"end":882,"optional":false,"callee":{"type":"MemberExpression","start":842,"end":859,"computed":false,"optional":false,"object":{"type":"Identifier","start":842,"end":848,"name":"Formio"},"property":{"type":"Identifier","start":849,"end":859,"name":"setBaseUrl"}},"arguments":[{"type":"MemberExpression","start":860,"end":881,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":860,"end":874,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":860,"end":864},"property":{"type":"Identifier","start":865,"end":874,"name":"appConfig"}},"property":{"type":"Identifier","start":875,"end":881,"name":"apiUrl"}}]}},{"type":"ExpressionStatement","start":896,"end":940,"expression":{"type":"CallExpression","start":896,"end":939,"optional":false,"callee":{"type":"MemberExpression","start":896,"end":916,"computed":false,"optional":false,"object":{"type":"Identifier","start":896,"end":902,"name":"Formio"},"property":{"type":"Identifier","start":903,"end":916,"name":"setProjectUrl"}},"arguments":[{"type":"MemberExpression","start":917,"end":938,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":917,"end":931,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":917,"end":921},"property":{"type":"Identifier","start":922,"end":931,"name":"appConfig"}},"property":{"type":"Identifier","start":932,"end":938,"name":"appUrl"}}]}},{"type":"ExpressionStatement","start":953,"end":997,"expression":{"type":"AssignmentExpression","start":953,"end":996,"operator":"=","left":{"type":"MemberExpression","start":953,"end":968,"computed":false,"optional":false,"object":{"type":"Identifier","start":953,"end":959,"name":"Formio"},"property":{"type":"Identifier","start":960,"end":968,"name":"formOnly"}},"right":{"type":"UnaryExpression","start":971,"end":996,"operator":"!","argument":{"type":"UnaryExpression","start":972,"end":996,"operator":"!","argument":{"type":"MemberExpression","start":973,"end":996,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":973,"end":987,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":973,"end":977},"property":{"type":"Identifier","start":978,"end":987,"name":"appConfig"}},"property":{"type":"Identifier","start":988,"end":996,"name":"formOnly"}},"prefix":true},"prefix":true}}}]},"alternate":{"type":"BlockStatement","start":1021,"end":1117,"body":[{"type":"ExpressionStatement","start":1035,"end":1107,"expression":{"type":"CallExpression","start":1035,"end":1106,"optional":false,"callee":{"type":"MemberExpression","start":1035,"end":1048,"computed":false,"optional":false,"object":{"type":"Identifier","start":1035,"end":1042,"name":"console"},"property":{"type":"Identifier","start":1043,"end":1048,"name":"error"}},"arguments":[{"type":"Literal","start":1049,"end":1105,"value":"You must provide an AppConfig within your application!","raw":"'You must provide an AppConfig within your application!'"}]}}]}},{"type":"ExpressionStatement","start":1126,"end":1262,"expression":{"type":"AssignmentExpression","start":1126,"end":1261,"operator":"=","left":{"type":"MemberExpression","start":1126,"end":1140,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1126,"end":1130},"property":{"type":"Identifier","start":1131,"end":1140,"name":"loginForm"}},"right":{"type":"BinaryExpression","start":1155,"end":1261,"operator":"+","left":{"type":"BinaryExpression","start":1155,"end":1198,"operator":"+","left":{"type":"MemberExpression","start":1155,"end":1176,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1155,"end":1169,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1155,"end":1159},"property":{"type":"Identifier","start":1160,"end":1169,"name":"appConfig"}},"property":{"type":"Identifier","start":1170,"end":1176,"name":"appUrl"}},"right":{"type":"Literal","start":1195,"end":1198,"value":"/","raw":"'/'"}},"right":{"type":"CallExpression","start":1217,"end":1261,"optional":false,"callee":{"type":"Identifier","start":1217,"end":1220,"name":"get"},"arguments":[{"type":"MemberExpression","start":1221,"end":1232,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1221,"end":1225},"property":{"type":"Identifier","start":1226,"end":1232,"name":"config"}},{"type":"Literal","start":1234,"end":1246,"value":"login.form","raw":"'login.form'"},{"type":"Literal","start":1248,"end":1260,"value":"user/login","raw":"'user/login'"}]}}}},{"type":"ExpressionStatement","start":1271,"end":1416,"expression":{"type":"AssignmentExpression","start":1271,"end":1415,"operator":"=","left":{"type":"MemberExpression","start":1271,"end":1288,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1271,"end":1275},"property":{"type":"Identifier","start":1276,"end":1288,"name":"registerForm"}},"right":{"type":"BinaryExpression","start":1303,"end":1415,"operator":"+","left":{"type":"BinaryExpression","start":1303,"end":1346,"operator":"+","left":{"type":"MemberExpression","start":1303,"end":1324,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1303,"end":1317,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1303,"end":1307},"property":{"type":"Identifier","start":1308,"end":1317,"name":"appConfig"}},"property":{"type":"Identifier","start":1318,"end":1324,"name":"appUrl"}},"right":{"type":"Literal","start":1343,"end":1346,"value":"/","raw":"'/'"}},"right":{"type":"CallExpression","start":1365,"end":1415,"optional":false,"callee":{"type":"Identifier","start":1365,"end":1368,"name":"get"},"arguments":[{"type":"MemberExpression","start":1369,"end":1380,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1369,"end":1373},"property":{"type":"Identifier","start":1374,"end":1380,"name":"config"}},{"type":"Literal","start":1382,"end":1397,"value":"register.form","raw":"'register.form'"},{"type":"Literal","start":1399,"end":1414,"value":"user/register","raw":"'user/register'"}]}}}},{"type":"ExpressionStatement","start":1425,"end":1567,"expression":{"type":"AssignmentExpression","start":1425,"end":1566,"operator":"=","left":{"type":"MemberExpression","start":1425,"end":1443,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1425,"end":1429},"property":{"type":"Identifier","start":1430,"end":1443,"name":"resetPassForm"}},"right":{"type":"BinaryExpression","start":1458,"end":1566,"operator":"+","left":{"type":"BinaryExpression","start":1458,"end":1501,"operator":"+","left":{"type":"MemberExpression","start":1458,"end":1479,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1458,"end":1472,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1458,"end":1462},"property":{"type":"Identifier","start":1463,"end":1472,"name":"appConfig"}},"property":{"type":"Identifier","start":1473,"end":1479,"name":"appUrl"}},"right":{"type":"Literal","start":1498,"end":1501,"value":"/","raw":"'/'"}},"right":{"type":"CallExpression","start":1520,"end":1566,"optional":false,"callee":{"type":"Identifier","start":1520,"end":1523,"name":"get"},"arguments":[{"type":"MemberExpression","start":1524,"end":1535,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1524,"end":1528},"property":{"type":"Identifier","start":1529,"end":1535,"name":"config"}},{"type":"Literal","start":1537,"end":1552,"value":"register.form","raw":"'register.form'"},{"type":"Literal","start":1554,"end":1565,"value":"resetpass","raw":"'resetpass'"}]}}}},{"type":"ExpressionStatement","start":1576,"end":1610,"expression":{"type":"AssignmentExpression","start":1576,"end":1609,"operator":"=","left":{"type":"MemberExpression","start":1576,"end":1588,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1576,"end":1580},"property":{"type":"Identifier","start":1581,"end":1588,"name":"onLogin"}},"right":{"type":"NewExpression","start":1591,"end":1609,"callee":{"type":"Identifier","start":1595,"end":1607,"name":"EventEmitter"},"arguments":[]}}},{"type":"ExpressionStatement","start":1619,"end":1654,"expression":{"type":"AssignmentExpression","start":1619,"end":1653,"operator":"=","left":{"type":"MemberExpression","start":1619,"end":1632,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1619,"end":1623},"property":{"type":"Identifier","start":1624,"end":1632,"name":"onLogout"}},"right":{"type":"NewExpression","start":1635,"end":1653,"callee":{"type":"Identifier","start":1639,"end":1651,"name":"EventEmitter"},"arguments":[]}}},{"type":"ExpressionStatement","start":1663,"end":1700,"expression":{"type":"AssignmentExpression","start":1663,"end":1699,"operator":"=","left":{"type":"MemberExpression","start":1663,"end":1678,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1663,"end":1667},"property":{"type":"Identifier","start":1668,"end":1678,"name":"onRegister"}},"right":{"type":"NewExpression","start":1681,"end":1699,"callee":{"type":"Identifier","start":1685,"end":1697,"name":"EventEmitter"},"arguments":[]}}},{"type":"ExpressionStatement","start":1709,"end":1742,"expression":{"type":"AssignmentExpression","start":1709,"end":1741,"operator":"=","left":{"type":"MemberExpression","start":1709,"end":1720,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1709,"end":1713},"property":{"type":"Identifier","start":1714,"end":1720,"name":"onUser"}},"right":{"type":"NewExpression","start":1723,"end":1741,"callee":{"type":"Identifier","start":1727,"end":1739,"name":"EventEmitter"},"arguments":[]}}},{"type":"ExpressionStatement","start":1751,"end":1785,"expression":{"type":"AssignmentExpression","start":1751,"end":1784,"operator":"=","left":{"type":"MemberExpression","start":1751,"end":1763,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1751,"end":1755},"property":{"type":"Identifier","start":1756,"end":1763,"name":"onError"}},"right":{"type":"NewExpression","start":1766,"end":1784,"callee":{"type":"Identifier","start":1770,"end":1782,"name":"EventEmitter"},"arguments":[]}}},{"type":"ExpressionStatement","start":1794,"end":1933,"expression":{"type":"AssignmentExpression","start":1794,"end":1932,"operator":"=","left":{"type":"MemberExpression","start":1794,"end":1804,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1794,"end":1798},"property":{"type":"Identifier","start":1799,"end":1804,"name":"ready"}},"right":{"type":"NewExpression","start":1807,"end":1932,"callee":{"type":"Identifier","start":1811,"end":1818,"name":"Promise"},"arguments":[{"type":"ArrowFunctionExpression","start":1819,"end":1931,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":1820,"end":1827,"name":"resolve"},{"type":"Identifier","start":1829,"end":1835,"name":"reject"}],"body":{"type":"BlockStatement","start":1840,"end":1931,"body":[{"type":"ExpressionStatement","start":1854,"end":1882,"expression":{"type":"AssignmentExpression","start":1854,"end":1881,"operator":"=","left":{"type":"MemberExpression","start":1854,"end":1871,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1854,"end":1858},"property":{"type":"Identifier","start":1859,"end":1871,"name":"readyResolve"}},"right":{"type":"Identifier","start":1874,"end":1881,"name":"resolve"}}},{"type":"ExpressionStatement","start":1895,"end":1921,"expression":{"type":"AssignmentExpression","start":1895,"end":1920,"operator":"=","left":{"type":"MemberExpression","start":1895,"end":1911,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":1895,"end":1899},"property":{"type":"Identifier","start":1900,"end":1911,"name":"readyReject"}},"right":{"type":"Identifier","start":1914,"end":1920,"name":"reject"}}}]},"id":null}]}}},{"type":"ExpressionStatement","start":1983,"end":2045,"expression":{"type":"CallExpression","start":1983,"end":2044,"optional":false,"callee":{"type":"MemberExpression","start":1983,"end":1999,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1983,"end":1996,"computed":false,"optional":false,"object":{"type":"Identifier","start":1983,"end":1989,"name":"Formio"},"property":{"type":"Identifier","start":1990,"end":1996,"name":"events"}},"property":{"type":"Identifier","start":1997,"end":1999,"name":"on"}},"arguments":[{"type":"Literal","start":2000,"end":2017,"value":"formio.badToken","raw":"'formio.badToken'"},{"type":"ArrowFunctionExpression","start":2019,"end":2043,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"CallExpression","start":2025,"end":2043,"optional":false,"callee":{"type":"MemberExpression","start":2025,"end":2041,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2025,"end":2029},"property":{"type":"Identifier","start":2030,"end":2041,"name":"logoutError"}},"arguments":[]},"id":null}]}},{"type":"ExpressionStatement","start":2054,"end":2122,"expression":{"type":"CallExpression","start":2054,"end":2121,"optional":false,"callee":{"type":"MemberExpression","start":2054,"end":2070,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2054,"end":2067,"computed":false,"optional":false,"object":{"type":"Identifier","start":2054,"end":2060,"name":"Formio"},"property":{"type":"Identifier","start":2061,"end":2067,"name":"events"}},"property":{"type":"Identifier","start":2068,"end":2070,"name":"on"}},"arguments":[{"type":"Literal","start":2071,"end":2094,"value":"formio.sessionExpired","raw":"'formio.sessionExpired'"},{"type":"ArrowFunctionExpression","start":2096,"end":2120,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"CallExpression","start":2102,"end":2120,"optional":false,"callee":{"type":"MemberExpression","start":2102,"end":2118,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2102,"end":2106},"property":{"type":"Identifier","start":2107,"end":2118,"name":"logoutError"}},"arguments":[]},"id":null}]}},{"type":"IfStatement","start":2131,"end":2195,"test":{"type":"UnaryExpression","start":2135,"end":2157,"operator":"!","argument":{"type":"MemberExpression","start":2136,"end":2157,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2136,"end":2147,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2136,"end":2140},"property":{"type":"Identifier","start":2141,"end":2147,"name":"config"}},"property":{"type":"Identifier","start":2148,"end":2157,"name":"delayAuth"}},"prefix":true},"consequent":{"type":"BlockStatement","start":2159,"end":2195,"body":[{"type":"ExpressionStatement","start":2173,"end":2185,"expression":{"type":"CallExpression","start":2173,"end":2184,"optional":false,"callee":{"type":"MemberExpression","start":2173,"end":2182,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2173,"end":2177},"property":{"type":"Identifier","start":2178,"end":2182,"name":"init"}},"arguments":[]}}]},"alternate":null}]},"expression":false},"kind":"constructor"},{"type":"MethodDefinition","start":2206,"end":2312,"static":false,"computed":false,"key":{"type":"Identifier","start":2206,"end":2219,"name":"onLoginSubmit"},"value":{"type":"FunctionExpression","start":2219,"end":2312,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":2220,"end":2230,"name":"submission"}],"body":{"type":"BlockStatement","start":2232,"end":2312,"body":[{"type":"ExpressionStatement","start":2242,"end":2267,"expression":{"type":"CallExpression","start":2242,"end":2266,"optional":false,"callee":{"type":"MemberExpression","start":2242,"end":2254,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2242,"end":2246},"property":{"type":"Identifier","start":2247,"end":2254,"name":"setUser"}},"arguments":[{"type":"Identifier","start":2255,"end":2265,"name":"submission"}]}},{"type":"ExpressionStatement","start":2276,"end":2306,"expression":{"type":"CallExpression","start":2276,"end":2305,"optional":false,"callee":{"type":"MemberExpression","start":2276,"end":2293,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2276,"end":2288,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2276,"end":2280},"property":{"type":"Identifier","start":2281,"end":2288,"name":"onLogin"}},"property":{"type":"Identifier","start":2289,"end":2293,"name":"emit"}},"arguments":[{"type":"Identifier","start":2294,"end":2304,"name":"submission"}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":2317,"end":2429,"static":false,"computed":false,"key":{"type":"Identifier","start":2317,"end":2333,"name":"onRegisterSubmit"},"value":{"type":"FunctionExpression","start":2333,"end":2429,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":2334,"end":2344,"name":"submission"}],"body":{"type":"BlockStatement","start":2346,"end":2429,"body":[{"type":"ExpressionStatement","start":2356,"end":2381,"expression":{"type":"CallExpression","start":2356,"end":2380,"optional":false,"callee":{"type":"MemberExpression","start":2356,"end":2368,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2356,"end":2360},"property":{"type":"Identifier","start":2361,"end":2368,"name":"setUser"}},"arguments":[{"type":"Identifier","start":2369,"end":2379,"name":"submission"}]}},{"type":"ExpressionStatement","start":2390,"end":2423,"expression":{"type":"CallExpression","start":2390,"end":2422,"optional":false,"callee":{"type":"MemberExpression","start":2390,"end":2410,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2390,"end":2405,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2390,"end":2394},"property":{"type":"Identifier","start":2395,"end":2405,"name":"onRegister"}},"property":{"type":"Identifier","start":2406,"end":2410,"name":"emit"}},"arguments":[{"type":"Identifier","start":2411,"end":2421,"name":"submission"}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":2434,"end":2514,"static":false,"computed":false,"key":{"type":"Identifier","start":2434,"end":2451,"name":"onResetPassSubmit"},"value":{"type":"FunctionExpression","start":2451,"end":2514,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":2452,"end":2462,"name":"submission"}],"body":{"type":"BlockStatement","start":2464,"end":2514,"body":[{"type":"ExpressionStatement","start":2474,"end":2508,"expression":{"type":"CallExpression","start":2474,"end":2507,"optional":false,"callee":{"type":"MemberExpression","start":2474,"end":2495,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2474,"end":2490,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2474,"end":2478},"property":{"type":"Identifier","start":2479,"end":2490,"name":"onResetPass"}},"property":{"type":"Identifier","start":2491,"end":2495,"name":"emit"}},"arguments":[{"type":"Identifier","start":2496,"end":2506,"name":"submission"}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":2519,"end":4811,"static":false,"computed":false,"key":{"type":"Identifier","start":2519,"end":2523,"name":"init"},"value":{"type":"FunctionExpression","start":2523,"end":4811,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":2526,"end":4811,"body":[{"type":"ExpressionStatement","start":2536,"end":2837,"expression":{"type":"AssignmentExpression","start":2536,"end":2836,"operator":"=","left":{"type":"MemberExpression","start":2536,"end":2553,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2536,"end":2540},"property":{"type":"Identifier","start":2541,"end":2553,"name":"projectReady"}},"right":{"type":"CallExpression","start":2556,"end":2836,"optional":false,"callee":{"type":"MemberExpression","start":2556,"end":2608,"computed":false,"optional":false,"object":{"type":"CallExpression","start":2556,"end":2603,"optional":false,"callee":{"type":"MemberExpression","start":2556,"end":2580,"computed":false,"optional":false,"object":{"type":"Identifier","start":2556,"end":2562,"name":"Formio"},"property":{"type":"Identifier","start":2563,"end":2580,"name":"makeStaticRequest"}},"arguments":[{"type":"MemberExpression","start":2581,"end":2602,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2581,"end":2595,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2581,"end":2585},"property":{"type":"Identifier","start":2586,"end":2595,"name":"appConfig"}},"property":{"type":"Identifier","start":2596,"end":2602,"name":"appUrl"}}]},"property":{"type":"Identifier","start":2604,"end":2608,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":2609,"end":2757,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":2610,"end":2617,"name":"project"}],"body":{"type":"BlockStatement","start":2622,"end":2757,"body":[{"type":"ExpressionStatement","start":2636,"end":2747,"expression":{"type":"CallExpression","start":2636,"end":2746,"optional":false,"callee":{"type":"Identifier","start":2636,"end":2640,"name":"each"},"arguments":[{"type":"MemberExpression","start":2641,"end":2655,"computed":false,"optional":false,"object":{"type":"Identifier","start":2641,"end":2648,"name":"project"},"property":{"type":"Identifier","start":2649,"end":2655,"name":"access"}},{"type":"ArrowFunctionExpression","start":2657,"end":2745,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":2658,"end":2664,"name":"access"}],"body":{"type":"BlockStatement","start":2669,"end":2745,"body":[{"type":"ExpressionStatement","start":2687,"end":2731,"expression":{"type":"AssignmentExpression","start":2687,"end":2730,"operator":"=","left":{"type":"MemberExpression","start":2687,"end":2715,"computed":true,"optional":false,"object":{"type":"MemberExpression","start":2687,"end":2702,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2687,"end":2691},"property":{"type":"Identifier","start":2692,"end":2702,"name":"formAccess"}},"property":{"type":"MemberExpression","start":2703,"end":2714,"computed":false,"optional":false,"object":{"type":"Identifier","start":2703,"end":2709,"name":"access"},"property":{"type":"Identifier","start":2710,"end":2714,"name":"type"}}},"right":{"type":"MemberExpression","start":2718,"end":2730,"computed":false,"optional":false,"object":{"type":"Identifier","start":2718,"end":2724,"name":"access"},"property":{"type":"Identifier","start":2725,"end":2730,"name":"roles"}}}}]},"id":null}]}}]},"id":null},{"type":"ArrowFunctionExpression","start":2759,"end":2835,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":2765,"end":2835,"body":[{"type":"ExpressionStatement","start":2779,"end":2800,"expression":{"type":"AssignmentExpression","start":2779,"end":2799,"operator":"=","left":{"type":"MemberExpression","start":2779,"end":2794,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2779,"end":2783},"property":{"type":"Identifier","start":2784,"end":2794,"name":"formAccess"}},"right":{"type":"ObjectExpression","start":2797,"end":2799,"properties":[]}}},{"type":"ReturnStatement","start":2813,"end":2825,"argument":{"type":"Literal","start":2820,"end":2824,"raw":"null","value":null}}]},"id":null}]}}},{"type":"ExpressionStatement","start":2890,"end":3574,"expression":{"type":"AssignmentExpression","start":2890,"end":3573,"operator":"=","left":{"type":"MemberExpression","start":2890,"end":2906,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2890,"end":2894},"property":{"type":"Identifier","start":2895,"end":2906,"name":"accessReady"}},"right":{"type":"CallExpression","start":2909,"end":3573,"optional":false,"callee":{"type":"MemberExpression","start":2909,"end":3381,"computed":false,"optional":false,"object":{"type":"CallExpression","start":2909,"end":3362,"optional":false,"callee":{"type":"MemberExpression","start":2909,"end":2986,"computed":false,"optional":false,"object":{"type":"CallExpression","start":2909,"end":2968,"optional":false,"callee":{"type":"MemberExpression","start":2909,"end":2933,"computed":false,"optional":false,"object":{"type":"Identifier","start":2909,"end":2915,"name":"Formio"},"property":{"type":"Identifier","start":2916,"end":2933,"name":"makeStaticRequest"}},"arguments":[{"type":"BinaryExpression","start":2934,"end":2967,"operator":"+","left":{"type":"MemberExpression","start":2934,"end":2955,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":2934,"end":2948,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":2934,"end":2938},"property":{"type":"Identifier","start":2939,"end":2948,"name":"appConfig"}},"property":{"type":"Identifier","start":2949,"end":2955,"name":"appUrl"}},"right":{"type":"Literal","start":2958,"end":2967,"value":"/access","raw":"'/access'"}}]},"property":{"type":"Identifier","start":2982,"end":2986,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":2987,"end":3361,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":2988,"end":2994,"name":"access"}],"body":{"type":"BlockStatement","start":2999,"end":3361,"body":[{"type":"ExpressionStatement","start":3013,"end":3285,"expression":{"type":"CallExpression","start":3013,"end":3284,"optional":false,"callee":{"type":"Identifier","start":3013,"end":3017,"name":"each"},"arguments":[{"type":"MemberExpression","start":3018,"end":3030,"computed":false,"optional":false,"object":{"type":"Identifier","start":3018,"end":3024,"name":"access"},"property":{"type":"Identifier","start":3025,"end":3030,"name":"forms"}},{"type":"ArrowFunctionExpression","start":3032,"end":3283,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":3033,"end":3037,"name":"form"}],"body":{"type":"BlockStatement","start":3042,"end":3283,"body":[{"type":"ExpressionStatement","start":3060,"end":3098,"expression":{"type":"AssignmentExpression","start":3060,"end":3097,"operator":"=","left":{"type":"MemberExpression","start":3060,"end":3092,"computed":true,"optional":false,"object":{"type":"MemberExpression","start":3060,"end":3081,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3060,"end":3064},"property":{"type":"Identifier","start":3065,"end":3081,"name":"submissionAccess"}},"property":{"type":"MemberExpression","start":3082,"end":3091,"computed":false,"optional":false,"object":{"type":"Identifier","start":3082,"end":3086,"name":"form"},"property":{"type":"Identifier","start":3087,"end":3091,"name":"name"}}},"right":{"type":"ObjectExpression","start":3095,"end":3097,"properties":[]}}},{"type":"ExpressionStatement","start":3115,"end":3269,"expression":{"type":"CallExpression","start":3115,"end":3268,"optional":false,"callee":{"type":"MemberExpression","start":3115,"end":3144,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3115,"end":3136,"computed":false,"optional":false,"object":{"type":"Identifier","start":3115,"end":3119,"name":"form"},"property":{"type":"Identifier","start":3120,"end":3136,"name":"submissionAccess"}},"property":{"type":"Identifier","start":3137,"end":3144,"name":"forEach"}},"arguments":[{"type":"ArrowFunctionExpression","start":3145,"end":3267,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":3146,"end":3155,"name":"subAccess"}],"body":{"type":"BlockStatement","start":3160,"end":3267,"body":[{"type":"ExpressionStatement","start":3182,"end":3249,"expression":{"type":"AssignmentExpression","start":3182,"end":3248,"operator":"=","left":{"type":"MemberExpression","start":3182,"end":3230,"computed":true,"optional":false,"object":{"type":"MemberExpression","start":3182,"end":3214,"computed":true,"optional":false,"object":{"type":"MemberExpression","start":3182,"end":3203,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3182,"end":3186},"property":{"type":"Identifier","start":3187,"end":3203,"name":"submissionAccess"}},"property":{"type":"MemberExpression","start":3204,"end":3213,"computed":false,"optional":false,"object":{"type":"Identifier","start":3204,"end":3208,"name":"form"},"property":{"type":"Identifier","start":3209,"end":3213,"name":"name"}}},"property":{"type":"MemberExpression","start":3215,"end":3229,"computed":false,"optional":false,"object":{"type":"Identifier","start":3215,"end":3224,"name":"subAccess"},"property":{"type":"Identifier","start":3225,"end":3229,"name":"type"}}},"right":{"type":"MemberExpression","start":3233,"end":3248,"computed":false,"optional":false,"object":{"type":"Identifier","start":3233,"end":3242,"name":"subAccess"},"property":{"type":"Identifier","start":3243,"end":3248,"name":"roles"}}}}]},"id":null}]}}]},"id":null}]}},{"type":"ExpressionStatement","start":3298,"end":3324,"expression":{"type":"AssignmentExpression","start":3298,"end":3323,"operator":"=","left":{"type":"MemberExpression","start":3298,"end":3308,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3298,"end":3302},"property":{"type":"Identifier","start":3303,"end":3308,"name":"roles"}},"right":{"type":"MemberExpression","start":3311,"end":3323,"computed":false,"optional":false,"object":{"type":"Identifier","start":3311,"end":3317,"name":"access"},"property":{"type":"Identifier","start":3318,"end":3323,"name":"roles"}}}},{"type":"ReturnStatement","start":3337,"end":3351,"argument":{"type":"Identifier","start":3344,"end":3350,"name":"access"}}]},"id":null}]},"property":{"type":"Identifier","start":3376,"end":3381,"name":"catch"}},"arguments":[{"type":"ArrowFunctionExpression","start":3382,"end":3572,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":3383,"end":3386,"name":"err"}],"body":{"type":"BlockStatement","start":3391,"end":3572,"body":[{"type":"IfStatement","start":3405,"end":3508,"test":{"type":"LogicalExpression","start":3409,"end":3455,"operator":"||","left":{"type":"BinaryExpression","start":3409,"end":3432,"operator":"===","left":{"type":"Identifier","start":3409,"end":3412,"name":"err"},"right":{"type":"Literal","start":3417,"end":3432,"value":"Token Expired","raw":"'Token Expired'"}},"right":{"type":"BinaryExpression","start":3436,"end":3455,"operator":"===","left":{"type":"Identifier","start":3436,"end":3439,"name":"err"},"right":{"type":"Literal","start":3444,"end":3455,"value":"Bad Token","raw":"'Bad Token'"}}},"consequent":{"type":"BlockStatement","start":3457,"end":3508,"body":[{"type":"ExpressionStatement","start":3475,"end":3494,"expression":{"type":"CallExpression","start":3475,"end":3493,"optional":false,"callee":{"type":"MemberExpression","start":3475,"end":3487,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3475,"end":3479},"property":{"type":"Identifier","start":3480,"end":3487,"name":"setUser"}},"arguments":[{"type":"Literal","start":3488,"end":3492,"raw":"null","value":null}]}}]},"alternate":null},{"type":"ExpressionStatement","start":3521,"end":3537,"expression":{"type":"AssignmentExpression","start":3521,"end":3536,"operator":"=","left":{"type":"MemberExpression","start":3521,"end":3531,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3521,"end":3525},"property":{"type":"Identifier","start":3526,"end":3531,"name":"roles"}},"right":{"type":"ObjectExpression","start":3534,"end":3536,"properties":[]}}},{"type":"ReturnStatement","start":3550,"end":3562,"argument":{"type":"Literal","start":3557,"end":3561,"raw":"null","value":null}}]},"id":null}]}}},{"type":"VariableDeclaration","start":3583,"end":3606,"kind":"let","declarations":[{"type":"VariableDeclarator","start":3587,"end":3605,"id":{"type":"Identifier","start":3587,"end":3605,"name":"currentUserPromise"},"init":null}]},{"type":"IfStatement","start":3615,"end":4257,"test":{"type":"MemberExpression","start":3619,"end":3636,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3619,"end":3630,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":3619,"end":3623},"property":{"type":"Identifier","start":3624,"end":3630,"name":"config"}},"property":{"type":"Identifier","start":3631,"end":3636,"name":"oauth"}},"consequent":{"type":"BlockStatement","start":3638,"end":4122,"body":[{"type":"IfStatement","start":3743,"end":3948,"test":{"type":"LogicalExpression","start":3747,"end":3817,"operator":"&&","left":{"type":"MemberExpression","start":3747,"end":3767,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3747,"end":3762,"computed":false,"optional":false,"object":{"type":"Identifier","start":3747,"end":3753,"name":"window"},"property":{"type":"Identifier","start":3754,"end":3762,"name":"location"}},"property":{"type":"Identifier","start":3763,"end":3767,"name":"hash"}},"right":{"type":"CallExpression","start":3771,"end":3817,"optional":false,"callee":{"type":"MemberExpression","start":3771,"end":3797,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3771,"end":3791,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3771,"end":3786,"computed":false,"optional":false,"object":{"type":"Identifier","start":3771,"end":3777,"name":"window"},"property":{"type":"Identifier","start":3778,"end":3786,"name":"location"}},"property":{"type":"Identifier","start":3787,"end":3791,"name":"hash"}},"property":{"type":"Identifier","start":3792,"end":3797,"name":"match"}},"arguments":[{"type":"Literal","start":3798,"end":3816,"raw":"/^#\\/access_token/","regex":{"flags":"","pattern":"^#\\/access_token"},"value":{}}]}},"consequent":{"type":"BlockStatement","start":3819,"end":3948,"body":[{"type":"ExpressionStatement","start":3837,"end":3934,"expression":{"type":"CallExpression","start":3837,"end":3933,"optional":false,"callee":{"type":"MemberExpression","start":3837,"end":3854,"computed":false,"optional":false,"object":{"type":"Identifier","start":3837,"end":3844,"name":"history"},"property":{"type":"Identifier","start":3845,"end":3854,"name":"pushState"}},"arguments":[{"type":"Literal","start":3855,"end":3859,"raw":"null","value":null},{"type":"Literal","start":3861,"end":3865,"raw":"null","value":null},{"type":"CallExpression","start":3867,"end":3932,"optional":false,"callee":{"type":"MemberExpression","start":3867,"end":3895,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3867,"end":3887,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":3867,"end":3882,"computed":false,"optional":false,"object":{"type":"Identifier","start":3867,"end":3873,"name":"window"},"property":{"type":"Identifier","start":3874,"end":3882,"name":"location"}},"property":{"type":"Identifier","start":3883,"end":3887,"name":"hash"}},"property":{"type":"Identifier","start":3888,"end":3895,"name":"replace"}},"arguments":[{"type":"Literal","start":3896,"end":3914,"raw":"/^#\\/access_token/","regex":{"flags":"","pattern":"^#\\/access_token"},"value":{}},{"type":"Literal","start":3916,"end":3931,"value":"#access_token","raw":"'#access_token'"}]}]}}]},"alternate":null},{"type":"ExpressionStatement","start":4025,"end":4112,"expression":{"type":"AssignmentExpression","start":4025,"end":4111,"operator":"=","left":{"type":"Identifier","start":4025,"end":4043,"name":"currentUserPromise"},"right":{"type":"CallExpression","start":4046,"end":4111,"optional":false,"callee":{"type":"MemberExpression","start":4046,"end":4060,"computed":false,"optional":false,"object":{"type":"Identifier","start":4046,"end":4052,"name":"Formio"},"property":{"type":"Identifier","start":4053,"end":4060,"name":"ssoInit"}},"arguments":[{"type":"MemberExpression","start":4061,"end":4083,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4061,"end":4078,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4061,"end":4072,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4061,"end":4065},"property":{"type":"Identifier","start":4066,"end":4072,"name":"config"}},"property":{"type":"Identifier","start":4073,"end":4078,"name":"oauth"}},"property":{"type":"Identifier","start":4079,"end":4083,"name":"type"}},{"type":"MemberExpression","start":4085,"end":4110,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4085,"end":4102,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4085,"end":4096,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4085,"end":4089},"property":{"type":"Identifier","start":4090,"end":4096,"name":"config"}},"property":{"type":"Identifier","start":4097,"end":4102,"name":"oauth"}},"property":{"type":"Identifier","start":4103,"end":4110,"name":"options"}}]}}}]},"alternate":{"type":"BlockStatement","start":4136,"end":4257,"body":[{"type":"ExpressionStatement","start":4150,"end":4247,"expression":{"type":"AssignmentExpression","start":4150,"end":4246,"operator":"=","left":{"type":"Identifier","start":4150,"end":4168,"name":"currentUserPromise"},"right":{"type":"CallExpression","start":4171,"end":4246,"optional":false,"callee":{"type":"MemberExpression","start":4171,"end":4189,"computed":false,"optional":false,"object":{"type":"Identifier","start":4171,"end":4177,"name":"Formio"},"property":{"type":"Identifier","start":4178,"end":4189,"name":"currentUser"}},"arguments":[{"type":"Literal","start":4190,"end":4194,"raw":"null","value":null},{"type":"ObjectExpression","start":4196,"end":4245,"properties":[{"type":"Property","start":4214,"end":4231,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":4214,"end":4225,"name":"ignoreCache"},"value":{"type":"Literal","start":4227,"end":4231,"value":true,"raw":"true"},"kind":"init"}]}]}}}]}},{"type":"ExpressionStatement","start":4266,"end":4470,"expression":{"type":"AssignmentExpression","start":4266,"end":4469,"operator":"=","left":{"type":"MemberExpression","start":4266,"end":4280,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4266,"end":4270},"property":{"type":"Identifier","start":4271,"end":4280,"name":"userReady"}},"right":{"type":"CallExpression","start":4283,"end":4469,"optional":false,"callee":{"type":"MemberExpression","start":4283,"end":4392,"computed":false,"optional":false,"object":{"type":"CallExpression","start":4283,"end":4386,"optional":false,"callee":{"type":"MemberExpression","start":4283,"end":4306,"computed":false,"optional":false,"object":{"type":"Identifier","start":4283,"end":4301,"name":"currentUserPromise"},"property":{"type":"Identifier","start":4302,"end":4306,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":4307,"end":4385,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":4308,"end":4312,"name":"user"}],"body":{"type":"BlockStatement","start":4317,"end":4385,"body":[{"type":"ExpressionStatement","start":4331,"end":4350,"expression":{"type":"CallExpression","start":4331,"end":4349,"optional":false,"callee":{"type":"MemberExpression","start":4331,"end":4343,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4331,"end":4335},"property":{"type":"Identifier","start":4336,"end":4343,"name":"setUser"}},"arguments":[{"type":"Identifier","start":4344,"end":4348,"name":"user"}]}},{"type":"ReturnStatement","start":4363,"end":4375,"argument":{"type":"Identifier","start":4370,"end":4374,"name":"user"}}]},"id":null}]},"property":{"type":"Identifier","start":4387,"end":4392,"name":"catch"}},"arguments":[{"type":"ArrowFunctionExpression","start":4393,"end":4468,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":4394,"end":4397,"name":"err"}],"body":{"type":"BlockStatement","start":4402,"end":4468,"body":[{"type":"ExpressionStatement","start":4416,"end":4435,"expression":{"type":"CallExpression","start":4416,"end":4434,"optional":false,"callee":{"type":"MemberExpression","start":4416,"end":4428,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4416,"end":4420},"property":{"type":"Identifier","start":4421,"end":4428,"name":"setUser"}},"arguments":[{"type":"Literal","start":4429,"end":4433,"raw":"null","value":null}]}},{"type":"ThrowStatement","start":4448,"end":4458,"argument":{"type":"Identifier","start":4454,"end":4457,"name":"err"}}]},"id":null}]}}},{"type":"IfStatement","start":4543,"end":4805,"test":{"type":"MemberExpression","start":4547,"end":4563,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4547,"end":4551},"property":{"type":"Identifier","start":4552,"end":4563,"name":"accessReady"}},"consequent":{"type":"BlockStatement","start":4565,"end":4805,"body":[{"type":"ExpressionStatement","start":4579,"end":4795,"expression":{"type":"CallExpression","start":4579,"end":4794,"optional":false,"callee":{"type":"MemberExpression","start":4579,"end":4762,"computed":false,"optional":false,"object":{"type":"CallExpression","start":4579,"end":4739,"optional":false,"callee":{"type":"MemberExpression","start":4579,"end":4708,"computed":false,"optional":false,"object":{"type":"CallExpression","start":4579,"end":4686,"optional":false,"callee":{"type":"MemberExpression","start":4579,"end":4664,"computed":false,"optional":false,"object":{"type":"CallExpression","start":4579,"end":4642,"optional":false,"callee":{"type":"MemberExpression","start":4579,"end":4617,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":4579,"end":4595,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4579,"end":4583},"property":{"type":"Identifier","start":4584,"end":4595,"name":"accessReady"}},"property":{"type":"Identifier","start":4613,"end":4617,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":4618,"end":4641,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"MemberExpression","start":4624,"end":4641,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4624,"end":4628},"property":{"type":"Identifier","start":4629,"end":4641,"name":"projectReady"}},"id":null}]},"property":{"type":"Identifier","start":4660,"end":4664,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":4665,"end":4685,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"MemberExpression","start":4671,"end":4685,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4671,"end":4675},"property":{"type":"Identifier","start":4676,"end":4685,"name":"userReady"}},"id":null}]},"property":{"type":"Identifier","start":4704,"end":4708,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":4709,"end":4738,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"CallExpression","start":4715,"end":4738,"optional":false,"callee":{"type":"MemberExpression","start":4715,"end":4732,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4715,"end":4719},"property":{"type":"Identifier","start":4720,"end":4732,"name":"readyResolve"}},"arguments":[{"type":"Literal","start":4733,"end":4737,"value":true,"raw":"true"}]},"id":null}]},"property":{"type":"Identifier","start":4757,"end":4762,"name":"catch"}},"arguments":[{"type":"ArrowFunctionExpression","start":4763,"end":4793,"async":false,"expression":true,"generator":false,"params":[{"type":"Identifier","start":4764,"end":4767,"name":"err"}],"body":{"type":"CallExpression","start":4772,"end":4793,"optional":false,"callee":{"type":"MemberExpression","start":4772,"end":4788,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4772,"end":4776},"property":{"type":"Identifier","start":4777,"end":4788,"name":"readyReject"}},"arguments":[{"type":"Identifier","start":4789,"end":4792,"name":"err"}]},"id":null}]}}]},"alternate":null}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":4816,"end":5394,"static":false,"computed":false,"key":{"type":"Identifier","start":4816,"end":4823,"name":"setUser"},"value":{"type":"FunctionExpression","start":4823,"end":5394,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":4824,"end":4828,"name":"user"}],"body":{"type":"BlockStatement","start":4830,"end":5394,"body":[{"type":"VariableDeclaration","start":4840,"end":4887,"kind":"const","declarations":[{"type":"VariableDeclarator","start":4846,"end":4886,"id":{"type":"Identifier","start":4846,"end":4855,"name":"namespace"},"init":{"type":"LogicalExpression","start":4858,"end":4886,"operator":"||","left":{"type":"MemberExpression","start":4858,"end":4874,"computed":false,"optional":false,"object":{"type":"Identifier","start":4858,"end":4864,"name":"Formio"},"property":{"type":"Identifier","start":4865,"end":4874,"name":"namespace"}},"right":{"type":"Literal","start":4878,"end":4886,"value":"formio","raw":"'formio'"}}}]},{"type":"IfStatement","start":4896,"end":5301,"test":{"type":"Identifier","start":4900,"end":4904,"name":"user"},"consequent":{"type":"BlockStatement","start":4906,"end":5093,"body":[{"type":"ExpressionStatement","start":4920,"end":4937,"expression":{"type":"AssignmentExpression","start":4920,"end":4936,"operator":"=","left":{"type":"MemberExpression","start":4920,"end":4929,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":4920,"end":4924},"property":{"type":"Identifier","start":4925,"end":4929,"name":"user"}},"right":{"type":"Identifier","start":4932,"end":4936,"name":"user"}}},{"type":"ExpressionStatement","start":4950,"end":5016,"expression":{"type":"CallExpression","start":4950,"end":5015,"optional":false,"callee":{"type":"MemberExpression","start":4950,"end":4970,"computed":false,"optional":false,"object":{"type":"Identifier","start":4950,"end":4962,"name":"localStorage"},"property":{"type":"Identifier","start":4963,"end":4970,"name":"setItem"}},"arguments":[{"type":"TemplateLiteral","start":4971,"end":4992,"quasis":[{"type":"TemplateElement","start":4972,"end":4972,"tail":false,"value":{"cooked":"","raw":""}},{"type":"TemplateElement","start":4984,"end":4991,"tail":true,"value":{"cooked":"AppUser","raw":"AppUser"}}],"expressions":[{"type":"Identifier","start":4974,"end":4983,"name":"namespace"}]},{"type":"CallExpression","start":4994,"end":5014,"optional":false,"callee":{"type":"MemberExpression","start":4994,"end":5008,"computed":false,"optional":false,"object":{"type":"Identifier","start":4994,"end":4998,"name":"JSON"},"property":{"type":"Identifier","start":4999,"end":5008,"name":"stringify"}},"arguments":[{"type":"Identifier","start":5009,"end":5013,"name":"user"}]}]}},{"type":"ExpressionStatement","start":5029,"end":5049,"expression":{"type":"CallExpression","start":5029,"end":5048,"optional":false,"callee":{"type":"MemberExpression","start":5029,"end":5046,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5029,"end":5033},"property":{"type":"Identifier","start":5034,"end":5046,"name":"setUserRoles"}},"arguments":[]}},{"type":"ExpressionStatement","start":5062,"end":5083,"expression":{"type":"CallExpression","start":5062,"end":5082,"optional":false,"callee":{"type":"MemberExpression","start":5062,"end":5076,"computed":false,"optional":false,"object":{"type":"Identifier","start":5062,"end":5068,"name":"Formio"},"property":{"type":"Identifier","start":5069,"end":5076,"name":"setUser"}},"arguments":[{"type":"Identifier","start":5077,"end":5081,"name":"user"}]}}]},"alternate":{"type":"BlockStatement","start":5107,"end":5301,"body":[{"type":"ExpressionStatement","start":5121,"end":5138,"expression":{"type":"AssignmentExpression","start":5121,"end":5137,"operator":"=","left":{"type":"MemberExpression","start":5121,"end":5130,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5121,"end":5125},"property":{"type":"Identifier","start":5126,"end":5130,"name":"user"}},"right":{"type":"Literal","start":5133,"end":5137,"raw":"null","value":null}}},{"type":"ExpressionStatement","start":5151,"end":5164,"expression":{"type":"AssignmentExpression","start":5151,"end":5163,"operator":"=","left":{"type":"MemberExpression","start":5151,"end":5158,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5151,"end":5155},"property":{"type":"Identifier","start":5156,"end":5158,"name":"is"}},"right":{"type":"ObjectExpression","start":5161,"end":5163,"properties":[]}}},{"type":"ExpressionStatement","start":5177,"end":5224,"expression":{"type":"CallExpression","start":5177,"end":5223,"optional":false,"callee":{"type":"MemberExpression","start":5177,"end":5200,"computed":false,"optional":false,"object":{"type":"Identifier","start":5177,"end":5189,"name":"localStorage"},"property":{"type":"Identifier","start":5190,"end":5200,"name":"removeItem"}},"arguments":[{"type":"TemplateLiteral","start":5201,"end":5222,"quasis":[{"type":"TemplateElement","start":5202,"end":5202,"tail":false,"value":{"cooked":"","raw":""}},{"type":"TemplateElement","start":5214,"end":5221,"tail":true,"value":{"cooked":"AppUser","raw":"AppUser"}}],"expressions":[{"type":"Identifier","start":5204,"end":5213,"name":"namespace"}]}]}},{"type":"ExpressionStatement","start":5237,"end":5257,"expression":{"type":"CallExpression","start":5237,"end":5256,"optional":false,"callee":{"type":"MemberExpression","start":5237,"end":5254,"computed":false,"optional":false,"object":{"type":"Identifier","start":5237,"end":5243,"name":"Formio"},"property":{"type":"Identifier","start":5244,"end":5254,"name":"clearCache"}},"arguments":[]}},{"type":"ExpressionStatement","start":5270,"end":5291,"expression":{"type":"CallExpression","start":5270,"end":5290,"optional":false,"callee":{"type":"MemberExpression","start":5270,"end":5284,"computed":false,"optional":false,"object":{"type":"Identifier","start":5270,"end":5276,"name":"Formio"},"property":{"type":"Identifier","start":5277,"end":5284,"name":"setUser"}},"arguments":[{"type":"Literal","start":5285,"end":5289,"raw":"null","value":null}]}}]}},{"type":"ExpressionStatement","start":5310,"end":5351,"expression":{"type":"AssignmentExpression","start":5310,"end":5350,"operator":"=","left":{"type":"MemberExpression","start":5310,"end":5328,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5310,"end":5314},"property":{"type":"Identifier","start":5315,"end":5328,"name":"authenticated"}},"right":{"type":"UnaryExpression","start":5331,"end":5350,"operator":"!","argument":{"type":"UnaryExpression","start":5332,"end":5350,"operator":"!","argument":{"type":"CallExpression","start":5333,"end":5350,"optional":false,"callee":{"type":"MemberExpression","start":5333,"end":5348,"computed":false,"optional":false,"object":{"type":"Identifier","start":5333,"end":5339,"name":"Formio"},"property":{"type":"Identifier","start":5340,"end":5348,"name":"getToken"}},"arguments":[]},"prefix":true},"prefix":true}}},{"type":"ExpressionStatement","start":5360,"end":5388,"expression":{"type":"CallExpression","start":5360,"end":5387,"optional":false,"callee":{"type":"MemberExpression","start":5360,"end":5376,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5360,"end":5371,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5360,"end":5364},"property":{"type":"Identifier","start":5365,"end":5371,"name":"onUser"}},"property":{"type":"Identifier","start":5372,"end":5376,"name":"emit"}},"arguments":[{"type":"MemberExpression","start":5377,"end":5386,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5377,"end":5381},"property":{"type":"Identifier","start":5382,"end":5386,"name":"user"}}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":5399,"end":5736,"static":false,"computed":false,"key":{"type":"Identifier","start":5399,"end":5411,"name":"setUserRoles"},"value":{"type":"FunctionExpression","start":5411,"end":5736,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":5414,"end":5736,"body":[{"type":"IfStatement","start":5424,"end":5730,"test":{"type":"MemberExpression","start":5428,"end":5444,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5428,"end":5432},"property":{"type":"Identifier","start":5433,"end":5444,"name":"accessReady"}},"consequent":{"type":"BlockStatement","start":5446,"end":5730,"body":[{"type":"ExpressionStatement","start":5460,"end":5720,"expression":{"type":"CallExpression","start":5460,"end":5719,"optional":false,"callee":{"type":"MemberExpression","start":5460,"end":5481,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5460,"end":5476,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5460,"end":5464},"property":{"type":"Identifier","start":5465,"end":5476,"name":"accessReady"}},"property":{"type":"Identifier","start":5477,"end":5481,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":5482,"end":5718,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":5488,"end":5718,"body":[{"type":"ExpressionStatement","start":5506,"end":5704,"expression":{"type":"CallExpression","start":5506,"end":5703,"optional":false,"callee":{"type":"Identifier","start":5506,"end":5510,"name":"each"},"arguments":[{"type":"MemberExpression","start":5511,"end":5521,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5511,"end":5515},"property":{"type":"Identifier","start":5516,"end":5521,"name":"roles"}},{"type":"ArrowFunctionExpression","start":5523,"end":5702,"async":false,"expression":false,"generator":false,"params":[{"type":"Identifier","start":5524,"end":5528,"name":"role"},{"type":"Identifier","start":5530,"end":5538,"name":"roleName"}],"body":{"type":"BlockStatement","start":5543,"end":5702,"body":[{"type":"IfStatement","start":5565,"end":5684,"test":{"type":"BinaryExpression","start":5569,"end":5609,"operator":"!==","left":{"type":"CallExpression","start":5569,"end":5602,"optional":false,"callee":{"type":"MemberExpression","start":5569,"end":5592,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5569,"end":5584,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5569,"end":5578,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5569,"end":5573},"property":{"type":"Identifier","start":5574,"end":5578,"name":"user"}},"property":{"type":"Identifier","start":5579,"end":5584,"name":"roles"}},"property":{"type":"Identifier","start":5585,"end":5592,"name":"indexOf"}},"arguments":[{"type":"MemberExpression","start":5593,"end":5601,"computed":false,"optional":false,"object":{"type":"Identifier","start":5593,"end":5597,"name":"role"},"property":{"type":"Identifier","start":5598,"end":5601,"name":"_id"}}]},"right":{"type":"UnaryExpression","start":5607,"end":5609,"operator":"-","argument":{"type":"Literal","start":5608,"end":5609,"raw":"1","value":1},"prefix":true}},"consequent":{"type":"BlockStatement","start":5611,"end":5684,"body":[{"type":"ExpressionStatement","start":5637,"end":5662,"expression":{"type":"AssignmentExpression","start":5637,"end":5661,"operator":"=","left":{"type":"MemberExpression","start":5637,"end":5654,"computed":true,"optional":false,"object":{"type":"MemberExpression","start":5637,"end":5644,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5637,"end":5641},"property":{"type":"Identifier","start":5642,"end":5644,"name":"is"}},"property":{"type":"Identifier","start":5645,"end":5653,"name":"roleName"}},"right":{"type":"Literal","start":5657,"end":5661,"value":true,"raw":"true"}}}]},"alternate":null}]},"id":null}]}}]},"id":null}]}}]},"alternate":null}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":5741,"end":5929,"static":false,"computed":false,"key":{"type":"Identifier","start":5741,"end":5752,"name":"logoutError"},"value":{"type":"FunctionExpression","start":5752,"end":5929,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":5755,"end":5929,"body":[{"type":"ExpressionStatement","start":5765,"end":5784,"expression":{"type":"CallExpression","start":5765,"end":5783,"optional":false,"callee":{"type":"MemberExpression","start":5765,"end":5777,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5765,"end":5769},"property":{"type":"Identifier","start":5770,"end":5777,"name":"setUser"}},"arguments":[{"type":"Literal","start":5778,"end":5782,"raw":"null","value":null}]}},{"type":"VariableDeclaration","start":5793,"end":5840,"kind":"const","declarations":[{"type":"VariableDeclarator","start":5799,"end":5839,"id":{"type":"Identifier","start":5799,"end":5808,"name":"namespace"},"init":{"type":"LogicalExpression","start":5811,"end":5839,"operator":"||","left":{"type":"MemberExpression","start":5811,"end":5827,"computed":false,"optional":false,"object":{"type":"Identifier","start":5811,"end":5817,"name":"Formio"},"property":{"type":"Identifier","start":5818,"end":5827,"name":"namespace"}},"right":{"type":"Literal","start":5831,"end":5839,"value":"formio","raw":"'formio'"}}}]},{"type":"ExpressionStatement","start":5849,"end":5894,"expression":{"type":"CallExpression","start":5849,"end":5893,"optional":false,"callee":{"type":"MemberExpression","start":5849,"end":5872,"computed":false,"optional":false,"object":{"type":"Identifier","start":5849,"end":5861,"name":"localStorage"},"property":{"type":"Identifier","start":5862,"end":5872,"name":"removeItem"}},"arguments":[{"type":"TemplateLiteral","start":5873,"end":5892,"quasis":[{"type":"TemplateElement","start":5874,"end":5874,"tail":false,"value":{"cooked":"","raw":""}},{"type":"TemplateElement","start":5886,"end":5891,"tail":true,"value":{"cooked":"Token","raw":"Token"}}],"expressions":[{"type":"Identifier","start":5876,"end":5885,"name":"namespace"}]}]}},{"type":"ExpressionStatement","start":5903,"end":5923,"expression":{"type":"CallExpression","start":5903,"end":5922,"optional":false,"callee":{"type":"MemberExpression","start":5903,"end":5920,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":5903,"end":5915,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":5903,"end":5907},"property":{"type":"Identifier","start":5908,"end":5915,"name":"onError"}},"property":{"type":"Identifier","start":5916,"end":5920,"name":"emit"}},"arguments":[]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":5934,"end":6661,"static":false,"computed":false,"key":{"type":"Identifier","start":5934,"end":5940,"name":"logout"},"value":{"type":"FunctionExpression","start":5940,"end":6661,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":5943,"end":6661,"body":[{"type":"VariableDeclaration","start":5953,"end":6000,"kind":"const","declarations":[{"type":"VariableDeclarator","start":5959,"end":5999,"id":{"type":"Identifier","start":5959,"end":5968,"name":"namespace"},"init":{"type":"LogicalExpression","start":5971,"end":5999,"operator":"||","left":{"type":"MemberExpression","start":5971,"end":5987,"computed":false,"optional":false,"object":{"type":"Identifier","start":5971,"end":5977,"name":"Formio"},"property":{"type":"Identifier","start":5978,"end":5987,"name":"namespace"}},"right":{"type":"Literal","start":5991,"end":5999,"value":"formio","raw":"'formio'"}}}]},{"type":"VariableDeclaration","start":6009,"end":6047,"kind":"const","declarations":[{"type":"VariableDeclarator","start":6015,"end":6046,"id":{"type":"Identifier","start":6015,"end":6024,"name":"tokenName"},"init":{"type":"TemplateLiteral","start":6027,"end":6046,"quasis":[{"type":"TemplateElement","start":6028,"end":6028,"tail":false,"value":{"cooked":"","raw":""}},{"type":"TemplateElement","start":6040,"end":6045,"tail":true,"value":{"cooked":"Token","raw":"Token"}}],"expressions":[{"type":"Identifier","start":6030,"end":6039,"name":"namespace"}]}}]},{"type":"ExpressionStatement","start":6056,"end":6091,"expression":{"type":"CallExpression","start":6056,"end":6090,"optional":false,"callee":{"type":"MemberExpression","start":6056,"end":6079,"computed":false,"optional":false,"object":{"type":"Identifier","start":6056,"end":6068,"name":"localStorage"},"property":{"type":"Identifier","start":6069,"end":6079,"name":"removeItem"}},"arguments":[{"type":"Identifier","start":6080,"end":6089,"name":"tokenName"}]}},{"type":"IfStatement","start":6100,"end":6218,"test":{"type":"LogicalExpression","start":6104,"end":6160,"operator":"&&","left":{"type":"MemberExpression","start":6104,"end":6117,"computed":false,"optional":false,"object":{"type":"Identifier","start":6104,"end":6110,"name":"Formio"},"property":{"type":"Identifier","start":6111,"end":6117,"name":"tokens"}},"right":{"type":"CallExpression","start":6121,"end":6160,"optional":false,"callee":{"type":"MemberExpression","start":6121,"end":6149,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":6121,"end":6134,"computed":false,"optional":false,"object":{"type":"Identifier","start":6121,"end":6127,"name":"Formio"},"property":{"type":"Identifier","start":6128,"end":6134,"name":"tokens"}},"property":{"type":"Identifier","start":6135,"end":6149,"name":"hasOwnProperty"}},"arguments":[{"type":"Identifier","start":6150,"end":6159,"name":"tokenName"}]}},"consequent":{"type":"BlockStatement","start":6162,"end":6218,"body":[{"type":"ExpressionStatement","start":6176,"end":6208,"expression":{"type":"UnaryExpression","start":6176,"end":6207,"operator":"delete","argument":{"type":"MemberExpression","start":6183,"end":6207,"computed":true,"optional":false,"object":{"type":"MemberExpression","start":6183,"end":6196,"computed":false,"optional":false,"object":{"type":"Identifier","start":6183,"end":6189,"name":"Formio"},"property":{"type":"Identifier","start":6190,"end":6196,"name":"tokens"}},"property":{"type":"Identifier","start":6197,"end":6206,"name":"tokenName"}},"prefix":true}}]},"alternate":null},{"type":"ExpressionStatement","start":6227,"end":6655,"expression":{"type":"CallExpression","start":6227,"end":6654,"optional":false,"callee":{"type":"MemberExpression","start":6227,"end":6628,"computed":false,"optional":false,"object":{"type":"CallExpression","start":6227,"end":6609,"optional":false,"callee":{"type":"MemberExpression","start":6227,"end":6260,"computed":false,"optional":false,"object":{"type":"CallExpression","start":6227,"end":6242,"optional":false,"callee":{"type":"MemberExpression","start":6227,"end":6240,"computed":false,"optional":false,"object":{"type":"Identifier","start":6227,"end":6233,"name":"Formio"},"property":{"type":"Identifier","start":6234,"end":6240,"name":"logout"}},"arguments":[]},"property":{"type":"Identifier","start":6256,"end":6260,"name":"then"}},"arguments":[{"type":"ArrowFunctionExpression","start":6261,"end":6608,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":6267,"end":6608,"body":[{"type":"ExpressionStatement","start":6281,"end":6300,"expression":{"type":"CallExpression","start":6281,"end":6299,"optional":false,"callee":{"type":"MemberExpression","start":6281,"end":6293,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":6281,"end":6285},"property":{"type":"Identifier","start":6286,"end":6293,"name":"setUser"}},"arguments":[{"type":"Literal","start":6294,"end":6298,"raw":"null","value":null}]}},{"type":"IfStatement","start":6313,"end":6564,"test":{"type":"CallExpression","start":6317,"end":6366,"optional":false,"callee":{"type":"MemberExpression","start":6317,"end":6337,"computed":false,"optional":false,"object":{"type":"Identifier","start":6317,"end":6329,"name":"localStorage"},"property":{"type":"Identifier","start":6330,"end":6337,"name":"getItem"}},"arguments":[{"type":"TemplateLiteral","start":6338,"end":6365,"quasis":[{"type":"TemplateElement","start":6339,"end":6339,"tail":false,"value":{"cooked":"","raw":""}},{"type":"TemplateElement","start":6351,"end":6364,"tail":true,"value":{"cooked":"LogoutAuthUrl","raw":"LogoutAuthUrl"}}],"expressions":[{"type":"Identifier","start":6341,"end":6350,"name":"namespace"}]}]},"consequent":{"type":"BlockStatement","start":6368,"end":6564,"body":[{"type":"ExpressionStatement","start":6386,"end":6480,"expression":{"type":"CallExpression","start":6386,"end":6479,"optional":false,"callee":{"type":"MemberExpression","start":6386,"end":6397,"computed":false,"optional":false,"object":{"type":"Identifier","start":6386,"end":6392,"name":"window"},"property":{"type":"Identifier","start":6393,"end":6397,"name":"open"}},"arguments":[{"type":"CallExpression","start":6398,"end":6447,"optional":false,"callee":{"type":"MemberExpression","start":6398,"end":6418,"computed":false,"optional":false,"object":{"type":"Identifier","start":6398,"end":6410,"name":"localStorage"},"property":{"type":"Identifier","start":6411,"end":6418,"name":"getItem"}},"arguments":[{"type":"TemplateLiteral","start":6419,"end":6446,"quasis":[{"type":"TemplateElement","start":6420,"end":6420,"tail":false,"value":{"cooked":"","raw":""}},{"type":"TemplateElement","start":6432,"end":6445,"tail":true,"value":{"cooked":"LogoutAuthUrl","raw":"LogoutAuthUrl"}}],"expressions":[{"type":"Identifier","start":6422,"end":6431,"name":"namespace"}]}]},{"type":"Literal","start":6449,"end":6453,"raw":"null","value":null},{"type":"Literal","start":6455,"end":6478,"value":"width=1020,height=618","raw":"'width=1020,height=618'"}]}},{"type":"ExpressionStatement","start":6497,"end":6550,"expression":{"type":"CallExpression","start":6497,"end":6549,"optional":false,"callee":{"type":"MemberExpression","start":6497,"end":6520,"computed":false,"optional":false,"object":{"type":"Identifier","start":6497,"end":6509,"name":"localStorage"},"property":{"type":"Identifier","start":6510,"end":6520,"name":"removeItem"}},"arguments":[{"type":"TemplateLiteral","start":6521,"end":6548,"quasis":[{"type":"TemplateElement","start":6522,"end":6522,"tail":false,"value":{"cooked":"","raw":""}},{"type":"TemplateElement","start":6534,"end":6547,"tail":true,"value":{"cooked":"LogoutAuthUrl","raw":"LogoutAuthUrl"}}],"expressions":[{"type":"Identifier","start":6524,"end":6533,"name":"namespace"}]}]}}]},"alternate":null},{"type":"ExpressionStatement","start":6577,"end":6598,"expression":{"type":"CallExpression","start":6577,"end":6597,"optional":false,"callee":{"type":"MemberExpression","start":6577,"end":6595,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":6577,"end":6590,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":6577,"end":6581},"property":{"type":"Identifier","start":6582,"end":6590,"name":"onLogout"}},"property":{"type":"Identifier","start":6591,"end":6595,"name":"emit"}},"arguments":[]}}]},"id":null}]},"property":{"type":"Identifier","start":6623,"end":6628,"name":"catch"}},"arguments":[{"type":"ArrowFunctionExpression","start":6629,"end":6653,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"CallExpression","start":6635,"end":6653,"optional":false,"callee":{"type":"MemberExpression","start":6635,"end":6651,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":6635,"end":6639},"property":{"type":"Identifier","start":6640,"end":6651,"name":"logoutError"}},"arguments":[]},"id":null}]}}]},"expression":false},"kind":"method"},{"type":"PropertyDefinition","start":6666,"end":6826,"static":true,"computed":false,"key":{"type":"Identifier","start":6673,"end":6677,"name":"ɵfac"},"value":{"type":"FunctionExpression","start":6680,"end":6825,"async":false,"generator":false,"id":{"type":"Identifier","start":6689,"end":6714,"name":"FormioAuthService_Factory"},"params":[{"type":"Identifier","start":6715,"end":6716,"name":"t"}],"body":{"type":"BlockStatement","start":6718,"end":6825,"body":[{"type":"ReturnStatement","start":6720,"end":6823,"argument":{"type":"NewExpression","start":6727,"end":6822,"callee":{"type":"LogicalExpression","start":6732,"end":6754,"operator":"||","left":{"type":"Identifier","start":6732,"end":6733,"name":"t"},"right":{"type":"Identifier","start":6737,"end":6754,"name":"FormioAuthService"}},"arguments":[{"type":"CallExpression","start":6756,"end":6787,"optional":false,"callee":{"type":"MemberExpression","start":6756,"end":6767,"computed":false,"optional":false,"object":{"type":"Identifier","start":6756,"end":6758,"name":"i0"},"property":{"type":"Identifier","start":6759,"end":6767,"name":"ɵɵinject"}},"arguments":[{"type":"MemberExpression","start":6768,"end":6786,"computed":false,"optional":false,"object":{"type":"Identifier","start":6768,"end":6770,"name":"i1"},"property":{"type":"Identifier","start":6771,"end":6786,"name":"FormioAppConfig"}}]},{"type":"CallExpression","start":6789,"end":6821,"optional":false,"callee":{"type":"MemberExpression","start":6789,"end":6800,"computed":false,"optional":false,"object":{"type":"Identifier","start":6789,"end":6791,"name":"i0"},"property":{"type":"Identifier","start":6792,"end":6800,"name":"ɵɵinject"}},"arguments":[{"type":"MemberExpression","start":6801,"end":6820,"computed":false,"optional":false,"object":{"type":"Identifier","start":6801,"end":6803,"name":"i2"},"property":{"type":"Identifier","start":6804,"end":6820,"name":"FormioAuthConfig"}}]}]}}]},"expression":false}},{"type":"PropertyDefinition","start":6831,"end":6945,"static":true,"computed":false,"key":{"type":"Identifier","start":6838,"end":6843,"name":"ɵprov"},"value":{"type":"CallExpression","start":6860,"end":6944,"optional":false,"_rollupAnnotations":[{"end":6859,"start":6846,"type":"pure"}],"callee":{"type":"MemberExpression","start":6860,"end":6881,"computed":false,"optional":false,"object":{"type":"Identifier","start":6860,"end":6862,"name":"i0"},"property":{"type":"Identifier","start":6863,"end":6881,"name":"ɵɵdefineInjectable"}},"arguments":[{"type":"ObjectExpression","start":6882,"end":6943,"properties":[{"type":"Property","start":6884,"end":6908,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6884,"end":6889,"name":"token"},"value":{"type":"Identifier","start":6891,"end":6908,"name":"FormioAuthService"},"kind":"init"},{"type":"Property","start":6910,"end":6941,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":6910,"end":6917,"name":"factory"},"value":{"type":"MemberExpression","start":6919,"end":6941,"computed":false,"optional":false,"object":{"type":"Identifier","start":6919,"end":6936,"name":"FormioAuthService"},"property":{"type":"Identifier","start":6937,"end":6941,"name":"ɵfac"}},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":6948,"end":7165,"expression":{"type":"CallExpression","start":6948,"end":7164,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":6949,"end":7161,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":6955,"end":7161,"body":[{"type":"ExpressionStatement","start":6957,"end":7159,"expression":{"type":"LogicalExpression","start":6957,"end":7158,"operator":"&&","left":{"type":"LogicalExpression","start":6958,"end":7003,"operator":"||","left":{"type":"BinaryExpression","start":6958,"end":6990,"operator":"===","left":{"type":"UnaryExpression","start":6958,"end":6974,"operator":"typeof","argument":{"type":"Identifier","start":6965,"end":6974,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":6979,"end":6990,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":6994,"end":7003,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":7008,"end":7158,"optional":false,"callee":{"type":"MemberExpression","start":7008,"end":7028,"computed":false,"optional":false,"object":{"type":"Identifier","start":7008,"end":7010,"name":"i0"},"property":{"type":"Identifier","start":7011,"end":7028,"name":"ɵsetClassMetadata"}},"arguments":[{"type":"Identifier","start":7029,"end":7046,"name":"FormioAuthService"},{"type":"ArrayExpression","start":7048,"end":7082,"elements":[{"type":"ObjectExpression","start":7049,"end":7081,"properties":[{"type":"Property","start":7059,"end":7075,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7059,"end":7063,"name":"type"},"value":{"type":"Identifier","start":7065,"end":7075,"name":"Injectable"},"kind":"init"}]}]},{"type":"ArrowFunctionExpression","start":7084,"end":7151,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":7090,"end":7151,"elements":[{"type":"ObjectExpression","start":7091,"end":7119,"properties":[{"type":"Property","start":7093,"end":7117,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7093,"end":7097,"name":"type"},"value":{"type":"MemberExpression","start":7099,"end":7117,"computed":false,"optional":false,"object":{"type":"Identifier","start":7099,"end":7101,"name":"i1"},"property":{"type":"Identifier","start":7102,"end":7117,"name":"FormioAppConfig"}},"kind":"init"}]},{"type":"ObjectExpression","start":7121,"end":7150,"properties":[{"type":"Property","start":7123,"end":7148,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":7123,"end":7127,"name":"type"},"value":{"type":"MemberExpression","start":7129,"end":7148,"computed":false,"optional":false,"object":{"type":"Identifier","start":7129,"end":7131,"name":"i2"},"property":{"type":"Identifier","start":7132,"end":7148,"name":"FormioAuthConfig"}},"kind":"init"}]}]},"id":null},{"type":"Literal","start":7153,"end":7157,"raw":"null","value":null}]}}}]},"id":null},"arguments":[]}}],"_rollupRemoved":[{"end":25264,"start":7166,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { EventEmitter, Injectable } from '@angular/core';\nimport { get, each } from 'lodash';\nimport { Formio } from '@formio/js';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@formio/angular\";\nimport * as i2 from \"./auth.config\";\nexport class FormioAuthService {\n appConfig;\n config;\n user;\n authenticated = false;\n loginForm;\n onLogin;\n onLogout;\n registerForm;\n onRegister;\n onUser;\n onError;\n resetPassForm;\n onResetPass;\n ready;\n readyResolve;\n readyReject;\n projectReady;\n accessReady;\n userReady;\n formAccess = {};\n submissionAccess = {};\n roles;\n is = {};\n constructor(appConfig, config) {\n this.appConfig = appConfig;\n this.config = config;\n this.user = null;\n if (this.appConfig && this.appConfig.appUrl) {\n Formio.setBaseUrl(this.appConfig.apiUrl);\n Formio.setProjectUrl(this.appConfig.appUrl);\n Formio.formOnly = !!this.appConfig.formOnly;\n }\n else {\n console.error('You must provide an AppConfig within your application!');\n }\n this.loginForm =\n this.appConfig.appUrl +\n '/' +\n get(this.config, 'login.form', 'user/login');\n this.registerForm =\n this.appConfig.appUrl +\n '/' +\n get(this.config, 'register.form', 'user/register');\n this.resetPassForm =\n this.appConfig.appUrl +\n '/' +\n get(this.config, 'register.form', 'resetpass');\n this.onLogin = new EventEmitter();\n this.onLogout = new EventEmitter();\n this.onRegister = new EventEmitter();\n this.onUser = new EventEmitter();\n this.onError = new EventEmitter();\n this.ready = new Promise((resolve, reject) => {\n this.readyResolve = resolve;\n this.readyReject = reject;\n });\n // Register for the core events.\n Formio.events.on('formio.badToken', () => this.logoutError());\n Formio.events.on('formio.sessionExpired', () => this.logoutError());\n if (!this.config.delayAuth) {\n this.init();\n }\n }\n onLoginSubmit(submission) {\n this.setUser(submission);\n this.onLogin.emit(submission);\n }\n onRegisterSubmit(submission) {\n this.setUser(submission);\n this.onRegister.emit(submission);\n }\n onResetPassSubmit(submission) {\n this.onResetPass.emit(submission);\n }\n init() {\n this.projectReady = Formio.makeStaticRequest(this.appConfig.appUrl).then((project) => {\n each(project.access, (access) => {\n this.formAccess[access.type] = access.roles;\n });\n }, () => {\n this.formAccess = {};\n return null;\n });\n // Get the access for this project.\n this.accessReady = Formio.makeStaticRequest(this.appConfig.appUrl + '/access')\n .then((access) => {\n each(access.forms, (form) => {\n this.submissionAccess[form.name] = {};\n form.submissionAccess.forEach((subAccess) => {\n this.submissionAccess[form.name][subAccess.type] = subAccess.roles;\n });\n });\n this.roles = access.roles;\n return access;\n })\n .catch((err) => {\n if (err === 'Token Expired' || err === 'Bad Token') {\n this.setUser(null);\n }\n this.roles = {};\n return null;\n });\n let currentUserPromise;\n if (this.config.oauth) {\n // Make a fix to the hash to remove starting \"/\" that angular might put there.\n if (window.location.hash && window.location.hash.match(/^#\\/access_token/)) {\n history.pushState(null, null, window.location.hash.replace(/^#\\/access_token/, '#access_token'));\n }\n // Initiate the SSO if they provide oauth settings.\n currentUserPromise = Formio.ssoInit(this.config.oauth.type, this.config.oauth.options);\n }\n else {\n currentUserPromise = Formio.currentUser(null, {\n ignoreCache: true\n });\n }\n this.userReady = currentUserPromise.then((user) => {\n this.setUser(user);\n return user;\n }).catch((err) => {\n this.setUser(null);\n throw err;\n });\n // Trigger we are redy when all promises have resolved.\n if (this.accessReady) {\n this.accessReady\n .then(() => this.projectReady)\n .then(() => this.userReady)\n .then(() => this.readyResolve(true))\n .catch((err) => this.readyReject(err));\n }\n }\n setUser(user) {\n const namespace = Formio.namespace || 'formio';\n if (user) {\n this.user = user;\n localStorage.setItem(`${namespace}AppUser`, JSON.stringify(user));\n this.setUserRoles();\n Formio.setUser(user);\n }\n else {\n this.user = null;\n this.is = {};\n localStorage.removeItem(`${namespace}AppUser`);\n Formio.clearCache();\n Formio.setUser(null);\n }\n this.authenticated = !!Formio.getToken();\n this.onUser.emit(this.user);\n }\n setUserRoles() {\n if (this.accessReady) {\n this.accessReady.then(() => {\n each(this.roles, (role, roleName) => {\n if (this.user.roles.indexOf(role._id) !== -1) {\n this.is[roleName] = true;\n }\n });\n });\n }\n }\n logoutError() {\n this.setUser(null);\n const namespace = Formio.namespace || 'formio';\n localStorage.removeItem(`${namespace}Token`);\n this.onError.emit();\n }\n logout() {\n const namespace = Formio.namespace || 'formio';\n const tokenName = `${namespace}Token`;\n localStorage.removeItem(tokenName);\n if (Formio.tokens && Formio.tokens.hasOwnProperty(tokenName)) {\n delete Formio.tokens[tokenName];\n }\n Formio.logout()\n .then(() => {\n this.setUser(null);\n if (localStorage.getItem(`${namespace}LogoutAuthUrl`)) {\n window.open(localStorage.getItem(`${namespace}LogoutAuthUrl`), null, 'width=1020,height=618');\n localStorage.removeItem(`${namespace}LogoutAuthUrl`);\n }\n this.onLogout.emit();\n })\n .catch(() => this.logoutError());\n }\n static ɵfac = function FormioAuthService_Factory(t) { return new (t || FormioAuthService)(i0.ɵɵinject(i1.FormioAppConfig), i0.ɵɵinject(i2.FormioAuthConfig)); };\n static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormioAuthService, factory: FormioAuthService.ɵfac });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthService, [{\n type: Injectable\n }], () => [{ type: i1.FormioAppConfig }, { type: i2.FormioAuthConfig }], null); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvYXV0aC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsVUFBVSxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBR2pFLE9BQU8sRUFBRSxHQUFHLEVBQUUsSUFBSSxFQUFFLE1BQU0sUUFBUSxDQUFDO0FBQ25DLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxZQUFZLENBQUM7Ozs7QUFHcEMsTUFBTSxPQUFPLGlCQUFpQjtJQTZCbkI7SUFDQTtJQTdCRixJQUFJLENBQU07SUFDVixhQUFhLEdBQUcsS0FBSyxDQUFDO0lBRXRCLFNBQVMsQ0FBUztJQUNsQixPQUFPLENBQXVCO0lBQzlCLFFBQVEsQ0FBdUI7SUFFL0IsWUFBWSxDQUFTO0lBQ3JCLFVBQVUsQ0FBdUI7SUFDakMsTUFBTSxDQUF1QjtJQUM3QixPQUFPLENBQW9CO0lBRTNCLGFBQWEsQ0FBUztJQUN0QixXQUFXLENBQXVCO0lBRWxDLEtBQUssQ0FBbUI7SUFDeEIsWUFBWSxDQUFNO0lBQ2xCLFdBQVcsQ0FBTTtJQUVqQixZQUFZLENBQWdCO0lBQzVCLFdBQVcsQ0FBZ0I7SUFDM0IsU0FBUyxDQUFnQjtJQUN6QixVQUFVLEdBQVEsRUFBRSxDQUFDO0lBQ3JCLGdCQUFnQixHQUFRLEVBQUUsQ0FBQ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oaXMubG9nb3V0RXJyb3IoKSk7XG4gIH1cbn1cbiJdfQ==","customTransformCache":false,"dependencies":["@angular/core","lodash","@formio/js","@formio/angular","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.config.mjs"],"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { EventEmitter, Injectable } from '@angular/core';\nimport { get, each } from 'lodash';\nimport { Formio } from '@formio/js';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@formio/angular\";\nimport * as i2 from \"./auth.config\";\nexport class FormioAuthService {\n appConfig;\n config;\n user;\n authenticated = false;\n loginForm;\n onLogin;\n onLogout;\n registerForm;\n onRegister;\n onUser;\n onError;\n resetPassForm;\n onResetPass;\n ready;\n readyResolve;\n readyReject;\n projectReady;\n accessReady;\n userReady;\n formAccess = {};\n submissionAccess = {};\n roles;\n is = {};\n constructor(appConfig, config) {\n this.appConfig = appConfig;\n this.config = config;\n this.user = null;\n if (this.appConfig && this.appConfig.appUrl) {\n Formio.setBaseUrl(this.appConfig.apiUrl);\n Formio.setProjectUrl(this.appConfig.appUrl);\n Formio.formOnly = !!this.appConfig.formOnly;\n }\n else {\n console.error('You must provide an AppConfig within your application!');\n }\n this.loginForm =\n this.appConfig.appUrl +\n '/' +\n get(this.config, 'login.form', 'user/login');\n this.registerForm =\n this.appConfig.appUrl +\n '/' +\n get(this.config, 'register.form', 'user/register');\n this.resetPassForm =\n this.appConfig.appUrl +\n '/' +\n get(this.config, 'register.form', 'resetpass');\n this.onLogin = new EventEmitter();\n this.onLogout = new EventEmitter();\n this.onRegister = new EventEmitter();\n this.onUser = new EventEmitter();\n this.onError = new EventEmitter();\n this.ready = new Promise((resolve, reject) => {\n this.readyResolve = resolve;\n this.readyReject = reject;\n });\n // Register for the core events.\n Formio.events.on('formio.badToken', () => this.logoutError());\n Formio.events.on('formio.sessionExpired', () => this.logoutError());\n if (!this.config.delayAuth) {\n this.init();\n }\n }\n onLoginSubmit(submission) {\n this.setUser(submission);\n this.onLogin.emit(submission);\n }\n onRegisterSubmit(submission) {\n this.setUser(submission);\n this.onRegister.emit(submission);\n }\n onResetPassSubmit(submission) {\n this.onResetPass.emit(submission);\n }\n init() {\n this.projectReady = Formio.makeStaticRequest(this.appConfig.appUrl).then((project) => {\n each(project.access, (access) => {\n this.formAccess[access.type] = access.roles;\n });\n }, () => {\n this.formAccess = {};\n return null;\n });\n // Get the access for this project.\n this.accessReady = Formio.makeStaticRequest(this.appConfig.appUrl + '/access')\n .then((access) => {\n each(access.forms, (form) => {\n this.submissionAccess[form.name] = {};\n form.submissionAccess.forEach((subAccess) => {\n this.submissionAccess[form.name][subAccess.type] = subAccess.roles;\n });\n });\n this.roles = access.roles;\n return access;\n })\n .catch((err) => {\n if (err === 'Token Expired' || err === 'Bad Token') {\n this.setUser(null);\n }\n this.roles = {};\n return null;\n });\n let currentUserPromise;\n if (this.config.oauth) {\n // Make a fix to the hash to remove starting \"/\" that angular might put there.\n if (window.location.hash && window.location.hash.match(/^#\\/access_token/)) {\n history.pushState(null, null, window.location.hash.replace(/^#\\/access_token/, '#access_token'));\n }\n // Initiate the SSO if they provide oauth settings.\n currentUserPromise = Formio.ssoInit(this.config.oauth.type, this.config.oauth.options);\n }\n else {\n currentUserPromise = Formio.currentUser(null, {\n ignoreCache: true\n });\n }\n this.userReady = currentUserPromise.then((user) => {\n this.setUser(user);\n return user;\n }).catch((err) => {\n this.setUser(null);\n throw err;\n });\n // Trigger we are redy when all promises have resolved.\n if (this.accessReady) {\n this.accessReady\n .then(() => this.projectReady)\n .then(() => this.userReady)\n .then(() => this.readyResolve(true))\n .catch((err) => this.readyReject(err));\n }\n }\n setUser(user) {\n const namespace = Formio.namespace || 'formio';\n if (user) {\n this.user = user;\n localStorage.setItem(`${namespace}AppUser`, JSON.stringify(user));\n this.setUserRoles();\n Formio.setUser(user);\n }\n else {\n this.user = null;\n this.is = {};\n localStorage.removeItem(`${namespace}AppUser`);\n Formio.clearCache();\n Formio.setUser(null);\n }\n this.authenticated = !!Formio.getToken();\n this.onUser.emit(this.user);\n }\n setUserRoles() {\n if (this.accessReady) {\n this.accessReady.then(() => {\n each(this.roles, (role, roleName) => {\n if (this.user.roles.indexOf(role._id) !== -1) {\n this.is[roleName] = true;\n }\n });\n });\n }\n }\n logoutError() {\n this.setUser(null);\n const namespace = Formio.namespace || 'formio';\n localStorage.removeItem(`${namespace}Token`);\n this.onError.emit();\n }\n logout() {\n const namespace = Formio.namespace || 'formio';\n const tokenName = `${namespace}Token`;\n localStorage.removeItem(tokenName);\n if (Formio.tokens && Formio.tokens.hasOwnProperty(tokenName)) {\n delete Formio.tokens[tokenName];\n }\n Formio.logout()\n .then(() => {\n this.setUser(null);\n if (localStorage.getItem(`${namespace}LogoutAuthUrl`)) {\n window.open(localStorage.getItem(`${namespace}LogoutAuthUrl`), null, 'width=1020,height=618');\n localStorage.removeItem(`${namespace}LogoutAuthUrl`);\n }\n this.onLogout.emit();\n })\n .catch(() => this.logoutError());\n }\n static ɵfac = function FormioAuthService_Factory(t) { return new (t || FormioAuthService)(i0.ɵɵinject(i1.FormioAppConfig), i0.ɵɵinject(i2.FormioAuthConfig)); };\n static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormioAuthService, factory: FormioAuthService.ɵfac });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthService, [{\n type: Injectable\n }], () => [{ type: i1.FormioAppConfig }, { type: i2.FormioAuthConfig }], null); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvYXV0aC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3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mFnZS5yZW1vdmVJdGVtKHRva2VuTmFtZSk7XG4gICAgaWYgKChGb3JtaW8gYXMgYW55KS50b2tlbnMgJiYgKEZvcm1pbyBhcyBhbnkpLnRva2Vucy5oYXNPd25Qcm9wZXJ0eSh0b2tlbk5hbWUpKSB7XG4gICAgICBkZWxldGUgKEZvcm1pbyBhcyBhbnkpLnRva2Vuc1t0b2tlbk5hbWVdO1xuICAgIH1cblxuICAgIEZvcm1pby5sb2dvdXQoKVxuICAgICAgLnRoZW4oKCkgPT4ge1xuICAgICAgICB0aGlzLnNldFVzZXIobnVsbCk7XG4gICAgICAgIGlmIChsb2NhbFN0b3JhZ2UuZ2V0SXRlbShgJHtuYW1lc3BhY2V9TG9nb3V0QXV0aFVybGApKSB7XG4gICAgICAgICAgd2luZG93Lm9wZW4obG9jYWxTdG9yYWdlLmdldEl0ZW0oYCR7bmFtZXNwYWNlfUxvZ291dEF1dGhVcmxgKSwgbnVsbCwgJ3dpZHRoPTEwMjAsaGVpZ2h0PTYxOCcpO1xuICAgICAgICAgIGxvY2FsU3RvcmFnZS5yZW1vdmVJdGVtKGAke25hbWVzcGFjZX1Mb2dvdXRBdXRoVXJsYCk7XG4gICAgICAgIH1cbiAgICAgICAgdGhpcy5vbkxvZ291dC5lbWl0KCk7XG4gICAgICB9KVxuICAgICAgLmNhdGNoKCgpID0+IHRoaXMubG9nb3V0RXJyb3IoKSk7XG4gIH1cbn1cbiJdfQ==","originalSourcemap":{"version":3,"file":"auth.service.js","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/auth.service.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[21,0,0,21],[23,0,0,23],[33,0,0,33],[35,0,0,43],[41,0,0,49],[56,0,0,64],[57,0,0,65]],[[0,0,3,0],[7,0,3,7],[9,0,3,9],[12,0,3,12],[14,0,3,14],[18,0,3,18],[20,0,3,20],[26,0,3,26],[34,0,3,34],[35,0,3,35]],[[0,0,4,0],[7,0,4,7],[9,0,4,9],[15,0,4,15],[17,0,4,17],[23,0,4,23],[35,0,4,35],[36,0,4,36]],[],[],[],[[0,0,7,0],[6,0,7,6],[13,0,7,13],[30,0,7,30]],[[4,0,36,11]],[[4,0,37,11]],[[4,0,8,9],[8,0,8,13],[9,0,8,19]],[[4,0,9,9],[17,0,9,22],[20,0,9,25],[25,0,9,30],[26,0,9,31]],[[4,0,11,9],[13,0,11,18],[14,0,11,27]],[[4,0,12,9],[11,0,12,16],[12,0,12,39]],[[4,0,13,9],[12,0,13,17],[13,0,13,40]],[[4,0,15,9],[16,0,15,21],[17,0,15,30]],[[4,0,16,9],[14,0,16,19],[15,0,16,42]],[[4,0,17,9],[10,0,17,15],[11,0,17,38]],[[4,0,18,9],[11,0,18,16],[12,0,18,36]],[[4,0,20,9],[17,0,20,22],[18,0,20,31]],[[4,0,21,9],[15,0,21,20],[16,0,21,43]],[[4,0,23,9],[9,0,23,14],[10,0,23,33]],[[4,0,24,9],[16,0,24,21],[17,0,24,27]],[[4,0,25,9],[15,0,25,20],[16,0,25,26]],[[4,0,27,9],[16,0,27,21],[17,0,27,37]],[[4,0,28,9],[15,0,28,20],[16,0,28,36]],[[4,0,29,9],[13,0,29,18],[14,0,29,34]],[[4,0,30,9],[14,0,30,19],[17,0,30,27],[19,0,30,29],[20,0,30,30]],[[4,0,31,9],[20,0,31,25],[23,0,31,33],[25,0,31,35],[26,0,31,36]],[[4,0,32,9],[9,0,32,14],[10,0,32,20]],[[4,0,33,9],[6,0,33,11],[9,0,33,19],[11,0,33,21],[12,0,33,22]],[[4,0,35,2],[16,0,36,11],[25,0,36,37],[27,0,37,11],[33,0,37,35]],[[8,0,36,11],[22,0,36,20],[25,0,36,11],[34,0,36,20],[35,0,36,37]],[[8,0,37,11],[19,0,37,17],[22,0,37,11],[28,0,37,17],[29,0,37,35]],[[8,0,39,4],[12,0,39,8],[13,0,39,9],[17,0,39,13],[20,0,39,16],[24,0,39,20],[25,0,39,21]],[[8,0,41,4],[12,0,41,8],[16,0,41,12],[17,0,41,13],[26,0,41,22],[30,0,41,26],[34,0,41,30],[35,0,41,31],[44,0,41,40],[45,0,41,41],[51,0,41,47],[53,0,41,49],[54,0,41,50]],[[12,0,42,6],[18,0,42,12],[19,0,42,13],[29,0,42,23],[30,0,42,24],[34,0,42,28],[35,0,42,29],[44,0,42,38],[45,0,42,39],[51,0,42,45],[52,0,42,46],[53,0,42,47]],[[12,0,43,6],[18,0,43,12],[19,0,43,13],[32,0,43,26],[33,0,43,27],[37,0,43,31],[38,0,43,32],[47,0,43,41],[48,0,43,42],[54,0,43,48],[55,0,43,49],[56,0,43,50]],[[12,0,44,6],[18,0,44,12],[19,0,44,13],[27,0,44,21],[30,0,44,24],[31,0,44,25],[32,0,44,26],[36,0,44,30],[37,0,44,31],[46,0,44,40],[47,0,44,41],[55,0,44,49],[56,0,44,50]],[[8,0,45,4],[9,0,45,5]],[[13,0,45,11],[14,0,45,12]],[[12,0,46,6],[19,0,46,13],[20,0,46,14],[25,0,46,19],[26,0,46,20],[82,0,46,76],[83,0,46,77],[84,0,46,78]],[[8,0,47,4],[9,0,47,5]],[[8,0,49,4],[12,0,49,8],[13,0,49,9],[22,0,49,18]],[[12,0,50,6],[16,0,50,10],[17,0,50,11],[26,0,50,20],[27,0,50,21],[33,0,50,27]],[[16,0,51,6],[19,0,51,9]],[[16,0,52,6],[19,0,52,9],[20,0,52,10],[24,0,52,14],[25,0,52,15],[31,0,52,21],[33,0,52,23],[45,0,52,35],[47,0,52,37],[59,0,52,49],[60,0,52,50],[61,0,52,51]],[[8,0,53,4],[12,0,53,8],[13,0,53,9],[25,0,53,21]],[[12,0,54,6],[16,0,54,10],[17,0,54,11],[26,0,54,20],[27,0,54,21],[33,0,54,27]],[[16,0,55,6],[19,0,55,9]],[[16,0,56,6],[19,0,56,9],[20,0,56,10],[24,0,56,14],[25,0,56,15],[31,0,56,21],[33,0,56,23],[48,0,56,38],[50,0,56,40],[65,0,56,55],[66,0,56,56],[67,0,56,57]],[[8,0,57,4],[12,0,57,8],[13,0,57,9],[26,0,57,22]],[[12,0,58,6],[16,0,58,10],[17,0,58,11],[26,0,58,20],[27,0,58,21],[33,0,58,27]],[[16,0,59,6],[19,0,59,9]],[[16,0,60,6],[19,0,60,9],[20,0,60,10],[24,0,60,14],[25,0,60,15],[31,0,60,21],[33,0,60,23],[48,0,60,38],[50,0,60,40],[61,0,60,51],[62,0,60,52],[63,0,60,53]],[[8,0,61,4],[12,0,61,8],[13,0,61,9],[20,0,61,16],[23,0,61,19],[27,0,61,23],[39,0,61,35],[41,0,61,37],[42,0,61,38]],[[8,0,62,4],[12,0,62,8],[13,0,62,9],[21,0,62,17],[24,0,62,20],[28,0,62,24],[40,0,62,36],[42,0,62,38],[43,0,62,39]],[[8,0,63,4],[12,0,63,8],[13,0,63,9],[23,0,63,19],[26,0,63,22],[30,0,63,26],[42,0,63,38],[44,0,63,40],[45,0,63,41]],[[8,0,64,4],[12,0,64,8],[13,0,64,9],[19,0,64,15],[22,0,64,18],[26,0,64,22],[38,0,64,34],[40,0,64,36],[41,0,64,37]],[[8,0,65,4],[12,0,65,8],[13,0,65,9],[20,0,65,16],[23,0,65,19],[27,0,65,23],[39,0,65,35],[41,0,65,37],[42,0,65,38]],[[8,0,67,4],[12,0,67,8],[13,0,67,9],[18,0,67,14],[21,0,67,17],[25,0,67,21],[32,0,67,28],[33,0,67,29],[34,0,67,30],[41,0,67,42],[43,0,67,44],[49,0,67,55],[51,0,67,57],[53,0,67,59]],[[12,0,68,6],[16,0,68,10],[17,0,68,11],[29,0,68,23],[32,0,68,26],[39,0,68,33],[40,0,68,34]],[[12,0,69,6],[16,0,69,10],[17,0,69,11],[28,0,69,22],[31,0,69,25],[37,0,69,31],[38,0,69,32]],[[8,0,70,4],[9,0,70,5],[10,0,70,6],[11,0,70,7]],[[8,0,72,4],[40,0,72,36]],[[8,0,73,4],[14,0,73,10],[15,0,73,11],[21,0,73,17],[22,0,73,18],[24,0,73,20],[25,0,73,21],[42,0,73,38],[44,0,73,40],[47,0,73,43],[49,0,73,45],[50,0,73,46],[54,0,73,50],[55,0,73,51],[66,0,73,62],[68,0,73,64],[69,0,73,65],[70,0,73,66]],[[8,0,74,4],[14,0,74,10],[15,0,74,11],[21,0,74,17],[22,0,74,18],[24,0,74,20],[25,0,74,21],[48,0,74,44],[50,0,74,46],[53,0,74,49],[55,0,74,51],[56,0,74,52],[60,0,74,56],[61,0,74,57],[72,0,74,68],[74,0,74,70],[75,0,74,71],[76,0,74,72]],[[8,0,75,4],[12,0,75,8],[13,0,75,9],[17,0,75,13],[18,0,75,14],[24,0,75,20],[25,0,75,21],[34,0,75,30],[36,0,75,32],[37,0,75,33]],[[12,0,76,6],[16,0,76,10],[17,0,76,11],[21,0,76,15],[23,0,76,17],[24,0,76,18]],[[8,0,77,4],[9,0,77,5]],[[4,0,78,2],[5,0,78,3]],[[4,0,80,2],[17,0,80,15],[18,0,80,16],[28,0,80,34]],[[8,0,81,4],[12,0,81,8],[13,0,81,9],[20,0,81,16],[21,0,81,17],[31,0,81,27],[32,0,81,28],[33,0,81,29]],[[8,0,82,4],[12,0,82,8],[13,0,82,9],[20,0,82,16],[21,0,82,17],[25,0,82,21],[26,0,82,22],[36,0,82,32],[37,0,82,33],[38,0,82,34]],[[4,0,83,2],[5,0,83,3]],[[4,0,85,2],[20,0,85,18],[21,0,85,19],[31,0,85,37]],[[8,0,86,4],[12,0,86,8],[13,0,86,9],[20,0,86,16],[21,0,86,17],[31,0,86,27],[32,0,86,28],[33,0,86,29]],[[8,0,87,4],[12,0,87,8],[13,0,87,9],[23,0,87,19],[24,0,87,20],[28,0,87,24],[29,0,87,25],[39,0,87,35],[40,0,87,36],[41,0,87,37]],[[4,0,88,2],[5,0,88,3]],[[4,0,90,2],[21,0,90,19],[22,0,90,20],[32,0,90,38]],[[8,0,91,4],[12,0,91,8],[13,0,91,9],[24,0,91,20],[25,0,91,21],[29,0,91,25],[30,0,91,26],[40,0,91,36],[41,0,91,37],[42,0,91,38]],[[4,0,92,2],[5,0,92,3]],[[4,0,94,2],[8,0,94,6]],[[8,0,95,4],[12,0,95,8],[13,0,95,9],[25,0,95,21],[28,0,95,24],[34,0,95,30],[35,0,95,31],[52,0,95,48],[53,0,95,49],[57,0,95,53],[58,0,95,54],[67,0,95,63],[68,0,95,64],[74,0,95,70],[75,0,95,71],[76,0,95,72],[80,0,95,76],[81,0,96,6],[82,0,96,7],[89,0,96,19],[91,0,96,21],[93,0,96,23]],[[12,0,97,8],[16,0,97,12],[17,0,97,13],[24,0,97,20],[25,0,97,21],[31,0,97,27],[33,0,97,29],[34,0,97,30],[40,0,97,41],[42,0,97,43],[44,0,97,45]],[[16,0,98,10],[20,0,98,14],[21,0,98,15],[31,0,98,25],[32,0,98,26],[38,0,98,32],[39,0,98,33],[43,0,98,37],[44,0,98,38],[47,0,98,41],[53,0,98,47],[54,0,98,48],[59,0,98,53],[60,0,98,54]],[[12,0,99,8],[13,0,99,9],[14,0,99,10],[15,0,99,11]],[[8,0,100,6],[9,0,100,7],[11,0,101,6],[14,0,101,14],[16,0,101,16]],[[12,0,102,8],[16,0,102,12],[17,0,102,13],[27,0,102,23],[30,0,102,26],[32,0,102,28],[33,0,102,29]],[[12,0,103,8],[19,0,103,15],[23,0,103,19],[24,0,103,20]],[[8,0,104,6],[9,0,104,7],[10,0,105,5],[11,0,105,6]],[[8,0,107,4],[43,0,107,39]],[[8,0,108,4],[12,0,108,8],[13,0,108,9],[24,0,108,20],[27,0,108,23],[33,0,108,29],[34,0,108,30],[51,0,108,47],[52,0,109,6],[56,0,109,10],[57,0,109,11],[66,0,109,20],[67,0,109,21],[73,0,109,27],[76,0,109,30],[85,0,109,39],[86,0,110,5]],[[13,0,111,7],[17,0,111,11],[18,0,111,12],[19,0,111,13],[25,0,111,24],[27,0,111,26],[29,0,111,28]],[[12,0,112,8],[16,0,112,12],[17,0,112,13],[23,0,112,19],[24,0,112,20],[29,0,112,25],[31,0,112,27],[32,0,112,28],[36,0,112,37],[38,0,112,39],[40,0,112,41]],[[16,0,113,10],[20,0,113,14],[21,0,113,15],[37,0,113,31],[38,0,113,32],[42,0,113,36],[43,0,113,37],[47,0,113,41],[48,0,113,42],[51,0,113,45],[53,0,113,47],[54,0,113,48]],[[16,0,114,10],[20,0,114,14],[21,0,114,15],[37,0,114,31],[38,0,114,32],[45,0,114,39],[46,0,114,40],[47,0,114,41],[56,0,114,55],[58,0,114,57],[60,0,114,59]],[[20,0,115,12],[24,0,115,16],[25,0,115,17],[41,0,115,33],[42,0,115,34],[46,0,115,38],[47,0,115,39],[51,0,115,43],[52,0,115,44],[53,0,115,45],[62,0,115,54],[63,0,115,55],[67,0,115,59],[68,0,115,60],[71,0,115,63],[80,0,115,72],[81,0,115,73],[86,0,115,78],[87,0,115,79]],[[16,0,116,10],[17,0,116,11],[18,0,116,12],[19,0,116,13]],[[12,0,117,8],[13,0,117,9],[14,0,117,10],[15,0,117,11]],[[12,0,118,8],[16,0,118,12],[17,0,118,13],[22,0,118,18],[25,0,118,21],[31,0,118,27],[32,0,118,28],[37,0,118,33],[38,0,118,34]],[[12,0,119,8],[19,0,119,15],[25,0,119,21],[26,0,119,22]],[[8,0,120,6],[9,0,120,7],[10,0,120,8]],[[13,0,121,7],[18,0,121,12],[19,0,121,13],[20,0,121,14],[23,0,121,17],[25,0,121,24],[27,0,121,26]],[[12,0,122,8],[16,0,122,12],[19,0,122,15],[24,0,122,20],[39,0,122,35],[43,0,122,39],[46,0,122,42],[51,0,122,47],[62,0,122,58],[64,0,122,60],[65,0,122,61]],[[16,0,123,10],[20,0,123,14],[21,0,123,15],[28,0,123,22],[29,0,123,23],[33,0,123,27],[34,0,123,28],[35,0,123,29]],[[12,0,124,8],[13,0,124,9]],[[12,0,125,8],[16,0,125,12],[17,0,125,13],[22,0,125,18],[25,0,125,21],[27,0,125,23],[28,0,125,24]],[[12,0,126,8],[19,0,126,15],[23,0,126,19],[24,0,126,20]],[[8,0,127,6],[9,0,127,7],[10,0,127,8],[11,0,127,8]],[[8,0,129,4],[12,0,129,8],[30,0,129,40],[31,0,129,41]],[[8,0,130,4],[12,0,130,8],[16,0,130,12],[17,0,130,13],[23,0,130,19],[24,0,130,20],[29,0,130,25],[31,0,130,27],[32,0,130,28]],[[12,0,131,6],[90,0,131,84]],[[12,0,132,6],[16,0,132,10],[22,0,132,16],[23,0,132,17],[31,0,132,25],[32,0,132,26],[36,0,132,30],[40,0,132,34],[46,0,132,40],[47,0,132,41],[55,0,132,49],[56,0,132,50],[60,0,132,54],[61,0,132,55],[66,0,132,60],[67,0,132,61],[85,0,132,79],[86,0,132,80],[88,0,132,82],[89,0,132,83]],[[16,0,133,8],[23,0,133,15],[24,0,133,16],[33,0,133,25],[34,0,133,26],[38,0,133,30],[40,0,133,32],[44,0,133,36],[46,0,133,38],[52,0,133,44],[53,0,133,45],[61,0,133,53],[62,0,133,54],[66,0,133,58],[67,0,133,59],[74,0,133,66],[75,0,133,67],[93,0,133,85],[95,0,133,87],[110,0,133,102],[111,0,133,103],[112,0,133,104],[113,0,133,105]],[[12,0,134,6],[13,0,134,7]],[[12,0,136,6],[63,0,136,57]],[[12,0,137,6],[30,0,137,24],[33,0,137,27],[39,0,137,33],[40,0,137,34],[47,0,137,41],[48,0,137,42],[52,0,137,46],[53,0,137,47],[59,0,137,53],[60,0,137,54],[65,0,137,59],[66,0,137,60],[70,0,137,64],[72,0,137,66],[76,0,137,70],[77,0,137,71],[83,0,137,77],[84,0,137,78],[89,0,137,83],[90,0,137,84],[97,0,137,91],[98,0,137,92],[99,0,137,93]],[[8,0,138,4],[9,0,138,5]],[[13,0,138,11],[14,0,138,12]],[[12,0,139,6],[30,0,139,24],[33,0,139,27],[39,0,139,33],[40,0,139,34],[51,0,139,45],[52,0,139,46],[56,0,139,50],[58,0,139,52]],[[16,0,140,8],[27,0,140,19],[29,0,140,21],[33,0,140,25]],[[13,0,141,7],[14,0,141,8],[15,0,141,9]],[[8,0,142,4],[9,0,142,5]],[[8,0,144,4],[12,0,144,8],[13,0,144,9],[22,0,144,18],[25,0,144,21],[43,0,144,39],[44,0,144,40],[48,0,144,44],[49,0,144,45],[50,0,144,46],[54,0,144,55],[56,0,144,57],[58,0,144,59]],[[12,0,145,6],[16,0,145,10],[17,0,145,11],[24,0,145,18],[25,0,145,19],[29,0,145,23],[30,0,145,24],[31,0,145,25]],[[12,0,146,6],[19,0,146,13],[23,0,146,17],[24,0,146,18]],[[8,0,147,4],[9,0,147,5],[10,0,147,6],[11,0,147,7],[16,0,147,12],[17,0,147,13],[18,0,147,14],[21,0,147,17],[23,0,147,19],[25,0,147,21]],[[12,0,148,6],[16,0,148,10],[17,0,148,11],[24,0,148,18],[25,0,148,19],[29,0,148,23],[30,0,148,24],[31,0,148,25]],[[12,0,149,6],[18,0,149,12],[21,0,149,15],[22,0,149,16]],[[8,0,150,4],[9,0,150,5],[10,0,150,6],[11,0,150,7]],[[8,0,152,4],[63,0,152,59]],[[8,0,153,4],[12,0,153,8],[16,0,153,12],[17,0,153,13],[28,0,153,24],[30,0,153,26],[31,0,153,27]],[[12,0,154,6],[16,0,154,10],[17,0,154,11],[28,0,154,22]],[[17,0,155,9],[21,0,155,13],[22,0,155,14],[25,0,155,17],[27,0,155,19],[28,0,155,20],[32,0,155,24],[33,0,155,25],[45,0,155,37],[46,0,155,38]],[[17,0,156,9],[21,0,156,13],[22,0,156,14],[25,0,156,17],[27,0,156,19],[28,0,156,20],[32,0,156,24],[33,0,156,25],[42,0,156,34],[43,0,156,35]],[[17,0,157,9],[21,0,157,13],[22,0,157,14],[25,0,157,17],[27,0,157,19],[28,0,157,20],[32,0,157,24],[33,0,157,25],[45,0,157,37],[46,0,157,38],[50,0,157,42],[51,0,157,43],[52,0,157,44]],[[17,0,158,9],[22,0,158,14],[23,0,158,15],[24,0,158,16],[27,0,158,24],[29,0,158,26],[31,0,158,28],[32,0,158,29],[36,0,158,33],[37,0,158,34],[48,0,158,45],[49,0,158,46],[52,0,158,49],[53,0,158,50],[54,0,158,51],[55,0,158,52]],[[8,0,159,4],[9,0,159,5]],[[4,0,160,2],[5,0,160,3]],[[4,0,162,2],[11,0,162,9],[12,0,162,10],[16,0,162,19]],[[8,0,163,4],[14,0,163,10],[23,0,163,19],[26,0,163,22],[32,0,163,28],[33,0,163,29],[42,0,163,38],[46,0,163,42],[54,0,163,50],[55,0,163,51]],[[8,0,164,4],[12,0,164,8],[16,0,164,12],[18,0,164,14],[19,0,164,15]],[[12,0,165,6],[16,0,165,10],[17,0,165,11],[21,0,165,15],[24,0,165,18],[28,0,165,22],[29,0,165,23]],[[12,0,166,6],[24,0,166,18],[25,0,166,19],[32,0,166,26],[33,0,166,27],[36,0,166,30],[45,0,166,39],[54,0,166,48],[56,0,166,50],[60,0,166,54],[61,0,166,55],[70,0,166,64],[71,0,166,65],[75,0,166,69],[76,0,166,70],[77,0,166,71],[78,0,166,72]],[[12,0,167,6],[16,0,167,10],[17,0,167,11],[29,0,167,23],[31,0,167,25],[32,0,167,26]],[[12,0,168,6],[18,0,168,12],[19,0,168,13],[26,0,168,20],[27,0,168,21],[31,0,168,25],[32,0,168,26],[33,0,168,27]],[[8,0,169,4],[9,0,169,5]],[[13,0,169,11],[14,0,169,12]],[[12,0,170,6],[16,0,170,10],[17,0,170,11],[21,0,170,15],[24,0,170,18],[28,0,170,22],[29,0,170,23]],[[12,0,171,6],[16,0,171,10],[17,0,171,11],[19,0,171,13],[22,0,171,16],[24,0,171,18],[25,0,171,19]],[[12,0,172,6],[24,0,172,18],[25,0,172,19],[35,0,172,29],[36,0,172,30],[39,0,172,33],[48,0,172,42],[57,0,172,51],[58,0,172,52],[59,0,172,53]],[[12,0,173,6],[18,0,173,12],[19,0,173,13],[29,0,173,23],[31,0,173,25],[32,0,173,26]],[[12,0,174,6],[18,0,174,12],[19,0,174,13],[26,0,174,20],[27,0,174,21],[31,0,174,25],[32,0,174,26],[33,0,174,27]],[[8,0,175,4],[9,0,175,5]],[[8,0,177,4],[12,0,177,8],[13,0,177,9],[26,0,177,22],[29,0,177,25],[30,0,177,26],[31,0,177,27],[37,0,177,33],[38,0,177,34],[46,0,177,42],[48,0,177,44],[49,0,177,45]],[[8,0,178,4],[12,0,178,8],[13,0,178,9],[19,0,178,15],[20,0,178,16],[24,0,178,20],[25,0,178,21],[29,0,178,25],[30,0,178,26],[34,0,178,30],[35,0,178,31],[36,0,178,32]],[[4,0,179,2],[5,0,179,3]],[[4,0,181,2],[16,0,181,14]],[[8,0,182,4],[12,0,182,8],[16,0,182,12],[17,0,182,13],[28,0,182,24],[30,0,182,26],[31,0,182,27]],[[12,0,183,6],[16,0,183,10],[17,0,183,11],[28,0,183,22],[29,0,183,23],[33,0,183,27],[34,0,183,28],[37,0,183,31],[39,0,183,33]],[[16,0,184,8],[20,0,184,12],[21,0,184,13],[25,0,184,17],[26,0,184,18],[31,0,184,23],[33,0,184,25],[34,0,184,26],[38,0,184,35],[40,0,184,37],[48,0,184,53],[50,0,184,55],[52,0,184,57]],[[20,0,185,10],[24,0,185,14],[28,0,185,18],[29,0,185,19],[33,0,185,23],[34,0,185,24],[39,0,185,29],[40,0,185,30],[47,0,185,37],[48,0,185,38],[52,0,185,42],[53,0,185,43],[56,0,185,46],[57,0,185,47],[62,0,185,52],[63,0,185,53],[64,0,185,54],[66,0,185,56],[67,0,185,57]],[[24,0,186,12],[28,0,186,16],[29,0,186,17],[31,0,186,19],[32,0,186,20],[40,0,186,28],[41,0,186,29],[44,0,186,32],[48,0,186,36],[49,0,186,37]],[[20,0,187,10],[21,0,187,11]],[[16,0,188,8],[17,0,188,9],[18,0,188,10],[19,0,188,11]],[[12,0,189,6],[13,0,189,7],[14,0,189,8],[15,0,189,9]],[[8,0,190,4],[9,0,190,5]],[[4,0,191,2],[5,0,191,3]],[[4,0,193,2],[15,0,193,13]],[[8,0,194,4],[12,0,194,8],[13,0,194,9],[20,0,194,16],[21,0,194,17],[25,0,194,21],[26,0,194,22],[27,0,194,23]],[[8,0,195,4],[14,0,195,10],[23,0,195,19],[26,0,195,22],[32,0,195,28],[33,0,195,29],[42,0,195,38],[46,0,195,42],[54,0,195,50],[55,0,195,51]],[[8,0,196,4],[20,0,196,16],[21,0,196,17],[31,0,196,27],[32,0,196,28],[35,0,196,31],[44,0,196,40],[51,0,196,47],[52,0,196,48],[53,0,196,49]],[[8,0,197,4],[12,0,197,8],[13,0,197,9],[20,0,197,16],[21,0,197,17],[25,0,197,21],[27,0,197,23],[28,0,197,24]],[[4,0,198,2],[5,0,198,3]],[[4,0,200,2],[10,0,200,8]],[[8,0,201,4],[14,0,201,10],[23,0,201,19],[26,0,201,22],[32,0,201,28],[33,0,201,29],[42,0,201,38],[46,0,201,42],[54,0,201,50],[55,0,201,51]],[[8,0,202,4],[14,0,202,10],[23,0,202,19],[26,0,202,22],[29,0,202,25],[38,0,202,34],[45,0,202,41],[46,0,202,42]],[[8,0,204,4],[20,0,204,16],[21,0,204,17],[31,0,204,27],[32,0,204,28],[41,0,204,37],[42,0,204,38],[43,0,204,39]],[[8,0,205,4],[12,0,205,9],[18,0,205,23],[19,0,205,24],[25,0,205,30],[29,0,205,35],[35,0,205,49],[36,0,205,50],[42,0,205,56],[43,0,205,57],[57,0,205,71],[58,0,205,72],[67,0,205,81],[68,0,205,82],[70,0,205,84],[71,0,205,85]],[[12,0,206,6],[19,0,206,14],[25,0,206,28],[26,0,206,29],[32,0,206,35],[33,0,206,36],[42,0,206,45],[43,0,206,46],[44,0,206,47]],[[8,0,207,4],[9,0,207,5]],[[8,0,209,4],[14,0,209,10],[15,0,209,11],[21,0,209,17],[23,0,209,19]],[[13,0,210,7],[17,0,210,11],[18,0,210,12],[21,0,210,15],[23,0,210,17]],[[12,0,211,8],[16,0,211,12],[17,0,211,13],[24,0,211,20],[25,0,211,21],[29,0,211,25],[30,0,211,26],[31,0,211,27]],[[12,0,212,8],[16,0,212,12],[28,0,212,24],[29,0,212,25],[36,0,212,32],[37,0,212,33],[40,0,212,36],[49,0,212,45],[64,0,212,60],[65,0,212,61],[67,0,212,63],[68,0,212,64]],[[16,0,213,10],[22,0,213,16],[23,0,213,17],[27,0,213,21],[28,0,213,22],[40,0,213,34],[41,0,213,35],[48,0,213,42],[49,0,213,43],[52,0,213,46],[61,0,213,55],[76,0,213,70],[77,0,213,71],[79,0,213,73],[83,0,213,77],[85,0,213,79],[108,0,213,102],[109,0,213,103],[110,0,213,104]],[[16,0,214,10],[28,0,214,22],[29,0,214,23],[39,0,214,33],[40,0,214,34],[43,0,214,37],[52,0,214,46],[67,0,214,61],[68,0,214,62],[69,0,214,63]],[[12,0,215,8],[13,0,215,9]],[[12,0,216,8],[16,0,216,12],[17,0,216,13],[25,0,216,21],[26,0,216,22],[30,0,216,26],[32,0,216,28],[33,0,216,29]],[[8,0,217,6],[9,0,217,7],[10,0,217,8]],[[13,0,218,7],[18,0,218,12],[19,0,218,13],[22,0,218,16],[24,0,218,18],[25,0,218,19],[29,0,218,23],[30,0,218,24],[41,0,218,35],[43,0,218,37],[44,0,218,38],[45,0,218,39]],[[4,0,219,2],[5,0,219,3]],[[75,0,7,13],[92,0,7,30]],[[64,0,7,13],[81,0,7,30],[92,0,7,13],[109,0,7,30]],[],[[81,0,7,13],[98,0,7,30]],[[14,0,6,1],[24,0,6,11]]],"sourcesContent":["import { EventEmitter, Injectable, Inject } from '@angular/core';\nimport { FormioAuthConfig } from './auth.config';\nimport { FormioAppConfig } from '@formio/angular';\nimport { get, each } from 'lodash';\nimport { Formio } from '@formio/js';\n\n@Injectable()\nexport class FormioAuthService {\n public user: any;\n public authenticated = false;\n\n public loginForm: string;\n public onLogin: EventEmitter<object>;\n public onLogout: EventEmitter<object>;\n\n public registerForm: string;\n public onRegister: EventEmitter<object>;\n public onUser: EventEmitter<object>;\n public onError: EventEmitter<any>;\n\n public resetPassForm: string;\n public onResetPass: EventEmitter<object>;\n\n public ready: Promise<boolean>;\n public readyResolve: any;\n public readyReject: any;\n\n public projectReady?: Promise<any>;\n public accessReady?: Promise<any>;\n public userReady?: Promise<any>;\n public formAccess: any = {};\n public submissionAccess: any = {};\n public roles: any;\n public is: any = {};\n\n constructor(\n public appConfig: FormioAppConfig,\n public config: FormioAuthConfig\n ) {\n this.user = null;\n\n if (this.appConfig && this.appConfig.appUrl) {\n Formio.setBaseUrl(this.appConfig.apiUrl);\n Formio.setProjectUrl(this.appConfig.appUrl);\n Formio.formOnly = !!this.appConfig.formOnly;\n } else {\n console.error('You must provide an AppConfig within your application!');\n }\n\n this.loginForm =\n this.appConfig.appUrl +\n '/' +\n get(this.config, 'login.form', 'user/login');\n this.registerForm =\n this.appConfig.appUrl +\n '/' +\n get(this.config, 'register.form', 'user/register');\n this.resetPassForm =\n this.appConfig.appUrl +\n '/' +\n get(this.config, 'register.form', 'resetpass');\n this.onLogin = new EventEmitter();\n this.onLogout = new EventEmitter();\n this.onRegister = new EventEmitter();\n this.onUser = new EventEmitter();\n this.onError = new EventEmitter();\n\n this.ready = new Promise((resolve: any, reject: any) => {\n this.readyResolve = resolve;\n this.readyReject = reject;\n });\n\n // Register for the core events.\n Formio.events.on('formio.badToken', () => this.logoutError());\n Formio.events.on('formio.sessionExpired', () => this.logoutError());\n if (!this.config.delayAuth) {\n this.init();\n }\n }\n\n onLoginSubmit(submission: object) {\n this.setUser(submission);\n this.onLogin.emit(submission);\n }\n\n onRegisterSubmit(submission: object) {\n this.setUser(submission);\n this.onRegister.emit(submission);\n }\n\n onResetPassSubmit(submission: object) {\n this.onResetPass.emit(submission);\n }\n\n init() {\n this.projectReady = Formio.makeStaticRequest(this.appConfig.appUrl).then(\n (project: any) => {\n each(project.access, (access: any) => {\n this.formAccess[access.type] = access.roles;\n });\n },\n (): any => {\n this.formAccess = {};\n return null;\n }\n );\n\n // Get the access for this project.\n this.accessReady = Formio.makeStaticRequest(\n this.appConfig.appUrl + '/access'\n )\n .then((access: any) => {\n each(access.forms, (form: any) => {\n this.submissionAccess[form.name] = {};\n form.submissionAccess.forEach((subAccess: any) => {\n this.submissionAccess[form.name][subAccess.type] = subAccess.roles;\n });\n });\n this.roles = access.roles;\n return access;\n })\n .catch((err): any => {\n if (err === 'Token Expired' || err === 'Bad Token') {\n this.setUser(null);\n }\n this.roles = {};\n return null;\n })\n\n let currentUserPromise: Promise<any>;\n if (this.config.oauth) {\n // Make a fix to the hash to remove starting \"/\" that angular might put there.\n if (window.location.hash && window.location.hash.match(/^#\\/access_token/)) {\n history.pushState(null, null, window.location.hash.replace(/^#\\/access_token/, '#access_token'));\n }\n\n // Initiate the SSO if they provide oauth settings.\n currentUserPromise = Formio.ssoInit(this.config.oauth.type, this.config.oauth.options);\n } else {\n currentUserPromise = Formio.currentUser(null, {\n ignoreCache: true\n });\n }\n\n this.userReady = currentUserPromise.then((user: any) => {\n this.setUser(user);\n return user;\n }).catch((err) => {\n this.setUser(null);\n throw err;\n });\n\n // Trigger we are redy when all promises have resolved.\n if (this.accessReady) {\n this.accessReady\n .then(() => this.projectReady)\n .then(() => this.userReady)\n .then(() => this.readyResolve(true))\n .catch((err: any) => this.readyReject(err));\n }\n }\n\n setUser(user: any) {\n const namespace = Formio.namespace || 'formio';\n if (user) {\n this.user = user;\n localStorage.setItem(`${namespace}AppUser`, JSON.stringify(user));\n this.setUserRoles();\n Formio.setUser(user);\n } else {\n this.user = null;\n this.is = {};\n localStorage.removeItem(`${namespace}AppUser`);\n Formio.clearCache();\n Formio.setUser(null);\n }\n\n this.authenticated = !!Formio.getToken();\n this.onUser.emit(this.user);\n }\n\n setUserRoles() {\n if (this.accessReady) {\n this.accessReady.then(() => {\n each(this.roles, (role: any, roleName: string) => {\n if (this.user.roles.indexOf(role._id) !== -1) {\n this.is[roleName] = true;\n }\n });\n });\n }\n }\n\n logoutError() {\n this.setUser(null);\n const namespace = Formio.namespace || 'formio';\n localStorage.removeItem(`${namespace}Token`);\n this.onError.emit();\n }\n\n logout() {\n const namespace = Formio.namespace || 'formio';\n const tokenName = `${namespace}Token`;\n\n localStorage.removeItem(tokenName);\n if ((Formio as any).tokens && (Formio as any).tokens.hasOwnProperty(tokenName)) {\n delete (Formio as any).tokens[tokenName];\n }\n\n Formio.logout()\n .then(() => {\n this.setUser(null);\n if (localStorage.getItem(`${namespace}LogoutAuthUrl`)) {\n window.open(localStorage.getItem(`${namespace}LogoutAuthUrl`), null, 'width=1020,height=618');\n localStorage.removeItem(`${namespace}LogoutAuthUrl`);\n }\n this.onLogout.emit();\n })\n .catch(() => this.logoutError());\n }\n}\n"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"lodash":{"attributes":{},"external":true,"id":"lodash","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@formio/js":{"attributes":{},"external":true,"id":"@formio/js","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@formio/angular":{"attributes":{},"external":true,"id":"@formio/angular","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"./auth.config":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.config.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":4200,"body":[{"type":"ImportDeclaration","start":0,"end":42,"specifiers":[{"type":"ImportSpecifier","start":9,"end":18,"imported":{"type":"Identifier","start":9,"end":18,"name":"Component"},"local":{"type":"Identifier","start":9,"end":18,"name":"Component"}}],"source":{"type":"Literal","start":26,"end":41,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":43,"end":79,"specifiers":[{"type":"ImportNamespaceSpecifier","start":50,"end":57,"local":{"type":"Identifier","start":55,"end":57,"name":"i0"}}],"source":{"type":"Literal","start":63,"end":78,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":80,"end":118,"specifiers":[{"type":"ImportNamespaceSpecifier","start":87,"end":94,"local":{"type":"Identifier","start":92,"end":94,"name":"i1"}}],"source":{"type":"Literal","start":100,"end":117,"value":"@angular/router","raw":"\"@angular/router\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":119,"end":1373,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":126,"end":1373,"id":{"type":"Identifier","start":132,"end":151,"name":"FormioAuthComponent"},"superClass":null,"body":{"type":"ClassBody","start":152,"end":1373,"body":[{"type":"PropertyDefinition","start":158,"end":257,"static":true,"computed":false,"key":{"type":"Identifier","start":165,"end":169,"name":"ɵfac"},"value":{"type":"FunctionExpression","start":172,"end":256,"async":false,"generator":false,"id":{"type":"Identifier","start":181,"end":208,"name":"FormioAuthComponent_Factory"},"params":[{"type":"Identifier","start":209,"end":210,"name":"t"}],"body":{"type":"BlockStatement","start":212,"end":256,"body":[{"type":"ReturnStatement","start":214,"end":254,"argument":{"type":"NewExpression","start":221,"end":253,"callee":{"type":"LogicalExpression","start":226,"end":250,"operator":"||","left":{"type":"Identifier","start":226,"end":227,"name":"t"},"right":{"type":"Identifier","start":231,"end":250,"name":"FormioAuthComponent"}},"arguments":[]}}]},"expression":false}},{"type":"PropertyDefinition","start":262,"end":1371,"static":true,"computed":false,"key":{"type":"Identifier","start":269,"end":273,"name":"ɵcmp"},"value":{"type":"CallExpression","start":290,"end":1370,"optional":false,"_rollupAnnotations":[{"end":289,"start":276,"type":"pure"}],"callee":{"type":"MemberExpression","start":290,"end":310,"computed":false,"optional":false,"object":{"type":"Identifier","start":290,"end":292,"name":"i0"},"property":{"type":"Identifier","start":293,"end":310,"name":"ɵɵdefineComponent"}},"arguments":[{"type":"ObjectExpression","start":311,"end":1369,"properties":[{"type":"Property","start":313,"end":338,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":313,"end":317,"name":"type"},"value":{"type":"Identifier","start":319,"end":338,"name":"FormioAuthComponent"},"kind":"init"},{"type":"Property","start":340,"end":369,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":340,"end":349,"name":"selectors"},"value":{"type":"ArrayExpression","start":351,"end":369,"elements":[{"type":"ArrayExpression","start":352,"end":368,"elements":[{"type":"Literal","start":353,"end":367,"value":"ng-component","raw":"\"ng-component\""}]}]},"kind":"init"},{"type":"Property","start":371,"end":380,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":371,"end":376,"name":"decls"},"value":{"type":"Literal","start":378,"end":380,"raw":"11","value":11},"kind":"init"},{"type":"Property","start":382,"end":389,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":382,"end":386,"name":"vars"},"value":{"type":"Literal","start":388,"end":389,"raw":"0","value":0},"kind":"init"},{"type":"Property","start":391,"end":781,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":391,"end":397,"name":"consts"},"value":{"type":"ArrayExpression","start":399,"end":781,"elements":[{"type":"ArrayExpression","start":400,"end":453,"elements":[{"type":"Literal","start":401,"end":402,"raw":"1","value":1},{"type":"Literal","start":404,"end":410,"value":"card","raw":"\"card\""},{"type":"Literal","start":412,"end":426,"value":"card-primary","raw":"\"card-primary\""},{"type":"Literal","start":428,"end":435,"value":"panel","raw":"\"panel\""},{"type":"Literal","start":437,"end":452,"value":"panel-default","raw":"\"panel-default\""}]},{"type":"ArrayExpression","start":455,"end":490,"elements":[{"type":"Literal","start":456,"end":457,"raw":"1","value":1},{"type":"Literal","start":459,"end":472,"value":"card-header","raw":"\"card-header\""},{"type":"Literal","start":474,"end":489,"value":"panel-heading","raw":"\"panel-heading\""}]},{"type":"ArrayExpression","start":492,"end":534,"elements":[{"type":"Literal","start":493,"end":494,"raw":"1","value":1},{"type":"Literal","start":496,"end":501,"value":"nav","raw":"\"nav\""},{"type":"Literal","start":503,"end":513,"value":"nav-tabs","raw":"\"nav-tabs\""},{"type":"Literal","start":515,"end":533,"value":"card-header-tabs","raw":"\"card-header-tabs\""}]},{"type":"ArrayExpression","start":536,"end":605,"elements":[{"type":"Literal","start":537,"end":543,"value":"role","raw":"\"role\""},{"type":"Literal","start":545,"end":559,"value":"presentation","raw":"\"presentation\""},{"type":"Literal","start":561,"end":579,"value":"routerLinkActive","raw":"\"routerLinkActive\""},{"type":"Literal","start":581,"end":589,"value":"active","raw":"\"active\""},{"type":"Literal","start":591,"end":592,"raw":"1","value":1},{"type":"Literal","start":594,"end":604,"value":"nav-item","raw":"\"nav-item\""}]},{"type":"ArrayExpression","start":607,"end":675,"elements":[{"type":"Literal","start":608,"end":620,"value":"routerLink","raw":"\"routerLink\""},{"type":"Literal","start":622,"end":629,"value":"login","raw":"\"login\""},{"type":"Literal","start":631,"end":649,"value":"routerLinkActive","raw":"\"routerLinkActive\""},{"type":"Literal","start":651,"end":659,"value":"active","raw":"\"active\""},{"type":"Literal","start":661,"end":662,"raw":"1","value":1},{"type":"Literal","start":664,"end":674,"value":"nav-link","raw":"\"nav-link\""}]},{"type":"ArrayExpression","start":677,"end":748,"elements":[{"type":"Literal","start":678,"end":690,"value":"routerLink","raw":"\"routerLink\""},{"type":"Literal","start":692,"end":702,"value":"register","raw":"\"register\""},{"type":"Literal","start":704,"end":722,"value":"routerLinkActive","raw":"\"routerLinkActive\""},{"type":"Literal","start":724,"end":732,"value":"active","raw":"\"active\""},{"type":"Literal","start":734,"end":735,"raw":"1","value":1},{"type":"Literal","start":737,"end":747,"value":"nav-link","raw":"\"nav-link\""}]},{"type":"ArrayExpression","start":750,"end":780,"elements":[{"type":"Literal","start":751,"end":752,"raw":"1","value":1},{"type":"Literal","start":754,"end":765,"value":"card-body","raw":"\"card-body\""},{"type":"Literal","start":767,"end":779,"value":"panel-body","raw":"\"panel-body\""}]}]},"kind":"init"},{"type":"Property","start":783,"end":1280,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":783,"end":791,"name":"template"},"value":{"type":"FunctionExpression","start":793,"end":1280,"async":false,"generator":false,"id":{"type":"Identifier","start":802,"end":830,"name":"FormioAuthComponent_Template"},"params":[{"type":"Identifier","start":831,"end":833,"name":"rf"},{"type":"Identifier","start":835,"end":838,"name":"ctx"}],"body":{"type":"BlockStatement","start":840,"end":1280,"body":[{"type":"IfStatement","start":842,"end":1278,"test":{"type":"BinaryExpression","start":846,"end":852,"operator":"&","left":{"type":"Identifier","start":846,"end":848,"name":"rf"},"right":{"type":"Literal","start":851,"end":852,"raw":"1","value":1}},"consequent":{"type":"BlockStatement","start":854,"end":1278,"body":[{"type":"ExpressionStatement","start":868,"end":947,"expression":{"type":"CallExpression","start":868,"end":946,"optional":false,"callee":{"type":"CallExpression","start":868,"end":935,"optional":false,"callee":{"type":"CallExpression","start":868,"end":923,"optional":false,"callee":{"type":"CallExpression","start":868,"end":911,"optional":false,"callee":{"type":"CallExpression","start":868,"end":898,"optional":false,"callee":{"type":"MemberExpression","start":868,"end":885,"computed":false,"optional":false,"object":{"type":"Identifier","start":868,"end":870,"name":"i0"},"property":{"type":"Identifier","start":871,"end":885,"name":"ɵɵelementStart"}},"arguments":[{"type":"Literal","start":886,"end":887,"raw":"0","value":0},{"type":"Literal","start":889,"end":894,"value":"div","raw":"\"div\""},{"type":"Literal","start":896,"end":897,"raw":"0","value":0}]},"arguments":[{"type":"Literal","start":899,"end":900,"raw":"1","value":1},{"type":"Literal","start":902,"end":907,"value":"div","raw":"\"div\""},{"type":"Literal","start":909,"end":910,"raw":"1","value":1}]},"arguments":[{"type":"Literal","start":912,"end":913,"raw":"2","value":2},{"type":"Literal","start":915,"end":919,"value":"ul","raw":"\"ul\""},{"type":"Literal","start":921,"end":922,"raw":"2","value":2}]},"arguments":[{"type":"Literal","start":924,"end":925,"raw":"3","value":3},{"type":"Literal","start":927,"end":931,"value":"li","raw":"\"li\""},{"type":"Literal","start":933,"end":934,"raw":"3","value":3}]},"arguments":[{"type":"Literal","start":936,"end":937,"raw":"4","value":4},{"type":"Literal","start":939,"end":942,"value":"a","raw":"\"a\""},{"type":"Literal","start":944,"end":945,"raw":"4","value":4}]}},{"type":"ExpressionStatement","start":960,"end":982,"expression":{"type":"CallExpression","start":960,"end":981,"optional":false,"callee":{"type":"MemberExpression","start":960,"end":969,"computed":false,"optional":false,"object":{"type":"Identifier","start":960,"end":962,"name":"i0"},"property":{"type":"Identifier","start":963,"end":969,"name":"ɵɵtext"}},"arguments":[{"type":"Literal","start":970,"end":971,"raw":"5","value":5},{"type":"Literal","start":973,"end":980,"value":"Login","raw":"\"Login\""}]}},{"type":"ExpressionStatement","start":995,"end":1015,"expression":{"type":"CallExpression","start":995,"end":1014,"optional":false,"callee":{"type":"CallExpression","start":995,"end":1012,"optional":false,"callee":{"type":"MemberExpression","start":995,"end":1010,"computed":false,"optional":false,"object":{"type":"Identifier","start":995,"end":997,"name":"i0"},"property":{"type":"Identifier","start":998,"end":1010,"name":"ɵɵelementEnd"}},"arguments":[]},"arguments":[]}},{"type":"ExpressionStatement","start":1028,"end":1069,"expression":{"type":"CallExpression","start":1028,"end":1068,"optional":false,"callee":{"type":"CallExpression","start":1028,"end":1057,"optional":false,"callee":{"type":"MemberExpression","start":1028,"end":1045,"computed":false,"optional":false,"object":{"type":"Identifier","start":1028,"end":1030,"name":"i0"},"property":{"type":"Identifier","start":1031,"end":1045,"name":"ɵɵelementStart"}},"arguments":[{"type":"Literal","start":1046,"end":1047,"raw":"6","value":6},{"type":"Literal","start":1049,"end":1053,"value":"li","raw":"\"li\""},{"type":"Literal","start":1055,"end":1056,"raw":"3","value":3}]},"arguments":[{"type":"Literal","start":1058,"end":1059,"raw":"7","value":7},{"type":"Literal","start":1061,"end":1064,"value":"a","raw":"\"a\""},{"type":"Literal","start":1066,"end":1067,"raw":"5","value":5}]}},{"type":"ExpressionStatement","start":1082,"end":1107,"expression":{"type":"CallExpression","start":1082,"end":1106,"optional":false,"callee":{"type":"MemberExpression","start":1082,"end":1091,"computed":false,"optional":false,"object":{"type":"Identifier","start":1082,"end":1084,"name":"i0"},"property":{"type":"Identifier","start":1085,"end":1091,"name":"ɵɵtext"}},"arguments":[{"type":"Literal","start":1092,"end":1093,"raw":"8","value":8},{"type":"Literal","start":1095,"end":1105,"value":"Register","raw":"\"Register\""}]}},{"type":"ExpressionStatement","start":1120,"end":1144,"expression":{"type":"CallExpression","start":1120,"end":1143,"optional":false,"callee":{"type":"CallExpression","start":1120,"end":1141,"optional":false,"callee":{"type":"CallExpression","start":1120,"end":1139,"optional":false,"callee":{"type":"CallExpression","start":1120,"end":1137,"optional":false,"callee":{"type":"MemberExpression","start":1120,"end":1135,"computed":false,"optional":false,"object":{"type":"Identifier","start":1120,"end":1122,"name":"i0"},"property":{"type":"Identifier","start":1123,"end":1135,"name":"ɵɵelementEnd"}},"arguments":[]},"arguments":[]},"arguments":[]},"arguments":[]}},{"type":"ExpressionStatement","start":1157,"end":1188,"expression":{"type":"CallExpression","start":1157,"end":1187,"optional":false,"callee":{"type":"MemberExpression","start":1157,"end":1174,"computed":false,"optional":false,"object":{"type":"Identifier","start":1157,"end":1159,"name":"i0"},"property":{"type":"Identifier","start":1160,"end":1174,"name":"ɵɵelementStart"}},"arguments":[{"type":"Literal","start":1175,"end":1176,"raw":"9","value":9},{"type":"Literal","start":1178,"end":1183,"value":"div","raw":"\"div\""},{"type":"Literal","start":1185,"end":1186,"raw":"6","value":6}]}},{"type":"ExpressionStatement","start":1201,"end":1235,"expression":{"type":"CallExpression","start":1201,"end":1234,"optional":false,"callee":{"type":"MemberExpression","start":1201,"end":1213,"computed":false,"optional":false,"object":{"type":"Identifier","start":1201,"end":1203,"name":"i0"},"property":{"type":"Identifier","start":1204,"end":1213,"name":"ɵɵelement"}},"arguments":[{"type":"Literal","start":1214,"end":1216,"raw":"10","value":10},{"type":"Literal","start":1218,"end":1233,"value":"router-outlet","raw":"\"router-outlet\""}]}},{"type":"ExpressionStatement","start":1248,"end":1268,"expression":{"type":"CallExpression","start":1248,"end":1267,"optional":false,"callee":{"type":"CallExpression","start":1248,"end":1265,"optional":false,"callee":{"type":"MemberExpression","start":1248,"end":1263,"computed":false,"optional":false,"object":{"type":"Identifier","start":1248,"end":1250,"name":"i0"},"property":{"type":"Identifier","start":1251,"end":1263,"name":"ɵɵelementEnd"}},"arguments":[]},"arguments":[]}}]},"alternate":null}]},"expression":false},"kind":"init"},{"type":"Property","start":1282,"end":1349,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1282,"end":1294,"name":"dependencies"},"value":{"type":"ArrayExpression","start":1296,"end":1349,"elements":[{"type":"MemberExpression","start":1297,"end":1312,"computed":false,"optional":false,"object":{"type":"Identifier","start":1297,"end":1299,"name":"i1"},"property":{"type":"Identifier","start":1300,"end":1312,"name":"RouterOutlet"}},{"type":"MemberExpression","start":1314,"end":1327,"computed":false,"optional":false,"object":{"type":"Identifier","start":1314,"end":1316,"name":"i1"},"property":{"type":"Identifier","start":1317,"end":1327,"name":"RouterLink"}},{"type":"MemberExpression","start":1329,"end":1348,"computed":false,"optional":false,"object":{"type":"Identifier","start":1329,"end":1331,"name":"i1"},"property":{"type":"Identifier","start":1332,"end":1348,"name":"RouterLinkActive"}}]},"kind":"init"},{"type":"Property","start":1351,"end":1367,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1351,"end":1364,"name":"encapsulation"},"value":{"type":"Literal","start":1366,"end":1367,"raw":"2","value":2},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":1374,"end":2167,"expression":{"type":"CallExpression","start":1374,"end":2166,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":1375,"end":2163,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":1381,"end":2163,"body":[{"type":"ExpressionStatement","start":1383,"end":2161,"expression":{"type":"LogicalExpression","start":1383,"end":2160,"operator":"&&","left":{"type":"LogicalExpression","start":1384,"end":1429,"operator":"||","left":{"type":"BinaryExpression","start":1384,"end":1416,"operator":"===","left":{"type":"UnaryExpression","start":1384,"end":1400,"operator":"typeof","argument":{"type":"Identifier","start":1391,"end":1400,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":1405,"end":1416,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1420,"end":1429,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":1434,"end":2160,"optional":false,"callee":{"type":"MemberExpression","start":1434,"end":1454,"computed":false,"optional":false,"object":{"type":"Identifier","start":1434,"end":1436,"name":"i0"},"property":{"type":"Identifier","start":1437,"end":1454,"name":"ɵsetClassMetadata"}},"arguments":[{"type":"Identifier","start":1455,"end":1474,"name":"FormioAuthComponent"},{"type":"ArrayExpression","start":1476,"end":2147,"elements":[{"type":"ObjectExpression","start":1477,"end":2146,"properties":[{"type":"Property","start":1487,"end":1502,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1487,"end":1491,"name":"type"},"value":{"type":"Identifier","start":1493,"end":1502,"name":"Component"},"kind":"init"},{"type":"Property","start":1512,"end":2140,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1512,"end":1516,"name":"args"},"value":{"type":"ArrayExpression","start":1518,"end":2140,"elements":[{"type":"ObjectExpression","start":1519,"end":2139,"properties":[{"type":"Property","start":1521,"end":2137,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1521,"end":1529,"name":"template"},"value":{"type":"Literal","start":1531,"end":2137,"value":"<div class=\"card card-primary panel panel-default\">\n <div class=\"card-header panel-heading\">\n <ul class=\"nav nav-tabs card-header-tabs\">\n <li class=\"nav-item\" role=\"presentation\" routerLinkActive=\"active\"><a class=\"nav-link\" routerLink=\"login\" routerLinkActive=\"active\">Login</a></li>\n <li class=\"nav-item\" role=\"presentation\" routerLinkActive=\"active\"><a class=\"nav-link\" routerLink=\"register\" routerLinkActive=\"active\">Register</a></li>\n </ul>\n </div>\n <div class=\"card-body panel-body\">\n <router-outlet></router-outlet>\n </div>\n</div>\n","raw":"\"<div class=\\\"card card-primary panel panel-default\\\">\\n <div class=\\\"card-header panel-heading\\\">\\n <ul class=\\\"nav nav-tabs card-header-tabs\\\">\\n <li class=\\\"nav-item\\\" role=\\\"presentation\\\" routerLinkActive=\\\"active\\\"><a class=\\\"nav-link\\\" routerLink=\\\"login\\\" routerLinkActive=\\\"active\\\">Login</a></li>\\n <li class=\\\"nav-item\\\" role=\\\"presentation\\\" routerLinkActive=\\\"active\\\"><a class=\\\"nav-link\\\" routerLink=\\\"register\\\" routerLinkActive=\\\"active\\\">Register</a></li>\\n </ul>\\n </div>\\n <div class=\\\"card-body panel-body\\\">\\n <router-outlet></router-outlet>\\n </div>\\n</div>\\n\""},"kind":"init"}]}]},"kind":"init"}]}]},{"type":"Literal","start":2149,"end":2153,"raw":"null","value":null},{"type":"Literal","start":2155,"end":2159,"raw":"null","value":null}]}}}]},"id":null},"arguments":[]}},{"type":"ExpressionStatement","start":2168,"end":2361,"expression":{"type":"CallExpression","start":2168,"end":2360,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":2169,"end":2357,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":2175,"end":2357,"body":[{"type":"ExpressionStatement","start":2177,"end":2355,"expression":{"type":"LogicalExpression","start":2177,"end":2354,"operator":"&&","left":{"type":"LogicalExpression","start":2178,"end":2223,"operator":"||","left":{"type":"BinaryExpression","start":2178,"end":2210,"operator":"===","left":{"type":"UnaryExpression","start":2178,"end":2194,"operator":"typeof","argument":{"type":"Identifier","start":2185,"end":2194,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":2199,"end":2210,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":2214,"end":2223,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":2228,"end":2354,"optional":false,"callee":{"type":"MemberExpression","start":2228,"end":2249,"computed":false,"optional":false,"object":{"type":"Identifier","start":2228,"end":2230,"name":"i0"},"property":{"type":"Identifier","start":2231,"end":2249,"name":"ɵsetClassDebugInfo"}},"arguments":[{"type":"Identifier","start":2250,"end":2269,"name":"FormioAuthComponent"},{"type":"ObjectExpression","start":2271,"end":2353,"properties":[{"type":"Property","start":2273,"end":2305,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2273,"end":2282,"name":"className"},"value":{"type":"Literal","start":2284,"end":2305,"value":"FormioAuthComponent","raw":"\"FormioAuthComponent\""},"kind":"init"},{"type":"Property","start":2307,"end":2336,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2307,"end":2315,"name":"filePath"},"value":{"type":"Literal","start":2317,"end":2336,"value":"auth.component.ts","raw":"\"auth.component.ts\""},"kind":"init"},{"type":"Property","start":2338,"end":2351,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":2338,"end":2348,"name":"lineNumber"},"value":{"type":"Literal","start":2350,"end":2351,"raw":"5","value":5},"kind":"init"}]}]}}}]},"id":null},"arguments":[]}}],"_rollupRemoved":[{"end":4200,"start":2362,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/router\";\nexport class FormioAuthComponent {\n static ɵfac = function FormioAuthComponent_Factory(t) { return new (t || FormioAuthComponent)(); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioAuthComponent, selectors: [[\"ng-component\"]], decls: 11, vars: 0, consts: [[1, \"card\", \"card-primary\", \"panel\", \"panel-default\"], [1, \"card-header\", \"panel-heading\"], [1, \"nav\", \"nav-tabs\", \"card-header-tabs\"], [\"role\", \"presentation\", \"routerLinkActive\", \"active\", 1, \"nav-item\"], [\"routerLink\", \"login\", \"routerLinkActive\", \"active\", 1, \"nav-link\"], [\"routerLink\", \"register\", \"routerLinkActive\", \"active\", 1, \"nav-link\"], [1, \"card-body\", \"panel-body\"]], template: function FormioAuthComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"ul\", 2)(3, \"li\", 3)(4, \"a\", 4);\n i0.ɵɵtext(5, \"Login\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(6, \"li\", 3)(7, \"a\", 5);\n i0.ɵɵtext(8, \"Register\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(9, \"div\", 6);\n i0.ɵɵelement(10, \"router-outlet\");\n i0.ɵɵelementEnd()();\n } }, dependencies: [i1.RouterOutlet, i1.RouterLink, i1.RouterLinkActive], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthComponent, [{\n type: Component,\n args: [{ template: \"<div class=\\\"card card-primary panel panel-default\\\">\\n <div class=\\\"card-header panel-heading\\\">\\n <ul class=\\\"nav nav-tabs card-header-tabs\\\">\\n <li class=\\\"nav-item\\\" role=\\\"presentation\\\" routerLinkActive=\\\"active\\\"><a class=\\\"nav-link\\\" routerLink=\\\"login\\\" routerLinkActive=\\\"active\\\">Login</a></li>\\n <li class=\\\"nav-item\\\" role=\\\"presentation\\\" routerLinkActive=\\\"active\\\"><a class=\\\"nav-link\\\" routerLink=\\\"register\\\" routerLinkActive=\\\"active\\\">Register</a></li>\\n </ul>\\n </div>\\n <div class=\\\"card-body panel-body\\\">\\n <router-outlet></router-outlet>\\n </div>\\n</div>\\n\" }]\n }], null, null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioAuthComponent, { className: \"FormioAuthComponent\", filePath: \"auth.component.ts\", lineNumber: 5 }); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9hdXRoL3NyYy9hdXRoLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2F1dGgvc3JjL2F1dGguY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUs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gPGxpIGNsYXNzPVwibmF2LWl0ZW1cIiByb2xlPVwicHJlc2VudGF0aW9uXCIgcm91dGVyTGlua0FjdGl2ZT1cImFjdGl2ZVwiPjxhIGNsYXNzPVwibmF2LWxpbmtcIiByb3V0ZXJMaW5rPVwicmVnaXN0ZXJcIiByb3V0ZXJMaW5rQWN0aXZlPVwiYWN0aXZlXCI+UmVnaXN0ZXI8L2E+PC9saT5cbiAgICA8L3VsPlxuICA8L2Rpdj5cbiAgPGRpdiBjbGFzcz1cImNhcmQtYm9keSBwYW5lbC1ib2R5XCI+XG4gICAgPHJvdXRlci1vdXRsZXQ+PC9yb3V0ZXItb3V0bGV0PlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19","customTransformCache":false,"dependencies":["@angular/core","@angular/router"],"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.component.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/router\";\nexport class FormioAuthComponent {\n static ɵfac = function FormioAuthComponent_Factory(t) { return new (t || FormioAuthComponent)(); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioAuthComponent, selectors: [[\"ng-component\"]], decls: 11, vars: 0, consts: [[1, \"card\", \"card-primary\", \"panel\", \"panel-default\"], [1, \"card-header\", \"panel-heading\"], [1, \"nav\", \"nav-tabs\", \"card-header-tabs\"], [\"role\", \"presentation\", \"routerLinkActive\", \"active\", 1, \"nav-item\"], [\"routerLink\", \"login\", \"routerLinkActive\", \"active\", 1, \"nav-link\"], [\"routerLink\", \"register\", \"routerLinkActive\", \"active\", 1, \"nav-link\"], [1, \"card-body\", \"panel-body\"]], template: function FormioAuthComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"div\", 1)(2, \"ul\", 2)(3, \"li\", 3)(4, \"a\", 4);\n i0.ɵɵtext(5, \"Login\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(6, \"li\", 3)(7, \"a\", 5);\n i0.ɵɵtext(8, \"Register\");\n i0.ɵɵelementEnd()()()();\n i0.ɵɵelementStart(9, \"div\", 6);\n i0.ɵɵelement(10, \"router-outlet\");\n i0.ɵɵelementEnd()();\n } }, dependencies: [i1.RouterOutlet, i1.RouterLink, i1.RouterLinkActive], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthComponent, [{\n type: Component,\n args: [{ template: \"<div class=\\\"card card-primary panel panel-default\\\">\\n <div class=\\\"card-header panel-heading\\\">\\n <ul class=\\\"nav nav-tabs card-header-tabs\\\">\\n <li class=\\\"nav-item\\\" role=\\\"presentation\\\" routerLinkActive=\\\"active\\\"><a class=\\\"nav-link\\\" routerLink=\\\"login\\\" routerLinkActive=\\\"active\\\">Login</a></li>\\n <li class=\\\"nav-item\\\" role=\\\"presentation\\\" routerLinkActive=\\\"active\\\"><a class=\\\"nav-link\\\" routerLink=\\\"register\\\" routerLinkActive=\\\"active\\\">Register</a></li>\\n </ul>\\n </div>\\n <div class=\\\"card-body panel-body\\\">\\n <router-outlet></router-outlet>\\n </div>\\n</div>\\n\" }]\n }], null, null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioAuthComponent, { className: \"FormioAuthComponent\", filePath: \"auth.component.ts\", lineNumber: 5 }); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9hdXRoL3NyYy9hdXRoLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2F1dGgvc3JjL2F1dGguY29tcG9uZW50Lmh0bWwi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bms9XCJsb2dpblwiIHJvdXRlckxpbmtBY3RpdmU9XCJhY3RpdmVcIj5Mb2dpbjwvYT48L2xpPlxuICAgICAgPGxpIGNsYXNzPVwibmF2LWl0ZW1cIiByb2xlPVwicHJlc2VudGF0aW9uXCIgcm91dGVyTGlua0FjdGl2ZT1cImFjdGl2ZVwiPjxhIGNsYXNzPVwibmF2LWxpbmtcIiByb3V0ZXJMaW5rPVwicmVnaXN0ZXJcIiByb3V0ZXJMaW5rQWN0aXZlPVwiYWN0aXZlXCI+UmVnaXN0ZXI8L2E+PC9saT5cbiAgICA8L3VsPlxuICA8L2Rpdj5cbiAgPGRpdiBjbGFzcz1cImNhcmQtYm9keSBwYW5lbC1ib2R5XCI+XG4gICAgPHJvdXRlci1vdXRsZXQ+PC9yb3V0ZXItb3V0bGV0PlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19","originalSourcemap":{"version":3,"file":"auth.component.js","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/auth.component.ts","../../../../projects/angular-formio/auth/src/auth.component.html"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[18,0,0,18],[20,0,0,20],[26,0,0,26],[41,0,0,41],[42,0,0,42]],[],[],[[0,0,4,0],[6,0,4,6],[13,0,4,13],[32,0,4,32]],[[77,0,4,13],[96,0,4,32]],[[61,0,4,13],[80,0,4,32]],[[12,1,3,73],[12,1,3,6],[12,1,2,4],[12,1,1,2],[12,1,0,0],[42,1,0,51],[55,1,1,41],[67,1,2,46],[79,1,3,73],[90,1,3,138]],[[12,1,3,138],[33,1,3,143]],[[12,1,3,147],[12,1,3,143],[29,1,3,147],[31,1,3,152]],[[12,1,4,73],[12,1,4,6],[41,1,4,73],[52,1,4,141]],[[12,1,4,141],[36,1,4,149]],[[12,1,6,2],[12,1,5,4],[12,1,4,153],[12,1,4,149],[29,1,4,153],[31,1,4,158],[33,1,5,9],[35,1,6,8]],[[12,1,7,2],[42,1,7,36]],[[12,1,8,4],[45,1,8,35]],[[12,1,10,0],[12,1,9,2],[29,1,9,8],[31,1,10,6]],[],[],[[81,0,4,13],[100,0,4,32]],[[14,0,1,1],[23,0,1,10]],[],[],[[82,0,4,13],[101,0,4,32]]],"sourcesContent":["import { Component } from '@angular/core';\n@Component({\n templateUrl: './auth.component.html'\n})\nexport class FormioAuthComponent {}\n","<div class=\"card card-primary panel panel-default\">\n <div class=\"card-header panel-heading\">\n <ul class=\"nav nav-tabs card-header-tabs\">\n <li class=\"nav-item\" role=\"presentation\" routerLinkActive=\"active\"><a class=\"nav-link\" routerLink=\"login\" routerLinkActive=\"active\">Login</a></li>\n <li class=\"nav-item\" role=\"presentation\" routerLinkActive=\"active\"><a class=\"nav-link\" routerLink=\"register\" routerLinkActive=\"active\">Register</a></li>\n </ul>\n </div>\n <div class=\"card-body panel-body\">\n <router-outlet></router-outlet>\n </div>\n</div>\n"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/router":{"attributes":{},"external":true,"id":"@angular/router","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":3170,"body":[{"type":"ImportDeclaration","start":0,"end":42,"specifiers":[{"type":"ImportSpecifier","start":9,"end":18,"imported":{"type":"Identifier","start":9,"end":18,"name":"Component"},"local":{"type":"Identifier","start":9,"end":18,"name":"Component"}}],"source":{"type":"Literal","start":26,"end":41,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":43,"end":79,"specifiers":[{"type":"ImportNamespaceSpecifier","start":50,"end":57,"local":{"type":"Identifier","start":55,"end":57,"name":"i0"}}],"source":{"type":"Literal","start":63,"end":78,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":80,"end":118,"specifiers":[{"type":"ImportNamespaceSpecifier","start":87,"end":94,"local":{"type":"Identifier","start":92,"end":94,"name":"i1"}}],"source":{"type":"Literal","start":100,"end":117,"value":"../auth.service","raw":"\"../auth.service\""},"attributes":[]},{"type":"ImportDeclaration","start":119,"end":157,"specifiers":[{"type":"ImportNamespaceSpecifier","start":126,"end":133,"local":{"type":"Identifier","start":131,"end":133,"name":"i2"}}],"source":{"type":"Literal","start":139,"end":156,"value":"@formio/angular","raw":"\"@formio/angular\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":158,"end":1179,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":165,"end":1179,"id":{"type":"Identifier","start":171,"end":195,"name":"FormioAuthLoginComponent"},"superClass":null,"body":{"type":"ClassBody","start":196,"end":1179,"body":[{"type":"PropertyDefinition","start":202,"end":210,"static":false,"computed":false,"key":{"type":"Identifier","start":202,"end":209,"name":"service"},"value":null},{"type":"PropertyDefinition","start":215,"end":267,"static":false,"computed":false,"key":{"type":"Identifier","start":215,"end":228,"name":"renderOptions"},"value":{"type":"ObjectExpression","start":231,"end":266,"properties":[{"type":"Property","start":241,"end":260,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":241,"end":254,"name":"submitOnEnter"},"value":{"type":"Literal","start":256,"end":260,"value":true,"raw":"true"},"kind":"init"}]}},{"type":"MethodDefinition","start":272,"end":332,"static":false,"computed":false,"key":{"type":"Identifier","start":272,"end":283,"name":"constructor"},"value":{"type":"FunctionExpression","start":283,"end":332,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":284,"end":291,"name":"service"}],"body":{"type":"BlockStatement","start":293,"end":332,"body":[{"type":"ExpressionStatement","start":303,"end":326,"expression":{"type":"AssignmentExpression","start":303,"end":325,"operator":"=","left":{"type":"MemberExpression","start":303,"end":315,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":303,"end":307},"property":{"type":"Identifier","start":308,"end":315,"name":"service"}},"right":{"type":"Identifier","start":318,"end":325,"name":"service"}}}]},"expression":false},"kind":"constructor"},{"type":"PropertyDefinition","start":337,"end":488,"static":true,"computed":false,"key":{"type":"Identifier","start":344,"end":348,"name":"ɵfac"},"value":{"type":"FunctionExpression","start":351,"end":487,"async":false,"generator":false,"id":{"type":"Identifier","start":360,"end":392,"name":"FormioAuthLoginComponent_Factory"},"params":[{"type":"Identifier","start":393,"end":394,"name":"t"}],"body":{"type":"BlockStatement","start":396,"end":487,"body":[{"type":"ReturnStatement","start":398,"end":485,"argument":{"type":"NewExpression","start":405,"end":484,"callee":{"type":"LogicalExpression","start":410,"end":439,"operator":"||","left":{"type":"Identifier","start":410,"end":411,"name":"t"},"right":{"type":"Identifier","start":415,"end":439,"name":"FormioAuthLoginComponent"}},"arguments":[{"type":"CallExpression","start":441,"end":483,"optional":false,"callee":{"type":"MemberExpression","start":441,"end":461,"computed":false,"optional":false,"object":{"type":"Identifier","start":441,"end":443,"name":"i0"},"property":{"type":"Identifier","start":444,"end":461,"name":"ɵɵdirectiveInject"}},"arguments":[{"type":"MemberExpression","start":462,"end":482,"computed":false,"optional":false,"object":{"type":"Identifier","start":462,"end":464,"name":"i1"},"property":{"type":"Identifier","start":465,"end":482,"name":"FormioAuthService"}}]}]}}]},"expression":false}},{"type":"PropertyDefinition","start":493,"end":1177,"static":true,"computed":false,"key":{"type":"Identifier","start":500,"end":504,"name":"ɵcmp"},"value":{"type":"CallExpression","start":521,"end":1176,"optional":false,"_rollupAnnotations":[{"end":520,"start":507,"type":"pure"}],"callee":{"type":"MemberExpression","start":521,"end":541,"computed":false,"optional":false,"object":{"type":"Identifier","start":521,"end":523,"name":"i0"},"property":{"type":"Identifier","start":524,"end":541,"name":"ɵɵdefineComponent"}},"arguments":[{"type":"ObjectExpression","start":542,"end":1175,"properties":[{"type":"Property","start":544,"end":574,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":544,"end":548,"name":"type"},"value":{"type":"Identifier","start":550,"end":574,"name":"FormioAuthLoginComponent"},"kind":"init"},{"type":"Property","start":576,"end":605,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":576,"end":585,"name":"selectors"},"value":{"type":"ArrayExpression","start":587,"end":605,"elements":[{"type":"ArrayExpression","start":588,"end":604,"elements":[{"type":"Literal","start":589,"end":603,"value":"ng-component","raw":"\"ng-component\""}]}]},"kind":"init"},{"type":"Property","start":607,"end":615,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":607,"end":612,"name":"decls"},"value":{"type":"Literal","start":614,"end":615,"raw":"1","value":1},"kind":"init"},{"type":"Property","start":617,"end":624,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":617,"end":621,"name":"vars"},"value":{"type":"Literal","start":623,"end":624,"raw":"2","value":2},"kind":"init"},{"type":"Property","start":626,"end":673,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":626,"end":632,"name":"consts"},"value":{"type":"ArrayExpression","start":634,"end":673,"elements":[{"type":"ArrayExpression","start":635,"end":672,"elements":[{"type":"Literal","start":636,"end":637,"raw":"3","value":3},{"type":"Literal","start":639,"end":647,"value":"submit","raw":"\"submit\""},{"type":"Literal","start":649,"end":654,"value":"src","raw":"\"src\""},{"type":"Literal","start":656,"end":671,"value":"renderOptions","raw":"\"renderOptions\""}]}]},"kind":"init"},{"type":"Property","start":675,"end":1119,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":675,"end":683,"name":"template"},"value":{"type":"FunctionExpression","start":685,"end":1119,"async":false,"generator":false,"id":{"type":"Identifier","start":694,"end":727,"name":"FormioAuthLoginComponent_Template"},"params":[{"type":"Identifier","start":728,"end":730,"name":"rf"},{"type":"Identifier","start":732,"end":735,"name":"ctx"}],"body":{"type":"BlockStatement","start":737,"end":1119,"body":[{"type":"IfStatement","start":739,"end":1000,"test":{"type":"BinaryExpression","start":743,"end":749,"operator":"&","left":{"type":"Identifier","start":743,"end":745,"name":"rf"},"right":{"type":"Literal","start":748,"end":749,"raw":"1","value":1}},"consequent":{"type":"BlockStatement","start":751,"end":1000,"body":[{"type":"ExpressionStatement","start":765,"end":799,"expression":{"type":"CallExpression","start":765,"end":798,"optional":false,"callee":{"type":"MemberExpression","start":765,"end":782,"computed":false,"optional":false,"object":{"type":"Identifier","start":765,"end":767,"name":"i0"},"property":{"type":"Identifier","start":768,"end":782,"name":"ɵɵelementStart"}},"arguments":[{"type":"Literal","start":783,"end":784,"raw":"0","value":0},{"type":"Literal","start":786,"end":794,"value":"formio","raw":"\"formio\""},{"type":"Literal","start":796,"end":797,"raw":"0","value":0}]}},{"type":"ExpressionStatement","start":812,"end":959,"expression":{"type":"CallExpression","start":812,"end":958,"optional":false,"callee":{"type":"MemberExpression","start":812,"end":825,"computed":false,"optional":false,"object":{"type":"Identifier","start":812,"end":814,"name":"i0"},"property":{"type":"Identifier","start":815,"end":825,"name":"ɵɵlistener"}},"arguments":[{"type":"Literal","start":826,"end":834,"value":"submit","raw":"\"submit\""},{"type":"FunctionExpression","start":836,"end":957,"async":false,"generator":false,"id":{"type":"Identifier","start":845,"end":903,"name":"FormioAuthLoginComponent_Template_formio_submit_0_listener"},"params":[{"type":"Identifier","start":904,"end":910,"name":"$event"}],"body":{"type":"BlockStatement","start":912,"end":957,"body":[{"type":"ReturnStatement","start":914,"end":955,"argument":{"type":"CallExpression","start":921,"end":954,"optional":false,"callee":{"type":"MemberExpression","start":921,"end":946,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":921,"end":932,"computed":false,"optional":false,"object":{"type":"Identifier","start":921,"end":924,"name":"ctx"},"property":{"type":"Identifier","start":925,"end":932,"name":"service"}},"property":{"type":"Identifier","start":933,"end":946,"name":"onLoginSubmit"}},"arguments":[{"type":"Identifier","start":947,"end":953,"name":"$event"}]}}]},"expression":false}]}},{"type":"ExpressionStatement","start":972,"end":990,"expression":{"type":"CallExpression","start":972,"end":989,"optional":false,"callee":{"type":"MemberExpression","start":972,"end":987,"computed":false,"optional":false,"object":{"type":"Identifier","start":972,"end":974,"name":"i0"},"property":{"type":"Identifier","start":975,"end":987,"name":"ɵɵelementEnd"}},"arguments":[]}}]},"alternate":null},{"type":"IfStatement","start":1001,"end":1117,"test":{"type":"BinaryExpression","start":1005,"end":1011,"operator":"&","left":{"type":"Identifier","start":1005,"end":1007,"name":"rf"},"right":{"type":"Literal","start":1010,"end":1011,"raw":"2","value":2}},"consequent":{"type":"BlockStatement","start":1013,"end":1117,"body":[{"type":"ExpressionStatement","start":1027,"end":1107,"expression":{"type":"CallExpression","start":1027,"end":1106,"optional":false,"callee":{"type":"CallExpression","start":1027,"end":1070,"optional":false,"callee":{"type":"MemberExpression","start":1027,"end":1040,"computed":false,"optional":false,"object":{"type":"Identifier","start":1027,"end":1029,"name":"i0"},"property":{"type":"Identifier","start":1030,"end":1040,"name":"ɵɵproperty"}},"arguments":[{"type":"Literal","start":1041,"end":1046,"value":"src","raw":"\"src\""},{"type":"MemberExpression","start":1048,"end":1069,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1048,"end":1059,"computed":false,"optional":false,"object":{"type":"Identifier","start":1048,"end":1051,"name":"ctx"},"property":{"type":"Identifier","start":1052,"end":1059,"name":"service"}},"property":{"type":"Identifier","start":1060,"end":1069,"name":"loginForm"}}]},"arguments":[{"type":"Literal","start":1071,"end":1086,"value":"renderOptions","raw":"\"renderOptions\""},{"type":"MemberExpression","start":1088,"end":1105,"computed":false,"optional":false,"object":{"type":"Identifier","start":1088,"end":1091,"name":"ctx"},"property":{"type":"Identifier","start":1092,"end":1105,"name":"renderOptions"}}]}}]},"alternate":null}]},"expression":false},"kind":"init"},{"type":"Property","start":1121,"end":1155,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1121,"end":1133,"name":"dependencies"},"value":{"type":"ArrayExpression","start":1135,"end":1155,"elements":[{"type":"MemberExpression","start":1136,"end":1154,"computed":false,"optional":false,"object":{"type":"Identifier","start":1136,"end":1138,"name":"i2"},"property":{"type":"Identifier","start":1139,"end":1154,"name":"FormioComponent"}}]},"kind":"init"},{"type":"Property","start":1157,"end":1173,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1157,"end":1170,"name":"encapsulation"},"value":{"type":"Literal","start":1172,"end":1173,"raw":"2","value":2},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":1180,"end":1532,"expression":{"type":"CallExpression","start":1180,"end":1531,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":1181,"end":1528,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":1187,"end":1528,"body":[{"type":"ExpressionStatement","start":1189,"end":1526,"expression":{"type":"LogicalExpression","start":1189,"end":1525,"operator":"&&","left":{"type":"LogicalExpression","start":1190,"end":1235,"operator":"||","left":{"type":"BinaryExpression","start":1190,"end":1222,"operator":"===","left":{"type":"UnaryExpression","start":1190,"end":1206,"operator":"typeof","argument":{"type":"Identifier","start":1197,"end":1206,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":1211,"end":1222,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1226,"end":1235,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":1240,"end":1525,"optional":false,"callee":{"type":"MemberExpression","start":1240,"end":1260,"computed":false,"optional":false,"object":{"type":"Identifier","start":1240,"end":1242,"name":"i0"},"property":{"type":"Identifier","start":1243,"end":1260,"name":"ɵsetClassMetadata"}},"arguments":[{"type":"Identifier","start":1261,"end":1285,"name":"FormioAuthLoginComponent"},{"type":"ArrayExpression","start":1287,"end":1478,"elements":[{"type":"ObjectExpression","start":1288,"end":1477,"properties":[{"type":"Property","start":1298,"end":1313,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1298,"end":1302,"name":"type"},"value":{"type":"Identifier","start":1304,"end":1313,"name":"Component"},"kind":"init"},{"type":"Property","start":1323,"end":1471,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1323,"end":1327,"name":"args"},"value":{"type":"ArrayExpression","start":1329,"end":1471,"elements":[{"type":"ObjectExpression","start":1330,"end":1470,"properties":[{"type":"Property","start":1332,"end":1468,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1332,"end":1340,"name":"template"},"value":{"type":"Literal","start":1342,"end":1468,"value":"<formio [src]=\"service.loginForm\" [renderOptions]=\"renderOptions\" (submit)=\"service.onLoginSubmit($event)\"></formio>\n","raw":"\"<formio [src]=\\\"service.loginForm\\\" [renderOptions]=\\\"renderOptions\\\" (submit)=\\\"service.onLoginSubmit($event)\\\"></formio>\\n\""},"kind":"init"}]}]},"kind":"init"}]}]},{"type":"ArrowFunctionExpression","start":1480,"end":1518,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":1486,"end":1518,"elements":[{"type":"ObjectExpression","start":1487,"end":1517,"properties":[{"type":"Property","start":1489,"end":1515,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1489,"end":1493,"name":"type"},"value":{"type":"MemberExpression","start":1495,"end":1515,"computed":false,"optional":false,"object":{"type":"Identifier","start":1495,"end":1497,"name":"i1"},"property":{"type":"Identifier","start":1498,"end":1515,"name":"FormioAuthService"}},"kind":"init"}]}]},"id":null},{"type":"Literal","start":1520,"end":1524,"raw":"null","value":null}]}}}]},"id":null},"arguments":[]}},{"type":"ExpressionStatement","start":1533,"end":1743,"expression":{"type":"CallExpression","start":1533,"end":1742,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":1534,"end":1739,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":1540,"end":1739,"body":[{"type":"ExpressionStatement","start":1542,"end":1737,"expression":{"type":"LogicalExpression","start":1542,"end":1736,"operator":"&&","left":{"type":"LogicalExpression","start":1543,"end":1588,"operator":"||","left":{"type":"BinaryExpression","start":1543,"end":1575,"operator":"===","left":{"type":"UnaryExpression","start":1543,"end":1559,"operator":"typeof","argument":{"type":"Identifier","start":1550,"end":1559,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":1564,"end":1575,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1579,"end":1588,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":1593,"end":1736,"optional":false,"callee":{"type":"MemberExpression","start":1593,"end":1614,"computed":false,"optional":false,"object":{"type":"Identifier","start":1593,"end":1595,"name":"i0"},"property":{"type":"Identifier","start":1596,"end":1614,"name":"ɵsetClassDebugInfo"}},"arguments":[{"type":"Identifier","start":1615,"end":1639,"name":"FormioAuthLoginComponent"},{"type":"ObjectExpression","start":1641,"end":1735,"properties":[{"type":"Property","start":1643,"end":1680,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1643,"end":1652,"name":"className"},"value":{"type":"Literal","start":1654,"end":1680,"value":"FormioAuthLoginComponent","raw":"\"FormioAuthLoginComponent\""},"kind":"init"},{"type":"Property","start":1682,"end":1718,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1682,"end":1690,"name":"filePath"},"value":{"type":"Literal","start":1692,"end":1718,"value":"login/login.component.ts","raw":"\"login/login.component.ts\""},"kind":"init"},{"type":"Property","start":1720,"end":1733,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1720,"end":1730,"name":"lineNumber"},"value":{"type":"Literal","start":1732,"end":1733,"raw":"6","value":6},"kind":"init"}]}]}}}]},"id":null},"arguments":[]}}],"_rollupRemoved":[{"end":3170,"start":1744,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../auth.service\";\nimport * as i2 from \"@formio/angular\";\nexport class FormioAuthLoginComponent {\n service;\n renderOptions = {\n submitOnEnter: true\n };\n constructor(service) {\n this.service = service;\n }\n static ɵfac = function FormioAuthLoginComponent_Factory(t) { return new (t || FormioAuthLoginComponent)(i0.ɵɵdirectiveInject(i1.FormioAuthService)); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioAuthLoginComponent, selectors: [[\"ng-component\"]], decls: 1, vars: 2, consts: [[3, \"submit\", \"src\", \"renderOptions\"]], template: function FormioAuthLoginComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"formio\", 0);\n i0.ɵɵlistener(\"submit\", function FormioAuthLoginComponent_Template_formio_submit_0_listener($event) { return ctx.service.onLoginSubmit($event); });\n i0.ɵɵelementEnd();\n } if (rf & 2) {\n i0.ɵɵproperty(\"src\", ctx.service.loginForm)(\"renderOptions\", ctx.renderOptions);\n } }, dependencies: [i2.FormioComponent], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthLoginComponent, [{\n type: Component,\n args: [{ template: \"<formio [src]=\\\"service.loginForm\\\" [renderOptions]=\\\"renderOptions\\\" (submit)=\\\"service.onLoginSubmit($event)\\\"></formio>\\n\" }]\n }], () => [{ type: i1.FormioAuthService }], null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioAuthLoginComponent, { className: \"FormioAuthLoginComponent\", filePath: \"login/login.component.ts\", lineNumber: 6 }); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvbG9naW4vbG9naW4uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvbG9naW4vbG9naW4uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQUsxQyxNQUFNLE9BQU8sd0JBQXdCO0lBSWhCO0lBSFosYUFBYSxHQUFRO1FBQzFCLGFBQWEsRUFBRSxJQUFJO0tBQ3BCLENBQUM7SUFDRixZQUFtQixPQUEwQjtRQUExQixZQUFPLEdBQVAsT0FBTyxDQUFtQjtJQUFHLENBQUM7a0ZBSnRDLHdCQUF3Qjs2REFBeEIsd0JBQXdCO1lDTHJDLGlDQUEyRztZQUF6Qyw2R0FBVSxpQ0FBNkIsSUFBQztZQUFDLGlCQUFTOztZQUFsRixBQUExQiwyQ0FBeUIsb0NBQWdDOzs7aUZES3BELHdCQUF3QjtjQUhwQyxTQUFTOzs7a0ZBR0csd0JBQXdCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBGb3JtaW9BdXRoU2VydmljZSB9IGZyb20gJy4uL2F1dGguc2VydmljZSc7XG5AQ29tcG9uZW50KHtcbiAgdGVtcGxhdGVVcmw6ICcuL2xvZ2luLmNvbXBvbmVudC5odG1sJ1xufSlcbmV4cG9ydCBjbGFzcyBGb3JtaW9BdXRoTG9naW5Db21wb25lbnQge1xuICBwdWJsaWMgcmVuZGVyT3B0aW9uczogYW55ID0ge1xuICAgIHN1Ym1pdE9uRW50ZXI6IHRydWVcbiAgfTtcbiAgY29uc3RydWN0b3IocHVibGljIHNlcnZpY2U6IEZvcm1pb0F1dGhTZXJ2aWNlKSB7fVxufVxuIiwiPGZvcm1pbyBbc3JjXT1cInNlcnZpY2UubG9naW5Gb3JtXCIgW3JlbmRlck9wdGlvbnNdPVwicmVuZGVyT3B0aW9uc1wiIChzdWJtaXQpPVwic2VydmljZS5vbkxvZ2luU3VibWl0KCRldmVudClcIj48L2Zvcm1pbz5cbiJdfQ==","customTransformCache":false,"dependencies":["@angular/core","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","@formio/angular"],"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/login/login.component.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../auth.service\";\nimport * as i2 from \"@formio/angular\";\nexport class FormioAuthLoginComponent {\n service;\n renderOptions = {\n submitOnEnter: true\n };\n constructor(service) {\n this.service = service;\n }\n static ɵfac = function FormioAuthLoginComponent_Factory(t) { return new (t || FormioAuthLoginComponent)(i0.ɵɵdirectiveInject(i1.FormioAuthService)); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioAuthLoginComponent, selectors: [[\"ng-component\"]], decls: 1, vars: 2, consts: [[3, \"submit\", \"src\", \"renderOptions\"]], template: function FormioAuthLoginComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"formio\", 0);\n i0.ɵɵlistener(\"submit\", function FormioAuthLoginComponent_Template_formio_submit_0_listener($event) { return ctx.service.onLoginSubmit($event); });\n i0.ɵɵelementEnd();\n } if (rf & 2) {\n i0.ɵɵproperty(\"src\", ctx.service.loginForm)(\"renderOptions\", ctx.renderOptions);\n } }, dependencies: [i2.FormioComponent], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthLoginComponent, [{\n type: Component,\n args: [{ template: \"<formio [src]=\\\"service.loginForm\\\" [renderOptions]=\\\"renderOptions\\\" (submit)=\\\"service.onLoginSubmit($event)\\\"></formio>\\n\" }]\n }], () => [{ type: i1.FormioAuthService }], null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioAuthLoginComponent, { className: \"FormioAuthLoginComponent\", filePath: \"login/login.component.ts\", lineNumber: 6 }); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvbG9naW4vbG9naW4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Gb3JtXCIgW3JlbmRlck9wdGlvbnNdPVwicmVuZGVyT3B0aW9uc1wiIChzdWJtaXQpPVwic2VydmljZS5vbkxvZ2luU3VibWl0KCRldmVudClcIj48L2Zvcm1pbz5cbiJdfQ==","originalSourcemap":{"version":3,"file":"login.component.js","sourceRoot":"","sources":["../../../../../projects/angular-formio/auth/src/login/login.component.ts","../../../../../projects/angular-formio/auth/src/login/login.component.html"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[18,0,0,18],[20,0,0,20],[26,0,0,26],[41,0,0,41],[42,0,0,42]],[],[],[],[[0,0,5,0],[6,0,5,6],[13,0,5,13],[37,0,5,37]],[[4,0,9,21]],[[4,0,6,9],[17,0,6,22],[20,0,6,30]],[[8,0,7,4],[21,0,7,17],[23,0,7,19],[27,0,7,23]],[[5,0,8,3],[6,0,8,4]],[[4,0,9,2],[16,0,9,21],[23,0,9,47]],[[8,0,9,21],[20,0,9,28],[23,0,9,21],[30,0,9,28],[31,0,9,47]],[[4,0,9,50],[5,0,9,51]],[[82,0,5,13],[106,0,5,37]],[[61,0,5,13],[85,0,5,37]],[[12,1,0,0],[45,1,0,107]],[[12,1,0,66],[121,1,0,76],[154,1,0,105],[158,1,0,106]],[[12,1,0,107],[29,1,0,116]],[],[[12,1,0,34],[12,1,0,8],[55,1,0,33],[91,1,0,65]],[],[],[[81,0,5,13],[105,0,5,37]],[[14,0,2,1],[23,0,2,10]],[],[],[[82,0,5,13],[106,0,5,37]]],"sourcesContent":["import { Component } from '@angular/core';\nimport { FormioAuthService } from '../auth.service';\n@Component({\n templateUrl: './login.component.html'\n})\nexport class FormioAuthLoginComponent {\n public renderOptions: any = {\n submitOnEnter: true\n };\n constructor(public service: FormioAuthService) {}\n}\n","<formio [src]=\"service.loginForm\" [renderOptions]=\"renderOptions\" (submit)=\"service.onLoginSubmit($event)\"></formio>\n"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@formio/angular":{"attributes":{},"external":true,"id":"@formio/angular","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"../auth.service":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":3251,"body":[{"type":"ImportDeclaration","start":0,"end":42,"specifiers":[{"type":"ImportSpecifier","start":9,"end":18,"imported":{"type":"Identifier","start":9,"end":18,"name":"Component"},"local":{"type":"Identifier","start":9,"end":18,"name":"Component"}}],"source":{"type":"Literal","start":26,"end":41,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":43,"end":79,"specifiers":[{"type":"ImportNamespaceSpecifier","start":50,"end":57,"local":{"type":"Identifier","start":55,"end":57,"name":"i0"}}],"source":{"type":"Literal","start":63,"end":78,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":80,"end":118,"specifiers":[{"type":"ImportNamespaceSpecifier","start":87,"end":94,"local":{"type":"Identifier","start":92,"end":94,"name":"i1"}}],"source":{"type":"Literal","start":100,"end":117,"value":"../auth.service","raw":"\"../auth.service\""},"attributes":[]},{"type":"ImportDeclaration","start":119,"end":157,"specifiers":[{"type":"ImportNamespaceSpecifier","start":126,"end":133,"local":{"type":"Identifier","start":131,"end":133,"name":"i2"}}],"source":{"type":"Literal","start":139,"end":156,"value":"@formio/angular","raw":"\"@formio/angular\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":158,"end":1203,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":165,"end":1203,"id":{"type":"Identifier","start":171,"end":198,"name":"FormioAuthRegisterComponent"},"superClass":null,"body":{"type":"ClassBody","start":199,"end":1203,"body":[{"type":"PropertyDefinition","start":205,"end":213,"static":false,"computed":false,"key":{"type":"Identifier","start":205,"end":212,"name":"service"},"value":null},{"type":"PropertyDefinition","start":218,"end":270,"static":false,"computed":false,"key":{"type":"Identifier","start":218,"end":231,"name":"renderOptions"},"value":{"type":"ObjectExpression","start":234,"end":269,"properties":[{"type":"Property","start":244,"end":263,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":244,"end":257,"name":"submitOnEnter"},"value":{"type":"Literal","start":259,"end":263,"value":true,"raw":"true"},"kind":"init"}]}},{"type":"MethodDefinition","start":275,"end":335,"static":false,"computed":false,"key":{"type":"Identifier","start":275,"end":286,"name":"constructor"},"value":{"type":"FunctionExpression","start":286,"end":335,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":287,"end":294,"name":"service"}],"body":{"type":"BlockStatement","start":296,"end":335,"body":[{"type":"ExpressionStatement","start":306,"end":329,"expression":{"type":"AssignmentExpression","start":306,"end":328,"operator":"=","left":{"type":"MemberExpression","start":306,"end":318,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":306,"end":310},"property":{"type":"Identifier","start":311,"end":318,"name":"service"}},"right":{"type":"Identifier","start":321,"end":328,"name":"service"}}}]},"expression":false},"kind":"constructor"},{"type":"PropertyDefinition","start":340,"end":497,"static":true,"computed":false,"key":{"type":"Identifier","start":347,"end":351,"name":"ɵfac"},"value":{"type":"FunctionExpression","start":354,"end":496,"async":false,"generator":false,"id":{"type":"Identifier","start":363,"end":398,"name":"FormioAuthRegisterComponent_Factory"},"params":[{"type":"Identifier","start":399,"end":400,"name":"t"}],"body":{"type":"BlockStatement","start":402,"end":496,"body":[{"type":"ReturnStatement","start":404,"end":494,"argument":{"type":"NewExpression","start":411,"end":493,"callee":{"type":"LogicalExpression","start":416,"end":448,"operator":"||","left":{"type":"Identifier","start":416,"end":417,"name":"t"},"right":{"type":"Identifier","start":421,"end":448,"name":"FormioAuthRegisterComponent"}},"arguments":[{"type":"CallExpression","start":450,"end":492,"optional":false,"callee":{"type":"MemberExpression","start":450,"end":470,"computed":false,"optional":false,"object":{"type":"Identifier","start":450,"end":452,"name":"i0"},"property":{"type":"Identifier","start":453,"end":470,"name":"ɵɵdirectiveInject"}},"arguments":[{"type":"MemberExpression","start":471,"end":491,"computed":false,"optional":false,"object":{"type":"Identifier","start":471,"end":473,"name":"i1"},"property":{"type":"Identifier","start":474,"end":491,"name":"FormioAuthService"}}]}]}}]},"expression":false}},{"type":"PropertyDefinition","start":502,"end":1201,"static":true,"computed":false,"key":{"type":"Identifier","start":509,"end":513,"name":"ɵcmp"},"value":{"type":"CallExpression","start":530,"end":1200,"optional":false,"_rollupAnnotations":[{"end":529,"start":516,"type":"pure"}],"callee":{"type":"MemberExpression","start":530,"end":550,"computed":false,"optional":false,"object":{"type":"Identifier","start":530,"end":532,"name":"i0"},"property":{"type":"Identifier","start":533,"end":550,"name":"ɵɵdefineComponent"}},"arguments":[{"type":"ObjectExpression","start":551,"end":1199,"properties":[{"type":"Property","start":553,"end":586,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":553,"end":557,"name":"type"},"value":{"type":"Identifier","start":559,"end":586,"name":"FormioAuthRegisterComponent"},"kind":"init"},{"type":"Property","start":588,"end":617,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":588,"end":597,"name":"selectors"},"value":{"type":"ArrayExpression","start":599,"end":617,"elements":[{"type":"ArrayExpression","start":600,"end":616,"elements":[{"type":"Literal","start":601,"end":615,"value":"ng-component","raw":"\"ng-component\""}]}]},"kind":"init"},{"type":"Property","start":619,"end":627,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":619,"end":624,"name":"decls"},"value":{"type":"Literal","start":626,"end":627,"raw":"1","value":1},"kind":"init"},{"type":"Property","start":629,"end":636,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":629,"end":633,"name":"vars"},"value":{"type":"Literal","start":635,"end":636,"raw":"2","value":2},"kind":"init"},{"type":"Property","start":638,"end":685,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":638,"end":644,"name":"consts"},"value":{"type":"ArrayExpression","start":646,"end":685,"elements":[{"type":"ArrayExpression","start":647,"end":684,"elements":[{"type":"Literal","start":648,"end":649,"raw":"3","value":3},{"type":"Literal","start":651,"end":659,"value":"submit","raw":"\"submit\""},{"type":"Literal","start":661,"end":666,"value":"src","raw":"\"src\""},{"type":"Literal","start":668,"end":683,"value":"renderOptions","raw":"\"renderOptions\""}]}]},"kind":"init"},{"type":"Property","start":687,"end":1143,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":687,"end":695,"name":"template"},"value":{"type":"FunctionExpression","start":697,"end":1143,"async":false,"generator":false,"id":{"type":"Identifier","start":706,"end":742,"name":"FormioAuthRegisterComponent_Template"},"params":[{"type":"Identifier","start":743,"end":745,"name":"rf"},{"type":"Identifier","start":747,"end":750,"name":"ctx"}],"body":{"type":"BlockStatement","start":752,"end":1143,"body":[{"type":"IfStatement","start":754,"end":1021,"test":{"type":"BinaryExpression","start":758,"end":764,"operator":"&","left":{"type":"Identifier","start":758,"end":760,"name":"rf"},"right":{"type":"Literal","start":763,"end":764,"raw":"1","value":1}},"consequent":{"type":"BlockStatement","start":766,"end":1021,"body":[{"type":"ExpressionStatement","start":780,"end":814,"expression":{"type":"CallExpression","start":780,"end":813,"optional":false,"callee":{"type":"MemberExpression","start":780,"end":797,"computed":false,"optional":false,"object":{"type":"Identifier","start":780,"end":782,"name":"i0"},"property":{"type":"Identifier","start":783,"end":797,"name":"ɵɵelementStart"}},"arguments":[{"type":"Literal","start":798,"end":799,"raw":"0","value":0},{"type":"Literal","start":801,"end":809,"value":"formio","raw":"\"formio\""},{"type":"Literal","start":811,"end":812,"raw":"0","value":0}]}},{"type":"ExpressionStatement","start":827,"end":980,"expression":{"type":"CallExpression","start":827,"end":979,"optional":false,"callee":{"type":"MemberExpression","start":827,"end":840,"computed":false,"optional":false,"object":{"type":"Identifier","start":827,"end":829,"name":"i0"},"property":{"type":"Identifier","start":830,"end":840,"name":"ɵɵlistener"}},"arguments":[{"type":"Literal","start":841,"end":849,"value":"submit","raw":"\"submit\""},{"type":"FunctionExpression","start":851,"end":978,"async":false,"generator":false,"id":{"type":"Identifier","start":860,"end":921,"name":"FormioAuthRegisterComponent_Template_formio_submit_0_listener"},"params":[{"type":"Identifier","start":922,"end":928,"name":"$event"}],"body":{"type":"BlockStatement","start":930,"end":978,"body":[{"type":"ReturnStatement","start":932,"end":976,"argument":{"type":"CallExpression","start":939,"end":975,"optional":false,"callee":{"type":"MemberExpression","start":939,"end":967,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":939,"end":950,"computed":false,"optional":false,"object":{"type":"Identifier","start":939,"end":942,"name":"ctx"},"property":{"type":"Identifier","start":943,"end":950,"name":"service"}},"property":{"type":"Identifier","start":951,"end":967,"name":"onRegisterSubmit"}},"arguments":[{"type":"Identifier","start":968,"end":974,"name":"$event"}]}}]},"expression":false}]}},{"type":"ExpressionStatement","start":993,"end":1011,"expression":{"type":"CallExpression","start":993,"end":1010,"optional":false,"callee":{"type":"MemberExpression","start":993,"end":1008,"computed":false,"optional":false,"object":{"type":"Identifier","start":993,"end":995,"name":"i0"},"property":{"type":"Identifier","start":996,"end":1008,"name":"ɵɵelementEnd"}},"arguments":[]}}]},"alternate":null},{"type":"IfStatement","start":1022,"end":1141,"test":{"type":"BinaryExpression","start":1026,"end":1032,"operator":"&","left":{"type":"Identifier","start":1026,"end":1028,"name":"rf"},"right":{"type":"Literal","start":1031,"end":1032,"raw":"2","value":2}},"consequent":{"type":"BlockStatement","start":1034,"end":1141,"body":[{"type":"ExpressionStatement","start":1048,"end":1131,"expression":{"type":"CallExpression","start":1048,"end":1130,"optional":false,"callee":{"type":"CallExpression","start":1048,"end":1094,"optional":false,"callee":{"type":"MemberExpression","start":1048,"end":1061,"computed":false,"optional":false,"object":{"type":"Identifier","start":1048,"end":1050,"name":"i0"},"property":{"type":"Identifier","start":1051,"end":1061,"name":"ɵɵproperty"}},"arguments":[{"type":"Literal","start":1062,"end":1067,"value":"src","raw":"\"src\""},{"type":"MemberExpression","start":1069,"end":1093,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":1069,"end":1080,"computed":false,"optional":false,"object":{"type":"Identifier","start":1069,"end":1072,"name":"ctx"},"property":{"type":"Identifier","start":1073,"end":1080,"name":"service"}},"property":{"type":"Identifier","start":1081,"end":1093,"name":"registerForm"}}]},"arguments":[{"type":"Literal","start":1095,"end":1110,"value":"renderOptions","raw":"\"renderOptions\""},{"type":"MemberExpression","start":1112,"end":1129,"computed":false,"optional":false,"object":{"type":"Identifier","start":1112,"end":1115,"name":"ctx"},"property":{"type":"Identifier","start":1116,"end":1129,"name":"renderOptions"}}]}}]},"alternate":null}]},"expression":false},"kind":"init"},{"type":"Property","start":1145,"end":1179,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1145,"end":1157,"name":"dependencies"},"value":{"type":"ArrayExpression","start":1159,"end":1179,"elements":[{"type":"MemberExpression","start":1160,"end":1178,"computed":false,"optional":false,"object":{"type":"Identifier","start":1160,"end":1162,"name":"i2"},"property":{"type":"Identifier","start":1163,"end":1178,"name":"FormioComponent"}}]},"kind":"init"},{"type":"Property","start":1181,"end":1197,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1181,"end":1194,"name":"encapsulation"},"value":{"type":"Literal","start":1196,"end":1197,"raw":"2","value":2},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":1204,"end":1565,"expression":{"type":"CallExpression","start":1204,"end":1564,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":1205,"end":1561,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":1211,"end":1561,"body":[{"type":"ExpressionStatement","start":1213,"end":1559,"expression":{"type":"LogicalExpression","start":1213,"end":1558,"operator":"&&","left":{"type":"LogicalExpression","start":1214,"end":1259,"operator":"||","left":{"type":"BinaryExpression","start":1214,"end":1246,"operator":"===","left":{"type":"UnaryExpression","start":1214,"end":1230,"operator":"typeof","argument":{"type":"Identifier","start":1221,"end":1230,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":1235,"end":1246,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1250,"end":1259,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":1264,"end":1558,"optional":false,"callee":{"type":"MemberExpression","start":1264,"end":1284,"computed":false,"optional":false,"object":{"type":"Identifier","start":1264,"end":1266,"name":"i0"},"property":{"type":"Identifier","start":1267,"end":1284,"name":"ɵsetClassMetadata"}},"arguments":[{"type":"Identifier","start":1285,"end":1312,"name":"FormioAuthRegisterComponent"},{"type":"ArrayExpression","start":1314,"end":1511,"elements":[{"type":"ObjectExpression","start":1315,"end":1510,"properties":[{"type":"Property","start":1325,"end":1340,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1325,"end":1329,"name":"type"},"value":{"type":"Identifier","start":1331,"end":1340,"name":"Component"},"kind":"init"},{"type":"Property","start":1350,"end":1504,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1350,"end":1354,"name":"args"},"value":{"type":"ArrayExpression","start":1356,"end":1504,"elements":[{"type":"ObjectExpression","start":1357,"end":1503,"properties":[{"type":"Property","start":1359,"end":1501,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1359,"end":1367,"name":"template"},"value":{"type":"Literal","start":1369,"end":1501,"value":"<formio [src]=\"service.registerForm\" [renderOptions]=\"renderOptions\" (submit)=\"service.onRegisterSubmit($event)\"></formio>\n","raw":"\"<formio [src]=\\\"service.registerForm\\\" [renderOptions]=\\\"renderOptions\\\" (submit)=\\\"service.onRegisterSubmit($event)\\\"></formio>\\n\""},"kind":"init"}]}]},"kind":"init"}]}]},{"type":"ArrowFunctionExpression","start":1513,"end":1551,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":1519,"end":1551,"elements":[{"type":"ObjectExpression","start":1520,"end":1550,"properties":[{"type":"Property","start":1522,"end":1548,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1522,"end":1526,"name":"type"},"value":{"type":"MemberExpression","start":1528,"end":1548,"computed":false,"optional":false,"object":{"type":"Identifier","start":1528,"end":1530,"name":"i1"},"property":{"type":"Identifier","start":1531,"end":1548,"name":"FormioAuthService"}},"kind":"init"}]}]},"id":null},{"type":"Literal","start":1553,"end":1557,"raw":"null","value":null}]}}}]},"id":null},"arguments":[]}},{"type":"ExpressionStatement","start":1566,"end":1788,"expression":{"type":"CallExpression","start":1566,"end":1787,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":1567,"end":1784,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":1573,"end":1784,"body":[{"type":"ExpressionStatement","start":1575,"end":1782,"expression":{"type":"LogicalExpression","start":1575,"end":1781,"operator":"&&","left":{"type":"LogicalExpression","start":1576,"end":1621,"operator":"||","left":{"type":"BinaryExpression","start":1576,"end":1608,"operator":"===","left":{"type":"UnaryExpression","start":1576,"end":1592,"operator":"typeof","argument":{"type":"Identifier","start":1583,"end":1592,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":1597,"end":1608,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1612,"end":1621,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":1626,"end":1781,"optional":false,"callee":{"type":"MemberExpression","start":1626,"end":1647,"computed":false,"optional":false,"object":{"type":"Identifier","start":1626,"end":1628,"name":"i0"},"property":{"type":"Identifier","start":1629,"end":1647,"name":"ɵsetClassDebugInfo"}},"arguments":[{"type":"Identifier","start":1648,"end":1675,"name":"FormioAuthRegisterComponent"},{"type":"ObjectExpression","start":1677,"end":1780,"properties":[{"type":"Property","start":1679,"end":1719,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1679,"end":1688,"name":"className"},"value":{"type":"Literal","start":1690,"end":1719,"value":"FormioAuthRegisterComponent","raw":"\"FormioAuthRegisterComponent\""},"kind":"init"},{"type":"Property","start":1721,"end":1763,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1721,"end":1729,"name":"filePath"},"value":{"type":"Literal","start":1731,"end":1763,"value":"register/register.component.ts","raw":"\"register/register.component.ts\""},"kind":"init"},{"type":"Property","start":1765,"end":1778,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1765,"end":1775,"name":"lineNumber"},"value":{"type":"Literal","start":1777,"end":1778,"raw":"6","value":6},"kind":"init"}]}]}}}]},"id":null},"arguments":[]}}],"_rollupRemoved":[{"end":3251,"start":1789,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../auth.service\";\nimport * as i2 from \"@formio/angular\";\nexport class FormioAuthRegisterComponent {\n service;\n renderOptions = {\n submitOnEnter: true\n };\n constructor(service) {\n this.service = service;\n }\n static ɵfac = function FormioAuthRegisterComponent_Factory(t) { return new (t || FormioAuthRegisterComponent)(i0.ɵɵdirectiveInject(i1.FormioAuthService)); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioAuthRegisterComponent, selectors: [[\"ng-component\"]], decls: 1, vars: 2, consts: [[3, \"submit\", \"src\", \"renderOptions\"]], template: function FormioAuthRegisterComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"formio\", 0);\n i0.ɵɵlistener(\"submit\", function FormioAuthRegisterComponent_Template_formio_submit_0_listener($event) { return ctx.service.onRegisterSubmit($event); });\n i0.ɵɵelementEnd();\n } if (rf & 2) {\n i0.ɵɵproperty(\"src\", ctx.service.registerForm)(\"renderOptions\", ctx.renderOptions);\n } }, dependencies: [i2.FormioComponent], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthRegisterComponent, [{\n type: Component,\n args: [{ template: \"<formio [src]=\\\"service.registerForm\\\" [renderOptions]=\\\"renderOptions\\\" (submit)=\\\"service.onRegisterSubmit($event)\\\"></formio>\\n\" }]\n }], () => [{ type: i1.FormioAuthService }], null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioAuthRegisterComponent, { className: \"FormioAuthRegisterComponent\", filePath: \"register/register.component.ts\", lineNumber: 6 }); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXN0ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvcmVnaXN0ZXIvcmVnaXN0ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvcmVnaXN0ZXIvcmVnaXN0ZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQUsxQyxNQUFNLE9BQU8sMkJBQTJCO0lBSW5CO0lBSFosYUFBYSxHQUFRO1FBQzFCLGFBQWEsRUFBRSxJQUFJO0tBQ3BCLENBQUM7SUFDRixZQUFtQixPQUEwQjtRQUExQixZQUFPLEdBQVAsT0FBTyxDQUFtQjtJQUFHLENBQUM7cUZBSnRDLDJCQUEyQjs2REFBM0IsMkJBQTJCO1lDTHhDLGlDQUFpSDtZQUE1QyxnSEFBVSxvQ0FBZ0MsSUFBQztZQUFDLGlCQUFTOztZQUFyRixBQUE3Qiw4Q0FBNEIsb0NBQWdDOzs7aUZES3ZELDJCQUEyQjtjQUh2QyxTQUFTOzs7a0ZBR0csMkJBQTJCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBGb3JtaW9BdXRoU2VydmljZSB9IGZyb20gJy4uL2F1dGguc2VydmljZSc7XG5AQ29tcG9uZW50KHtcbiAgdGVtcGxhdGVVcmw6ICcuL3JlZ2lzdGVyLmNvbXBvbmVudC5odG1sJ1xufSlcbmV4cG9ydCBjbGFzcyBGb3JtaW9BdXRoUmVnaXN0ZXJDb21wb25lbnQge1xuICBwdWJsaWMgcmVuZGVyT3B0aW9uczogYW55ID0ge1xuICAgIHN1Ym1pdE9uRW50ZXI6IHRydWVcbiAgfTtcbiAgY29uc3RydWN0b3IocHVibGljIHNlcnZpY2U6IEZvcm1pb0F1dGhTZXJ2aWNlKSB7fVxufVxuIiwiPGZvcm1pbyBbc3JjXT1cInNlcnZpY2UucmVnaXN0ZXJGb3JtXCIgW3JlbmRlck9wdGlvbnNdPVwicmVuZGVyT3B0aW9uc1wiIChzdWJtaXQpPVwic2VydmljZS5vblJlZ2lzdGVyU3VibWl0KCRldmVudClcIj48L2Zvcm1pbz5cbiJdfQ==","customTransformCache":false,"dependencies":["@angular/core","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","@formio/angular"],"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/register/register.component.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../auth.service\";\nimport * as i2 from \"@formio/angular\";\nexport class FormioAuthRegisterComponent {\n service;\n renderOptions = {\n submitOnEnter: true\n };\n constructor(service) {\n this.service = service;\n }\n static ɵfac = function FormioAuthRegisterComponent_Factory(t) { return new (t || FormioAuthRegisterComponent)(i0.ɵɵdirectiveInject(i1.FormioAuthService)); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioAuthRegisterComponent, selectors: [[\"ng-component\"]], decls: 1, vars: 2, consts: [[3, \"submit\", \"src\", \"renderOptions\"]], template: function FormioAuthRegisterComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"formio\", 0);\n i0.ɵɵlistener(\"submit\", function FormioAuthRegisterComponent_Template_formio_submit_0_listener($event) { return ctx.service.onRegisterSubmit($event); });\n i0.ɵɵelementEnd();\n } if (rf & 2) {\n i0.ɵɵproperty(\"src\", ctx.service.registerForm)(\"renderOptions\", ctx.renderOptions);\n } }, dependencies: [i2.FormioComponent], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuthRegisterComponent, [{\n type: Component,\n args: [{ template: \"<formio [src]=\\\"service.registerForm\\\" [renderOptions]=\\\"renderOptions\\\" (submit)=\\\"service.onRegisterSubmit($event)\\\"></formio>\\n\" }]\n }], () => [{ type: i1.FormioAuthService }], null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioAuthRegisterComponent, { className: \"FormioAuthRegisterComponent\", filePath: \"register/register.component.ts\", lineNumber: 6 }); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXN0ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvcmVnaXN0ZXIvcmVnaXN0ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvcmVnaXN0ZXIvcmVnaXN0ZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQUsxQyxNQUFNLE9BQU8sMkJBQTJCO0lBSW5CO0lBSFosYUFBYSxHQUFRO1FBQzFCLGFBQWEsRUFBRSxJQUFJO0tBQ3BCLENBQUM7SUFDRixZQUFtQixPQUEwQjtRQUExQixZQUFPLEdBQVAsT0FBTyxDQUFtQjtJQUFHLENBQUM7cUZBSnRDLDJCQUEyQjs2REFBM0IsMkJBQTJCO1lDTHhDLGlDQUFpSDtZQUE1QyxnSEFBVSxvQ0FBZ0MsSUFBQztZQUFDLGlCQUFTOztZQUFyRixBQUE3Qiw4Q0FBNEIsb0NBQWdDOzs7aUZES3ZELDJCQUEyQjtjQUh2QyxTQUFTOzs7a0ZBR0csMkJBQTJCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBGb3JtaW9BdXRoU2VydmljZSB9IGZyb20gJy4uL2F1dGguc2VydmljZSc7XG5AQ29tcG9uZW50KHtcbiAgdGVtcGxhdGVVcmw6ICcuL3JlZ2lzdGVyLmNvbXBvbmVudC5odG1sJ1xufSlcbmV4cG9ydCBjbGFzcyBGb3JtaW9BdXRoUmVnaXN0ZXJDb21wb25lbnQge1xuICBwdWJsaWMgcmVuZGVyT3B0aW9uczogYW55ID0ge1xuICAgIHN1Ym1pdE9uRW50ZXI6IHRydWVcbiAgfTtcbiAgY29uc3RydWN0b3IocHVibGljIHNlcnZpY2U6IEZvcm1pb0F1dGhTZXJ2aWNlKSB7fVxufVxuIiwiPGZvcm1pbyBbc3JjXT1cInNlcnZpY2UucmVnaXN0ZXJGb3JtXCIgW3JlbmRlck9wdGlvbnNdPVwicmVuZGVyT3B0aW9uc1wiIChzdWJtaXQpPVwic2VydmljZS5vblJlZ2lzdGVyU3VibWl0KCRldmVudClcIj48L2Zvcm1pbz5cbiJdfQ==","originalSourcemap":{"version":3,"file":"register.component.js","sourceRoot":"","sources":["../../../../../projects/angular-formio/auth/src/register/register.component.ts","../../../../../projects/angular-formio/auth/src/register/register.component.html"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[18,0,0,18],[20,0,0,20],[26,0,0,26],[41,0,0,41],[42,0,0,42]],[],[],[],[[0,0,5,0],[6,0,5,6],[13,0,5,13],[40,0,5,40]],[[4,0,9,21]],[[4,0,6,9],[17,0,6,22],[20,0,6,30]],[[8,0,7,4],[21,0,7,17],[23,0,7,19],[27,0,7,23]],[[5,0,8,3],[6,0,8,4]],[[4,0,9,2],[16,0,9,21],[23,0,9,47]],[[8,0,9,21],[20,0,9,28],[23,0,9,21],[30,0,9,28],[31,0,9,47]],[[4,0,9,50],[5,0,9,51]],[[85,0,5,13],[112,0,5,40]],[[61,0,5,13],[88,0,5,40]],[[12,1,0,0],[45,1,0,113]],[[12,1,0,69],[124,1,0,79],[160,1,0,111],[164,1,0,112]],[[12,1,0,113],[29,1,0,122]],[],[[12,1,0,37],[12,1,0,8],[58,1,0,36],[94,1,0,68]],[],[],[[81,0,5,13],[108,0,5,40]],[[14,0,2,1],[23,0,2,10]],[],[],[[82,0,5,13],[109,0,5,40]]],"sourcesContent":["import { Component } from '@angular/core';\nimport { FormioAuthService } from '../auth.service';\n@Component({\n templateUrl: './register.component.html'\n})\nexport class FormioAuthRegisterComponent {\n public renderOptions: any = {\n submitOnEnter: true\n };\n constructor(public service: FormioAuthService) {}\n}\n","<formio [src]=\"service.registerForm\" [renderOptions]=\"renderOptions\" (submit)=\"service.onRegisterSubmit($event)\"></formio>\n"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@formio/angular":{"attributes":{},"external":true,"id":"@formio/angular","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"../auth.service":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":2882,"body":[{"type":"ImportDeclaration","start":0,"end":42,"specifiers":[{"type":"ImportSpecifier","start":9,"end":18,"imported":{"type":"Identifier","start":9,"end":18,"name":"Component"},"local":{"type":"Identifier","start":9,"end":18,"name":"Component"}}],"source":{"type":"Literal","start":26,"end":41,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":43,"end":79,"specifiers":[{"type":"ImportNamespaceSpecifier","start":50,"end":57,"local":{"type":"Identifier","start":55,"end":57,"name":"i0"}}],"source":{"type":"Literal","start":63,"end":78,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ImportDeclaration","start":80,"end":118,"specifiers":[{"type":"ImportNamespaceSpecifier","start":87,"end":94,"local":{"type":"Identifier","start":92,"end":94,"name":"i1"}}],"source":{"type":"Literal","start":100,"end":117,"value":"../auth.service","raw":"\"../auth.service\""},"attributes":[]},{"type":"ImportDeclaration","start":119,"end":157,"specifiers":[{"type":"ImportNamespaceSpecifier","start":126,"end":133,"local":{"type":"Identifier","start":131,"end":133,"name":"i2"}}],"source":{"type":"Literal","start":139,"end":156,"value":"@formio/angular","raw":"\"@formio/angular\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":158,"end":1077,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":165,"end":1077,"id":{"type":"Identifier","start":171,"end":195,"name":"FormioResetPassComponent"},"superClass":null,"body":{"type":"ClassBody","start":196,"end":1077,"body":[{"type":"PropertyDefinition","start":202,"end":210,"static":false,"computed":false,"key":{"type":"Identifier","start":202,"end":209,"name":"service"},"value":null},{"type":"MethodDefinition","start":215,"end":275,"static":false,"computed":false,"key":{"type":"Identifier","start":215,"end":226,"name":"constructor"},"value":{"type":"FunctionExpression","start":226,"end":275,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":227,"end":234,"name":"service"}],"body":{"type":"BlockStatement","start":236,"end":275,"body":[{"type":"ExpressionStatement","start":246,"end":269,"expression":{"type":"AssignmentExpression","start":246,"end":268,"operator":"=","left":{"type":"MemberExpression","start":246,"end":258,"computed":false,"optional":false,"object":{"type":"ThisExpression","start":246,"end":250},"property":{"type":"Identifier","start":251,"end":258,"name":"service"}},"right":{"type":"Identifier","start":261,"end":268,"name":"service"}}}]},"expression":false},"kind":"constructor"},{"type":"PropertyDefinition","start":280,"end":431,"static":true,"computed":false,"key":{"type":"Identifier","start":287,"end":291,"name":"ɵfac"},"value":{"type":"FunctionExpression","start":294,"end":430,"async":false,"generator":false,"id":{"type":"Identifier","start":303,"end":335,"name":"FormioResetPassComponent_Factory"},"params":[{"type":"Identifier","start":336,"end":337,"name":"t"}],"body":{"type":"BlockStatement","start":339,"end":430,"body":[{"type":"ReturnStatement","start":341,"end":428,"argument":{"type":"NewExpression","start":348,"end":427,"callee":{"type":"LogicalExpression","start":353,"end":382,"operator":"||","left":{"type":"Identifier","start":353,"end":354,"name":"t"},"right":{"type":"Identifier","start":358,"end":382,"name":"FormioResetPassComponent"}},"arguments":[{"type":"CallExpression","start":384,"end":426,"optional":false,"callee":{"type":"MemberExpression","start":384,"end":404,"computed":false,"optional":false,"object":{"type":"Identifier","start":384,"end":386,"name":"i0"},"property":{"type":"Identifier","start":387,"end":404,"name":"ɵɵdirectiveInject"}},"arguments":[{"type":"MemberExpression","start":405,"end":425,"computed":false,"optional":false,"object":{"type":"Identifier","start":405,"end":407,"name":"i1"},"property":{"type":"Identifier","start":408,"end":425,"name":"FormioAuthService"}}]}]}}]},"expression":false}},{"type":"PropertyDefinition","start":436,"end":1075,"static":true,"computed":false,"key":{"type":"Identifier","start":443,"end":447,"name":"ɵcmp"},"value":{"type":"CallExpression","start":464,"end":1074,"optional":false,"_rollupAnnotations":[{"end":463,"start":450,"type":"pure"}],"callee":{"type":"MemberExpression","start":464,"end":484,"computed":false,"optional":false,"object":{"type":"Identifier","start":464,"end":466,"name":"i0"},"property":{"type":"Identifier","start":467,"end":484,"name":"ɵɵdefineComponent"}},"arguments":[{"type":"ObjectExpression","start":485,"end":1073,"properties":[{"type":"Property","start":487,"end":517,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":487,"end":491,"name":"type"},"value":{"type":"Identifier","start":493,"end":517,"name":"FormioResetPassComponent"},"kind":"init"},{"type":"Property","start":519,"end":548,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":519,"end":528,"name":"selectors"},"value":{"type":"ArrayExpression","start":530,"end":548,"elements":[{"type":"ArrayExpression","start":531,"end":547,"elements":[{"type":"Literal","start":532,"end":546,"value":"ng-component","raw":"\"ng-component\""}]}]},"kind":"init"},{"type":"Property","start":550,"end":558,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":550,"end":555,"name":"decls"},"value":{"type":"Literal","start":557,"end":558,"raw":"1","value":1},"kind":"init"},{"type":"Property","start":560,"end":567,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":560,"end":564,"name":"vars"},"value":{"type":"Literal","start":566,"end":567,"raw":"1","value":1},"kind":"init"},{"type":"Property","start":569,"end":599,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":569,"end":575,"name":"consts"},"value":{"type":"ArrayExpression","start":577,"end":599,"elements":[{"type":"ArrayExpression","start":578,"end":598,"elements":[{"type":"Literal","start":579,"end":580,"raw":"3","value":3},{"type":"Literal","start":582,"end":590,"value":"submit","raw":"\"submit\""},{"type":"Literal","start":592,"end":597,"value":"src","raw":"\"src\""}]}]},"kind":"init"},{"type":"Property","start":601,"end":1017,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":601,"end":609,"name":"template"},"value":{"type":"FunctionExpression","start":611,"end":1017,"async":false,"generator":false,"id":{"type":"Identifier","start":620,"end":653,"name":"FormioResetPassComponent_Template"},"params":[{"type":"Identifier","start":654,"end":656,"name":"rf"},{"type":"Identifier","start":658,"end":661,"name":"ctx"}],"body":{"type":"BlockStatement","start":663,"end":1017,"body":[{"type":"IfStatement","start":665,"end":930,"test":{"type":"BinaryExpression","start":669,"end":675,"operator":"&","left":{"type":"Identifier","start":669,"end":671,"name":"rf"},"right":{"type":"Literal","start":674,"end":675,"raw":"1","value":1}},"consequent":{"type":"BlockStatement","start":677,"end":930,"body":[{"type":"ExpressionStatement","start":691,"end":725,"expression":{"type":"CallExpression","start":691,"end":724,"optional":false,"callee":{"type":"MemberExpression","start":691,"end":708,"computed":false,"optional":false,"object":{"type":"Identifier","start":691,"end":693,"name":"i0"},"property":{"type":"Identifier","start":694,"end":708,"name":"ɵɵelementStart"}},"arguments":[{"type":"Literal","start":709,"end":710,"raw":"0","value":0},{"type":"Literal","start":712,"end":720,"value":"formio","raw":"\"formio\""},{"type":"Literal","start":722,"end":723,"raw":"0","value":0}]}},{"type":"ExpressionStatement","start":738,"end":889,"expression":{"type":"CallExpression","start":738,"end":888,"optional":false,"callee":{"type":"MemberExpression","start":738,"end":751,"computed":false,"optional":false,"object":{"type":"Identifier","start":738,"end":740,"name":"i0"},"property":{"type":"Identifier","start":741,"end":751,"name":"ɵɵlistener"}},"arguments":[{"type":"Literal","start":752,"end":760,"value":"submit","raw":"\"submit\""},{"type":"FunctionExpression","start":762,"end":887,"async":false,"generator":false,"id":{"type":"Identifier","start":771,"end":829,"name":"FormioResetPassComponent_Template_formio_submit_0_listener"},"params":[{"type":"Identifier","start":830,"end":836,"name":"$event"}],"body":{"type":"BlockStatement","start":838,"end":887,"body":[{"type":"ReturnStatement","start":840,"end":885,"argument":{"type":"CallExpression","start":847,"end":884,"optional":false,"callee":{"type":"MemberExpression","start":847,"end":876,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":847,"end":858,"computed":false,"optional":false,"object":{"type":"Identifier","start":847,"end":850,"name":"ctx"},"property":{"type":"Identifier","start":851,"end":858,"name":"service"}},"property":{"type":"Identifier","start":859,"end":876,"name":"onResetPassSubmit"}},"arguments":[{"type":"Identifier","start":877,"end":883,"name":"$event"}]}}]},"expression":false}]}},{"type":"ExpressionStatement","start":902,"end":920,"expression":{"type":"CallExpression","start":902,"end":919,"optional":false,"callee":{"type":"MemberExpression","start":902,"end":917,"computed":false,"optional":false,"object":{"type":"Identifier","start":902,"end":904,"name":"i0"},"property":{"type":"Identifier","start":905,"end":917,"name":"ɵɵelementEnd"}},"arguments":[]}}]},"alternate":null},{"type":"IfStatement","start":931,"end":1015,"test":{"type":"BinaryExpression","start":935,"end":941,"operator":"&","left":{"type":"Identifier","start":935,"end":937,"name":"rf"},"right":{"type":"Literal","start":940,"end":941,"raw":"2","value":2}},"consequent":{"type":"BlockStatement","start":943,"end":1015,"body":[{"type":"ExpressionStatement","start":957,"end":1005,"expression":{"type":"CallExpression","start":957,"end":1004,"optional":false,"callee":{"type":"MemberExpression","start":957,"end":970,"computed":false,"optional":false,"object":{"type":"Identifier","start":957,"end":959,"name":"i0"},"property":{"type":"Identifier","start":960,"end":970,"name":"ɵɵproperty"}},"arguments":[{"type":"Literal","start":971,"end":976,"value":"src","raw":"\"src\""},{"type":"MemberExpression","start":978,"end":1003,"computed":false,"optional":false,"object":{"type":"MemberExpression","start":978,"end":989,"computed":false,"optional":false,"object":{"type":"Identifier","start":978,"end":981,"name":"ctx"},"property":{"type":"Identifier","start":982,"end":989,"name":"service"}},"property":{"type":"Identifier","start":990,"end":1003,"name":"resetPassForm"}}]}}]},"alternate":null}]},"expression":false},"kind":"init"},{"type":"Property","start":1019,"end":1053,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1019,"end":1031,"name":"dependencies"},"value":{"type":"ArrayExpression","start":1033,"end":1053,"elements":[{"type":"MemberExpression","start":1034,"end":1052,"computed":false,"optional":false,"object":{"type":"Identifier","start":1034,"end":1036,"name":"i2"},"property":{"type":"Identifier","start":1037,"end":1052,"name":"FormioComponent"}}]},"kind":"init"},{"type":"Property","start":1055,"end":1071,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1055,"end":1068,"name":"encapsulation"},"value":{"type":"Literal","start":1070,"end":1071,"raw":"2","value":2},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":1078,"end":1404,"expression":{"type":"CallExpression","start":1078,"end":1403,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":1079,"end":1400,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":1085,"end":1400,"body":[{"type":"ExpressionStatement","start":1087,"end":1398,"expression":{"type":"LogicalExpression","start":1087,"end":1397,"operator":"&&","left":{"type":"LogicalExpression","start":1088,"end":1133,"operator":"||","left":{"type":"BinaryExpression","start":1088,"end":1120,"operator":"===","left":{"type":"UnaryExpression","start":1088,"end":1104,"operator":"typeof","argument":{"type":"Identifier","start":1095,"end":1104,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":1109,"end":1120,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1124,"end":1133,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":1138,"end":1397,"optional":false,"callee":{"type":"MemberExpression","start":1138,"end":1158,"computed":false,"optional":false,"object":{"type":"Identifier","start":1138,"end":1140,"name":"i0"},"property":{"type":"Identifier","start":1141,"end":1158,"name":"ɵsetClassMetadata"}},"arguments":[{"type":"Identifier","start":1159,"end":1183,"name":"FormioResetPassComponent"},{"type":"ArrayExpression","start":1185,"end":1350,"elements":[{"type":"ObjectExpression","start":1186,"end":1349,"properties":[{"type":"Property","start":1196,"end":1211,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1196,"end":1200,"name":"type"},"value":{"type":"Identifier","start":1202,"end":1211,"name":"Component"},"kind":"init"},{"type":"Property","start":1221,"end":1343,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1221,"end":1225,"name":"args"},"value":{"type":"ArrayExpression","start":1227,"end":1343,"elements":[{"type":"ObjectExpression","start":1228,"end":1342,"properties":[{"type":"Property","start":1230,"end":1340,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1230,"end":1238,"name":"template"},"value":{"type":"Literal","start":1240,"end":1340,"value":"<formio [src]=\"service.resetPassForm\" (submit)=\"service.onResetPassSubmit($event)\"></formio>\n","raw":"\"<formio [src]=\\\"service.resetPassForm\\\" (submit)=\\\"service.onResetPassSubmit($event)\\\"></formio>\\n\""},"kind":"init"}]}]},"kind":"init"}]}]},{"type":"ArrowFunctionExpression","start":1352,"end":1390,"async":false,"expression":true,"generator":false,"params":[],"body":{"type":"ArrayExpression","start":1358,"end":1390,"elements":[{"type":"ObjectExpression","start":1359,"end":1389,"properties":[{"type":"Property","start":1361,"end":1387,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1361,"end":1365,"name":"type"},"value":{"type":"MemberExpression","start":1367,"end":1387,"computed":false,"optional":false,"object":{"type":"Identifier","start":1367,"end":1369,"name":"i1"},"property":{"type":"Identifier","start":1370,"end":1387,"name":"FormioAuthService"}},"kind":"init"}]}]},"id":null},{"type":"Literal","start":1392,"end":1396,"raw":"null","value":null}]}}}]},"id":null},"arguments":[]}},{"type":"ExpressionStatement","start":1405,"end":1623,"expression":{"type":"CallExpression","start":1405,"end":1622,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":1406,"end":1619,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":1412,"end":1619,"body":[{"type":"ExpressionStatement","start":1414,"end":1617,"expression":{"type":"LogicalExpression","start":1414,"end":1616,"operator":"&&","left":{"type":"LogicalExpression","start":1415,"end":1460,"operator":"||","left":{"type":"BinaryExpression","start":1415,"end":1447,"operator":"===","left":{"type":"UnaryExpression","start":1415,"end":1431,"operator":"typeof","argument":{"type":"Identifier","start":1422,"end":1431,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":1436,"end":1447,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1451,"end":1460,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":1465,"end":1616,"optional":false,"callee":{"type":"MemberExpression","start":1465,"end":1486,"computed":false,"optional":false,"object":{"type":"Identifier","start":1465,"end":1467,"name":"i0"},"property":{"type":"Identifier","start":1468,"end":1486,"name":"ɵsetClassDebugInfo"}},"arguments":[{"type":"Identifier","start":1487,"end":1511,"name":"FormioResetPassComponent"},{"type":"ObjectExpression","start":1513,"end":1615,"properties":[{"type":"Property","start":1515,"end":1552,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1515,"end":1524,"name":"className"},"value":{"type":"Literal","start":1526,"end":1552,"value":"FormioResetPassComponent","raw":"\"FormioResetPassComponent\""},"kind":"init"},{"type":"Property","start":1554,"end":1598,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1554,"end":1562,"name":"filePath"},"value":{"type":"Literal","start":1564,"end":1598,"value":"resetpass/resetpass.component.ts","raw":"\"resetpass/resetpass.component.ts\""},"kind":"init"},{"type":"Property","start":1600,"end":1613,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1600,"end":1610,"name":"lineNumber"},"value":{"type":"Literal","start":1612,"end":1613,"raw":"6","value":6},"kind":"init"}]}]}}}]},"id":null},"arguments":[]}}],"_rollupRemoved":[{"end":2882,"start":1624,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../auth.service\";\nimport * as i2 from \"@formio/angular\";\nexport class FormioResetPassComponent {\n service;\n constructor(service) {\n this.service = service;\n }\n static ɵfac = function FormioResetPassComponent_Factory(t) { return new (t || FormioResetPassComponent)(i0.ɵɵdirectiveInject(i1.FormioAuthService)); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioResetPassComponent, selectors: [[\"ng-component\"]], decls: 1, vars: 1, consts: [[3, \"submit\", \"src\"]], template: function FormioResetPassComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"formio\", 0);\n i0.ɵɵlistener(\"submit\", function FormioResetPassComponent_Template_formio_submit_0_listener($event) { return ctx.service.onResetPassSubmit($event); });\n i0.ɵɵelementEnd();\n } if (rf & 2) {\n i0.ɵɵproperty(\"src\", ctx.service.resetPassForm);\n } }, dependencies: [i2.FormioComponent], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioResetPassComponent, [{\n type: Component,\n args: [{ template: \"<formio [src]=\\\"service.resetPassForm\\\" (submit)=\\\"service.onResetPassSubmit($event)\\\"></formio>\\n\" }]\n }], () => [{ type: i1.FormioAuthService }], null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioResetPassComponent, { className: \"FormioResetPassComponent\", filePath: \"resetpass/resetpass.component.ts\", lineNumber: 6 }); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzZXRwYXNzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2F1dGgvc3JjL3Jlc2V0cGFzcy9yZXNldHBhc3MuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvcmVzZXRwYXNzL3Jlc2V0cGFzcy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7O0FBSzFDLE1BQU0sT0FBTyx3QkFBd0I7SUFDaEI7SUFBbkIsWUFBbUIsT0FBMEI7UUFBMUIsWUFBTyxHQUFQLE9BQU8sQ0FBbUI7SUFBRyxDQUFDO2tGQUR0Qyx3QkFBd0I7NkRBQXhCLHdCQUF3QjtZQ0xyQyxpQ0FBbUY7WUFBN0MsNkdBQVUscUNBQWlDLElBQUM7WUFBQyxpQkFBUzs7WUFBcEYsK0NBQTZCOzs7aUZES3hCLHdCQUF3QjtjQUhwQyxTQUFTOzs7a0ZBR0csd0JBQXdCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBGb3JtaW9BdXRoU2VydmljZSB9IGZyb20gJy4uL2F1dGguc2VydmljZSc7XG5AQ29tcG9uZW50KHtcbiAgdGVtcGxhdGVVcmw6ICcuL3Jlc2V0cGFzcy5jb21wb25lbnQuaHRtbCdcbn0pXG5leHBvcnQgY2xhc3MgRm9ybWlvUmVzZXRQYXNzQ29tcG9uZW50IHtcbiAgY29uc3RydWN0b3IocHVibGljIHNlcnZpY2U6IEZvcm1pb0F1dGhTZXJ2aWNlKSB7fVxufVxuIiwiPGZvcm1pbyBbc3JjXT1cInNlcnZpY2UucmVzZXRQYXNzRm9ybVwiIChzdWJtaXQpPVwic2VydmljZS5vblJlc2V0UGFzc1N1Ym1pdCgkZXZlbnQpXCI+PC9mb3JtaW8+XG4iXX0=","customTransformCache":false,"dependencies":["@angular/core","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","@formio/angular"],"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { Component } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../auth.service\";\nimport * as i2 from \"@formio/angular\";\nexport class FormioResetPassComponent {\n service;\n constructor(service) {\n this.service = service;\n }\n static ɵfac = function FormioResetPassComponent_Factory(t) { return new (t || FormioResetPassComponent)(i0.ɵɵdirectiveInject(i1.FormioAuthService)); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioResetPassComponent, selectors: [[\"ng-component\"]], decls: 1, vars: 1, consts: [[3, \"submit\", \"src\"]], template: function FormioResetPassComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"formio\", 0);\n i0.ɵɵlistener(\"submit\", function FormioResetPassComponent_Template_formio_submit_0_listener($event) { return ctx.service.onResetPassSubmit($event); });\n i0.ɵɵelementEnd();\n } if (rf & 2) {\n i0.ɵɵproperty(\"src\", ctx.service.resetPassForm);\n } }, dependencies: [i2.FormioComponent], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioResetPassComponent, [{\n type: Component,\n args: [{ template: \"<formio [src]=\\\"service.resetPassForm\\\" (submit)=\\\"service.onResetPassSubmit($event)\\\"></formio>\\n\" }]\n }], () => [{ type: i1.FormioAuthService }], null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioResetPassComponent, { className: \"FormioResetPassComponent\", filePath: \"resetpass/resetpass.component.ts\", lineNumber: 6 }); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzZXRwYXNzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2F1dGgvc3JjL3Jlc2V0cGFzcy9yZXNldHBhc3MuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vYXV0aC9zcmMvcmVzZXRwYXNzL3Jlc2V0cGFzcy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7O0FBSzFDLE1BQU0sT0FBTyx3QkFBd0I7SUFDaEI7SUFBbkIsWUFBbUIsT0FBMEI7UUFBMUIsWUFBTyxHQUFQLE9BQU8sQ0FBbUI7SUFBRyxDQUFDO2tGQUR0Qyx3QkFBd0I7NkRBQXhCLHdCQUF3QjtZQ0xyQyxpQ0FBbUY7WUFBN0MsNkdBQVUscUNBQWlDLElBQUM7WUFBQyxpQkFBUzs7WUFBcEYsK0NBQTZCOzs7aUZES3hCLHdCQUF3QjtjQUhwQyxTQUFTOzs7a0ZBR0csd0JBQXdCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBGb3JtaW9BdXRoU2VydmljZSB9IGZyb20gJy4uL2F1dGguc2VydmljZSc7XG5AQ29tcG9uZW50KHtcbiAgdGVtcGxhdGVVcmw6ICcuL3Jlc2V0cGFzcy5jb21wb25lbnQuaHRtbCdcbn0pXG5leHBvcnQgY2xhc3MgRm9ybWlvUmVzZXRQYXNzQ29tcG9uZW50IHtcbiAgY29uc3RydWN0b3IocHVibGljIHNlcnZpY2U6IEZvcm1pb0F1dGhTZXJ2aWNlKSB7fVxufVxuIiwiPGZvcm1pbyBbc3JjXT1cInNlcnZpY2UucmVzZXRQYXNzRm9ybVwiIChzdWJtaXQpPVwic2VydmljZS5vblJlc2V0UGFzc1N1Ym1pdCgkZXZlbnQpXCI+PC9mb3JtaW8+XG4iXX0=","originalSourcemap":{"version":3,"file":"resetpass.component.js","sourceRoot":"","sources":["../../../../../projects/angular-formio/auth/src/resetpass/resetpass.component.ts","../../../../../projects/angular-formio/auth/src/resetpass/resetpass.component.html"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[18,0,0,18],[20,0,0,20],[26,0,0,26],[41,0,0,41],[42,0,0,42]],[],[],[],[[0,0,5,0],[6,0,5,6],[13,0,5,13],[37,0,5,37]],[[4,0,6,21]],[[4,0,6,2],[16,0,6,21],[23,0,6,47]],[[8,0,6,21],[20,0,6,28],[23,0,6,21],[30,0,6,28],[31,0,6,47]],[[4,0,6,50],[5,0,6,51]],[[82,0,5,13],[106,0,5,37]],[[61,0,5,13],[85,0,5,37]],[[12,1,0,0],[45,1,0,83]],[[12,1,0,38],[121,1,0,48],[158,1,0,81],[162,1,0,82]],[[12,1,0,83],[29,1,0,92]],[],[[12,1,0,8],[59,1,0,37]],[],[],[[81,0,5,13],[105,0,5,37]],[[14,0,2,1],[23,0,2,10]],[],[],[[82,0,5,13],[106,0,5,37]]],"sourcesContent":["import { Component } from '@angular/core';\nimport { FormioAuthService } from '../auth.service';\n@Component({\n templateUrl: './resetpass.component.html'\n})\nexport class FormioResetPassComponent {\n constructor(public service: FormioAuthService) {}\n}\n","<formio [src]=\"service.resetPassForm\" (submit)=\"service.onResetPassSubmit($event)\"></formio>\n"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@formio/angular":{"attributes":{},"external":true,"id":"@formio/angular","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"../auth.service":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":4123,"body":[{"type":"ImportDeclaration","start":0,"end":55,"specifiers":[{"type":"ImportSpecifier","start":9,"end":28,"imported":{"type":"Identifier","start":9,"end":28,"name":"FormioAuthComponent"},"local":{"type":"Identifier","start":9,"end":28,"name":"FormioAuthComponent"}}],"source":{"type":"Literal","start":36,"end":54,"value":"./auth.component","raw":"'./auth.component'"},"attributes":[]},{"type":"ImportDeclaration","start":56,"end":123,"specifiers":[{"type":"ImportSpecifier","start":65,"end":89,"imported":{"type":"Identifier","start":65,"end":89,"name":"FormioAuthLoginComponent"},"local":{"type":"Identifier","start":65,"end":89,"name":"FormioAuthLoginComponent"}}],"source":{"type":"Literal","start":97,"end":122,"value":"./login/login.component","raw":"'./login/login.component'"},"attributes":[]},{"type":"ImportDeclaration","start":124,"end":200,"specifiers":[{"type":"ImportSpecifier","start":133,"end":160,"imported":{"type":"Identifier","start":133,"end":160,"name":"FormioAuthRegisterComponent"},"local":{"type":"Identifier","start":133,"end":160,"name":"FormioAuthRegisterComponent"}}],"source":{"type":"Literal","start":168,"end":199,"value":"./register/register.component","raw":"'./register/register.component'"},"attributes":[]},{"type":"ImportDeclaration","start":201,"end":276,"specifiers":[{"type":"ImportSpecifier","start":210,"end":234,"imported":{"type":"Identifier","start":210,"end":234,"name":"FormioResetPassComponent"},"local":{"type":"Identifier","start":210,"end":234,"name":"FormioResetPassComponent"}}],"source":{"type":"Literal","start":242,"end":275,"value":"./resetpass/resetpass.component","raw":"'./resetpass/resetpass.component'"},"attributes":[]},{"type":"ExportNamedDeclaration","start":277,"end":1176,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"FunctionDeclaration","start":284,"end":1176,"async":false,"generator":false,"id":{"type":"Identifier","start":293,"end":309,"name":"FormioAuthRoutes"},"params":[{"type":"Identifier","start":310,"end":316,"name":"config"}],"body":{"type":"BlockStatement","start":318,"end":1176,"body":[{"type":"ReturnStatement","start":324,"end":1174,"argument":{"type":"ArrayExpression","start":331,"end":1173,"elements":[{"type":"ObjectExpression","start":341,"end":1167,"properties":[{"type":"Property","start":355,"end":363,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":355,"end":359,"name":"path"},"value":{"type":"Literal","start":361,"end":363,"value":"","raw":"''"},"kind":"init"},{"type":"Property","start":377,"end":445,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":377,"end":386,"name":"component"},"value":{"type":"ConditionalExpression","start":388,"end":445,"test":{"type":"LogicalExpression","start":388,"end":409,"operator":"&&","left":{"type":"Identifier","start":388,"end":394,"name":"config"},"right":{"type":"MemberExpression","start":398,"end":409,"computed":false,"optional":false,"object":{"type":"Identifier","start":398,"end":404,"name":"config"},"property":{"type":"Identifier","start":405,"end":409,"name":"auth"}}},"consequent":{"type":"MemberExpression","start":412,"end":423,"computed":false,"optional":false,"object":{"type":"Identifier","start":412,"end":418,"name":"config"},"property":{"type":"Identifier","start":419,"end":423,"name":"auth"}},"alternate":{"type":"Identifier","start":426,"end":445,"name":"FormioAuthComponent"}},"kind":"init"},{"type":"Property","start":459,"end":1157,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":459,"end":467,"name":"children"},"value":{"type":"ArrayExpression","start":469,"end":1157,"elements":[{"type":"ObjectExpression","start":487,"end":615,"properties":[{"type":"Property","start":509,"end":517,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":509,"end":513,"name":"path"},"value":{"type":"Literal","start":515,"end":517,"value":"","raw":"''"},"kind":"init"},{"type":"Property","start":539,"end":558,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":539,"end":549,"name":"redirectTo"},"value":{"type":"Literal","start":551,"end":558,"value":"login","raw":"'login'"},"kind":"init"},{"type":"Property","start":580,"end":597,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":580,"end":589,"name":"pathMatch"},"value":{"type":"Literal","start":591,"end":597,"value":"full","raw":"'full'"},"kind":"init"}]},{"type":"ObjectExpression","start":633,"end":783,"properties":[{"type":"Property","start":655,"end":668,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":655,"end":659,"name":"path"},"value":{"type":"Literal","start":661,"end":668,"value":"login","raw":"'login'"},"kind":"init"},{"type":"Property","start":690,"end":765,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":690,"end":699,"name":"component"},"value":{"type":"ConditionalExpression","start":701,"end":765,"test":{"type":"LogicalExpression","start":701,"end":723,"operator":"&&","left":{"type":"Identifier","start":701,"end":707,"name":"config"},"right":{"type":"MemberExpression","start":711,"end":723,"computed":false,"optional":false,"object":{"type":"Identifier","start":711,"end":717,"name":"config"},"property":{"type":"Identifier","start":718,"end":723,"name":"login"}}},"consequent":{"type":"MemberExpression","start":726,"end":738,"computed":false,"optional":false,"object":{"type":"Identifier","start":726,"end":732,"name":"config"},"property":{"type":"Identifier","start":733,"end":738,"name":"login"}},"alternate":{"type":"Identifier","start":741,"end":765,"name":"FormioAuthLoginComponent"}},"kind":"init"}]},{"type":"ObjectExpression","start":801,"end":963,"properties":[{"type":"Property","start":823,"end":839,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":823,"end":827,"name":"path"},"value":{"type":"Literal","start":829,"end":839,"value":"register","raw":"'register'"},"kind":"init"},{"type":"Property","start":861,"end":945,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":861,"end":870,"name":"component"},"value":{"type":"ConditionalExpression","start":872,"end":945,"test":{"type":"LogicalExpression","start":872,"end":897,"operator":"&&","left":{"type":"Identifier","start":872,"end":878,"name":"config"},"right":{"type":"MemberExpression","start":882,"end":897,"computed":false,"optional":false,"object":{"type":"Identifier","start":882,"end":888,"name":"config"},"property":{"type":"Identifier","start":889,"end":897,"name":"register"}}},"consequent":{"type":"MemberExpression","start":900,"end":915,"computed":false,"optional":false,"object":{"type":"Identifier","start":900,"end":906,"name":"config"},"property":{"type":"Identifier","start":907,"end":915,"name":"register"}},"alternate":{"type":"Identifier","start":918,"end":945,"name":"FormioAuthRegisterComponent"}},"kind":"init"}]},{"type":"ObjectExpression","start":981,"end":1143,"properties":[{"type":"Property","start":1003,"end":1020,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1003,"end":1007,"name":"path"},"value":{"type":"Literal","start":1009,"end":1020,"value":"resetpass","raw":"'resetpass'"},"kind":"init"},{"type":"Property","start":1042,"end":1125,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1042,"end":1051,"name":"component"},"value":{"type":"ConditionalExpression","start":1053,"end":1125,"test":{"type":"LogicalExpression","start":1053,"end":1079,"operator":"&&","left":{"type":"Identifier","start":1053,"end":1059,"name":"config"},"right":{"type":"MemberExpression","start":1063,"end":1079,"computed":false,"optional":false,"object":{"type":"Identifier","start":1063,"end":1069,"name":"config"},"property":{"type":"Identifier","start":1070,"end":1079,"name":"resetpass"}}},"consequent":{"type":"MemberExpression","start":1082,"end":1098,"computed":false,"optional":false,"object":{"type":"Identifier","start":1082,"end":1088,"name":"config"},"property":{"type":"Identifier","start":1089,"end":1098,"name":"resetpass"}},"alternate":{"type":"Identifier","start":1101,"end":1125,"name":"FormioResetPassComponent"}},"kind":"init"}]}]},"kind":"init"}]}]}}]},"expression":false}}],"_rollupRemoved":[{"end":4123,"start":1177,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { FormioAuthComponent } from './auth.component';\nimport { FormioAuthLoginComponent } from './login/login.component';\nimport { FormioAuthRegisterComponent } from './register/register.component';\nimport { FormioResetPassComponent } from './resetpass/resetpass.component';\nexport function FormioAuthRoutes(config) {\n return [\n {\n path: '',\n component: config && config.auth ? config.auth : FormioAuthComponent,\n children: [\n {\n path: '',\n redirectTo: 'login',\n pathMatch: 'full'\n },\n {\n path: 'login',\n component: config && config.login ? config.login : FormioAuthLoginComponent\n },\n {\n path: 'register',\n component: config && config.register ? config.register : FormioAuthRegisterComponent\n },\n {\n path: 'resetpass',\n component: config && config.resetpass ? config.resetpass : FormioResetPassComponent\n }\n ]\n }\n ];\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5yb3V0ZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9hdXRoL3NyYy9hdXRoLnJvdXRlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUN2RCxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUNuRSxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUM1RSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxp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vbmZpZyAmJiBjb25maWcucmVnaXN0ZXIgPyBjb25maWcucmVnaXN0ZXIgOiBGb3JtaW9BdXRoUmVnaXN0ZXJDb21wb25lbnRcbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIHBhdGg6ICdyZXNldHBhc3MnLFxuICAgICAgICAgIGNvbXBvbmVudDogY29uZmlnICYmIGNvbmZpZy5yZXNldHBhc3MgPyBjb25maWcucmVzZXRwYXNzIDogRm9ybWlvUmVzZXRQYXNzQ29tcG9uZW50XG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9XG4gIF07XG59XG4iXX0=","customTransformCache":false,"dependencies":["/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/login/login.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/register/register.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs"],"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.routes.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { FormioAuthComponent } from './auth.component';\nimport { FormioAuthLoginComponent } from './login/login.component';\nimport { FormioAuthRegisterComponent } from './register/register.component';\nimport { FormioResetPassComponent } from './resetpass/resetpass.component';\nexport function FormioAuthRoutes(config) {\n return [\n {\n path: '',\n component: config && config.auth ? config.auth : FormioAuthComponent,\n children: [\n {\n path: '',\n redirectTo: 'login',\n pathMatch: 'full'\n },\n {\n path: 'login',\n component: config && config.login ? config.login : FormioAuthLoginComponent\n },\n {\n path: 'register',\n component: config && config.register ? config.register : FormioAuthRegisterComponent\n },\n {\n path: 'resetpass',\n component: config && config.resetpass ? config.resetpass : FormioResetPassComponent\n }\n ]\n }\n ];\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5yb3V0ZXMuanMiLCJzb3VyY2VSb290IjoiI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ICAgICAgICBwYXRoOiAnJyxcbiAgICAgICAgICByZWRpcmVjdFRvOiAnbG9naW4nLFxuICAgICAgICAgIHBhdGhNYXRjaDogJ2Z1bGwnXG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBwYXRoOiAnbG9naW4nLFxuICAgICAgICAgIGNvbXBvbmVudDogY29uZmlnICYmIGNvbmZpZy5sb2dpbiA/IGNvbmZpZy5sb2dpbiA6IEZvcm1pb0F1dGhMb2dpbkNvbXBvbmVudFxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgcGF0aDogJ3JlZ2lzdGVyJyxcbiAgICAgICAgICBjb21wb25lbnQ6IGNvbmZpZyAmJiBjb25maWcucmVnaXN0ZXIgPyBjb25maWcucmVnaXN0ZXIgOiBGb3JtaW9BdXRoUmVnaXN0ZXJDb21wb25lbnRcbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIHBhdGg6ICdyZXNldHBhc3MnLFxuICAgICAgICAgIGNvbXBvbmVudDogY29uZmlnICYmIGNvbmZpZy5yZXNldHBhc3MgPyBjb25maWcucmVzZXRwYXNzIDogRm9ybWlvUmVzZXRQYXNzQ29tcG9uZW50XG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9XG4gIF07XG59XG4iXX0=","originalSourcemap":{"version":3,"file":"auth.routes.js","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/auth.routes.ts"],"names":[],"mappings":[[[0,0,2,0],[7,0,2,7],[9,0,2,9],[28,0,2,28],[30,0,2,30],[36,0,2,36],[54,0,2,54],[55,0,2,55]],[[0,0,3,0],[7,0,3,7],[9,0,3,9],[33,0,3,33],[35,0,3,35],[41,0,3,41],[66,0,3,66],[67,0,3,67]],[[0,0,4,0],[7,0,4,7],[9,0,4,9],[36,0,4,36],[38,0,4,38],[44,0,4,44],[75,0,4,75],[76,0,4,76]],[[0,0,5,0],[7,0,5,7],[9,0,5,9],[33,0,5,33],[35,0,5,35],[41,0,5,41],[74,0,5,74],[75,0,5,75]],[[0,0,7,0],[6,0,7,6],[16,0,7,16],[32,0,7,32],[33,0,7,33],[39,0,7,63]],[[4,0,8,2],[11,0,8,9]],[[8,0,9,4]],[[12,0,10,6],[16,0,10,10],[18,0,10,12],[20,0,10,14]],[[12,0,11,6],[21,0,11,15],[23,0,11,17],[29,0,11,23],[33,0,11,27],[39,0,11,33],[40,0,11,34],[44,0,11,38],[45,0,11,39],[46,0,11,40],[47,0,11,41],[53,0,11,47],[54,0,11,48],[58,0,11,52],[59,0,11,53],[60,0,11,54],[61,0,11,55],[80,0,11,74]],[[12,0,12,6],[20,0,12,14],[22,0,12,16]],[[16,0,13,8]],[[20,0,14,10],[24,0,14,14],[26,0,14,16],[28,0,14,18]],[[20,0,15,10],[30,0,15,20],[32,0,15,22],[39,0,15,29]],[[20,0,16,10],[29,0,16,19],[31,0,16,21],[37,0,16,27]],[[17,0,17,9]],[[16,0,18,8]],[[20,0,19,10],[24,0,19,14],[26,0,19,16],[33,0,19,23]],[[20,0,20,10],[29,0,20,19],[31,0,20,21],[37,0,20,27],[41,0,20,31],[47,0,20,37],[48,0,20,38],[53,0,20,43],[54,0,20,44],[55,0,20,45],[56,0,20,46],[62,0,20,52],[63,0,20,53],[68,0,20,58],[69,0,20,59],[70,0,20,60],[71,0,20,61],[95,0,20,85]],[[17,0,21,9]],[[16,0,22,8]],[[20,0,23,10],[24,0,23,14],[26,0,23,16],[36,0,23,26]],[[20,0,24,10],[29,0,24,19],[31,0,24,21],[37,0,24,27],[41,0,24,31],[47,0,24,37],[48,0,24,38],[56,0,24,46],[57,0,24,47],[58,0,24,48],[59,0,24,49],[65,0,24,55],[66,0,24,56],[74,0,24,64],[75,0,24,65],[76,0,24,66],[77,0,24,67],[104,0,24,94]],[[17,0,25,9]],[[16,0,26,8]],[[20,0,27,10],[24,0,27,14],[26,0,27,16],[37,0,27,27]],[[20,0,28,10],[29,0,28,19],[31,0,28,21],[37,0,28,27],[41,0,28,31],[47,0,28,37],[48,0,28,38],[57,0,28,47],[58,0,28,48],[59,0,28,49],[60,0,28,50],[66,0,28,56],[67,0,28,57],[76,0,28,66],[77,0,28,67],[78,0,28,68],[79,0,28,69],[103,0,28,93]],[[17,0,29,9]],[[13,0,30,7]],[[9,0,31,5]],[[5,0,32,3],[6,0,32,4]],[[0,0,33,0],[1,0,33,1]]],"sourcesContent":["import { Routes } from '@angular/router';\nimport { FormioAuthRouteConfig } from './auth.config';\nimport { FormioAuthComponent } from './auth.component';\nimport { FormioAuthLoginComponent } from './login/login.component';\nimport { FormioAuthRegisterComponent } from './register/register.component';\nimport { FormioResetPassComponent } from './resetpass/resetpass.component';\n\nexport function FormioAuthRoutes(config?: FormioAuthRouteConfig): Routes {\n return [\n {\n path: '',\n component: config && config.auth ? config.auth : FormioAuthComponent,\n children: [\n {\n path: '',\n redirectTo: 'login',\n pathMatch: 'full'\n },\n {\n path: 'login',\n component: config && config.login ? config.login : FormioAuthLoginComponent\n },\n {\n path: 'register',\n component: config && config.register ? config.register : FormioAuthRegisterComponent\n },\n {\n path: 'resetpass',\n component: config && config.resetpass ? config.resetpass : FormioResetPassComponent\n }\n ]\n }\n ];\n}\n"]},"resolvedIds":{"./auth.component":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./login/login.component":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/login/login.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./register/register.component":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/register/register.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./resetpass/resetpass.component":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":5119,"body":[{"type":"ImportDeclaration","start":0,"end":41,"specifiers":[{"type":"ImportSpecifier","start":9,"end":17,"imported":{"type":"Identifier","start":9,"end":17,"name":"NgModule"},"local":{"type":"Identifier","start":9,"end":17,"name":"NgModule"}}],"source":{"type":"Literal","start":25,"end":40,"value":"@angular/core","raw":"'@angular/core'"},"attributes":[]},{"type":"ImportDeclaration","start":42,"end":89,"specifiers":[{"type":"ImportSpecifier","start":51,"end":63,"imported":{"type":"Identifier","start":51,"end":63,"name":"CommonModule"},"local":{"type":"Identifier","start":51,"end":63,"name":"CommonModule"}}],"source":{"type":"Literal","start":71,"end":88,"value":"@angular/common","raw":"'@angular/common'"},"attributes":[]},{"type":"ImportDeclaration","start":90,"end":137,"specifiers":[{"type":"ImportSpecifier","start":99,"end":111,"imported":{"type":"Identifier","start":99,"end":111,"name":"RouterModule"},"local":{"type":"Identifier","start":99,"end":111,"name":"RouterModule"}}],"source":{"type":"Literal","start":119,"end":136,"value":"@angular/router","raw":"'@angular/router'"},"attributes":[]},{"type":"ImportDeclaration","start":138,"end":185,"specifiers":[{"type":"ImportSpecifier","start":147,"end":159,"imported":{"type":"Identifier","start":147,"end":159,"name":"FormioModule"},"local":{"type":"Identifier","start":147,"end":159,"name":"FormioModule"}}],"source":{"type":"Literal","start":167,"end":184,"value":"@formio/angular","raw":"'@formio/angular'"},"attributes":[]},{"type":"ImportDeclaration","start":186,"end":241,"specifiers":[{"type":"ImportSpecifier","start":195,"end":214,"imported":{"type":"Identifier","start":195,"end":214,"name":"FormioAuthComponent"},"local":{"type":"Identifier","start":195,"end":214,"name":"FormioAuthComponent"}}],"source":{"type":"Literal","start":222,"end":240,"value":"./auth.component","raw":"'./auth.component'"},"attributes":[]},{"type":"ImportDeclaration","start":242,"end":309,"specifiers":[{"type":"ImportSpecifier","start":251,"end":275,"imported":{"type":"Identifier","start":251,"end":275,"name":"FormioAuthLoginComponent"},"local":{"type":"Identifier","start":251,"end":275,"name":"FormioAuthLoginComponent"}}],"source":{"type":"Literal","start":283,"end":308,"value":"./login/login.component","raw":"'./login/login.component'"},"attributes":[]},{"type":"ImportDeclaration","start":310,"end":386,"specifiers":[{"type":"ImportSpecifier","start":319,"end":346,"imported":{"type":"Identifier","start":319,"end":346,"name":"FormioAuthRegisterComponent"},"local":{"type":"Identifier","start":319,"end":346,"name":"FormioAuthRegisterComponent"}}],"source":{"type":"Literal","start":354,"end":385,"value":"./register/register.component","raw":"'./register/register.component'"},"attributes":[]},{"type":"ImportDeclaration","start":387,"end":462,"specifiers":[{"type":"ImportSpecifier","start":396,"end":420,"imported":{"type":"Identifier","start":396,"end":420,"name":"FormioResetPassComponent"},"local":{"type":"Identifier","start":396,"end":420,"name":"FormioResetPassComponent"}}],"source":{"type":"Literal","start":428,"end":461,"value":"./resetpass/resetpass.component","raw":"'./resetpass/resetpass.component'"},"attributes":[]},{"type":"ImportDeclaration","start":463,"end":512,"specifiers":[{"type":"ImportSpecifier","start":472,"end":488,"imported":{"type":"Identifier","start":472,"end":488,"name":"FormioAuthRoutes"},"local":{"type":"Identifier","start":472,"end":488,"name":"FormioAuthRoutes"}}],"source":{"type":"Literal","start":496,"end":511,"value":"./auth.routes","raw":"'./auth.routes'"},"attributes":[]},{"type":"ImportDeclaration","start":513,"end":560,"specifiers":[{"type":"ImportSpecifier","start":522,"end":534,"imported":{"type":"Identifier","start":522,"end":534,"name":"extendRouter"},"local":{"type":"Identifier","start":522,"end":534,"name":"extendRouter"}}],"source":{"type":"Literal","start":542,"end":559,"value":"@formio/angular","raw":"'@formio/angular'"},"attributes":[]},{"type":"ImportDeclaration","start":561,"end":597,"specifiers":[{"type":"ImportNamespaceSpecifier","start":568,"end":575,"local":{"type":"Identifier","start":573,"end":575,"name":"i0"}}],"source":{"type":"Literal","start":581,"end":596,"value":"@angular/core","raw":"\"@angular/core\""},"attributes":[]},{"type":"ExportNamedDeclaration","start":598,"end":1125,"specifiers":[],"source":null,"attributes":[],"declaration":{"type":"ClassDeclaration","start":605,"end":1125,"id":{"type":"Identifier","start":611,"end":621,"name":"FormioAuth"},"superClass":null,"body":{"type":"ClassBody","start":622,"end":1125,"body":[{"type":"MethodDefinition","start":628,"end":725,"static":true,"computed":false,"key":{"type":"Identifier","start":635,"end":642,"name":"forRoot"},"value":{"type":"FunctionExpression","start":642,"end":725,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":643,"end":649,"name":"config"}],"body":{"type":"BlockStatement","start":651,"end":725,"body":[{"type":"ReturnStatement","start":661,"end":719,"argument":{"type":"CallExpression","start":668,"end":718,"optional":false,"callee":{"type":"Identifier","start":668,"end":680,"name":"extendRouter"},"arguments":[{"type":"Identifier","start":681,"end":691,"name":"FormioAuth"},{"type":"Identifier","start":693,"end":699,"name":"config"},{"type":"Identifier","start":701,"end":717,"name":"FormioAuthRoutes"}]}}]},"expression":false},"kind":"method"},{"type":"MethodDefinition","start":730,"end":828,"static":true,"computed":false,"key":{"type":"Identifier","start":737,"end":745,"name":"forChild"},"value":{"type":"FunctionExpression","start":745,"end":828,"async":false,"generator":false,"id":null,"params":[{"type":"Identifier","start":746,"end":752,"name":"config"}],"body":{"type":"BlockStatement","start":754,"end":828,"body":[{"type":"ReturnStatement","start":764,"end":822,"argument":{"type":"CallExpression","start":771,"end":821,"optional":false,"callee":{"type":"Identifier","start":771,"end":783,"name":"extendRouter"},"arguments":[{"type":"Identifier","start":784,"end":794,"name":"FormioAuth"},{"type":"Identifier","start":796,"end":802,"name":"config"},{"type":"Identifier","start":804,"end":820,"name":"FormioAuthRoutes"}]}}]},"expression":false},"kind":"method"},{"type":"PropertyDefinition","start":833,"end":914,"static":true,"computed":false,"key":{"type":"Identifier","start":840,"end":844,"name":"ɵfac"},"value":{"type":"FunctionExpression","start":847,"end":913,"async":false,"generator":false,"id":{"type":"Identifier","start":856,"end":874,"name":"FormioAuth_Factory"},"params":[{"type":"Identifier","start":875,"end":876,"name":"t"}],"body":{"type":"BlockStatement","start":878,"end":913,"body":[{"type":"ReturnStatement","start":880,"end":911,"argument":{"type":"NewExpression","start":887,"end":910,"callee":{"type":"LogicalExpression","start":892,"end":907,"operator":"||","left":{"type":"Identifier","start":892,"end":893,"name":"t"},"right":{"type":"Identifier","start":897,"end":907,"name":"FormioAuth"}},"arguments":[]}}]},"expression":false}},{"type":"PropertyDefinition","start":919,"end":989,"static":true,"computed":false,"key":{"type":"Identifier","start":926,"end":930,"name":"ɵmod"},"value":{"type":"CallExpression","start":947,"end":988,"optional":false,"_rollupAnnotations":[{"end":946,"start":933,"type":"pure"}],"callee":{"type":"MemberExpression","start":947,"end":966,"computed":false,"optional":false,"object":{"type":"Identifier","start":947,"end":949,"name":"i0"},"property":{"type":"Identifier","start":950,"end":966,"name":"ɵɵdefineNgModule"}},"arguments":[{"type":"ObjectExpression","start":967,"end":987,"properties":[{"type":"Property","start":969,"end":985,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":969,"end":973,"name":"type"},"value":{"type":"Identifier","start":975,"end":985,"name":"FormioAuth"},"kind":"init"}]}]}},{"type":"PropertyDefinition","start":994,"end":1123,"static":true,"computed":false,"key":{"type":"Identifier","start":1001,"end":1005,"name":"ɵinj"},"value":{"type":"CallExpression","start":1022,"end":1122,"optional":false,"_rollupAnnotations":[{"end":1021,"start":1008,"type":"pure"}],"callee":{"type":"MemberExpression","start":1022,"end":1041,"computed":false,"optional":false,"object":{"type":"Identifier","start":1022,"end":1024,"name":"i0"},"property":{"type":"Identifier","start":1025,"end":1041,"name":"ɵɵdefineInjector"}},"arguments":[{"type":"ObjectExpression","start":1042,"end":1121,"properties":[{"type":"Property","start":1044,"end":1119,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1044,"end":1051,"name":"imports"},"value":{"type":"ArrayExpression","start":1053,"end":1119,"elements":[{"type":"Identifier","start":1054,"end":1066,"name":"CommonModule"},{"type":"Identifier","start":1080,"end":1092,"name":"FormioModule"},{"type":"Identifier","start":1106,"end":1118,"name":"RouterModule"}]},"kind":"init"}]}]}}]}}},{"type":"ExpressionStatement","start":1126,"end":1682,"expression":{"type":"CallExpression","start":1126,"end":1681,"optional":false,"callee":{"type":"ArrowFunctionExpression","start":1127,"end":1678,"async":false,"expression":false,"generator":false,"params":[],"body":{"type":"BlockStatement","start":1133,"end":1678,"body":[{"type":"ExpressionStatement","start":1135,"end":1676,"expression":{"type":"LogicalExpression","start":1135,"end":1675,"operator":"&&","left":{"type":"LogicalExpression","start":1136,"end":1181,"operator":"||","left":{"type":"BinaryExpression","start":1136,"end":1168,"operator":"===","left":{"type":"UnaryExpression","start":1136,"end":1152,"operator":"typeof","argument":{"type":"Identifier","start":1143,"end":1152,"name":"ngDevMode"},"prefix":true},"right":{"type":"Literal","start":1157,"end":1168,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1172,"end":1181,"name":"ngDevMode"}},"right":{"type":"CallExpression","start":1186,"end":1675,"optional":false,"callee":{"type":"MemberExpression","start":1186,"end":1206,"computed":false,"optional":false,"object":{"type":"Identifier","start":1186,"end":1188,"name":"i0"},"property":{"type":"Identifier","start":1189,"end":1206,"name":"ɵsetClassMetadata"}},"arguments":[{"type":"Identifier","start":1207,"end":1217,"name":"FormioAuth"},{"type":"ArrayExpression","start":1219,"end":1662,"elements":[{"type":"ObjectExpression","start":1220,"end":1661,"properties":[{"type":"Property","start":1230,"end":1244,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1230,"end":1234,"name":"type"},"value":{"type":"Identifier","start":1236,"end":1244,"name":"NgModule"},"kind":"init"},{"type":"Property","start":1254,"end":1655,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1254,"end":1258,"name":"args"},"value":{"type":"ArrayExpression","start":1260,"end":1655,"elements":[{"type":"ObjectExpression","start":1261,"end":1654,"properties":[{"type":"Property","start":1279,"end":1408,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1279,"end":1286,"name":"imports"},"value":{"type":"ArrayExpression","start":1288,"end":1408,"elements":[{"type":"Identifier","start":1310,"end":1322,"name":"CommonModule"},{"type":"Identifier","start":1344,"end":1356,"name":"FormioModule"},{"type":"Identifier","start":1378,"end":1390,"name":"RouterModule"}]},"kind":"init"},{"type":"Property","start":1426,"end":1640,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1426,"end":1438,"name":"declarations"},"value":{"type":"ArrayExpression","start":1440,"end":1640,"elements":[{"type":"Identifier","start":1462,"end":1481,"name":"FormioAuthComponent"},{"type":"Identifier","start":1503,"end":1527,"name":"FormioAuthLoginComponent"},{"type":"Identifier","start":1549,"end":1576,"name":"FormioAuthRegisterComponent"},{"type":"Identifier","start":1598,"end":1622,"name":"FormioResetPassComponent"}]},"kind":"init"}]}]},"kind":"init"}]}]},{"type":"Literal","start":1664,"end":1668,"raw":"null","value":null},{"type":"Literal","start":1670,"end":1674,"raw":"null","value":null}]}}}]},"id":null},"arguments":[]}},{"type":"ExpressionStatement","start":1683,"end":2004,"expression":{"type":"CallExpression","start":1683,"end":2003,"optional":false,"callee":{"type":"FunctionExpression","start":1684,"end":2000,"async":false,"generator":false,"id":null,"params":[],"body":{"type":"BlockStatement","start":1696,"end":2000,"body":[{"type":"ExpressionStatement","start":1698,"end":1998,"expression":{"type":"LogicalExpression","start":1698,"end":1997,"operator":"&&","left":{"type":"LogicalExpression","start":1699,"end":1744,"operator":"||","left":{"type":"BinaryExpression","start":1699,"end":1731,"operator":"===","left":{"type":"UnaryExpression","start":1699,"end":1715,"operator":"typeof","argument":{"type":"Identifier","start":1706,"end":1715,"name":"ngJitMode"},"prefix":true},"right":{"type":"Literal","start":1720,"end":1731,"value":"undefined","raw":"\"undefined\""}},"right":{"type":"Identifier","start":1735,"end":1744,"name":"ngJitMode"}},"right":{"type":"CallExpression","start":1749,"end":1997,"optional":false,"callee":{"type":"MemberExpression","start":1749,"end":1770,"computed":false,"optional":false,"object":{"type":"Identifier","start":1749,"end":1751,"name":"i0"},"property":{"type":"Identifier","start":1752,"end":1770,"name":"ɵɵsetNgModuleScope"}},"arguments":[{"type":"Identifier","start":1771,"end":1781,"name":"FormioAuth"},{"type":"ObjectExpression","start":1783,"end":1996,"properties":[{"type":"Property","start":1785,"end":1925,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1785,"end":1797,"name":"declarations"},"value":{"type":"ArrayExpression","start":1799,"end":1925,"elements":[{"type":"Identifier","start":1800,"end":1819,"name":"FormioAuthComponent"},{"type":"Identifier","start":1829,"end":1853,"name":"FormioAuthLoginComponent"},{"type":"Identifier","start":1863,"end":1890,"name":"FormioAuthRegisterComponent"},{"type":"Identifier","start":1900,"end":1924,"name":"FormioResetPassComponent"}]},"kind":"init"},{"type":"Property","start":1927,"end":1994,"method":false,"shorthand":false,"computed":false,"key":{"type":"Identifier","start":1927,"end":1934,"name":"imports"},"value":{"type":"ArrayExpression","start":1936,"end":1994,"elements":[{"type":"Identifier","start":1937,"end":1949,"name":"CommonModule"},{"type":"Identifier","start":1959,"end":1971,"name":"FormioModule"},{"type":"Identifier","start":1981,"end":1993,"name":"RouterModule"}]},"kind":"init"}]}]}}}]},"expression":false},"arguments":[]}}],"_rollupRemoved":[{"end":5119,"start":2005,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\nimport { FormioModule } from '@formio/angular';\nimport { FormioAuthComponent } from './auth.component';\nimport { FormioAuthLoginComponent } from './login/login.component';\nimport { FormioAuthRegisterComponent } from './register/register.component';\nimport { FormioResetPassComponent } from './resetpass/resetpass.component';\nimport { FormioAuthRoutes } from './auth.routes';\nimport { extendRouter } from '@formio/angular';\nimport * as i0 from \"@angular/core\";\nexport class FormioAuth {\n static forRoot(config) {\n return extendRouter(FormioAuth, config, FormioAuthRoutes);\n }\n static forChild(config) {\n return extendRouter(FormioAuth, config, FormioAuthRoutes);\n }\n static ɵfac = function FormioAuth_Factory(t) { return new (t || FormioAuth)(); };\n static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FormioAuth });\n static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,\n FormioModule,\n RouterModule] });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuth, [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n FormioModule,\n RouterModule\n ],\n declarations: [\n FormioAuthComponent,\n FormioAuthLoginComponent,\n FormioAuthRegisterComponent,\n FormioResetPassComponent\n ]\n }]\n }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(FormioAuth, { declarations: [FormioAuthComponent,\n FormioAuthLoginComponent,\n FormioAuthRegisterComponent,\n FormioResetPassComponent], imports: [CommonModule,\n FormioModule,\n RouterModule] }); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9hdXRoL3NyYy9hdXRoLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ3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GhSZWdpc3RlckNvbXBvbmVudCxcbiAgICBGb3JtaW9SZXNldFBhc3NDb21wb25lbnRcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtaW9BdXRoIHtcbiAgc3RhdGljIGZvclJvb3QoY29uZmlnPzogRm9ybWlvQXV0aFJvdXRlQ29uZmlnKTogYW55IHtcbiAgICByZXR1cm4gZXh0ZW5kUm91dGVyKEZvcm1pb0F1dGgsIGNvbmZpZywgRm9ybWlvQXV0aFJvdXRlcyk7XG4gIH1cbiAgc3RhdGljIGZvckNoaWxkKGNvbmZpZz86IEZvcm1pb0F1dGhSb3V0ZUNvbmZpZyk6IGFueSB7XG4gICAgcmV0dXJuIGV4dGVuZFJvdXRlcihGb3JtaW9BdXRoLCBjb25maWcsIEZvcm1pb0F1dGhSb3V0ZXMpO1xuICB9XG59XG4iXX0=","customTransformCache":false,"dependencies":["@angular/core","@angular/common","@angular/router","@formio/angular","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/login/login.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/register/register.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.routes.mjs"],"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.module.mjs","meta":{},"moduleSideEffects":false,"originalCode":"import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\nimport { FormioModule } from '@formio/angular';\nimport { FormioAuthComponent } from './auth.component';\nimport { FormioAuthLoginComponent } from './login/login.component';\nimport { FormioAuthRegisterComponent } from './register/register.component';\nimport { FormioResetPassComponent } from './resetpass/resetpass.component';\nimport { FormioAuthRoutes } from './auth.routes';\nimport { extendRouter } from '@formio/angular';\nimport * as i0 from \"@angular/core\";\nexport class FormioAuth {\n static forRoot(config) {\n return extendRouter(FormioAuth, config, FormioAuthRoutes);\n }\n static forChild(config) {\n return extendRouter(FormioAuth, config, FormioAuthRoutes);\n }\n static ɵfac = function FormioAuth_Factory(t) { return new (t || FormioAuth)(); };\n static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FormioAuth });\n static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,\n FormioModule,\n RouterModule] });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioAuth, [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n FormioModule,\n RouterModule\n ],\n declarations: [\n FormioAuthComponent,\n FormioAuthLoginComponent,\n FormioAuthRegisterComponent,\n FormioResetPassComponent\n ]\n }]\n }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(FormioAuth, { declarations: [FormioAuthComponent,\n FormioAuthLoginComponent,\n FormioAuthRegisterComponent,\n FormioResetPassComponent], imports: [CommonModule,\n FormioModule,\n RouterModule] }); })();\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9hdXRoL3NyYy9hdXRoLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQ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gICAgRm9ybWlvQXV0aExvZ2luQ29tcG9uZW50LFxuICAgIEZvcm1pb0F1dGhSZWdpc3RlckNvbXBvbmVudCxcbiAgICBGb3JtaW9SZXNldFBhc3NDb21wb25lbnRcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtaW9BdXRoIHtcbiAgc3RhdGljIGZvclJvb3QoY29uZmlnPzogRm9ybWlvQXV0aFJvdXRlQ29uZmlnKTogYW55IHtcbiAgICByZXR1cm4gZXh0ZW5kUm91dGVyKEZvcm1pb0F1dGgsIGNvbmZpZywgRm9ybWlvQXV0aFJvdXRlcyk7XG4gIH1cbiAgc3RhdGljIGZvckNoaWxkKGNvbmZpZz86IEZvcm1pb0F1dGhSb3V0ZUNvbmZpZyk6IGFueSB7XG4gICAgcmV0dXJuIGV4dGVuZFJvdXRlcihGb3JtaW9BdXRoLCBjb25maWcsIEZvcm1pb0F1dGhSb3V0ZXMpO1xuICB9XG59XG4iXX0=","originalSourcemap":{"version":3,"file":"auth.module.js","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/auth.module.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[17,0,0,17],[19,0,0,19],[25,0,0,25],[40,0,0,40],[41,0,0,41]],[[0,0,1,0],[7,0,1,7],[9,0,1,9],[21,0,1,21],[23,0,1,23],[29,0,1,29],[46,0,1,46],[47,0,1,47]],[[0,0,2,0],[7,0,2,7],[9,0,2,9],[21,0,2,21],[23,0,2,23],[29,0,2,29],[46,0,2,46],[47,0,2,47]],[[0,0,3,0],[7,0,3,7],[9,0,3,9],[21,0,3,21],[23,0,3,23],[29,0,3,29],[46,0,3,46],[47,0,3,47]],[[0,0,4,0],[7,0,4,7],[9,0,4,9],[28,0,4,28],[30,0,4,30],[36,0,4,36],[54,0,4,54],[55,0,4,55]],[[0,0,5,0],[7,0,5,7],[9,0,5,9],[33,0,5,33],[35,0,5,35],[41,0,5,41],[66,0,5,66],[67,0,5,67]],[[0,0,6,0],[7,0,6,7],[9,0,6,9],[36,0,6,36],[38,0,6,38],[44,0,6,44],[75,0,6,75],[76,0,6,76]],[[0,0,7,0],[7,0,7,7],[9,0,7,9],[33,0,7,33],[35,0,7,35],[41,0,7,41],[74,0,7,74],[75,0,7,75]],[[0,0,9,0],[7,0,9,7],[9,0,9,9],[25,0,9,25],[27,0,9,27],[33,0,9,33],[48,0,9,48],[49,0,9,49]],[[0,0,10,0],[7,0,10,7],[9,0,10,9],[21,0,10,21],[23,0,10,23],[29,0,10,29],[46,0,10,46],[47,0,10,47]],[],[[0,0,25,0],[6,0,25,6],[13,0,25,13],[23,0,25,23]],[[4,0,26,2],[10,0,26,8],[11,0,26,9],[18,0,26,16],[19,0,26,17],[25,0,26,47]],[[8,0,27,4],[15,0,27,11],[27,0,27,23],[28,0,27,24],[38,0,27,34],[40,0,27,36],[46,0,27,42],[48,0,27,44],[64,0,27,60],[65,0,27,61],[66,0,27,62]],[[4,0,28,2],[5,0,28,3]],[[4,0,29,2],[10,0,29,8],[11,0,29,9],[19,0,29,17],[20,0,29,18],[26,0,29,48]],[[8,0,30,4],[15,0,30,11],[27,0,30,23],[28,0,30,24],[38,0,30,34],[40,0,30,36],[46,0,30,42],[48,0,30,44],[64,0,30,60],[65,0,30,61],[66,0,30,62]],[[4,0,31,2],[5,0,31,3]],[[68,0,25,13],[78,0,25,23]],[[60,0,25,13],[70,0,25,23]],[[64,0,14,4],[76,0,14,16]],[[12,0,15,4],[24,0,15,16]],[[12,0,16,4],[24,0,16,16]],[],[[81,0,25,13],[91,0,25,23]],[[14,0,12,1],[22,0,12,9]],[[15,0,12,10]],[[16,0,13,2],[23,0,13,9],[25,0,13,11]],[[20,0,14,4],[32,0,14,16]],[[20,0,15,4],[32,0,15,16]],[[20,0,16,4],[32,0,16,16]],[[17,0,17,3]],[[16,0,18,2],[28,0,18,14],[30,0,18,16]],[[20,0,19,4],[39,0,19,23]],[[20,0,20,4],[44,0,20,28]],[[20,0,21,4],[47,0,21,31]],[[20,0,22,4],[44,0,22,28]],[[17,0,23,3]],[[13,0,24,1]],[],[[88,0,25,13],[98,0,25,23],[117,0,19,4],[136,0,19,23]],[[8,0,20,4],[32,0,20,28]],[[8,0,21,4],[35,0,21,31]],[[8,0,22,4],[32,0,22,28],[45,0,14,4],[57,0,14,16]],[[8,0,15,4],[20,0,15,16]],[[8,0,16,4],[20,0,16,16]]],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\nimport { FormioModule } from '@formio/angular';\nimport { FormioAuthComponent } from './auth.component';\nimport { FormioAuthLoginComponent } from './login/login.component';\nimport { FormioAuthRegisterComponent } from './register/register.component';\nimport { FormioResetPassComponent } from './resetpass/resetpass.component';\nimport { FormioAuthRouteConfig } from './auth.config';\nimport { FormioAuthRoutes } from './auth.routes';\nimport { extendRouter } from '@formio/angular';\n\n@NgModule({\n imports: [\n CommonModule,\n FormioModule,\n RouterModule\n ],\n declarations: [\n FormioAuthComponent,\n FormioAuthLoginComponent,\n FormioAuthRegisterComponent,\n FormioResetPassComponent\n ]\n})\nexport class FormioAuth {\n static forRoot(config?: FormioAuthRouteConfig): any {\n return extendRouter(FormioAuth, config, FormioAuthRoutes);\n }\n static forChild(config?: FormioAuthRouteConfig): any {\n return extendRouter(FormioAuth, config, FormioAuthRoutes);\n }\n}\n"]},"resolvedIds":{"@angular/core":{"attributes":{},"external":true,"id":"@angular/core","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/common":{"attributes":{},"external":true,"id":"@angular/common","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@angular/router":{"attributes":{},"external":true,"id":"@angular/router","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"@formio/angular":{"attributes":{},"external":true,"id":"@formio/angular","meta":{},"moduleSideEffects":true,"resolvedBy":"rollup","syntheticNamedExports":false},"./auth.component":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./auth.routes":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.routes.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./login/login.component":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/login/login.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./register/register.component":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/register/register.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./resetpass/resetpass.component":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":1851,"body":[{"type":"ExportNamedDeclaration","start":0,"end":49,"specifiers":[{"type":"ExportSpecifier","start":9,"end":25,"local":{"type":"Identifier","start":9,"end":25,"name":"FormioAuthConfig"},"exported":{"type":"Identifier","start":9,"end":25,"name":"FormioAuthConfig"}}],"source":{"type":"Literal","start":33,"end":48,"value":"./auth.config","raw":"'./auth.config'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":50,"end":101,"specifiers":[{"type":"ExportSpecifier","start":59,"end":76,"local":{"type":"Identifier","start":59,"end":76,"name":"FormioAuthService"},"exported":{"type":"Identifier","start":59,"end":76,"name":"FormioAuthService"}}],"source":{"type":"Literal","start":84,"end":100,"value":"./auth.service","raw":"'./auth.service'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":102,"end":157,"specifiers":[{"type":"ExportSpecifier","start":111,"end":130,"local":{"type":"Identifier","start":111,"end":130,"name":"FormioAuthComponent"},"exported":{"type":"Identifier","start":111,"end":130,"name":"FormioAuthComponent"}}],"source":{"type":"Literal","start":138,"end":156,"value":"./auth.component","raw":"'./auth.component'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":158,"end":225,"specifiers":[{"type":"ExportSpecifier","start":167,"end":191,"local":{"type":"Identifier","start":167,"end":191,"name":"FormioAuthLoginComponent"},"exported":{"type":"Identifier","start":167,"end":191,"name":"FormioAuthLoginComponent"}}],"source":{"type":"Literal","start":199,"end":224,"value":"./login/login.component","raw":"'./login/login.component'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":226,"end":302,"specifiers":[{"type":"ExportSpecifier","start":235,"end":262,"local":{"type":"Identifier","start":235,"end":262,"name":"FormioAuthRegisterComponent"},"exported":{"type":"Identifier","start":235,"end":262,"name":"FormioAuthRegisterComponent"}}],"source":{"type":"Literal","start":270,"end":301,"value":"./register/register.component","raw":"'./register/register.component'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":303,"end":378,"specifiers":[{"type":"ExportSpecifier","start":312,"end":336,"local":{"type":"Identifier","start":312,"end":336,"name":"FormioResetPassComponent"},"exported":{"type":"Identifier","start":312,"end":336,"name":"FormioResetPassComponent"}}],"source":{"type":"Literal","start":344,"end":377,"value":"./resetpass/resetpass.component","raw":"'./resetpass/resetpass.component'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":379,"end":428,"specifiers":[{"type":"ExportSpecifier","start":388,"end":404,"local":{"type":"Identifier","start":388,"end":404,"name":"FormioAuthRoutes"},"exported":{"type":"Identifier","start":388,"end":404,"name":"FormioAuthRoutes"}}],"source":{"type":"Literal","start":412,"end":427,"value":"./auth.routes","raw":"'./auth.routes'"},"attributes":[],"declaration":null},{"type":"ExportNamedDeclaration","start":429,"end":472,"specifiers":[{"type":"ExportSpecifier","start":438,"end":448,"local":{"type":"Identifier","start":438,"end":448,"name":"FormioAuth"},"exported":{"type":"Identifier","start":438,"end":448,"name":"FormioAuth"}}],"source":{"type":"Literal","start":456,"end":471,"value":"./auth.module","raw":"'./auth.module'"},"attributes":[],"declaration":null}],"_rollupRemoved":[{"end":1851,"start":473,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"export { FormioAuthConfig } from './auth.config';\nexport { FormioAuthService } from './auth.service';\nexport { FormioAuthComponent } from './auth.component';\nexport { FormioAuthLoginComponent } from './login/login.component';\nexport { FormioAuthRegisterComponent } from './register/register.component';\nexport { FormioResetPassComponent } from './resetpass/resetpass.component';\nexport { FormioAuthRoutes } from './auth.routes';\nexport { FormioAuth } from './auth.module';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9hdXRoL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDbkQsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU8sa0JBQWtCLENBQUM7QUFDeEQsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDbkUsT0FBTyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDNUUsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDM0UsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtaW9BdXRoQ29uZmlnIH0gZnJvbSAnLi9hdXRoLmNvbmZpZyc7XG5leHBvcnQgeyBGb3JtaW9BdXRoU2VydmljZSB9IGZyb20gJy4vYXV0aC5zZXJ2aWNlJztcbmV4cG9ydCB7IEZvcm1pb0F1dGhDb21wb25lbnQgfSAgZnJvbSAnLi9hdXRoLmNvbXBvbmVudCc7XG5leHBvcnQgeyBGb3JtaW9BdXRoTG9naW5Db21wb25lbnQgfSBmcm9tICcuL2xvZ2luL2xvZ2luLmNvbXBvbmVudCc7XG5leHBvcnQgeyBGb3JtaW9BdXRoUmVnaXN0ZXJDb21wb25lbnQgfSBmcm9tICcuL3JlZ2lzdGVyL3JlZ2lzdGVyLmNvbXBvbmVudCc7XG5leHBvcnQgeyBGb3JtaW9SZXNldFBhc3NDb21wb25lbnQgfSBmcm9tICcuL3Jlc2V0cGFzcy9yZXNldHBhc3MuY29tcG9uZW50JztcbmV4cG9ydCB7IEZvcm1pb0F1dGhSb3V0ZXMgfSBmcm9tICcuL2F1dGgucm91dGVzJztcbmV4cG9ydCB7IEZvcm1pb0F1dGggfSBmcm9tICcuL2F1dGgubW9kdWxlJztcbiJdfQ==","customTransformCache":false,"dependencies":["/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.config.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/login/login.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/register/register.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.routes.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.module.mjs"],"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/index.mjs","meta":{},"moduleSideEffects":false,"originalCode":"export { FormioAuthConfig } from './auth.config';\nexport { FormioAuthService } from './auth.service';\nexport { FormioAuthComponent } from './auth.component';\nexport { FormioAuthLoginComponent } from './login/login.component';\nexport { FormioAuthRegisterComponent } from './register/register.component';\nexport { FormioResetPassComponent } from './resetpass/resetpass.component';\nexport { FormioAuthRoutes } from './auth.routes';\nexport { FormioAuth } from './auth.module';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9hdXRoL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDbkQsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU8sa0JBQWtCLENBQUM7QUFDeEQsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDbkUsT0FBTyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDNUUsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDM0UsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtaW9BdXRoQ29uZmlnIH0gZnJvbSAnLi9hdXRoLmNvbmZpZyc7XG5leHBvcnQgeyBGb3JtaW9BdXRoU2VydmljZSB9IGZyb20gJy4vYXV0aC5zZXJ2aWNlJztcbmV4cG9ydCB7IEZvcm1pb0F1dGhDb21wb25lbnQgfSAgZnJvbSAnLi9hdXRoLmNvbXBvbmVudCc7XG5leHBvcnQgeyBGb3JtaW9BdXRoTG9naW5Db21wb25lbnQgfSBmcm9tICcuL2xvZ2luL2xvZ2luLmNvbXBvbmVudCc7XG5leHBvcnQgeyBGb3JtaW9BdXRoUmVnaXN0ZXJDb21wb25lbnQgfSBmcm9tICcuL3JlZ2lzdGVyL3JlZ2lzdGVyLmNvbXBvbmVudCc7XG5leHBvcnQgeyBGb3JtaW9SZXNldFBhc3NDb21wb25lbnQgfSBmcm9tICcuL3Jlc2V0cGFzcy9yZXNldHBhc3MuY29tcG9uZW50JztcbmV4cG9ydCB7IEZvcm1pb0F1dGhSb3V0ZXMgfSBmcm9tICcuL2F1dGgucm91dGVzJztcbmV4cG9ydCB7IEZvcm1pb0F1dGggfSBmcm9tICcuL2F1dGgubW9kdWxlJztcbiJdfQ==","originalSourcemap":{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/index.ts"],"names":[],"mappings":[[[0,0,0,0],[7,0,0,7],[9,0,0,9],[25,0,0,25],[27,0,0,27],[33,0,0,33],[48,0,0,48],[49,0,0,49]],[[0,0,1,0],[7,0,1,7],[9,0,1,9],[26,0,1,26],[28,0,1,28],[34,0,1,34],[50,0,1,50],[51,0,1,51]],[[0,0,2,0],[7,0,2,7],[9,0,2,9],[28,0,2,28],[30,0,2,30],[36,0,2,37],[54,0,2,55],[55,0,2,56]],[[0,0,3,0],[7,0,3,7],[9,0,3,9],[33,0,3,33],[35,0,3,35],[41,0,3,41],[66,0,3,66],[67,0,3,67]],[[0,0,4,0],[7,0,4,7],[9,0,4,9],[36,0,4,36],[38,0,4,38],[44,0,4,44],[75,0,4,75],[76,0,4,76]],[[0,0,5,0],[7,0,5,7],[9,0,5,9],[33,0,5,33],[35,0,5,35],[41,0,5,41],[74,0,5,74],[75,0,5,75]],[[0,0,6,0],[7,0,6,7],[9,0,6,9],[25,0,6,25],[27,0,6,27],[33,0,6,33],[48,0,6,48],[49,0,6,49]],[[0,0,7,0],[7,0,7,7],[9,0,7,9],[19,0,7,19],[21,0,7,21],[27,0,7,27],[42,0,7,42],[43,0,7,43]]],"sourcesContent":["export { FormioAuthConfig } from './auth.config';\nexport { FormioAuthService } from './auth.service';\nexport { FormioAuthComponent } from './auth.component';\nexport { FormioAuthLoginComponent } from './login/login.component';\nexport { FormioAuthRegisterComponent } from './register/register.component';\nexport { FormioResetPassComponent } from './resetpass/resetpass.component';\nexport { FormioAuthRoutes } from './auth.routes';\nexport { FormioAuth } from './auth.module';\n"]},"resolvedIds":{"./auth.config":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.config.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./auth.service":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.service.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./auth.component":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./auth.routes":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.routes.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./auth.module":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/auth.module.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./login/login.component":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/login/login.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./resetpass/resetpass.component":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false},"./register/register.component":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/register/register.component.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]},{"ast":{"type":"Program","start":0,"end":523,"body":[{"type":"ExportAllDeclaration","start":48,"end":72,"exported":null,"source":{"type":"Literal","start":62,"end":71,"value":"./index","raw":"'./index'"},"attributes":[]}],"_rollupRemoved":[{"end":523,"start":73,"type":"sourcemap"}],"sourceType":"module"},"attributes":{},"code":"/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLWFuZ3VsYXItYXV0aC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2F1dGgvc3JjL2Zvcm1pby1hbmd1bGFyLWF1dGgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=","customTransformCache":false,"dependencies":["/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/index.mjs"],"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/formio-angular-auth.mjs","meta":{},"moduleSideEffects":false,"originalCode":"/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLWFuZ3VsYXItYXV0aC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2F1dGgvc3JjL2Zvcm1pby1hbmd1bGFyLWF1dGgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=","originalSourcemap":{"version":3,"file":"formio-angular-auth.js","sourceRoot":"","sources":["../../../../projects/angular-formio/auth/src/formio-angular-auth.ts"],"names":[],"mappings":[[[0,0,0,0]],[],[[3,0,2,3]],[[0,0,4,0],[14,0,4,14],[23,0,4,23],[24,0,4,24]]],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]},"resolvedIds":{"./index":{"attributes":{},"external":false,"id":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/auth/index.mjs","meta":{},"moduleSideEffects":false,"resolvedBy":"node-resolve","syntheticNamedExports":false}},"sourcemapChain":[],"syntheticNamedExports":false,"transformDependencies":[]}],"plugins":{"node-resolve":{},"json":{},"file-loader":{}}}