@next-degree/pickle-shared-js 0.13.1 → 0.13.5

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 (687) hide show
  1. package/dist/chunk-2FGZQI42.js +11 -0
  2. package/dist/chunk-2FGZQI42.js.map +1 -0
  3. package/dist/chunk-2I2TWTPC.js +115 -0
  4. package/dist/chunk-2I2TWTPC.js.map +1 -0
  5. package/dist/chunk-2TEFWPFS.js +34 -0
  6. package/dist/chunk-2TEFWPFS.js.map +1 -0
  7. package/dist/chunk-2YUUVN7E.cjs +37 -0
  8. package/dist/chunk-2YUUVN7E.cjs.map +1 -0
  9. package/dist/chunk-3FQTSGHL.cjs +90 -0
  10. package/dist/chunk-3FQTSGHL.cjs.map +1 -0
  11. package/dist/chunk-3HO3CCXD.js +44 -0
  12. package/dist/chunk-3HO3CCXD.js.map +1 -0
  13. package/dist/chunk-3NDL2JQ7.js +81 -0
  14. package/dist/chunk-3NDL2JQ7.js.map +1 -0
  15. package/dist/chunk-3PARXYUI.cjs +86 -0
  16. package/dist/chunk-3PARXYUI.cjs.map +1 -0
  17. package/dist/chunk-46HHHYSV.cjs +30 -0
  18. package/dist/chunk-46HHHYSV.cjs.map +1 -0
  19. package/dist/chunk-46SPIPCF.cjs +54 -0
  20. package/dist/chunk-46SPIPCF.cjs.map +1 -0
  21. package/dist/chunk-47H3M7TP.js +72 -0
  22. package/dist/chunk-47H3M7TP.js.map +1 -0
  23. package/dist/chunk-4IMEF4J5.cjs +58 -0
  24. package/dist/chunk-4IMEF4J5.cjs.map +1 -0
  25. package/dist/chunk-4JSV7KA3.cjs +43 -0
  26. package/dist/chunk-4JSV7KA3.cjs.map +1 -0
  27. package/dist/chunk-4LUPQO4R.cjs +16 -0
  28. package/dist/chunk-4LUPQO4R.cjs.map +1 -0
  29. package/dist/chunk-4NEPWF3Z.js +152 -0
  30. package/dist/chunk-4NEPWF3Z.js.map +1 -0
  31. package/dist/chunk-4RVGUZNF.js +72 -0
  32. package/dist/chunk-4RVGUZNF.js.map +1 -0
  33. package/dist/chunk-4VYXUFJA.js +72 -0
  34. package/dist/chunk-4VYXUFJA.js.map +1 -0
  35. package/dist/chunk-53OQ6M2O.js +25 -0
  36. package/dist/chunk-53OQ6M2O.js.map +1 -0
  37. package/dist/chunk-5H35ZVLR.js +43 -0
  38. package/dist/chunk-5H35ZVLR.js.map +1 -0
  39. package/dist/chunk-5LMIRRED.js +59 -0
  40. package/dist/chunk-5LMIRRED.js.map +1 -0
  41. package/dist/chunk-5NQTYPZG.js +14 -0
  42. package/dist/chunk-5NQTYPZG.js.map +1 -0
  43. package/dist/chunk-5QXQ2LBB.cjs +4 -0
  44. package/dist/chunk-5QXQ2LBB.cjs.map +1 -0
  45. package/dist/chunk-5REFGTWO.js +87 -0
  46. package/dist/chunk-5REFGTWO.js.map +1 -0
  47. package/dist/chunk-5RH3VTNV.js +81 -0
  48. package/dist/chunk-5RH3VTNV.js.map +1 -0
  49. package/dist/chunk-5Z4ILTRD.js +48 -0
  50. package/dist/chunk-5Z4ILTRD.js.map +1 -0
  51. package/dist/chunk-62OBBM7T.js +95 -0
  52. package/dist/chunk-62OBBM7T.js.map +1 -0
  53. package/dist/chunk-6BFFHI2V.cjs +33 -0
  54. package/dist/chunk-6BFFHI2V.cjs.map +1 -0
  55. package/dist/chunk-6EW2D7K7.cjs +51 -0
  56. package/dist/chunk-6EW2D7K7.cjs.map +1 -0
  57. package/dist/chunk-6V7WZMBZ.cjs +83 -0
  58. package/dist/chunk-6V7WZMBZ.cjs.map +1 -0
  59. package/dist/chunk-AB3775NI.cjs +93 -0
  60. package/dist/chunk-AB3775NI.cjs.map +1 -0
  61. package/dist/chunk-AEYPJ5YA.cjs +51 -0
  62. package/dist/chunk-AEYPJ5YA.cjs.map +1 -0
  63. package/dist/chunk-AMNEAWA7.cjs +59 -0
  64. package/dist/chunk-AMNEAWA7.cjs.map +1 -0
  65. package/dist/chunk-APHLSON7.cjs +29 -0
  66. package/dist/chunk-APHLSON7.cjs.map +1 -0
  67. package/dist/chunk-B7NHA4GE.js +33 -0
  68. package/dist/chunk-B7NHA4GE.js.map +1 -0
  69. package/dist/chunk-BJT6JTXX.js +49 -0
  70. package/dist/chunk-BJT6JTXX.js.map +1 -0
  71. package/dist/chunk-BLMWXMW4.js +14 -0
  72. package/dist/chunk-BLMWXMW4.js.map +1 -0
  73. package/dist/chunk-C3DCFPJC.cjs +125 -0
  74. package/dist/chunk-C3DCFPJC.cjs.map +1 -0
  75. package/dist/chunk-C63PYADW.cjs +115 -0
  76. package/dist/chunk-C63PYADW.cjs.map +1 -0
  77. package/dist/chunk-CAGLLWPR.js +33 -0
  78. package/dist/chunk-CAGLLWPR.js.map +1 -0
  79. package/dist/chunk-CPZFINPG.js +37 -0
  80. package/dist/chunk-CPZFINPG.js.map +1 -0
  81. package/dist/chunk-CQSYXCIU.cjs +221 -0
  82. package/dist/chunk-CQSYXCIU.cjs.map +1 -0
  83. package/dist/chunk-CTR2QSI6.js +121 -0
  84. package/dist/chunk-CTR2QSI6.js.map +1 -0
  85. package/dist/chunk-CWTO3NXW.js +12 -0
  86. package/dist/chunk-CWTO3NXW.js.map +1 -0
  87. package/dist/chunk-DMNSL52U.cjs +160 -0
  88. package/dist/chunk-DMNSL52U.cjs.map +1 -0
  89. package/dist/chunk-DU5OQA67.cjs +49 -0
  90. package/dist/chunk-DU5OQA67.cjs.map +1 -0
  91. package/dist/chunk-DURKKV2E.js +52 -0
  92. package/dist/chunk-DURKKV2E.js.map +1 -0
  93. package/dist/chunk-DUVGFEGU.js +149 -0
  94. package/dist/chunk-DUVGFEGU.js.map +1 -0
  95. package/dist/chunk-DWB5TTR6.cjs +55 -0
  96. package/dist/chunk-DWB5TTR6.cjs.map +1 -0
  97. package/dist/chunk-DXLVRZFU.js +21 -0
  98. package/dist/chunk-DXLVRZFU.js.map +1 -0
  99. package/dist/chunk-EAFZZSYR.js +69 -0
  100. package/dist/chunk-EAFZZSYR.js.map +1 -0
  101. package/dist/chunk-EBKY3MJH.cjs +72 -0
  102. package/dist/chunk-EBKY3MJH.cjs.map +1 -0
  103. package/dist/chunk-EBOIU23Q.cjs +137 -0
  104. package/dist/chunk-EBOIU23Q.cjs.map +1 -0
  105. package/dist/chunk-EBZRXX6P.js +41 -0
  106. package/dist/chunk-EBZRXX6P.js.map +1 -0
  107. package/dist/chunk-EWFDWOL2.js +27 -0
  108. package/dist/chunk-EWFDWOL2.js.map +1 -0
  109. package/dist/chunk-F3FYMCRO.js +52 -0
  110. package/dist/chunk-F3FYMCRO.js.map +1 -0
  111. package/dist/chunk-FNCPK4RH.js +24 -0
  112. package/dist/chunk-FNCPK4RH.js.map +1 -0
  113. package/dist/chunk-FOJTLQJO.js +152 -0
  114. package/dist/chunk-FOJTLQJO.js.map +1 -0
  115. package/dist/chunk-FSMBDLNU.js +34 -0
  116. package/dist/chunk-FSMBDLNU.js.map +1 -0
  117. package/dist/chunk-FVJL3PEK.js +40 -0
  118. package/dist/chunk-FVJL3PEK.js.map +1 -0
  119. package/dist/chunk-GAN7Z4NB.js +93 -0
  120. package/dist/chunk-GAN7Z4NB.js.map +1 -0
  121. package/dist/chunk-GN3JZCM3.cjs +99 -0
  122. package/dist/chunk-GN3JZCM3.cjs.map +1 -0
  123. package/dist/chunk-GQNVPLSG.cjs +44 -0
  124. package/dist/chunk-GQNVPLSG.cjs.map +1 -0
  125. package/dist/chunk-GZUD5PBL.js +219 -0
  126. package/dist/chunk-GZUD5PBL.js.map +1 -0
  127. package/dist/chunk-HD3VN7GE.cjs +37 -0
  128. package/dist/chunk-HD3VN7GE.cjs.map +1 -0
  129. package/dist/chunk-HVZBUDYS.js +51 -0
  130. package/dist/chunk-HVZBUDYS.js.map +1 -0
  131. package/dist/chunk-I46VZAK7.cjs +65 -0
  132. package/dist/chunk-I46VZAK7.cjs.map +1 -0
  133. package/dist/chunk-I4H7XREK.js +91 -0
  134. package/dist/chunk-I4H7XREK.js.map +1 -0
  135. package/dist/chunk-I5FAUNN6.js +48 -0
  136. package/dist/chunk-I5FAUNN6.js.map +1 -0
  137. package/dist/chunk-IHWVGIDT.cjs +86 -0
  138. package/dist/chunk-IHWVGIDT.cjs.map +1 -0
  139. package/dist/chunk-IJQTUD3D.js +35 -0
  140. package/dist/chunk-IJQTUD3D.js.map +1 -0
  141. package/dist/chunk-IMAHT6W4.cjs +65 -0
  142. package/dist/chunk-IMAHT6W4.cjs.map +1 -0
  143. package/dist/chunk-IVPCYGXE.cjs +20 -0
  144. package/dist/chunk-IVPCYGXE.cjs.map +1 -0
  145. package/dist/chunk-IX3GUXML.cjs +24 -0
  146. package/dist/chunk-IX3GUXML.cjs.map +1 -0
  147. package/dist/chunk-J3UEZGEG.js +53 -0
  148. package/dist/chunk-J3UEZGEG.js.map +1 -0
  149. package/dist/chunk-JZVRCP3M.cjs +411 -0
  150. package/dist/chunk-JZVRCP3M.cjs.map +1 -0
  151. package/dist/chunk-KWIGG26N.js +3 -0
  152. package/dist/chunk-KWIGG26N.js.map +1 -0
  153. package/dist/chunk-KZBS5RNE.js +41 -0
  154. package/dist/chunk-KZBS5RNE.js.map +1 -0
  155. package/dist/chunk-L4SZQQK6.cjs +171 -0
  156. package/dist/chunk-L4SZQQK6.cjs.map +1 -0
  157. package/dist/chunk-LQ4DG6ST.js +31 -0
  158. package/dist/chunk-LQ4DG6ST.js.map +1 -0
  159. package/dist/chunk-LQQ244AY.js +28 -0
  160. package/dist/chunk-LQQ244AY.js.map +1 -0
  161. package/dist/chunk-LT35HARQ.cjs +119 -0
  162. package/dist/chunk-LT35HARQ.cjs.map +1 -0
  163. package/dist/chunk-LTJXX7NG.cjs +14 -0
  164. package/dist/chunk-LTJXX7NG.cjs.map +1 -0
  165. package/dist/chunk-LUFPA3WC.cjs +93 -0
  166. package/dist/chunk-LUFPA3WC.cjs.map +1 -0
  167. package/dist/chunk-LV6BHE7Q.cjs +266 -0
  168. package/dist/chunk-LV6BHE7Q.cjs.map +1 -0
  169. package/dist/chunk-MF24QPA6.js +28 -0
  170. package/dist/chunk-MF24QPA6.js.map +1 -0
  171. package/dist/chunk-MGWZXPMF.cjs +13 -0
  172. package/dist/chunk-MGWZXPMF.cjs.map +1 -0
  173. package/dist/chunk-MPWBYIWU.cjs +50 -0
  174. package/dist/chunk-MPWBYIWU.cjs.map +1 -0
  175. package/dist/chunk-MTNMKBY6.cjs +123 -0
  176. package/dist/chunk-MTNMKBY6.cjs.map +1 -0
  177. package/dist/chunk-NLGWU2KI.cjs +36 -0
  178. package/dist/chunk-NLGWU2KI.cjs.map +1 -0
  179. package/dist/chunk-ODHIUBLC.js +25 -0
  180. package/dist/chunk-ODHIUBLC.js.map +1 -0
  181. package/dist/chunk-ORVF255B.cjs +55 -0
  182. package/dist/chunk-ORVF255B.cjs.map +1 -0
  183. package/dist/chunk-OXDKVZZ5.cjs +39 -0
  184. package/dist/chunk-OXDKVZZ5.cjs.map +1 -0
  185. package/dist/chunk-OZJZVEF2.js +35 -0
  186. package/dist/chunk-OZJZVEF2.js.map +1 -0
  187. package/dist/chunk-P6ZEOB4L.cjs +108 -0
  188. package/dist/chunk-P6ZEOB4L.cjs.map +1 -0
  189. package/dist/chunk-PAMM6ETE.js +52 -0
  190. package/dist/chunk-PAMM6ETE.js.map +1 -0
  191. package/dist/chunk-PCSQPFNK.js +198 -0
  192. package/dist/chunk-PCSQPFNK.js.map +1 -0
  193. package/dist/chunk-PLPEZUCB.js +42 -0
  194. package/dist/chunk-PLPEZUCB.js.map +1 -0
  195. package/dist/chunk-PONUWUJ7.js +29 -0
  196. package/dist/chunk-PONUWUJ7.js.map +1 -0
  197. package/dist/chunk-PSRWV7UW.cjs +50 -0
  198. package/dist/chunk-PSRWV7UW.cjs.map +1 -0
  199. package/dist/chunk-PTNATMEI.cjs +95 -0
  200. package/dist/chunk-PTNATMEI.cjs.map +1 -0
  201. package/dist/chunk-PZ5AY32C.js +9 -0
  202. package/dist/chunk-PZ5AY32C.js.map +1 -0
  203. package/dist/chunk-Q7SFCCGT.cjs +11 -0
  204. package/dist/chunk-Q7SFCCGT.cjs.map +1 -0
  205. package/dist/chunk-QNVDG3L3.cjs +171 -0
  206. package/dist/chunk-QNVDG3L3.cjs.map +1 -0
  207. package/dist/chunk-QOYVMNQ6.cjs +13 -0
  208. package/dist/chunk-QOYVMNQ6.cjs.map +1 -0
  209. package/dist/chunk-QRMNGILI.cjs +16 -0
  210. package/dist/chunk-QRMNGILI.cjs.map +1 -0
  211. package/dist/chunk-QURNDLRE.js +55 -0
  212. package/dist/chunk-QURNDLRE.js.map +1 -0
  213. package/dist/chunk-RKLUMDJB.cjs +50 -0
  214. package/dist/chunk-RKLUMDJB.cjs.map +1 -0
  215. package/dist/chunk-SKMP4FO7.cjs +42 -0
  216. package/dist/chunk-SKMP4FO7.cjs.map +1 -0
  217. package/dist/chunk-SMDQTPJE.cjs +31 -0
  218. package/dist/chunk-SMDQTPJE.cjs.map +1 -0
  219. package/dist/chunk-SP2IO6PC.cjs +220 -0
  220. package/dist/chunk-SP2IO6PC.cjs.map +1 -0
  221. package/dist/chunk-SPAVM3EE.cjs +95 -0
  222. package/dist/chunk-SPAVM3EE.cjs.map +1 -0
  223. package/dist/chunk-SZ5XKNVG.js +11 -0
  224. package/dist/chunk-SZ5XKNVG.js.map +1 -0
  225. package/dist/chunk-TCV6N3EK.js +400 -0
  226. package/dist/chunk-TCV6N3EK.js.map +1 -0
  227. package/dist/chunk-TPZCCL4L.js +76 -0
  228. package/dist/chunk-TPZCCL4L.js.map +1 -0
  229. package/dist/chunk-TVYLTYUK.js +23 -0
  230. package/dist/chunk-TVYLTYUK.js.map +1 -0
  231. package/dist/chunk-U27VO642.js +117 -0
  232. package/dist/chunk-U27VO642.js.map +1 -0
  233. package/dist/chunk-U3D4LL6T.js +54 -0
  234. package/dist/chunk-U3D4LL6T.js.map +1 -0
  235. package/dist/chunk-U7LTIWUS.js +28 -0
  236. package/dist/chunk-U7LTIWUS.js.map +1 -0
  237. package/dist/chunk-UMVE26I5.cjs +61 -0
  238. package/dist/chunk-UMVE26I5.cjs.map +1 -0
  239. package/dist/chunk-UQT2I2CC.js +42 -0
  240. package/dist/chunk-UQT2I2CC.js.map +1 -0
  241. package/dist/chunk-UW6NEKBF.cjs +151 -0
  242. package/dist/chunk-UW6NEKBF.cjs.map +1 -0
  243. package/dist/chunk-UXROFDSM.cjs +33 -0
  244. package/dist/chunk-UXROFDSM.cjs.map +1 -0
  245. package/dist/chunk-V563IKQH.cjs +4 -0
  246. package/dist/chunk-V563IKQH.cjs.map +1 -0
  247. package/dist/chunk-VAHZQJTA.cjs +117 -0
  248. package/dist/chunk-VAHZQJTA.cjs.map +1 -0
  249. package/dist/chunk-VANX3AQD.js +3 -0
  250. package/dist/chunk-VANX3AQD.js.map +1 -0
  251. package/dist/chunk-VB32IBQC.cjs +54 -0
  252. package/dist/chunk-VB32IBQC.cjs.map +1 -0
  253. package/dist/chunk-W2UGL7QI.cjs +41 -0
  254. package/dist/chunk-W2UGL7QI.cjs.map +1 -0
  255. package/dist/chunk-W6BMYVY5.js +17 -0
  256. package/dist/chunk-W6BMYVY5.js.map +1 -0
  257. package/dist/chunk-WFQHWK6X.cjs +53 -0
  258. package/dist/chunk-WFQHWK6X.cjs.map +1 -0
  259. package/dist/chunk-XAPQTBJR.cjs +45 -0
  260. package/dist/chunk-XAPQTBJR.cjs.map +1 -0
  261. package/dist/chunk-XGQDWAHV.js +27 -0
  262. package/dist/chunk-XGQDWAHV.js.map +1 -0
  263. package/dist/chunk-XGQU7BQK.js +88 -0
  264. package/dist/chunk-XGQU7BQK.js.map +1 -0
  265. package/dist/chunk-XKLOANYB.cjs +57 -0
  266. package/dist/chunk-XKLOANYB.cjs.map +1 -0
  267. package/dist/chunk-XO6LO5CU.cjs +47 -0
  268. package/dist/chunk-XO6LO5CU.cjs.map +1 -0
  269. package/dist/chunk-XUTLQ573.cjs +20 -0
  270. package/dist/chunk-XUTLQ573.cjs.map +1 -0
  271. package/dist/chunk-XWQI5MC3.cjs +35 -0
  272. package/dist/chunk-XWQI5MC3.cjs.map +1 -0
  273. package/dist/chunk-Y2UMEYQS.js +115 -0
  274. package/dist/chunk-Y2UMEYQS.js.map +1 -0
  275. package/dist/chunk-YB2USB4M.js +17 -0
  276. package/dist/chunk-YB2USB4M.js.map +1 -0
  277. package/dist/chunk-YLWUHTOZ.js +154 -0
  278. package/dist/chunk-YLWUHTOZ.js.map +1 -0
  279. package/dist/chunk-YNREEZ75.cjs +26 -0
  280. package/dist/chunk-YNREEZ75.cjs.map +1 -0
  281. package/dist/chunk-Z33TWZHI.js +81 -0
  282. package/dist/chunk-Z33TWZHI.js.map +1 -0
  283. package/dist/chunk-ZCRWSWPJ.cjs +46 -0
  284. package/dist/chunk-ZCRWSWPJ.cjs.map +1 -0
  285. package/dist/chunk-ZQFFPZMA.cjs +74 -0
  286. package/dist/chunk-ZQFFPZMA.cjs.map +1 -0
  287. package/dist/chunk-ZSNEG5J7.js +263 -0
  288. package/dist/chunk-ZSNEG5J7.js.map +1 -0
  289. package/dist/{company_service_sanity-ByIKe90u.d.cts → company_service_sanity-Br0R7m-A.d.cts} +560 -560
  290. package/dist/{company_service_sanity-DbYwWmnS.d.ts → company_service_sanity-DF01qvTz.d.ts} +560 -560
  291. package/dist/components/buttons/BackButton.cjs +11 -153
  292. package/dist/components/buttons/BackButton.cjs.map +1 -1
  293. package/dist/components/buttons/BackButton.d.cts +2 -2
  294. package/dist/components/buttons/BackButton.d.ts +2 -2
  295. package/dist/components/buttons/BackButton.js +7 -134
  296. package/dist/components/buttons/BackButton.js.map +1 -1
  297. package/dist/components/company/CompanyBenefits.cjs +10 -31
  298. package/dist/components/company/CompanyBenefits.cjs.map +1 -1
  299. package/dist/components/company/CompanyBenefits.d.cts +2 -2
  300. package/dist/components/company/CompanyBenefits.d.ts +2 -2
  301. package/dist/components/company/CompanyBenefits.js +3 -8
  302. package/dist/components/company/CompanyBenefits.js.map +1 -1
  303. package/dist/components/company/CompanyInformation.cjs +9 -86
  304. package/dist/components/company/CompanyInformation.cjs.map +1 -1
  305. package/dist/components/company/CompanyInformation.d.cts +2 -2
  306. package/dist/components/company/CompanyInformation.d.ts +2 -2
  307. package/dist/components/company/CompanyInformation.js +4 -53
  308. package/dist/components/company/CompanyInformation.js.map +1 -1
  309. package/dist/components/company/CompanyTake.cjs +10 -122
  310. package/dist/components/company/CompanyTake.cjs.map +1 -1
  311. package/dist/components/company/CompanyTake.d.cts +2 -2
  312. package/dist/components/company/CompanyTake.d.ts +2 -2
  313. package/dist/components/company/CompanyTake.js +6 -91
  314. package/dist/components/company/CompanyTake.js.map +1 -1
  315. package/dist/components/jobCard/JobLocation.cjs +11 -151
  316. package/dist/components/jobCard/JobLocation.cjs.map +1 -1
  317. package/dist/components/jobCard/JobLocation.d.cts +3 -3
  318. package/dist/components/jobCard/JobLocation.d.ts +3 -3
  319. package/dist/components/jobCard/JobLocation.js +7 -121
  320. package/dist/components/jobCard/JobLocation.js.map +1 -1
  321. package/dist/components/jobPost/JobDescription.cjs +10 -347
  322. package/dist/components/jobPost/JobDescription.cjs.map +1 -1
  323. package/dist/components/jobPost/JobDescription.d.cts +2 -2
  324. package/dist/components/jobPost/JobDescription.d.ts +2 -2
  325. package/dist/components/jobPost/JobDescription.js +6 -315
  326. package/dist/components/jobPost/JobDescription.js.map +1 -1
  327. package/dist/components/jobPost/JobHeader.cjs +16 -406
  328. package/dist/components/jobPost/JobHeader.cjs.map +1 -1
  329. package/dist/components/jobPost/JobHeader.d.cts +2 -2
  330. package/dist/components/jobPost/JobHeader.d.ts +2 -2
  331. package/dist/components/jobPost/JobHeader.js +12 -398
  332. package/dist/components/jobPost/JobHeader.js.map +1 -1
  333. package/dist/components/jobPost/JobPost.cjs +42 -1820
  334. package/dist/components/jobPost/JobPost.cjs.map +1 -1
  335. package/dist/components/jobPost/JobPost.d.cts +3 -3
  336. package/dist/components/jobPost/JobPost.d.ts +3 -3
  337. package/dist/components/jobPost/JobPost.js +33 -1812
  338. package/dist/components/jobPost/JobPost.js.map +1 -1
  339. package/dist/components/primitives/avatar.cjs +17 -82
  340. package/dist/components/primitives/avatar.cjs.map +1 -1
  341. package/dist/components/primitives/avatar.js +4 -50
  342. package/dist/components/primitives/avatar.js.map +1 -1
  343. package/dist/components/primitives/command.cjs +41 -207
  344. package/dist/components/primitives/command.cjs.map +1 -1
  345. package/dist/components/primitives/command.d.cts +3 -2
  346. package/dist/components/primitives/command.d.ts +3 -2
  347. package/dist/components/primitives/command.js +5 -170
  348. package/dist/components/primitives/command.js.map +1 -1
  349. package/dist/components/primitives/dialog.cjs +45 -124
  350. package/dist/components/primitives/dialog.cjs.map +1 -1
  351. package/dist/components/primitives/dialog.d.cts +3 -2
  352. package/dist/components/primitives/dialog.d.ts +3 -2
  353. package/dist/components/primitives/dialog.js +4 -85
  354. package/dist/components/primitives/dialog.js.map +1 -1
  355. package/dist/components/primitives/input-otp.cjs +20 -90
  356. package/dist/components/primitives/input-otp.cjs.map +1 -1
  357. package/dist/components/primitives/input-otp.js +4 -58
  358. package/dist/components/primitives/input-otp.js.map +1 -1
  359. package/dist/components/primitives/popover.cjs +17 -67
  360. package/dist/components/primitives/popover.cjs.map +1 -1
  361. package/dist/components/primitives/popover.js +4 -35
  362. package/dist/components/primitives/popover.js.map +1 -1
  363. package/dist/components/primitives/radio-group.cjs +12 -64
  364. package/dist/components/primitives/radio-group.cjs.map +1 -1
  365. package/dist/components/primitives/radio-group.js +4 -36
  366. package/dist/components/primitives/radio-group.js.map +1 -1
  367. package/dist/components/primitives/separator.cjs +9 -62
  368. package/dist/components/primitives/separator.cjs.map +1 -1
  369. package/dist/components/primitives/separator.js +4 -32
  370. package/dist/components/primitives/separator.js.map +1 -1
  371. package/dist/components/primitives/tooltip.cjs +21 -69
  372. package/dist/components/primitives/tooltip.cjs.map +1 -1
  373. package/dist/components/primitives/tooltip.js +4 -36
  374. package/dist/components/primitives/tooltip.js.map +1 -1
  375. package/dist/components/ui/Avatar.cjs +12 -105
  376. package/dist/components/ui/Avatar.cjs.map +1 -1
  377. package/dist/components/ui/Avatar.d.cts +3 -3
  378. package/dist/components/ui/Avatar.d.ts +3 -3
  379. package/dist/components/ui/Avatar.js +5 -75
  380. package/dist/components/ui/Avatar.js.map +1 -1
  381. package/dist/components/ui/Badge.cjs +12 -62
  382. package/dist/components/ui/Badge.cjs.map +1 -1
  383. package/dist/components/ui/Badge.d.cts +2 -1
  384. package/dist/components/ui/Badge.d.ts +2 -1
  385. package/dist/components/ui/Badge.js +4 -31
  386. package/dist/components/ui/Badge.js.map +1 -1
  387. package/dist/components/ui/Button.cjs +13 -299
  388. package/dist/components/ui/Button.cjs.map +1 -1
  389. package/dist/components/ui/Button.js +4 -267
  390. package/dist/components/ui/Button.js.map +1 -1
  391. package/dist/components/ui/Checkbox.cjs +13 -109
  392. package/dist/components/ui/Checkbox.cjs.map +1 -1
  393. package/dist/components/ui/Checkbox.js +5 -81
  394. package/dist/components/ui/Checkbox.js.map +1 -1
  395. package/dist/components/ui/Chip.cjs +8 -59
  396. package/dist/components/ui/Chip.cjs.map +1 -1
  397. package/dist/components/ui/Chip.d.cts +2 -1
  398. package/dist/components/ui/Chip.d.ts +2 -1
  399. package/dist/components/ui/Chip.js +3 -29
  400. package/dist/components/ui/Chip.js.map +1 -1
  401. package/dist/components/ui/Combobox.cjs +22 -591
  402. package/dist/components/ui/Combobox.cjs.map +1 -1
  403. package/dist/components/ui/Combobox.js +14 -560
  404. package/dist/components/ui/Combobox.js.map +1 -1
  405. package/dist/components/ui/Counter.cjs +11 -226
  406. package/dist/components/ui/Counter.cjs.map +1 -1
  407. package/dist/components/ui/Counter.js +7 -197
  408. package/dist/components/ui/Counter.js.map +1 -1
  409. package/dist/components/ui/DatePicker.cjs +14 -274
  410. package/dist/components/ui/DatePicker.cjs.map +1 -1
  411. package/dist/components/ui/DatePicker.js +10 -245
  412. package/dist/components/ui/DatePicker.js.map +1 -1
  413. package/dist/components/ui/DismissibleBanner.cjs +9 -77
  414. package/dist/components/ui/DismissibleBanner.cjs.map +1 -1
  415. package/dist/components/ui/DismissibleBanner.d.cts +2 -2
  416. package/dist/components/ui/DismissibleBanner.d.ts +2 -2
  417. package/dist/components/ui/DismissibleBanner.js +4 -56
  418. package/dist/components/ui/DismissibleBanner.js.map +1 -1
  419. package/dist/components/ui/ErrorMessage.cjs +7 -36
  420. package/dist/components/ui/ErrorMessage.cjs.map +1 -1
  421. package/dist/components/ui/ErrorMessage.d.cts +2 -2
  422. package/dist/components/ui/ErrorMessage.d.ts +2 -2
  423. package/dist/components/ui/ErrorMessage.js +4 -16
  424. package/dist/components/ui/ErrorMessage.js.map +1 -1
  425. package/dist/components/ui/Icon.cjs +9 -108
  426. package/dist/components/ui/Icon.cjs.map +1 -1
  427. package/dist/components/ui/Icon.js +4 -87
  428. package/dist/components/ui/Icon.js.map +1 -1
  429. package/dist/components/ui/Input.cjs +9 -186
  430. package/dist/components/ui/Input.cjs.map +1 -1
  431. package/dist/components/ui/Input.js +7 -159
  432. package/dist/components/ui/Input.js.map +1 -1
  433. package/dist/components/ui/InputOtp.cjs +12 -175
  434. package/dist/components/ui/InputOtp.cjs.map +1 -1
  435. package/dist/components/ui/InputOtp.js +8 -145
  436. package/dist/components/ui/InputOtp.js.map +1 -1
  437. package/dist/components/ui/Label.cjs +7 -79
  438. package/dist/components/ui/Label.cjs.map +1 -1
  439. package/dist/components/ui/Label.d.cts +2 -2
  440. package/dist/components/ui/Label.d.ts +2 -2
  441. package/dist/components/ui/Label.js +5 -52
  442. package/dist/components/ui/Label.js.map +1 -1
  443. package/dist/components/ui/LinkButton.cjs +10 -58
  444. package/dist/components/ui/LinkButton.cjs.map +1 -1
  445. package/dist/components/ui/LinkButton.d.cts +2 -1
  446. package/dist/components/ui/LinkButton.d.ts +2 -1
  447. package/dist/components/ui/LinkButton.js +3 -25
  448. package/dist/components/ui/LinkButton.js.map +1 -1
  449. package/dist/components/ui/ListItem.cjs +8 -150
  450. package/dist/components/ui/ListItem.cjs.map +1 -1
  451. package/dist/components/ui/ListItem.d.cts +2 -2
  452. package/dist/components/ui/ListItem.d.ts +2 -2
  453. package/dist/components/ui/ListItem.js +6 -125
  454. package/dist/components/ui/ListItem.js.map +1 -1
  455. package/dist/components/ui/Map/ClusterMarker.cjs +9 -74
  456. package/dist/components/ui/Map/ClusterMarker.cjs.map +1 -1
  457. package/dist/components/ui/Map/ClusterMarker.d.cts +2 -2
  458. package/dist/components/ui/Map/ClusterMarker.d.ts +2 -2
  459. package/dist/components/ui/Map/ClusterMarker.js +5 -55
  460. package/dist/components/ui/Map/ClusterMarker.js.map +1 -1
  461. package/dist/components/ui/Map/FocusCircle.cjs +9 -81
  462. package/dist/components/ui/Map/FocusCircle.cjs.map +1 -1
  463. package/dist/components/ui/Map/FocusCircle.js +4 -61
  464. package/dist/components/ui/Map/FocusCircle.js.map +1 -1
  465. package/dist/components/ui/Map/IndividualMarker.cjs +9 -55
  466. package/dist/components/ui/Map/IndividualMarker.cjs.map +1 -1
  467. package/dist/components/ui/Map/IndividualMarker.d.cts +2 -2
  468. package/dist/components/ui/Map/IndividualMarker.d.ts +2 -2
  469. package/dist/components/ui/Map/IndividualMarker.js +4 -35
  470. package/dist/components/ui/Map/IndividualMarker.js.map +1 -1
  471. package/dist/components/ui/Map/MapComponent.cjs +16 -395
  472. package/dist/components/ui/Map/MapComponent.cjs.map +1 -1
  473. package/dist/components/ui/Map/MapComponent.d.cts +2 -2
  474. package/dist/components/ui/Map/MapComponent.d.ts +2 -2
  475. package/dist/components/ui/Map/MapComponent.js +12 -366
  476. package/dist/components/ui/Map/MapComponent.js.map +1 -1
  477. package/dist/components/ui/Map/MapContent.cjs +13 -273
  478. package/dist/components/ui/Map/MapContent.cjs.map +1 -1
  479. package/dist/components/ui/Map/MapContent.d.cts +2 -2
  480. package/dist/components/ui/Map/MapContent.d.ts +2 -2
  481. package/dist/components/ui/Map/MapContent.js +9 -254
  482. package/dist/components/ui/Map/MapContent.js.map +1 -1
  483. package/dist/components/ui/Map/clustering.cjs +13 -99
  484. package/dist/components/ui/Map/clustering.cjs.map +1 -1
  485. package/dist/components/ui/Map/clustering.js +5 -76
  486. package/dist/components/ui/Map/clustering.js.map +1 -1
  487. package/dist/components/ui/Map/constants.cjs +33 -61
  488. package/dist/components/ui/Map/constants.cjs.map +1 -1
  489. package/dist/components/ui/Map/constants.js +3 -33
  490. package/dist/components/ui/Map/constants.js.map +1 -1
  491. package/dist/components/ui/Map/hooks.cjs +18 -90
  492. package/dist/components/ui/Map/hooks.cjs.map +1 -1
  493. package/dist/components/ui/Map/hooks.js +6 -58
  494. package/dist/components/ui/Map/hooks.js.map +1 -1
  495. package/dist/components/ui/Map/index.cjs +21 -400
  496. package/dist/components/ui/Map/index.cjs.map +1 -1
  497. package/dist/components/ui/Map/index.d.cts +1 -1
  498. package/dist/components/ui/Map/index.d.ts +1 -1
  499. package/dist/components/ui/Map/index.js +13 -364
  500. package/dist/components/ui/Map/index.js.map +1 -1
  501. package/dist/components/ui/Map/types.cjs +2 -17
  502. package/dist/components/ui/Map/types.cjs.map +1 -1
  503. package/dist/components/ui/Map/types.js +2 -0
  504. package/dist/components/ui/Map/types.js.map +1 -1
  505. package/dist/components/ui/Map/utils.cjs +25 -75
  506. package/dist/components/ui/Map/utils.cjs.map +1 -1
  507. package/dist/components/ui/Map/utils.js +4 -48
  508. package/dist/components/ui/Map/utils.js.map +1 -1
  509. package/dist/components/ui/PlacesQueryInput.cjs +9 -301
  510. package/dist/components/ui/PlacesQueryInput.cjs.map +1 -1
  511. package/dist/components/ui/PlacesQueryInput.d.cts +2 -2
  512. package/dist/components/ui/PlacesQueryInput.d.ts +2 -2
  513. package/dist/components/ui/PlacesQueryInput.js +7 -275
  514. package/dist/components/ui/PlacesQueryInput.js.map +1 -1
  515. package/dist/components/ui/Radio.cjs +12 -151
  516. package/dist/components/ui/Radio.cjs.map +1 -1
  517. package/dist/components/ui/Radio.js +8 -123
  518. package/dist/components/ui/Radio.js.map +1 -1
  519. package/dist/components/ui/ReadMore.cjs +9 -340
  520. package/dist/components/ui/ReadMore.cjs.map +1 -1
  521. package/dist/components/ui/ReadMore.d.cts +2 -2
  522. package/dist/components/ui/ReadMore.d.ts +2 -2
  523. package/dist/components/ui/ReadMore.js +5 -311
  524. package/dist/components/ui/ReadMore.js.map +1 -1
  525. package/dist/components/ui/Select.cjs +11 -303
  526. package/dist/components/ui/Select.cjs.map +1 -1
  527. package/dist/components/ui/Select.js +9 -282
  528. package/dist/components/ui/Select.js.map +1 -1
  529. package/dist/components/ui/StepTabs.cjs +9 -129
  530. package/dist/components/ui/StepTabs.cjs.map +1 -1
  531. package/dist/components/ui/StepTabs.d.cts +3 -3
  532. package/dist/components/ui/StepTabs.d.ts +3 -3
  533. package/dist/components/ui/StepTabs.js +4 -99
  534. package/dist/components/ui/StepTabs.js.map +1 -1
  535. package/dist/components/ui/Switch.cjs +9 -69
  536. package/dist/components/ui/Switch.cjs.map +1 -1
  537. package/dist/components/ui/Switch.js +5 -39
  538. package/dist/components/ui/Switch.js.map +1 -1
  539. package/dist/components/ui/buttonShadcn.cjs +13 -81
  540. package/dist/components/ui/buttonShadcn.cjs.map +1 -1
  541. package/dist/components/ui/buttonShadcn.js +4 -49
  542. package/dist/components/ui/buttonShadcn.js.map +1 -1
  543. package/dist/components/ui/calendar.cjs +9 -135
  544. package/dist/components/ui/calendar.cjs.map +1 -1
  545. package/dist/components/ui/calendar.d.cts +2 -1
  546. package/dist/components/ui/calendar.d.ts +2 -1
  547. package/dist/components/ui/calendar.js +5 -106
  548. package/dist/components/ui/calendar.js.map +1 -1
  549. package/dist/contexts/WindowHistoryProvider.cjs +13 -43
  550. package/dist/contexts/WindowHistoryProvider.cjs.map +1 -1
  551. package/dist/contexts/WindowHistoryProvider.d.cts +2 -1
  552. package/dist/contexts/WindowHistoryProvider.d.ts +2 -1
  553. package/dist/contexts/WindowHistoryProvider.js +3 -21
  554. package/dist/contexts/WindowHistoryProvider.js.map +1 -1
  555. package/dist/{displayText-Cm8PqS6s.d.cts → displayText-BDPndCI9.d.cts} +2 -2
  556. package/dist/{displayText-Ce_aqgGP.d.ts → displayText-EpnIpZ38.d.ts} +2 -2
  557. package/dist/hooks/useDisplayText.cjs +10 -496
  558. package/dist/hooks/useDisplayText.cjs.map +1 -1
  559. package/dist/hooks/useDisplayText.d.cts +3 -3
  560. package/dist/hooks/useDisplayText.d.ts +3 -3
  561. package/dist/hooks/useDisplayText.js +6 -476
  562. package/dist/hooks/useDisplayText.js.map +1 -1
  563. package/dist/hooks/useWindowHistory.cjs +9 -37
  564. package/dist/hooks/useWindowHistory.cjs.map +1 -1
  565. package/dist/hooks/useWindowHistory.d.cts +1 -0
  566. package/dist/hooks/useWindowHistory.d.ts +1 -0
  567. package/dist/hooks/useWindowHistory.js +4 -16
  568. package/dist/hooks/useWindowHistory.js.map +1 -1
  569. package/dist/index.cjs +216 -4128
  570. package/dist/index.cjs.map +1 -1
  571. package/dist/index.d.cts +7 -6
  572. package/dist/index.d.ts +7 -6
  573. package/dist/index.js +73 -4107
  574. package/dist/index.js.map +1 -1
  575. package/dist/{job_posting_service_sanity-DKYye6oH.d.cts → job_posting_service_sanity-BN7XcVxU.d.cts} +460 -460
  576. package/dist/{job_posting_service_sanity-1eG3Jh9_.d.ts → job_posting_service_sanity-BNQsNQs2.d.ts} +460 -460
  577. package/dist/lib/google.cjs +21 -81
  578. package/dist/lib/google.cjs.map +1 -1
  579. package/dist/lib/google.js +3 -57
  580. package/dist/lib/google.js.map +1 -1
  581. package/dist/lib/icons.cjs +10 -50
  582. package/dist/lib/icons.cjs.map +1 -1
  583. package/dist/lib/icons.js +3 -48
  584. package/dist/lib/icons.js.map +1 -1
  585. package/dist/lib/locations.cjs +17 -66
  586. package/dist/lib/locations.cjs.map +1 -1
  587. package/dist/lib/locations.d.cts +3 -3
  588. package/dist/lib/locations.d.ts +3 -3
  589. package/dist/lib/locations.js +3 -42
  590. package/dist/lib/locations.js.map +1 -1
  591. package/dist/lib/mappings.cjs +45 -439
  592. package/dist/lib/mappings.cjs.map +1 -1
  593. package/dist/lib/mappings.d.cts +3 -3
  594. package/dist/lib/mappings.d.ts +3 -3
  595. package/dist/lib/mappings.js +3 -408
  596. package/dist/lib/mappings.js.map +1 -1
  597. package/dist/lib/salaryRange.cjs +14 -453
  598. package/dist/lib/salaryRange.cjs.map +1 -1
  599. package/dist/lib/salaryRange.d.cts +1 -1
  600. package/dist/lib/salaryRange.d.ts +1 -1
  601. package/dist/lib/salaryRange.js +10 -437
  602. package/dist/lib/salaryRange.js.map +1 -1
  603. package/dist/lib/utils.cjs +10 -32
  604. package/dist/lib/utils.cjs.map +1 -1
  605. package/dist/lib/utils.js +3 -9
  606. package/dist/lib/utils.js.map +1 -1
  607. package/dist/services/displayText.cjs +9 -464
  608. package/dist/services/displayText.cjs.map +1 -1
  609. package/dist/services/displayText.d.cts +3 -3
  610. package/dist/services/displayText.d.ts +3 -3
  611. package/dist/services/displayText.js +5 -442
  612. package/dist/services/displayText.js.map +1 -1
  613. package/dist/types/data/company_service_latest.cjs +73 -246
  614. package/dist/types/data/company_service_latest.cjs.map +1 -1
  615. package/dist/types/data/company_service_latest.d.cts +1 -1
  616. package/dist/types/data/company_service_latest.d.ts +1 -1
  617. package/dist/types/data/company_service_latest.js +4 -209
  618. package/dist/types/data/company_service_latest.js.map +1 -1
  619. package/dist/types/data/job_posting_service_latest.cjs +42 -276
  620. package/dist/types/data/job_posting_service_latest.cjs.map +1 -1
  621. package/dist/types/data/job_posting_service_latest.d.cts +1 -1
  622. package/dist/types/data/job_posting_service_latest.d.ts +1 -1
  623. package/dist/types/data/job_posting_service_latest.js +5 -256
  624. package/dist/types/data/job_posting_service_latest.js.map +1 -1
  625. package/dist/types/data/shared_pickle_output_latest.cjs +39 -99
  626. package/dist/types/data/shared_pickle_output_latest.cjs.map +1 -1
  627. package/dist/types/data/shared_pickle_output_latest.d.cts +1 -1
  628. package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
  629. package/dist/types/data/shared_pickle_output_latest.js +3 -74
  630. package/dist/types/data/shared_pickle_output_latest.js.map +1 -1
  631. package/dist/types/displayText.errors.cjs +13 -40
  632. package/dist/types/displayText.errors.cjs.map +1 -1
  633. package/dist/types/displayText.errors.js +3 -17
  634. package/dist/types/displayText.errors.js.map +1 -1
  635. package/dist/types/index.cjs +28 -494
  636. package/dist/types/index.cjs.map +1 -1
  637. package/dist/types/index.d.cts +6 -6
  638. package/dist/types/index.d.ts +6 -6
  639. package/dist/types/index.js +9 -478
  640. package/dist/types/index.js.map +1 -1
  641. package/dist/types/latest/company_service_latest.cjs +73 -246
  642. package/dist/types/latest/company_service_latest.cjs.map +1 -1
  643. package/dist/types/latest/company_service_latest.d.cts +1 -1
  644. package/dist/types/latest/company_service_latest.d.ts +1 -1
  645. package/dist/types/latest/company_service_latest.js +4 -209
  646. package/dist/types/latest/company_service_latest.js.map +1 -1
  647. package/dist/types/latest/custom/company_service_sanity.cjs +46 -307
  648. package/dist/types/latest/custom/company_service_sanity.cjs.map +1 -1
  649. package/dist/types/latest/custom/company_service_sanity.d.cts +3 -3
  650. package/dist/types/latest/custom/company_service_sanity.d.ts +3 -3
  651. package/dist/types/latest/custom/company_service_sanity.js +6 -287
  652. package/dist/types/latest/custom/company_service_sanity.js.map +1 -1
  653. package/dist/types/latest/custom/custom_sanity_models.cjs +13 -39
  654. package/dist/types/latest/custom/custom_sanity_models.cjs.map +1 -1
  655. package/dist/types/latest/custom/custom_sanity_models.js +3 -16
  656. package/dist/types/latest/custom/custom_sanity_models.js.map +1 -1
  657. package/dist/types/latest/custom/job_posting_service_sanity.cjs +66 -353
  658. package/dist/types/latest/custom/job_posting_service_sanity.cjs.map +1 -1
  659. package/dist/types/latest/custom/job_posting_service_sanity.d.cts +3 -3
  660. package/dist/types/latest/custom/job_posting_service_sanity.d.ts +3 -3
  661. package/dist/types/latest/custom/job_posting_service_sanity.js +7 -330
  662. package/dist/types/latest/custom/job_posting_service_sanity.js.map +1 -1
  663. package/dist/types/latest/job_posting_service_latest.cjs +42 -276
  664. package/dist/types/latest/job_posting_service_latest.cjs.map +1 -1
  665. package/dist/types/latest/job_posting_service_latest.d.cts +1 -1
  666. package/dist/types/latest/job_posting_service_latest.d.ts +1 -1
  667. package/dist/types/latest/job_posting_service_latest.js +5 -256
  668. package/dist/types/latest/job_posting_service_latest.js.map +1 -1
  669. package/dist/types/latest/shared_pickle_output_latest.cjs +39 -99
  670. package/dist/types/latest/shared_pickle_output_latest.cjs.map +1 -1
  671. package/dist/types/latest/shared_pickle_output_latest.d.cts +1 -1
  672. package/dist/types/latest/shared_pickle_output_latest.d.ts +1 -1
  673. package/dist/types/latest/shared_pickle_output_latest.js +3 -74
  674. package/dist/types/latest/shared_pickle_output_latest.js.map +1 -1
  675. package/package.json +2 -2
  676. package/dist/{company_service_latest-KJi2W9Ij.d.cts → company_service_latest-C7Moeufo.d.cts} +319 -319
  677. package/dist/{company_service_latest-KJi2W9Ij.d.ts → company_service_latest-C7Moeufo.d.ts} +319 -319
  678. package/dist/{company_service_latest-BjyG4KCB.d.cts → company_service_latest-CITz7F53.d.cts} +319 -319
  679. package/dist/{company_service_latest-BjyG4KCB.d.ts → company_service_latest-CITz7F53.d.ts} +319 -319
  680. package/dist/{job_posting_service_latest-D9I5NE7l.d.cts → job_posting_service_latest-B6Trs6sX.d.cts} +266 -266
  681. package/dist/{job_posting_service_latest-D9I5NE7l.d.ts → job_posting_service_latest-B6Trs6sX.d.ts} +266 -266
  682. package/dist/{job_posting_service_latest-82DHqOGu.d.cts → job_posting_service_latest-BKz5U2Gp.d.cts} +266 -266
  683. package/dist/{job_posting_service_latest-82DHqOGu.d.ts → job_posting_service_latest-BKz5U2Gp.d.ts} +266 -266
  684. package/dist/{shared_pickle_output_latest-YbRs_xtC.d.cts → shared_pickle_output_latest--XZhOUyE.d.cts} +18 -18
  685. package/dist/{shared_pickle_output_latest-YbRs_xtC.d.ts → shared_pickle_output_latest--XZhOUyE.d.ts} +18 -18
  686. package/dist/{shared_pickle_output_latest-dO-t8iZx.d.cts → shared_pickle_output_latest-DKOmTyYk.d.cts} +18 -18
  687. package/dist/{shared_pickle_output_latest-dO-t8iZx.d.ts → shared_pickle_output_latest-DKOmTyYk.d.ts} +18 -18
@@ -1,1813 +1,34 @@
1
- "use client";
2
- var __defProp = Object.defineProperty;
3
- var __export = (target, all) => {
4
- for (var name in all)
5
- __defProp(target, name, { get: all[name], enumerable: true });
6
- };
7
-
8
- // src/components/jobPost/JobPost.tsx
9
- import * as DateFns from "date-fns";
10
-
11
- // src/components/company/CompanyBenefits.tsx
12
- function CompanyBenefits({ benefits }) {
13
- if (!benefits) return null;
14
- return /* @__PURE__ */ React.createElement("div", { className: "flex flex-col gap-2", "data-testid": "company-benefits" }, /* @__PURE__ */ React.createElement("h2", { className: "break-word max-w-full text-xl font-bold text-black sm:max-w-2xl md:max-w-lg" }, "Company benefits"), /* @__PURE__ */ React.createElement("ul", { className: "flex flex-col gap-3" }, benefits.map((benefit, i) => /* @__PURE__ */ React.createElement("li", { key: `${benefit}-${i}`, className: "text-base text-grey-80" }, benefit))));
15
- }
16
-
17
- // src/components/ui/LinkButton.tsx
18
- import Link from "next/link";
19
- import React2 from "react";
20
- var LinkButton = ({
21
- disabled = false,
22
- useAnchor = false,
23
- children,
24
- href,
25
- ...props
26
- }) => {
27
- const Component = useAnchor ? "a" : Link;
28
- return /* @__PURE__ */ React2.createElement(
29
- Component,
30
- {
31
- href,
32
- className: `inline-flex items-center justify-center gap-2 rounded-full text-sm font-bold leading-tight text-black underline outline-dashed outline-2 outline-offset-2 outline-transparent hover:text-purple-100 focus:text-black focus:outline-purple-100 active:text-purple-80 ${disabled ? "pointer-events-none text-grey-40" : ""} `,
33
- ...disabled && { "aria-disabled": true, tabIndex: -1 },
34
- ...props
35
- },
36
- children
37
- );
38
- };
39
-
40
- // src/components/company/CompanyInformation.tsx
41
- function CompanyInformation({
42
- name,
43
- how,
44
- mission,
45
- wow,
46
- website
47
- }) {
48
- return /* @__PURE__ */ React.createElement("div", { className: "flex flex-col gap-2" }, /* @__PURE__ */ React.createElement(
49
- "h2",
50
- {
51
- "data-testid": "company-name",
52
- className: "break-word max-w-full text-xl font-bold text-black sm:max-w-2xl md:max-w-lg"
53
- },
54
- "About ",
55
- name
56
- ), how && /* @__PURE__ */ React.createElement("p", { "data-testid": "company-information", className: "text-base text-grey-80" }, how), mission && /* @__PURE__ */ React.createElement("div", { className: "flex gap-2" }, /* @__PURE__ */ React.createElement("span", null, "\u{1F680}"), /* @__PURE__ */ React.createElement("p", { className: "text-base text-grey-80" }, /* @__PURE__ */ React.createElement("span", { className: "pr-1 font-bold" }, "Mission"), mission)), wow && /* @__PURE__ */ React.createElement("div", { className: "flex gap-2" }, /* @__PURE__ */ React.createElement("span", null, "\u{1F31F}"), /* @__PURE__ */ React.createElement("p", { className: "text-base text-grey-80" }, /* @__PURE__ */ React.createElement("span", { className: "pr-1 font-bold" }, "Wow Factor"), wow)), website && /* @__PURE__ */ React.createElement("div", { className: "pt-2" }, /* @__PURE__ */ React.createElement(
57
- LinkButton,
58
- {
59
- "data-testid": "company-website-link",
60
- href: website,
61
- target: "_blank",
62
- rel: "noopener noreferrer"
63
- },
64
- "Website"
65
- )));
66
- }
67
-
68
- // src/components/ui/Avatar.tsx
69
- import { cva } from "cva";
70
- import Link2 from "next/link";
71
-
72
- // src/components/primitives/avatar.tsx
73
- import * as AvatarPrimitive from "@radix-ui/react-avatar";
74
- import * as React3 from "react";
75
-
76
- // src/lib/utils.ts
77
- import { clsx } from "clsx";
78
- import { twMerge } from "tailwind-merge";
79
- function cn(...inputs) {
80
- return twMerge(clsx(inputs));
81
- }
82
-
83
- // src/components/primitives/avatar.tsx
84
- var AvatarBase = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
85
- AvatarPrimitive.Root,
86
- {
87
- ref,
88
- className: cn("relative flex shrink-0 overflow-hidden rounded-full", className),
89
- ...props
90
- }
91
- ));
92
- AvatarBase.displayName = AvatarPrimitive.Root.displayName;
93
- var AvatarImage = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
94
- AvatarPrimitive.Image,
95
- {
96
- ref,
97
- className: cn("aspect-square h-full w-full", className),
98
- "data-testid": "job-card-avatar",
99
- ...props
100
- }
101
- ));
102
- AvatarImage.displayName = AvatarPrimitive.Image.displayName;
103
- var AvatarFallback = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
104
- AvatarPrimitive.Fallback,
105
- {
106
- ref,
107
- className: cn(
108
- "flex h-full w-full items-center justify-center rounded-full bg-pumpkin-100 py-2 text-sm font-bold capitalize leading-normal text-white md:text-lg",
109
- className
110
- ),
111
- ...props
112
- }
113
- ));
114
- AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
115
-
116
- // src/components/ui/Avatar.tsx
117
- function Avatar({ size, src, href, name, ...linkProps }) {
118
- const fallbackShort = name?.slice(0, 2);
119
- const fallbackWords = name?.split(" ").map((n) => n[0]).join("").slice(0, 2);
120
- const fallback = fallbackWords && fallbackWords.length > 1 ? fallbackWords : fallbackShort;
121
- const renderAvatar = () => /* @__PURE__ */ React.createElement(AvatarBase, { className: avatarVariants({ size }) }, /* @__PURE__ */ React.createElement(AvatarImage, { src, alt: name }), /* @__PURE__ */ React.createElement(AvatarFallback, null, fallback?.toUpperCase()));
122
- if (href) {
123
- return /* @__PURE__ */ React.createElement(Link2, { href, ...linkProps }, renderAvatar());
124
- }
125
- return renderAvatar();
126
- }
127
- var avatarVariants = cva("ring ring-white ring-2", {
128
- variants: {
129
- size: {
130
- large: "h-16 w-16",
131
- medium: "h-10 w-10",
132
- small: "h-8 w-8"
133
- }
134
- },
135
- defaultVariants: {
136
- size: "medium"
137
- }
138
- });
139
-
140
- // src/components/company/CompanyTake.tsx
141
- function CompanyTake({ content, avatarSrc }) {
142
- if (!content) return null;
143
- return /* @__PURE__ */ React.createElement(
144
- "div",
145
- {
146
- "data-testid": "company-take",
147
- className: "align-center w-full justify-start rounded-2xl bg-green-90 p-6"
148
- },
149
- /* @__PURE__ */ React.createElement("p", { className: "text-lg font-bold text-white sm:text-xl" }, "The Real Dill \u2618\uFE0F"),
150
- /* @__PURE__ */ React.createElement("div", { className: "mt-2 flex items-center justify-start" }, /* @__PURE__ */ React.createElement("p", { className: "text-sm font-normal text-grey-10" }, content)),
151
- /* @__PURE__ */ React.createElement("div", { className: "mt-8 flex w-full items-center gap-3" }, /* @__PURE__ */ React.createElement(Avatar, { name: "Jon Lee", src: avatarSrc }), /* @__PURE__ */ React.createElement("div", { className: "flex flex-col flex-wrap items-start" }, /* @__PURE__ */ React.createElement("p", { className: "text-sm font-bold text-white" }, "Jon Lee, PT, DPT, OCS, FAAOMPT, MBA"), /* @__PURE__ */ React.createElement("p", { className: "text-xs font-normal text-grey-30" }, "Pickle co-founder")))
152
- );
153
- }
154
-
155
- // src/components/ui/ReadMore.tsx
156
- import { useEffect, useState } from "react";
157
- import Markdown from "react-markdown";
158
-
159
- // src/components/ui/Button.tsx
160
- import { Slot } from "@radix-ui/react-slot";
161
- import { cva as cva2 } from "cva";
162
- import { Loader2 } from "lucide-react";
163
- import React4, { forwardRef as forwardRef2 } from "react";
164
- var Button = forwardRef2(
165
- ({
166
- className,
167
- variant,
168
- size,
169
- asChild = false,
170
- type = "button",
171
- children,
172
- isLoading = false,
173
- ...props
174
- }, ref) => {
175
- const Component = asChild ? Slot : "button";
176
- return /* @__PURE__ */ React4.createElement(
177
- Component,
178
- {
179
- className: cn(buttonVariants({ variant, size, className, isLoading, asChild })),
180
- type,
181
- ref,
182
- ...props
183
- },
184
- asChild ? children : /* @__PURE__ */ React4.createElement(React4.Fragment, null, children, isLoading && /* @__PURE__ */ React4.createElement("div", { className: "absolute inset-0 flex items-center justify-center bg-white/30 backdrop-blur-[0.5px]" }, /* @__PURE__ */ React4.createElement(Loader2, { className: "h-5 w-5 animate-spin text-gray-800" })))
185
- );
186
- }
187
- );
188
- Button.displayName = "Button";
189
- var buttonVariants = cva2(
190
- [
191
- "relative",
192
- "flex",
193
- "items-center",
194
- "justify-center",
195
- "gap-2",
196
- "rounded-full",
197
- "font-bold",
198
- "outline-2",
199
- "outline-offset-2",
200
- "outline-dashed",
201
- "outline-transparent",
202
- "overflow-hidden"
203
- ],
204
- {
205
- variants: {
206
- variant: {
207
- neutral: [
208
- "bg-black",
209
- "text-white",
210
- "hover:bg-grey-90",
211
- "active:bg-grey-80",
212
- "focus:outline-purple-100",
213
- "disabled:text-grey-40",
214
- "disabled:bg-grey-10"
215
- ],
216
- primary: [
217
- "bg-pickle-100",
218
- "text-black",
219
- "hover:bg-pickle-80",
220
- "active:bg-pickle-60",
221
- "focus:outline-purple-100",
222
- "disabled:text-grey-40",
223
- "disabled:bg-grey-10"
224
- ],
225
- secondary: [
226
- "bg-green-80",
227
- "text-white",
228
- "hover:bg-green-90",
229
- "active:bg-green-100",
230
- "focus:outline-pickle-100",
231
- "disabled:text-grey-40",
232
- "disabled:bg-grey-10"
233
- ],
234
- transparent: [
235
- "text-white",
236
- "hover:bg-green-80",
237
- "active:bg-green-100",
238
- "focus:outline-pickle-100",
239
- "disabled:text-grey-40"
240
- ],
241
- link: [
242
- "leading-tight",
243
- "text-black",
244
- "underline",
245
- "hover:text-purple-100",
246
- "focus:text-black",
247
- "focus:outline-purple-100",
248
- "active:text-purple-80"
249
- ],
250
- "outline-primary": [
251
- "bg-transparent",
252
- "border-2",
253
- "border-pickle-100",
254
- "text-pickle-100",
255
- "hover:bg-pickle-100",
256
- "hover:text-black",
257
- "active:bg-pickle-80",
258
- "active:text-black",
259
- "focus:outline-purple-100",
260
- "disabled:text-grey-40",
261
- "disabled:border-grey-40",
262
- "disabled:hover:bg-transparent",
263
- "disabled:hover:text-grey-40"
264
- ],
265
- "outline-secondary": [
266
- "bg-transparent",
267
- "border-2",
268
- "border-green-80",
269
- "text-green-80",
270
- "hover:bg-green-80",
271
- "hover:text-white",
272
- "active:bg-green-90",
273
- "active:text-white",
274
- "focus:outline-pickle-100",
275
- "disabled:text-grey-40",
276
- "disabled:border-grey-40",
277
- "disabled:hover:bg-transparent",
278
- "disabled:hover:text-grey-40"
279
- ],
280
- "icon-outline": [
281
- "bg-transparent",
282
- "text-black",
283
- "hover:bg-grey-5",
284
- "active:bg-grey-10",
285
- "focus:outline-purple-100",
286
- "disabled:text-grey-40",
287
- "disabled:hover:bg-transparent",
288
- "disabled:hover:text-grey-40"
289
- ],
290
- "icon-primary": [
291
- "bg-pickle-100",
292
- "text-black",
293
- "hover:bg-pickle-80",
294
- "active:bg-pickle-60",
295
- "focus:outline-purple-100",
296
- "disabled:text-grey-40",
297
- "disabled:bg-grey-10"
298
- ],
299
- "icon-secondary": [
300
- "bg-green-80",
301
- "text-white",
302
- "hover:bg-green-90",
303
- "active:bg-green-100",
304
- "focus:outline-pickle-100",
305
- "disabled:text-grey-40",
306
- "disabled:bg-grey-10"
307
- ]
308
- },
309
- size: {
310
- "extra-small": ["h-8", "text-xs", "px-3", "py-1"],
311
- small: ["h-10", "text-sm", "px-4", "py-2"],
312
- medium: ["h-12", "text-base", "px-6", "py-3"],
313
- large: ["h-14", "text-lg", "px-8", "py-4"]
314
- },
315
- isLoading: {
316
- true: ["cursor-not-allowed", "pointer-events-none"]
317
- },
318
- asChild: {
319
- true: [],
320
- false: ["cursor-pointer", "pointer-events-auto"]
321
- }
322
- },
323
- defaultVariants: {
324
- variant: "neutral",
325
- size: "medium",
326
- isLoading: false,
327
- asChild: false
328
- },
329
- compoundVariants: [
330
- {
331
- variant: "link",
332
- size: "extra-small",
333
- class: ["h-3", "text-xs", "p-0"]
334
- },
335
- {
336
- variant: "link",
337
- size: "small",
338
- class: ["h-3", "text-xs", "p-0"]
339
- },
340
- {
341
- variant: "link",
342
- size: "medium",
343
- class: ["h-4", "text-sm", "p-0"]
344
- },
345
- {
346
- variant: "link",
347
- size: "large",
348
- class: ["h-6", "text-base", "p-0"]
349
- },
350
- {
351
- variant: "icon-outline",
352
- size: "extra-small",
353
- class: ["h-8", "w-8", "p-1.5", "[&>svg]:w-5", "[&>svg]:h-5"]
354
- },
355
- {
356
- variant: "icon-outline",
357
- size: "small",
358
- class: ["h-10", "w-10", "p-2", "[&>svg]:w-6", "[&>svg]:h-6"]
359
- },
360
- {
361
- variant: "icon-outline",
362
- size: "medium",
363
- class: ["h-12", "w-12", "p-2.5", "[&>svg]:w-7", "[&>svg]:h-7"]
364
- },
365
- {
366
- variant: "icon-outline",
367
- size: "large",
368
- class: ["h-14", "w-14", "p-3", "[&>svg]:w-8", "[&>svg]:h-8"]
369
- },
370
- {
371
- variant: "icon-primary",
372
- size: "extra-small",
373
- class: ["h-8", "w-8", "p-1.5", "[&>svg]:w-5", "[&>svg]:h-5"]
374
- },
375
- {
376
- variant: "icon-primary",
377
- size: "small",
378
- class: ["h-10", "w-10", "p-2", "[&>svg]:w-6", "[&>svg]:h-6"]
379
- },
380
- {
381
- variant: "icon-primary",
382
- size: "medium",
383
- class: ["h-12", "w-12", "p-2.5", "[&>svg]:w-7", "[&>svg]:h-7"]
384
- },
385
- {
386
- variant: "icon-primary",
387
- size: "large",
388
- class: ["h-14", "w-14", "p-3", "[&>svg]:w-8", "[&>svg]:h-8"]
389
- },
390
- {
391
- variant: "icon-secondary",
392
- size: "extra-small",
393
- class: ["h-8", "w-8", "p-1.5", "[&>svg]:w-5", "[&>svg]:h-5"]
394
- },
395
- {
396
- variant: "icon-secondary",
397
- size: "small",
398
- class: ["h-10", "w-10", "p-2", "[&>svg]:w-6", "[&>svg]:h-6"]
399
- },
400
- {
401
- variant: "icon-secondary",
402
- size: "medium",
403
- class: ["h-12", "w-12", "p-2.5", "[&>svg]:w-7", "[&>svg]:h-7"]
404
- },
405
- {
406
- variant: "icon-secondary",
407
- size: "large",
408
- class: ["h-14", "w-14", "p-3", "[&>svg]:w-8", "[&>svg]:h-8"]
409
- }
410
- ]
411
- }
412
- );
413
-
414
- // src/components/ui/ReadMore.tsx
415
- function ReadMore({ text, ...props }) {
416
- const [isExpanded, setIsExpanded] = useState(false);
417
- const [maxWords, setMaxWords] = useState(160);
418
- const isOverMaxWords = text.split(" ").length > maxWords;
419
- useEffect(() => {
420
- const updateMaxWords = () => {
421
- const windowWidth = window.innerWidth;
422
- if (windowWidth <= 768) {
423
- setMaxWords(50);
424
- } else {
425
- setMaxWords(160);
426
- }
427
- };
428
- updateMaxWords();
429
- window.addEventListener("resize", updateMaxWords);
430
- return () => window.removeEventListener("resize", updateMaxWords);
431
- }, []);
432
- function createReadMoreText(text2, maxWords2, isExpanded2) {
433
- if (!isOverMaxWords) return text2;
434
- const words = text2.split(" ");
435
- const snippet2 = isExpanded2 ? text2 : words.slice(0, maxWords2).join(" ");
436
- const readMoreText = isExpanded2 ? "" : "...";
437
- return `${snippet2} ${readMoreText}`;
438
- }
439
- const toggleText = () => setIsExpanded(!isExpanded);
440
- const snippet = createReadMoreText(text, maxWords, isExpanded);
441
- return /* @__PURE__ */ React.createElement("div", { ...props }, /* @__PURE__ */ React.createElement("div", { "data-testid": "read-more-text", className: "prose lg:prose-lg" }, /* @__PURE__ */ React.createElement(Markdown, null, snippet)), isOverMaxWords && /* @__PURE__ */ React.createElement(
442
- Button,
443
- {
444
- type: "button",
445
- className: "mt-2 flex items-center justify-center",
446
- variant: "link",
447
- onClick: toggleText
448
- },
449
- /* @__PURE__ */ React.createElement("p", { className: "text-sm font-bold underline underline-offset-2" }, "Read ", isExpanded ? "less" : "more")
450
- ));
451
- }
452
-
453
- // src/components/jobPost/JobDescription.tsx
454
- function JobDescription({ description }) {
455
- if (!description) return null;
456
- return /* @__PURE__ */ React.createElement("div", { className: "flex w-full flex-col gap-2" }, /* @__PURE__ */ React.createElement("h3", { className: "text-xl font-bold" }, "Job Description"), /* @__PURE__ */ React.createElement(ReadMore, { text: description }));
457
- }
458
-
459
- // src/components/jobPost/JobHeader.tsx
460
- import { Dot } from "lucide-react";
461
- import Image2 from "next/image";
462
-
463
- // src/components/buttons/BackButton.tsx
464
- import { X } from "lucide-react";
465
- import { useRouter } from "next/navigation";
466
-
467
- // src/components/ui/Icon.tsx
468
- import { Slot as Slot2 } from "@radix-ui/react-slot";
469
- import { cva as cva3 } from "cva";
470
- import { forwardRef as forwardRef3 } from "react";
471
- import { twMerge as twMerge2 } from "tailwind-merge";
472
- var Icon = forwardRef3(
473
- ({ variant, size, active = false, readonly = false, className, ...props }, ref) => {
474
- const Component = readonly ? Slot2 : "button";
475
- return /* @__PURE__ */ React.createElement(
476
- Component,
477
- {
478
- className: cn(
479
- twMerge2(iconVariants({ variant: active ? "active" : variant, size })),
480
- className
481
- ),
482
- ...props,
483
- ref
484
- }
485
- );
486
- }
487
- );
488
- Icon.displayName = "Icon";
489
- var iconVariants = cva3(
490
- [
491
- "inline-flex",
492
- "items-center",
493
- "rounded-full",
494
- "outline-2",
495
- "outline-offset-2",
496
- "outline-dashed",
497
- "outline-transparent",
498
- "disabled:text-grey-40",
499
- "disabled:bg-transparent",
500
- "disabled:pointer-events-none"
501
- ],
502
- {
503
- variants: {
504
- variant: {
505
- filled: [
506
- "border",
507
- "border-green-80",
508
- "bg-green-90",
509
- "text-white",
510
- "hover:bg-green-80",
511
- "active:bg-green-80",
512
- "focus:outline-pickle-100",
513
- "disabled:bg-green-70"
514
- ],
515
- transparent: [
516
- "text-black",
517
- "hover:bg-grey-5",
518
- "active:bg-grey-10",
519
- "focus:outline-purple-100"
520
- ],
521
- tonal: [
522
- "border",
523
- "border-grey-5",
524
- "hover:border-grey-10",
525
- "active:border-grey-20",
526
- "focus:outline-purple-100"
527
- ],
528
- active: ["text-black", "bg-pickle-100"]
529
- },
530
- size: {
531
- small: ["h-10", "w-10", "p-3"],
532
- medium: ["h-12", "w-12", "p-4"],
533
- large: ["h-14", "w-14", "p-4"]
534
- }
535
- },
536
- defaultVariants: {
537
- variant: "filled",
538
- size: "medium"
539
- }
540
- }
541
- );
542
-
543
- // src/hooks/useWindowHistory.ts
544
- import { useContext } from "react";
545
-
546
- // src/contexts/WindowHistoryProvider.tsx
547
- import { useSearchParams } from "next/navigation";
548
- import { createContext, useEffect as useEffect2, useMemo, useState as useState2 } from "react";
549
- var WindowHistoryContext = createContext({});
550
-
551
- // src/hooks/useWindowHistory.ts
552
- function useWindowHistory() {
553
- const windowHistoryContext = useContext(WindowHistoryContext);
554
- return windowHistoryContext;
555
- }
556
-
557
- // src/components/buttons/BackButton.tsx
558
- function BackButton({ acceptedRoutes, fallbackHref, className, ...props }) {
559
- const { history } = useWindowHistory();
560
- const router = useRouter();
561
- const isAcceptedRoute = (r) => !!acceptedRoutes?.find((route) => new RegExp("^" + route + "$", "i").test(new URL(r).pathname));
562
- const goBack = () => {
563
- const previous = history[history.length - 2];
564
- if (history.length > 1 && isAcceptedRoute(previous)) {
565
- router.back();
566
- } else {
567
- router.push(fallbackHref ?? "/");
568
- }
569
- };
570
- return /* @__PURE__ */ React.createElement(
571
- Icon,
572
- {
573
- "aria-label": "back button",
574
- variant: "transparent",
575
- size: "small",
576
- onClick: goBack,
577
- className,
578
- ...props
579
- },
580
- /* @__PURE__ */ React.createElement(X, null)
581
- );
582
- }
583
-
584
- // src/components/ui/Chip.tsx
585
- import { cva as cva4 } from "cva";
586
- import React5 from "react";
587
- import { twMerge as twMerge3 } from "tailwind-merge";
588
- var Chip = ({ className, variant, size, ...props }) => /* @__PURE__ */ React5.createElement("div", { className: twMerge3(chipVariants({ variant, size, className })), ...props });
589
- var chipVariants = cva4(["flex", "items-center", "rounded-3xl", "border", "w-fit"], {
590
- variants: {
591
- variant: {
592
- neutral: ["text-grey-80", "border-grey-10"],
593
- primary: ["text-purple-100", "border-purple-20"],
594
- danger: ["text-pumpkin-100", "border-pumpkin-20"],
595
- jobLocation: ["text-grey-80", "border-grey-10", "bg-grey-5"],
596
- onboarding: ["text-green-100", "bg-green-10", "cursor-pointer"],
597
- onboardingSelected: ["text-white", "bg-green-90", "cursor-pointer"]
598
- },
599
- size: {
600
- small: ["text-sm", "leading-5", "px-2", "py-1", "gap-1.5"],
601
- medium: ["text-base", "leading-6", "px-3", "py-2", "gap-2"]
602
- }
603
- },
604
- defaultVariants: {
605
- variant: "neutral",
606
- size: "medium"
607
- }
608
- });
609
- var Chip_default = Chip;
610
-
611
- // src/lib/icons.ts
612
- import {
613
- Banknote,
614
- Bell,
615
- BriefcaseBusiness,
616
- Building,
617
- Building2,
618
- CircleUser,
619
- CircleUserRound,
620
- Clock2,
621
- Contact,
622
- GalleryVerticalEnd,
623
- Home,
624
- KeyRound,
625
- Layers,
626
- LifeBuoy,
627
- MapPin,
628
- MessageSquareDot,
629
- Settings,
630
- SquareKanban,
631
- Users,
632
- Wallet
633
- } from "lucide-react";
634
- var iconMap = {
635
- house: Home,
636
- layers: Layers,
637
- users: Users,
638
- settings: Settings,
639
- building: Building,
640
- bell: Bell,
641
- wallet: Wallet,
642
- contact: Contact,
643
- banknote: Banknote,
644
- "message-square-dot": MessageSquareDot,
645
- "life-buoy": LifeBuoy,
646
- "building-2": Building2,
647
- "gallery-vertical-end": GalleryVerticalEnd,
648
- "square-kanban": SquareKanban,
649
- "briefcase-business": BriefcaseBusiness,
650
- "circle-user": CircleUser,
651
- "key-round": KeyRound,
652
- "clock-2": Clock2,
653
- "circle-user-round": CircleUserRound,
654
- "map-pin": MapPin
655
- };
656
-
657
- // src/components/jobPost/JobHeader.tsx
658
- function JobHeader({
659
- title,
660
- subtitles,
661
- standalone,
662
- bannerSrc,
663
- avatarSrc,
664
- avatarName,
665
- avatarHref,
666
- backFallbackHref,
667
- backAcceptedRoutes,
668
- actions,
669
- tags
670
- }) {
671
- const renderIcon = (icon) => {
672
- const Icon2 = iconMap[icon];
673
- return /* @__PURE__ */ React.createElement(Icon2, { size: 18 });
674
- };
675
- return /* @__PURE__ */ React.createElement(
676
- "div",
677
- {
678
- "data-testid": "job-header-root",
679
- className: cn(
680
- "-mt-8 flex w-full flex-col items-center justify-between gap-6 md:-mt-0",
681
- !standalone && "rounded-3xl"
682
- )
683
- },
684
- !standalone && /* @__PURE__ */ React.createElement("div", { className: "relative flex min-h-16 w-full items-center rounded-t-3xl bg-transparent md:min-h-24 md:flex-row lg:min-h-32" }, /* @__PURE__ */ React.createElement(
685
- Image2,
686
- {
687
- className: "h-full w-full rounded-t-3xl object-cover",
688
- src: bannerSrc,
689
- alt: "job banner",
690
- fill: true
691
- }
692
- ), /* @__PURE__ */ React.createElement(
693
- BackButton,
694
- {
695
- acceptedRoutes: backAcceptedRoutes,
696
- fallbackHref: backFallbackHref,
697
- className: "absolute right-2 top-2 flex items-center justify-center text-white sm:hidden",
698
- "data-testid": "job-header-back-button"
699
- }
700
- ), /* @__PURE__ */ React.createElement(
701
- "div",
702
- {
703
- className: "absolute left-4 top-8 md:left-6 md:top-16 lg:top-24",
704
- "data-testid": "job-header-avatar"
705
- },
706
- /* @__PURE__ */ React.createElement(
707
- Avatar,
708
- {
709
- size: "large",
710
- target: "_blank",
711
- href: avatarHref,
712
- name: avatarName,
713
- src: avatarSrc,
714
- rel: "noopener noreferrer"
715
- }
716
- )
717
- )),
718
- /* @__PURE__ */ React.createElement("div", { className: "flex w-full flex-col items-start justify-start gap-4 px-6" }, /* @__PURE__ */ React.createElement("div", { className: "flex flex-col md:flex-row" }, standalone && /* @__PURE__ */ React.createElement("div", { className: "-mt-4 mr-4 md:mt-0", "data-testid": "job-header-avatar" }, /* @__PURE__ */ React.createElement(
719
- Avatar,
720
- {
721
- size: "large",
722
- target: "_blank",
723
- href: avatarHref,
724
- name: avatarName,
725
- src: avatarSrc,
726
- rel: "noopener noreferrer"
727
- }
728
- )), /* @__PURE__ */ React.createElement("div", { className: "prose mt-4 flex w-full items-center text-grey-80 lg:prose-lg" }, subtitles?.map((subtitle, i) => /* @__PURE__ */ React.createElement(
729
- "div",
730
- {
731
- key: subtitle,
732
- "data-testid": `job-header-subtitle-${i}`,
733
- className: "flex items-center"
734
- },
735
- subtitle,
736
- i < subtitles.length - 1 && /* @__PURE__ */ React.createElement(Dot, { className: "mx-1 shrink-0", size: 10 })
737
- )))), /* @__PURE__ */ React.createElement(
738
- "div",
739
- {
740
- "data-testid": "job-header-content",
741
- className: "mt-2 flex w-full flex-row flex-wrap items-center justify-between gap-1"
742
- },
743
- /* @__PURE__ */ React.createElement(
744
- "h2",
745
- {
746
- "data-testid": "job-header-title",
747
- className: "break-word max-w-full text-2xl font-bold text-black sm:max-w-2xl md:max-w-lg"
748
- },
749
- title
750
- ),
751
- !!actions && /* @__PURE__ */ React.createElement(
752
- "div",
753
- {
754
- className: "flex w-full justify-end gap-2 md:w-auto",
755
- "data-testid": "job-header-actions"
756
- },
757
- actions
758
- )
759
- ), /* @__PURE__ */ React.createElement(
760
- "div",
761
- {
762
- "data-testid": "job-header-tags",
763
- className: "flex flex-row flex-wrap items-center justify-start gap-2"
764
- },
765
- tags?.map(({ name, label, icon }) => /* @__PURE__ */ React.createElement(
766
- Chip_default,
767
- {
768
- key: `${name}-${label}`,
769
- size: "small",
770
- variant: "neutral",
771
- "aria-label": name,
772
- "data-testid": `job-header-tag-${name}`
773
- },
774
- renderIcon(icon),
775
- /* @__PURE__ */ React.createElement("span", null, label)
776
- ))
777
- ))
778
- );
779
- }
780
-
781
- // src/hooks/useDisplayText.ts
782
- import { useEffect as useEffect3, useMemo as useMemo2, useState as useState3 } from "react";
783
-
784
- // src/lib/mappings.ts
785
- var employmentTypeDisplayText = {
786
- FULL_TIME: {
787
- en: "Full Time"
788
- },
789
- INTERNSHIP: {
790
- en: "Internship"
791
- },
792
- OTHER: {
793
- en: "Other"
794
- },
795
- PART_TIME: {
796
- en: "Part Time"
797
- },
798
- PER_DIEM: {
799
- en: "Per-Diem"
800
- },
801
- TEMPORARY: {
802
- en: "Temporary"
803
- },
804
- CONTRACT: {
805
- en: "Contract"
806
- }
807
- };
808
- var unitTextDisplayText = {
809
- DAY: {
810
- en: "Day"
811
- },
812
- HOUR: {
813
- en: "Hour"
814
- },
815
- MONTH: {
816
- en: "Month"
817
- },
818
- PER_ACTIVITY: {
819
- en: "Per Activity"
820
- },
821
- WEEK: {
822
- en: "Week"
823
- },
824
- YEAR: {
825
- en: "Year"
826
- }
827
- };
828
- var currencyDisplayText = {
829
- EUR: {
830
- en: "\u20AC"
831
- },
832
- GBP: {
833
- en: "\xA3"
834
- },
835
- USD: {
836
- en: "$"
837
- }
838
- };
839
- var employmentLevelDisplayText = {
840
- DIRECTOR: {
841
- en: "Director"
842
- },
843
- ENTRY_LEVEL: {
844
- en: "Entry Level"
845
- },
846
- EXECUTIVE: {
847
- en: "Executive"
848
- },
849
- EXPERIENCED: {
850
- en: "Experienced"
851
- },
852
- INTERN: {
853
- en: "Intern"
854
- },
855
- MANAGER: {
856
- en: "Manager"
857
- }
858
- };
859
- var jobFunctionDisplayText = {
860
- CLINICAL_RESEARCH: {
861
- en: "Clinical Research"
862
- },
863
- CUSTOMER_SUCCESS: {
864
- en: "Customer Success"
865
- },
866
- DATA_ANALYTICS: {
867
- en: "Data Analytics"
868
- },
869
- FINANCE_AND_AUDIT: {
870
- en: "Finance and Audit"
871
- },
872
- MARKETING: {
873
- en: "Marketing"
874
- },
875
- OPERATIONS: {
876
- en: "Operations"
877
- },
878
- PEOPLE_HUMAN_RESOURCES: {
879
- en: "People Human Resources"
880
- },
881
- PRODUCT_AND_TECH: {
882
- en: "Product and Tech"
883
- },
884
- QUALITY_ASSURANCE_AND_OUTCOMES: {
885
- en: "Quality Assurance and Outcomes"
886
- },
887
- SALES_AND_BUSINESS_DEVELOPMENT: {
888
- en: "Sales and Business Development"
889
- },
890
- STRATEGY_AND_CONSULTING: {
891
- en: "Strategy and Consulting"
892
- }
893
- };
894
- var bestFitDisplayText = {
895
- DENTIST: {
896
- en: "Dentist"
897
- },
898
- DIETICIAN: {
899
- en: "Dietician"
900
- },
901
- DOULA: {
902
- en: "Doula"
903
- },
904
- MEDICAL_ASSISTANT: {
905
- en: "Medical Assistant"
906
- },
907
- MIDWIFE: {
908
- en: "Midwife"
909
- },
910
- NURSE: {
911
- en: "Nurse"
912
- },
913
- OCCUPATIONAL_THERAPIST: {
914
- en: "Occupational Therapist"
915
- },
916
- PHARMACIST: {
917
- en: "Pharmacist"
918
- },
919
- PHYSICAL_THERAPIST: {
920
- en: "Physical Therapist"
921
- },
922
- PHYSICIAN: {
923
- en: "Physician"
924
- },
925
- PHYSICIAN_ASSISTANT: {
926
- en: "Physician Assistant"
927
- },
928
- PSYCHOLOGIST: {
929
- en: "Psychologist"
930
- },
931
- RADIOLOGIST: {
932
- en: "Radiologist"
933
- },
934
- SOCIAL_WORKER: {
935
- en: "Social Worker"
936
- },
937
- SPEECH_LANGUAGE_PATHOLOGIST: {
938
- en: "Speech Language Pathologist"
939
- },
940
- SURGEON: {
941
- en: "Surgeon"
942
- }
943
- };
944
- var clinicalSpecialtyDisplayText = {
945
- ANESTHESIOLOGY: {
946
- en: "Anesthesiology"
947
- },
948
- CARDIOLOGY: {
949
- en: "Cardiology"
950
- },
951
- CARDIOVASCULAR_AND_PULMONARY: {
952
- en: "Cardiovascular and Pulmonary"
953
- },
954
- CASE_MANAGEMENT: {
955
- en: "Case Management"
956
- },
957
- CHRONIC_PAIN: {
958
- en: "Chronic Pain"
959
- },
960
- CLINICAL_ELECTROPHYSIOLOGY: {
961
- en: "Clinical Electrophysiology"
962
- },
963
- CRITICAL_AND_ACUTE_CARE: {
964
- en: "Critical and Acute Care"
965
- },
966
- DERMATOLOGY: {
967
- en: "Dermatology"
968
- },
969
- DIALYSIS: {
970
- en: "Dialysis"
971
- },
972
- EMERGENCY_MEDICINE: {
973
- en: "Emergency Medicine"
974
- },
975
- ENDOCRINOLOGY: {
976
- en: "Endocrinology"
977
- },
978
- ERGONOMICS: {
979
- en: "Ergonomics"
980
- },
981
- FEEDING_EATING_AND_SWALLOWING: {
982
- en: "Feeding, Eating, and Swallowing"
983
- },
984
- GASTROENTEROLOGY: {
985
- en: "Gastroenterology"
986
- },
987
- GERIATRICS: {
988
- en: "Geriatrics"
989
- },
990
- HAND_THERAPY: {
991
- en: "Hand Therapy"
992
- },
993
- HEMATOLOGY: {
994
- en: "Hematology"
995
- },
996
- HOLISTIC_MEDICINE: {
997
- en: "Holistic Medicine"
998
- },
999
- INFORMATICS: {
1000
- en: "Informatics"
1001
- },
1002
- INTERNAL_MEDICINE: {
1003
- en: "Internal Medicine"
1004
- },
1005
- LABOR_AND_DELIVERY: {
1006
- en: "Labor and Delivery"
1007
- },
1008
- MANUAL_THERAPY: {
1009
- en: "Manual Therapy"
1010
- },
1011
- MED_SURG: {
1012
- en: "Medical-Surgical"
1013
- },
1014
- MENTAL_HEALTH: {
1015
- en: "Mental Health"
1016
- },
1017
- NEPHROLOGY: {
1018
- en: "Nephrology"
1019
- },
1020
- NEUROLOGY: {
1021
- en: "Neurology"
1022
- },
1023
- ONCOLOGY: {
1024
- en: "Oncology"
1025
- },
1026
- ORTHOPEDICS: {
1027
- en: "Orthopedics"
1028
- },
1029
- OTOLARYNGOLOGY: {
1030
- en: "Otolaryngology"
1031
- },
1032
- PEDIATRICS: {
1033
- en: "Pediatrics"
1034
- },
1035
- PHYSICAL_AND_REHABILITATION_MEDICINE: {
1036
- en: "Physical and Rehabilitation Medicine"
1037
- },
1038
- PLASTIC_SURGERY: {
1039
- en: "Plastic Surgery"
1040
- },
1041
- PRIMARY_CARE: {
1042
- en: "Primary Care"
1043
- },
1044
- PSYCHIATRY: {
1045
- en: "Psychiatry"
1046
- },
1047
- PULMONOLOGY: {
1048
- en: "Pulmonology"
1049
- },
1050
- RADIOLOGY: {
1051
- en: "Radiology"
1052
- },
1053
- SENSORY: {
1054
- en: "Sensory"
1055
- },
1056
- SPORTS: {
1057
- en: "Sports"
1058
- },
1059
- SURGERY: {
1060
- en: "Surgery"
1061
- },
1062
- TRANSPLANT_SURGERY: {
1063
- en: "Transplant Surgery"
1064
- },
1065
- TRAUMA_MEDICINE: {
1066
- en: "Trauma Medicine"
1067
- },
1068
- URGENT_CARE: {
1069
- en: "Urgent Care"
1070
- },
1071
- UROLOGY: {
1072
- en: "Urology"
1073
- },
1074
- VISION: {
1075
- en: "Vision"
1076
- },
1077
- WOMENS_HEALTH: {
1078
- en: "Women's Health"
1079
- },
1080
- WOUND_AND_BURN_CARE: {
1081
- en: "Wound and Burn Care"
1082
- },
1083
- WOUND_MANAGEMENT: {
1084
- en: "Wound Management"
1085
- }
1086
- };
1087
- var shiftDisplayText = {
1088
- TEN_HOUR: {
1089
- en: "10 Hour"
1090
- },
1091
- TWELVE_HOUR: {
1092
- en: "12 Hour"
1093
- },
1094
- EIGHT_HOUR: {
1095
- en: "8 Hour"
1096
- },
1097
- DAY: {
1098
- en: "Day"
1099
- },
1100
- EVENING: {
1101
- en: "Evening"
1102
- },
1103
- FLEXIBLE: {
1104
- en: "Flexible"
1105
- },
1106
- MID_SHIFT: {
1107
- en: "Mid Shift"
1108
- },
1109
- MONDAY_TO_FRIDAY: {
1110
- en: "Monday to Friday"
1111
- },
1112
- NIGHT: {
1113
- en: "Night"
1114
- },
1115
- ON_CALL: {
1116
- en: "On Call"
1117
- },
1118
- WEEKENDS: {
1119
- en: "Weekends"
1120
- }
1121
- };
1122
- var clinicalSettingDisplayText = {
1123
- ACUTE_CARE: {
1124
- en: "Acute Care"
1125
- },
1126
- AMBULATORY_SURGERY_CENTER: {
1127
- en: "Ambulatory Surgery Center"
1128
- },
1129
- CLINIC: {
1130
- en: "Clinic"
1131
- },
1132
- HOME_HEALTH: {
1133
- en: "Home Health"
1134
- },
1135
- HOSPITAL: {
1136
- en: "Hospital"
1137
- },
1138
- INPATIENT: {
1139
- en: "Inpatient"
1140
- },
1141
- LONG_TERM_CARE: {
1142
- en: "Long Term Care"
1143
- },
1144
- MED_SPA: {
1145
- en: "Med Spa"
1146
- },
1147
- NURSING_HOME: {
1148
- en: "Nursing Home"
1149
- },
1150
- OFFICE: {
1151
- en: "Office"
1152
- },
1153
- OUTPATIENT: {
1154
- en: "Outpatient"
1155
- },
1156
- PRIVATE_PRACTICE: {
1157
- en: "Private Practice"
1158
- },
1159
- REHAB_CENTER: {
1160
- en: "Rehab Center"
1161
- },
1162
- SCHOOL: {
1163
- en: "School"
1164
- },
1165
- SKILLED_NURSING_FACILITY: {
1166
- en: "Skilled Nursing Facility"
1167
- }
1168
- };
1169
- var defaultMappings = {
1170
- employmentType: employmentTypeDisplayText,
1171
- unitText: unitTextDisplayText,
1172
- currency: currencyDisplayText,
1173
- employmentLevel: employmentLevelDisplayText,
1174
- jobFunction: jobFunctionDisplayText,
1175
- bestFit: bestFitDisplayText,
1176
- clinicalSpecialty: clinicalSpecialtyDisplayText,
1177
- clinicalSetting: clinicalSettingDisplayText,
1178
- shift: shiftDisplayText
1179
- };
1180
-
1181
- // src/types/displayText.errors.tsx
1182
- var DisplayTextScopeNotFoundError = class extends Error {
1183
- constructor(scope) {
1184
- super(`No display text mapping found for scope: ${scope}`);
1185
- this.name = "DisplayTextScopeNotFoundError";
1186
- }
1187
- };
1188
- var DisplayTextValueNotFoundError = class extends Error {
1189
- constructor(value, scope) {
1190
- super(`No display text found for value: '${value}' in scope: '${scope}'`);
1191
- this.name = "DisplayTextValueNotFoundError";
1192
- }
1193
- };
1194
-
1195
- // src/services/displayText.tsx
1196
- var DisplayTextService = class {
1197
- constructor(customMappings) {
1198
- this.defaultLanguage = "en";
1199
- this.mappings = {
1200
- ...defaultMappings,
1201
- // Use all pre-defined mappings as defaults
1202
- ...customMappings
1203
- // Override with any custom mappings if provided
1204
- };
1205
- }
1206
- async getDisplayText(scope, value, language = this.defaultLanguage) {
1207
- const scopeMapping = this.mappings[scope];
1208
- if (!scopeMapping) {
1209
- throw new DisplayTextScopeNotFoundError(scope);
1210
- }
1211
- if (Array.isArray(value)) {
1212
- const displayTextPromises = value.map((v) => this.getDisplayText(scope, v, language));
1213
- const displayTexts2 = await Promise.all(displayTextPromises);
1214
- return displayTexts2.filter((v) => !!v).join(", ");
1215
- }
1216
- const displayTexts = scopeMapping[value];
1217
- if (!displayTexts) {
1218
- throw new DisplayTextValueNotFoundError(value, scope);
1219
- }
1220
- return displayTexts[language] || displayTexts[this.defaultLanguage] || value;
1221
- }
1222
- };
1223
-
1224
- // src/hooks/useDisplayText.ts
1225
- var useDisplayText = (scope, value) => {
1226
- const [displayText, setDisplayText] = useState3("");
1227
- const displayService = useMemo2(() => new DisplayTextService(), []);
1228
- useEffect3(() => {
1229
- if (!displayService || !value) {
1230
- setDisplayText("");
1231
- return;
1232
- }
1233
- void (async () => {
1234
- try {
1235
- const result = await displayService.getDisplayText(scope, value);
1236
- if (typeof result === "string") {
1237
- setDisplayText(result);
1238
- } else {
1239
- console.error("Expected a string result, but got:", result);
1240
- }
1241
- } catch (error) {
1242
- if (error instanceof DisplayTextValueNotFoundError) {
1243
- console.warn("Display text value not found:", value);
1244
- setDisplayText(String(value));
1245
- } else {
1246
- console.error("Unexpected error formatting text:", error);
1247
- setDisplayText(String(value));
1248
- }
1249
- }
1250
- })();
1251
- }, [scope, value, displayService]);
1252
- return displayText;
1253
- };
1254
-
1255
- // src/lib/locations.ts
1256
- function formattedAddress(address, isRemote = false) {
1257
- if (!address) return null;
1258
- const { addressLocality, addressRegion, addressCountry } = address;
1259
- const remoteMessage = isRemote ? " | Remote" : "";
1260
- if (addressLocality && addressRegion)
1261
- return `${addressLocality}, ${addressRegion + remoteMessage}`;
1262
- if (addressRegion && addressCountry) return `${addressRegion}, ${addressCountry + remoteMessage}`;
1263
- if (addressRegion) return `${addressRegion + remoteMessage}`;
1264
- if (addressCountry) return `${addressCountry + remoteMessage}`;
1265
- return null;
1266
- }
1267
- function getAddressList(jobPost) {
1268
- const locations = [];
1269
- if (jobPost.jobLocation) {
1270
- const address = formattedAddress(jobPost.jobLocation, jobPost.isRemote);
1271
- if (address) locations.push(address);
1272
- }
1273
- if (jobPost.applicableOffices && jobPost.applicableOffices.length > 0) {
1274
- jobPost.applicableOffices.map((office) => {
1275
- const address = formattedAddress(office?.geoLocation?.address, jobPost.isRemote);
1276
- if (address && !locations.includes(address)) locations.push(address);
1277
- });
1278
- }
1279
- if (jobPost.applicantLocationRequirements && jobPost.applicantLocationRequirements.length > 0) {
1280
- jobPost.applicantLocationRequirements.map((place) => {
1281
- const address = formattedAddress(place?.address, jobPost.isRemote);
1282
- if (address && !locations.includes(address)) locations.push(address);
1283
- });
1284
- }
1285
- return locations;
1286
- }
1287
-
1288
- // src/types/latest/company_service_latest.ts
1289
- import { z as z2 } from "zod";
1290
-
1291
- // src/types/latest/shared_pickle_output_latest.ts
1292
- var shared_pickle_output_latest_exports = {};
1293
- __export(shared_pickle_output_latest_exports, {
1294
- CurrencyEnum: () => CurrencyEnum,
1295
- DetailLevelEnum: () => DetailLevelEnum,
1296
- TypeEnum: () => TypeEnum,
1297
- UnitTextEnum: () => UnitTextEnum,
1298
- imageAssetSchema: () => imageAssetSchema,
1299
- imageSchema: () => imageSchema,
1300
- monetaryAmountSchema: () => monetaryAmountSchema,
1301
- placeSchema: () => placeSchema,
1302
- postalAddressSchema: () => postalAddressSchema,
1303
- quantitativeValueSchema: () => quantitativeValueSchema
1304
- });
1305
- import { z } from "zod";
1306
- var TypeEnum = z.enum(["IMAGE"]);
1307
- var DetailLevelEnum = z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
1308
- var UnitTextEnum = z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
1309
- var CurrencyEnum = z.enum(["EUR", "GBP", "USD"]);
1310
- var postalAddressSchema = z.object({
1311
- version: z.literal("1.0.0").default("1.0.0"),
1312
- type: z.string().describe("Document type used for schema"),
1313
- addressCountry: z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
1314
- addressRegion: z.optional(z.string()).describe("The region in which the locality is, and which is in the country."),
1315
- addressLocality: z.optional(z.string()).describe("The locality in which the street address is, and which is in the region. In the US this would be city."),
1316
- streetAddress: z.optional(z.string()).describe("The street name of the address within the locality."),
1317
- streetNumber: z.optional(z.string()).describe("The house of building number within the street."),
1318
- postalCode: z.optional(z.string()).describe("The postal code"),
1319
- description: z.optional(z.string()).describe("A descriptive string containing the full address.")
1320
- });
1321
- var placeSchema = z.object({
1322
- version: z.literal("1.0.0").default("1.0.0"),
1323
- detailLevel: z.optional(DetailLevelEnum),
1324
- latitude: z.optional(z.number()).describe("The latitude of a location."),
1325
- longitude: z.optional(z.number()).describe("The longitude of a location."),
1326
- address: z.optional(postalAddressSchema).describe("The physical place of the location")
1327
- });
1328
- var quantitativeValueSchema = z.object({
1329
- version: z.literal("1.0.0").default("1.0.0"),
1330
- type: z.string().describe("Document type used for schema"),
1331
- value: z.optional(z.number()).describe("The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary."),
1332
- minValue: z.optional(z.number()).describe("The single minium value in a range for a quantitative_value, requires a maximum value."),
1333
- maxValue: z.optional(z.number()).describe("The maximum value in a range for a quantitative_value, requires a minimum value."),
1334
- unitText: UnitTextEnum
1335
- });
1336
- var monetaryAmountSchema = z.object({
1337
- version: z.literal("1.0.0").default("1.0.0"),
1338
- type: z.string().describe("Document type used for schema"),
1339
- singleValue: z.optional(z.number()).describe("The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead."),
1340
- minValue: z.optional(z.number()).describe("The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue"),
1341
- maxValue: z.optional(z.number()).describe("The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue"),
1342
- value: z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
1343
- currency: z.optional(CurrencyEnum)
1344
- });
1345
- var imageAssetSchema = z.object({
1346
- version: z.literal("1.0.0").default("1.0.0"),
1347
- altText: z.optional(z.string()).describe("The alt text for the image"),
1348
- assetId: z.optional(z.string()).describe("The asset ID for the image"),
1349
- description: z.optional(z.string()).describe("The description for the image"),
1350
- extension: z.optional(z.string()).describe("The extension for the image"),
1351
- label: z.optional(z.string()).describe("The label for the image"),
1352
- mimeType: z.optional(z.string()).describe("The mime type for the image"),
1353
- originalFilename: z.optional(z.string()).describe("The original filename for the image"),
1354
- path: z.optional(z.string()).describe("The path for the image"),
1355
- sha1Hash: z.optional(z.string()).describe("The SHA1 hash for the image"),
1356
- size: z.optional(z.number()).describe("The size for the image"),
1357
- title: z.optional(z.string()).describe("The title for the image"),
1358
- uploadId: z.optional(z.string()).describe("The upload ID for the image"),
1359
- url: z.optional(z.string()).describe("The URL for the image")
1360
- });
1361
- var imageSchema = z.object({
1362
- version: z.literal("1.0.0").default("1.0.0"),
1363
- type: z.string().describe("Document type used for schema"),
1364
- asset: z.optional(imageAssetSchema).describe("The asset for the image")
1365
- });
1366
-
1367
- // src/types/latest/company_service_latest.ts
1368
- var TypeEnum2 = z2.enum(["OFFICE"]);
1369
- var CategoryEnum = z2.enum(["FINANCIAL", "HEALTH", "PROFESSIONAL_DEVELOPMENT", "WORK_LIFE_BALANCE"]);
1370
- var TitleEnum = z2.enum(["DMD", "JD", "MBA", "MD", "MHA", "MPH", "PT", "PH_D", "RN"]);
1371
- var PublishStatusEnum = z2.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
1372
- var OfficeTypeEnum = z2.enum(["BRANCH", "HEADQUARTERS", "SATELLITE"]);
1373
- var socialMediaSchema = z2.object({
1374
- version: z2.literal("1.0.0").default("1.0.0"),
1375
- url: z2.string().describe("The link to the social media platform"),
1376
- type: z2.string().describe("The type of social media link")
1377
- });
1378
- var companyBenefitsSchema = z2.object({
1379
- version: z2.literal("1.0.0").default("1.0.0"),
1380
- type: z2.string().describe("Document type used for schema"),
1381
- title: z2.string(),
1382
- description: z2.optional(z2.string()),
1383
- category: CategoryEnum
1384
- });
1385
- var industrySchema = z2.lazy(() => z2.object({
1386
- version: z2.literal("1.0.0").default("1.0.0"),
1387
- type: z2.string().describe("Document type used for schema"),
1388
- name: z2.string(),
1389
- description: z2.optional(z2.string()).describe("A brief description of the industry"),
1390
- onetIndustryId: z2.optional(z2.string()).describe("ONET industry ID"),
1391
- parent: z2.optional(industrySchema)
1392
- }));
1393
- var jobBoardSchema = z2.object({
1394
- version: z2.literal("1.0.0").default("1.0.0"),
1395
- type: z2.string().describe("Document type used for schema"),
1396
- name: z2.string().describe("The name of the job board"),
1397
- description: z2.string().describe("A brief description of the job board"),
1398
- logo: z2.optional(imageSchema).describe("The logo of the job board"),
1399
- baseUrl: z2.optional(z2.string()).describe("The base URL of the job board")
1400
- });
1401
- var personSchema = z2.object({
1402
- version: z2.literal("1.0.0").default("1.0.0"),
1403
- type: z2.string().describe("Document type used for schema"),
1404
- firstName: z2.string().describe("The first name of the person"),
1405
- lastName: z2.string().describe("The last name of the person"),
1406
- title: z2.optional(z2.array(z2.string())).describe("The titles of the degree of the person"),
1407
- slug: z2.string().describe("person slug - should be familyname-givenname-title(s)"),
1408
- jobTitle: z2.optional(z2.string()).describe("The job title of the person"),
1409
- isDoctor: z2.optional(z2.boolean()).describe("Is the person a doctor"),
1410
- isMedical: z2.optional(z2.boolean()).describe("Are they of a medical background?"),
1411
- isScientist: z2.optional(z2.boolean()).describe("Are they a scientist?"),
1412
- image: z2.optional(imageSchema).describe("The image of the person"),
1413
- email: z2.optional(z2.string()).describe("The email of the person"),
1414
- socialMedia: z2.optional(z2.array(socialMediaSchema)).describe("The social media links of the person"),
1415
- telephone: z2.optional(z2.string()).describe("The telephone number of the person"),
1416
- url: z2.optional(z2.string()).describe("The URL of the person"),
1417
- address: z2.optional(placeSchema).describe("The address of the person")
1418
- });
1419
- var companyCareersSchema = z2.object({
1420
- version: z2.literal("1.0.0").default("1.0.0"),
1421
- type: z2.string().describe("Document type used for schema"),
1422
- careersUrl: z2.string().describe("The URL of the company careers page"),
1423
- jobBoard: z2.optional(jobBoardSchema),
1424
- jobBoardSlug: z2.optional(z2.array(z2.string())),
1425
- companyBenefits: z2.optional(z2.array(companyBenefitsSchema)).describe("What are the specific benefits of that company. The benefit is generic.")
1426
- });
1427
- var companyPhilosophySchema = z2.object({
1428
- version: z2.literal("1.0.0").default("1.0.0"),
1429
- type: z2.string().describe("Document type used for schema"),
1430
- companyMission: z2.optional(z2.string()).describe("The mission statement of the company."),
1431
- companyHow: z2.optional(z2.string()).describe("How does the company achieve its mission"),
1432
- companyCulture: z2.optional(z2.array(z2.string())).describe("What are some of the culture aspects of this company?")
1433
- });
1434
- var companyNdgSchema = z2.object({
1435
- version: z2.literal("1.0.0").default("1.0.0"),
1436
- type: z2.string().describe("Document type used for schema"),
1437
- companyWow: z2.optional(z2.string()).describe("What is the wow of this company?"),
1438
- companyNdgTake: z2.optional(z2.string()).describe("What is the NDG POV on this company?"),
1439
- companyBestFit: z2.optional(z2.array(z2.string())),
1440
- companyInterests: z2.optional(z2.array(z2.string()))
1441
- });
1442
- var foundingInformationSchema = z2.object({
1443
- version: z2.literal("1.0.0").default("1.0.0"),
1444
- type: z2.string().describe("Document type used for schema"),
1445
- foundedDate: z2.optional(z2.string()),
1446
- foundedCountry: z2.optional(z2.string()),
1447
- foundedCity: z2.optional(z2.string()),
1448
- founders: z2.optional(z2.array(personSchema))
1449
- });
1450
- var ngdMetadataSchema = z2.object({
1451
- version: z2.literal("1.0.0").default("1.0.0"),
1452
- type: z2.string().describe("Document type used for schema"),
1453
- lastScraped: z2.optional(z2.string()).describe("Date the last entity was scraped, if applicable"),
1454
- scraperVersion: z2.optional(z2.string()),
1455
- postProcessorVersion: z2.optional(z2.string()),
1456
- uniqueRunId: z2.optional(z2.string()),
1457
- postProcessorUniqueRunId: z2.optional(z2.string()),
1458
- isScrapeManaged: z2.optional(z2.boolean()).default(true)
1459
- });
1460
- var companySchema = z2.object({
1461
- version: z2.literal("1.0.0").default("1.0.0"),
1462
- id: z2.string().describe("The NDG specific id for a company. Cannot be changed."),
1463
- createdAt: z2.string().datetime().describe("Time document was created. Autoset by Sanity"),
1464
- updatedAt: z2.string().datetime().describe("Time document was created. Autoset by Sanity"),
1465
- companyName: z2.string().describe("The name of the company"),
1466
- slug: z2.string().describe("The NDG specific slug for a company."),
1467
- type: z2.string().describe("Document type used for schema"),
1468
- logo: z2.optional(imageSchema).describe("The logo of the company"),
1469
- companyWebsite: z2.optional(z2.string()).describe("The website of the company"),
1470
- socialMedia: z2.optional(z2.array(socialMediaSchema)).describe("The social media links of the company"),
1471
- brandColor: z2.optional(z2.string()).describe("The brand color of the company"),
1472
- companyCareers: z2.optional(companyCareersSchema).describe("Career Specific Information for the company."),
1473
- companyPhilosophy: z2.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
1474
- companyNdg: z2.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
1475
- foundingInfo: z2.optional(foundingInformationSchema),
1476
- headquartersLocation: z2.optional(placeSchema),
1477
- employeeEstimate: z2.optional(z2.string()),
1478
- publishStatus: z2.optional(z2.string()),
1479
- ngdMetadata: z2.optional(ngdMetadataSchema)
1480
- });
1481
- var officeSchema = z2.object({
1482
- version: z2.literal("1.0.0").default("1.0.0"),
1483
- type: z2.string().describe("Document type used for schema"),
1484
- name: z2.string().describe("Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')"),
1485
- officeType: OfficeTypeEnum,
1486
- companyId: z2.optional(companySchema),
1487
- geoLocation: z2.optional(placeSchema).describe("Geographical location details: coordinates + postal address"),
1488
- createdAt: z2.optional(z2.string()),
1489
- updatedAt: z2.optional(z2.string())
1490
- });
1491
-
1492
- // src/types/latest/job_posting_service_latest.ts
1493
- import { z as z3 } from "zod";
1494
- var TypeEnum3 = z3.enum(["JOB_POST"]);
1495
- var JobLocationTypeEnum = z3.enum(["FLOAT", "HYBRID", "ONSITE", "REMOTE"]);
1496
- var EmploymentTypeEnum = z3.enum(["CONTRACT", "FULL_TIME", "INTERNSHIP", "OTHER", "PART_TIME", "PER_DIEM", "TEMPORARY"]);
1497
- var EmploymentLevelEnum = z3.enum(["DIRECTOR", "ENTRY_LEVEL", "EXECUTIVE", "EXPERIENCED", "INTERN", "MANAGER"]);
1498
- var JobFunctionEnum = z3.enum(["CLINICAL_RESEARCH", "CUSTOMER_SUCCESS", "DATA_ANALYTICS", "FINANCE_AND_AUDIT", "MARKETING", "OPERATIONS", "PEOPLE_HUMAN_RESOURCES", "PRODUCT_AND_TECH", "QUALITY_ASSURANCE_AND_OUTCOMES", "SALES_AND_BUSINESS_DEVELOPMENT", "STRATEGY_AND_CONSULTING"]);
1499
- var PublishStatusEnum2 = z3.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
1500
- var BestFitEnum = z3.enum(["DENTIST", "DIETICIAN", "DOULA", "MEDICAL_ASSISTANT", "MIDWIFE", "NURSE", "OCCUPATIONAL_THERAPIST", "PHARMACIST", "PHYSICAL_THERAPIST", "PHYSICIAN", "PHYSICIAN_ASSISTANT", "PSYCHOLOGIST", "RADIOLOGIST", "SOCIAL_WORKER", "SPEECH_LANGUAGE_PATHOLOGIST", "SURGEON"]);
1501
- var ClinicalLicenseEnum = z3.enum(["CNA", "CNM", "CNS", "COTA", "CRNA", "LPN", "LVN", "NP", "OT", "PT", "PTA", "RN"]);
1502
- var ShiftEnum = z3.enum(["DAY", "EIGHT_HOUR", "EVENING", "FLEXIBLE", "MID_SHIFT", "MONDAY_TO_FRIDAY", "NIGHT", "ON_CALL", "TEN_HOUR", "TWELVE_HOUR", "WEEKENDS"]);
1503
- var ClinicalSettingEnum = z3.enum(["ACUTE_CARE", "AMBULATORY_SURGERY_CENTER", "CLINIC", "HOME_HEALTH", "HOSPITAL", "INPATIENT", "LONG_TERM_CARE", "MED_SPA", "NURSING_HOME", "OFFICE", "OUTPATIENT", "PRIVATE_PRACTICE", "REHAB_CENTER", "SCHOOL", "SKILLED_NURSING_FACILITY"]);
1504
- var ClinicalSpecialtyEnum = z3.enum(["ANESTHESIOLOGY", "CARDIOLOGY", "CASE_MANAGEMENT", "CHRONIC_PAIN", "CLINICAL_ELECTROPHYSIOLOGY", "CRITICAL_AND_ACUTE_CARE", "DERMATOLOGY", "DIALYSIS", "EMERGENCY_MEDICINE", "ENDOCRINOLOGY", "ERGONOMICS", "FEEDING_EATING_AND_SWALLOWING", "GASTROENTEROLOGY", "GERIATRICS", "HAND_THERAPY", "HEMATOLOGY", "HOLISTIC_MEDICINE", "INFORMATICS", "INTERNAL_MEDICINE", "LABOR_AND_DELIVERY", "MANUAL_THERAPY", "MED_SURG", "MENTAL_HEALTH", "NEPHROLOGY", "NEUROLOGY", "ONCOLOGY", "ORTHOPEDICS", "OTOLARYNGOLOGY", "PEDIATRICS", "PHYSICAL_AND_REHABILITATION_MEDICINE", "PLASTIC_SURGERY", "PRIMARY_CARE", "PSYCHIATRY", "PULMONOLOGY", "RADIOLOGY", "SENSORY", "SPORTS", "SURGERY", "TRAUMA_MEDICINE", "URGENT_CARE", "UROLOGY", "VISION", "WOMENS_HEALTH", "WOUND_AND_BURN_CARE"]);
1505
- var jobPostSchema = z3.object({
1506
- version: z3.literal("1.0.0").default("1.0.0"),
1507
- id: z3.string().describe("The NDG specific id for a job posting in form of ndg-<company_slug>-<unique-job-id>. Serves as unique identifier. Cannot be changed."),
1508
- type: z3.string().describe("Document type used for schema"),
1509
- createdAt: z3.string().datetime().describe("Time document was created. Autoset by Sanity"),
1510
- updatedAt: z3.string().datetime().describe("Time document was created. Autoset by Sanity"),
1511
- dateAdded: z3.optional(z3.string().datetime()).describe("The date the job was added to the platform"),
1512
- datePosted: z3.optional(z3.string().datetime()).describe("The date the job was published for public viewing"),
1513
- dateRemoved: z3.optional(z3.string().datetime()).describe("The date the job was removed from public viewing"),
1514
- validThrough: z3.optional(z3.string().datetime()).describe("The date the job posting is valid through. After this date it will be removed from public viewing"),
1515
- vacancyCount: z3.optional(z3.number().int()).describe("The number of vacancies for a given job posting"),
1516
- clientId: z3.string().describe("The ID assigned by the client to a job - normally the same as the GH / Lever / Ashby ID or internal ID"),
1517
- url: z3.string().describe("The URL of the job to be displayed for users to apply with. Direct job link."),
1518
- title: z3.string().describe("The title of the job post"),
1519
- description: z3.string().describe("The description of the job post saved as markdown. Used for rendering the job description."),
1520
- richTextDescription: z3.optional(z3.string()).describe("The description of the job post saved as rich text"),
1521
- isClinical: z3.boolean().default(false).describe("Denotes if a job posting is clinical in nature or not. A role is clinical if it requires direct clinical patient care."),
1522
- isRemote: z3.boolean().default(false).describe("Denotes if a job posting is remote in nature. For a posting to be 'remote' it must be 100% remote (e.g hybrid roles would denote this to false)."),
1523
- isVerified: z3.boolean().default(false).describe("Denotes if a job posting has been manually verified - and thus ALL fields can be considered accurate. Can be used for DS training."),
1524
- isDirectApply: z3.boolean().default(false).describe("Denotes if a job posting url is direct apply. To be direct apply a user must be able to apply to the role without logging in and under 2 clicks."),
1525
- jobLocationType: z3.optional(z3.array(JobLocationTypeEnum)),
1526
- employmentType: z3.optional(z3.array(EmploymentTypeEnum)),
1527
- employmentLevel: z3.optional(EmploymentLevelEnum),
1528
- jobFunction: z3.optional(JobFunctionEnum),
1529
- publishStatus: PublishStatusEnum2,
1530
- bestFit: z3.optional(z3.array(BestFitEnum)),
1531
- clinicalLicense: z3.optional(z3.array(ClinicalLicenseEnum)),
1532
- shift: z3.optional(z3.array(ShiftEnum)),
1533
- clinicalSetting: z3.optional(z3.array(ClinicalSettingEnum)),
1534
- clinicalSpecialty: z3.optional(z3.array(ClinicalSpecialtyEnum)),
1535
- estimatedSalary: z3.optional(monetaryAmountSchema).describe("Determines the estimated salary for a given job posting"),
1536
- jobLocation: z3.optional(postalAddressSchema).describe("Determines the primary physical location where the job is to be performed. For remote roles, use applicantLocationRequirements"),
1537
- applicableOffices: z3.optional(z3.array(officeSchema)).describe("The physical location(s) in which employees may be located for to be eligible for the job. Used in conjunction with job_location_type."),
1538
- applicantLocationRequirements: z3.optional(z3.array(placeSchema)).describe("The geographic location(s) in which employees may be located for to be eligible for the job. The job description must clearly state that the applicant may be located in certain geographical location(s). This property is required if applicants may be located in one or more geographic locations and the job is 100% remote."),
1539
- hiringOrganization: z3.optional(companySchema).describe("The organization that is hiring for the role")
1540
- });
1541
-
1542
- // src/types/latest/custom/company_service_sanity.ts
1543
- import { z as z5 } from "zod";
1544
-
1545
- // src/types/latest/custom/custom_sanity_models.ts
1546
- import { z as z4 } from "zod";
1547
- var sanityReferenceSchema = z4.object({
1548
- _ref: z4.string(),
1549
- _type: z4.string(),
1550
- _key: z4.optional(z4.string())
1551
- });
1552
- var sanitySlugSchema = z4.object({
1553
- current: z4.string(),
1554
- _type: z4.string(),
1555
- _key: z4.optional(z4.string())
1556
- });
1557
-
1558
- // src/types/latest/custom/company_service_sanity.ts
1559
- var foundingInformationSchema2 = foundingInformationSchema.extend({
1560
- _type: z5.string().describe("Document type used within sanity").default("companyFounding"),
1561
- founders: z5.optional(z5.union([z5.array(personSchema), z5.array(sanityReferenceSchema)])).nullable(),
1562
- founderList: z5.optional(z5.union([z5.array(personSchema), z5.array(sanityReferenceSchema)])).nullable()
1563
- }).omit({ type: true }).strict().transform((data) => ({
1564
- ...data,
1565
- type: data._type,
1566
- founders: data.founders || data.founderList || void 0
1567
- })).transform(({ _type, founderList, ...rest }) => rest);
1568
- var companyNdgSchema2 = companyNdgSchema.extend({
1569
- _type: z5.string().describe("Document type used within sanity").default("companyNDG"),
1570
- companyNDGTake: z5.string().nullable().describe("What is the NDG POV on this company?")
1571
- }).omit({ type: true }).strict().transform((data) => ({
1572
- ...data,
1573
- type: data._type,
1574
- companyNdgTake: data.companyNDGTake
1575
- })).transform(({ _type, companyNDGTake, ...rest }) => rest);
1576
- var ngdMetadataSchema2 = ngdMetadataSchema.extend({
1577
- _type: z5.string().describe("Document type used within sanity").default("ndgMetadata")
1578
- }).omit({ type: true }).transform((data) => ({
1579
- ...data,
1580
- type: data._type
1581
- })).transform(({ _type, ...rest }) => rest);
1582
- var companyPhilosophySchema2 = companyPhilosophySchema.extend({
1583
- _type: z5.string().describe("Document type used within sanity").default("companyPhilosophy")
1584
- }).omit({ type: true }).strict().transform((data) => ({
1585
- ...data,
1586
- type: data._type
1587
- })).transform(({ _type, ...rest }) => rest);
1588
- var companyCareersSchema2 = companyCareersSchema.extend({
1589
- _type: z5.string().describe("Document type used within sanity").default("companyCareers"),
1590
- companyBenefits: z5.optional(z5.array(
1591
- z5.union([companyBenefitsSchema, sanityReferenceSchema])
1592
- )).nullable().describe("What are the specific benefits of that company. The benefit is generic."),
1593
- jobBoard: z5.union([jobBoardSchema, sanityReferenceSchema]).nullable(),
1594
- jobBoardSlug: z5.optional(z5.union([z5.array(z5.string()), z5.array(sanitySlugSchema)]))
1595
- }).omit({ type: true }).strict().transform((data) => ({
1596
- ...data,
1597
- type: data._type
1598
- })).transform(({ _type, ...rest }) => rest);
1599
- var companySchema2 = companySchema.extend({
1600
- _id: z5.string().describe("The NDG specific id for a job posting in form of ndg-<company_slug>-<unique-job-id>. Serves as unique identifier. Cannot be changed."),
1601
- _rev: z5.string().nullable().describe("Revision number"),
1602
- _type: z5.string().describe("Document type used within sanity").default("company"),
1603
- _createdAt: z5.string().datetime().describe("Time document was created. Autoset by Sanity"),
1604
- _updatedAt: z5.string().datetime().describe("Time document was created. Autoset by Sanity"),
1605
- companyCareers: companyCareersSchema2.nullable().describe("Career Specific Information for the company."),
1606
- companyPhilosophy: companyPhilosophySchema2.nullable().describe("Company mission,values and how the company achieves its mission."),
1607
- companyNDG: companyNdgSchema2.nullable().describe("Next Degree specific information for the company."),
1608
- foundingInfo: foundingInformationSchema2.nullable(),
1609
- slug: z5.union([z5.string(), sanitySlugSchema]).describe("The NDG specific slug for a company."),
1610
- ndgMetadata: ngdMetadataSchema2.nullable(),
1611
- logo: z5.union([imageSchema, z5.record(z5.any())]).nullable().describe("The logo of the company"),
1612
- //Deprecated Models
1613
- logoImageURL: z5.optional(z5.string()).describe("The logo of the company"),
1614
- industryList: z5.optional(z5.array(sanityReferenceSchema)).describe("The industry of the company")
1615
- }).omit({ type: true, id: true, createdAt: true, updatedAt: true }).strict().transform((data) => ({
1616
- ...data,
1617
- type: data._type,
1618
- id: data._id,
1619
- createdAt: data._createdAt,
1620
- updatedAt: data._updatedAt,
1621
- rev: data._rev
1622
- })).transform(({ _type, _id, _rev, _createdAt, _updatedAt, ...rest }) => rest);
1623
-
1624
- // src/types/latest/custom/job_posting_service_sanity.ts
1625
- import { z as z6 } from "zod";
1626
- var JobPostTypeEnum = z6.enum(["jobPost"]);
1627
- var MonetaryAmountTypeEnum = z6.enum(["monetaryAmount"]);
1628
- var postalAddressSchema2 = postalAddressSchema.extend({
1629
- _type: z6.string().describe("Document type used within sanity").default("address")
1630
- }).omit({ type: true }).strict().transform((data) => ({
1631
- ...data,
1632
- type: data._type
1633
- })).transform(({ _type, ...rest }) => rest);
1634
- var quantitativeValueSchema2 = quantitativeValueSchema.extend({
1635
- _type: z6.string().describe("Document type used within sanity").default("quantitativeValue")
1636
- }).omit({ type: true }).strict().transform((data) => ({
1637
- ...data,
1638
- type: data._type
1639
- })).transform(({ _type, ...rest }) => rest);
1640
- var monetaryAmountSchema2 = monetaryAmountSchema.extend({
1641
- _type: z6.string().describe("Document type used within sanity").default("monetaryAmount"),
1642
- value: quantitativeValueSchema2.optional().describe("The quantitative_value for a given salary")
1643
- }).omit({ type: true }).strict().transform((data) => ({
1644
- ...data,
1645
- type: data._type
1646
- })).transform(({ _type, ...rest }) => rest);
1647
- var jobPostSchema2 = jobPostSchema.extend({
1648
- // Override base fields with Sanity-specific fields
1649
- _id: z6.string().describe("The NDG specific id for a job posting in form of ndg-<company_slug>-<unique-job-id>. Serves as unique identifier. Cannot be changed.").regex(/^ndg-.*-.*$/),
1650
- _rev: z6.string().optional().describe("Revision number"),
1651
- _type: z6.string().describe("Document type used within sanity").default("jobPost"),
1652
- _createdAt: z6.string().datetime().describe("Time document was created. Autoset by Sanity"),
1653
- _updatedAt: z6.string().datetime().describe("Time document was created. Autoset by Sanity"),
1654
- // Override fields with new schemas
1655
- estimatedSalary: monetaryAmountSchema2.optional().describe("Determines the estimated salary for a given job posting"),
1656
- jobLocation: postalAddressSchema2.optional().describe("Determines the primary physical location where the job is to be performed. For remote roles, use applicantLocationRequirements"),
1657
- // Add Sanity-specific fields
1658
- ndgMetadata: z6.record(z6.any()).optional(),
1659
- ndgID: z6.string().optional(),
1660
- hiringOrganization: z6.optional(z6.union([sanityReferenceSchema, companySchema])),
1661
- raw: z6.record(z6.any()).optional(),
1662
- isLoaded: z6.boolean().default(false),
1663
- isVerified: z6.boolean().default(false),
1664
- needsReview: z6.boolean().default(false),
1665
- schema_version: z6.string().optional(),
1666
- origin: z6.string().optional(),
1667
- temp: z6.record(z6.any()).optional(),
1668
- applicationType: z6.string().optional(),
1669
- // Override clientId to use Sanity naming convention
1670
- clientID: z6.string()
1671
- }).omit({ type: true, id: true, createdAt: true, updatedAt: true, clientId: true }).transform((data) => ({
1672
- ...data,
1673
- type: data._type,
1674
- id: data._id,
1675
- createdAt: data._createdAt,
1676
- updatedAt: data._updatedAt,
1677
- rev: data._rev
1678
- })).transform(({ _type, _id, _rev, _createdAt, _updatedAt, ...rest }) => rest);
1679
-
1680
- // src/lib/salaryRange.ts
1681
- var CurrencyEnum2 = shared_pickle_output_latest_exports.CurrencyEnum;
1682
- function salaryRange(salary, showUnitText = true) {
1683
- if (!salary) return null;
1684
- let min = salary.minValue;
1685
- let max = salary.maxValue;
1686
- let single = salary.singleValue;
1687
- let value = salary.value;
1688
- let unitText = "YEAR";
1689
- const signs = {
1690
- [CurrencyEnum2.Values.USD]: "$",
1691
- [CurrencyEnum2.Values.GBP]: "\xA3",
1692
- [CurrencyEnum2.Values.EUR]: "\u20AC"
1693
- };
1694
- const sign = signs[salary.currency ?? CurrencyEnum2.Values.USD];
1695
- if (value != null && typeof value === "object") {
1696
- min = value.minValue;
1697
- max = value.maxValue;
1698
- single = value.value;
1699
- unitText = value.unitText;
1700
- }
1701
- if (unitText === "YEAR") unitText = " per year";
1702
- if (unitText === "MONTH") unitText = " per month";
1703
- if (unitText === "WEEK") unitText = " per week";
1704
- if (unitText === "DAY") unitText = " per day";
1705
- if (unitText === "PER_ACTIVITY") unitText = " per activity";
1706
- if (unitText === "HOUR") unitText = " per hour";
1707
- if (showUnitText === false) unitText = "";
1708
- const isValid = (v) => v != null && v >= 0;
1709
- if (!isValid(min) && !isValid(max) && !isValid(single)) return null;
1710
- if (isValid(single)) return sign + single.toLocaleString() + unitText;
1711
- if (min === max) return sign + min?.toLocaleString() + unitText;
1712
- if (isValid(min) && isValid(max))
1713
- return sign + min?.toLocaleString() + " - " + sign + max?.toLocaleString() + unitText;
1714
- return null;
1715
- }
1716
-
1717
- // src/components/jobPost/JobPost.tsx
1718
- function JobPost({
1719
- job,
1720
- bannerSrc,
1721
- avatarSrc,
1722
- standalone,
1723
- avatarHref,
1724
- fallbackHref,
1725
- backAcceptedRoutes,
1726
- actions
1727
- }) {
1728
- const formattedEmploymentType = useDisplayText("employmentType", job.employmentType);
1729
- const formattedEmploymentLevel = useDisplayText("employmentLevel", job.employmentLevel);
1730
- const formattedJobFunction = useDisplayText("jobFunction", job.jobFunction);
1731
- const formattedLocations = getAddressList(job);
1732
- const formattedSalary = salaryRange(job.estimatedSalary);
1733
- const formattedDate = DateFns.formatDistanceToNow(new Date(job.datePosted), {
1734
- addSuffix: true
1735
- });
1736
- const tags = [
1737
- !!formattedSalary && {
1738
- icon: "banknote",
1739
- name: "salary",
1740
- label: formattedSalary
1741
- },
1742
- !!formattedEmploymentType && {
1743
- icon: "briefcase-business",
1744
- name: "employmentType",
1745
- label: formattedEmploymentType
1746
- },
1747
- !!formattedEmploymentLevel && {
1748
- icon: "circle-user",
1749
- name: "level",
1750
- label: formattedEmploymentLevel
1751
- },
1752
- !!formattedJobFunction && {
1753
- icon: "briefcase-business",
1754
- name: "jobFunction",
1755
- label: formattedJobFunction
1756
- },
1757
- ...formattedLocations.map((label) => ({
1758
- icon: "map-pin",
1759
- name: "location",
1760
- label
1761
- }))
1762
- ].filter((t) => !!t);
1763
- return /* @__PURE__ */ React.createElement(
1764
- "div",
1765
- {
1766
- className: cn(
1767
- "flex flex-col gap-10 pb-4",
1768
- !standalone && "border-1 rounded-3xl border-grey-5"
1769
- )
1770
- },
1771
- /* @__PURE__ */ React.createElement(
1772
- JobHeader,
1773
- {
1774
- title: job.title,
1775
- bannerSrc,
1776
- avatarName: job.hiringOrganization?.companyName,
1777
- avatarSrc: job.hiringOrganization?.logo?.asset?.url,
1778
- subtitles: [job.hiringOrganization?.companyName ?? "", `Posted ${formattedDate}`],
1779
- actions,
1780
- standalone,
1781
- avatarHref,
1782
- backFallbackHref: fallbackHref,
1783
- backAcceptedRoutes,
1784
- tags
1785
- }
1786
- ),
1787
- /* @__PURE__ */ React.createElement("div", { className: "flex flex-col gap-8 px-6" }, /* @__PURE__ */ React.createElement(JobDescription, { description: job.description }), /* @__PURE__ */ React.createElement(
1788
- CompanyTake,
1789
- {
1790
- avatarSrc,
1791
- content: job.hiringOrganization?.companyNDG?.companyNDGTake
1792
- }
1793
- ), /* @__PURE__ */ React.createElement(
1794
- CompanyInformation,
1795
- {
1796
- name: job.hiringOrganization?.companyName ?? "",
1797
- how: job.hiringOrganization?.companyPhilosophy?.companyHow,
1798
- mission: job.hiringOrganization?.companyPhilosophy?.companyMission,
1799
- wow: job.hiringOrganization?.companyNDG?.companyWow,
1800
- website: job.hiringOrganization?.companyWebsite
1801
- }
1802
- ), /* @__PURE__ */ React.createElement(
1803
- CompanyBenefits,
1804
- {
1805
- benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.title).filter((d) => d !== void 0)
1806
- }
1807
- ))
1808
- );
1809
- }
1810
- export {
1811
- JobPost
1812
- };
1
+ export { JobPost } from '../../chunk-Y2UMEYQS.js';
2
+ import '../../chunk-5NQTYPZG.js';
3
+ import '../../chunk-F3FYMCRO.js';
4
+ import '../../chunk-ZSNEG5J7.js';
5
+ import '../../chunk-YLWUHTOZ.js';
6
+ import '../../chunk-BLMWXMW4.js';
7
+ import '../../chunk-J3UEZGEG.js';
8
+ import '../../chunk-XGQDWAHV.js';
9
+ import '../../chunk-MF24QPA6.js';
10
+ import '../../chunk-2TEFWPFS.js';
11
+ import '../../chunk-FVJL3PEK.js';
12
+ import '../../chunk-PLPEZUCB.js';
13
+ import '../../chunk-KWIGG26N.js';
14
+ import '../../chunk-I4H7XREK.js';
15
+ import '../../chunk-5REFGTWO.js';
16
+ import '../../chunk-W6BMYVY5.js';
17
+ import '../../chunk-47H3M7TP.js';
18
+ import '../../chunk-FOJTLQJO.js';
19
+ import '../../chunk-Z33TWZHI.js';
20
+ import '../../chunk-IJQTUD3D.js';
21
+ import '../../chunk-3NDL2JQ7.js';
22
+ import '../../chunk-LQ4DG6ST.js';
23
+ import '../../chunk-2FGZQI42.js';
24
+ import '../../chunk-CPZFINPG.js';
25
+ import '../../chunk-OZJZVEF2.js';
26
+ import '../../chunk-YB2USB4M.js';
27
+ import '../../chunk-SZ5XKNVG.js';
28
+ import '../../chunk-DXLVRZFU.js';
29
+ import '../../chunk-PONUWUJ7.js';
30
+ import '../../chunk-KZBS5RNE.js';
31
+ import '../../chunk-TCV6N3EK.js';
32
+ import '../../chunk-PZ5AY32C.js';
33
+ //# sourceMappingURL=JobPost.js.map
1813
34
  //# sourceMappingURL=JobPost.js.map