@remoteoss/remote-flows 1.44.0 → 1.45.0

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 (658) hide show
  1. package/dist/ButtonDefault-HBOULH5V.js +2 -0
  2. package/dist/CheckboxFieldDefault-62URAHJV.js +2 -0
  3. package/dist/CountryFieldDefault-24NNZN2C.js +2 -0
  4. package/dist/DatePickerFieldDefault-NMUCZ4U2.js +2 -0
  5. package/dist/DrawerDefault-O7NUFWJ4.js +2 -0
  6. package/dist/EmailFieldDefault-S3DO2YLL.js +2 -0
  7. package/dist/FieldsetToggleButtonDefault-MIRCZJKA.js +2 -0
  8. package/dist/FileUploadFieldDefault-4NW5VLF6.js +2 -0
  9. package/dist/MultiSelectFieldDefault-S45Z53ZY.js +2 -0
  10. package/dist/NumberFieldDefault-AA5UGCSR.js +2 -0
  11. package/dist/RadioGroupFieldDefault-X44FYUA3.js +2 -0
  12. package/dist/SelectFieldDefault-PLDXHTQY.js +2 -0
  13. package/dist/StatementDefault-RDC5G24K.js +2 -0
  14. package/dist/TableFieldDefault-ES7OIYX5.js +2 -0
  15. package/dist/TelFieldDefault-IYGEEV5V.js +2 -0
  16. package/dist/TextAreaFieldDefault-C6M3PIV2.js +2 -0
  17. package/dist/TextFieldDefault-OC2TMXVF.js +2 -0
  18. package/dist/TimeFieldDefault-J6PKL5T4.js +2 -0
  19. package/dist/WorkScheduleFieldDefault-MDDNWRCO.js +2 -0
  20. package/dist/ZendeskDrawerDefault-HGKAUCUV.js +2 -0
  21. package/dist/{chunk-HXEOVMUT.js → chunk-2EGFPBT7.js} +2 -2
  22. package/dist/chunk-2FIBHHT7.js +2 -0
  23. package/dist/chunk-2FIBHHT7.js.map +1 -0
  24. package/dist/{chunk-NRWIGTY2.js → chunk-2JK3XRHE.js} +2 -2
  25. package/dist/{chunk-43FMKELR.js → chunk-2RVICCFD.js} +2 -2
  26. package/dist/{chunk-6Z4U4GYV.js → chunk-2TBTNTJ2.js} +2 -2
  27. package/dist/{chunk-F35ALUPA.js → chunk-3ISSVSL5.js} +2 -2
  28. package/dist/{chunk-HHFGG3RU.js → chunk-3NKRZURO.js} +2 -2
  29. package/dist/chunk-3O7L6JUX.js +2 -0
  30. package/dist/chunk-3O7L6JUX.js.map +1 -0
  31. package/dist/{chunk-LNR6TGLQ.js → chunk-43XVHRYM.js} +2 -2
  32. package/dist/{chunk-OK4RV6ZT.js → chunk-46RBPCK6.js} +2 -2
  33. package/dist/{chunk-Y3CJRZLA.js → chunk-4FGKIGKF.js} +2 -2
  34. package/dist/chunk-4FV6Z3HE.js +2 -0
  35. package/dist/{chunk-JVLARDTF.js.map → chunk-4FV6Z3HE.js.map} +1 -1
  36. package/dist/{chunk-OV6PV4N5.js → chunk-4GIQCWII.js} +2 -2
  37. package/dist/{chunk-RJXRGUNB.js → chunk-4IEAIF46.js} +2 -2
  38. package/dist/{chunk-74ICDGQK.js → chunk-4X7TVFHA.js} +2 -2
  39. package/dist/{chunk-FCY5FJMC.js → chunk-52GHCI6X.js} +2 -2
  40. package/dist/chunk-5MPW7QWT.js +2 -0
  41. package/dist/{chunk-LSC6NTXD.js → chunk-65G3JQ7T.js} +2 -2
  42. package/dist/{chunk-FG2DNTDR.js → chunk-6BOIGCHK.js} +2 -2
  43. package/dist/{chunk-OPX7E3W2.js → chunk-6JTUAJBZ.js} +2 -2
  44. package/dist/{chunk-HBOMEPXQ.js → chunk-6LQ2EP7Y.js} +2 -2
  45. package/dist/{chunk-S3EXF5DV.js → chunk-6QEAL5BB.js} +2 -2
  46. package/dist/{chunk-LFHFZU6X.js → chunk-6SNWSCXH.js} +2 -2
  47. package/dist/chunk-726N45PF.js +2 -0
  48. package/dist/chunk-726N45PF.js.map +1 -0
  49. package/dist/chunk-7EFZVAWU.js +2 -0
  50. package/dist/chunk-7EFZVAWU.js.map +1 -0
  51. package/dist/{chunk-KT4Y4UPD.js → chunk-A3EQ7FNB.js} +2 -2
  52. package/dist/{chunk-N6XLGYRK.js → chunk-AHUSQVQY.js} +2 -2
  53. package/dist/chunk-AW436CZP.js +2 -0
  54. package/dist/chunk-AW436CZP.js.map +1 -0
  55. package/dist/chunk-B6F2M3ZM.js +2 -0
  56. package/dist/chunk-B6F2M3ZM.js.map +1 -0
  57. package/dist/{chunk-T5J2Z6ZR.js → chunk-BC4V2YAK.js} +2 -2
  58. package/dist/{chunk-PQG6KZIO.js → chunk-BGSB3XPW.js} +2 -2
  59. package/dist/{chunk-PGCS6HUO.js → chunk-BIE73HZH.js} +2 -2
  60. package/dist/{chunk-ZC47WDFG.js → chunk-BKSWQYXH.js} +2 -2
  61. package/dist/chunk-BKSWQYXH.js.map +1 -0
  62. package/dist/{chunk-R4TM2Y3K.js → chunk-BS2YN6CS.js} +2 -2
  63. package/dist/{chunk-FHIMDCMT.js → chunk-BVKOMSHU.js} +2 -2
  64. package/dist/{chunk-PSU2AEFU.js → chunk-BZ4VPC4U.js} +2 -2
  65. package/dist/{chunk-F5WNUYFP.js → chunk-CH75YRKR.js} +2 -2
  66. package/dist/{chunk-OXTA4W4J.js → chunk-CM4UUBU5.js} +2 -2
  67. package/dist/{chunk-HFHQDWJN.js → chunk-D2PYVF6J.js} +2 -2
  68. package/dist/{chunk-DO7OL4EG.js → chunk-DAYIMXLP.js} +2 -2
  69. package/dist/{chunk-BUOHZMK6.js → chunk-DDH7MZ7M.js} +2 -2
  70. package/dist/{chunk-44XEUAFV.js → chunk-DKOETPI4.js} +2 -2
  71. package/dist/{chunk-D2MZKYRH.js → chunk-DL6MFAFK.js} +2 -2
  72. package/dist/{chunk-QJJZTAG2.js → chunk-DLSHZLHX.js} +2 -2
  73. package/dist/{chunk-MHIY35CK.js → chunk-DOVE5SYY.js} +2 -2
  74. package/dist/{chunk-FJC6IGXJ.js → chunk-FFFB5CG2.js} +2 -2
  75. package/dist/{chunk-6OHLLH6W.js → chunk-FII45OPC.js} +2 -2
  76. package/dist/chunk-FMRWWDZE.js +2 -0
  77. package/dist/chunk-FMRWWDZE.js.map +1 -0
  78. package/dist/{chunk-7NFCUTWO.js → chunk-FOYZWDU5.js} +2 -2
  79. package/dist/{chunk-2BCZXNBX.js → chunk-FQFIRIKU.js} +2 -2
  80. package/dist/{chunk-PFQB3V2U.js → chunk-FXVHH75C.js} +2 -2
  81. package/dist/chunk-G3QDDD53.js +2 -0
  82. package/dist/chunk-G3QDDD53.js.map +1 -0
  83. package/dist/chunk-GJ2AOENT.js +2 -0
  84. package/dist/chunk-GJ2AOENT.js.map +1 -0
  85. package/dist/{chunk-3UBFABDS.js → chunk-GPY3JZJJ.js} +2 -2
  86. package/dist/{chunk-UT3CQ2DH.js → chunk-GWQJKZ3M.js} +2 -2
  87. package/dist/{chunk-VZ3JCO23.js → chunk-GYYQWPA6.js} +2 -2
  88. package/dist/{chunk-CPRWWJYQ.js → chunk-H6XSWBE5.js} +2 -2
  89. package/dist/{chunk-YJFRQSTA.js → chunk-H7PNNMW5.js} +2 -2
  90. package/dist/{chunk-LJUWER2H.js → chunk-HFFQ642D.js} +2 -2
  91. package/dist/{chunk-DMNKKWLY.js → chunk-HQLGDW2G.js} +2 -2
  92. package/dist/{chunk-QO7Y6QRE.js → chunk-HU7FSSPH.js} +2 -2
  93. package/dist/chunk-HYWQLLZC.js +2 -0
  94. package/dist/chunk-HYWQLLZC.js.map +1 -0
  95. package/dist/{chunk-SQCTVURR.js → chunk-IMCNVNKF.js} +2 -2
  96. package/dist/{chunk-J2L3CYIS.js → chunk-INUCPQVI.js} +2 -2
  97. package/dist/{chunk-F7QTO3NU.js → chunk-IVISBFAT.js} +2 -2
  98. package/dist/{chunk-34JOEA4E.js → chunk-J7I4WJ4G.js} +2 -2
  99. package/dist/{chunk-4MB3FE3T.js → chunk-JH3WUGO5.js} +2 -2
  100. package/dist/chunk-JK4CPPN4.js +2 -0
  101. package/dist/chunk-JK4CPPN4.js.map +1 -0
  102. package/dist/chunk-JPVSXGCC.js +2 -0
  103. package/dist/chunk-JPVSXGCC.js.map +1 -0
  104. package/dist/chunk-JXH42V2F.js +2 -0
  105. package/dist/chunk-JXH42V2F.js.map +1 -0
  106. package/dist/{chunk-RYUBFXSX.js → chunk-KF54ACZP.js} +2 -2
  107. package/dist/chunk-KGSH67IW.js +2 -0
  108. package/dist/chunk-KGSH67IW.js.map +1 -0
  109. package/dist/chunk-KV4SSPEB.js +2 -0
  110. package/dist/chunk-KV4SSPEB.js.map +1 -0
  111. package/dist/chunk-L4IKDVFW.js +2 -0
  112. package/dist/chunk-L4IKDVFW.js.map +1 -0
  113. package/dist/{chunk-MKO33XZ5.js → chunk-LD633A5N.js} +2 -2
  114. package/dist/chunk-LGSOTN4M.js +2 -0
  115. package/dist/chunk-LGSOTN4M.js.map +1 -0
  116. package/dist/{chunk-WLPWXK7I.js → chunk-LKTCYO6Y.js} +2 -2
  117. package/dist/{chunk-JXZX66MM.js → chunk-LQFLXXBR.js} +2 -2
  118. package/dist/chunk-MAEAZFMR.js +1 -0
  119. package/dist/chunk-MQK33NLF.js +2 -0
  120. package/dist/chunk-MQK33NLF.js.map +1 -0
  121. package/dist/{chunk-CRDG62ZJ.js → chunk-MS2MOZGL.js} +2 -2
  122. package/dist/{chunk-DSGQZDY6.js → chunk-MZN6VY5F.js} +2 -2
  123. package/dist/{chunk-DJIQISA2.js → chunk-NDWVOVDM.js} +2 -2
  124. package/dist/{chunk-WIFDQWVX.js → chunk-NFLN2YB6.js} +2 -2
  125. package/dist/{chunk-XYF4TIRU.js → chunk-NGCNYQSC.js} +2 -2
  126. package/dist/{chunk-YWLRVUE3.js → chunk-NPXIFNK2.js} +2 -2
  127. package/dist/{chunk-G2LZFGZA.js → chunk-NXRWBI36.js} +2 -2
  128. package/dist/chunk-NXRWBI36.js.map +1 -0
  129. package/dist/{chunk-3GCJILCE.js → chunk-O2M7ZWVK.js} +2 -2
  130. package/dist/{chunk-LBQQSYCG.js → chunk-P5NAMZNA.js} +2 -2
  131. package/dist/{chunk-HGFJTAEM.js → chunk-PG7R37J5.js} +2 -2
  132. package/dist/{chunk-DIH7KHWI.js → chunk-PMCCHSXD.js} +2 -2
  133. package/dist/{chunk-7O4Y3DAM.js → chunk-PMIGYQEX.js} +2 -2
  134. package/dist/{chunk-MC6VR4AZ.js → chunk-PQGDGJLG.js} +2 -2
  135. package/dist/chunk-QDTMDSL5.js +2 -0
  136. package/dist/chunk-QDTMDSL5.js.map +1 -0
  137. package/dist/chunk-QMJH5JND.js +2 -0
  138. package/dist/chunk-QMJH5JND.js.map +1 -0
  139. package/dist/{chunk-ZOTY3CAM.js → chunk-QO7HHRNA.js} +2 -2
  140. package/dist/{chunk-43NIG25S.js → chunk-R6QQPJ3F.js} +2 -2
  141. package/dist/{chunk-D4XBTJOV.js → chunk-R7AWHFPG.js} +2 -2
  142. package/dist/{chunk-W4LHXUIX.js → chunk-RFVATVNN.js} +2 -2
  143. package/dist/chunk-RG67OYQN.js +2 -0
  144. package/dist/chunk-RG67OYQN.js.map +1 -0
  145. package/dist/{chunk-BOE6NL6T.js → chunk-RN3WPVBZ.js} +2 -2
  146. package/dist/{chunk-FQFLC6YA.js → chunk-RRERBS7F.js} +2 -2
  147. package/dist/chunk-S5BNS2JE.js +2 -0
  148. package/dist/chunk-S5BNS2JE.js.map +1 -0
  149. package/dist/{chunk-PRXJRF7V.js → chunk-SK7MIRZS.js} +2 -2
  150. package/dist/chunk-SLTF3CJ6.js +2 -0
  151. package/dist/chunk-SLTF3CJ6.js.map +1 -0
  152. package/dist/{chunk-S4JJIDWH.js → chunk-STFU4KD6.js} +2 -2
  153. package/dist/{chunk-WYUPZMPN.js → chunk-STJU6LZF.js} +2 -2
  154. package/dist/{chunk-PIKEYX3V.js → chunk-SU4FMKBZ.js} +2 -2
  155. package/dist/{chunk-RKRYZZ3R.js → chunk-SY7QZIKZ.js} +2 -2
  156. package/dist/{chunk-V3J5DAMB.js → chunk-SYSVKYHX.js} +2 -2
  157. package/dist/chunk-T3IHAH3B.js +2 -0
  158. package/dist/chunk-T3IHAH3B.js.map +1 -0
  159. package/dist/{chunk-ECGNGVSC.js → chunk-TAYJ2AK4.js} +2 -2
  160. package/dist/{chunk-A2TY3VWL.js → chunk-TC6KCSDD.js} +2 -2
  161. package/dist/{chunk-OETKBT6P.js → chunk-TVTJS3PE.js} +2 -2
  162. package/dist/{chunk-6PWZ4TBI.js → chunk-TZIDQ5O3.js} +2 -2
  163. package/dist/{chunk-R744BZN2.js → chunk-U4PFZ54M.js} +2 -2
  164. package/dist/{chunk-RR57VT45.js → chunk-UCBZMQGL.js} +2 -2
  165. package/dist/{chunk-GGDVTGHG.js → chunk-UETHEV7Q.js} +2 -2
  166. package/dist/chunk-UHFNNG5S.js +2 -0
  167. package/dist/chunk-UHFNNG5S.js.map +1 -0
  168. package/dist/{chunk-3CJB74UF.js → chunk-UYYITOOO.js} +2 -2
  169. package/dist/{chunk-BB5K57D4.js → chunk-V2XF4QEW.js} +2 -2
  170. package/dist/{chunk-YS6VDGFW.js → chunk-V2ZDW66A.js} +2 -2
  171. package/dist/{chunk-3BAVRWSN.js → chunk-VHKLNEC2.js} +2 -2
  172. package/dist/{chunk-RFEF2B5D.js → chunk-VYLSS2C7.js} +2 -2
  173. package/dist/{chunk-ZFF6E44S.js → chunk-VZ34NZXF.js} +2 -2
  174. package/dist/{chunk-GF34UO7V.js → chunk-W3GEGGZY.js} +2 -2
  175. package/dist/chunk-WJAGRH76.js +2 -0
  176. package/dist/chunk-WJAGRH76.js.map +1 -0
  177. package/dist/{chunk-A7D2NNLM.js → chunk-WL7WQBSR.js} +2 -2
  178. package/dist/{chunk-V557KUHJ.js → chunk-WMUF335R.js} +2 -2
  179. package/dist/{chunk-STKY674N.js → chunk-WS5BL2WM.js} +2 -2
  180. package/dist/{chunk-TQH4OKHR.js → chunk-WTJJEIF2.js} +2 -2
  181. package/dist/chunk-X3FRANQS.js +2 -0
  182. package/dist/chunk-X3FRANQS.js.map +1 -0
  183. package/dist/{chunk-KTPIKOUV.js → chunk-X7KIEFEN.js} +2 -2
  184. package/dist/{chunk-LS4CLDLI.js → chunk-XDRJTAFV.js} +2 -2
  185. package/dist/{chunk-NEKE5PRJ.js → chunk-XGECMN4V.js} +2 -2
  186. package/dist/{chunk-AS7SJDU5.js → chunk-XPITUVQE.js} +2 -2
  187. package/dist/{chunk-AS7SJDU5.js.map → chunk-XPITUVQE.js.map} +1 -1
  188. package/dist/{chunk-ARVKTD3V.js → chunk-XQ65RVB7.js} +2 -2
  189. package/dist/{chunk-3ID3UX2Q.js → chunk-XVZQBTB3.js} +2 -2
  190. package/dist/{chunk-E2463GRM.js → chunk-XZMPAJRL.js} +2 -2
  191. package/dist/{chunk-E2463GRM.js.map → chunk-XZMPAJRL.js.map} +1 -1
  192. package/dist/{chunk-WMBHCIFS.js → chunk-Y3G3JGLP.js} +2 -2
  193. package/dist/{chunk-Y3YYLANJ.js → chunk-YDL42SVF.js} +2 -2
  194. package/dist/{chunk-746NEWTS.js → chunk-YZKQB7WG.js} +2 -2
  195. package/dist/{chunk-MGDYS2EY.js → chunk-ZCTEA2O6.js} +2 -2
  196. package/dist/{chunk-3B6BHFDV.js → chunk-ZHFUFIWX.js} +2 -2
  197. package/dist/{chunk-Z5LVLVTU.js → chunk-ZWA5FYVS.js} +2 -2
  198. package/dist/{chunk-7D4XFAQR.js → chunk-ZZWI5S72.js} +2 -2
  199. package/dist/default-components.d.ts +2 -2
  200. package/dist/default-components.js +1 -1
  201. package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.d.ts +1 -1
  202. package/dist/flows/ContractAmendment/ContractAmendmentConfirmationForm.js +1 -1
  203. package/dist/flows/ContractAmendment/ContractAmendmentFlow.d.ts +3 -3
  204. package/dist/flows/ContractAmendment/ContractAmendmentFlow.js +1 -1
  205. package/dist/flows/ContractAmendment/ContractAmendmentForm.d.ts +1 -1
  206. package/dist/flows/ContractAmendment/ContractAmendmentForm.js +1 -1
  207. package/dist/flows/ContractAmendment/context.d.ts +3 -3
  208. package/dist/flows/ContractAmendment/hooks.d.ts +3 -3
  209. package/dist/flows/ContractAmendment/hooks.js +1 -1
  210. package/dist/flows/ContractAmendment/index.d.ts +3 -3
  211. package/dist/flows/ContractAmendment/index.js +1 -1
  212. package/dist/flows/ContractAmendment/types.d.ts +3 -3
  213. package/dist/flows/ContractAmendment/utils.d.ts +2 -2
  214. package/dist/flows/ContractAmendment/utils.js +1 -1
  215. package/dist/flows/ContractorOnboarding/ContractorOnboarding.d.ts +5 -5
  216. package/dist/flows/ContractorOnboarding/ContractorOnboarding.js +1 -1
  217. package/dist/flows/ContractorOnboarding/api.d.ts +3 -3
  218. package/dist/flows/ContractorOnboarding/api.js +1 -1
  219. package/dist/flows/ContractorOnboarding/components/BasicInformationStep.d.ts +4 -4
  220. package/dist/flows/ContractorOnboarding/components/BasicInformationStep.js +1 -1
  221. package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.d.ts +5 -5
  222. package/dist/flows/ContractorOnboarding/components/ContractDetailsStep.js +1 -1
  223. package/dist/flows/ContractorOnboarding/components/ContractOriginStep.d.ts +3 -3
  224. package/dist/flows/ContractorOnboarding/components/ContractOriginStep.js +1 -1
  225. package/dist/flows/ContractorOnboarding/components/ContractPreviewHeader.d.ts +2 -2
  226. package/dist/flows/ContractorOnboarding/components/ContractPreviewStatement.d.ts +2 -2
  227. package/dist/flows/ContractorOnboarding/components/ContractPreviewStatement.js +1 -1
  228. package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.d.ts +5 -5
  229. package/dist/flows/ContractorOnboarding/components/ContractPreviewStep.js +1 -1
  230. package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.d.ts +5 -5
  231. package/dist/flows/ContractorOnboarding/components/ContractorOnboardingForm.js +1 -1
  232. package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.d.ts +5 -5
  233. package/dist/flows/ContractorOnboarding/components/EligibilityQuestionnaireStep.js +1 -1
  234. package/dist/flows/ContractorOnboarding/components/OnboardingInvite.d.ts +3 -3
  235. package/dist/flows/ContractorOnboarding/components/OnboardingInvite.js +1 -1
  236. package/dist/flows/ContractorOnboarding/components/PricingPlan.d.ts +5 -5
  237. package/dist/flows/ContractorOnboarding/components/PricingPlan.js +1 -1
  238. package/dist/flows/ContractorOnboarding/components/SaveDraftButton.d.ts +3 -3
  239. package/dist/flows/ContractorOnboarding/components/SelectCountryStep.d.ts +4 -4
  240. package/dist/flows/ContractorOnboarding/components/SelectCountryStep.js +1 -1
  241. package/dist/flows/ContractorOnboarding/components/StatementOfWorkDisclaimer.js +1 -1
  242. package/dist/flows/ContractorOnboarding/context.d.ts +5 -5
  243. package/dist/flows/ContractorOnboarding/hooks.d.ts +5 -5
  244. package/dist/flows/ContractorOnboarding/hooks.js +1 -1
  245. package/dist/flows/ContractorOnboarding/index.d.ts +5 -5
  246. package/dist/flows/ContractorOnboarding/index.js +1 -1
  247. package/dist/flows/ContractorOnboarding/jsfModify.d.ts +5 -5
  248. package/dist/flows/ContractorOnboarding/jsfModify.js +1 -1
  249. package/dist/flows/ContractorOnboarding/types.d.ts +5 -5
  250. package/dist/flows/ContractorOnboarding/utils.d.ts +15 -5
  251. package/dist/flows/ContractorOnboarding/utils.js +1 -1
  252. package/dist/flows/CostCalculator/CostCalculatorFlow.d.ts +3 -3
  253. package/dist/flows/CostCalculator/CostCalculatorFlow.js +1 -1
  254. package/dist/flows/CostCalculator/CostCalculatorForm.d.ts +3 -3
  255. package/dist/flows/CostCalculator/CostCalculatorForm.js +1 -1
  256. package/dist/flows/CostCalculator/CostCalculatorResetButton.js +1 -1
  257. package/dist/flows/CostCalculator/CostCalculatorSubmitButton.js +1 -1
  258. package/dist/flows/CostCalculator/EstimationResults/EstimationResults.d.ts +3 -3
  259. package/dist/flows/CostCalculator/EstimationResults/EstimationResults.js +1 -1
  260. package/dist/flows/CostCalculator/SummaryResults/SummaryResults.d.ts +3 -3
  261. package/dist/flows/CostCalculator/SummaryResults/SummaryResults.js +1 -1
  262. package/dist/flows/CostCalculator/api.d.ts +3 -3
  263. package/dist/flows/CostCalculator/api.js +1 -1
  264. package/dist/flows/CostCalculator/components/SalaryField.d.ts +2 -2
  265. package/dist/flows/CostCalculator/components/SalaryField.js +1 -1
  266. package/dist/flows/CostCalculator/context.d.ts +3 -3
  267. package/dist/flows/CostCalculator/hooks.d.ts +3 -3
  268. package/dist/flows/CostCalculator/hooks.js +1 -1
  269. package/dist/flows/CostCalculator/index.d.ts +3 -3
  270. package/dist/flows/CostCalculator/index.js +1 -1
  271. package/dist/flows/CostCalculator/types.d.ts +3 -3
  272. package/dist/flows/CostCalculator/utils.d.ts +3 -3
  273. package/dist/flows/CostCalculator/utils.js +1 -1
  274. package/dist/flows/CreateCompany/CreateCompany.d.ts +4 -4
  275. package/dist/flows/CreateCompany/CreateCompany.js +1 -1
  276. package/dist/flows/CreateCompany/api.d.ts +3 -3
  277. package/dist/flows/CreateCompany/api.js +1 -1
  278. package/dist/flows/CreateCompany/components/AddressDetailsStep.d.ts +4 -4
  279. package/dist/flows/CreateCompany/components/AddressDetailsStep.js +1 -1
  280. package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.d.ts +4 -4
  281. package/dist/flows/CreateCompany/components/CompanyBasicInformationStep.js +1 -1
  282. package/dist/flows/CreateCompany/components/CreateCompanyForm.d.ts +2 -2
  283. package/dist/flows/CreateCompany/components/CreateCompanyForm.js +1 -1
  284. package/dist/flows/CreateCompany/context.d.ts +4 -4
  285. package/dist/flows/CreateCompany/hooks.d.ts +4 -4
  286. package/dist/flows/CreateCompany/hooks.js +1 -1
  287. package/dist/flows/CreateCompany/index.d.ts +4 -4
  288. package/dist/flows/CreateCompany/index.js +1 -1
  289. package/dist/flows/CreateCompany/types.d.ts +4 -4
  290. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundFlow.d.ts +4 -4
  291. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundFlow.js +1 -1
  292. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundForm.d.ts +2 -2
  293. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundForm.js +1 -1
  294. package/dist/flows/JsonSchemaPlayground/JsonSchemaPlaygroundResetButton.js +1 -1
  295. package/dist/flows/JsonSchemaPlayground/context.d.ts +3 -3
  296. package/dist/flows/JsonSchemaPlayground/hooks.d.ts +4 -4
  297. package/dist/flows/JsonSchemaPlayground/hooks.js +1 -1
  298. package/dist/flows/JsonSchemaPlayground/index.d.ts +3 -4
  299. package/dist/flows/JsonSchemaPlayground/index.js +1 -1
  300. package/dist/flows/JsonSchemaPlayground/types.d.ts +3 -3
  301. package/dist/flows/Onboarding/OnboardingFlow.d.ts +4 -4
  302. package/dist/flows/Onboarding/OnboardingFlow.js +1 -1
  303. package/dist/flows/Onboarding/api.d.ts +4 -4
  304. package/dist/flows/Onboarding/api.js +1 -1
  305. package/dist/flows/Onboarding/components/AnnualGrossSalary.d.ts +2 -2
  306. package/dist/flows/Onboarding/components/AnnualGrossSalary.js +1 -1
  307. package/dist/flows/Onboarding/components/BasicInformationStep.d.ts +4 -4
  308. package/dist/flows/Onboarding/components/BasicInformationStep.js +1 -1
  309. package/dist/flows/Onboarding/components/BenefitsStep.d.ts +4 -4
  310. package/dist/flows/Onboarding/components/BenefitsStep.js +1 -1
  311. package/dist/flows/Onboarding/components/ContractDetailsStep.d.ts +4 -4
  312. package/dist/flows/Onboarding/components/ContractDetailsStep.js +1 -1
  313. package/dist/flows/Onboarding/components/EmploymentAgreementInfoContent.js +1 -1
  314. package/dist/flows/Onboarding/components/EngagementAgreementDetailsStep.d.ts +4 -4
  315. package/dist/flows/Onboarding/components/EngagementAgreementDetailsStep.js +1 -1
  316. package/dist/flows/Onboarding/components/OnboardingForm.d.ts +4 -4
  317. package/dist/flows/Onboarding/components/OnboardingForm.js +1 -1
  318. package/dist/flows/Onboarding/components/OnboardingInvite.d.ts +3 -3
  319. package/dist/flows/Onboarding/components/OnboardingInvite.js +1 -1
  320. package/dist/flows/Onboarding/components/PreOnboardingRequirements.d.ts +4 -4
  321. package/dist/flows/Onboarding/components/PreOnboardingRequirements.js +1 -1
  322. package/dist/flows/Onboarding/components/PreviewEmploymentAgreementStep.js +1 -1
  323. package/dist/flows/Onboarding/components/ReviewStep.d.ts +4 -4
  324. package/dist/flows/Onboarding/components/SaveDraftButton.d.ts +3 -3
  325. package/dist/flows/Onboarding/components/SelectCountryStep.d.ts +4 -4
  326. package/dist/flows/Onboarding/components/SelectCountryStep.js +1 -1
  327. package/dist/flows/Onboarding/context.d.ts +5 -5
  328. package/dist/flows/Onboarding/hooks.d.ts +5 -5
  329. package/dist/flows/Onboarding/hooks.js +1 -1
  330. package/dist/flows/Onboarding/index.d.ts +4 -4
  331. package/dist/flows/Onboarding/index.js +1 -1
  332. package/dist/flows/Onboarding/types.d.ts +4 -4
  333. package/dist/flows/Onboarding/utils.d.ts +4 -4
  334. package/dist/flows/Onboarding/utils.js +1 -1
  335. package/dist/flows/PayrollAdminOnboarding/PayrollAdminOnboardingFlow.d.ts +4 -4
  336. package/dist/flows/PayrollAdminOnboarding/PayrollAdminOnboardingFlow.js +1 -1
  337. package/dist/flows/PayrollAdminOnboarding/api.d.ts +2 -2
  338. package/dist/flows/PayrollAdminOnboarding/api.js +1 -1
  339. package/dist/flows/PayrollAdminOnboarding/components/AdministrativeDetailsStep.d.ts +3 -3
  340. package/dist/flows/PayrollAdminOnboarding/components/AdministrativeDetailsStep.js +1 -1
  341. package/dist/flows/PayrollAdminOnboarding/components/AdministrativeDetailsStep.js.map +1 -1
  342. package/dist/flows/PayrollAdminOnboarding/components/BackButton.js +1 -1
  343. package/dist/flows/PayrollAdminOnboarding/components/BackButton.js.map +1 -1
  344. package/dist/flows/PayrollAdminOnboarding/components/ContractDetailsStep.d.ts +3 -3
  345. package/dist/flows/PayrollAdminOnboarding/components/ContractDetailsStep.js +1 -1
  346. package/dist/flows/PayrollAdminOnboarding/components/ContractDetailsStep.js.map +1 -1
  347. package/dist/flows/PayrollAdminOnboarding/components/InvitationStep.d.ts +3 -3
  348. package/dist/flows/PayrollAdminOnboarding/components/InvitationStep.js +1 -1
  349. package/dist/flows/PayrollAdminOnboarding/components/InvitationStep.js.map +1 -1
  350. package/dist/flows/PayrollAdminOnboarding/components/PayrollAdminForm.d.ts +2 -2
  351. package/dist/flows/PayrollAdminOnboarding/components/PayrollAdminForm.js +1 -1
  352. package/dist/flows/PayrollAdminOnboarding/components/SelectCountryStep.d.ts +3 -3
  353. package/dist/flows/PayrollAdminOnboarding/components/SelectCountryStep.js +1 -1
  354. package/dist/flows/PayrollAdminOnboarding/components/SelectCountryStep.js.map +1 -1
  355. package/dist/flows/PayrollAdminOnboarding/components/SubmitButton.js +1 -1
  356. package/dist/flows/PayrollAdminOnboarding/components/SubmitButton.js.map +1 -1
  357. package/dist/flows/PayrollAdminOnboarding/components/useStepSubmitHandler.d.ts +3 -3
  358. package/dist/flows/PayrollAdminOnboarding/components/useStepSubmitHandler.js +1 -1
  359. package/dist/flows/PayrollAdminOnboarding/context.d.ts +4 -4
  360. package/dist/flows/PayrollAdminOnboarding/hooks.d.ts +4 -4
  361. package/dist/flows/PayrollAdminOnboarding/hooks.js +1 -1
  362. package/dist/flows/PayrollAdminOnboarding/index.d.ts +4 -4
  363. package/dist/flows/PayrollAdminOnboarding/index.js +1 -1
  364. package/dist/flows/PayrollAdminOnboarding/types.d.ts +4 -4
  365. package/dist/flows/PayrollEmployeeOnboarding/PayrollEmployeeOnboardingFlow.d.ts +4 -4
  366. package/dist/flows/PayrollEmployeeOnboarding/PayrollEmployeeOnboardingFlow.js +1 -1
  367. package/dist/flows/PayrollEmployeeOnboarding/api.d.ts +8 -8
  368. package/dist/flows/PayrollEmployeeOnboarding/api.js +1 -1
  369. package/dist/flows/PayrollEmployeeOnboarding/components/BankAccountStep.d.ts +3 -3
  370. package/dist/flows/PayrollEmployeeOnboarding/components/BankAccountStep.js +1 -1
  371. package/dist/flows/PayrollEmployeeOnboarding/components/FederalTaxesStep.d.ts +3 -3
  372. package/dist/flows/PayrollEmployeeOnboarding/components/FederalTaxesStep.js +1 -1
  373. package/dist/flows/PayrollEmployeeOnboarding/components/HomeAddressStep.d.ts +3 -3
  374. package/dist/flows/PayrollEmployeeOnboarding/components/HomeAddressStep.js +1 -1
  375. package/dist/flows/PayrollEmployeeOnboarding/components/PayrollEmployeeForm.d.ts +2 -2
  376. package/dist/flows/PayrollEmployeeOnboarding/components/PayrollEmployeeForm.js +1 -1
  377. package/dist/flows/PayrollEmployeeOnboarding/components/PersonalDetailsStep.d.ts +3 -3
  378. package/dist/flows/PayrollEmployeeOnboarding/components/PersonalDetailsStep.js +1 -1
  379. package/dist/flows/PayrollEmployeeOnboarding/components/StateTaxesStep.d.ts +4 -4
  380. package/dist/flows/PayrollEmployeeOnboarding/components/StateTaxesStep.js +1 -1
  381. package/dist/flows/PayrollEmployeeOnboarding/components/useEmployeeStepSubmitHandler.d.ts +3 -3
  382. package/dist/flows/PayrollEmployeeOnboarding/components/useEmployeeStepSubmitHandler.js +1 -1
  383. package/dist/flows/PayrollEmployeeOnboarding/context.d.ts +4 -4
  384. package/dist/flows/PayrollEmployeeOnboarding/hooks.d.ts +4 -4
  385. package/dist/flows/PayrollEmployeeOnboarding/hooks.js +1 -1
  386. package/dist/flows/PayrollEmployeeOnboarding/index.d.ts +4 -4
  387. package/dist/flows/PayrollEmployeeOnboarding/index.js +1 -1
  388. package/dist/flows/PayrollEmployeeOnboarding/types.d.ts +4 -4
  389. package/dist/flows/Termination/AdditionalDetailsForm.d.ts +4 -4
  390. package/dist/flows/Termination/AdditionalDetailsForm.js +1 -1
  391. package/dist/flows/Termination/EmployeeComunicationForm.d.ts +4 -4
  392. package/dist/flows/Termination/EmployeeComunicationForm.js +1 -1
  393. package/dist/flows/Termination/PaidTimeOffForm.d.ts +4 -4
  394. package/dist/flows/Termination/PaidTimeOffForm.js +1 -1
  395. package/dist/flows/Termination/TerminationDetailsForm.d.ts +4 -4
  396. package/dist/flows/Termination/TerminationDetailsForm.js +1 -1
  397. package/dist/flows/Termination/TerminationFlow.d.ts +4 -4
  398. package/dist/flows/Termination/TerminationFlow.js +1 -1
  399. package/dist/flows/Termination/TerminationForm.d.ts +4 -4
  400. package/dist/flows/Termination/TerminationForm.js +1 -1
  401. package/dist/flows/Termination/api.d.ts +5 -5
  402. package/dist/flows/Termination/api.js +1 -1
  403. package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformation.js +1 -1
  404. package/dist/flows/Termination/components/AcknowledgeInformation/AcknowledgeInformationFees.js +1 -1
  405. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.d.ts +6 -6
  406. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOff.js +1 -1
  407. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.d.ts +6 -6
  408. package/dist/flows/Termination/components/PaidTimeOff/PaidTimeOffContainer.js +1 -1
  409. package/dist/flows/Termination/components/PaidTimeOff/types.d.ts +6 -6
  410. package/dist/flows/Termination/components/TerminationDialogInfoContent/TerminationDialogInfoContent.js +1 -1
  411. package/dist/flows/Termination/components/TerminationReasonsDetailContent/TerminationReasonsDetailContent.js +1 -1
  412. package/dist/flows/Termination/context.d.ts +4 -4
  413. package/dist/flows/Termination/hooks.d.ts +4 -4
  414. package/dist/flows/Termination/hooks.js +1 -1
  415. package/dist/flows/Termination/index.d.ts +6 -6
  416. package/dist/flows/Termination/index.js +1 -1
  417. package/dist/flows/Termination/json-schemas/jsonSchema.js +1 -1
  418. package/dist/flows/Termination/json-schemas/schema.d.ts +4 -4
  419. package/dist/flows/Termination/json-schemas/schema.js +1 -1
  420. package/dist/flows/Termination/types.d.ts +4 -4
  421. package/dist/flows/Termination/utils.d.ts +4 -4
  422. package/dist/flows/Termination/utils.js +1 -1
  423. package/dist/flows/types.d.ts +3 -3
  424. package/dist/flows/utils.d.ts +2 -2
  425. package/dist/index.css +1 -1
  426. package/dist/index.css.map +1 -1
  427. package/dist/index.d.ts +28 -15
  428. package/dist/index.js +2 -2
  429. package/dist/index.js.map +1 -1
  430. package/dist/internals.d.ts +4 -5
  431. package/dist/internals.js +1 -1
  432. package/dist/{mutations-CCbGTxuw.d.ts → mutations-CajBazWr.d.ts} +1 -1
  433. package/dist/{remoteFlows-BTGwzbVQ.d.ts → remoteFlows-DHOW-e53.d.ts} +1 -1
  434. package/dist/styles.css +1 -1
  435. package/dist/styles.css.map +1 -1
  436. package/dist/{types-BtrEXSWH.d.ts → types-8GvnGYSN.d.ts} +3 -3
  437. package/dist/{types-DoWlYF_Q.d.ts → types-B-hNdynz.d.ts} +2 -2
  438. package/dist/{types-BUCAIjdm.d.ts → types-BhMTFN9Y.d.ts} +1 -1
  439. package/dist/types-BolF-TDg.d.ts +91 -0
  440. package/dist/{types-BQUdy5l7.d.ts → types-C3SXCvNl.d.ts} +4 -4
  441. package/dist/{types-DRIJcxE-.d.ts → types-CRAMV8FR.d.ts} +15 -6
  442. package/dist/{types-CvqFd-l3.d.ts → types-CVrHYMLy.d.ts} +25 -5
  443. package/dist/{types-BAQL-xPU.d.ts → types-EcgTFN8S.d.ts} +23 -12
  444. package/dist/{types.gen-Bn3elzBI.d.ts → types.gen-C4K7xky-.d.ts} +16 -1
  445. package/dist/{utils-Dc_Eq2Vm.d.ts → utils-D6wAHCpX.d.ts} +1 -1
  446. package/package.json +5 -5
  447. package/dist/ButtonDefault-5GP4VFZL.js +0 -2
  448. package/dist/CheckboxFieldDefault-VKVKDNK4.js +0 -2
  449. package/dist/CountryFieldDefault-N7P5V5NR.js +0 -2
  450. package/dist/DatePickerFieldDefault-V3F2DLPV.js +0 -2
  451. package/dist/DrawerDefault-UVRSWQLP.js +0 -2
  452. package/dist/EmailFieldDefault-JN6IDGVM.js +0 -2
  453. package/dist/FieldsetToggleButtonDefault-KVIBW3UI.js +0 -2
  454. package/dist/FileUploadFieldDefault-SD3A25KP.js +0 -2
  455. package/dist/MultiSelectFieldDefault-ZLRPID6V.js +0 -2
  456. package/dist/NumberFieldDefault-MXN7XDOC.js +0 -2
  457. package/dist/RadioGroupFieldDefault-UMDJEJZU.js +0 -2
  458. package/dist/SelectFieldDefault-IUECL5R6.js +0 -2
  459. package/dist/StatementDefault-6B2AXWUL.js +0 -2
  460. package/dist/TableFieldDefault-ZC2IJBFY.js +0 -2
  461. package/dist/TelFieldDefault-PUE57NPS.js +0 -2
  462. package/dist/TextAreaFieldDefault-5CV4XTOT.js +0 -2
  463. package/dist/TextFieldDefault-WSEEAHJV.js +0 -2
  464. package/dist/TimeFieldDefault-K5LYUXKT.js +0 -2
  465. package/dist/WorkScheduleFieldDefault-D6TGVPHC.js +0 -2
  466. package/dist/ZendeskDrawerDefault-2DNA653G.js +0 -2
  467. package/dist/chunk-343R3QEG.js +0 -2
  468. package/dist/chunk-343R3QEG.js.map +0 -1
  469. package/dist/chunk-3AMTQ2DH.js +0 -2
  470. package/dist/chunk-3AMTQ2DH.js.map +0 -1
  471. package/dist/chunk-66DSJTDZ.js +0 -2
  472. package/dist/chunk-66DSJTDZ.js.map +0 -1
  473. package/dist/chunk-6JOMJADW.js +0 -2
  474. package/dist/chunk-6JOMJADW.js.map +0 -1
  475. package/dist/chunk-7ULM6AZK.js +0 -1
  476. package/dist/chunk-AVIZTG4K.js +0 -2
  477. package/dist/chunk-AVIZTG4K.js.map +0 -1
  478. package/dist/chunk-B36HI2TD.js +0 -2
  479. package/dist/chunk-B36HI2TD.js.map +0 -1
  480. package/dist/chunk-BIL7ERK6.js +0 -2
  481. package/dist/chunk-BIL7ERK6.js.map +0 -1
  482. package/dist/chunk-CZY6KI75.js +0 -2
  483. package/dist/chunk-CZY6KI75.js.map +0 -1
  484. package/dist/chunk-ERDNYHQO.js +0 -2
  485. package/dist/chunk-ERDNYHQO.js.map +0 -1
  486. package/dist/chunk-G2LZFGZA.js.map +0 -1
  487. package/dist/chunk-GSB44SSJ.js +0 -2
  488. package/dist/chunk-GSB44SSJ.js.map +0 -1
  489. package/dist/chunk-I363AG3E.js +0 -2
  490. package/dist/chunk-I363AG3E.js.map +0 -1
  491. package/dist/chunk-J2ARI3NQ.js +0 -2
  492. package/dist/chunk-J2ARI3NQ.js.map +0 -1
  493. package/dist/chunk-JVLARDTF.js +0 -2
  494. package/dist/chunk-K7HS55JD.js +0 -2
  495. package/dist/chunk-K7HS55JD.js.map +0 -1
  496. package/dist/chunk-KAX6IHET.js +0 -2
  497. package/dist/chunk-KAX6IHET.js.map +0 -1
  498. package/dist/chunk-MEPIOKJQ.js +0 -2
  499. package/dist/chunk-MEPIOKJQ.js.map +0 -1
  500. package/dist/chunk-PYXLDOXH.js +0 -2
  501. package/dist/chunk-PYXLDOXH.js.map +0 -1
  502. package/dist/chunk-Q6PTVBDS.js +0 -2
  503. package/dist/chunk-Q6PTVBDS.js.map +0 -1
  504. package/dist/chunk-SC7YWKOW.js +0 -2
  505. package/dist/chunk-VVEBSBQ3.js +0 -2
  506. package/dist/chunk-VVEBSBQ3.js.map +0 -1
  507. package/dist/chunk-XLA5Z35M.js +0 -2
  508. package/dist/chunk-XLA5Z35M.js.map +0 -1
  509. package/dist/chunk-Y2K74EBE.js +0 -2
  510. package/dist/chunk-Y2K74EBE.js.map +0 -1
  511. package/dist/chunk-YMBVMMUS.js +0 -2
  512. package/dist/chunk-YMBVMMUS.js.map +0 -1
  513. package/dist/chunk-ZC47WDFG.js.map +0 -1
  514. package/dist/chunk-ZT4OC3OB.js +0 -2
  515. package/dist/chunk-ZT4OC3OB.js.map +0 -1
  516. package/dist/chunk-ZYIEPPSE.js +0 -2
  517. package/dist/chunk-ZYIEPPSE.js.map +0 -1
  518. package/dist/flows/JsonSchemaPlayground/initialValues.d.ts +0 -15
  519. package/dist/flows/JsonSchemaPlayground/initialValues.js +0 -2
  520. package/dist/flows/JsonSchemaPlayground/initialValues.js.map +0 -1
  521. package/dist/flows/JsonSchemaPlayground/schemas.d.ts +0 -1957
  522. package/dist/flows/JsonSchemaPlayground/schemas.js +0 -2
  523. package/dist/flows/JsonSchemaPlayground/schemas.js.map +0 -1
  524. package/dist/types-Im-AaNUG.d.ts +0 -2033
  525. /package/dist/{ButtonDefault-5GP4VFZL.js.map → ButtonDefault-HBOULH5V.js.map} +0 -0
  526. /package/dist/{CheckboxFieldDefault-VKVKDNK4.js.map → CheckboxFieldDefault-62URAHJV.js.map} +0 -0
  527. /package/dist/{CountryFieldDefault-N7P5V5NR.js.map → CountryFieldDefault-24NNZN2C.js.map} +0 -0
  528. /package/dist/{DatePickerFieldDefault-V3F2DLPV.js.map → DatePickerFieldDefault-NMUCZ4U2.js.map} +0 -0
  529. /package/dist/{DrawerDefault-UVRSWQLP.js.map → DrawerDefault-O7NUFWJ4.js.map} +0 -0
  530. /package/dist/{EmailFieldDefault-JN6IDGVM.js.map → EmailFieldDefault-S3DO2YLL.js.map} +0 -0
  531. /package/dist/{FieldsetToggleButtonDefault-KVIBW3UI.js.map → FieldsetToggleButtonDefault-MIRCZJKA.js.map} +0 -0
  532. /package/dist/{FileUploadFieldDefault-SD3A25KP.js.map → FileUploadFieldDefault-4NW5VLF6.js.map} +0 -0
  533. /package/dist/{MultiSelectFieldDefault-ZLRPID6V.js.map → MultiSelectFieldDefault-S45Z53ZY.js.map} +0 -0
  534. /package/dist/{NumberFieldDefault-MXN7XDOC.js.map → NumberFieldDefault-AA5UGCSR.js.map} +0 -0
  535. /package/dist/{RadioGroupFieldDefault-UMDJEJZU.js.map → RadioGroupFieldDefault-X44FYUA3.js.map} +0 -0
  536. /package/dist/{SelectFieldDefault-IUECL5R6.js.map → SelectFieldDefault-PLDXHTQY.js.map} +0 -0
  537. /package/dist/{StatementDefault-6B2AXWUL.js.map → StatementDefault-RDC5G24K.js.map} +0 -0
  538. /package/dist/{TableFieldDefault-ZC2IJBFY.js.map → TableFieldDefault-ES7OIYX5.js.map} +0 -0
  539. /package/dist/{TelFieldDefault-PUE57NPS.js.map → TelFieldDefault-IYGEEV5V.js.map} +0 -0
  540. /package/dist/{TextAreaFieldDefault-5CV4XTOT.js.map → TextAreaFieldDefault-C6M3PIV2.js.map} +0 -0
  541. /package/dist/{TextFieldDefault-WSEEAHJV.js.map → TextFieldDefault-OC2TMXVF.js.map} +0 -0
  542. /package/dist/{TimeFieldDefault-K5LYUXKT.js.map → TimeFieldDefault-J6PKL5T4.js.map} +0 -0
  543. /package/dist/{WorkScheduleFieldDefault-D6TGVPHC.js.map → WorkScheduleFieldDefault-MDDNWRCO.js.map} +0 -0
  544. /package/dist/{ZendeskDrawerDefault-2DNA653G.js.map → ZendeskDrawerDefault-HGKAUCUV.js.map} +0 -0
  545. /package/dist/{chunk-HXEOVMUT.js.map → chunk-2EGFPBT7.js.map} +0 -0
  546. /package/dist/{chunk-NRWIGTY2.js.map → chunk-2JK3XRHE.js.map} +0 -0
  547. /package/dist/{chunk-43FMKELR.js.map → chunk-2RVICCFD.js.map} +0 -0
  548. /package/dist/{chunk-6Z4U4GYV.js.map → chunk-2TBTNTJ2.js.map} +0 -0
  549. /package/dist/{chunk-F35ALUPA.js.map → chunk-3ISSVSL5.js.map} +0 -0
  550. /package/dist/{chunk-HHFGG3RU.js.map → chunk-3NKRZURO.js.map} +0 -0
  551. /package/dist/{chunk-LNR6TGLQ.js.map → chunk-43XVHRYM.js.map} +0 -0
  552. /package/dist/{chunk-OK4RV6ZT.js.map → chunk-46RBPCK6.js.map} +0 -0
  553. /package/dist/{chunk-Y3CJRZLA.js.map → chunk-4FGKIGKF.js.map} +0 -0
  554. /package/dist/{chunk-OV6PV4N5.js.map → chunk-4GIQCWII.js.map} +0 -0
  555. /package/dist/{chunk-RJXRGUNB.js.map → chunk-4IEAIF46.js.map} +0 -0
  556. /package/dist/{chunk-74ICDGQK.js.map → chunk-4X7TVFHA.js.map} +0 -0
  557. /package/dist/{chunk-FCY5FJMC.js.map → chunk-52GHCI6X.js.map} +0 -0
  558. /package/dist/{chunk-SC7YWKOW.js.map → chunk-5MPW7QWT.js.map} +0 -0
  559. /package/dist/{chunk-LSC6NTXD.js.map → chunk-65G3JQ7T.js.map} +0 -0
  560. /package/dist/{chunk-FG2DNTDR.js.map → chunk-6BOIGCHK.js.map} +0 -0
  561. /package/dist/{chunk-OPX7E3W2.js.map → chunk-6JTUAJBZ.js.map} +0 -0
  562. /package/dist/{chunk-HBOMEPXQ.js.map → chunk-6LQ2EP7Y.js.map} +0 -0
  563. /package/dist/{chunk-S3EXF5DV.js.map → chunk-6QEAL5BB.js.map} +0 -0
  564. /package/dist/{chunk-LFHFZU6X.js.map → chunk-6SNWSCXH.js.map} +0 -0
  565. /package/dist/{chunk-KT4Y4UPD.js.map → chunk-A3EQ7FNB.js.map} +0 -0
  566. /package/dist/{chunk-N6XLGYRK.js.map → chunk-AHUSQVQY.js.map} +0 -0
  567. /package/dist/{chunk-T5J2Z6ZR.js.map → chunk-BC4V2YAK.js.map} +0 -0
  568. /package/dist/{chunk-PQG6KZIO.js.map → chunk-BGSB3XPW.js.map} +0 -0
  569. /package/dist/{chunk-PGCS6HUO.js.map → chunk-BIE73HZH.js.map} +0 -0
  570. /package/dist/{chunk-R4TM2Y3K.js.map → chunk-BS2YN6CS.js.map} +0 -0
  571. /package/dist/{chunk-FHIMDCMT.js.map → chunk-BVKOMSHU.js.map} +0 -0
  572. /package/dist/{chunk-PSU2AEFU.js.map → chunk-BZ4VPC4U.js.map} +0 -0
  573. /package/dist/{chunk-F5WNUYFP.js.map → chunk-CH75YRKR.js.map} +0 -0
  574. /package/dist/{chunk-OXTA4W4J.js.map → chunk-CM4UUBU5.js.map} +0 -0
  575. /package/dist/{chunk-HFHQDWJN.js.map → chunk-D2PYVF6J.js.map} +0 -0
  576. /package/dist/{chunk-DO7OL4EG.js.map → chunk-DAYIMXLP.js.map} +0 -0
  577. /package/dist/{chunk-BUOHZMK6.js.map → chunk-DDH7MZ7M.js.map} +0 -0
  578. /package/dist/{chunk-44XEUAFV.js.map → chunk-DKOETPI4.js.map} +0 -0
  579. /package/dist/{chunk-D2MZKYRH.js.map → chunk-DL6MFAFK.js.map} +0 -0
  580. /package/dist/{chunk-QJJZTAG2.js.map → chunk-DLSHZLHX.js.map} +0 -0
  581. /package/dist/{chunk-MHIY35CK.js.map → chunk-DOVE5SYY.js.map} +0 -0
  582. /package/dist/{chunk-FJC6IGXJ.js.map → chunk-FFFB5CG2.js.map} +0 -0
  583. /package/dist/{chunk-6OHLLH6W.js.map → chunk-FII45OPC.js.map} +0 -0
  584. /package/dist/{chunk-7NFCUTWO.js.map → chunk-FOYZWDU5.js.map} +0 -0
  585. /package/dist/{chunk-2BCZXNBX.js.map → chunk-FQFIRIKU.js.map} +0 -0
  586. /package/dist/{chunk-PFQB3V2U.js.map → chunk-FXVHH75C.js.map} +0 -0
  587. /package/dist/{chunk-3UBFABDS.js.map → chunk-GPY3JZJJ.js.map} +0 -0
  588. /package/dist/{chunk-UT3CQ2DH.js.map → chunk-GWQJKZ3M.js.map} +0 -0
  589. /package/dist/{chunk-VZ3JCO23.js.map → chunk-GYYQWPA6.js.map} +0 -0
  590. /package/dist/{chunk-CPRWWJYQ.js.map → chunk-H6XSWBE5.js.map} +0 -0
  591. /package/dist/{chunk-YJFRQSTA.js.map → chunk-H7PNNMW5.js.map} +0 -0
  592. /package/dist/{chunk-LJUWER2H.js.map → chunk-HFFQ642D.js.map} +0 -0
  593. /package/dist/{chunk-DMNKKWLY.js.map → chunk-HQLGDW2G.js.map} +0 -0
  594. /package/dist/{chunk-QO7Y6QRE.js.map → chunk-HU7FSSPH.js.map} +0 -0
  595. /package/dist/{chunk-SQCTVURR.js.map → chunk-IMCNVNKF.js.map} +0 -0
  596. /package/dist/{chunk-J2L3CYIS.js.map → chunk-INUCPQVI.js.map} +0 -0
  597. /package/dist/{chunk-F7QTO3NU.js.map → chunk-IVISBFAT.js.map} +0 -0
  598. /package/dist/{chunk-34JOEA4E.js.map → chunk-J7I4WJ4G.js.map} +0 -0
  599. /package/dist/{chunk-4MB3FE3T.js.map → chunk-JH3WUGO5.js.map} +0 -0
  600. /package/dist/{chunk-RYUBFXSX.js.map → chunk-KF54ACZP.js.map} +0 -0
  601. /package/dist/{chunk-MKO33XZ5.js.map → chunk-LD633A5N.js.map} +0 -0
  602. /package/dist/{chunk-WLPWXK7I.js.map → chunk-LKTCYO6Y.js.map} +0 -0
  603. /package/dist/{chunk-JXZX66MM.js.map → chunk-LQFLXXBR.js.map} +0 -0
  604. /package/dist/{chunk-7ULM6AZK.js.map → chunk-MAEAZFMR.js.map} +0 -0
  605. /package/dist/{chunk-CRDG62ZJ.js.map → chunk-MS2MOZGL.js.map} +0 -0
  606. /package/dist/{chunk-DSGQZDY6.js.map → chunk-MZN6VY5F.js.map} +0 -0
  607. /package/dist/{chunk-DJIQISA2.js.map → chunk-NDWVOVDM.js.map} +0 -0
  608. /package/dist/{chunk-WIFDQWVX.js.map → chunk-NFLN2YB6.js.map} +0 -0
  609. /package/dist/{chunk-XYF4TIRU.js.map → chunk-NGCNYQSC.js.map} +0 -0
  610. /package/dist/{chunk-YWLRVUE3.js.map → chunk-NPXIFNK2.js.map} +0 -0
  611. /package/dist/{chunk-3GCJILCE.js.map → chunk-O2M7ZWVK.js.map} +0 -0
  612. /package/dist/{chunk-LBQQSYCG.js.map → chunk-P5NAMZNA.js.map} +0 -0
  613. /package/dist/{chunk-HGFJTAEM.js.map → chunk-PG7R37J5.js.map} +0 -0
  614. /package/dist/{chunk-DIH7KHWI.js.map → chunk-PMCCHSXD.js.map} +0 -0
  615. /package/dist/{chunk-7O4Y3DAM.js.map → chunk-PMIGYQEX.js.map} +0 -0
  616. /package/dist/{chunk-MC6VR4AZ.js.map → chunk-PQGDGJLG.js.map} +0 -0
  617. /package/dist/{chunk-ZOTY3CAM.js.map → chunk-QO7HHRNA.js.map} +0 -0
  618. /package/dist/{chunk-43NIG25S.js.map → chunk-R6QQPJ3F.js.map} +0 -0
  619. /package/dist/{chunk-D4XBTJOV.js.map → chunk-R7AWHFPG.js.map} +0 -0
  620. /package/dist/{chunk-W4LHXUIX.js.map → chunk-RFVATVNN.js.map} +0 -0
  621. /package/dist/{chunk-BOE6NL6T.js.map → chunk-RN3WPVBZ.js.map} +0 -0
  622. /package/dist/{chunk-FQFLC6YA.js.map → chunk-RRERBS7F.js.map} +0 -0
  623. /package/dist/{chunk-PRXJRF7V.js.map → chunk-SK7MIRZS.js.map} +0 -0
  624. /package/dist/{chunk-S4JJIDWH.js.map → chunk-STFU4KD6.js.map} +0 -0
  625. /package/dist/{chunk-WYUPZMPN.js.map → chunk-STJU6LZF.js.map} +0 -0
  626. /package/dist/{chunk-PIKEYX3V.js.map → chunk-SU4FMKBZ.js.map} +0 -0
  627. /package/dist/{chunk-RKRYZZ3R.js.map → chunk-SY7QZIKZ.js.map} +0 -0
  628. /package/dist/{chunk-V3J5DAMB.js.map → chunk-SYSVKYHX.js.map} +0 -0
  629. /package/dist/{chunk-ECGNGVSC.js.map → chunk-TAYJ2AK4.js.map} +0 -0
  630. /package/dist/{chunk-A2TY3VWL.js.map → chunk-TC6KCSDD.js.map} +0 -0
  631. /package/dist/{chunk-OETKBT6P.js.map → chunk-TVTJS3PE.js.map} +0 -0
  632. /package/dist/{chunk-6PWZ4TBI.js.map → chunk-TZIDQ5O3.js.map} +0 -0
  633. /package/dist/{chunk-R744BZN2.js.map → chunk-U4PFZ54M.js.map} +0 -0
  634. /package/dist/{chunk-RR57VT45.js.map → chunk-UCBZMQGL.js.map} +0 -0
  635. /package/dist/{chunk-GGDVTGHG.js.map → chunk-UETHEV7Q.js.map} +0 -0
  636. /package/dist/{chunk-3CJB74UF.js.map → chunk-UYYITOOO.js.map} +0 -0
  637. /package/dist/{chunk-BB5K57D4.js.map → chunk-V2XF4QEW.js.map} +0 -0
  638. /package/dist/{chunk-YS6VDGFW.js.map → chunk-V2ZDW66A.js.map} +0 -0
  639. /package/dist/{chunk-3BAVRWSN.js.map → chunk-VHKLNEC2.js.map} +0 -0
  640. /package/dist/{chunk-RFEF2B5D.js.map → chunk-VYLSS2C7.js.map} +0 -0
  641. /package/dist/{chunk-ZFF6E44S.js.map → chunk-VZ34NZXF.js.map} +0 -0
  642. /package/dist/{chunk-GF34UO7V.js.map → chunk-W3GEGGZY.js.map} +0 -0
  643. /package/dist/{chunk-A7D2NNLM.js.map → chunk-WL7WQBSR.js.map} +0 -0
  644. /package/dist/{chunk-V557KUHJ.js.map → chunk-WMUF335R.js.map} +0 -0
  645. /package/dist/{chunk-STKY674N.js.map → chunk-WS5BL2WM.js.map} +0 -0
  646. /package/dist/{chunk-TQH4OKHR.js.map → chunk-WTJJEIF2.js.map} +0 -0
  647. /package/dist/{chunk-KTPIKOUV.js.map → chunk-X7KIEFEN.js.map} +0 -0
  648. /package/dist/{chunk-LS4CLDLI.js.map → chunk-XDRJTAFV.js.map} +0 -0
  649. /package/dist/{chunk-NEKE5PRJ.js.map → chunk-XGECMN4V.js.map} +0 -0
  650. /package/dist/{chunk-ARVKTD3V.js.map → chunk-XQ65RVB7.js.map} +0 -0
  651. /package/dist/{chunk-3ID3UX2Q.js.map → chunk-XVZQBTB3.js.map} +0 -0
  652. /package/dist/{chunk-WMBHCIFS.js.map → chunk-Y3G3JGLP.js.map} +0 -0
  653. /package/dist/{chunk-Y3YYLANJ.js.map → chunk-YDL42SVF.js.map} +0 -0
  654. /package/dist/{chunk-746NEWTS.js.map → chunk-YZKQB7WG.js.map} +0 -0
  655. /package/dist/{chunk-MGDYS2EY.js.map → chunk-ZCTEA2O6.js.map} +0 -0
  656. /package/dist/{chunk-3B6BHFDV.js.map → chunk-ZHFUFIWX.js.map} +0 -0
  657. /package/dist/{chunk-Z5LVLVTU.js.map → chunk-ZWA5FYVS.js.map} +0 -0
  658. /package/dist/{chunk-7D4XFAQR.js.map → chunk-ZZWI5S72.js.map} +0 -0
@@ -1,2 +0,0 @@
1
- var e={"france-wage-portage":{name:"France Wage Portage Schema",description:"Complex schema for France wage portage employment with conditional logic",schema:{additionalProperties:!1,allOf:[{else:{properties:{non_compete_clause_compensation_amount:!1,non_compete_restricted_activities:!1}},if:{properties:{annual_gross_salary:{type:"integer"},non_compete_clause_apply:{const:"yes"}},required:["non_compete_clause_apply","annual_gross_salary"]},then:{properties:{non_compete_clause_compensation_amount:{"x-jsf-logic-computedAttrs":{const:"computed_non_compete_clause_compensation_amount_in_cents",default:"computed_non_compete_clause_compensation_amount_in_cents","x-jsf-presentation":{statement:{description:"The employee will receive this monthly compensation after termination for the entire non-compete period.",title:"{{computed_non_compete_clause_compensation_amount}} XXX non-compete compensation amount"}}}}},required:["non_compete_clause_compensation_amount","non_compete_restricted_activities"]}},{else:{properties:{non_compete_clause_compensation_amount:!1,non_compete_clause_halt_period_months:!1,non_compete_compensation_salary_percentage:!1,non_compete_restricted_activities:!1}},if:{properties:{non_compete_clause_apply:{const:"yes"}},required:["non_compete_clause_apply"]},then:{required:["non_compete_compensation_salary_percentage","non_compete_clause_halt_period_months"]}},{else:{properties:{mission_duration:!1}},if:{properties:{contract_duration_type:{const:"indefinite"}},required:["contract_duration_type"]},then:{required:["mission_duration"]}},{if:{properties:{contract_duration_type:{const:"indefinite"}},required:["contract_duration_type"]},then:{properties:{contract_duration_type:{oneOf:[{const:"indefinite",description:"After this period, the engagement must end unless it qualifies as a new assignment with a different scope.",title:"Indefinite contract with <strong>36 months max duration</strong> for France."},{const:"fixed_term",nested_fields:["contract_end_date"],title:"Fixed-term contract"}]}}}},{else:{properties:{contract_end_date:!1}},if:{properties:{contract_duration_type:{const:"fixed_term"}},required:["contract_duration_type"]},then:{properties:{contract_end_date:{type:"string"}},required:["contract_end_date"]}},{else:{else:{properties:{business_allowance_ack:!1,business_allowances_statement:!1,home_office_allowance:!1}},if:{properties:{contract_duration_type:{const:"fixed_term"}},required:["contract_duration_type"]},then:{properties:{business_allowance_ack:{title:"I understand the 5% allowance applies each month and a 10% indemnity is paid in addition to the employee's total earnings at the end of their contract."},business_allowances_statement:{"x-jsf-logic-computedAttrs":{"x-jsf-presentation":{statement:{description:"<strong>Mandatory allowances</strong><br /><br />Under French Wage Portage regulations, the following amounts are required by law. We automatically applied them based on the employee's gross salary.<br /><ul><li>Mandatory 5% allowance: {{computed_business_allowance_display}} EUR</li><li>Mandatory 10% Indemnity (end of contract): {{computed_financial_reserve_display}} EUR</li><li>Annual gross salary: {{computed_annual_gross_salary_display}} EUR</li><li><strong>Total annual gross salary and mandatory allowance:</strong> {{computed_total_with_allowance_display}} EUR</li></ul>"}}}}},required:["business_allowance_ack","home_office_allowance"]}},if:{properties:{contract_duration_type:{const:"indefinite"}},required:["contract_duration_type"]},then:{required:["business_allowance_ack","home_office_allowance"]}},{else:{properties:{business_allowance_ack:!1,business_allowances_statement:!1,home_office_allowance:!1}},if:{properties:{annual_gross_salary:{type:"integer"}},required:["annual_gross_salary"]},then:{}},{else:{properties:{business_allowance_amount:!1,financial_reserve_amount:!1}},if:{properties:{annual_gross_salary:{type:"integer"}},required:["annual_gross_salary"]},then:{properties:{business_allowance_amount:{"x-jsf-logic-computedAttrs":{const:"computed_business_allowance_amount",default:"computed_business_allowance_amount"}},financial_reserve_amount:{"x-jsf-logic-computedAttrs":{const:"computed_financial_reserve_amount",default:"computed_financial_reserve_amount"}}}}},{if:{properties:{work_hours_per_week:{const:"lump_sum"}},required:["work_hours_per_week"]},then:{properties:{annual_gross_salary:{minimum:3667800,"x-jsf-errorMessage":{minimum:"Must be \u20AC36,678.00 or greater for Lump-sum contracts."}}}}},{if:{properties:{experience_level:{const:"expert"},work_hours_per_week:{const:"35"}},required:["experience_level","work_hours_per_week"]},then:{properties:{annual_gross_salary:{minimum:3667800,"x-jsf-errorMessage":{minimum:"Must be \u20AC36,678.00 or greater for the Expert experience level."}}}}},{if:{properties:{experience_level:{const:"senior"},work_hours_per_week:{const:"35"}},required:["experience_level","work_hours_per_week"]},then:{properties:{annual_gross_salary:{minimum:3236300,"x-jsf-errorMessage":{minimum:"Must be \u20AC32,363.00 or greater for the Senior experience level."}}}}},{if:{properties:{experience_level:{const:"junior"},work_hours_per_week:{const:"35"}},required:["experience_level","work_hours_per_week"]},then:{properties:{annual_gross_salary:{minimum:3020500,"x-jsf-errorMessage":{minimum:"Must be \u20AC30,205.00 or greater for the Junior experience level."}}}}},{if:{properties:{experience_level:{const:"premier_niveau"},work_hours_per_week:{const:"35"}},required:["experience_level","work_hours_per_week"]},then:{properties:{annual_gross_salary:{minimum:2718500,"x-jsf-errorMessage":{minimum:"Must be \u20AC27,185.00 or greater for the First-Level experience level."}}}}},{if:{properties:{additional_job_title_eligibility_check_result:{const:"no"}},required:["additional_job_title_eligibility_check_result"]},then:{properties:{role_description:{"x-jsf-presentation":{statement:{inputType:"statement",severity:"error",title:"Unfortunately based on the information entered, we cannot hire this role in France."}}}}}},{if:{properties:{additional_job_title_eligibility_check_result:{const:"maybe"}},required:["additional_job_title_eligibility_check_result"]},then:{properties:{role_description:{"x-jsf-presentation":{statement:{description:"Complete the add employee process and we'll let you know as soon as we can if we can hire this role.",inputType:"statement",severity:"info",title:"Remote AI isn't sure if we can hire this role in France"}}}}}},{else:{properties:{commissions_ack:!1,commissions_details:!1}},if:{properties:{has_commissions:{const:"yes"}},required:["has_commissions"]},then:{properties:{commissions_ack:{type:["string"]},commissions_details:{type:["string"]}},required:["commissions_details","commissions_ack"]}},{else:{properties:{bonus_amount:!1,bonus_details:!1}},if:{properties:{has_bonus:{const:"yes"}},required:["has_bonus"]},then:{properties:{bonus_details:{type:["string"]}},required:["bonus_details"]}},{else:{properties:{signing_bonus_amount:!1}},if:{properties:{has_signing_bonus:{const:"yes"}},required:["has_signing_bonus"]},then:{properties:{signing_bonus_amount:{type:["integer"]}},required:["signing_bonus_amount"]}},{else:{if:{properties:{probation_length_recommended:{const:"custom"}},required:["probation_length_recommended"]},then:{else:{properties:{probation_length_days:!1},required:["probation_length"]},if:{properties:{contract_duration_type:{const:"fixed_term"}},required:["contract_duration_type"]},then:{properties:{probation_length:!1},required:["probation_length_days"]}}},if:{properties:{probation_length_recommended:{const:"recommended"}},required:["probation_length_recommended"]},then:{allOf:[{else:{allOf:[{if:{properties:{has_probation_period:{const:"yes"}},required:["has_probation_period"]},then:{required:["probation_length"]}}],properties:{probation_length:{"x-jsf-logic-computedAttrs":{const:"probation_length_maximum_months",default:"probation_length_maximum_months"}},probation_length_days:!1}},if:{properties:{contract_duration_type:{const:"fixed_term"}},required:["contract_duration_type"]},then:{allOf:[{if:{properties:{has_probation_period:{const:"yes"}},required:["has_probation_period"]},then:{required:["probation_length_days"]}}],properties:{probation_length:!1,probation_length_days:{"x-jsf-logic-computedAttrs":{const:"probation_length_days_recommended",default:"probation_length_days_recommended"}}}}}]}},{else:{properties:{has_probation_period:{const:"no",default:"no"}}},if:{anyOf:[{properties:{probation_length:{exclusiveMinimum:0}},required:["probation_length"]},{properties:{probation_length_days:{exclusiveMinimum:0}},required:["probation_length_days"]}]},then:{properties:{has_probation_period:{const:"yes",default:"yes"}}}},{else:{else:{properties:{non_compete_clause_apply:!1,probation_length_recommended:!1,contract_end_date:!1,business_allowance_ack:!1,work_hours_per_week:!1,non_compete_restricted_activities:!1,work_experience:!1,has_commissions:!1,has_bonus:!1,primary_contact_point:!1,job_title_check_enabled:!1,business_allowance_amount:!1,key_skills:!1,annual_gross_salary:!1,contract_duration_type:!1,available_pto:!1,probation_length:!1,experience_level:!1,bonus_details:!1,role_description:!1,business_allowances_statement:!1,has_probation_period:!1,signing_bonus_amount:!1,wage_portage_eligibility:!1,non_compete_clause_compensation_amount:!1,commissions_details:!1,provided_systems:!1,financial_reserve_amount:!1,non_compete_clause_halt_period_months:!1,field_of_work:!1,work_schedule:!1,mission_deliverables_cadence:!1,non_compete_compensation_salary_percentage:!1,work_address_is_home_address:!1,bonus_amount:!1,professional_qualifications:!1,home_office_allowance:!1,additional_job_title_eligibility_check_slug:!1,probation_length_days:!1,employee_travel_required:!1,has_signing_bonus:!1,additional_job_title_eligibility_check_result:!1,provided_equipment:!1,mission_duration:!1,commissions_ack:!1}},if:{anyOf:[{properties:{has_wage_portage_higher_degree:{const:"yes"}},required:["has_wage_portage_higher_degree"]},{properties:{has_wage_portage_years_of_experience:{const:"yes"}},required:["has_wage_portage_years_of_experience"]}]},then:{properties:{wage_portage_eligibility:!1},required:["non_compete_clause_apply","field_of_work","work_experience","key_skills","professional_qualifications","primary_contact_point","provided_equipment","provided_systems","mission_deliverables_cadence","contract_duration_type","work_hours_per_week","annual_gross_salary","probation_length_recommended","job_title_check_enabled","has_probation_period","available_pto","experience_level","has_signing_bonus","has_bonus","has_commissions","role_description","work_address_is_home_address","employee_travel_required","has_wage_portage_higher_degree","has_wage_portage_years_of_experience","work_schedule"]}},if:{properties:{has_wage_portage_higher_degree:{const:"no"},has_wage_portage_years_of_experience:{const:"no"}},required:["has_wage_portage_higher_degree","has_wage_portage_years_of_experience"]},then:{properties:{non_compete_clause_apply:!1,probation_length_recommended:!1,contract_end_date:!1,business_allowance_ack:!1,work_hours_per_week:!1,non_compete_restricted_activities:!1,work_experience:!1,has_commissions:!1,has_bonus:!1,primary_contact_point:!1,job_title_check_enabled:!1,business_allowance_amount:!1,key_skills:!1,annual_gross_salary:!1,contract_duration_type:!1,available_pto:!1,probation_length:!1,experience_level:!1,bonus_details:!1,role_description:!1,business_allowances_statement:!1,has_probation_period:!1,signing_bonus_amount:!1,wage_portage_eligibility:{const:"no",default:"no","x-jsf-presentation":{inputType:"statement"}},non_compete_clause_compensation_amount:!1,commissions_details:!1,provided_systems:!1,financial_reserve_amount:!1,non_compete_clause_halt_period_months:!1,field_of_work:!1,work_schedule:!1,mission_deliverables_cadence:!1,non_compete_compensation_salary_percentage:!1,work_address_is_home_address:!1,bonus_amount:!1,professional_qualifications:!1,home_office_allowance:!1,additional_job_title_eligibility_check_slug:!1,probation_length_days:!1,employee_travel_required:!1,has_signing_bonus:!1,additional_job_title_eligibility_check_result:!1,provided_equipment:!1,mission_duration:!1,commissions_ack:!1}}}],properties:{non_compete_clause_apply:{description:"Prevents the employee from joining or starting a competing business. Not allowed during employment under French Wage Portage law. Post-termination only, with limits and required compensation.",oneOf:[{const:"yes",title:"Yes"},{const:"no",title:"No"}],title:"Do you want to apply post-termination restrictions (non-compete)?",type:"string","x-jsf-presentation":{direction:"row",inputType:"radio"}},probation_length_recommended:{description:"A probation period allows for more flexible termination, especially for performance-related issues. Below are our recommendations, aligned with the wage portage collective agreement. Termination during probation requires notice based on the employee's tenure. <a href='https://support.remote.com/hc/en-us/articles/43837197759501-How-do-probation-periods-work-in-France-for-wage-portage-employees' target='_blank'>Learn more about probation periods</a> and <a href='https://support.remote.com/hc/en-us/articles/43837333997325-How-do-I-terminate-an-employee-during-their-probation-period-in-France-wage-portage' target='_blank'>terminations during probation</a>",oneOf:[{const:"recommended",title:"4 months","x-jsf-logic-computedAttrs":{description:"{{recommended_probation_description}}",title:"{{recommended_probation_label}}"},"x-jsf-presentation":{recommended:!0}},{const:"custom",title:"Choose your own length"}],title:"Probation period",type:"string","x-jsf-presentation":{direction:"column",inputType:"radio"}},contract_end_date:{description:"Fixed-term contracts are limited to a maximum duration of 18 months.",format:"date",maxLength:255,title:"Contract end date",type:["string","null"],"x-jsf-presentation":{inputType:"date",maxDate:"2028-03-02",minDate:"2026-09-03"}},business_allowance_ack:{const:"acknowledged",title:"I understand that the 5% allowance applies automatically. A mandatory, non-waivable 10% financial reserve is withheld from the employees monthly base salary during assignments.",type:"string","x-jsf-presentation":{description:"<a href='https://support.remote.com/hc/en-us/articles/43837622285709-Wage-Portage-France-Mandatory-Allowances' target='_blank'>Learn more about mandatory allowances</a>",inputType:"checkbox"}},work_hours_per_week:{description:"",oneOf:[{const:"35",description:"This is a standard 35-hour contract for full-time employees. Employees can receive overtime with written approval from their manager.",title:"35-hour contract"},{const:"lump_sum",description:"This is a 218-day-per-year contract with no fixed working hours or overtime. Employees receive additional rest days to ensure they work exactly 218 days per year.",title:"Lump-sum contract in days"}],title:"Work hours per week",type:"string","x-jsf-presentation":{inputType:"radio"}},non_compete_restricted_activities:{description:`Please define the specific professional activities the employee is prohibited from engaging in after leaving the company, not just a general "no competition" clause. <a href='https://support.remote.com/hc/en-us/articles/43837822723981-How-do-non-compete-restricted-activities-work-in-France-wage-portage' target='_blank'>Learn more</a>`,maxLength:5e3,minLength:20,title:"Restricted activities",type:"string","x-jsf-presentation":{inputType:"textarea"}},work_experience:{description:'Briefly describe the required professional background and level of experience (e.g. "5+ years of experience in digital marketing, including work with multinational clients").',maxLength:1e3,title:"Relevant experience",type:"string","x-jsf-presentation":{inputType:"textarea"}},has_commissions:{description:"Will the employee be eligible to participate in the Company's commission plan? The terms and conditions of this arrangement must be communicated to the employee separately.",oneOf:[{const:"yes",title:"Yes"},{const:"no",title:"No"}],title:"Offer commission?",type:"string","x-jsf-presentation":{direction:"row",inputType:"radio"}},has_bonus:{description:"These can include things like performance-related bonuses.",oneOf:[{const:"yes",title:"Yes"},{const:"no",title:"No"}],title:"Offer other bonuses?",type:"string","x-jsf-presentation":{direction:"row",inputType:"radio",meta:{helpCenter:{callToAction:"Learn more",content:"The help center content is currently unavailable.",error:!0,id:18019142406029,title:"Help center unavailable"}}}},has_wage_portage_higher_degree:{description:"(e.g. BTS, DUT, Licence, Master's degree, or equivalent)",oneOf:[{const:"yes",title:"Yes"},{const:"no",title:"No"}],title:"Does your employee hold a higher education qualification?",type:"string","x-jsf-presentation":{direction:"row",inputType:"radio"}},primary_contact_point:{description:"Enter the name of the person the employee will primarily work with or contact during the assignment.",maxLength:255,title:"Primary point of contact",type:"string","x-jsf-presentation":{inputType:"text"}},job_title_check_enabled:{const:!0,default:!0,enum:[!0],oneOf:[{const:!0,title:"Yes"},{const:!1,title:"No"}],type:"boolean","x-jsf-presentation":{inputType:"hidden"}},business_allowance_amount:{title:"Business allowance amount",type:"integer","x-jsf-errorMessage":{type:"Please, use US standard currency format. Ex: 1024.12"},"x-jsf-presentation":{currency:"EUR",inputType:"money"}},key_skills:{description:"List the key skills required to perform the mission (e.g. client communication, project management, software development).",maxLength:1e3,title:"Required key skills",type:"string","x-jsf-presentation":{inputType:"textarea"}},annual_gross_salary:{description:"Enter the employee's annual gross base salary. This amount is used to calculate payroll and must meet the legal minimum in France.",title:"Annual gross salary",type:"integer","x-jsf-errorMessage":{type:"Please, use US standard currency format. Ex: 1024.12"},"x-jsf-presentation":{currency:"EUR",inputType:"money",meta:{helpCenter:{callToAction:"Learn more",content:"The help center content is currently unavailable.",error:!0,id:27657390602637,title:"Help center unavailable"}}}},contract_duration_type:{description:"Under French Wage Portage regulations, assignments with the same client are limited to 18 months for fixed-term contracts and 36 months for indefinite contracts.",oneOf:[{const:"indefinite",title:"Indefinite contract with <strong>36 months max duration</strong> for France."},{const:"fixed_term",nested_fields:["contract_end_date"],title:"Fixed-term contract"}],title:"Contract duration",type:"string","x-jsf-presentation":{direction:"column",inputType:"radio",meta:{helpCenter:{callToAction:"Learn more about French contract duration",content:"The help center content is currently unavailable.",error:!0,id:43837143193357,title:"Help center unavailable"}}}},available_pto:{const:30,default:30,description:"Employees are entitled to 30 business days of paid leave per year (equivalent to 2.5 days per month), in line with French labor law and the wage portage collective agreement. Public holidays are excluded and vary by location.",title:"Number of paid time off days",type:"number","x-jsf-presentation":{inputType:"number",statement:{title:"Number of paid time off days: <strong>30 days</strong>"}}},probation_length:{description:"If you enter a value of '0', the employee will not have a probation period.",minimum:0,title:"Probation period in months",type:"number","x-jsf-logic-computedAttrs":{maximum:"probation_length_maximum_months","x-jsf-presentation":{inputType:"probation_length_input_type"}},"x-jsf-presentation":{inputType:"number"}},experience_level:{description:"Select the employee\u2019s level under the French Wage Portage collective agreement. This level determines applicable pay scales, benefits, and autonomy expectations, and applies only within the Wage Portage framework (not internal career levels).",oneOf:[{const:"premier_niveau",description:"Entry-level professional performing straightforward services for the client. Mission duration cannot exceed 24 months.",title:"Salari\xE9 port\xE9 premier niveau \u2014 First-Level Ported Employee"},{const:"junior",description:"Professional with moderate experience who can assess company needs, propose improvements and participate in implementation.",title:"Salari\xE9 port\xE9 junior \u2014 Junior Ported Employee"},{const:"senior",description:"Experienced professional who performs complex services with a significant level of initiative and responsibility.",title:"Salari\xE9 port\xE9 senior \u2014 Senior Ported Employee"},{const:"expert",description:"Highly-skilled professional who performs complex services which require a high level of initiative and responsibility.",title:"Salari\xE9 port\xE9 expert \u2014 Expert Ported Employee"}],title:"Experience Level",type:"string","x-jsf-presentation":{direction:"column",inputType:"radio",meta:{helpCenter:{callToAction:"Learn more",content:"The help center content is currently unavailable.",error:!0,id:41652078093965,title:"Help center unavailable"}}}},bonus_details:{description:"Bonus type, payment frequency, and more.",maxLength:1e3,title:"Other bonus details",type:["string","null"],"x-jsf-presentation":{inputType:"textarea"}},role_description:{description:"Please add at least 3 responsibilities, at least 100 characters in total.",maxLength:5e3,minLength:100,title:"Role description",type:"string","x-jsf-presentation":{inputType:"textarea",meta:{helpCenter:{callToAction:"Learn more",content:"The help center content is currently unavailable.",error:!0,id:18019255579405,title:"Help center unavailable"}}}},business_allowances_statement:{title:"Mandatory allowances",type:"null","x-jsf-logic-computedAttrs":{"x-jsf-presentation":{statement:{description:"<strong>Mandatory allowances</strong><br /><br />Under French Wage Portage regulations, the following amounts are required by law. We automatically applied them based on the employee's gross salary.<br /><ul><li>Mandatory 5% allowance: {{computed_business_allowance_display}} EUR</li><li>Mandatory 10% financial reserve: {{computed_financial_reserve_display}} EUR</li><li>Annual gross salary: {{computed_annual_gross_salary_display}} EUR</li><li><strong>Total annual gross salary and mandatory allowance:</strong> {{computed_total_with_allowance_display}} EUR</li></ul>"}}},"x-jsf-presentation":{inputType:"hidden",meta:{ignoreValue:!0},statement:{inputType:"statement",severity:"info"}}},has_probation_period:{oneOf:[{const:"yes",title:"Yes"},{const:"no",title:"No"}],title:"Probation period",type:"string","x-jsf-presentation":{inputType:"hidden"}},signing_bonus_amount:{title:"Signing bonus amount",type:["integer","null"],"x-jsf-errorMessage":{type:"Please, use US standard currency format. Ex: 1024.12"},"x-jsf-presentation":{currency:"EUR",inputType:"money"}},wage_portage_eligibility:{const:"yes",default:"yes",enum:["yes"],title:"Wage portage eligibility",type:"string","x-jsf-presentation":{inputType:"hidden",meta:{ignoreValue:!0},statement:{description:"Based on your responses, the employee is not eligible for hire under wage portage, and we\u2019re unable to proceed with onboarding. If you have any questions, please contact help@remote.com.",inputType:"statement",severity:"error",title:"Not eligible for wage portage"}}},non_compete_clause_compensation_amount:{description:"The employee will receive this monthly compensation after termination for the entire non-compete period.",title:"Non-compete compensation amount",type:"integer","x-jsf-errorMessage":{type:"Please, use US standard currency format. Ex: 1024.12"},"x-jsf-presentation":{currency:"XXX",inputType:"money"}},commissions_details:{description:"Payment amount, frequency, and more.",maxLength:1e3,title:"Commission details",type:["string","null"],"x-jsf-presentation":{inputType:"textarea"}},provided_systems:{description:"Select the tools and system access to enable the employee to perform the mission (e.g. license(s), shared drive, etc.).",items:{anyOf:[{const:"email",title:"Email"},{const:"workspace_account",title:"Workspace account"},{const:"onboarding_or_compliance_training",title:"Onboarding or compliance training"},{const:"shared_drive",title:"Shared Drive"},{const:"intranet",title:"Intranet"},{const:"manuals",title:"Manuals"},{const:"sops",title:"Standard Operating Procedures (SOPs)"}]},title:"Provided systems and access",type:"array",uniqueItems:!0,"x-jsf-presentation":{inputType:"select"}},financial_reserve_amount:{title:"Financial reserve amount",type:"integer","x-jsf-errorMessage":{type:"Please, use US standard currency format. Ex: 1024.12"},"x-jsf-presentation":{currency:"EUR",inputType:"money"}},non_compete_clause_halt_period_months:{description:"Non-compete clauses in France can last between 1 and 12 months. The clause begins after the termination of the employment agreement.",maximum:12,minimum:1,title:"Duration in months",type:"number","x-jsf-presentation":{inputType:"number"}},field_of_work:{description:"Specify the industry or functional area relevant to the mission (e.g. IT consulting, healthcare operations, legal and compliance, finance and risk management, UX/UI design).",maxLength:255,title:"Relevant field of work",type:"string","x-jsf-presentation":{inputType:"text"}},work_schedule:{const:"full_time",default:"full_time",oneOf:[{const:"full_time",title:"Full-time"},{const:"part_time",title:"Part-time"}],title:"Type of employee",type:"string","x-jsf-presentation":{direction:"row",inputType:"hidden"}},mission_deliverables_cadence:{description:"Select how often the employee is expected to share progress updates or deliverables for this mission.",oneOf:[{const:"daily",title:"Daily"},{const:"weekly",title:"Weekly"},{const:"monthly",title:"Monthly"},{const:"quarterly",title:"Quarterly"}],title:"Mission deliverables cadence",type:"string","x-jsf-presentation":{inputType:"select"}},non_compete_compensation_salary_percentage:{default:30,description:"In France, non-compete pay must be 30% of monthly base salary throughout the post termination restrictions. A reserve is required to cover the mandatory payments. <a href='https://support.remote.com/hc/en-us/articles/12695731865229-What-is-a-reserve-payment-in-Employ-of-Record' target='_blank'>Learn about reserve payments</a>",readOnly:!0,title:"Non-compete salary percentage",type:"number","x-jsf-presentation":{inputType:"number",percentage:!0,readOnly:!0,value:30}},has_wage_portage_years_of_experience:{description:"In the same field or role that they will perform for your company.",oneOf:[{const:"yes",title:"Yes"},{const:"no",title:"No"}],title:"Does the employee have at least 3 years of relevant professional experience?",type:"string","x-jsf-presentation":{direction:"row",inputType:"radio"}},work_address_is_home_address:{oneOf:[{const:"yes",title:"Same as their residential address"},{const:"no",title:"Different than their residential address"}],title:"",type:"string","x-jsf-presentation":{direction:"column",inputType:"radio"}},bonus_amount:{deprecated:!0,readOnly:!0,title:"Bonus amount (deprecated)",type:["integer","null"],"x-jsf-errorMessage":{type:"Please, use US standard currency format. Ex: 1024.12"},"x-jsf-presentation":{currency:"EUR",deprecated:{description:"Deprecated in favor of 'Bonus Details'. Please, try to leave this field empty."},inputType:"money"}},professional_qualifications:{description:"Select the employee's highest diploma or relevant certification.",oneOf:[{const:"bts",title:"BTS (Brevet de Technicien Sup\xE9rieur)"},{const:"dut",title:"DUT (Dipl\xF4me Universitaire de Technologie)"},{const:"licence",title:"Licence (Bachelor's degree)"},{const:"masters_degree",title:"Master's degree"},{const:"doctorate_phd",title:"Doctorate (PhD)"},{const:"no_diploma",title:"No diploma"}],title:"Professional qualifications",type:"string","x-jsf-presentation":{inputType:"select"}},home_office_allowance:{description:"Covers the employee's fixed home-office expenses (such as rent, utilities, or insurance). Minimum is 25 EUR per month. This allowance is paid on top of their gross salary.",minimum:2500,title:"Home office allowance (Forfait t\xE9l\xE9travail)",type:"integer","x-jsf-errorMessage":{minimum:"Must be at least \u20AC25.00.",type:"Please, use US standard currency format. Ex: 1024.12"},"x-jsf-presentation":{currency:"EUR",inputType:"money"}},additional_job_title_eligibility_check_slug:{type:["string","null"],"x-jsf-presentation":{inputType:"hidden"}},probation_length_days:{description:"If you enter a value of '0', the employee will not have a probation period.",minimum:0,title:"Probation period in days",type:"number","x-jsf-logic-computedAttrs":{maximum:"probation_length_days_maximum_days","x-jsf-presentation":{inputType:"probation_length_days_input_type"}},"x-jsf-presentation":{inputType:"number"}},employee_travel_required:{oneOf:[{const:"yes",title:"Yes"},{const:"no",title:"No"}],title:"Is the employee required to travel for work?",type:"string","x-jsf-presentation":{direction:"row",inputType:"radio"}},has_signing_bonus:{description:"This is a one-time payment the employee receives when they join your team.",oneOf:[{const:"yes",title:"Yes"},{const:"no",title:"No"}],title:"Offer a signing bonus?",type:"string","x-jsf-presentation":{direction:"row",inputType:"radio"}},additional_job_title_eligibility_check_result:{type:["string","null"],"x-jsf-presentation":{inputType:"hidden"}},provided_equipment:{description:"Select all work equipment or materials that will be provided to the employee to perform the mission.",items:{anyOf:[{const:"laptop",title:"Laptop"},{const:"desktop",title:"Desktop"},{const:"smartphone",title:"Smartphone"},{const:"landline",title:"Landline"},{const:"tablet",title:"Tablet"},{const:"printer",title:"Printer"},{const:"vpn",title:"VPN"}]},title:"Work equipment and materials",type:"array",uniqueItems:!0,"x-jsf-presentation":{inputType:"select"}},mission_duration:{description:"The minimum expected duration of the mission. Missions can have a maximum duration of 36 months for employees. Employment Fees remain payable until the Employment Agreement is terminated, even if the minimum duration or service agreement ends earlier. <a href='https://support.remote.com/hc/en-us/articles/43837551686541-Mission-Minimum-Duration-France-Wage-Portage' target='_blank'>Learn more</a>",maximum:36,minimum:1,title:"Mission duration (months)",type:"number","x-jsf-presentation":{inputType:"number"}},commissions_ack:{const:"acknowledged",description:"I understand that I am required to provide written details of the commission plan to this employee, and upload this document on the platform for record keeping purposes. I acknowledge that Remote will not liable for any claims or losses associated with the commission or bonus plan.",title:"Confirm commission plan details",type:"string","x-jsf-presentation":{inputType:"checkbox",meta:{helpCenter:{callToAction:"(i) Guidance on drafting a commission plan here",content:"The help center content is currently unavailable.",error:!0,id:17932049668109,title:"Help center unavailable"}}}}},required:["has_wage_portage_years_of_experience","has_wage_portage_higher_degree"],type:"object","x-jsf-logic":{computedValues:{computed_annual_gross_salary_display:{rule:{if:[{var:"annual_gross_salary"},{"/":[{var:"annual_gross_salary"},100]},null]}},computed_business_allowance_amount:{rule:{if:[{var:"annual_gross_salary"},{"-":[{"*":[{var:"annual_gross_salary"},{"/":[5,100]}]},{"%":[{"*":[{var:"annual_gross_salary"},{"/":[5,100]}]},1]}]},null]}},computed_business_allowance_display:{rule:{if:[{var:"business_allowance_amount"},{"/":[{var:"business_allowance_amount"},100]},null]}},computed_financial_reserve_amount:{rule:{if:[{var:"annual_gross_salary"},{"-":[{"*":[{var:"annual_gross_salary"},{"/":[10,100]}]},{"%":[{"*":[{var:"annual_gross_salary"},{"/":[10,100]}]},1]}]},null]}},computed_financial_reserve_display:{rule:{if:[{var:"financial_reserve_amount"},{"/":[{var:"financial_reserve_amount"},100]},null]}},computed_non_compete_clause_compensation_amount:{rule:{if:[{and:[{var:"annual_gross_salary"},{var:"non_compete_compensation_salary_percentage"}]},{"/":[{"-":[{"*":[{"/":[{var:"annual_gross_salary"},12]},{"/":[{var:"non_compete_compensation_salary_percentage"},100]}]},{"%":[{"*":[{"/":[{var:"annual_gross_salary"},12]},{"/":[{var:"non_compete_compensation_salary_percentage"},100]}]},1]}]},100]},null]}},computed_non_compete_clause_compensation_amount_in_cents:{rule:{if:[{and:[{var:"annual_gross_salary"},{var:"non_compete_compensation_salary_percentage"}]},{"-":[{"*":[{"/":[{var:"annual_gross_salary"},12]},{"/":[{var:"non_compete_compensation_salary_percentage"},100]}]},{"%":[{"*":[{"/":[{var:"annual_gross_salary"},12]},{"/":[{var:"non_compete_compensation_salary_percentage"},100]}]},1]}]},null]}},computed_total_with_allowance_display:{rule:{if:[{var:"annual_gross_salary"},{"/":[{"+":[{var:"annual_gross_salary"},{var:"business_allowance_amount"}]},100]},null]}},probation_length_days_input_type:{rule:{if:[{and:[{"==":[{var:"probation_length_recommended"},"custom"]},{"==":[{var:"contract_duration_type"},"fixed_term"]}]},"number","hidden"]}},probation_length_days_maximum_days:{rule:{if:[{var:"contract_end_date"},{if:[{or:[{"<":[{date_difference_in_months:[{var:"contract_end_date"},"2026-09-03"]},6]},{and:[{"==":[{date_difference_in_months:[{var:"contract_end_date"},"2026-09-03"]},6]},{"==":[{"+":[{substr:[{var:"contract_end_date"},8,2]},0]},3]}]}]},14,30]},{if:[{"==":[{var:"probation_length_recommended"},"custom"]},null,0]}]}},probation_length_days_recommended:{rule:{if:[{var:"contract_end_date"},{if:[{or:[{"<":[{date_difference_in_months:[{var:"contract_end_date"},"2026-09-03"]},6]},{and:[{"==":[{date_difference_in_months:[{var:"contract_end_date"},"2026-09-03"]},6]},{"==":[{"+":[{substr:[{var:"contract_end_date"},8,2]},0]},3]}]}]},{min:[{max:[{date_difference_in_weeks:[{var:"contract_end_date"},"2026-09-03"]},0]},14]},30]},0]}},probation_length_input_type:{rule:{if:[{and:[{"==":[{var:"probation_length_recommended"},"custom"]},{"!=":[{var:"contract_duration_type"},"fixed_term"]}]},"number","hidden"]}},probation_length_maximum_months:{rule:{if:[{"==":[{var:"probation_length_recommended"},"custom"]},{if:[{var:"contract_end_date"},null,4]},{if:[{var:"contract_end_date"},0,4]}]}},recommended_probation_description:{rule:{if:[{var:"contract_end_date"},{if:[{or:[{"<":[{date_difference_in_months:[{var:"contract_end_date"},"2026-09-03"]},6]},{and:[{"==":[{date_difference_in_months:[{var:"contract_end_date"},"2026-09-03"]},6]},{"==":[{"+":[{substr:[{var:"contract_end_date"},8,2]},0]},3]}]}]},"For fixed-term contracts up to 6 months, the probation period is 1 day per week worked, capped at a maximum of 14 days. This cannot be renewed. <a href='https://support.remote.com/hc/en-us/articles/43837455998221-How-Do-Probation-Period-Renewals-Work-for-Wage-Portage-Employees-on-a-indefinite-term-CDI-Contrat-%C3%A0-Dur%C3%A9e-Ind%C3%A9termin%C3%A9e-contract' target='_blank'>Learn more about renewals</a>","For fixed-term contracts exceeding 6 months, the probation period is capped at 1 month. This cannot be renewed. <a href='https://support.remote.com/hc/en-us/articles/43837455998221-How-Do-Probation-Period-Renewals-Work-for-Wage-Portage-Employees-on-a-indefinite-term-CDI-Contrat-%C3%A0-Dur%C3%A9e-Ind%C3%A9termin%C3%A9e-contract' target='_blank'>Learn more about renewals</a>"]},"Can be renewed once. To request a renewal, contact help@remote.com at least 1 month before the initial probation period ends. <a href='https://support.remote.com/hc/en-us/articles/43837455998221-How-Do-Probation-Period-Renewals-Work-for-Wage-Portage-Employees-on-a-indefinite-term-CDI-Contrat-%C3%A0-Dur%C3%A9e-Ind%C3%A9termin%C3%A9e-contract' target='_blank'>Learn more about renewals</a>"]}},recommended_probation_label:{rule:{if:[{var:"contract_end_date"},{cat:[{if:[{or:[{"<":[{date_difference_in_months:[{var:"contract_end_date"},"2026-09-03"]},6]},{and:[{"==":[{date_difference_in_months:[{var:"contract_end_date"},"2026-09-03"]},6]},{"==":[{"+":[{substr:[{var:"contract_end_date"},8,2]},0]},3]}]}]},{min:[{max:[{date_difference_in_weeks:[{var:"contract_end_date"},"2026-09-03"]},0]},14]},30]}," days"]},"4 months"]}}}},"x-jsf-order":["has_wage_portage_higher_degree","has_wage_portage_years_of_experience","wage_portage_eligibility","contract_duration_type","contract_end_date","work_schedule","work_hours_per_week","has_probation_period","probation_length_recommended","probation_length","probation_length_days","available_pto","role_description","job_title_check_enabled","additional_job_title_eligibility_check_slug","additional_job_title_eligibility_check_result","experience_level","mission_duration","mission_deliverables_cadence","provided_systems","provided_equipment","primary_contact_point","professional_qualifications","key_skills","work_experience","field_of_work","work_address_is_home_address","employee_travel_required","annual_gross_salary","business_allowances_statement","business_allowance_amount","financial_reserve_amount","business_allowance_ack","home_office_allowance","has_signing_bonus","signing_bonus_amount","has_bonus","bonus_amount","bonus_details","has_commissions","commissions_details","commissions_ack","non_compete_clause_apply","non_compete_clause_halt_period_months","non_compete_clause_compensation_amount","non_compete_compensation_salary_percentage","non_compete_restricted_activities"],"x-rmt-flatFieldsets":{annual_gross_salary_fieldset:{propertiesByName:["annual_gross_salary","business_allowances_statement","business_allowance_ack","home_office_allowance"],title:"Annual gross salary"},mission_details_fieldset:{description:"In France's wage portage framework, a mission is a defined client assignment with a clear scope, duration, and deliverables, performed under the portage salarial framework.",propertiesByName:["mission_duration","mission_deliverables_cadence","provided_systems","provided_equipment","primary_contact_point"],title:"Mission details"},non_compete_fieldset:{description:"<strong>No exclusivity or non-compete</strong> during employment<br/>Exclusivity and non-compete clauses are not permitted during the contract. Any post-termination non-compete must be agreed directly with the employee outside of Remote's Employment Agreement and handled entirely by your company. <a href='https://support.remote.com/hc/en-us/articles/43837716053005-Non-compete-under-wage-portage-portage-salarial' target='_blank'>Learn more</a>",propertiesByName:["non_compete_clause_apply","non_compete_clause_halt_period_months","non_compete_compensation_salary_percentage","non_compete_clause_compensation_amount","non_compete_restricted_activities"],title:"Non-compete"},professional_qualifications_fieldset:{description:"<a href='https://support.remote.com/hc/en-us/articles/43836880214285-Understanding-Professional-Qualifications-in-Wage-Portage' target='_blank' rel='noopener noreferrer'>Learn more about professional qualifications</a>",propertiesByName:["professional_qualifications","key_skills","work_experience","field_of_work"],title:"Employee professional qualifications"},wage_portage_eligibility_fieldset:{description:"In France, Remote uses a wage portage (portage salarial) model, where Remote acts as the legal employer while the employee works on behalf of your company. To confirm eligibility, please answer the following:",propertiesByName:["has_wage_portage_higher_degree","has_wage_portage_years_of_experience"],title:"Wage portage eligibility"},work_address_fieldset:{propertiesByName:["work_address_is_home_address"],title:"Work address"}},"x-rmt-meta":{jsfVersion:"1"}}},"simple-user-profile":{name:"Simple User Profile Schema",description:"A basic user profile form for testing basic field types",schema:{type:"object",additionalProperties:!1,properties:{firstName:{type:"string",title:"First Name",minLength:2,maxLength:50,"x-jsf-presentation":{inputType:"text"}},lastName:{type:"string",title:"Last Name",minLength:2,maxLength:50,"x-jsf-presentation":{inputType:"text"}},email:{type:"string",title:"Email Address",format:"email","x-jsf-presentation":{inputType:"email"}},age:{type:"number",title:"Age",minimum:18,maximum:120,"x-jsf-presentation":{inputType:"number"}},country:{type:"string",title:"Country",oneOf:[{const:"US",title:"United States"},{const:"CA",title:"Canada"},{const:"UK",title:"United Kingdom"},{const:"DE",title:"Germany"},{const:"FR",title:"France"}],"x-jsf-presentation":{inputType:"select"}},subscribe:{type:"boolean",title:"Subscribe to newsletter","x-jsf-presentation":{inputType:"checkbox"}}},required:["firstName","lastName","email","country"],"x-rmt-meta":{jsfVersion:"1"}}}};export{e as a};
2
- //# sourceMappingURL=chunk-AVIZTG4K.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/flows/JsonSchemaPlayground/schemas.ts"],"sourcesContent":["export const SAMPLE_SCHEMAS = {\n 'france-wage-portage': {\n name: 'France Wage Portage Schema',\n description:\n 'Complex schema for France wage portage employment with conditional logic',\n schema: {\n additionalProperties: false,\n allOf: [\n {\n else: {\n properties: {\n non_compete_clause_compensation_amount: false,\n non_compete_restricted_activities: false,\n },\n },\n if: {\n properties: {\n annual_gross_salary: {\n type: 'integer',\n },\n non_compete_clause_apply: {\n const: 'yes',\n },\n },\n required: ['non_compete_clause_apply', 'annual_gross_salary'],\n },\n then: {\n properties: {\n non_compete_clause_compensation_amount: {\n 'x-jsf-logic-computedAttrs': {\n const:\n 'computed_non_compete_clause_compensation_amount_in_cents',\n default:\n 'computed_non_compete_clause_compensation_amount_in_cents',\n 'x-jsf-presentation': {\n statement: {\n description:\n 'The employee will receive this monthly compensation after termination for the entire non-compete period.',\n title:\n '{{computed_non_compete_clause_compensation_amount}} XXX non-compete compensation amount',\n },\n },\n },\n },\n },\n required: [\n 'non_compete_clause_compensation_amount',\n 'non_compete_restricted_activities',\n ],\n },\n },\n {\n else: {\n properties: {\n non_compete_clause_compensation_amount: false,\n non_compete_clause_halt_period_months: false,\n non_compete_compensation_salary_percentage: false,\n non_compete_restricted_activities: false,\n },\n },\n if: {\n properties: {\n non_compete_clause_apply: {\n const: 'yes',\n },\n },\n required: ['non_compete_clause_apply'],\n },\n then: {\n required: [\n 'non_compete_compensation_salary_percentage',\n 'non_compete_clause_halt_period_months',\n ],\n },\n },\n {\n else: {\n properties: {\n mission_duration: false,\n },\n },\n if: {\n properties: {\n contract_duration_type: {\n const: 'indefinite',\n },\n },\n required: ['contract_duration_type'],\n },\n then: {\n required: ['mission_duration'],\n },\n },\n {\n if: {\n properties: {\n contract_duration_type: {\n const: 'indefinite',\n },\n },\n required: ['contract_duration_type'],\n },\n then: {\n properties: {\n contract_duration_type: {\n oneOf: [\n {\n const: 'indefinite',\n description:\n 'After this period, the engagement must end unless it qualifies as a new assignment with a different scope.',\n title:\n 'Indefinite contract with <strong>36 months max duration</strong> for France.',\n },\n {\n const: 'fixed_term',\n nested_fields: ['contract_end_date'],\n title: 'Fixed-term contract',\n },\n ],\n },\n },\n },\n },\n {\n else: {\n properties: {\n contract_end_date: false,\n },\n },\n if: {\n properties: {\n contract_duration_type: {\n const: 'fixed_term',\n },\n },\n required: ['contract_duration_type'],\n },\n then: {\n properties: {\n contract_end_date: {\n type: 'string',\n },\n },\n required: ['contract_end_date'],\n },\n },\n {\n else: {\n else: {\n properties: {\n business_allowance_ack: false,\n business_allowances_statement: false,\n home_office_allowance: false,\n },\n },\n if: {\n properties: {\n contract_duration_type: {\n const: 'fixed_term',\n },\n },\n required: ['contract_duration_type'],\n },\n then: {\n properties: {\n business_allowance_ack: {\n title:\n \"I understand the 5% allowance applies each month and a 10% indemnity is paid in addition to the employee's total earnings at the end of their contract.\",\n },\n business_allowances_statement: {\n 'x-jsf-logic-computedAttrs': {\n 'x-jsf-presentation': {\n statement: {\n description:\n \"<strong>Mandatory allowances</strong><br /><br />Under French Wage Portage regulations, the following amounts are required by law. We automatically applied them based on the employee's gross salary.<br /><ul><li>Mandatory 5% allowance: {{computed_business_allowance_display}} EUR</li><li>Mandatory 10% Indemnity (end of contract): {{computed_financial_reserve_display}} EUR</li><li>Annual gross salary: {{computed_annual_gross_salary_display}} EUR</li><li><strong>Total annual gross salary and mandatory allowance:</strong> {{computed_total_with_allowance_display}} EUR</li></ul>\",\n },\n },\n },\n },\n },\n required: ['business_allowance_ack', 'home_office_allowance'],\n },\n },\n if: {\n properties: {\n contract_duration_type: {\n const: 'indefinite',\n },\n },\n required: ['contract_duration_type'],\n },\n then: {\n required: ['business_allowance_ack', 'home_office_allowance'],\n },\n },\n {\n else: {\n properties: {\n business_allowance_ack: false,\n business_allowances_statement: false,\n home_office_allowance: false,\n },\n },\n if: {\n properties: {\n annual_gross_salary: {\n type: 'integer',\n },\n },\n required: ['annual_gross_salary'],\n },\n then: {},\n },\n {\n else: {\n properties: {\n business_allowance_amount: false,\n financial_reserve_amount: false,\n },\n },\n if: {\n properties: {\n annual_gross_salary: {\n type: 'integer',\n },\n },\n required: ['annual_gross_salary'],\n },\n then: {\n properties: {\n business_allowance_amount: {\n 'x-jsf-logic-computedAttrs': {\n const: 'computed_business_allowance_amount',\n default: 'computed_business_allowance_amount',\n },\n },\n financial_reserve_amount: {\n 'x-jsf-logic-computedAttrs': {\n const: 'computed_financial_reserve_amount',\n default: 'computed_financial_reserve_amount',\n },\n },\n },\n },\n },\n {\n if: {\n properties: {\n work_hours_per_week: {\n const: 'lump_sum',\n },\n },\n required: ['work_hours_per_week'],\n },\n then: {\n properties: {\n annual_gross_salary: {\n minimum: 3667800,\n 'x-jsf-errorMessage': {\n minimum:\n 'Must be €36,678.00 or greater for Lump-sum contracts.',\n },\n },\n },\n },\n },\n {\n if: {\n properties: {\n experience_level: {\n const: 'expert',\n },\n work_hours_per_week: {\n const: '35',\n },\n },\n required: ['experience_level', 'work_hours_per_week'],\n },\n then: {\n properties: {\n annual_gross_salary: {\n minimum: 3667800,\n 'x-jsf-errorMessage': {\n minimum:\n 'Must be €36,678.00 or greater for the Expert experience level.',\n },\n },\n },\n },\n },\n {\n if: {\n properties: {\n experience_level: {\n const: 'senior',\n },\n work_hours_per_week: {\n const: '35',\n },\n },\n required: ['experience_level', 'work_hours_per_week'],\n },\n then: {\n properties: {\n annual_gross_salary: {\n minimum: 3236300,\n 'x-jsf-errorMessage': {\n minimum:\n 'Must be €32,363.00 or greater for the Senior experience level.',\n },\n },\n },\n },\n },\n {\n if: {\n properties: {\n experience_level: {\n const: 'junior',\n },\n work_hours_per_week: {\n const: '35',\n },\n },\n required: ['experience_level', 'work_hours_per_week'],\n },\n then: {\n properties: {\n annual_gross_salary: {\n minimum: 3020500,\n 'x-jsf-errorMessage': {\n minimum:\n 'Must be €30,205.00 or greater for the Junior experience level.',\n },\n },\n },\n },\n },\n {\n if: {\n properties: {\n experience_level: {\n const: 'premier_niveau',\n },\n work_hours_per_week: {\n const: '35',\n },\n },\n required: ['experience_level', 'work_hours_per_week'],\n },\n then: {\n properties: {\n annual_gross_salary: {\n minimum: 2718500,\n 'x-jsf-errorMessage': {\n minimum:\n 'Must be €27,185.00 or greater for the First-Level experience level.',\n },\n },\n },\n },\n },\n {\n if: {\n properties: {\n additional_job_title_eligibility_check_result: {\n const: 'no',\n },\n },\n required: ['additional_job_title_eligibility_check_result'],\n },\n then: {\n properties: {\n role_description: {\n 'x-jsf-presentation': {\n statement: {\n inputType: 'statement',\n severity: 'error',\n title:\n 'Unfortunately based on the information entered, we cannot hire this role in France.',\n },\n },\n },\n },\n },\n },\n {\n if: {\n properties: {\n additional_job_title_eligibility_check_result: {\n const: 'maybe',\n },\n },\n required: ['additional_job_title_eligibility_check_result'],\n },\n then: {\n properties: {\n role_description: {\n 'x-jsf-presentation': {\n statement: {\n description:\n \"Complete the add employee process and we'll let you know as soon as we can if we can hire this role.\",\n inputType: 'statement',\n severity: 'info',\n title:\n \"Remote AI isn't sure if we can hire this role in France\",\n },\n },\n },\n },\n },\n },\n {\n else: {\n properties: {\n commissions_ack: false,\n commissions_details: false,\n },\n },\n if: {\n properties: {\n has_commissions: {\n const: 'yes',\n },\n },\n required: ['has_commissions'],\n },\n then: {\n properties: {\n commissions_ack: {\n type: ['string'],\n },\n commissions_details: {\n type: ['string'],\n },\n },\n required: ['commissions_details', 'commissions_ack'],\n },\n },\n {\n else: {\n properties: {\n bonus_amount: false,\n bonus_details: false,\n },\n },\n if: {\n properties: {\n has_bonus: {\n const: 'yes',\n },\n },\n required: ['has_bonus'],\n },\n then: {\n properties: {\n bonus_details: {\n type: ['string'],\n },\n },\n required: ['bonus_details'],\n },\n },\n {\n else: {\n properties: {\n signing_bonus_amount: false,\n },\n },\n if: {\n properties: {\n has_signing_bonus: {\n const: 'yes',\n },\n },\n required: ['has_signing_bonus'],\n },\n then: {\n properties: {\n signing_bonus_amount: {\n type: ['integer'],\n },\n },\n required: ['signing_bonus_amount'],\n },\n },\n {\n else: {\n if: {\n properties: {\n probation_length_recommended: {\n const: 'custom',\n },\n },\n required: ['probation_length_recommended'],\n },\n then: {\n else: {\n properties: {\n probation_length_days: false,\n },\n required: ['probation_length'],\n },\n if: {\n properties: {\n contract_duration_type: {\n const: 'fixed_term',\n },\n },\n required: ['contract_duration_type'],\n },\n then: {\n properties: {\n probation_length: false,\n },\n required: ['probation_length_days'],\n },\n },\n },\n if: {\n properties: {\n probation_length_recommended: {\n const: 'recommended',\n },\n },\n required: ['probation_length_recommended'],\n },\n then: {\n allOf: [\n {\n else: {\n allOf: [\n {\n if: {\n properties: {\n has_probation_period: {\n const: 'yes',\n },\n },\n required: ['has_probation_period'],\n },\n then: {\n required: ['probation_length'],\n },\n },\n ],\n properties: {\n probation_length: {\n 'x-jsf-logic-computedAttrs': {\n const: 'probation_length_maximum_months',\n default: 'probation_length_maximum_months',\n },\n },\n probation_length_days: false,\n },\n },\n if: {\n properties: {\n contract_duration_type: {\n const: 'fixed_term',\n },\n },\n required: ['contract_duration_type'],\n },\n then: {\n allOf: [\n {\n if: {\n properties: {\n has_probation_period: {\n const: 'yes',\n },\n },\n required: ['has_probation_period'],\n },\n then: {\n required: ['probation_length_days'],\n },\n },\n ],\n properties: {\n probation_length: false,\n probation_length_days: {\n 'x-jsf-logic-computedAttrs': {\n const: 'probation_length_days_recommended',\n default: 'probation_length_days_recommended',\n },\n },\n },\n },\n },\n ],\n },\n },\n {\n else: {\n properties: {\n has_probation_period: {\n const: 'no',\n default: 'no',\n },\n },\n },\n if: {\n anyOf: [\n {\n properties: {\n probation_length: {\n exclusiveMinimum: 0,\n },\n },\n required: ['probation_length'],\n },\n {\n properties: {\n probation_length_days: {\n exclusiveMinimum: 0,\n },\n },\n required: ['probation_length_days'],\n },\n ],\n },\n then: {\n properties: {\n has_probation_period: {\n const: 'yes',\n default: 'yes',\n },\n },\n },\n },\n {\n else: {\n else: {\n properties: {\n non_compete_clause_apply: false,\n probation_length_recommended: false,\n contract_end_date: false,\n business_allowance_ack: false,\n work_hours_per_week: false,\n non_compete_restricted_activities: false,\n work_experience: false,\n has_commissions: false,\n has_bonus: false,\n primary_contact_point: false,\n job_title_check_enabled: false,\n business_allowance_amount: false,\n key_skills: false,\n annual_gross_salary: false,\n contract_duration_type: false,\n available_pto: false,\n probation_length: false,\n experience_level: false,\n bonus_details: false,\n role_description: false,\n business_allowances_statement: false,\n has_probation_period: false,\n signing_bonus_amount: false,\n wage_portage_eligibility: false,\n non_compete_clause_compensation_amount: false,\n commissions_details: false,\n provided_systems: false,\n financial_reserve_amount: false,\n non_compete_clause_halt_period_months: false,\n field_of_work: false,\n work_schedule: false,\n mission_deliverables_cadence: false,\n non_compete_compensation_salary_percentage: false,\n work_address_is_home_address: false,\n bonus_amount: false,\n professional_qualifications: false,\n home_office_allowance: false,\n additional_job_title_eligibility_check_slug: false,\n probation_length_days: false,\n employee_travel_required: false,\n has_signing_bonus: false,\n additional_job_title_eligibility_check_result: false,\n provided_equipment: false,\n mission_duration: false,\n commissions_ack: false,\n },\n },\n if: {\n anyOf: [\n {\n properties: {\n has_wage_portage_higher_degree: {\n const: 'yes',\n },\n },\n required: ['has_wage_portage_higher_degree'],\n },\n {\n properties: {\n has_wage_portage_years_of_experience: {\n const: 'yes',\n },\n },\n required: ['has_wage_portage_years_of_experience'],\n },\n ],\n },\n then: {\n properties: {\n wage_portage_eligibility: false,\n },\n required: [\n 'non_compete_clause_apply',\n 'field_of_work',\n 'work_experience',\n 'key_skills',\n 'professional_qualifications',\n 'primary_contact_point',\n 'provided_equipment',\n 'provided_systems',\n 'mission_deliverables_cadence',\n 'contract_duration_type',\n 'work_hours_per_week',\n 'annual_gross_salary',\n 'probation_length_recommended',\n 'job_title_check_enabled',\n 'has_probation_period',\n 'available_pto',\n 'experience_level',\n 'has_signing_bonus',\n 'has_bonus',\n 'has_commissions',\n 'role_description',\n 'work_address_is_home_address',\n 'employee_travel_required',\n 'has_wage_portage_higher_degree',\n 'has_wage_portage_years_of_experience',\n 'work_schedule',\n ],\n },\n },\n if: {\n properties: {\n has_wage_portage_higher_degree: {\n const: 'no',\n },\n has_wage_portage_years_of_experience: {\n const: 'no',\n },\n },\n required: [\n 'has_wage_portage_higher_degree',\n 'has_wage_portage_years_of_experience',\n ],\n },\n then: {\n properties: {\n non_compete_clause_apply: false,\n probation_length_recommended: false,\n contract_end_date: false,\n business_allowance_ack: false,\n work_hours_per_week: false,\n non_compete_restricted_activities: false,\n work_experience: false,\n has_commissions: false,\n has_bonus: false,\n primary_contact_point: false,\n job_title_check_enabled: false,\n business_allowance_amount: false,\n key_skills: false,\n annual_gross_salary: false,\n contract_duration_type: false,\n available_pto: false,\n probation_length: false,\n experience_level: false,\n bonus_details: false,\n role_description: false,\n business_allowances_statement: false,\n has_probation_period: false,\n signing_bonus_amount: false,\n wage_portage_eligibility: {\n const: 'no',\n default: 'no',\n 'x-jsf-presentation': {\n inputType: 'statement',\n },\n },\n non_compete_clause_compensation_amount: false,\n commissions_details: false,\n provided_systems: false,\n financial_reserve_amount: false,\n non_compete_clause_halt_period_months: false,\n field_of_work: false,\n work_schedule: false,\n mission_deliverables_cadence: false,\n non_compete_compensation_salary_percentage: false,\n work_address_is_home_address: false,\n bonus_amount: false,\n professional_qualifications: false,\n home_office_allowance: false,\n additional_job_title_eligibility_check_slug: false,\n probation_length_days: false,\n employee_travel_required: false,\n has_signing_bonus: false,\n additional_job_title_eligibility_check_result: false,\n provided_equipment: false,\n mission_duration: false,\n commissions_ack: false,\n },\n },\n },\n ],\n properties: {\n non_compete_clause_apply: {\n description:\n 'Prevents the employee from joining or starting a competing business. Not allowed during employment under French Wage Portage law. Post-termination only, with limits and required compensation.',\n oneOf: [\n {\n const: 'yes',\n title: 'Yes',\n },\n {\n const: 'no',\n title: 'No',\n },\n ],\n title:\n 'Do you want to apply post-termination restrictions (non-compete)?',\n type: 'string',\n 'x-jsf-presentation': {\n direction: 'row',\n inputType: 'radio',\n },\n },\n probation_length_recommended: {\n description:\n \"A probation period allows for more flexible termination, especially for performance-related issues. Below are our recommendations, aligned with the wage portage collective agreement. Termination during probation requires notice based on the employee's tenure. <a href='https://support.remote.com/hc/en-us/articles/43837197759501-How-do-probation-periods-work-in-France-for-wage-portage-employees' target='_blank'>Learn more about probation periods</a> and <a href='https://support.remote.com/hc/en-us/articles/43837333997325-How-do-I-terminate-an-employee-during-their-probation-period-in-France-wage-portage' target='_blank'>terminations during probation</a>\",\n oneOf: [\n {\n const: 'recommended',\n title: '4 months',\n 'x-jsf-logic-computedAttrs': {\n description: '{{recommended_probation_description}}',\n title: '{{recommended_probation_label}}',\n },\n 'x-jsf-presentation': {\n recommended: true,\n },\n },\n {\n const: 'custom',\n title: 'Choose your own length',\n },\n ],\n title: 'Probation period',\n type: 'string',\n 'x-jsf-presentation': {\n direction: 'column',\n inputType: 'radio',\n },\n },\n contract_end_date: {\n description:\n 'Fixed-term contracts are limited to a maximum duration of 18 months.',\n format: 'date',\n maxLength: 255,\n title: 'Contract end date',\n type: ['string', 'null'],\n 'x-jsf-presentation': {\n inputType: 'date',\n maxDate: '2028-03-02',\n minDate: '2026-09-03',\n },\n },\n business_allowance_ack: {\n const: 'acknowledged',\n title:\n 'I understand that the 5% allowance applies automatically. A mandatory, non-waivable 10% financial reserve is withheld from the employees monthly base salary during assignments.',\n type: 'string',\n 'x-jsf-presentation': {\n description:\n \"<a href='https://support.remote.com/hc/en-us/articles/43837622285709-Wage-Portage-France-Mandatory-Allowances' target='_blank'>Learn more about mandatory allowances</a>\",\n inputType: 'checkbox',\n },\n },\n work_hours_per_week: {\n description: '',\n oneOf: [\n {\n const: '35',\n description:\n 'This is a standard 35-hour contract for full-time employees. Employees can receive overtime with written approval from their manager.',\n title: '35-hour contract',\n },\n {\n const: 'lump_sum',\n description:\n 'This is a 218-day-per-year contract with no fixed working hours or overtime. Employees receive additional rest days to ensure they work exactly 218 days per year.',\n title: 'Lump-sum contract in days',\n },\n ],\n title: 'Work hours per week',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'radio',\n },\n },\n non_compete_restricted_activities: {\n description:\n \"Please define the specific professional activities the employee is prohibited from engaging in after leaving the company, not just a general \\\"no competition\\\" clause. <a href='https://support.remote.com/hc/en-us/articles/43837822723981-How-do-non-compete-restricted-activities-work-in-France-wage-portage' target='_blank'>Learn more</a>\",\n maxLength: 5000,\n minLength: 20,\n title: 'Restricted activities',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'textarea',\n },\n },\n work_experience: {\n description:\n 'Briefly describe the required professional background and level of experience (e.g. \"5+ years of experience in digital marketing, including work with multinational clients\").',\n maxLength: 1000,\n title: 'Relevant experience',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'textarea',\n },\n },\n has_commissions: {\n description:\n \"Will the employee be eligible to participate in the Company's commission plan? The terms and conditions of this arrangement must be communicated to the employee separately.\",\n oneOf: [\n {\n const: 'yes',\n title: 'Yes',\n },\n {\n const: 'no',\n title: 'No',\n },\n ],\n title: 'Offer commission?',\n type: 'string',\n 'x-jsf-presentation': {\n direction: 'row',\n inputType: 'radio',\n },\n },\n has_bonus: {\n description:\n 'These can include things like performance-related bonuses.',\n oneOf: [\n {\n const: 'yes',\n title: 'Yes',\n },\n {\n const: 'no',\n title: 'No',\n },\n ],\n title: 'Offer other bonuses?',\n type: 'string',\n 'x-jsf-presentation': {\n direction: 'row',\n inputType: 'radio',\n meta: {\n helpCenter: {\n callToAction: 'Learn more',\n content: 'The help center content is currently unavailable.',\n error: true,\n id: 18019142406029,\n title: 'Help center unavailable',\n },\n },\n },\n },\n has_wage_portage_higher_degree: {\n description:\n \"(e.g. BTS, DUT, Licence, Master's degree, or equivalent)\",\n oneOf: [\n {\n const: 'yes',\n title: 'Yes',\n },\n {\n const: 'no',\n title: 'No',\n },\n ],\n title: 'Does your employee hold a higher education qualification?',\n type: 'string',\n 'x-jsf-presentation': {\n direction: 'row',\n inputType: 'radio',\n },\n },\n primary_contact_point: {\n description:\n 'Enter the name of the person the employee will primarily work with or contact during the assignment.',\n maxLength: 255,\n title: 'Primary point of contact',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'text',\n },\n },\n job_title_check_enabled: {\n const: true,\n default: true,\n enum: [true],\n oneOf: [\n {\n const: true,\n title: 'Yes',\n },\n {\n const: false,\n title: 'No',\n },\n ],\n type: 'boolean',\n 'x-jsf-presentation': {\n inputType: 'hidden',\n },\n },\n business_allowance_amount: {\n title: 'Business allowance amount',\n type: 'integer',\n 'x-jsf-errorMessage': {\n type: 'Please, use US standard currency format. Ex: 1024.12',\n },\n 'x-jsf-presentation': {\n currency: 'EUR',\n inputType: 'money',\n },\n },\n key_skills: {\n description:\n 'List the key skills required to perform the mission (e.g. client communication, project management, software development).',\n maxLength: 1000,\n title: 'Required key skills',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'textarea',\n },\n },\n annual_gross_salary: {\n description:\n \"Enter the employee's annual gross base salary. This amount is used to calculate payroll and must meet the legal minimum in France.\",\n title: 'Annual gross salary',\n type: 'integer',\n 'x-jsf-errorMessage': {\n type: 'Please, use US standard currency format. Ex: 1024.12',\n },\n 'x-jsf-presentation': {\n currency: 'EUR',\n inputType: 'money',\n meta: {\n helpCenter: {\n callToAction: 'Learn more',\n content: 'The help center content is currently unavailable.',\n error: true,\n id: 27657390602637,\n title: 'Help center unavailable',\n },\n },\n },\n },\n contract_duration_type: {\n description:\n 'Under French Wage Portage regulations, assignments with the same client are limited to 18 months for fixed-term contracts and 36 months for indefinite contracts.',\n oneOf: [\n {\n const: 'indefinite',\n title:\n 'Indefinite contract with <strong>36 months max duration</strong> for France.',\n },\n {\n const: 'fixed_term',\n nested_fields: ['contract_end_date'],\n title: 'Fixed-term contract',\n },\n ],\n title: 'Contract duration',\n type: 'string',\n 'x-jsf-presentation': {\n direction: 'column',\n inputType: 'radio',\n meta: {\n helpCenter: {\n callToAction: 'Learn more about French contract duration',\n content: 'The help center content is currently unavailable.',\n error: true,\n id: 43837143193357,\n title: 'Help center unavailable',\n },\n },\n },\n },\n available_pto: {\n const: 30,\n default: 30,\n description:\n 'Employees are entitled to 30 business days of paid leave per year (equivalent to 2.5 days per month), in line with French labor law and the wage portage collective agreement. Public holidays are excluded and vary by location.',\n title: 'Number of paid time off days',\n type: 'number',\n 'x-jsf-presentation': {\n inputType: 'number',\n statement: {\n title: 'Number of paid time off days: <strong>30 days</strong>',\n },\n },\n },\n probation_length: {\n description:\n \"If you enter a value of '0', the employee will not have a probation period.\",\n minimum: 0,\n title: 'Probation period in months',\n type: 'number',\n 'x-jsf-logic-computedAttrs': {\n maximum: 'probation_length_maximum_months',\n 'x-jsf-presentation': {\n inputType: 'probation_length_input_type',\n },\n },\n 'x-jsf-presentation': {\n inputType: 'number',\n },\n },\n experience_level: {\n description:\n 'Select the employee’s level under the French Wage Portage collective agreement. This level determines applicable pay scales, benefits, and autonomy expectations, and applies only within the Wage Portage framework (not internal career levels).',\n oneOf: [\n {\n const: 'premier_niveau',\n description:\n 'Entry-level professional performing straightforward services for the client. Mission duration cannot exceed 24 months.',\n title:\n 'Salarié porté premier niveau — First-Level Ported Employee',\n },\n {\n const: 'junior',\n description:\n 'Professional with moderate experience who can assess company needs, propose improvements and participate in implementation.',\n title: 'Salarié porté junior — Junior Ported Employee',\n },\n {\n const: 'senior',\n description:\n 'Experienced professional who performs complex services with a significant level of initiative and responsibility.',\n title: 'Salarié porté senior — Senior Ported Employee',\n },\n {\n const: 'expert',\n description:\n 'Highly-skilled professional who performs complex services which require a high level of initiative and responsibility.',\n title: 'Salarié porté expert — Expert Ported Employee',\n },\n ],\n title: 'Experience Level',\n type: 'string',\n 'x-jsf-presentation': {\n direction: 'column',\n inputType: 'radio',\n meta: {\n helpCenter: {\n callToAction: 'Learn more',\n content: 'The help center content is currently unavailable.',\n error: true,\n id: 41652078093965,\n title: 'Help center unavailable',\n },\n },\n },\n },\n bonus_details: {\n description: 'Bonus type, payment frequency, and more.',\n maxLength: 1000,\n title: 'Other bonus details',\n type: ['string', 'null'],\n 'x-jsf-presentation': {\n inputType: 'textarea',\n },\n },\n role_description: {\n description:\n 'Please add at least 3 responsibilities, at least 100 characters in total.',\n maxLength: 5000,\n minLength: 100,\n title: 'Role description',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'textarea',\n meta: {\n helpCenter: {\n callToAction: 'Learn more',\n content: 'The help center content is currently unavailable.',\n error: true,\n id: 18019255579405,\n title: 'Help center unavailable',\n },\n },\n },\n },\n business_allowances_statement: {\n title: 'Mandatory allowances',\n type: 'null',\n 'x-jsf-logic-computedAttrs': {\n 'x-jsf-presentation': {\n statement: {\n description:\n \"<strong>Mandatory allowances</strong><br /><br />Under French Wage Portage regulations, the following amounts are required by law. We automatically applied them based on the employee's gross salary.<br /><ul><li>Mandatory 5% allowance: {{computed_business_allowance_display}} EUR</li><li>Mandatory 10% financial reserve: {{computed_financial_reserve_display}} EUR</li><li>Annual gross salary: {{computed_annual_gross_salary_display}} EUR</li><li><strong>Total annual gross salary and mandatory allowance:</strong> {{computed_total_with_allowance_display}} EUR</li></ul>\",\n },\n },\n },\n 'x-jsf-presentation': {\n inputType: 'hidden',\n meta: {\n ignoreValue: true,\n },\n statement: {\n inputType: 'statement',\n severity: 'info',\n },\n },\n },\n has_probation_period: {\n oneOf: [\n {\n const: 'yes',\n title: 'Yes',\n },\n {\n const: 'no',\n title: 'No',\n },\n ],\n title: 'Probation period',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'hidden',\n },\n },\n signing_bonus_amount: {\n title: 'Signing bonus amount',\n type: ['integer', 'null'],\n 'x-jsf-errorMessage': {\n type: 'Please, use US standard currency format. Ex: 1024.12',\n },\n 'x-jsf-presentation': {\n currency: 'EUR',\n inputType: 'money',\n },\n },\n wage_portage_eligibility: {\n const: 'yes',\n default: 'yes',\n enum: ['yes'],\n title: 'Wage portage eligibility',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'hidden',\n meta: {\n ignoreValue: true,\n },\n statement: {\n description:\n 'Based on your responses, the employee is not eligible for hire under wage portage, and we’re unable to proceed with onboarding. If you have any questions, please contact help@remote.com.',\n inputType: 'statement',\n severity: 'error',\n title: 'Not eligible for wage portage',\n },\n },\n },\n non_compete_clause_compensation_amount: {\n description:\n 'The employee will receive this monthly compensation after termination for the entire non-compete period.',\n title: 'Non-compete compensation amount',\n type: 'integer',\n 'x-jsf-errorMessage': {\n type: 'Please, use US standard currency format. Ex: 1024.12',\n },\n 'x-jsf-presentation': {\n currency: 'XXX',\n inputType: 'money',\n },\n },\n commissions_details: {\n description: 'Payment amount, frequency, and more.',\n maxLength: 1000,\n title: 'Commission details',\n type: ['string', 'null'],\n 'x-jsf-presentation': {\n inputType: 'textarea',\n },\n },\n provided_systems: {\n description:\n 'Select the tools and system access to enable the employee to perform the mission (e.g. license(s), shared drive, etc.).',\n items: {\n anyOf: [\n {\n const: 'email',\n title: 'Email',\n },\n {\n const: 'workspace_account',\n title: 'Workspace account',\n },\n {\n const: 'onboarding_or_compliance_training',\n title: 'Onboarding or compliance training',\n },\n {\n const: 'shared_drive',\n title: 'Shared Drive',\n },\n {\n const: 'intranet',\n title: 'Intranet',\n },\n {\n const: 'manuals',\n title: 'Manuals',\n },\n {\n const: 'sops',\n title: 'Standard Operating Procedures (SOPs)',\n },\n ],\n },\n title: 'Provided systems and access',\n type: 'array',\n uniqueItems: true,\n 'x-jsf-presentation': {\n inputType: 'select',\n },\n },\n financial_reserve_amount: {\n title: 'Financial reserve amount',\n type: 'integer',\n 'x-jsf-errorMessage': {\n type: 'Please, use US standard currency format. Ex: 1024.12',\n },\n 'x-jsf-presentation': {\n currency: 'EUR',\n inputType: 'money',\n },\n },\n non_compete_clause_halt_period_months: {\n description:\n 'Non-compete clauses in France can last between 1 and 12 months. The clause begins after the termination of the employment agreement.',\n maximum: 12,\n minimum: 1,\n title: 'Duration in months',\n type: 'number',\n 'x-jsf-presentation': {\n inputType: 'number',\n },\n },\n field_of_work: {\n description:\n 'Specify the industry or functional area relevant to the mission (e.g. IT consulting, healthcare operations, legal and compliance, finance and risk management, UX/UI design).',\n maxLength: 255,\n title: 'Relevant field of work',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'text',\n },\n },\n work_schedule: {\n const: 'full_time',\n default: 'full_time',\n oneOf: [\n {\n const: 'full_time',\n title: 'Full-time',\n },\n {\n const: 'part_time',\n title: 'Part-time',\n },\n ],\n title: 'Type of employee',\n type: 'string',\n 'x-jsf-presentation': {\n direction: 'row',\n inputType: 'hidden',\n },\n },\n mission_deliverables_cadence: {\n description:\n 'Select how often the employee is expected to share progress updates or deliverables for this mission.',\n oneOf: [\n {\n const: 'daily',\n title: 'Daily',\n },\n {\n const: 'weekly',\n title: 'Weekly',\n },\n {\n const: 'monthly',\n title: 'Monthly',\n },\n {\n const: 'quarterly',\n title: 'Quarterly',\n },\n ],\n title: 'Mission deliverables cadence',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'select',\n },\n },\n non_compete_compensation_salary_percentage: {\n default: 30,\n description:\n \"In France, non-compete pay must be 30% of monthly base salary throughout the post termination restrictions. A reserve is required to cover the mandatory payments. <a href='https://support.remote.com/hc/en-us/articles/12695731865229-What-is-a-reserve-payment-in-Employ-of-Record' target='_blank'>Learn about reserve payments</a>\",\n readOnly: true,\n title: 'Non-compete salary percentage',\n type: 'number',\n 'x-jsf-presentation': {\n inputType: 'number',\n percentage: true,\n readOnly: true,\n value: 30,\n },\n },\n has_wage_portage_years_of_experience: {\n description:\n 'In the same field or role that they will perform for your company.',\n oneOf: [\n {\n const: 'yes',\n title: 'Yes',\n },\n {\n const: 'no',\n title: 'No',\n },\n ],\n title:\n 'Does the employee have at least 3 years of relevant professional experience?',\n type: 'string',\n 'x-jsf-presentation': {\n direction: 'row',\n inputType: 'radio',\n },\n },\n work_address_is_home_address: {\n oneOf: [\n {\n const: 'yes',\n title: 'Same as their residential address',\n },\n {\n const: 'no',\n title: 'Different than their residential address',\n },\n ],\n title: '',\n type: 'string',\n 'x-jsf-presentation': {\n direction: 'column',\n inputType: 'radio',\n },\n },\n bonus_amount: {\n deprecated: true,\n readOnly: true,\n title: 'Bonus amount (deprecated)',\n type: ['integer', 'null'],\n 'x-jsf-errorMessage': {\n type: 'Please, use US standard currency format. Ex: 1024.12',\n },\n 'x-jsf-presentation': {\n currency: 'EUR',\n deprecated: {\n description:\n \"Deprecated in favor of 'Bonus Details'. Please, try to leave this field empty.\",\n },\n inputType: 'money',\n },\n },\n professional_qualifications: {\n description:\n \"Select the employee's highest diploma or relevant certification.\",\n oneOf: [\n {\n const: 'bts',\n title: 'BTS (Brevet de Technicien Supérieur)',\n },\n {\n const: 'dut',\n title: 'DUT (Diplôme Universitaire de Technologie)',\n },\n {\n const: 'licence',\n title: \"Licence (Bachelor's degree)\",\n },\n {\n const: 'masters_degree',\n title: \"Master's degree\",\n },\n {\n const: 'doctorate_phd',\n title: 'Doctorate (PhD)',\n },\n {\n const: 'no_diploma',\n title: 'No diploma',\n },\n ],\n title: 'Professional qualifications',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'select',\n },\n },\n home_office_allowance: {\n description:\n \"Covers the employee's fixed home-office expenses (such as rent, utilities, or insurance). Minimum is 25 EUR per month. This allowance is paid on top of their gross salary.\",\n minimum: 2500,\n title: 'Home office allowance (Forfait télétravail)',\n type: 'integer',\n 'x-jsf-errorMessage': {\n minimum: 'Must be at least €25.00.',\n type: 'Please, use US standard currency format. Ex: 1024.12',\n },\n 'x-jsf-presentation': {\n currency: 'EUR',\n inputType: 'money',\n },\n },\n additional_job_title_eligibility_check_slug: {\n type: ['string', 'null'],\n 'x-jsf-presentation': {\n inputType: 'hidden',\n },\n },\n probation_length_days: {\n description:\n \"If you enter a value of '0', the employee will not have a probation period.\",\n minimum: 0,\n title: 'Probation period in days',\n type: 'number',\n 'x-jsf-logic-computedAttrs': {\n maximum: 'probation_length_days_maximum_days',\n 'x-jsf-presentation': {\n inputType: 'probation_length_days_input_type',\n },\n },\n 'x-jsf-presentation': {\n inputType: 'number',\n },\n },\n employee_travel_required: {\n oneOf: [\n {\n const: 'yes',\n title: 'Yes',\n },\n {\n const: 'no',\n title: 'No',\n },\n ],\n title: 'Is the employee required to travel for work?',\n type: 'string',\n 'x-jsf-presentation': {\n direction: 'row',\n inputType: 'radio',\n },\n },\n has_signing_bonus: {\n description:\n 'This is a one-time payment the employee receives when they join your team.',\n oneOf: [\n {\n const: 'yes',\n title: 'Yes',\n },\n {\n const: 'no',\n title: 'No',\n },\n ],\n title: 'Offer a signing bonus?',\n type: 'string',\n 'x-jsf-presentation': {\n direction: 'row',\n inputType: 'radio',\n },\n },\n additional_job_title_eligibility_check_result: {\n type: ['string', 'null'],\n 'x-jsf-presentation': {\n inputType: 'hidden',\n },\n },\n provided_equipment: {\n description:\n 'Select all work equipment or materials that will be provided to the employee to perform the mission.',\n items: {\n anyOf: [\n {\n const: 'laptop',\n title: 'Laptop',\n },\n {\n const: 'desktop',\n title: 'Desktop',\n },\n {\n const: 'smartphone',\n title: 'Smartphone',\n },\n {\n const: 'landline',\n title: 'Landline',\n },\n {\n const: 'tablet',\n title: 'Tablet',\n },\n {\n const: 'printer',\n title: 'Printer',\n },\n {\n const: 'vpn',\n title: 'VPN',\n },\n ],\n },\n title: 'Work equipment and materials',\n type: 'array',\n uniqueItems: true,\n 'x-jsf-presentation': {\n inputType: 'select',\n },\n },\n mission_duration: {\n description:\n \"The minimum expected duration of the mission. Missions can have a maximum duration of 36 months for employees. Employment Fees remain payable until the Employment Agreement is terminated, even if the minimum duration or service agreement ends earlier. <a href='https://support.remote.com/hc/en-us/articles/43837551686541-Mission-Minimum-Duration-France-Wage-Portage' target='_blank'>Learn more</a>\",\n maximum: 36,\n minimum: 1,\n title: 'Mission duration (months)',\n type: 'number',\n 'x-jsf-presentation': {\n inputType: 'number',\n },\n },\n commissions_ack: {\n const: 'acknowledged',\n description:\n 'I understand that I am required to provide written details of the commission plan to this employee, and upload this document on the platform for record keeping purposes. I acknowledge that Remote will not liable for any claims or losses associated with the commission or bonus plan.',\n title: 'Confirm commission plan details',\n type: 'string',\n 'x-jsf-presentation': {\n inputType: 'checkbox',\n meta: {\n helpCenter: {\n callToAction: '(i) Guidance on drafting a commission plan here',\n content: 'The help center content is currently unavailable.',\n error: true,\n id: 17932049668109,\n title: 'Help center unavailable',\n },\n },\n },\n },\n },\n required: [\n 'has_wage_portage_years_of_experience',\n 'has_wage_portage_higher_degree',\n ],\n type: 'object',\n 'x-jsf-logic': {\n computedValues: {\n computed_annual_gross_salary_display: {\n rule: {\n if: [\n {\n var: 'annual_gross_salary',\n },\n {\n '/': [\n {\n var: 'annual_gross_salary',\n },\n 100,\n ],\n },\n null,\n ],\n },\n },\n computed_business_allowance_amount: {\n rule: {\n if: [\n {\n var: 'annual_gross_salary',\n },\n {\n '-': [\n {\n '*': [\n {\n var: 'annual_gross_salary',\n },\n {\n '/': [5, 100],\n },\n ],\n },\n {\n '%': [\n {\n '*': [\n {\n var: 'annual_gross_salary',\n },\n {\n '/': [5, 100],\n },\n ],\n },\n 1,\n ],\n },\n ],\n },\n null,\n ],\n },\n },\n computed_business_allowance_display: {\n rule: {\n if: [\n {\n var: 'business_allowance_amount',\n },\n {\n '/': [\n {\n var: 'business_allowance_amount',\n },\n 100,\n ],\n },\n null,\n ],\n },\n },\n computed_financial_reserve_amount: {\n rule: {\n if: [\n {\n var: 'annual_gross_salary',\n },\n {\n '-': [\n {\n '*': [\n {\n var: 'annual_gross_salary',\n },\n {\n '/': [10, 100],\n },\n ],\n },\n {\n '%': [\n {\n '*': [\n {\n var: 'annual_gross_salary',\n },\n {\n '/': [10, 100],\n },\n ],\n },\n 1,\n ],\n },\n ],\n },\n null,\n ],\n },\n },\n computed_financial_reserve_display: {\n rule: {\n if: [\n {\n var: 'financial_reserve_amount',\n },\n {\n '/': [\n {\n var: 'financial_reserve_amount',\n },\n 100,\n ],\n },\n null,\n ],\n },\n },\n computed_non_compete_clause_compensation_amount: {\n rule: {\n if: [\n {\n and: [\n {\n var: 'annual_gross_salary',\n },\n {\n var: 'non_compete_compensation_salary_percentage',\n },\n ],\n },\n {\n '/': [\n {\n '-': [\n {\n '*': [\n {\n '/': [\n {\n var: 'annual_gross_salary',\n },\n 12,\n ],\n },\n {\n '/': [\n {\n var: 'non_compete_compensation_salary_percentage',\n },\n 100,\n ],\n },\n ],\n },\n {\n '%': [\n {\n '*': [\n {\n '/': [\n {\n var: 'annual_gross_salary',\n },\n 12,\n ],\n },\n {\n '/': [\n {\n var: 'non_compete_compensation_salary_percentage',\n },\n 100,\n ],\n },\n ],\n },\n 1,\n ],\n },\n ],\n },\n 100,\n ],\n },\n null,\n ],\n },\n },\n computed_non_compete_clause_compensation_amount_in_cents: {\n rule: {\n if: [\n {\n and: [\n {\n var: 'annual_gross_salary',\n },\n {\n var: 'non_compete_compensation_salary_percentage',\n },\n ],\n },\n {\n '-': [\n {\n '*': [\n {\n '/': [\n {\n var: 'annual_gross_salary',\n },\n 12,\n ],\n },\n {\n '/': [\n {\n var: 'non_compete_compensation_salary_percentage',\n },\n 100,\n ],\n },\n ],\n },\n {\n '%': [\n {\n '*': [\n {\n '/': [\n {\n var: 'annual_gross_salary',\n },\n 12,\n ],\n },\n {\n '/': [\n {\n var: 'non_compete_compensation_salary_percentage',\n },\n 100,\n ],\n },\n ],\n },\n 1,\n ],\n },\n ],\n },\n null,\n ],\n },\n },\n computed_total_with_allowance_display: {\n rule: {\n if: [\n {\n var: 'annual_gross_salary',\n },\n {\n '/': [\n {\n '+': [\n {\n var: 'annual_gross_salary',\n },\n {\n var: 'business_allowance_amount',\n },\n ],\n },\n 100,\n ],\n },\n null,\n ],\n },\n },\n probation_length_days_input_type: {\n rule: {\n if: [\n {\n and: [\n {\n '==': [\n {\n var: 'probation_length_recommended',\n },\n 'custom',\n ],\n },\n {\n '==': [\n {\n var: 'contract_duration_type',\n },\n 'fixed_term',\n ],\n },\n ],\n },\n 'number',\n 'hidden',\n ],\n },\n },\n probation_length_days_maximum_days: {\n rule: {\n if: [\n {\n var: 'contract_end_date',\n },\n {\n if: [\n {\n or: [\n {\n '<': [\n {\n date_difference_in_months: [\n {\n var: 'contract_end_date',\n },\n '2026-09-03',\n ],\n },\n 6,\n ],\n },\n {\n and: [\n {\n '==': [\n {\n date_difference_in_months: [\n {\n var: 'contract_end_date',\n },\n '2026-09-03',\n ],\n },\n 6,\n ],\n },\n {\n '==': [\n {\n '+': [\n {\n substr: [\n {\n var: 'contract_end_date',\n },\n 8,\n 2,\n ],\n },\n 0,\n ],\n },\n 3,\n ],\n },\n ],\n },\n ],\n },\n 14,\n 30,\n ],\n },\n {\n if: [\n {\n '==': [\n {\n var: 'probation_length_recommended',\n },\n 'custom',\n ],\n },\n null,\n 0,\n ],\n },\n ],\n },\n },\n probation_length_days_recommended: {\n rule: {\n if: [\n {\n var: 'contract_end_date',\n },\n {\n if: [\n {\n or: [\n {\n '<': [\n {\n date_difference_in_months: [\n {\n var: 'contract_end_date',\n },\n '2026-09-03',\n ],\n },\n 6,\n ],\n },\n {\n and: [\n {\n '==': [\n {\n date_difference_in_months: [\n {\n var: 'contract_end_date',\n },\n '2026-09-03',\n ],\n },\n 6,\n ],\n },\n {\n '==': [\n {\n '+': [\n {\n substr: [\n {\n var: 'contract_end_date',\n },\n 8,\n 2,\n ],\n },\n 0,\n ],\n },\n 3,\n ],\n },\n ],\n },\n ],\n },\n {\n min: [\n {\n max: [\n {\n date_difference_in_weeks: [\n {\n var: 'contract_end_date',\n },\n '2026-09-03',\n ],\n },\n 0,\n ],\n },\n 14,\n ],\n },\n 30,\n ],\n },\n 0,\n ],\n },\n },\n probation_length_input_type: {\n rule: {\n if: [\n {\n and: [\n {\n '==': [\n {\n var: 'probation_length_recommended',\n },\n 'custom',\n ],\n },\n {\n '!=': [\n {\n var: 'contract_duration_type',\n },\n 'fixed_term',\n ],\n },\n ],\n },\n 'number',\n 'hidden',\n ],\n },\n },\n probation_length_maximum_months: {\n rule: {\n if: [\n {\n '==': [\n {\n var: 'probation_length_recommended',\n },\n 'custom',\n ],\n },\n {\n if: [\n {\n var: 'contract_end_date',\n },\n null,\n 4,\n ],\n },\n {\n if: [\n {\n var: 'contract_end_date',\n },\n 0,\n 4,\n ],\n },\n ],\n },\n },\n recommended_probation_description: {\n rule: {\n if: [\n {\n var: 'contract_end_date',\n },\n {\n if: [\n {\n or: [\n {\n '<': [\n {\n date_difference_in_months: [\n {\n var: 'contract_end_date',\n },\n '2026-09-03',\n ],\n },\n 6,\n ],\n },\n {\n and: [\n {\n '==': [\n {\n date_difference_in_months: [\n {\n var: 'contract_end_date',\n },\n '2026-09-03',\n ],\n },\n 6,\n ],\n },\n {\n '==': [\n {\n '+': [\n {\n substr: [\n {\n var: 'contract_end_date',\n },\n 8,\n 2,\n ],\n },\n 0,\n ],\n },\n 3,\n ],\n },\n ],\n },\n ],\n },\n \"For fixed-term contracts up to 6 months, the probation period is 1 day per week worked, capped at a maximum of 14 days. This cannot be renewed. <a href='https://support.remote.com/hc/en-us/articles/43837455998221-How-Do-Probation-Period-Renewals-Work-for-Wage-Portage-Employees-on-a-indefinite-term-CDI-Contrat-%C3%A0-Dur%C3%A9e-Ind%C3%A9termin%C3%A9e-contract' target='_blank'>Learn more about renewals</a>\",\n \"For fixed-term contracts exceeding 6 months, the probation period is capped at 1 month. This cannot be renewed. <a href='https://support.remote.com/hc/en-us/articles/43837455998221-How-Do-Probation-Period-Renewals-Work-for-Wage-Portage-Employees-on-a-indefinite-term-CDI-Contrat-%C3%A0-Dur%C3%A9e-Ind%C3%A9termin%C3%A9e-contract' target='_blank'>Learn more about renewals</a>\",\n ],\n },\n \"Can be renewed once. To request a renewal, contact help@remote.com at least 1 month before the initial probation period ends. <a href='https://support.remote.com/hc/en-us/articles/43837455998221-How-Do-Probation-Period-Renewals-Work-for-Wage-Portage-Employees-on-a-indefinite-term-CDI-Contrat-%C3%A0-Dur%C3%A9e-Ind%C3%A9termin%C3%A9e-contract' target='_blank'>Learn more about renewals</a>\",\n ],\n },\n },\n recommended_probation_label: {\n rule: {\n if: [\n {\n var: 'contract_end_date',\n },\n {\n cat: [\n {\n if: [\n {\n or: [\n {\n '<': [\n {\n date_difference_in_months: [\n {\n var: 'contract_end_date',\n },\n '2026-09-03',\n ],\n },\n 6,\n ],\n },\n {\n and: [\n {\n '==': [\n {\n date_difference_in_months: [\n {\n var: 'contract_end_date',\n },\n '2026-09-03',\n ],\n },\n 6,\n ],\n },\n {\n '==': [\n {\n '+': [\n {\n substr: [\n {\n var: 'contract_end_date',\n },\n 8,\n 2,\n ],\n },\n 0,\n ],\n },\n 3,\n ],\n },\n ],\n },\n ],\n },\n {\n min: [\n {\n max: [\n {\n date_difference_in_weeks: [\n {\n var: 'contract_end_date',\n },\n '2026-09-03',\n ],\n },\n 0,\n ],\n },\n 14,\n ],\n },\n 30,\n ],\n },\n ' days',\n ],\n },\n '4 months',\n ],\n },\n },\n },\n },\n 'x-jsf-order': [\n 'has_wage_portage_higher_degree',\n 'has_wage_portage_years_of_experience',\n 'wage_portage_eligibility',\n 'contract_duration_type',\n 'contract_end_date',\n 'work_schedule',\n 'work_hours_per_week',\n 'has_probation_period',\n 'probation_length_recommended',\n 'probation_length',\n 'probation_length_days',\n 'available_pto',\n 'role_description',\n 'job_title_check_enabled',\n 'additional_job_title_eligibility_check_slug',\n 'additional_job_title_eligibility_check_result',\n 'experience_level',\n 'mission_duration',\n 'mission_deliverables_cadence',\n 'provided_systems',\n 'provided_equipment',\n 'primary_contact_point',\n 'professional_qualifications',\n 'key_skills',\n 'work_experience',\n 'field_of_work',\n 'work_address_is_home_address',\n 'employee_travel_required',\n 'annual_gross_salary',\n 'business_allowances_statement',\n 'business_allowance_amount',\n 'financial_reserve_amount',\n 'business_allowance_ack',\n 'home_office_allowance',\n 'has_signing_bonus',\n 'signing_bonus_amount',\n 'has_bonus',\n 'bonus_amount',\n 'bonus_details',\n 'has_commissions',\n 'commissions_details',\n 'commissions_ack',\n 'non_compete_clause_apply',\n 'non_compete_clause_halt_period_months',\n 'non_compete_clause_compensation_amount',\n 'non_compete_compensation_salary_percentage',\n 'non_compete_restricted_activities',\n ],\n 'x-rmt-flatFieldsets': {\n annual_gross_salary_fieldset: {\n propertiesByName: [\n 'annual_gross_salary',\n 'business_allowances_statement',\n 'business_allowance_ack',\n 'home_office_allowance',\n ],\n title: 'Annual gross salary',\n },\n mission_details_fieldset: {\n description:\n \"In France's wage portage framework, a mission is a defined client assignment with a clear scope, duration, and deliverables, performed under the portage salarial framework.\",\n propertiesByName: [\n 'mission_duration',\n 'mission_deliverables_cadence',\n 'provided_systems',\n 'provided_equipment',\n 'primary_contact_point',\n ],\n title: 'Mission details',\n },\n non_compete_fieldset: {\n description:\n \"<strong>No exclusivity or non-compete</strong> during employment<br/>Exclusivity and non-compete clauses are not permitted during the contract. Any post-termination non-compete must be agreed directly with the employee outside of Remote's Employment Agreement and handled entirely by your company. <a href='https://support.remote.com/hc/en-us/articles/43837716053005-Non-compete-under-wage-portage-portage-salarial' target='_blank'>Learn more</a>\",\n propertiesByName: [\n 'non_compete_clause_apply',\n 'non_compete_clause_halt_period_months',\n 'non_compete_compensation_salary_percentage',\n 'non_compete_clause_compensation_amount',\n 'non_compete_restricted_activities',\n ],\n title: 'Non-compete',\n },\n professional_qualifications_fieldset: {\n description:\n \"<a href='https://support.remote.com/hc/en-us/articles/43836880214285-Understanding-Professional-Qualifications-in-Wage-Portage' target='_blank' rel='noopener noreferrer'>Learn more about professional qualifications</a>\",\n propertiesByName: [\n 'professional_qualifications',\n 'key_skills',\n 'work_experience',\n 'field_of_work',\n ],\n title: 'Employee professional qualifications',\n },\n wage_portage_eligibility_fieldset: {\n description:\n 'In France, Remote uses a wage portage (portage salarial) model, where Remote acts as the legal employer while the employee works on behalf of your company. To confirm eligibility, please answer the following:',\n propertiesByName: [\n 'has_wage_portage_higher_degree',\n 'has_wage_portage_years_of_experience',\n ],\n title: 'Wage portage eligibility',\n },\n work_address_fieldset: {\n propertiesByName: ['work_address_is_home_address'],\n title: 'Work address',\n },\n },\n 'x-rmt-meta': {\n jsfVersion: '1',\n },\n },\n },\n 'simple-user-profile': {\n name: 'Simple User Profile Schema',\n description: 'A basic user profile form for testing basic field types',\n schema: {\n type: 'object',\n additionalProperties: false,\n properties: {\n firstName: {\n type: 'string',\n title: 'First Name',\n minLength: 2,\n maxLength: 50,\n 'x-jsf-presentation': {\n inputType: 'text',\n },\n },\n lastName: {\n type: 'string',\n title: 'Last Name',\n minLength: 2,\n maxLength: 50,\n 'x-jsf-presentation': {\n inputType: 'text',\n },\n },\n email: {\n type: 'string',\n title: 'Email Address',\n format: 'email',\n 'x-jsf-presentation': {\n inputType: 'email',\n },\n },\n age: {\n type: 'number',\n title: 'Age',\n minimum: 18,\n maximum: 120,\n 'x-jsf-presentation': {\n inputType: 'number',\n },\n },\n country: {\n type: 'string',\n title: 'Country',\n oneOf: [\n { const: 'US', title: 'United States' },\n { const: 'CA', title: 'Canada' },\n { const: 'UK', title: 'United Kingdom' },\n { const: 'DE', title: 'Germany' },\n { const: 'FR', title: 'France' },\n ],\n 'x-jsf-presentation': {\n inputType: 'select',\n },\n },\n subscribe: {\n type: 'boolean',\n title: 'Subscribe to newsletter',\n 'x-jsf-presentation': {\n inputType: 'checkbox',\n },\n },\n },\n required: ['firstName', 'lastName', 'email', 'country'],\n 'x-rmt-meta': {\n jsfVersion: '1',\n },\n },\n },\n} as const;\n\nexport type SchemaKey = keyof typeof SAMPLE_SCHEMAS;\n"],"mappings":"AAAO,IAAMA,EAAiB,CAC5B,sBAAuB,CACrB,KAAM,6BACN,YACE,2EACF,OAAQ,CACN,qBAAsB,GACtB,MAAO,CACL,CACE,KAAM,CACJ,WAAY,CACV,uCAAwC,GACxC,kCAAmC,EACrC,CACF,EACA,GAAI,CACF,WAAY,CACV,oBAAqB,CACnB,KAAM,SACR,EACA,yBAA0B,CACxB,MAAO,KACT,CACF,EACA,SAAU,CAAC,2BAA4B,qBAAqB,CAC9D,EACA,KAAM,CACJ,WAAY,CACV,uCAAwC,CACtC,4BAA6B,CAC3B,MACE,2DACF,QACE,2DACF,qBAAsB,CACpB,UAAW,CACT,YACE,2GACF,MACE,yFACJ,CACF,CACF,CACF,CACF,EACA,SAAU,CACR,yCACA,mCACF,CACF,CACF,EACA,CACE,KAAM,CACJ,WAAY,CACV,uCAAwC,GACxC,sCAAuC,GACvC,2CAA4C,GAC5C,kCAAmC,EACrC,CACF,EACA,GAAI,CACF,WAAY,CACV,yBAA0B,CACxB,MAAO,KACT,CACF,EACA,SAAU,CAAC,0BAA0B,CACvC,EACA,KAAM,CACJ,SAAU,CACR,6CACA,uCACF,CACF,CACF,EACA,CACE,KAAM,CACJ,WAAY,CACV,iBAAkB,EACpB,CACF,EACA,GAAI,CACF,WAAY,CACV,uBAAwB,CACtB,MAAO,YACT,CACF,EACA,SAAU,CAAC,wBAAwB,CACrC,EACA,KAAM,CACJ,SAAU,CAAC,kBAAkB,CAC/B,CACF,EACA,CACE,GAAI,CACF,WAAY,CACV,uBAAwB,CACtB,MAAO,YACT,CACF,EACA,SAAU,CAAC,wBAAwB,CACrC,EACA,KAAM,CACJ,WAAY,CACV,uBAAwB,CACtB,MAAO,CACL,CACE,MAAO,aACP,YACE,6GACF,MACE,8EACJ,EACA,CACE,MAAO,aACP,cAAe,CAAC,mBAAmB,EACnC,MAAO,qBACT,CACF,CACF,CACF,CACF,CACF,EACA,CACE,KAAM,CACJ,WAAY,CACV,kBAAmB,EACrB,CACF,EACA,GAAI,CACF,WAAY,CACV,uBAAwB,CACtB,MAAO,YACT,CACF,EACA,SAAU,CAAC,wBAAwB,CACrC,EACA,KAAM,CACJ,WAAY,CACV,kBAAmB,CACjB,KAAM,QACR,CACF,EACA,SAAU,CAAC,mBAAmB,CAChC,CACF,EACA,CACE,KAAM,CACJ,KAAM,CACJ,WAAY,CACV,uBAAwB,GACxB,8BAA+B,GAC/B,sBAAuB,EACzB,CACF,EACA,GAAI,CACF,WAAY,CACV,uBAAwB,CACtB,MAAO,YACT,CACF,EACA,SAAU,CAAC,wBAAwB,CACrC,EACA,KAAM,CACJ,WAAY,CACV,uBAAwB,CACtB,MACE,yJACJ,EACA,8BAA+B,CAC7B,4BAA6B,CAC3B,qBAAsB,CACpB,UAAW,CACT,YACE,qkBACJ,CACF,CACF,CACF,CACF,EACA,SAAU,CAAC,yBAA0B,uBAAuB,CAC9D,CACF,EACA,GAAI,CACF,WAAY,CACV,uBAAwB,CACtB,MAAO,YACT,CACF,EACA,SAAU,CAAC,wBAAwB,CACrC,EACA,KAAM,CACJ,SAAU,CAAC,yBAA0B,uBAAuB,CAC9D,CACF,EACA,CACE,KAAM,CACJ,WAAY,CACV,uBAAwB,GACxB,8BAA+B,GAC/B,sBAAuB,EACzB,CACF,EACA,GAAI,CACF,WAAY,CACV,oBAAqB,CACnB,KAAM,SACR,CACF,EACA,SAAU,CAAC,qBAAqB,CAClC,EACA,KAAM,CAAC,CACT,EACA,CACE,KAAM,CACJ,WAAY,CACV,0BAA2B,GAC3B,yBAA0B,EAC5B,CACF,EACA,GAAI,CACF,WAAY,CACV,oBAAqB,CACnB,KAAM,SACR,CACF,EACA,SAAU,CAAC,qBAAqB,CAClC,EACA,KAAM,CACJ,WAAY,CACV,0BAA2B,CACzB,4BAA6B,CAC3B,MAAO,qCACP,QAAS,oCACX,CACF,EACA,yBAA0B,CACxB,4BAA6B,CAC3B,MAAO,oCACP,QAAS,mCACX,CACF,CACF,CACF,CACF,EACA,CACE,GAAI,CACF,WAAY,CACV,oBAAqB,CACnB,MAAO,UACT,CACF,EACA,SAAU,CAAC,qBAAqB,CAClC,EACA,KAAM,CACJ,WAAY,CACV,oBAAqB,CACnB,QAAS,QACT,qBAAsB,CACpB,QACE,4DACJ,CACF,CACF,CACF,CACF,EACA,CACE,GAAI,CACF,WAAY,CACV,iBAAkB,CAChB,MAAO,QACT,EACA,oBAAqB,CACnB,MAAO,IACT,CACF,EACA,SAAU,CAAC,mBAAoB,qBAAqB,CACtD,EACA,KAAM,CACJ,WAAY,CACV,oBAAqB,CACnB,QAAS,QACT,qBAAsB,CACpB,QACE,qEACJ,CACF,CACF,CACF,CACF,EACA,CACE,GAAI,CACF,WAAY,CACV,iBAAkB,CAChB,MAAO,QACT,EACA,oBAAqB,CACnB,MAAO,IACT,CACF,EACA,SAAU,CAAC,mBAAoB,qBAAqB,CACtD,EACA,KAAM,CACJ,WAAY,CACV,oBAAqB,CACnB,QAAS,QACT,qBAAsB,CACpB,QACE,qEACJ,CACF,CACF,CACF,CACF,EACA,CACE,GAAI,CACF,WAAY,CACV,iBAAkB,CAChB,MAAO,QACT,EACA,oBAAqB,CACnB,MAAO,IACT,CACF,EACA,SAAU,CAAC,mBAAoB,qBAAqB,CACtD,EACA,KAAM,CACJ,WAAY,CACV,oBAAqB,CACnB,QAAS,QACT,qBAAsB,CACpB,QACE,qEACJ,CACF,CACF,CACF,CACF,EACA,CACE,GAAI,CACF,WAAY,CACV,iBAAkB,CAChB,MAAO,gBACT,EACA,oBAAqB,CACnB,MAAO,IACT,CACF,EACA,SAAU,CAAC,mBAAoB,qBAAqB,CACtD,EACA,KAAM,CACJ,WAAY,CACV,oBAAqB,CACnB,QAAS,QACT,qBAAsB,CACpB,QACE,0EACJ,CACF,CACF,CACF,CACF,EACA,CACE,GAAI,CACF,WAAY,CACV,8CAA+C,CAC7C,MAAO,IACT,CACF,EACA,SAAU,CAAC,+CAA+C,CAC5D,EACA,KAAM,CACJ,WAAY,CACV,iBAAkB,CAChB,qBAAsB,CACpB,UAAW,CACT,UAAW,YACX,SAAU,QACV,MACE,qFACJ,CACF,CACF,CACF,CACF,CACF,EACA,CACE,GAAI,CACF,WAAY,CACV,8CAA+C,CAC7C,MAAO,OACT,CACF,EACA,SAAU,CAAC,+CAA+C,CAC5D,EACA,KAAM,CACJ,WAAY,CACV,iBAAkB,CAChB,qBAAsB,CACpB,UAAW,CACT,YACE,uGACF,UAAW,YACX,SAAU,OACV,MACE,yDACJ,CACF,CACF,CACF,CACF,CACF,EACA,CACE,KAAM,CACJ,WAAY,CACV,gBAAiB,GACjB,oBAAqB,EACvB,CACF,EACA,GAAI,CACF,WAAY,CACV,gBAAiB,CACf,MAAO,KACT,CACF,EACA,SAAU,CAAC,iBAAiB,CAC9B,EACA,KAAM,CACJ,WAAY,CACV,gBAAiB,CACf,KAAM,CAAC,QAAQ,CACjB,EACA,oBAAqB,CACnB,KAAM,CAAC,QAAQ,CACjB,CACF,EACA,SAAU,CAAC,sBAAuB,iBAAiB,CACrD,CACF,EACA,CACE,KAAM,CACJ,WAAY,CACV,aAAc,GACd,cAAe,EACjB,CACF,EACA,GAAI,CACF,WAAY,CACV,UAAW,CACT,MAAO,KACT,CACF,EACA,SAAU,CAAC,WAAW,CACxB,EACA,KAAM,CACJ,WAAY,CACV,cAAe,CACb,KAAM,CAAC,QAAQ,CACjB,CACF,EACA,SAAU,CAAC,eAAe,CAC5B,CACF,EACA,CACE,KAAM,CACJ,WAAY,CACV,qBAAsB,EACxB,CACF,EACA,GAAI,CACF,WAAY,CACV,kBAAmB,CACjB,MAAO,KACT,CACF,EACA,SAAU,CAAC,mBAAmB,CAChC,EACA,KAAM,CACJ,WAAY,CACV,qBAAsB,CACpB,KAAM,CAAC,SAAS,CAClB,CACF,EACA,SAAU,CAAC,sBAAsB,CACnC,CACF,EACA,CACE,KAAM,CACJ,GAAI,CACF,WAAY,CACV,6BAA8B,CAC5B,MAAO,QACT,CACF,EACA,SAAU,CAAC,8BAA8B,CAC3C,EACA,KAAM,CACJ,KAAM,CACJ,WAAY,CACV,sBAAuB,EACzB,EACA,SAAU,CAAC,kBAAkB,CAC/B,EACA,GAAI,CACF,WAAY,CACV,uBAAwB,CACtB,MAAO,YACT,CACF,EACA,SAAU,CAAC,wBAAwB,CACrC,EACA,KAAM,CACJ,WAAY,CACV,iBAAkB,EACpB,EACA,SAAU,CAAC,uBAAuB,CACpC,CACF,CACF,EACA,GAAI,CACF,WAAY,CACV,6BAA8B,CAC5B,MAAO,aACT,CACF,EACA,SAAU,CAAC,8BAA8B,CAC3C,EACA,KAAM,CACJ,MAAO,CACL,CACE,KAAM,CACJ,MAAO,CACL,CACE,GAAI,CACF,WAAY,CACV,qBAAsB,CACpB,MAAO,KACT,CACF,EACA,SAAU,CAAC,sBAAsB,CACnC,EACA,KAAM,CACJ,SAAU,CAAC,kBAAkB,CAC/B,CACF,CACF,EACA,WAAY,CACV,iBAAkB,CAChB,4BAA6B,CAC3B,MAAO,kCACP,QAAS,iCACX,CACF,EACA,sBAAuB,EACzB,CACF,EACA,GAAI,CACF,WAAY,CACV,uBAAwB,CACtB,MAAO,YACT,CACF,EACA,SAAU,CAAC,wBAAwB,CACrC,EACA,KAAM,CACJ,MAAO,CACL,CACE,GAAI,CACF,WAAY,CACV,qBAAsB,CACpB,MAAO,KACT,CACF,EACA,SAAU,CAAC,sBAAsB,CACnC,EACA,KAAM,CACJ,SAAU,CAAC,uBAAuB,CACpC,CACF,CACF,EACA,WAAY,CACV,iBAAkB,GAClB,sBAAuB,CACrB,4BAA6B,CAC3B,MAAO,oCACP,QAAS,mCACX,CACF,CACF,CACF,CACF,CACF,CACF,CACF,EACA,CACE,KAAM,CACJ,WAAY,CACV,qBAAsB,CACpB,MAAO,KACP,QAAS,IACX,CACF,CACF,EACA,GAAI,CACF,MAAO,CACL,CACE,WAAY,CACV,iBAAkB,CAChB,iBAAkB,CACpB,CACF,EACA,SAAU,CAAC,kBAAkB,CAC/B,EACA,CACE,WAAY,CACV,sBAAuB,CACrB,iBAAkB,CACpB,CACF,EACA,SAAU,CAAC,uBAAuB,CACpC,CACF,CACF,EACA,KAAM,CACJ,WAAY,CACV,qBAAsB,CACpB,MAAO,MACP,QAAS,KACX,CACF,CACF,CACF,EACA,CACE,KAAM,CACJ,KAAM,CACJ,WAAY,CACV,yBAA0B,GAC1B,6BAA8B,GAC9B,kBAAmB,GACnB,uBAAwB,GACxB,oBAAqB,GACrB,kCAAmC,GACnC,gBAAiB,GACjB,gBAAiB,GACjB,UAAW,GACX,sBAAuB,GACvB,wBAAyB,GACzB,0BAA2B,GAC3B,WAAY,GACZ,oBAAqB,GACrB,uBAAwB,GACxB,cAAe,GACf,iBAAkB,GAClB,iBAAkB,GAClB,cAAe,GACf,iBAAkB,GAClB,8BAA+B,GAC/B,qBAAsB,GACtB,qBAAsB,GACtB,yBAA0B,GAC1B,uCAAwC,GACxC,oBAAqB,GACrB,iBAAkB,GAClB,yBAA0B,GAC1B,sCAAuC,GACvC,cAAe,GACf,cAAe,GACf,6BAA8B,GAC9B,2CAA4C,GAC5C,6BAA8B,GAC9B,aAAc,GACd,4BAA6B,GAC7B,sBAAuB,GACvB,4CAA6C,GAC7C,sBAAuB,GACvB,yBAA0B,GAC1B,kBAAmB,GACnB,8CAA+C,GAC/C,mBAAoB,GACpB,iBAAkB,GAClB,gBAAiB,EACnB,CACF,EACA,GAAI,CACF,MAAO,CACL,CACE,WAAY,CACV,+BAAgC,CAC9B,MAAO,KACT,CACF,EACA,SAAU,CAAC,gCAAgC,CAC7C,EACA,CACE,WAAY,CACV,qCAAsC,CACpC,MAAO,KACT,CACF,EACA,SAAU,CAAC,sCAAsC,CACnD,CACF,CACF,EACA,KAAM,CACJ,WAAY,CACV,yBAA0B,EAC5B,EACA,SAAU,CACR,2BACA,gBACA,kBACA,aACA,8BACA,wBACA,qBACA,mBACA,+BACA,yBACA,sBACA,sBACA,+BACA,0BACA,uBACA,gBACA,mBACA,oBACA,YACA,kBACA,mBACA,+BACA,2BACA,iCACA,uCACA,eACF,CACF,CACF,EACA,GAAI,CACF,WAAY,CACV,+BAAgC,CAC9B,MAAO,IACT,EACA,qCAAsC,CACpC,MAAO,IACT,CACF,EACA,SAAU,CACR,iCACA,sCACF,CACF,EACA,KAAM,CACJ,WAAY,CACV,yBAA0B,GAC1B,6BAA8B,GAC9B,kBAAmB,GACnB,uBAAwB,GACxB,oBAAqB,GACrB,kCAAmC,GACnC,gBAAiB,GACjB,gBAAiB,GACjB,UAAW,GACX,sBAAuB,GACvB,wBAAyB,GACzB,0BAA2B,GAC3B,WAAY,GACZ,oBAAqB,GACrB,uBAAwB,GACxB,cAAe,GACf,iBAAkB,GAClB,iBAAkB,GAClB,cAAe,GACf,iBAAkB,GAClB,8BAA+B,GAC/B,qBAAsB,GACtB,qBAAsB,GACtB,yBAA0B,CACxB,MAAO,KACP,QAAS,KACT,qBAAsB,CACpB,UAAW,WACb,CACF,EACA,uCAAwC,GACxC,oBAAqB,GACrB,iBAAkB,GAClB,yBAA0B,GAC1B,sCAAuC,GACvC,cAAe,GACf,cAAe,GACf,6BAA8B,GAC9B,2CAA4C,GAC5C,6BAA8B,GAC9B,aAAc,GACd,4BAA6B,GAC7B,sBAAuB,GACvB,4CAA6C,GAC7C,sBAAuB,GACvB,yBAA0B,GAC1B,kBAAmB,GACnB,8CAA+C,GAC/C,mBAAoB,GACpB,iBAAkB,GAClB,gBAAiB,EACnB,CACF,CACF,CACF,EACA,WAAY,CACV,yBAA0B,CACxB,YACE,kMACF,MAAO,CACL,CACE,MAAO,MACP,MAAO,KACT,EACA,CACE,MAAO,KACP,MAAO,IACT,CACF,EACA,MACE,oEACF,KAAM,SACN,qBAAsB,CACpB,UAAW,MACX,UAAW,OACb,CACF,EACA,6BAA8B,CAC5B,YACE,spBACF,MAAO,CACL,CACE,MAAO,cACP,MAAO,WACP,4BAA6B,CAC3B,YAAa,wCACb,MAAO,iCACT,EACA,qBAAsB,CACpB,YAAa,EACf,CACF,EACA,CACE,MAAO,SACP,MAAO,wBACT,CACF,EACA,MAAO,mBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,SACX,UAAW,OACb,CACF,EACA,kBAAmB,CACjB,YACE,uEACF,OAAQ,OACR,UAAW,IACX,MAAO,oBACP,KAAM,CAAC,SAAU,MAAM,EACvB,qBAAsB,CACpB,UAAW,OACX,QAAS,aACT,QAAS,YACX,CACF,EACA,uBAAwB,CACtB,MAAO,eACP,MACE,mLACF,KAAM,SACN,qBAAsB,CACpB,YACE,2KACF,UAAW,UACb,CACF,EACA,oBAAqB,CACnB,YAAa,GACb,MAAO,CACL,CACE,MAAO,KACP,YACE,wIACF,MAAO,kBACT,EACA,CACE,MAAO,WACP,YACE,qKACF,MAAO,2BACT,CACF,EACA,MAAO,sBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,OACb,CACF,EACA,kCAAmC,CACjC,YACE,kVACF,UAAW,IACX,UAAW,GACX,MAAO,wBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,UACb,CACF,EACA,gBAAiB,CACf,YACE,iLACF,UAAW,IACX,MAAO,sBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,UACb,CACF,EACA,gBAAiB,CACf,YACE,+KACF,MAAO,CACL,CACE,MAAO,MACP,MAAO,KACT,EACA,CACE,MAAO,KACP,MAAO,IACT,CACF,EACA,MAAO,oBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,MACX,UAAW,OACb,CACF,EACA,UAAW,CACT,YACE,6DACF,MAAO,CACL,CACE,MAAO,MACP,MAAO,KACT,EACA,CACE,MAAO,KACP,MAAO,IACT,CACF,EACA,MAAO,uBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,MACX,UAAW,QACX,KAAM,CACJ,WAAY,CACV,aAAc,aACd,QAAS,oDACT,MAAO,GACP,GAAI,eACJ,MAAO,yBACT,CACF,CACF,CACF,EACA,+BAAgC,CAC9B,YACE,2DACF,MAAO,CACL,CACE,MAAO,MACP,MAAO,KACT,EACA,CACE,MAAO,KACP,MAAO,IACT,CACF,EACA,MAAO,4DACP,KAAM,SACN,qBAAsB,CACpB,UAAW,MACX,UAAW,OACb,CACF,EACA,sBAAuB,CACrB,YACE,uGACF,UAAW,IACX,MAAO,2BACP,KAAM,SACN,qBAAsB,CACpB,UAAW,MACb,CACF,EACA,wBAAyB,CACvB,MAAO,GACP,QAAS,GACT,KAAM,CAAC,EAAI,EACX,MAAO,CACL,CACE,MAAO,GACP,MAAO,KACT,EACA,CACE,MAAO,GACP,MAAO,IACT,CACF,EACA,KAAM,UACN,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,0BAA2B,CACzB,MAAO,4BACP,KAAM,UACN,qBAAsB,CACpB,KAAM,sDACR,EACA,qBAAsB,CACpB,SAAU,MACV,UAAW,OACb,CACF,EACA,WAAY,CACV,YACE,6HACF,UAAW,IACX,MAAO,sBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,UACb,CACF,EACA,oBAAqB,CACnB,YACE,qIACF,MAAO,sBACP,KAAM,UACN,qBAAsB,CACpB,KAAM,sDACR,EACA,qBAAsB,CACpB,SAAU,MACV,UAAW,QACX,KAAM,CACJ,WAAY,CACV,aAAc,aACd,QAAS,oDACT,MAAO,GACP,GAAI,eACJ,MAAO,yBACT,CACF,CACF,CACF,EACA,uBAAwB,CACtB,YACE,oKACF,MAAO,CACL,CACE,MAAO,aACP,MACE,8EACJ,EACA,CACE,MAAO,aACP,cAAe,CAAC,mBAAmB,EACnC,MAAO,qBACT,CACF,EACA,MAAO,oBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,SACX,UAAW,QACX,KAAM,CACJ,WAAY,CACV,aAAc,4CACd,QAAS,oDACT,MAAO,GACP,GAAI,eACJ,MAAO,yBACT,CACF,CACF,CACF,EACA,cAAe,CACb,MAAO,GACP,QAAS,GACT,YACE,oOACF,MAAO,+BACP,KAAM,SACN,qBAAsB,CACpB,UAAW,SACX,UAAW,CACT,MAAO,wDACT,CACF,CACF,EACA,iBAAkB,CAChB,YACE,8EACF,QAAS,EACT,MAAO,6BACP,KAAM,SACN,4BAA6B,CAC3B,QAAS,kCACT,qBAAsB,CACpB,UAAW,6BACb,CACF,EACA,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,iBAAkB,CAChB,YACE,0PACF,MAAO,CACL,CACE,MAAO,iBACP,YACE,yHACF,MACE,uEACJ,EACA,CACE,MAAO,SACP,YACE,8HACF,MAAO,0DACT,EACA,CACE,MAAO,SACP,YACE,oHACF,MAAO,0DACT,EACA,CACE,MAAO,SACP,YACE,yHACF,MAAO,0DACT,CACF,EACA,MAAO,mBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,SACX,UAAW,QACX,KAAM,CACJ,WAAY,CACV,aAAc,aACd,QAAS,oDACT,MAAO,GACP,GAAI,eACJ,MAAO,yBACT,CACF,CACF,CACF,EACA,cAAe,CACb,YAAa,2CACb,UAAW,IACX,MAAO,sBACP,KAAM,CAAC,SAAU,MAAM,EACvB,qBAAsB,CACpB,UAAW,UACb,CACF,EACA,iBAAkB,CAChB,YACE,4EACF,UAAW,IACX,UAAW,IACX,MAAO,mBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,WACX,KAAM,CACJ,WAAY,CACV,aAAc,aACd,QAAS,oDACT,MAAO,GACP,GAAI,eACJ,MAAO,yBACT,CACF,CACF,CACF,EACA,8BAA+B,CAC7B,MAAO,uBACP,KAAM,OACN,4BAA6B,CAC3B,qBAAsB,CACpB,UAAW,CACT,YACE,2jBACJ,CACF,CACF,EACA,qBAAsB,CACpB,UAAW,SACX,KAAM,CACJ,YAAa,EACf,EACA,UAAW,CACT,UAAW,YACX,SAAU,MACZ,CACF,CACF,EACA,qBAAsB,CACpB,MAAO,CACL,CACE,MAAO,MACP,MAAO,KACT,EACA,CACE,MAAO,KACP,MAAO,IACT,CACF,EACA,MAAO,mBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,qBAAsB,CACpB,MAAO,uBACP,KAAM,CAAC,UAAW,MAAM,EACxB,qBAAsB,CACpB,KAAM,sDACR,EACA,qBAAsB,CACpB,SAAU,MACV,UAAW,OACb,CACF,EACA,yBAA0B,CACxB,MAAO,MACP,QAAS,MACT,KAAM,CAAC,KAAK,EACZ,MAAO,2BACP,KAAM,SACN,qBAAsB,CACpB,UAAW,SACX,KAAM,CACJ,YAAa,EACf,EACA,UAAW,CACT,YACE,kMACF,UAAW,YACX,SAAU,QACV,MAAO,+BACT,CACF,CACF,EACA,uCAAwC,CACtC,YACE,2GACF,MAAO,kCACP,KAAM,UACN,qBAAsB,CACpB,KAAM,sDACR,EACA,qBAAsB,CACpB,SAAU,MACV,UAAW,OACb,CACF,EACA,oBAAqB,CACnB,YAAa,uCACb,UAAW,IACX,MAAO,qBACP,KAAM,CAAC,SAAU,MAAM,EACvB,qBAAsB,CACpB,UAAW,UACb,CACF,EACA,iBAAkB,CAChB,YACE,0HACF,MAAO,CACL,MAAO,CACL,CACE,MAAO,QACP,MAAO,OACT,EACA,CACE,MAAO,oBACP,MAAO,mBACT,EACA,CACE,MAAO,oCACP,MAAO,mCACT,EACA,CACE,MAAO,eACP,MAAO,cACT,EACA,CACE,MAAO,WACP,MAAO,UACT,EACA,CACE,MAAO,UACP,MAAO,SACT,EACA,CACE,MAAO,OACP,MAAO,sCACT,CACF,CACF,EACA,MAAO,8BACP,KAAM,QACN,YAAa,GACb,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,yBAA0B,CACxB,MAAO,2BACP,KAAM,UACN,qBAAsB,CACpB,KAAM,sDACR,EACA,qBAAsB,CACpB,SAAU,MACV,UAAW,OACb,CACF,EACA,sCAAuC,CACrC,YACE,uIACF,QAAS,GACT,QAAS,EACT,MAAO,qBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,cAAe,CACb,YACE,gLACF,UAAW,IACX,MAAO,yBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,MACb,CACF,EACA,cAAe,CACb,MAAO,YACP,QAAS,YACT,MAAO,CACL,CACE,MAAO,YACP,MAAO,WACT,EACA,CACE,MAAO,YACP,MAAO,WACT,CACF,EACA,MAAO,mBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,MACX,UAAW,QACb,CACF,EACA,6BAA8B,CAC5B,YACE,wGACF,MAAO,CACL,CACE,MAAO,QACP,MAAO,OACT,EACA,CACE,MAAO,SACP,MAAO,QACT,EACA,CACE,MAAO,UACP,MAAO,SACT,EACA,CACE,MAAO,YACP,MAAO,WACT,CACF,EACA,MAAO,+BACP,KAAM,SACN,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,2CAA4C,CAC1C,QAAS,GACT,YACE,0UACF,SAAU,GACV,MAAO,gCACP,KAAM,SACN,qBAAsB,CACpB,UAAW,SACX,WAAY,GACZ,SAAU,GACV,MAAO,EACT,CACF,EACA,qCAAsC,CACpC,YACE,qEACF,MAAO,CACL,CACE,MAAO,MACP,MAAO,KACT,EACA,CACE,MAAO,KACP,MAAO,IACT,CACF,EACA,MACE,+EACF,KAAM,SACN,qBAAsB,CACpB,UAAW,MACX,UAAW,OACb,CACF,EACA,6BAA8B,CAC5B,MAAO,CACL,CACE,MAAO,MACP,MAAO,mCACT,EACA,CACE,MAAO,KACP,MAAO,0CACT,CACF,EACA,MAAO,GACP,KAAM,SACN,qBAAsB,CACpB,UAAW,SACX,UAAW,OACb,CACF,EACA,aAAc,CACZ,WAAY,GACZ,SAAU,GACV,MAAO,4BACP,KAAM,CAAC,UAAW,MAAM,EACxB,qBAAsB,CACpB,KAAM,sDACR,EACA,qBAAsB,CACpB,SAAU,MACV,WAAY,CACV,YACE,gFACJ,EACA,UAAW,OACb,CACF,EACA,4BAA6B,CAC3B,YACE,mEACF,MAAO,CACL,CACE,MAAO,MACP,MAAO,yCACT,EACA,CACE,MAAO,MACP,MAAO,+CACT,EACA,CACE,MAAO,UACP,MAAO,6BACT,EACA,CACE,MAAO,iBACP,MAAO,iBACT,EACA,CACE,MAAO,gBACP,MAAO,iBACT,EACA,CACE,MAAO,aACP,MAAO,YACT,CACF,EACA,MAAO,8BACP,KAAM,SACN,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,sBAAuB,CACrB,YACE,8KACF,QAAS,KACT,MAAO,oDACP,KAAM,UACN,qBAAsB,CACpB,QAAS,gCACT,KAAM,sDACR,EACA,qBAAsB,CACpB,SAAU,MACV,UAAW,OACb,CACF,EACA,4CAA6C,CAC3C,KAAM,CAAC,SAAU,MAAM,EACvB,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,sBAAuB,CACrB,YACE,8EACF,QAAS,EACT,MAAO,2BACP,KAAM,SACN,4BAA6B,CAC3B,QAAS,qCACT,qBAAsB,CACpB,UAAW,kCACb,CACF,EACA,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,yBAA0B,CACxB,MAAO,CACL,CACE,MAAO,MACP,MAAO,KACT,EACA,CACE,MAAO,KACP,MAAO,IACT,CACF,EACA,MAAO,+CACP,KAAM,SACN,qBAAsB,CACpB,UAAW,MACX,UAAW,OACb,CACF,EACA,kBAAmB,CACjB,YACE,6EACF,MAAO,CACL,CACE,MAAO,MACP,MAAO,KACT,EACA,CACE,MAAO,KACP,MAAO,IACT,CACF,EACA,MAAO,yBACP,KAAM,SACN,qBAAsB,CACpB,UAAW,MACX,UAAW,OACb,CACF,EACA,8CAA+C,CAC7C,KAAM,CAAC,SAAU,MAAM,EACvB,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,mBAAoB,CAClB,YACE,uGACF,MAAO,CACL,MAAO,CACL,CACE,MAAO,SACP,MAAO,QACT,EACA,CACE,MAAO,UACP,MAAO,SACT,EACA,CACE,MAAO,aACP,MAAO,YACT,EACA,CACE,MAAO,WACP,MAAO,UACT,EACA,CACE,MAAO,SACP,MAAO,QACT,EACA,CACE,MAAO,UACP,MAAO,SACT,EACA,CACE,MAAO,MACP,MAAO,KACT,CACF,CACF,EACA,MAAO,+BACP,KAAM,QACN,YAAa,GACb,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,iBAAkB,CAChB,YACE,gZACF,QAAS,GACT,QAAS,EACT,MAAO,4BACP,KAAM,SACN,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,gBAAiB,CACf,MAAO,eACP,YACE,6RACF,MAAO,kCACP,KAAM,SACN,qBAAsB,CACpB,UAAW,WACX,KAAM,CACJ,WAAY,CACV,aAAc,kDACd,QAAS,oDACT,MAAO,GACP,GAAI,eACJ,MAAO,yBACT,CACF,CACF,CACF,CACF,EACA,SAAU,CACR,uCACA,gCACF,EACA,KAAM,SACN,cAAe,CACb,eAAgB,CACd,qCAAsC,CACpC,KAAM,CACJ,GAAI,CACF,CACE,IAAK,qBACP,EACA,CACE,IAAK,CACH,CACE,IAAK,qBACP,EACA,GACF,CACF,EACA,IACF,CACF,CACF,EACA,mCAAoC,CAClC,KAAM,CACJ,GAAI,CACF,CACE,IAAK,qBACP,EACA,CACE,IAAK,CACH,CACE,IAAK,CACH,CACE,IAAK,qBACP,EACA,CACE,IAAK,CAAC,EAAG,GAAG,CACd,CACF,CACF,EACA,CACE,IAAK,CACH,CACE,IAAK,CACH,CACE,IAAK,qBACP,EACA,CACE,IAAK,CAAC,EAAG,GAAG,CACd,CACF,CACF,EACA,CACF,CACF,CACF,CACF,EACA,IACF,CACF,CACF,EACA,oCAAqC,CACnC,KAAM,CACJ,GAAI,CACF,CACE,IAAK,2BACP,EACA,CACE,IAAK,CACH,CACE,IAAK,2BACP,EACA,GACF,CACF,EACA,IACF,CACF,CACF,EACA,kCAAmC,CACjC,KAAM,CACJ,GAAI,CACF,CACE,IAAK,qBACP,EACA,CACE,IAAK,CACH,CACE,IAAK,CACH,CACE,IAAK,qBACP,EACA,CACE,IAAK,CAAC,GAAI,GAAG,CACf,CACF,CACF,EACA,CACE,IAAK,CACH,CACE,IAAK,CACH,CACE,IAAK,qBACP,EACA,CACE,IAAK,CAAC,GAAI,GAAG,CACf,CACF,CACF,EACA,CACF,CACF,CACF,CACF,EACA,IACF,CACF,CACF,EACA,mCAAoC,CAClC,KAAM,CACJ,GAAI,CACF,CACE,IAAK,0BACP,EACA,CACE,IAAK,CACH,CACE,IAAK,0BACP,EACA,GACF,CACF,EACA,IACF,CACF,CACF,EACA,gDAAiD,CAC/C,KAAM,CACJ,GAAI,CACF,CACE,IAAK,CACH,CACE,IAAK,qBACP,EACA,CACE,IAAK,4CACP,CACF,CACF,EACA,CACE,IAAK,CACH,CACE,IAAK,CACH,CACE,IAAK,CACH,CACE,IAAK,CACH,CACE,IAAK,qBACP,EACA,EACF,CACF,EACA,CACE,IAAK,CACH,CACE,IAAK,4CACP,EACA,GACF,CACF,CACF,CACF,EACA,CACE,IAAK,CACH,CACE,IAAK,CACH,CACE,IAAK,CACH,CACE,IAAK,qBACP,EACA,EACF,CACF,EACA,CACE,IAAK,CACH,CACE,IAAK,4CACP,EACA,GACF,CACF,CACF,CACF,EACA,CACF,CACF,CACF,CACF,EACA,GACF,CACF,EACA,IACF,CACF,CACF,EACA,yDAA0D,CACxD,KAAM,CACJ,GAAI,CACF,CACE,IAAK,CACH,CACE,IAAK,qBACP,EACA,CACE,IAAK,4CACP,CACF,CACF,EACA,CACE,IAAK,CACH,CACE,IAAK,CACH,CACE,IAAK,CACH,CACE,IAAK,qBACP,EACA,EACF,CACF,EACA,CACE,IAAK,CACH,CACE,IAAK,4CACP,EACA,GACF,CACF,CACF,CACF,EACA,CACE,IAAK,CACH,CACE,IAAK,CACH,CACE,IAAK,CACH,CACE,IAAK,qBACP,EACA,EACF,CACF,EACA,CACE,IAAK,CACH,CACE,IAAK,4CACP,EACA,GACF,CACF,CACF,CACF,EACA,CACF,CACF,CACF,CACF,EACA,IACF,CACF,CACF,EACA,sCAAuC,CACrC,KAAM,CACJ,GAAI,CACF,CACE,IAAK,qBACP,EACA,CACE,IAAK,CACH,CACE,IAAK,CACH,CACE,IAAK,qBACP,EACA,CACE,IAAK,2BACP,CACF,CACF,EACA,GACF,CACF,EACA,IACF,CACF,CACF,EACA,iCAAkC,CAChC,KAAM,CACJ,GAAI,CACF,CACE,IAAK,CACH,CACE,KAAM,CACJ,CACE,IAAK,8BACP,EACA,QACF,CACF,EACA,CACE,KAAM,CACJ,CACE,IAAK,wBACP,EACA,YACF,CACF,CACF,CACF,EACA,SACA,QACF,CACF,CACF,EACA,mCAAoC,CAClC,KAAM,CACJ,GAAI,CACF,CACE,IAAK,mBACP,EACA,CACE,GAAI,CACF,CACE,GAAI,CACF,CACE,IAAK,CACH,CACE,0BAA2B,CACzB,CACE,IAAK,mBACP,EACA,YACF,CACF,EACA,CACF,CACF,EACA,CACE,IAAK,CACH,CACE,KAAM,CACJ,CACE,0BAA2B,CACzB,CACE,IAAK,mBACP,EACA,YACF,CACF,EACA,CACF,CACF,EACA,CACE,KAAM,CACJ,CACE,IAAK,CACH,CACE,OAAQ,CACN,CACE,IAAK,mBACP,EACA,EACA,CACF,CACF,EACA,CACF,CACF,EACA,CACF,CACF,CACF,CACF,CACF,CACF,EACA,GACA,EACF,CACF,EACA,CACE,GAAI,CACF,CACE,KAAM,CACJ,CACE,IAAK,8BACP,EACA,QACF,CACF,EACA,KACA,CACF,CACF,CACF,CACF,CACF,EACA,kCAAmC,CACjC,KAAM,CACJ,GAAI,CACF,CACE,IAAK,mBACP,EACA,CACE,GAAI,CACF,CACE,GAAI,CACF,CACE,IAAK,CACH,CACE,0BAA2B,CACzB,CACE,IAAK,mBACP,EACA,YACF,CACF,EACA,CACF,CACF,EACA,CACE,IAAK,CACH,CACE,KAAM,CACJ,CACE,0BAA2B,CACzB,CACE,IAAK,mBACP,EACA,YACF,CACF,EACA,CACF,CACF,EACA,CACE,KAAM,CACJ,CACE,IAAK,CACH,CACE,OAAQ,CACN,CACE,IAAK,mBACP,EACA,EACA,CACF,CACF,EACA,CACF,CACF,EACA,CACF,CACF,CACF,CACF,CACF,CACF,EACA,CACE,IAAK,CACH,CACE,IAAK,CACH,CACE,yBAA0B,CACxB,CACE,IAAK,mBACP,EACA,YACF,CACF,EACA,CACF,CACF,EACA,EACF,CACF,EACA,EACF,CACF,EACA,CACF,CACF,CACF,EACA,4BAA6B,CAC3B,KAAM,CACJ,GAAI,CACF,CACE,IAAK,CACH,CACE,KAAM,CACJ,CACE,IAAK,8BACP,EACA,QACF,CACF,EACA,CACE,KAAM,CACJ,CACE,IAAK,wBACP,EACA,YACF,CACF,CACF,CACF,EACA,SACA,QACF,CACF,CACF,EACA,gCAAiC,CAC/B,KAAM,CACJ,GAAI,CACF,CACE,KAAM,CACJ,CACE,IAAK,8BACP,EACA,QACF,CACF,EACA,CACE,GAAI,CACF,CACE,IAAK,mBACP,EACA,KACA,CACF,CACF,EACA,CACE,GAAI,CACF,CACE,IAAK,mBACP,EACA,EACA,CACF,CACF,CACF,CACF,CACF,EACA,kCAAmC,CACjC,KAAM,CACJ,GAAI,CACF,CACE,IAAK,mBACP,EACA,CACE,GAAI,CACF,CACE,GAAI,CACF,CACE,IAAK,CACH,CACE,0BAA2B,CACzB,CACE,IAAK,mBACP,EACA,YACF,CACF,EACA,CACF,CACF,EACA,CACE,IAAK,CACH,CACE,KAAM,CACJ,CACE,0BAA2B,CACzB,CACE,IAAK,mBACP,EACA,YACF,CACF,EACA,CACF,CACF,EACA,CACE,KAAM,CACJ,CACE,IAAK,CACH,CACE,OAAQ,CACN,CACE,IAAK,mBACP,EACA,EACA,CACF,CACF,EACA,CACF,CACF,EACA,CACF,CACF,CACF,CACF,CACF,CACF,EACA,0ZACA,yXACF,CACF,EACA,uYACF,CACF,CACF,EACA,4BAA6B,CAC3B,KAAM,CACJ,GAAI,CACF,CACE,IAAK,mBACP,EACA,CACE,IAAK,CACH,CACE,GAAI,CACF,CACE,GAAI,CACF,CACE,IAAK,CACH,CACE,0BAA2B,CACzB,CACE,IAAK,mBACP,EACA,YACF,CACF,EACA,CACF,CACF,EACA,CACE,IAAK,CACH,CACE,KAAM,CACJ,CACE,0BAA2B,CACzB,CACE,IAAK,mBACP,EACA,YACF,CACF,EACA,CACF,CACF,EACA,CACE,KAAM,CACJ,CACE,IAAK,CACH,CACE,OAAQ,CACN,CACE,IAAK,mBACP,EACA,EACA,CACF,CACF,EACA,CACF,CACF,EACA,CACF,CACF,CACF,CACF,CACF,CACF,EACA,CACE,IAAK,CACH,CACE,IAAK,CACH,CACE,yBAA0B,CACxB,CACE,IAAK,mBACP,EACA,YACF,CACF,EACA,CACF,CACF,EACA,EACF,CACF,EACA,EACF,CACF,EACA,OACF,CACF,EACA,UACF,CACF,CACF,CACF,CACF,EACA,cAAe,CACb,iCACA,uCACA,2BACA,yBACA,oBACA,gBACA,sBACA,uBACA,+BACA,mBACA,wBACA,gBACA,mBACA,0BACA,8CACA,gDACA,mBACA,mBACA,+BACA,mBACA,qBACA,wBACA,8BACA,aACA,kBACA,gBACA,+BACA,2BACA,sBACA,gCACA,4BACA,2BACA,yBACA,wBACA,oBACA,uBACA,YACA,eACA,gBACA,kBACA,sBACA,kBACA,2BACA,wCACA,yCACA,6CACA,mCACF,EACA,sBAAuB,CACrB,6BAA8B,CAC5B,iBAAkB,CAChB,sBACA,gCACA,yBACA,uBACF,EACA,MAAO,qBACT,EACA,yBAA0B,CACxB,YACE,+KACF,iBAAkB,CAChB,mBACA,+BACA,mBACA,qBACA,uBACF,EACA,MAAO,iBACT,EACA,qBAAsB,CACpB,YACE,icACF,iBAAkB,CAChB,2BACA,wCACA,6CACA,yCACA,mCACF,EACA,MAAO,aACT,EACA,qCAAsC,CACpC,YACE,6NACF,iBAAkB,CAChB,8BACA,aACA,kBACA,eACF,EACA,MAAO,sCACT,EACA,kCAAmC,CACjC,YACE,mNACF,iBAAkB,CAChB,iCACA,sCACF,EACA,MAAO,0BACT,EACA,sBAAuB,CACrB,iBAAkB,CAAC,8BAA8B,EACjD,MAAO,cACT,CACF,EACA,aAAc,CACZ,WAAY,GACd,CACF,CACF,EACA,sBAAuB,CACrB,KAAM,6BACN,YAAa,0DACb,OAAQ,CACN,KAAM,SACN,qBAAsB,GACtB,WAAY,CACV,UAAW,CACT,KAAM,SACN,MAAO,aACP,UAAW,EACX,UAAW,GACX,qBAAsB,CACpB,UAAW,MACb,CACF,EACA,SAAU,CACR,KAAM,SACN,MAAO,YACP,UAAW,EACX,UAAW,GACX,qBAAsB,CACpB,UAAW,MACb,CACF,EACA,MAAO,CACL,KAAM,SACN,MAAO,gBACP,OAAQ,QACR,qBAAsB,CACpB,UAAW,OACb,CACF,EACA,IAAK,CACH,KAAM,SACN,MAAO,MACP,QAAS,GACT,QAAS,IACT,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,QAAS,CACP,KAAM,SACN,MAAO,UACP,MAAO,CACL,CAAE,MAAO,KAAM,MAAO,eAAgB,EACtC,CAAE,MAAO,KAAM,MAAO,QAAS,EAC/B,CAAE,MAAO,KAAM,MAAO,gBAAiB,EACvC,CAAE,MAAO,KAAM,MAAO,SAAU,EAChC,CAAE,MAAO,KAAM,MAAO,QAAS,CACjC,EACA,qBAAsB,CACpB,UAAW,QACb,CACF,EACA,UAAW,CACT,KAAM,UACN,MAAO,0BACP,qBAAsB,CACpB,UAAW,UACb,CACF,CACF,EACA,SAAU,CAAC,YAAa,WAAY,QAAS,SAAS,EACtD,aAAc,CACZ,WAAY,GACd,CACF,CACF,CACF","names":["SAMPLE_SCHEMAS"]}
@@ -1,2 +0,0 @@
1
- import{a}from"./chunk-F6NFCJYW.js";import{a as e}from"./chunk-I363AG3E.js";import{a as t}from"./chunk-XLA5Z35M.js";import{a as m}from"./chunk-ZFF6E44S.js";import{a as n}from"./chunk-4MI7BMM5.js";import{a as r}from"./chunk-P37U34EQ.js";import{useId as p}from"react";import{jsx as g}from"react/jsx-runtime";var B=r(({defaultSchema:s,initialValues:d,onSubmit:u,onError:c,render:P})=>{let l=p(),o=e({defaultSchema:s,initialValues:d,onSubmit:u,onError:c});return g(n.Provider,{value:{formId:l,playgroundBag:o},children:P({playgroundBag:o,components:{Form:t,SubmitButton:a,ResetButton:m}})})},"JsonSchemaPlaygroundFlow");export{B as a};
2
- //# sourceMappingURL=chunk-B36HI2TD.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/flows/JsonSchemaPlayground/JsonSchemaPlaygroundFlow.tsx"],"sourcesContent":["import React, { useId } from 'react';\nimport { JsonSchemaPlaygroundContext } from './context';\nimport { useJsonSchemaPlayground } from './hooks';\nimport { JsonSchemaPlaygroundForm } from './JsonSchemaPlaygroundForm';\nimport { JsonSchemaPlaygroundSubmitButton } from './JsonSchemaPlaygroundSubmitButton';\nimport { JsonSchemaPlaygroundResetButton } from './JsonSchemaPlaygroundResetButton';\nimport {\n UseJsonSchemaPlaygroundOptions,\n JsonSchemaPlaygroundRenderProps,\n} from './types';\n\nexport interface JsonSchemaPlaygroundFlowProps extends UseJsonSchemaPlaygroundOptions {\n render: (renderProps: JsonSchemaPlaygroundRenderProps) => React.ReactNode;\n}\n\nexport const JsonSchemaPlaygroundFlow = ({\n defaultSchema,\n initialValues,\n onSubmit,\n onError,\n render,\n}: JsonSchemaPlaygroundFlowProps) => {\n const formId = useId();\n\n const playgroundBag = useJsonSchemaPlayground({\n defaultSchema,\n initialValues,\n onSubmit,\n onError,\n });\n\n return (\n <JsonSchemaPlaygroundContext.Provider\n value={{\n formId,\n playgroundBag,\n }}\n >\n {render({\n playgroundBag,\n components: {\n Form: JsonSchemaPlaygroundForm,\n SubmitButton: JsonSchemaPlaygroundSubmitButton,\n ResetButton: JsonSchemaPlaygroundResetButton,\n },\n })}\n </JsonSchemaPlaygroundContext.Provider>\n );\n};\n"],"mappings":"2OAAA,OAAgB,SAAAA,MAAa,QAgCzB,cAAAC,MAAA,oBAjBG,IAAMC,EAA2BC,EAAA,CAAC,CACvC,cAAAC,EACA,cAAAC,EACA,SAAAC,EACA,QAAAC,EACA,OAAAC,CACF,IAAqC,CACnC,IAAMC,EAASC,EAAM,EAEfC,EAAgBC,EAAwB,CAC5C,cAAAR,EACA,cAAAC,EACA,SAAAC,EACA,QAAAC,CACF,CAAC,EAED,OACEN,EAACY,EAA4B,SAA5B,CACC,MAAO,CACL,OAAAJ,EACA,cAAAE,CACF,EAEC,SAAAH,EAAO,CACN,cAAAG,EACA,WAAY,CACV,KAAMG,EACN,aAAcC,EACd,YAAaC,CACf,CACF,CAAC,EACH,CAEJ,EAjCwC","names":["useId","jsx","JsonSchemaPlaygroundFlow","__name","defaultSchema","initialValues","onSubmit","onError","render","formId","useId","playgroundBag","useJsonSchemaPlayground","JsonSchemaPlaygroundContext","JsonSchemaPlaygroundForm","JsonSchemaPlaygroundSubmitButton","JsonSchemaPlaygroundResetButton"]}
@@ -1,2 +0,0 @@
1
- import{f as m}from"./chunk-G2LZFGZA.js";import{b as u}from"./chunk-FSGFBJJF.js";import{a}from"./chunk-P37U34EQ.js";import{createHeadlessForm as F,modify as p}from"@remoteoss/remote-json-schema-form-kit";var O=a((e,o,n)=>{if(n&&n.jsfModify){let{required:r,allOf:i,...t}=n.jsfModify,{schema:s,warnings:d}=p(e,{...t,muteLogging:!0});if(d&&d.length>0&&console.warn("jsfModify warnings:",d),e=s,r){let f=Array.isArray(s.required)?s.required:[];typeof r=="function"?e.required=r(f):e.required=[...f,...r]}i&&(e.allOf=[...Array.isArray(s.allOf)?s.allOf:[],...i])}let l={};o&&(l=u(e.properties||{},"money").reduce((i,t)=>(i[t]=m(o[t]),i),{}));let y=JSON.parse(JSON.stringify({...o,...l}));return{meta:{"x-jsf-fieldsets":e["x-jsf-fieldsets"]||e["x-rmt-flatFieldsets"],"x-jsf-presentation":e["x-jsf-presentation"]},...F(e,{initialValues:y})}},"createHeadlessForm");export{O as a};
2
- //# sourceMappingURL=chunk-BIL7ERK6.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/common/createHeadlessForm.tsx"],"sourcesContent":["import { FieldValues } from 'react-hook-form';\nimport {\n createHeadlessForm as baseCreateHeadlessForm,\n modify,\n} from '@remoteoss/remote-json-schema-form-kit';\nimport { convertToCents } from '@/src/components/form/utils';\nimport {\n JSFModify,\n JSONSchemaFormResultWithFieldsets,\n} from '@/src/flows/types';\nimport { findFieldsByType } from '@/src/flows/utils';\nimport { JSFFieldset } from '@/src/types/remoteFlows';\n\n/*\n * Creates a headless form from a JSON Schema, useful to avoid code duplication when creating headless forms.\n * @param jsfSchema - The JSON Schema\n * @param fieldValues - The field values\n * @param options - The options\n * @returns The headless form\n */\nexport const createHeadlessForm = (\n jsfSchema: Record<string, unknown>,\n fieldValues?: FieldValues,\n options?: { jsfModify?: JSFModify },\n): JSONSchemaFormResultWithFieldsets => {\n if (options && options.jsfModify) {\n const { required, allOf, ...modifyConfig } = options.jsfModify;\n // muteLogging: true suppresses the generic library log; we surface the\n // actual warnings ourselves when present so they're actionable.\n const { schema, warnings } = modify(jsfSchema, {\n ...modifyConfig,\n muteLogging: true,\n } as Parameters<typeof modify>[1]);\n if (warnings && warnings.length > 0) {\n // eslint-disable-next-line no-console\n console.warn('jsfModify warnings:', warnings);\n }\n jsfSchema = schema;\n\n if (required) {\n const baseRequired = Array.isArray(schema.required)\n ? schema.required\n : [];\n\n if (typeof required === 'function') {\n // Function: allows full control over required fields\n jsfSchema.required = required(baseRequired);\n } else {\n // Array: merge with existing required fields (backwards compatible)\n jsfSchema.required = [...baseRequired, ...required];\n }\n }\n\n if (allOf) {\n jsfSchema.allOf = [\n ...(Array.isArray(schema.allOf) ? schema.allOf : []),\n ...allOf,\n ];\n }\n }\n\n let moneyFieldsData: Record<string, number | null> = {};\n\n if (fieldValues) {\n const moneyFields = findFieldsByType(jsfSchema.properties || {}, 'money');\n moneyFieldsData = moneyFields.reduce<Record<string, number | null>>(\n (acc, field) => {\n acc[field] = convertToCents(fieldValues[field]);\n return acc;\n },\n {},\n );\n }\n\n /**\n * We create a deep copy of the field values to avoid modifying the original object.\n * This problem is caused by json-schema-form-v0.\n */\n const initialValues = JSON.parse(\n JSON.stringify({\n ...fieldValues,\n ...moneyFieldsData,\n }),\n );\n\n return {\n meta: {\n // Support for both x-jsf-fieldsets and x-rmt-flatFieldsets\n // before x-jsf-fieldsets was used, but it was migrated to x-rmt-flatFieldsets\n // this allows to everything to keep working as expected without renaming the whole thing\n 'x-jsf-fieldsets':\n (jsfSchema['x-jsf-fieldsets'] as JSFFieldset) ||\n (jsfSchema['x-rmt-flatFieldsets'] as JSFFieldset),\n 'x-jsf-presentation': jsfSchema['x-jsf-presentation'] as\n | Record<string, unknown>\n | undefined,\n },\n ...baseCreateHeadlessForm(jsfSchema, {\n initialValues,\n }),\n };\n};\n"],"mappings":"mHACA,OACE,sBAAsBA,EACtB,UAAAC,MACK,yCAgBA,IAAMC,EAAqBC,EAAA,CAChCC,EACAC,EACAC,IACsC,CACtC,GAAIA,GAAWA,EAAQ,UAAW,CAChC,GAAM,CAAE,SAAAC,EAAU,MAAAC,EAAO,GAAGC,CAAa,EAAIH,EAAQ,UAG/C,CAAE,OAAAI,EAAQ,SAAAC,CAAS,EAAIC,EAAOR,EAAW,CAC7C,GAAGK,EACH,YAAa,EACf,CAAiC,EAOjC,GANIE,GAAYA,EAAS,OAAS,GAEhC,QAAQ,KAAK,sBAAuBA,CAAQ,EAE9CP,EAAYM,EAERH,EAAU,CACZ,IAAMM,EAAe,MAAM,QAAQH,EAAO,QAAQ,EAC9CA,EAAO,SACP,CAAC,EAED,OAAOH,GAAa,WAEtBH,EAAU,SAAWG,EAASM,CAAY,EAG1CT,EAAU,SAAW,CAAC,GAAGS,EAAc,GAAGN,CAAQ,CAEtD,CAEIC,IACFJ,EAAU,MAAQ,CAChB,GAAI,MAAM,QAAQM,EAAO,KAAK,EAAIA,EAAO,MAAQ,CAAC,EAClD,GAAGF,CACL,EAEJ,CAEA,IAAIM,EAAiD,CAAC,EAElDT,IAEFS,EADoBC,EAAiBX,EAAU,YAAc,CAAC,EAAG,OAAO,EAC1C,OAC5B,CAACY,EAAKC,KACJD,EAAIC,CAAK,EAAIC,EAAeb,EAAYY,CAAK,CAAC,EACvCD,GAET,CAAC,CACH,GAOF,IAAMG,EAAgB,KAAK,MACzB,KAAK,UAAU,CACb,GAAGd,EACH,GAAGS,CACL,CAAC,CACH,EAEA,MAAO,CACL,KAAM,CAIJ,kBACGV,EAAU,iBAAiB,GAC3BA,EAAU,qBAAqB,EAClC,qBAAsBA,EAAU,oBAAoB,CAGtD,EACA,GAAGgB,EAAuBhB,EAAW,CACnC,cAAAe,CACF,CAAC,CACH,CACF,EAjFkC","names":["baseCreateHeadlessForm","modify","createHeadlessForm","__name","jsfSchema","fieldValues","options","required","allOf","modifyConfig","schema","warnings","modify","baseRequired","moneyFieldsData","findFieldsByType","acc","field","convertToCents","initialValues","baseCreateHeadlessForm"]}
@@ -1,2 +0,0 @@
1
- import{a as F}from"./chunk-BIL7ERK6.js";import{E as p,I as y,N as h,Z as _,k as m,qa as f}from"./chunk-AS7SJDU5.js";import{e as n}from"./chunk-H2O4CVKF.js";import{a as t}from"./chunk-P37U34EQ.js";import{useMutation as s,useQuery as b}from"@tanstack/react-query";var A=t((e,o,a,r,c)=>{let{client:g}=n(),l=r?.employmentId,d=r?.jurisdiction;return b({queryKey:["gp-employee-form-schema",e,o,l,d],enabled:!!e&&(r?.enabled??!0),retry:!1,queryFn:t(async()=>{let i={...l?{employment_id:l}:{},...d?{jurisdiction:d}:{}},u=await y({client:g,headers:{Authorization:""},path:{country_code:e,form:o},...Object.keys(i).length>0?{query:i}:{}});if(u.error||!u.data)throw new Error(`Failed to fetch ${o} schema`);return u},"queryFn"),select:t(({data:i})=>F(i?.data||{},a,c?{jsfModify:c}:void 0),"select")})},"useGPEmployeeFormSchema"),E=t(()=>{let{client:e}=n();return s({mutationFn:t(o=>{let{name:a,...r}=o;return _({client:e,headers:{Authorization:""},body:{personal_details:r}})},"mutationFn")})},"useGPUpdatePersonalDetails"),P=t(()=>{let{client:e}=n();return s({mutationFn:t(o=>p({client:e,headers:{Authorization:""},body:{address_details:o}}),"mutationFn")})},"useGPUpdateHomeAddress"),C=t(()=>{let{client:e}=n();return s({mutationFn:t(o=>m({client:e,headers:{Authorization:""},body:{bank_account_details:o}}),"mutationFn")})},"useGPUpdateBankAccount"),R=t(()=>{let{client:e}=n();return s({mutationFn:t(o=>h({client:e,headers:{Authorization:""},body:{federal_taxes:o}}),"mutationFn")})},"useGPUpdateFederalTaxes"),G=t(e=>{let{client:o}=n();return s({mutationFn:t(a=>{if(!e)throw new Error("A `jurisdiction` (US state code) is required to submit state taxes.");return f({client:o,headers:{Authorization:""},path:{jurisdiction:e},body:{state_taxes:a}})},"mutationFn")})},"useGPUpdateStateTaxes");export{A as a,E as b,P as c,C as d,R as e,G as f};
2
- //# sourceMappingURL=chunk-CZY6KI75.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/flows/PayrollEmployeeOnboarding/api.ts"],"sourcesContent":["import { useMutation, useQuery } from '@tanstack/react-query';\nimport type { FieldValues } from 'react-hook-form';\nimport {\n getV1CountriesCountryCodeForm,\n putV1EmployeeAddress,\n putV1EmployeeBankAccount,\n putV1EmployeeFederalTaxes,\n putV1EmployeePersonalDetails,\n putV1EmployeeStateTaxesJurisdiction,\n} from '@/src/client';\nimport { Client } from '@/src/client/client';\nimport { useClient } from '@/src/context';\nimport { createHeadlessForm } from '@/src/common/createHeadlessForm';\nimport type {\n JSONSchemaFormResultWithFieldsets,\n JSFModify,\n} from '@/src/flows/types';\n\nexport type GPEmployeeSchemaType =\n | 'global_payroll_personal_details'\n | 'address_details'\n | 'global_payroll_bank_account_details'\n | 'global_payroll_federal_taxes'\n | 'global_payroll_state_taxes';\n\nexport const useGPEmployeeFormSchema = (\n countryCode: string | undefined,\n schemaType: GPEmployeeSchemaType,\n fieldValues: FieldValues,\n queryOptions?: {\n enabled?: boolean;\n employmentId?: string;\n jurisdiction?: string;\n },\n jsfModify?: JSFModify,\n): ReturnType<typeof useQuery<JSONSchemaFormResultWithFieldsets>> => {\n const { client } = useClient();\n const employmentId = queryOptions?.employmentId;\n const jurisdiction = queryOptions?.jurisdiction;\n return useQuery({\n queryKey: [\n 'gp-employee-form-schema',\n countryCode,\n schemaType,\n employmentId,\n jurisdiction,\n ],\n enabled: !!countryCode && (queryOptions?.enabled ?? true),\n retry: false,\n queryFn: async () => {\n // `employment_id` and `jurisdiction` are required by the gateway for the\n // `global_payroll_state_taxes` form (employment_id also for other forms\n // whose `restrict_fields` branches on user_role). Only send what we have.\n const query = {\n ...(employmentId ? { employment_id: employmentId } : {}),\n ...(jurisdiction ? { jurisdiction } : {}),\n };\n const response = await getV1CountriesCountryCodeForm({\n client: client as Client,\n headers: { Authorization: `` },\n path: {\n country_code: countryCode as string,\n form: schemaType,\n },\n ...(Object.keys(query).length > 0 ? { query } : {}),\n });\n if (response.error || !response.data) {\n throw new Error(`Failed to fetch ${schemaType} schema`);\n }\n return response;\n },\n select: ({ data }) =>\n createHeadlessForm(\n (data?.data as Record<string, unknown>) || {},\n fieldValues,\n jsfModify ? { jsfModify } : undefined,\n ),\n });\n};\n\nexport const useGPUpdatePersonalDetails = () => {\n const { client } = useClient();\n return useMutation({\n mutationFn: (personalDetails: Record<string, unknown>) => {\n // 'name' is a computed read-only display field in the schema (additionalProperties: false\n // on the PUT endpoint rejects it). Strip it before sending.\n const { name: _name, ...payload } = personalDetails;\n return putV1EmployeePersonalDetails({\n client: client as Client,\n headers: { Authorization: `` },\n body: { personal_details: payload },\n });\n },\n });\n};\n\nexport const useGPUpdateHomeAddress = () => {\n const { client } = useClient();\n return useMutation({\n mutationFn: (addressDetails: Record<string, unknown>) =>\n putV1EmployeeAddress({\n client: client as Client,\n headers: { Authorization: `` },\n body: { address_details: addressDetails },\n }),\n });\n};\n\nexport const useGPUpdateBankAccount = () => {\n const { client } = useClient();\n return useMutation({\n mutationFn: (bankAccountDetails: Record<string, unknown>) =>\n putV1EmployeeBankAccount({\n client: client as Client,\n headers: { Authorization: `` },\n body: { bank_account_details: bankAccountDetails },\n }),\n });\n};\n\nexport const useGPUpdateFederalTaxes = () => {\n const { client } = useClient();\n return useMutation({\n mutationFn: (federalTaxes: Record<string, unknown>) =>\n putV1EmployeeFederalTaxes({\n client: client as Client,\n headers: { Authorization: `` },\n body: { federal_taxes: federalTaxes },\n }),\n });\n};\n\nexport const useGPUpdateStateTaxes = (jurisdiction: string | undefined) => {\n const { client } = useClient();\n return useMutation({\n mutationFn: (stateTaxes: Record<string, unknown>) => {\n if (!jurisdiction) {\n throw new Error(\n 'A `jurisdiction` (US state code) is required to submit state taxes.',\n );\n }\n return putV1EmployeeStateTaxesJurisdiction({\n client: client as Client,\n headers: { Authorization: `` },\n path: { jurisdiction },\n body: { state_taxes: stateTaxes },\n });\n },\n });\n};\n"],"mappings":"oMAAA,OAAS,eAAAA,EAAa,YAAAC,MAAgB,wBAyB/B,IAAMC,EAA0BC,EAAA,CACrCC,EACAC,EACAC,EACAC,EAKAC,IACmE,CACnE,GAAM,CAAE,OAAAC,CAAO,EAAIC,EAAU,EACvBC,EAAeJ,GAAc,aAC7BK,EAAeL,GAAc,aACnC,OAAOM,EAAS,CACd,SAAU,CACR,0BACAT,EACAC,EACAM,EACAC,CACF,EACA,QAAS,CAAC,CAACR,IAAgBG,GAAc,SAAW,IACpD,MAAO,GACP,QAASJ,EAAA,SAAY,CAInB,IAAMW,EAAQ,CACZ,GAAIH,EAAe,CAAE,cAAeA,CAAa,EAAI,CAAC,EACtD,GAAIC,EAAe,CAAE,aAAAA,CAAa,EAAI,CAAC,CACzC,EACMG,EAAW,MAAMC,EAA8B,CACnD,OAAQP,EACR,QAAS,CAAE,cAAe,EAAG,EAC7B,KAAM,CACJ,aAAcL,EACd,KAAMC,CACR,EACA,GAAI,OAAO,KAAKS,CAAK,EAAE,OAAS,EAAI,CAAE,MAAAA,CAAM,EAAI,CAAC,CACnD,CAAC,EACD,GAAIC,EAAS,OAAS,CAACA,EAAS,KAC9B,MAAM,IAAI,MAAM,mBAAmBV,CAAU,SAAS,EAExD,OAAOU,CACT,EArBS,WAsBT,OAAQZ,EAAA,CAAC,CAAE,KAAAc,CAAK,IACdC,EACGD,GAAM,MAAoC,CAAC,EAC5CX,EACAE,EAAY,CAAE,UAAAA,CAAU,EAAI,MAC9B,EALM,SAMV,CAAC,CACH,EArDuC,2BAuD1BW,EAA6BhB,EAAA,IAAM,CAC9C,GAAM,CAAE,OAAAM,CAAO,EAAIC,EAAU,EAC7B,OAAOU,EAAY,CACjB,WAAYjB,EAACkB,GAA6C,CAGxD,GAAM,CAAE,KAAMC,EAAO,GAAGC,CAAQ,EAAIF,EACpC,OAAOG,EAA6B,CAClC,OAAQf,EACR,QAAS,CAAE,cAAe,EAAG,EAC7B,KAAM,CAAE,iBAAkBc,CAAQ,CACpC,CAAC,CACH,EATY,aAUd,CAAC,CACH,EAd0C,8BAgB7BE,EAAyBtB,EAAA,IAAM,CAC1C,GAAM,CAAE,OAAAM,CAAO,EAAIC,EAAU,EAC7B,OAAOU,EAAY,CACjB,WAAYjB,EAACuB,GACXC,EAAqB,CACnB,OAAQlB,EACR,QAAS,CAAE,cAAe,EAAG,EAC7B,KAAM,CAAE,gBAAiBiB,CAAe,CAC1C,CAAC,EALS,aAMd,CAAC,CACH,EAVsC,0BAYzBE,EAAyBzB,EAAA,IAAM,CAC1C,GAAM,CAAE,OAAAM,CAAO,EAAIC,EAAU,EAC7B,OAAOU,EAAY,CACjB,WAAYjB,EAAC0B,GACXC,EAAyB,CACvB,OAAQrB,EACR,QAAS,CAAE,cAAe,EAAG,EAC7B,KAAM,CAAE,qBAAsBoB,CAAmB,CACnD,CAAC,EALS,aAMd,CAAC,CACH,EAVsC,0BAYzBE,EAA0B5B,EAAA,IAAM,CAC3C,GAAM,CAAE,OAAAM,CAAO,EAAIC,EAAU,EAC7B,OAAOU,EAAY,CACjB,WAAYjB,EAAC6B,GACXC,EAA0B,CACxB,OAAQxB,EACR,QAAS,CAAE,cAAe,EAAG,EAC7B,KAAM,CAAE,cAAeuB,CAAa,CACtC,CAAC,EALS,aAMd,CAAC,CACH,EAVuC,2BAY1BE,EAAwB/B,EAACS,GAAqC,CACzE,GAAM,CAAE,OAAAH,CAAO,EAAIC,EAAU,EAC7B,OAAOU,EAAY,CACjB,WAAYjB,EAACgC,GAAwC,CACnD,GAAI,CAACvB,EACH,MAAM,IAAI,MACR,qEACF,EAEF,OAAOwB,EAAoC,CACzC,OAAQ3B,EACR,QAAS,CAAE,cAAe,EAAG,EAC7B,KAAM,CAAE,aAAAG,CAAa,EACrB,KAAM,CAAE,YAAauB,CAAW,CAClC,CAAC,CACH,EAZY,aAad,CAAC,CACH,EAjBqC","names":["useMutation","useQuery","useGPEmployeeFormSchema","__name","countryCode","schemaType","fieldValues","queryOptions","jsfModify","client","useClient","employmentId","jurisdiction","useQuery","query","response","getV1CountriesCountryCodeForm","data","createHeadlessForm","useGPUpdatePersonalDetails","useMutation","personalDetails","_name","payload","putV1EmployeePersonalDetails","useGPUpdateHomeAddress","addressDetails","putV1EmployeeAddress","useGPUpdateBankAccount","bankAccountDetails","putV1EmployeeBankAccount","useGPUpdateFederalTaxes","federalTaxes","putV1EmployeeFederalTaxes","useGPUpdateStateTaxes","stateTaxes","putV1EmployeeStateTaxesJurisdiction"]}
@@ -1,2 +0,0 @@
1
- import{a as se,b as me,c as fe,d as ye,e as _e,f as ge,g as be,i as Ce,j as Se,k as we,l as ve,m as he,n as Pe,o as Ee,p as Oe,q as Ve,r as Fe,s as Me,t as Ie,u as De,v as Ae,w as Re,x as ke}from"./chunk-SQCTVURR.js";import{a as Te,b as qe,c as Le}from"./chunk-LS4CLDLI.js";import{a as ce,b as le,f as ue,g as de,h as pe}from"./chunk-E2463GRM.js";import{a as q,b as st,c as _,d as oe,g as ae}from"./chunk-PB6UQ4A4.js";import{a as ie}from"./chunk-Y2K74EBE.js";import{f as te,h as ee,i as ne}from"./chunk-ZT4OC3OB.js";import{X as Zt}from"./chunk-AS7SJDU5.js";import{a as zt,b,d as Xt,h as y,i as D,u as A,v}from"./chunk-G2LZFGZA.js";import{a as re}from"./chunk-XPVYX7LE.js";import{e as Yt}from"./chunk-H2O4CVKF.js";import{a as p}from"./chunk-P37U34EQ.js";import{useEffect as h,useMemo as a,useRef as xe,useState as P}from"react";import Be from"lodash.omit";import{useQuery as Bn}from"@tanstack/react-query";var Qn=p(()=>{let{client:B}=Yt(),{data:L}=me(),d=fe(L)?L?.company?.id??"":"";return Bn({queryKey:["legal-entities",d],queryFn:p(()=>Zt({client:B,path:{company_id:d},query:{page_size:100}}),"queryFn"),select:p(j=>j.data?.data?.legal_entities,"select"),enabled:!!d})},"useLegalEntities"),je=p(()=>{let{data:B}=Qn();return B?.find(L=>L.is_default)},"useDefaultLegalEntity");var Nn={select_country:null,basic_information:"employment_basic_information",contract_origin:null,contract_details:null,eligibility_questionnaire:null,pricing_plan:null,contract_preview:null,review:null},Jn={employment_basic_information:"basic_information"},Ci=p(({countryCode:B,externalId:L,employmentId:d,skipSteps:j,options:f,initialValues:l})=>{let Qe=f?.excludeProducts||[],gt=xe(f?.onContractReviewed);h(()=>{gt.current=f?.onContractReviewed},[f?.onContractReviewed]);let[u,bt]=P(B||null),[r,Ne]=P(d),[g,Ct]=P(void 0),tt=xe({select_country:{},basic_information:{},contract_origin:{},contract_details:{},contract_preview:{},pricing_plan:{},eligibility_questionnaire:{}}),[Q,Je]=P(void 0),[St,wt]=P(!1),[vt,Ue]=P(!0),[ht,Ke]=P(!0),[Pt,Ge]=P(!0),[ct,Et]=P(null),{steps:He,stepsArray:We}=a(()=>ce({includeSelectCountry:!j?.includes("select_country"),includeContractOrigin:Pt,includeEligibilityQuestionnaire:St,includeContractDetails:ht,includeContractPreview:vt}),[Pt,St,ht,vt,j]),{fieldValues:s,stepState:e,setFieldValues:Ot,previousStep:$e,nextStep:ze,goToStep:N,setStepValues:Vt}=re(He);h(()=>{ct&&(N(ct),Et(null))},[ct,N]);let{data:o,isLoading:Xe,refetch:Ft}=ie({employmentId:r,queryParams:{exclude_files:!0}}),Ye=je(),{data:Mt}=ke({options:{queryOptions:{enabled:e.currentStep.name==="review"}}}),{status:R}=o||{},E=R&&ue.includes(R),Ze=R&&!de.includes(R),tn=a(()=>R&&["invited","initiated"].includes(R)?"invited":"not_invited",[R]),It=ee(),Dt=ne(u,f),lt=Se(),At=se(),{mutateAsync:Rt}=he(lt,At,s),kt=Ve(),Tt=Fe(),qt=Ie(),{mutateAsyncOrThrow:en}=b(Dt),Lt=_e(),jt=Ce(),xt=Me(),{mutateAsyncOrThrow:nn}=b(It),{mutateAsyncOrThrow:rn}=b(lt),{mutateAsyncOrThrow:on}=b(Lt),{mutateAsyncOrThrow:Bt}=b(jt),{mutateAsyncOrThrow:an}=b(kt),{mutateAsyncOrThrow:Qt}=b(Tt),{mutateAsyncOrThrow:sn}=b(xt),{mutateAsyncOrThrow:cn}=b(qt);d&&o?.country?.code&&!u&&bt(o.country.code);let{selectCountryForm:J,isLoading:ln,countries:Nt}=Ae({jsfModify:f?.jsfModify?.select_country}),ut=a(()=>Nt?.find(t=>t.value===u),[Nt,u]),un=a(()=>ut?.label,[ut]),dn=e.currentStep.name==="pricing_plan"||!!d&&E,{form:O,isLoading:pn,contractorSubscriptions:et,filteredContractorSubscriptions:U,refetch:dt,isEligibilityQuestionnaireBlocked:K}=ve(r,ut,{jsonSchemaVersion:f?.jsonSchemaVersion,queryOptions:{enabled:dn},excludeProducts:Qe,jsfModify:f?.jsfModify?.pricing_plan}),k=a(()=>!!et?.find(t=>t.product.identifier===_)?.eligibility_questionnaire?.submitted_at,[et]),Jt=a(()=>k?!1:Q===_,[k,Q]),Ut=o?.contractor_type!=="cor",mn=s.contract_origin??e.values?.contract_origin?.contract_origin??o?.contract_details?.contract_origin,x=Q===q&&mn==="provided_by_customer";h(()=>{Ke(!x)},[x]),h(()=>{wt(!x&&Jt)},[x,Jt]),h(()=>{Ue(!x&&Ut)},[x,Ut]);let nt=a(()=>et?.find(t=>t.product.identifier===_)?.eligibility_questionnaire?.responses,[et]),fn=Nn[e.currentStep.name]||"contractor_basic_information",yn=Jn[fn],_n=o?.[yn]||{},gn=p(({form:t,options:i={},query:c={}})=>{let I=Object.keys(s).length>0?{...l,...e.values?.[e.currentStep.name],...s}:{...l,..._n};return te({countryCode:u,form:t,fieldValues:I,query:c,options:{...i,queryOptions:{enabled:i.queryOptions?.enabled??!0}}})},"useJSONSchema"),bn=!!(u&&(e.currentStep.name==="basic_information"||d)),Cn=!!(u==="GBR"&&d&&e.currentStep.name==="basic_information"),{data:G,isLoading:Sn}=Pe(d,{enabled:Cn}),{data:it,isLoading:wn}=Ee(r,{enabled:!!r});h(()=>{it&&it.length>0&&!g&&Ct(it[0].id)},[it,g]);let{data:C,isLoading:vn}=gn({form:"contractor_basic_information",options:{jsfModify:qe(u,un,f),queryOptions:{enabled:bn}}}),hn=a(()=>le(o?.basic_information?.provisional_start_date,s?.service_duration?.provisional_start_date),[o?.basic_information?.provisional_start_date,s?.service_duration?.provisional_start_date]),m=a(()=>{let t={standard:q,plus:st,cor:_};if(s.subscription)return s.subscription;let i=e.values?.pricing_plan?.subscription;if(i&&!K)return i;if(k&&!K)return _;if(K&&k)return q;if(U&&U.length>0)return t[o?.contractor_type]||q},[s,e.values,k,o?.contractor_type,K,U]);h(()=>{m&&m!==Q&&Je(m)},[m,Q]),h(()=>{Ge(!j?.includes("contract_origin")&&m===q)},[j,m]);let Pn=a(()=>({...nt,...l,...e.values?.eligibility_questionnaire,...s}),[nt,l,e.values?.eligibility_questionnaire,s]),En=a(()=>m===_&&e.currentStep.name==="eligibility_questionnaire"||!!d&&E&&m===_,[m,e.currentStep.name,d,E]),{data:V,isLoading:On}=Oe({options:{queryOptions:{enabled:En},jsfModify:f?.jsfModify?.eligibility_questionnaire},fieldValues:Pn}),Vn=!!(u&&e.currentStep.name==="contract_details"||E),{data:S,isLoading:Fn}=Re({countryCode:u,fieldValues:s,employmentId:r,options:{queryOptions:{enabled:Vn},jsfModify:Te(f?.jsfModify?.contract_details,hn,m,s,m===_)}}),Mn=a(()=>e.currentStep.name==="contract_preview"||!!d&&E,[e.currentStep.name,d,E]),{data:F}=ye({fieldValues:s,options:{queryOptions:{enabled:Mn},jsfModify:Le(f,s)}}),{data:M}=De({fieldValues:s,options:{jsfModify:f?.jsfModify?.contract_origin}}),{data:pt,isLoading:In,refetch:Dn}=ge({employmentId:r,contractDocumentId:g,options:{queryOptions:{enabled:!!g}}}),{hasCompanySignedContract:An}=be({employmentId:r,contractDocumentId:g,options:{queryOptions:{enabled:!!g}}}),n=a(()=>({select_country:J?.fields||[],basic_information:C?.fields||[],contract_origin:M?.fields||[],pricing_plan:O?.fields||[],eligibility_questionnaire:V?.fields||[],contract_details:S?.fields||[],contract_preview:F?.fields||[],review:[]}),[J?.fields,C?.fields,M?.fields,O?.fields,S?.fields,F?.fields,V?.fields]),Rn={select_country:null,basic_information:C?.meta["x-jsf-fieldsets"],contract_origin:null,pricing_plan:null,contract_details:S?.meta["x-jsf-fieldsets"],eligibility_questionnaire:null,contract_preview:null,review:null},kn={select_country:J?.meta?.["x-jsf-presentation"],basic_information:C?.meta?.["x-jsf-presentation"],contract_origin:M?.meta?.["x-jsf-presentation"],pricing_plan:O?.meta?.["x-jsf-presentation"],eligibility_questionnaire:V?.meta?.["x-jsf-presentation"],contract_details:S?.meta?.["x-jsf-presentation"],contract_preview:F?.meta?.["x-jsf-presentation"],review:null},{country:Tn,basic_information:rt={},contract_details:Kt={}}=o||{},Gt=Tn?.code,H=a(()=>D(n.select_country,{country:u||Gt||""}),[n.select_country,u,Gt]),mt=a(()=>G?.content?Xt(G.content,G.name):null,[G?.content,G?.name]),W=a(()=>{let t={...l,...rt,ir35:o?.contract_details?.ir_35,nationality_status:o?.contract_details?.nationality,...mt&&{ir35_sds_file:[mt]}};return D(n.basic_information,t)},[l,rt,o?.contract_details?.ir_35,o?.contract_details?.nationality,mt,n.basic_information]),Ht=a(()=>{let t={...l,contract_origin:o?.contract_details?.contract_origin};return D(n.contract_origin,t)},[n.contract_origin,l,o?.contract_details?.contract_origin]),$=a(()=>{let i={...{service_duration:{provisional_start_date:rt.provisional_start_date}},...l,...Kt};return D(n.contract_details,i)},[n.contract_details,Kt,l,rt]),z=a(()=>{let t=pt?.contract_document?.signatories?.find(c=>c.type==="company"),i={...l,signature:t?.signature};return D(n.contract_preview,i)},[n.contract_preview,l,pt]),X=a(()=>{let i={...{subscription:m},...l};return D(n.pricing_plan,i)},[n.pricing_plan,l,m]),Y=a(()=>{let t={...l,...nt};return D(n.eligibility_questionnaire,t)},[n.eligibility_questionnaire,l,nt]),qn=a(()=>({select_country:H,basic_information:W,contract_origin:Ht,contract_details:$,contract_preview:z,pricing_plan:X,eligibility_questionnaire:Y}),[H,W,Ht,$,z,X,Y]),ft=!!(d&&E&&e.currentStep.name!=="review"),yt=ln||vn||Xe||Fn||pn||In||Sn||wn||On,Wt=a(()=>{let i=o?.contractor_type==="cor"||n.contract_preview.length>0;return!!(ft&&!yt&&g&&n.basic_information.length>0&&n.contract_details.length>0&&i)},[ft,yt,g,n.basic_information.length,n.contract_details.length,n.contract_preview.length,o?.contractor_type]);h(()=>{Wt&&(tt.current={select_country:A(H,n.select_country,{skipMoneyConversion:!0}),basic_information:A(W,n.basic_information,{skipMoneyConversion:!0}),contract_origin:{},contract_details:A($,n.contract_details,{skipMoneyConversion:!0}),contract_preview:A(z,n.contract_preview,{skipMoneyConversion:!0}),pricing_plan:A(X,n.pricing_plan,{skipMoneyConversion:!0}),eligibility_questionnaire:A(Y,n.eligibility_questionnaire,{skipMoneyConversion:!0})},Vt({select_country:H,basic_information:W,contract_origin:{},contract_details:$,contract_preview:z,pricing_plan:X,eligibility_questionnaire:Y,review:{}}),N("review"))},[Wt,N,H,W,$,Vt,n.select_country,n.basic_information,n.contract_details,n.pricing_plan,X,n.contract_preview,z,n.eligibility_questionnaire,Y]);let Ln=p(t=>{N(t)},"goTo"),$t=p(async t=>J&&e.currentStep.name==="select_country"?t:C&&e.currentStep.name==="basic_information"?await y(t,C?.fields,{isPartialValidation:!1}):S&&e.currentStep.name==="contract_details"?await y(t,S?.fields,{isPartialValidation:!1}):F&&e.currentStep.name==="contract_preview"?await y(t,F?.fields,{isPartialValidation:!1}):O&&e.currentStep.name==="pricing_plan"?await y(t,O?.fields,{isPartialValidation:!1}):V&&e.currentStep.name==="eligibility_questionnaire"?await y(t,V?.fields,{isPartialValidation:!1}):M&&e.currentStep.name==="contract_origin"?await y(t,M?.fields,{isPartialValidation:!1}):{},"parseFormValues"),jn=p(t=>{if(!zt(t))return null;let i=t.normalizedErrors.services_and_deliverables,c=Array.isArray(i)?i[0]:i;return c?.source===ae?{error:c.error,source:c.source,skippable:c.skippable}:null},"extractAiValidationError");async function xn(t){let i=e.currentStep.name,c=await $t(t);switch(i in tt.current&&(tt.current[i]=A(c,n[i])),e.currentStep.name){case"select_country":return bt(c.country),Promise.resolve({data:{countryCode:c.country}});case"basic_information":{let T=!r&&u,I=r&&u&&o?.country&&o?.country.code!==u;if(T||I){let _t={basic_information:Be(c,"nationality_status","ir35","ir35_sds_file"),type:"contractor",country_code:u,external_id:L},at=await nn(_t),w=at?.data?.employment?.id;if(!w)throw v("Employment ID not found");return await Rt({employmentId:w}),Ne(w),at}else if(r){let ot=Be(c,"nationality_status","ir35","ir35_sds_file");return await Rt({employmentId:r}),en({employmentId:r,basic_information:ot})}return}case"contract_details":{let{services_and_deliverables_ai_warning:T,services_and_deliverables_error_skippable:I,...ot}=c,_t=s.services_and_deliverables_error_skippable===!0,at={contract_document:ot,skip_ai_checks:_t};try{let w=await rn({employmentId:r,payload:at}),Z=w?.data?.contract_document?.id;if(!Z)throw v("Contract document ID not found");return Ct(Z),w}catch(w){let Z=jn(w);throw Z&&Ot({...t,services_and_deliverables_ai_warning:pe(m===_),services_and_deliverables_error_skippable:Z.skippable}),w}}case"contract_preview":{if(An)return Promise.resolve({data:{contract_document:{id:g}}});let T=await on({employmentId:r,contractDocumentId:g,payload:{signature:c.signature}});return await Dn(),T}case"pricing_plan":{if(t.subscription===oe)return Promise.resolve({data:{subscription:t.subscription}});if(U.length===0)throw v("No available subscriptions.");if(!t.subscription&&U.length>0)throw v("Please select a subscription plan.");if(K&&[_,st].includes(t.subscription))throw v(`This individual is not eligible for ${we[t.subscription]}.`);if(k&&t.subscription!==_)try{await sn({employmentId:r}),await dt()}catch(I){if(I?.response?.status!==404)throw I;await dt()}if(t.subscription==q)return Bt({employmentId:r,payload:{operation:"downgrade"}});if(t.subscription==st)return Bt({employmentId:r,payload:{operation:"upgrade"}});if(t.subscription==_)return k&&o?.contractor_type!=="cor"?Qt({employmentId:r}):Promise.resolve({data:{subscription:t.subscription}});throw v("invalid selection")}case"contract_origin":return t.contract_origin==="provided_by_customer"&&await cn({employmentId:r,contractOrigin:"provided_by_customer",templateType:"contractor_agreement"}),{data:{contractOrigin:t.contract_origin}};case"eligibility_questionnaire":try{if((await an({employmentId:r,payload:c}))?.data?.is_blocking)throw wt(!1),Et("pricing_plan"),v("This individual is not eligible for Contractor of Record.");return await Qt({employmentId:r})}finally{await dt()}default:throw v("Invalid step state")}}return p(xn,"onSubmit"),{isLoading:yt||ft,fieldValues:s,stepState:e,checkFieldUpdates:Ot,markContractAsReviewed:p(()=>{gt.current?.()},"markContractAsReviewed"),back:$e,next:p(()=>{r&&Ft(),ze()},"handleNextStep"),goTo:Ln,onSubmit:xn,fields:n[e.currentStep.name],meta:{fields:tt.current,fieldsets:Rn[e.currentStep.name],presentation:kn[e.currentStep.name]},parseFormValues:$t,canSkipAiValidation:s.services_and_deliverables_error_skippable===!0,handleValidation:p(async t=>{if(e.currentStep.name==="select_country")return J.handleValidation(t);if(C&&e.currentStep.name==="basic_information"){let i=await y(t,C?.fields,{isPartialValidation:!1});return C?.handleValidation(i)}if(S&&e.currentStep.name==="contract_details"){let i=await y(t,S?.fields,{isPartialValidation:!1});return S?.handleValidation(i)}if(F&&e.currentStep.name==="contract_preview"){let i=await y(t,F?.fields,{isPartialValidation:!0});return F?.handleValidation(i)}if(O&&e.currentStep.name==="pricing_plan"){let i=await y(t,O?.fields,{isPartialValidation:!1});return O?.handleValidation(i)}if(V&&e.currentStep.name==="eligibility_questionnaire"){let i=await y(t,V?.fields,{isPartialValidation:!1});return V?.handleValidation(i)}if(M&&e.currentStep.name==="contract_origin"){let i=await y(t,M?.fields,{isPartialValidation:!1});return M?.handleValidation(i)}return null},"handleValidation"),initialValues:qn,employmentId:r,refetchEmployment:Ft,isSubmitting:It.isPending||Dt.isPending||lt.isPending||Lt.isPending||jt.isPending||At.isPending||kt.isPending||Tt.isPending||xt.isPending||qt.isPending,documentPreviewPdf:pt,canInvite:Ze,isEmploymentReadOnly:E,invitedStatus:tn,employment:o,defaultLegalEntity:Ye,needsCompanyVerification:Mt?.some(t=>t.type==="verify_company")??!1,needsRemotePaymentsSetup:Mt?.some(t=>t.type==="setup_remote_payments")??!1,steps:We}},"useContractorOnboarding");export{Ci as a};
2
- //# sourceMappingURL=chunk-ERDNYHQO.js.map