solid-panes 5.1.0-0 → 5.1.0-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (284) hide show
  1. package/README.md +17 -0
  2. package/dist/RDFXMLPane2.esm.js +1 -2
  3. package/dist/_virtual/~icons/lucide/cake.esm.js +1 -2
  4. package/dist/_virtual/~icons/lucide/camera.esm.js +1 -2
  5. package/dist/_virtual/~icons/lucide/circle-user-round.esm.js +1 -2
  6. package/dist/_virtual/~icons/lucide/folder-open.esm.js +1 -2
  7. package/dist/_virtual/~icons/lucide/help-circle.esm.js +1 -2
  8. package/dist/_virtual/~icons/lucide/layout-dashboard.esm.js +1 -2
  9. package/dist/_virtual/~icons/lucide/mail.esm.js +1 -2
  10. package/dist/_virtual/~icons/lucide/map-pin.esm.js +1 -2
  11. package/dist/_virtual/~icons/lucide/pencil.esm.js +1 -2
  12. package/dist/_virtual/~icons/lucide/phone.esm.js +1 -2
  13. package/dist/_virtual/~icons/lucide/settings-2.esm.js +1 -2
  14. package/dist/_virtual/~icons/lucide/user-round-plus.esm.js +1 -2
  15. package/dist/_virtual/~icons/lucide/user.esm.js +1 -2
  16. package/dist/_virtual/~icons/lucide/users.esm.js +1 -2
  17. package/dist/_virtual/~icons/lucide/x.esm.js +1 -2
  18. package/dist/audio/audioPane.esm.js +1 -2
  19. package/dist/classInstancePane.esm.js +1 -2
  20. package/dist/components/editor-card/EditorCard.cjs.js +1 -1
  21. package/dist/components/editor-card/EditorCard.cjs.js.map +1 -1
  22. package/dist/components/editor-card/EditorCard.esm.js +6 -7
  23. package/dist/components/editor-card/EditorCard.styles.esm.js +1 -2
  24. package/dist/components/header/Header.cjs.js +1 -1
  25. package/dist/components/header/Header.cjs.js.map +1 -1
  26. package/dist/components/header/Header.esm.js +7 -8
  27. package/dist/components/header/Header.styles.esm.js +1 -2
  28. package/dist/components/navbar/Navbar.cjs.js +2 -2
  29. package/dist/components/navbar/Navbar.cjs.js.map +1 -1
  30. package/dist/components/navbar/Navbar.esm.js +8 -9
  31. package/dist/components/navbar/Navbar.styles.esm.js +1 -2
  32. package/dist/components/profile-heading/ProfileHeading.cjs.js +17 -17
  33. package/dist/components/profile-heading/ProfileHeading.cjs.js.map +1 -1
  34. package/dist/components/profile-heading/ProfileHeading.esm.js +28 -29
  35. package/dist/components/profile-heading/ProfileHeading.styles.esm.js +1 -2
  36. package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.cjs.js +1 -1
  37. package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.esm.js +2 -3
  38. package/dist/components/profile-heading/editor/sections/heading/dateHelpers.esm.js +1 -2
  39. package/dist/components/profile-heading/editor/sections/heading/imageHelpers.esm.js +1 -2
  40. package/dist/components/profile-heading/editor/sections/heading/imagePreview.esm.js +1 -2
  41. package/dist/components/profile-heading/editor/sections/heading/mutations.esm.js +1 -2
  42. package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.esm.js +1 -2
  43. package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.esm.js +1 -2
  44. package/dist/components/profile-heading/editor/sections/shared/phoneCountries.esm.js +0 -1
  45. package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.esm.js +1 -2
  46. package/dist/components/profile-heading/editor/sections/shared/rowState.esm.js +1 -2
  47. package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.esm.js +1 -2
  48. package/dist/components/profile-heading/editor/textUtils.esm.js +1 -2
  49. package/dist/components/profile-heading/editor/texts/dialogTexts.esm.js +1 -2
  50. package/dist/components/profile-heading/editor/texts/messageTexts.esm.js +1 -2
  51. package/dist/components/profile-heading/editor/ui/dialog2.cjs.js +3 -3
  52. package/dist/components/profile-heading/editor/ui/dialog2.cjs.js.map +1 -1
  53. package/dist/components/profile-heading/editor/ui/dialog2.esm.js +4 -19
  54. package/dist/components/profile-heading/editor/ui/dialog2.esm.js.map +1 -1
  55. package/dist/components/profile-heading/editor/ui/spinner.esm.js +1 -2
  56. package/dist/components/profile-heading/editor/utils/errorDisplay.esm.js +1 -2
  57. package/dist/components/profile-heading/friendActions.esm.js +1 -2
  58. package/dist/components/profile-heading/profileHeadingData.esm.js +1 -2
  59. package/dist/dashboard/basicPreferences.esm.js +1 -2
  60. package/dist/dashboard/dashboardPane.esm.js +0 -1
  61. package/dist/dashboard/homepage.esm.js +1 -2
  62. package/dist/dashboard/ontologyData.esm.js +1 -2
  63. package/dist/dashboard/preferencesFormText.esm.js +1 -2
  64. package/dist/dataContentPane2.cjs.js +1 -1
  65. package/dist/dataContentPane2.esm.js +2 -3
  66. package/dist/defaultPane2.cjs.js +1 -1
  67. package/dist/defaultPane2.esm.js +2 -3
  68. package/dist/dokieli/dokieliPane.cjs.js +1 -1
  69. package/dist/dokieli/dokieliPane.cjs.js.map +1 -1
  70. package/dist/dokieli/dokieliPane.esm.js +7 -12
  71. package/dist/dokieli/dokieliPane.esm.js.map +1 -1
  72. package/dist/dokieli/new.esm.js +1 -2
  73. package/dist/form/pane.esm.js +1 -2
  74. package/dist/home/homePane.esm.js +1 -2
  75. package/dist/humanReadablePane.d.ts +3 -0
  76. package/dist/humanReadablePane.d.ts.map +1 -1
  77. package/dist/humanReadablePane2.cjs.js +276 -1
  78. package/dist/humanReadablePane2.cjs.js.map +1 -1
  79. package/dist/humanReadablePane2.esm.js +428 -31
  80. package/dist/humanReadablePane2.esm.js.map +1 -1
  81. package/dist/icons/folder.esm.js +1 -2
  82. package/dist/icons/friends.esm.js +1 -2
  83. package/dist/icons/person.esm.js +1 -2
  84. package/dist/imagePane.d.ts.map +1 -1
  85. package/dist/imagePane2.cjs.js +1 -1
  86. package/dist/imagePane2.cjs.js.map +1 -1
  87. package/dist/imagePane2.esm.js +2 -3
  88. package/dist/imagePane2.esm.js.map +1 -1
  89. package/dist/index.esm.js +1 -2
  90. package/dist/internal/internalPane2.cjs.js +1 -1
  91. package/dist/internal/internalPane2.esm.js +2 -3
  92. package/dist/mainPage/header.esm.js +1 -2
  93. package/dist/mainPage/index.cjs.js +1 -1
  94. package/dist/mainPage/index.cjs.js.map +1 -1
  95. package/dist/mainPage/index.d.ts +1 -1
  96. package/dist/mainPage/index.d.ts.map +1 -1
  97. package/dist/mainPage/index.esm.js +6 -2
  98. package/dist/mainPage/index.esm.js.map +1 -1
  99. package/dist/mainPage/navbar.esm.js +1 -2
  100. package/dist/mainPage/navigation.cjs.js +1 -1
  101. package/dist/mainPage/navigation.cjs.js.map +1 -1
  102. package/dist/mainPage/navigation.d.ts.map +1 -1
  103. package/dist/mainPage/navigation.esm.js +14 -11
  104. package/dist/mainPage/navigation.esm.js.map +1 -1
  105. package/dist/mainPage/profileHeading2.esm.js +1 -2
  106. package/dist/n3Pane2.esm.js +1 -2
  107. package/dist/navigation/browserEvents.esm.js +1 -2
  108. package/dist/navigation/chrome.esm.js +1 -2
  109. package/dist/navigation/controller.cjs.js +1 -1
  110. package/dist/navigation/controller.cjs.js.map +1 -1
  111. package/dist/navigation/controller.esm.js +6 -7
  112. package/dist/navigation/controller.esm.js.map +1 -1
  113. package/dist/navigation/events.esm.js +1 -2
  114. package/dist/navigation/navbarVisibility.esm.js +1 -2
  115. package/dist/navigation/options.esm.js +1 -2
  116. package/dist/navigation/podContext.esm.js +1 -2
  117. package/dist/navigation/state.esm.js +1 -2
  118. package/dist/outline/context.esm.js +1 -2
  119. package/dist/outline/fileExplorerHelpers.cjs.js +2 -0
  120. package/dist/outline/fileExplorerHelpers.cjs.js.map +1 -0
  121. package/dist/outline/fileExplorerHelpers.d.ts +13 -0
  122. package/dist/outline/fileExplorerHelpers.d.ts.map +1 -0
  123. package/dist/outline/fileExplorerHelpers.esm.js +24 -0
  124. package/dist/outline/fileExplorerHelpers.esm.js.map +1 -0
  125. package/dist/outline/manager2.cjs.js +1 -1
  126. package/dist/outline/manager2.cjs.js.map +1 -1
  127. package/dist/outline/manager2.esm.js +422 -433
  128. package/dist/outline/manager2.esm.js.map +1 -1
  129. package/dist/outline/outlineDomHelpers.cjs.js +2 -0
  130. package/dist/outline/outlineDomHelpers.cjs.js.map +1 -0
  131. package/dist/outline/outlineDomHelpers.d.ts +30 -0
  132. package/dist/outline/outlineDomHelpers.d.ts.map +1 -0
  133. package/dist/outline/outlineDomHelpers.esm.js +79 -0
  134. package/dist/outline/outlineDomHelpers.esm.js.map +1 -0
  135. package/dist/outline/outlineIcons.esm.js +1 -2
  136. package/dist/outline/propertyViews.esm.js +1 -2
  137. package/dist/outline/queryByExample.cjs.js.map +1 -1
  138. package/dist/outline/queryByExample.esm.js +1 -2
  139. package/dist/outline/queryByExample.esm.js.map +1 -1
  140. package/dist/outline/userInput.cjs.js +9 -9
  141. package/dist/outline/userInput.cjs.js.map +1 -1
  142. package/dist/outline/userInput.esm.js +50 -40
  143. package/dist/outline/userInput.esm.js.map +1 -1
  144. package/dist/outline/viewAsImage.esm.js +1 -2
  145. package/dist/outline/viewAsMbox.esm.js +1 -2
  146. package/dist/pad/padPane2.cjs.js +1 -1
  147. package/dist/pad/padPane2.esm.js +2 -3
  148. package/dist/playlist/playlistPane.esm.js +1 -2
  149. package/dist/registerPanes.esm.js +1 -2
  150. package/dist/schedule/formsForSchedule.esm.js +1 -2
  151. package/dist/schedule/schedulePane.d.ts.map +1 -1
  152. package/dist/schedule/schedulePane2.cjs.js +1 -1
  153. package/dist/schedule/schedulePane2.cjs.js.map +1 -1
  154. package/dist/schedule/schedulePane2.esm.js +60 -59
  155. package/dist/schedule/schedulePane2.esm.js.map +1 -1
  156. package/dist/sharing/sharingPane.esm.js +1 -2
  157. package/dist/slideshow/slideshowPane.esm.js +1 -2
  158. package/dist/social/editProfileDetails.cjs.js +1 -1
  159. package/dist/social/editProfileDetails.esm.js +1 -2
  160. package/dist/social/icons.esm.js +1 -2
  161. package/dist/social/socialPane2.cjs.js +1 -1
  162. package/dist/social/socialPane2.esm.js +2 -3
  163. package/dist/social/socialSections.cjs.js +1 -1
  164. package/dist/social/socialSections.cjs.js.map +1 -1
  165. package/dist/social/socialSections.d.ts +0 -1
  166. package/dist/social/socialSections.d.ts.map +1 -1
  167. package/dist/social/socialSections.esm.js +15 -18
  168. package/dist/social/socialSections.esm.js.map +1 -1
  169. package/dist/social/triage.esm.js +1 -2
  170. package/dist/tabbed/tabbedPane.esm.js +1 -2
  171. package/dist/tableViewPane.esm.js +1 -2
  172. package/dist/transaction/pane.esm.js +1 -2
  173. package/dist/transaction/period.esm.js +1 -2
  174. package/dist/trip/tripPane.esm.js +1 -2
  175. package/dist/trustedApplications/trustedApplications.dom.esm.js +1 -2
  176. package/dist/trustedApplications/trustedApplications.utils.esm.js +1 -2
  177. package/dist/trustedApplications/trustedApplications.view.esm.js +1 -2
  178. package/dist/ui/pane.esm.js +1 -2
  179. package/dist/utils/paneUtils.cjs.js +1 -1
  180. package/dist/utils/paneUtils.cjs.js.map +1 -1
  181. package/dist/utils/paneUtils.d.ts +5 -3
  182. package/dist/utils/paneUtils.d.ts.map +1 -1
  183. package/dist/utils/paneUtils.esm.js +36 -29
  184. package/dist/utils/paneUtils.esm.js.map +1 -1
  185. package/dist/utils/podUtils.cjs.js +1 -1
  186. package/dist/utils/podUtils.cjs.js.map +1 -1
  187. package/dist/utils/podUtils.d.ts +9 -1
  188. package/dist/utils/podUtils.d.ts.map +1 -1
  189. package/dist/utils/podUtils.esm.js +22 -95
  190. package/dist/utils/podUtils.esm.js.map +1 -1
  191. package/dist/utils/viewerUtils.esm.js +1 -2
  192. package/dist/utils/webIdUtils.esm.js +1 -2
  193. package/dist/versionInfo.cjs.js +1 -1
  194. package/dist/versionInfo.cjs.js.map +1 -1
  195. package/dist/versionInfo.esm.js +4 -5
  196. package/dist/versionInfo.esm.js.map +1 -1
  197. package/dist/video/videoPane.esm.js +1 -2
  198. package/package.json +7 -6
  199. package/dist/_virtual/~icons/lucide/arrow-left.cjs.js +0 -2
  200. package/dist/_virtual/~icons/lucide/arrow-left.cjs.js.map +0 -1
  201. package/dist/_virtual/~icons/lucide/arrow-left.esm.js +0 -11
  202. package/dist/_virtual/~icons/lucide/arrow-left.esm.js.map +0 -1
  203. package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js +0 -2
  204. package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js.map +0 -1
  205. package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js +0 -11
  206. package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js.map +0 -1
  207. package/dist/_virtual/~icons/lucide/folder.cjs.js +0 -2
  208. package/dist/_virtual/~icons/lucide/folder.cjs.js.map +0 -1
  209. package/dist/_virtual/~icons/lucide/folder.esm.js +0 -11
  210. package/dist/_virtual/~icons/lucide/folder.esm.js.map +0 -1
  211. package/dist/_virtual/~icons/lucide/globe.cjs.js +0 -2
  212. package/dist/_virtual/~icons/lucide/globe.cjs.js.map +0 -1
  213. package/dist/_virtual/~icons/lucide/globe.esm.js +0 -11
  214. package/dist/_virtual/~icons/lucide/globe.esm.js.map +0 -1
  215. package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js +0 -2
  216. package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js.map +0 -1
  217. package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js +0 -11
  218. package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js.map +0 -1
  219. package/dist/_virtual/~icons/lucide/share-2.cjs.js +0 -2
  220. package/dist/_virtual/~icons/lucide/share-2.cjs.js.map +0 -1
  221. package/dist/_virtual/~icons/lucide/share-2.esm.js +0 -11
  222. package/dist/_virtual/~icons/lucide/share-2.esm.js.map +0 -1
  223. package/dist/_virtual/~icons/lucide/user-round-cog.cjs.js +0 -2
  224. package/dist/_virtual/~icons/lucide/user-round-cog.cjs.js.map +0 -1
  225. package/dist/_virtual/~icons/lucide/user-round-cog.esm.js +0 -11
  226. package/dist/_virtual/~icons/lucide/user-round-cog.esm.js.map +0 -1
  227. package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js +0 -14
  228. package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js.map +0 -1
  229. package/dist/components/file-explorer-header/FileExplorerHeader.d.ts +0 -18
  230. package/dist/components/file-explorer-header/FileExplorerHeader.d.ts.map +0 -1
  231. package/dist/components/file-explorer-header/FileExplorerHeader.esm.js +0 -292
  232. package/dist/components/file-explorer-header/FileExplorerHeader.esm.js.map +0 -1
  233. package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js +0 -2
  234. package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js.map +0 -1
  235. package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js +0 -7
  236. package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js.map +0 -1
  237. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js +0 -32
  238. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js.map +0 -1
  239. package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts +0 -21
  240. package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts.map +0 -1
  241. package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js +0 -294
  242. package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js.map +0 -1
  243. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js +0 -2
  244. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js.map +0 -1
  245. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js +0 -7
  246. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js.map +0 -1
  247. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js +0 -34
  248. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js.map +0 -1
  249. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts +0 -20
  250. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts.map +0 -1
  251. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js +0 -346
  252. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js.map +0 -1
  253. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js +0 -2
  254. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js.map +0 -1
  255. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js +0 -7
  256. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js.map +0 -1
  257. package/dist/components/file-explorer-header/FileExplorerProvider.cjs.js +0 -13
  258. package/dist/components/file-explorer-header/FileExplorerProvider.cjs.js.map +0 -1
  259. package/dist/components/file-explorer-header/FileExplorerProvider.d.ts +0 -36
  260. package/dist/components/file-explorer-header/FileExplorerProvider.d.ts.map +0 -1
  261. package/dist/components/file-explorer-header/FileExplorerProvider.esm.js +0 -470
  262. package/dist/components/file-explorer-header/FileExplorerProvider.esm.js.map +0 -1
  263. package/dist/components/file-explorer-header/FileExplorerProvider.styles.cjs.js +0 -2
  264. package/dist/components/file-explorer-header/FileExplorerProvider.styles.cjs.js.map +0 -1
  265. package/dist/components/file-explorer-header/FileExplorerProvider.styles.esm.js +0 -7
  266. package/dist/components/file-explorer-header/FileExplorerProvider.styles.esm.js.map +0 -1
  267. package/dist/components/file-explorer-header/index.cjs.js +0 -1
  268. package/dist/components/file-explorer-header/index.d.ts +0 -3
  269. package/dist/components/file-explorer-header/index.d.ts.map +0 -1
  270. package/dist/components/file-explorer-header/index.esm.js +0 -2
  271. package/dist/components/file-explorer-header/types.d.ts +0 -10
  272. package/dist/components/file-explorer-header/types.d.ts.map +0 -1
  273. package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts +0 -8
  274. package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts.map +0 -1
  275. package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js +0 -32
  276. package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js.map +0 -1
  277. package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts +0 -19
  278. package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts.map +0 -1
  279. package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js +0 -322
  280. package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js.map +0 -1
  281. package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.cjs.js +0 -2
  282. package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.cjs.js.map +0 -1
  283. package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.esm.js +0 -7
  284. package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.esm.js.map +0 -1
@@ -1,4 +1,4 @@
1
- (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`html[data-layout=mobile] .profile-edit-dialog__row{flex-direction:column;align-items:stretch;max-width:100%}html[data-layout=mobile] .profile-edit-dialog__row--equal>.profile-edit-dialog__field,html[data-layout=mobile] .profile-edit-dialog__row--equal>.profile-edit-dialog__field-type,html[data-layout=mobile] .profile-edit-dialog__field-type{flex:auto}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__field--dob{align-self:stretch;width:100%;min-width:0;max-width:100%;overflow:hidden}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__row--heading-dob{flex-direction:column;align-items:stretch}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__row--heading-dob>.profile-edit-dialog__field,html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__row--heading-dob>.profile-edit-dialog__field-type{flex:auto;width:100%;min-width:0;max-width:100%}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob{height:var(--solid-ui-clickable-area,42px);min-height:var(--solid-ui-clickable-area,42px);max-height:var(--solid-ui-clickable-area,42px);box-sizing:border-box;width:100%;min-width:0;max-width:100%;line-height:var(--line-height-base,1.5);display:block}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-date-and-time-value{text-align:center;width:100%;min-width:0;max-width:100%;overflow:hidden}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-datetime-edit{text-align:center;width:100%;min-width:0;max-width:100%;overflow:hidden}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-datetime-edit-fields-wrapper{text-align:center;width:100%;min-width:0;max-width:100%;overflow:hidden}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-date-and-time-value{text-align:center;white-space:nowrap}@media (hover:none) and (pointer:coarse){html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob{height:var(--solid-ui-clickable-area,42px);min-height:var(--solid-ui-clickable-area,42px);max-height:var(--solid-ui-clickable-area,42px);line-height:calc(var(--solid-ui-clickable-area,42px) - 2px);width:calc(100% - 24px);max-width:calc(100% - 24px);padding-block:0}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-date-and-time-value{line-height:calc(var(--solid-ui-clickable-area,42px) - 2px)}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-datetime-edit{line-height:calc(var(--solid-ui-clickable-area,42px) - 2px)}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-datetime-edit-fields-wrapper{line-height:calc(var(--solid-ui-clickable-area,42px) - 2px)}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-calendar-picker-indicator{margin:0;padding:0}}html[data-layout=mobile] .profile__edit-form{--profile-edit-dialog-mobile-image-button-font-size:var(--solid-ui-font-size-md,1rem);--profile-edit-dialog-mobile-image-label-font-size:var(--solid-ui-font-size-sm,.875rem);--profile-edit-dialog-mobile-image-description-font-size:.625rem}html[data-layout=mobile] #profile-modal .modal label.profile-edit-dialog__field,html[data-layout=mobile] #profile-modal .modal label.profile-edit-dialog__field-type,html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog__field>.label,html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog__field-type>.label,html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog__field-description{font-size:var(--solid-ui-font-size-sm,.875rem);line-height:1.5}html[data-layout=mobile] .profile-edit-dialog__field input,html[data-layout=mobile] .profile-edit-dialog__field-type input{font-size:var(--solid-ui-font-size-md,1rem)}html[data-layout=mobile] .profile-edit-dialog__field-type--contact-point{flex:auto;width:100%;max-width:100%}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--contact-point{flex-direction:row;align-items:stretch}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--contact-point.profile-edit-dialog__row--equal>.profile-edit-dialog__field-type.profile-edit-dialog__field-type--contact-point{flex:0 0 103px;width:103px;min-width:103px;max-width:103px}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo{flex-flow:row;align-items:center;gap:12px;width:100%;max-width:100%}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo>header{flex:none;margin-bottom:0}html[data-layout=mobile] .profile-edit-dialog--heading{--profile-edit-dialog-avatar-size:5rem}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile__hero-alt{padding:0}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile__image-frame--fallback .profile__hero-alt{justify-content:center;align-items:center;display:flex}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview{flex:auto;gap:5px;width:100%;min-width:0}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-label{font-size:var(--profile-edit-dialog-mobile-image-label-font-size);line-height:1.25}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-description{font-size:var(--profile-edit-dialog-mobile-image-description-font-size);line-height:1.4}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-actions{grid-template-columns:repeat(2,max-content);justify-content:start;align-items:stretch;gap:8px;width:100%;display:grid}@media (width<=576px){.profile-edit-dialog__row{flex-direction:column;align-items:stretch;max-width:100%}.profile__edit-form{--profile-edit-dialog-mobile-image-button-font-size:var(--solid-ui-font-size-md,1rem);--profile-edit-dialog-mobile-image-label-font-size:var(--solid-ui-font-size-sm,.875rem);--profile-edit-dialog-mobile-image-description-font-size:.625rem}.profile-edit-dialog__row--equal>.profile-edit-dialog__field,.profile-edit-dialog__row--equal>.profile-edit-dialog__field-type,.profile-edit-dialog__field-type{flex:auto}.profile-edit-dialog__field input,.profile-edit-dialog__field-type input{font-size:var(--solid-ui-font-size-sm,.875rem)}.profile-edit-dialog__field-type--contact-point{flex:auto;width:100%;max-width:100%}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point{flex-direction:row;align-items:stretch}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point.profile-edit-dialog__row--equal>.profile-edit-dialog__field-type.profile-edit-dialog__field-type--contact-point{flex:0 0 103px;width:103px;min-width:103px;max-width:103px}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo{flex-flow:row;align-items:center;gap:12px;width:100%;max-width:100%}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo>header{flex:none;margin-bottom:0}.profile__edit-form.profile-edit-dialog--heading{--profile-edit-dialog-avatar-size:5rem}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile__hero-alt{padding:0}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile__image-frame--fallback .profile__hero-alt{justify-content:center;align-items:center;display:flex}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview{flex:auto;gap:5px;width:100%;min-width:0}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-label{font-size:var(--profile-edit-dialog-mobile-image-label-font-size);line-height:var(--line-height-tight,1.25)}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-description{font-size:var(--profile-edit-dialog-mobile-image-description-font-size);line-height:var(--line-height-base,1.4)}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-actions{grid-template-columns:repeat(2,max-content);justify-content:start;align-items:stretch;gap:8px;width:100%;display:grid}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-button{width:auto;min-width:0}}.profile__edit-form{--profile-edit-dialog-row-max-width:544px;--profile-edit-dialog-muted-text:var(--solid-ui-color-gray-600,#4a5565);--profile-edit-dialog-quiet-text:var(--solid-ui-color-gray-700,#364153);--profile-edit-dialog-mobile-image-button-font-size:.75rem;--profile-edit-dialog-mobile-image-label-font-size:var(--solid-ui-font-size-sm,.875rem);--profile-edit-dialog-mobile-image-description-font-size:.625rem;--profile-edit-dialog-mobile-image-button-padding:6.6px 12px 7px 14px;width:100%}.profile-edit-dialog__section,.profile-edit-dialog__section--education{flex-direction:column;gap:12px;display:flex}.profile-edit{flex-direction:column;gap:25px;display:flex}.profile-edit-dialog__section h4{margin:0}.profile-edit-dialog__section fieldset{width:100%;border:0;gap:15px;min-inline-size:0;margin:0;padding:0;display:grid}.profile-edit-dialog__field-description{color:var(--profile-edit-dialog-muted-text);font-size:var(--solid-ui-font-size-sm,.875rem);font-weight:400;line-height:1.5}.profile-edit-dialog__row{max-width:var(--profile-edit-dialog-row-max-width);align-items:flex-start;gap:15px;display:flex}.profile-edit-dialog__row--heading-photo{gap:10px}.profile-edit-dialog__row--full{width:100%;max-width:100%}.profile-edit-dialog__field,.profile-edit-dialog__field-type{margin:0;display:block}.profile-edit-dialog__field-type{width:100%}.profile-edit-dialog__field{min-width:0}.profile-edit-dialog__field--stack{display:grid}.profile-edit-dialog__field--stack>small{text-align:right;justify-self:end;width:100%;display:block}.profile-edit-dialog__field--full{width:100%;max-width:100%!important}.profile-edit-dialog__field--row-width{width:100%;max-width:544px}.profile-edit-dialog__login-message{font-size:var(--solid-ui-font-size-xs,.75rem);color:var(--solid-ui-color-error,#b00020);margin:0}.profile-edit-dialog__section+.profile-edit-dialog__login-message,.profile__edit-form--projects .profile-edit-dialog__login-message{margin-top:15px}.profile-edit-dialog__actions{flex:none;justify-content:flex-end;align-items:center;display:flex}.profile-edit-dialog__actions--edge{margin-left:auto}.profile-edit-dialog__input-wrap{width:100%;position:relative}.profile-edit-dialog__input--with-action{box-sizing:border-box;width:100%;padding-right:120px}.profile-edit-dialog__image-preview{display:grid}.profile-edit-dialog__image-preview-header{margin-bottom:0}.profile-edit-dialog__image-preview-actions{align-items:center;gap:12px;display:flex}.profile-edit-dialog__image-preview-label{color:var(--gray-900,#101828);font-size:var(--solid-ui-font-size-sm,.875rem);font-weight:600}.profile-edit-dialog__image-preview-description{color:var(--solid-ui-color-gray-600,#4a5565);font-size:var(--solid-ui-font-size-sm,.875rem);font-weight:400}.profile-edit-dialog__image-preview-label,.profile-edit-dialog__image-preview-description{margin:0}.profile-edit-dialog--heading{--profile-edit-dialog-avatar-size:5.625rem}.profile-edit-dialog__image-frame{width:var(--profile-edit-dialog-avatar-size,5.625rem);height:var(--profile-edit-dialog-avatar-size,5.625rem);vertical-align:top;font-size:0;line-height:0;display:inline-block;position:relative;overflow:visible}.profile-edit-dialog__image-frame>solid-ui-photo-capture{pointer-events:none;display:block;position:absolute;inset:0}.profile-edit-dialog__image-frame>solid-ui-photo-capture>*{pointer-events:auto}.profile__image-frame{width:var(--profile-edit-dialog-avatar-size,5.625rem);height:var(--profile-edit-dialog-avatar-size,5.625rem);border:1px solid var(--solid-ui-color-primary,#7c4dff);background:var(--solid-ui-color-slate-50,#f8fafc);box-sizing:border-box;border-radius:10px;margin:0;padding:0;display:block;position:relative;overflow:hidden}.profile__image-frame--fallback{border:1px dashed var(--solid-ui-color-slate-200,#e2e8f0);background:var(--solid-ui-color-slate-50,#f8fafc)}.profile__hero,.profile__hero-alt{box-sizing:border-box;border-radius:10px;width:100%;height:100%;display:block}.profile__hero{object-fit:cover;object-position:center;background:var(--color-surface-placeholder,var(--gray-300,#d1d5dc)) 50% / cover no-repeat}.profile__hero-alt{background:var(--solid-ui-color-slate-50,#f8fafc);justify-content:center;align-items:center;display:none}.profile__image-frame--fallback .profile__hero-alt{display:flex}.profile__hero-icon{box-sizing:border-box;justify-content:center;align-items:center;width:100%;height:100%;padding:1.125rem;display:flex}.profile__hero-icon icon-lucide-circle-user-round,.profile__hero-alt icon-lucide-circle-user-round{color:#d9e1f2;width:1.75rem;height:1.75rem;display:block}.profile-edit-dialog__image-camera-button{z-index:1;border:1px solid var(--solid-ui-color-slate-200,#e2e8f0);background:var(--solid-ui-color-white,#fff);width:1.75rem;min-width:1.75rem;height:1.75rem;min-height:1.75rem;color:var(--solid-ui-color-gray-700,#364153);cursor:pointer;box-sizing:border-box;border-radius:7px;justify-content:center;align-items:center;padding:0;line-height:0;transition:none;display:inline-flex;position:absolute;bottom:5px;right:5px;box-shadow:0 2px 6px #0f172a1f}.profile-edit-dialog__image-camera-button:hover,.profile-edit-dialog__image-camera-button:focus-visible,.profile-edit-dialog__image-camera-button:active{border-color:var(--solid-ui-color-slate-200,#e2e8f0);background:color-mix(in srgb, var(--solid-ui-color-primary,#7c4dff) 12%, #fff);width:1.75rem;min-width:1.75rem;height:1.75rem;min-height:1.75rem;color:var(--solid-ui-color-primary,#7c4dff);padding:0;transform:none;box-shadow:0 2px 6px #0f172a1f}.profile-edit-dialog__image-camera-button icon-lucide-camera{vertical-align:middle;flex-shrink:0;width:.875rem;height:.875rem;margin:.05rem;display:block}.profile-edit-dialog__image-camera-capture-row{justify-content:center;width:100%;display:flex}.profile-edit-dialog__image-camera-capture-frame{box-sizing:border-box;border:1px solid var(--solid-color-gray-200,#e5e7eb);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;width:fit-content;max-width:100%;margin:6px auto 12px;padding:10px;display:flex;position:relative}.profile-edit-dialog__image-camera-capture-frame[hidden]{display:none}.profile-edit-dialog__paste-button{white-space:nowrap;z-index:1;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.profile-edit-dialog__paste-icon{width:.875rem;height:.875rem;stroke:var(--solid-ui-color-primary,#7c4dff);fill:var(--solid-ui-color-primary,#7c4dff)}.profile-edit-dialog__paste-icon svg{display:block;transform:translate(1px,1px)}solid-ui-button.profile-edit-dialog__drag-handle{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}solid-ui-button.profile-edit-dialog__drag-handle:active{cursor:grabbing}.profile-edit-dialog__row--drop-target{outline:1px dashed var(--solid-ui-color-gray-400,#99a1af);outline-offset:2px}.profile-edit-dialog__field input,.profile-edit-dialog__field select,.profile-edit-dialog__field-type input,.profile-edit-dialog__field-type select{box-sizing:border-box;width:100%;max-width:100%;min-height:var(--solid-ui-clickable-area,42px);height:var(--solid-ui-clickable-area,42px);border:1px solid var(--solid-ui-color-gray-400,#99a1af);background:var(--solid-ui-color-white,#fff);color:var(--color-text-subheading,var(--gray-900,#101828));font-size:var(--solid-ui-font-size-sm,.875rem);border-radius:5px;margin-block-start:0;padding:10px;font-weight:500}.profile-edit-dialog__field input[type=date],.profile-edit-dialog__field-type input[type=date]{min-width:0}.profile-edit-dialog__field textarea,.profile-edit-dialog__field-type textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:var(--solid-ui-clickable-area,42px)}.profile-edit-dialog__textarea{color:var(--color-text-subheading,var(--gray-900,#101828));font-size:var(--solid-ui-font-size-sm,.875rem);border:1px solid var(--solid-ui-color-gray-400,#99a1af);background:var(--solid-ui-color-white,#fff);resize:vertical;border-radius:5px;height:auto;font-weight:500;line-height:1.6;min-height:160px!important}.profile__edit-form--heading{flex-direction:column;gap:12px;display:flex}.profile-edit-dialog__bio-field-container{width:100%;max-width:var(--profile-edit-dialog-row-max-width);box-sizing:border-box;flex-direction:column;align-items:flex-start;gap:12px;margin:0;padding:0;display:flex}.profile-edit-dialog__row--language{margin-left:0}.profile-edit-dialog__row--language>.profile-edit-dialog__field--language-name{flex:1 1 0;min-width:0}.profile-edit-dialog__field-type--language-proficiency,.profile-edit-dialog__field-type--language-proficiency[hidden]{display:none!important}.profile-edit-dialog__actions--language{margin-left:0}.profile-edit-dialog__row--social{width:100%;max-width:100%;margin-left:-10px}.profile-edit-dialog__field--social-type{flex:0 0 96px;width:96px;max-width:96px}.profile-edit-dialog__field--social-url{flex:auto;min-width:0}.profile-edit-dialog__row--project{width:100%;max-width:100%}.profile-edit-dialog__row--resume-entry-header{border-bottom:1px solid var(--solid-ui-color-gray-400,#99a1af);align-items:center}.profile-edit-dialog__row--resume-entry-header>.profile-edit-dialog__entry-heading{margin:0}.profile-edit-dialog__entry-heading{color:var(--solid-ui-color-gray-700,#364153);font-size:var(--solid-ui-font-size-sm,.875rem);margin:0;font-weight:500}.profile-edit-dialog__section--education .profile-edit-dialog__section-heading{color:var(--solid-ui-color-gray-700,#364153);font-size:var(--solid-ui-font-size-md,1rem);margin:0;font-weight:500}.profile-edit-dialog__row--equal>.profile-edit-dialog__field,.profile-edit-dialog__row--equal>.profile-edit-dialog__field-type{flex:1 1 0;min-width:0}.profile-edit-dialog--heading .profile-edit-dialog__image-camera-capture-row{margin-bottom:-12.5px}.profile-edit-dialog--heading .profile-edit-dialog__image-camera-capture-row:has(>[hidden]){display:none}.profile-edit-dialog--heading .profile-edit-dialog__image-camera-capture-frame{margin-top:3px;margin-bottom:6px}.profile__edit-form--resume .profile-edit-dialog__field,.profile__edit-form--resume .profile-edit-dialog__field-type:not(.hidden),.profile__edit-form--contact-info .profile-edit-dialog__field,.profile__edit-form--contact-info .profile-edit-dialog__field-type:not(.hidden){flex-direction:column;flex:1 0 0;align-items:flex-start;gap:5px;display:flex}.profile__edit-form--resume .profile-edit-dialog__row{width:100%;max-width:100%}.profile__edit-form--resume .profile-edit-dialog__section fieldset>.profile-edit-dialog__field{max-width:100%}.profile__edit-form--resume .profile-edit-dialog__field>input,.profile__edit-form--resume .profile-edit-dialog__field>solid-ui-select,.profile__edit-form--resume .profile-edit-dialog__field>solid-ui-combobox,.profile__edit-form--resume .profile-edit-dialog__field>textarea,.profile__edit-form--resume .profile-edit-dialog__field-type>input,.profile__edit-form--resume .profile-edit-dialog__field-type>solid-ui-select,.profile__edit-form--resume .profile-edit-dialog__field-type>textarea,.profile__edit-form--contact-info .profile-edit-dialog__field>input,.profile__edit-form--contact-info .profile-edit-dialog__field>solid-ui-select,.profile__edit-form--contact-info .profile-edit-dialog__field>textarea,.profile__edit-form--contact-info .profile-edit-dialog__field-type>input,.profile__edit-form--contact-info .profile-edit-dialog__field-type>solid-ui-select,.profile__edit-form--contact-info .profile-edit-dialog__field-type>textarea{align-self:stretch}.profile-edit-dialog__field>solid-ui-combobox,.profile-edit-dialog__field-type>solid-ui-combobox{box-sizing:border-box;align-self:stretch;width:100%;min-width:0;max-width:100%;display:block}.profile__edit-form solid-ui-combobox{background:var(--solid-ui-color-white,#fff);color:var(--color-text-subheading,var(--gray-900,#101828));font-size:var(--solid-ui-font-size-sm,.875rem);font-weight:500;line-height:calc(var(--solid-ui-clickable-area,42px) - 22px);border-radius:5px}.profile-edit-dialog__field--resume-location{flex:1 0 0;width:auto;max-width:none}.profile-edit-dialog__row--resume-dates{width:100%;max-width:100%}.profile-edit-dialog__field--date-group{flex:1 1 0;min-width:0}.profile-edit-dialog__date-pair{align-items:center;gap:15px;width:100%;display:flex}.profile-edit-dialog__date-pair>solid-ui-select{flex:1 1 0;min-width:0}.profile-edit-dialog__resume-date-select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;display:block}.profile-edit-dialog__resume-date-select--disabled{pointer-events:none;opacity:var(--opacity-input-disabled,.75)}.profile-edit-dialog__bio-field-container>small{text-align:right;align-self:flex-end}.profile-edit-dialog--heading .profile-edit-dialog__row,.profile-edit-dialog--heading .profile-edit-dialog__field--row-width{width:100%;max-width:100%}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo{border-bottom:1px solid var(--solid-ui-color-slate-200,#e2e8f0);padding-bottom:20px}.profile-edit-dialog--heading .profile-edit{gap:12.5px}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile__hero-alt{padding:0}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point{gap:10px;width:100%;max-width:100%}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point>.profile-edit-dialog__field{flex:1 1 0;min-width:0}.profile-edit-dialog--heading .profile-edit-dialog__field-type--contact-point{padding-top:calc(var(--solid-ui-font-size-sm,.875rem) * 1.5)}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point>.profile-edit-dialog__field>.label{width:100%;display:block}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point.profile-edit-dialog__row--equal>.profile-edit-dialog__field-type.profile-edit-dialog__field-type--contact-point{flex:0 0 103px;width:103px;min-width:103px;max-width:103px}.profile-edit-dialog__row--address-header{max-width:var(--profile-edit-dialog-row-max-width);align-items:flex-end}.profile-edit-dialog__row--inline-end{justify-content:flex-end;max-width:100%}.profile-edit-dialog__checkbox-label{cursor:var(--profile-interactive-cursor,pointer);align-items:center;gap:12px;margin-left:auto;display:inline-flex}.profile-edit-dialog__checkbox-input{width:var(--icon-xxs,1rem);height:var(--icon-xxs,1rem);accent-color:var(--solid-ui-color-primary,#7c4dff);cursor:var(--profile-interactive-cursor,pointer);flex:none;margin:0}.profile-edit-dialog__checkbox-input:focus-visible{outline:var(--focus-indicator-width,2px) solid var(--solid-ui-color-primary,#7c4dff);outline-offset:2px}.profile-edit-dialog__checkbox-input:disabled{opacity:var(--opacity-disabled,.5)}.profile-edit-dialog__section fieldset>.profile-edit-dialog__field{max-width:var(--profile-edit-dialog-row-max-width)}.profile-edit-dialog__field-type--wide{flex:auto;width:100%;min-width:0;max-width:100%}.profile-edit-dialog__field-type--contact-point{flex:none;align-self:flex-start;width:auto;max-width:none}.profile-edit-dialog__social-account-select{box-sizing:border-box;contain:inline-size;width:100%;min-width:0;max-width:100%;display:block}.profile-edit-dialog__resume-organization-type-select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;display:block}.profile-edit-dialog__bio-field-container textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:var(--solid-ui-clickable-area,42px)}`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();const e=require("../../ui/dialog2.cjs.js"),t=require("./imagePreview.cjs.js");require("../../texts/dialogTexts.cjs.js");const n=require("../../texts/messageTexts.cjs.js"),r=require("./mutations.cjs.js"),i=require("../shared/phoneCountries.cjs.js"),a=require("../../textUtils.cjs.js"),o=require("../shared/contactTypeUtils.cjs.js"),s=require("../shared/rowState.cjs.js");require("../../../../../_virtual/~icons/lucide/camera.cjs.js");const c=require("../shared/sanitizeUtils.cjs.js"),l=require("./dateHelpers.cjs.js"),u=require("./imageHelpers.cjs.js");require("solid-ui/components/button");let d=require("lit-html");require("solid-ui/components/combobox"),require("solid-ui/components/combobox-option"),require("solid-ui/components/photo-capture");var f=[{label:`Mobile`,value:`Mobile`},{label:`Home`,value:`Home`},{label:`Work`,value:`Work`}],p=[{label:`Personal`,value:`Personal`},{label:`Office`,value:`Office`}],m=[{label:`He/Him`,value:`He/Him`},{label:`She/Her`,value:`She/Her`},{label:`They/Them`,value:`They/Them`}];function h(e){return`value`in e}function g(e){return`streetAddress`in e}function _(e){return`name`in e}function v(e,t){return t.some(t=>t.value===e)?e:t[0]?.value||``}function y(e){return e===`phone`?f:p}function b(e,t){return{...e,type:v(e.type||``,y(t))}}function x(e){return h(e)?a.hasNonEmptyText(e.value):g(e)?[e.streetAddress,e.locality,e.region,e.postalCode,e.countryName].some(a.hasNonEmptyText):_(e)?[e.name,e.nickname,e.imageSrc,e.location,e.pronouns,e.dateOfBirth].some(a.hasNonEmptyText):!1}function S(e){let t=a.sanitizeTextValue(e||``).toLowerCase().replace(/\s+/g,``);return t?t===`he`||t===`he/him`?`He/Him`:t===`she`||t===`she/her`?`She/Her`:t===`they`||t===`they/them`?`They/Them`:e||``:``}function C(e){let t={name:a.sanitizeTextValue(a.toText(e.name)),nickname:a.sanitizeTextValue(a.toText(e.nickname||``)),imageSrc:a.sanitizeTextValue(a.toText(e.imageSrc||``)),location:a.sanitizeTextValue(a.toText(e.location||``)),pronouns:S(a.toText(e.pronouns||``)),dateOfBirth:a.sanitizeTextValue(a.toText(e.dateOfBirth||``)),entryNode:a.toText(e.entryNode),status:a.toText(e.entryNode)?`existing`:`new`},n=e.primaryEmail,r=e.primaryPhone,i=e.primaryAddress,s=!o.normalizeEmailTypeForEdit(n?.type),l=!o.normalizePhoneTypeForEdit(r?.type),u=o.normalizeEmailTypeForEdit(n?.type),d=o.normalizePhoneTypeForEdit(r?.type),f={value:c.sanitizeEmailValue(a.toText(n?.valueNode).replace(/^mailto:/i,``)),type:u,entryNode:a.toText(n?.entryNode),status:a.toText(n?.entryNode)?`existing`:`new`},p={value:a.sanitizeTextValue(a.toText(r?.valueNode||r?.entryNode||``).replace(/^tel:/i,``)),type:d,entryNode:a.toText(r?.entryNode||``),status:a.toText(r?.entryNode||``)?`existing`:`new`},m={streetAddress:c.sanitizeAddressFieldValue(a.toText(i?.streetAddress)),locality:c.sanitizeAddressFieldValue(a.toText(i?.locality)),region:c.sanitizeAddressFieldValue(a.toText(i?.region)),postalCode:c.sanitizeAddressFieldValue(a.toText(i?.postalCode)),countryName:c.sanitizeAddressFieldValue(a.toText(i?.countryName)),type:a.toTypeLabel(i?.type),entryNode:a.toText(i?.entryNode),status:a.toText(i?.entryNode)?`existing`:`new`};return{basicInfo:t||{name:``,nickname:``,imageSrc:``,location:``,pronouns:``,dateOfBirth:``,entryNode:``,status:`new`},email:f||{value:``,type:``,entryNode:``,status:`new`},phone:p||{value:``,type:``,entryNode:``,status:`new`},address:m||{streetAddress:``,locality:``,region:``,postalCode:``,countryName:``,type:``,entryNode:``,status:`new`},emailTypeWasMissing:s,phoneTypeWasMissing:l,imagePreviewSrc:``,clearImagePreview:()=>void 0}}function w(e,t){if(e.clearImagePreview(),typeof URL.createObjectURL!=`function`){e.imagePreviewSrc=``,e.clearImagePreview=()=>void 0;return}let n=URL.createObjectURL(t);e.imagePreviewSrc=n,e.clearImagePreview=()=>{URL.revokeObjectURL(n),e.imagePreviewSrc=``,e.clearImagePreview=()=>void 0}}function T(e,t){e.clearImagePreview(),t&&(e.imagePreviewSrc=t,e.clearImagePreview=()=>{e.imagePreviewSrc=``,e.clearImagePreview=()=>void 0})}function E(e){let t=e=>({...b(e,`email`),type:o.toSavedHeadingEmailType(b(e,`email`).type)});return{create:e.create.map(t),update:e.update.map(t),remove:e.remove.map(t)}}function D(e){let t=e=>({...b(e,`phone`),type:o.toSavedHeadingPhoneType(b(e,`phone`).type)});return{create:e.create.map(t),update:e.update.map(t),remove:e.remove.map(t)}}function O(e,t,n){let r=s.summarizeRowOps([e],x);return n&&e.entryNode&&e.status===`existing`&&x(e)&&r.create.length===0&&r.update.length===0&&r.remove.length===0?{create:r.create,update:[b({...e,status:`modified`},t)],remove:r.remove}:r}function k({phone:e}){let t=`Mobile Number`,n=`Phone Type 1`,r=`phone-value`,a=i.splitPhoneValue(e?.value||``),o=a.dialCode;return d.html`
1
+ (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`html[data-layout=mobile] .profile-edit-dialog__row{flex-direction:column;align-items:stretch;max-width:100%}html[data-layout=mobile] .profile-edit-dialog__row--equal>.profile-edit-dialog__field,html[data-layout=mobile] .profile-edit-dialog__row--equal>.profile-edit-dialog__field-type,html[data-layout=mobile] .profile-edit-dialog__field-type{flex:auto}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__field--dob{align-self:stretch;width:100%;min-width:0;max-width:100%;overflow:hidden}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__row--heading-dob{flex-direction:column;align-items:stretch}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__row--heading-dob>.profile-edit-dialog__field,html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__row--heading-dob>.profile-edit-dialog__field-type{flex:auto;width:100%;min-width:0;max-width:100%}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob{height:var(--solid-ui-clickable-area,42px);min-height:var(--solid-ui-clickable-area,42px);max-height:var(--solid-ui-clickable-area,42px);box-sizing:border-box;width:100%;min-width:0;max-width:100%;line-height:var(--line-height-base,1.5);display:block}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-date-and-time-value{text-align:center;width:100%;min-width:0;max-width:100%;overflow:hidden}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-datetime-edit{text-align:center;width:100%;min-width:0;max-width:100%;overflow:hidden}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-datetime-edit-fields-wrapper{text-align:center;width:100%;min-width:0;max-width:100%;overflow:hidden}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-date-and-time-value{text-align:center;white-space:nowrap}@media (hover:none) and (pointer:coarse){html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob{height:var(--solid-ui-clickable-area,42px);min-height:var(--solid-ui-clickable-area,42px);max-height:var(--solid-ui-clickable-area,42px);line-height:calc(var(--solid-ui-clickable-area,42px) - 2px);width:calc(100% - 24px);max-width:calc(100% - 24px);padding-block:0}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-date-and-time-value{line-height:calc(var(--solid-ui-clickable-area,42px) - 2px)}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-datetime-edit{line-height:calc(var(--solid-ui-clickable-area,42px) - 2px)}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-datetime-edit-fields-wrapper{line-height:calc(var(--solid-ui-clickable-area,42px) - 2px)}html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog--heading .profile-edit-dialog__input--dob::-webkit-calendar-picker-indicator{margin:0;padding:0}}html[data-layout=mobile] .profile__edit-form{--profile-edit-dialog-mobile-image-button-font-size:var(--solid-ui-font-size-md,1rem);--profile-edit-dialog-mobile-image-label-font-size:var(--solid-ui-font-size-sm,.875rem);--profile-edit-dialog-mobile-image-description-font-size:.625rem}html[data-layout=mobile] #profile-modal .modal label.profile-edit-dialog__field,html[data-layout=mobile] #profile-modal .modal label.profile-edit-dialog__field-type,html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog__field>.label,html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog__field-type>.label,html[data-layout=mobile] #profile-modal .modal .profile-edit-dialog__field-description{font-size:var(--solid-ui-font-size-sm,.875rem);line-height:1.5}html[data-layout=mobile] .profile-edit-dialog__field input,html[data-layout=mobile] .profile-edit-dialog__field-type input{font-size:var(--solid-ui-font-size-md,1rem)}html[data-layout=mobile] .profile-edit-dialog__field-type--contact-point{flex:auto;width:100%;max-width:100%}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--contact-point{flex-direction:row;align-items:stretch}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--contact-point.profile-edit-dialog__row--equal>.profile-edit-dialog__field-type.profile-edit-dialog__field-type--contact-point{flex:0 0 103px;width:103px;min-width:103px;max-width:103px}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo{flex-flow:row;align-items:center;gap:12px;width:100%;max-width:100%}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo>header{flex:none;margin-bottom:0}html[data-layout=mobile] .profile-edit-dialog--heading{--profile-edit-dialog-avatar-size:5rem}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile__hero-alt{padding:0}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile__image-frame--fallback .profile__hero-alt{justify-content:center;align-items:center;display:flex}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview{flex:auto;gap:5px;width:100%;min-width:0}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-label{font-size:var(--profile-edit-dialog-mobile-image-label-font-size);line-height:1.25}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-description{font-size:var(--profile-edit-dialog-mobile-image-description-font-size);line-height:1.4}html[data-layout=mobile] .profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-actions{grid-template-columns:repeat(2,max-content);justify-content:start;align-items:stretch;gap:8px;width:100%;display:grid}@media (width<=576px){.profile-edit-dialog__row{flex-direction:column;align-items:stretch;max-width:100%}.profile__edit-form{--profile-edit-dialog-mobile-image-button-font-size:var(--solid-ui-font-size-md,1rem);--profile-edit-dialog-mobile-image-label-font-size:var(--solid-ui-font-size-sm,.875rem);--profile-edit-dialog-mobile-image-description-font-size:.625rem}.profile-edit-dialog__row--equal>.profile-edit-dialog__field,.profile-edit-dialog__row--equal>.profile-edit-dialog__field-type,.profile-edit-dialog__field-type{flex:auto}.profile-edit-dialog__field input,.profile-edit-dialog__field-type input{font-size:var(--solid-ui-font-size-sm,.875rem)}.profile-edit-dialog__field-type--contact-point{flex:auto;width:100%;max-width:100%}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point{flex-direction:row;align-items:stretch}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point.profile-edit-dialog__row--equal>.profile-edit-dialog__field-type.profile-edit-dialog__field-type--contact-point{flex:0 0 103px;width:103px;min-width:103px;max-width:103px}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo{flex-flow:row;align-items:center;gap:12px;width:100%;max-width:100%}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo>header{flex:none;margin-bottom:0}.profile__edit-form.profile-edit-dialog--heading{--profile-edit-dialog-avatar-size:5rem}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile__hero-alt{padding:0}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile__image-frame--fallback .profile__hero-alt{justify-content:center;align-items:center;display:flex}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview{flex:auto;gap:5px;width:100%;min-width:0}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-label{font-size:var(--profile-edit-dialog-mobile-image-label-font-size);line-height:var(--line-height-tight,1.25)}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-description{font-size:var(--profile-edit-dialog-mobile-image-description-font-size);line-height:var(--line-height-base,1.4)}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-preview-actions{grid-template-columns:repeat(2,max-content);justify-content:start;align-items:stretch;gap:8px;width:100%;display:grid}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile-edit-dialog__image-button{width:auto;min-width:0}}.profile__edit-form{--profile-edit-dialog-row-max-width:544px;--profile-edit-dialog-muted-text:var(--solid-ui-color-gray-600,#4a5565);--profile-edit-dialog-quiet-text:var(--solid-ui-color-gray-700,#364153);--profile-edit-dialog-mobile-image-button-font-size:.75rem;--profile-edit-dialog-mobile-image-label-font-size:var(--solid-ui-font-size-sm,.875rem);--profile-edit-dialog-mobile-image-description-font-size:.625rem;--profile-edit-dialog-mobile-image-button-padding:6.6px 12px 7px 14px;width:100%}.profile-edit-dialog__section,.profile-edit-dialog__section--education{flex-direction:column;gap:12px;display:flex}.profile-edit{flex-direction:column;gap:25px;display:flex}.profile-edit-dialog__section h4{margin:0}.profile-edit-dialog__section fieldset{width:100%;border:0;gap:15px;min-inline-size:0;margin:0;padding:0;display:grid}.profile-edit-dialog__field-description{color:var(--profile-edit-dialog-muted-text);font-size:var(--solid-ui-font-size-sm,.875rem);font-weight:400;line-height:1.5}.profile-edit-dialog__row{max-width:var(--profile-edit-dialog-row-max-width);align-items:flex-start;gap:15px;display:flex}.profile-edit-dialog__row--heading-photo{gap:10px}.profile-edit-dialog__row--full{width:100%;max-width:100%}.profile-edit-dialog__field,.profile-edit-dialog__field-type{margin:0;display:block}.profile-edit-dialog__field-type{width:100%}.profile-edit-dialog__field{min-width:0}.profile-edit-dialog__field--stack{display:grid}.profile-edit-dialog__field--stack>small{text-align:right;justify-self:end;width:100%;display:block}.profile-edit-dialog__field--full{width:100%;max-width:100%!important}.profile-edit-dialog__field--row-width{width:100%;max-width:544px}.profile-edit-dialog__login-message{font-size:var(--solid-ui-font-size-xs,.75rem);color:var(--solid-ui-color-error,#b00020);margin:0}.profile-edit-dialog__section+.profile-edit-dialog__login-message,.profile__edit-form--projects .profile-edit-dialog__login-message{margin-top:15px}.profile-edit-dialog__actions{flex:none;justify-content:flex-end;align-items:center;display:flex}.profile-edit-dialog__actions--edge{margin-left:auto}.profile-edit-dialog__input-wrap{width:100%;position:relative}.profile-edit-dialog__input--with-action{box-sizing:border-box;width:100%;padding-right:120px}.profile-edit-dialog__image-preview{display:grid}.profile-edit-dialog__image-preview-header{margin-bottom:0}.profile-edit-dialog__image-preview-actions{align-items:center;gap:12px;display:flex}.profile-edit-dialog__image-preview-label{color:var(--gray-900,#101828);font-size:var(--solid-ui-font-size-sm,.875rem);font-weight:600}.profile-edit-dialog__image-preview-description{color:var(--solid-ui-color-gray-600,#4a5565);font-size:var(--solid-ui-font-size-sm,.875rem);font-weight:400}.profile-edit-dialog__image-preview-label,.profile-edit-dialog__image-preview-description{margin:0}.profile-edit-dialog--heading{--profile-edit-dialog-avatar-size:5.625rem}.profile-edit-dialog__image-frame{width:var(--profile-edit-dialog-avatar-size,5.625rem);height:var(--profile-edit-dialog-avatar-size,5.625rem);vertical-align:top;font-size:0;line-height:0;display:inline-block;position:relative;overflow:visible}.profile-edit-dialog__image-frame>solid-ui-photo-capture{pointer-events:none;display:block;position:absolute;inset:0}.profile-edit-dialog__image-frame>solid-ui-photo-capture>*{pointer-events:auto}.profile__image-frame{width:var(--profile-edit-dialog-avatar-size,5.625rem);height:var(--profile-edit-dialog-avatar-size,5.625rem);border:1px solid var(--solid-ui-color-primary,#7c4dff);background:var(--solid-ui-color-slate-50,#f8fafc);box-sizing:border-box;border-radius:10px;margin:0;padding:0;display:block;position:relative;overflow:hidden}.profile__image-frame--fallback{border:1px dashed var(--solid-ui-color-slate-200,#e2e8f0);background:var(--solid-ui-color-slate-50,#f8fafc)}.profile__hero,.profile__hero-alt{box-sizing:border-box;border-radius:10px;width:100%;height:100%;display:block}.profile__hero{object-fit:cover;object-position:center;background:var(--color-surface-placeholder,var(--gray-300,#d1d5dc)) 50% / cover no-repeat}.profile__hero-alt{background:var(--solid-ui-color-slate-50,#f8fafc);justify-content:center;align-items:center;display:none}.profile__image-frame--fallback .profile__hero-alt{display:flex}.profile__hero-icon{box-sizing:border-box;justify-content:center;align-items:center;width:100%;height:100%;padding:1.125rem;display:flex}.profile__hero-icon icon-lucide-circle-user-round,.profile__hero-alt icon-lucide-circle-user-round{color:#d9e1f2;width:1.75rem;height:1.75rem;display:block}.profile-edit-dialog__image-camera-button{z-index:1;border:1px solid var(--solid-ui-color-slate-200,#e2e8f0);background:var(--solid-ui-color-white,#fff);width:1.75rem;min-width:1.75rem;height:1.75rem;min-height:1.75rem;color:var(--solid-ui-color-gray-700,#364153);cursor:pointer;box-sizing:border-box;border-radius:7px;justify-content:center;align-items:center;padding:0;line-height:0;transition:none;display:inline-flex;position:absolute;bottom:5px;right:5px;box-shadow:0 2px 6px #0f172a1f}.profile-edit-dialog__image-camera-button:hover,.profile-edit-dialog__image-camera-button:focus-visible,.profile-edit-dialog__image-camera-button:active{border-color:var(--solid-ui-color-slate-200,#e2e8f0);background:color-mix(in srgb, var(--solid-ui-color-primary,#7c4dff) 12%, #fff);width:1.75rem;min-width:1.75rem;height:1.75rem;min-height:1.75rem;color:var(--solid-ui-color-primary,#7c4dff);padding:0;transform:none;box-shadow:0 2px 6px #0f172a1f}.profile-edit-dialog__image-camera-button icon-lucide-camera{vertical-align:middle;flex-shrink:0;width:.875rem;height:.875rem;margin:.05rem;display:block}.profile-edit-dialog__image-camera-capture-row{justify-content:center;width:100%;display:flex}.profile-edit-dialog__image-camera-capture-frame{box-sizing:border-box;border:1px solid var(--solid-color-gray-200,#e5e7eb);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;width:fit-content;max-width:100%;margin:6px auto 12px;padding:10px;display:flex;position:relative}.profile-edit-dialog__image-camera-capture-frame[hidden]{display:none}.profile-edit-dialog__paste-button{white-space:nowrap;z-index:1;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.profile-edit-dialog__paste-icon{width:.875rem;height:.875rem;stroke:var(--solid-ui-color-primary,#7c4dff);fill:var(--solid-ui-color-primary,#7c4dff)}.profile-edit-dialog__paste-icon svg{display:block;transform:translate(1px,1px)}solid-ui-button.profile-edit-dialog__drag-handle{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}solid-ui-button.profile-edit-dialog__drag-handle:active{cursor:grabbing}.profile-edit-dialog__row--drop-target{outline:1px dashed var(--solid-ui-color-gray-400,#99a1af);outline-offset:2px}.profile-edit-dialog__field input,.profile-edit-dialog__field select,.profile-edit-dialog__field-type input,.profile-edit-dialog__field-type select{box-sizing:border-box;width:100%;max-width:100%;min-height:var(--solid-ui-clickable-area,42px);height:var(--solid-ui-clickable-area,42px);border:1px solid var(--solid-ui-color-gray-400,#99a1af);background:var(--solid-ui-color-white,#fff);color:var(--color-text-subheading,var(--gray-900,#101828));font-size:var(--solid-ui-font-size-sm,.875rem);border-radius:5px;margin-block-start:0;padding:10px;font-weight:500}.profile-edit-dialog__field input[type=date],.profile-edit-dialog__field-type input[type=date]{min-width:0}.profile-edit-dialog__field textarea,.profile-edit-dialog__field-type textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:var(--solid-ui-clickable-area,42px)}.profile-edit-dialog__textarea{color:var(--color-text-subheading,var(--gray-900,#101828));font-size:var(--solid-ui-font-size-sm,.875rem);border:1px solid var(--solid-ui-color-gray-400,#99a1af);background:var(--solid-ui-color-white,#fff);resize:vertical;border-radius:5px;height:auto;font-weight:500;line-height:1.6;min-height:160px!important}.profile__edit-form--heading{flex-direction:column;gap:12px;display:flex}.profile-edit-dialog__bio-field-container{width:100%;max-width:var(--profile-edit-dialog-row-max-width);box-sizing:border-box;flex-direction:column;align-items:flex-start;gap:12px;margin:0;padding:0;display:flex}.profile-edit-dialog__row--language{margin-left:0}.profile-edit-dialog__row--language>.profile-edit-dialog__field--language-name{flex:1 1 0;min-width:0}.profile-edit-dialog__field-type--language-proficiency,.profile-edit-dialog__field-type--language-proficiency[hidden]{display:none!important}.profile-edit-dialog__actions--language{margin-left:0}.profile-edit-dialog__row--social{width:100%;max-width:100%;margin-left:-10px}.profile-edit-dialog__field--social-type{flex:0 0 96px;width:96px;max-width:96px}.profile-edit-dialog__field--social-url{flex:auto;min-width:0}.profile-edit-dialog__row--project{width:100%;max-width:100%}.profile-edit-dialog__row--resume-entry-header{border-bottom:1px solid var(--solid-ui-color-gray-400,#99a1af);align-items:center}.profile-edit-dialog__row--resume-entry-header>.profile-edit-dialog__entry-heading{margin:0}.profile-edit-dialog__entry-heading{color:var(--solid-ui-color-gray-700,#364153);font-size:var(--solid-ui-font-size-sm,.875rem);margin:0;font-weight:500}.profile-edit-dialog__section--education .profile-edit-dialog__section-heading{color:var(--solid-ui-color-gray-700,#364153);font-size:var(--solid-ui-font-size-md,1rem);margin:0;font-weight:500}.profile-edit-dialog__row--equal>.profile-edit-dialog__field,.profile-edit-dialog__row--equal>.profile-edit-dialog__field-type{flex:1 1 0;min-width:0}.profile-edit-dialog--heading .profile-edit-dialog__image-camera-capture-row{margin-bottom:-12.5px}.profile-edit-dialog--heading .profile-edit-dialog__image-camera-capture-row:has(>[hidden]){display:none}.profile-edit-dialog--heading .profile-edit-dialog__image-camera-capture-frame{margin-top:3px;margin-bottom:6px}.profile__edit-form--resume .profile-edit-dialog__field,.profile__edit-form--resume .profile-edit-dialog__field-type:not(.hidden),.profile__edit-form--contact-info .profile-edit-dialog__field,.profile__edit-form--contact-info .profile-edit-dialog__field-type:not(.hidden){flex-direction:column;flex:1 0 0;align-items:flex-start;gap:5px;display:flex}.profile__edit-form--resume .profile-edit-dialog__row{width:100%;max-width:100%}.profile__edit-form--resume .profile-edit-dialog__section fieldset>.profile-edit-dialog__field{max-width:100%}.profile__edit-form--resume .profile-edit-dialog__field>input,.profile__edit-form--resume .profile-edit-dialog__field>solid-ui-select,.profile__edit-form--resume .profile-edit-dialog__field>solid-ui-combobox,.profile__edit-form--resume .profile-edit-dialog__field>textarea,.profile__edit-form--resume .profile-edit-dialog__field-type>input,.profile__edit-form--resume .profile-edit-dialog__field-type>solid-ui-select,.profile__edit-form--resume .profile-edit-dialog__field-type>textarea,.profile__edit-form--contact-info .profile-edit-dialog__field>input,.profile__edit-form--contact-info .profile-edit-dialog__field>solid-ui-select,.profile__edit-form--contact-info .profile-edit-dialog__field>textarea,.profile__edit-form--contact-info .profile-edit-dialog__field-type>input,.profile__edit-form--contact-info .profile-edit-dialog__field-type>solid-ui-select,.profile__edit-form--contact-info .profile-edit-dialog__field-type>textarea{align-self:stretch}.profile-edit-dialog__field>solid-ui-combobox,.profile-edit-dialog__field-type>solid-ui-combobox{box-sizing:border-box;align-self:stretch;width:100%;min-width:0;max-width:100%;display:block}.profile__edit-form solid-ui-combobox{background:var(--solid-ui-color-white,#fff);color:var(--color-text-subheading,var(--gray-900,#101828));font-size:var(--solid-ui-font-size-sm,.875rem);font-weight:500;line-height:calc(var(--solid-ui-clickable-area,42px) - 22px);border-radius:5px}.profile-edit-dialog__field--resume-location{flex:1 0 0;width:auto;max-width:none}.profile-edit-dialog__row--resume-dates{width:100%;max-width:100%}.profile-edit-dialog__field--date-group{flex:1 1 0;min-width:0}.profile-edit-dialog__date-pair{align-items:center;gap:15px;width:100%;display:flex}.profile-edit-dialog__date-pair>solid-ui-select{flex:1 1 0;min-width:0}.profile-edit-dialog__resume-date-select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;display:block}.profile-edit-dialog__resume-date-select--disabled{pointer-events:none;opacity:var(--opacity-input-disabled,.75)}.profile-edit-dialog__bio-field-container>small{text-align:right;align-self:flex-end}.profile-edit-dialog--heading .profile-edit-dialog__row,.profile-edit-dialog--heading .profile-edit-dialog__field--row-width{width:100%;max-width:100%}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo{border-bottom:1px solid var(--solid-ui-color-slate-200,#e2e8f0);padding-bottom:20px}.profile-edit-dialog--heading .profile-edit{gap:12.5px}.profile-edit-dialog--heading .profile-edit-dialog__row--heading-photo .profile__hero-alt{padding:0}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point{gap:10px;width:100%;max-width:100%}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point>.profile-edit-dialog__field{flex:1 1 0;min-width:0}.profile-edit-dialog--heading .profile-edit-dialog__field-type--contact-point{padding-top:calc(var(--solid-ui-font-size-sm,.875rem) * 1.5)}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point>.profile-edit-dialog__field>.label{width:100%;display:block}.profile-edit-dialog--heading .profile-edit-dialog__row--contact-point.profile-edit-dialog__row--equal>.profile-edit-dialog__field-type.profile-edit-dialog__field-type--contact-point{flex:0 0 103px;width:103px;min-width:103px;max-width:103px}.profile-edit-dialog__row--address-header{max-width:var(--profile-edit-dialog-row-max-width);align-items:flex-end}.profile-edit-dialog__row--inline-end{justify-content:flex-end;max-width:100%}.profile-edit-dialog__checkbox-label{cursor:var(--profile-interactive-cursor,pointer);align-items:center;gap:12px;margin-left:auto;display:inline-flex}.profile-edit-dialog__checkbox-input{width:var(--icon-xxs,1rem);height:var(--icon-xxs,1rem);accent-color:var(--solid-ui-color-primary,#7c4dff);cursor:var(--profile-interactive-cursor,pointer);flex:none;margin:0}.profile-edit-dialog__checkbox-input:focus-visible{outline:var(--focus-indicator-width,2px) solid var(--solid-ui-color-primary,#7c4dff);outline-offset:2px}.profile-edit-dialog__checkbox-input:disabled{opacity:var(--opacity-disabled,.5)}.profile-edit-dialog__section fieldset>.profile-edit-dialog__field{max-width:var(--profile-edit-dialog-row-max-width)}.profile-edit-dialog__field-type--wide{flex:auto;width:100%;min-width:0;max-width:100%}.profile-edit-dialog__field-type--contact-point{flex:none;align-self:flex-start;width:auto;max-width:none}.profile-edit-dialog__social-account-select{box-sizing:border-box;contain:inline-size;width:100%;min-width:0;max-width:100%;display:block}.profile-edit-dialog__resume-organization-type-select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;display:block}.profile-edit-dialog__bio-field-container textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:var(--solid-ui-clickable-area,42px)}`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();const e=require("../../ui/dialog2.cjs.js"),t=require("./imagePreview.cjs.js");require("../../texts/dialogTexts.cjs.js");const n=require("../../texts/messageTexts.cjs.js"),r=require("./mutations.cjs.js"),i=require("../shared/phoneCountries.cjs.js"),a=require("../../textUtils.cjs.js"),o=require("../shared/contactTypeUtils.cjs.js"),s=require("../shared/rowState.cjs.js");require("../../../../../_virtual/~icons/lucide/camera.cjs.js");const c=require("../shared/sanitizeUtils.cjs.js"),l=require("./dateHelpers.cjs.js"),u=require("./imageHelpers.cjs.js");let d=require("lit-html");require("solid-ui/components/button"),require("solid-ui/components/combobox"),require("solid-ui/components/combobox-option"),require("solid-ui/components/photo-capture");var f=[{label:`Mobile`,value:`Mobile`},{label:`Home`,value:`Home`},{label:`Work`,value:`Work`}],p=[{label:`Personal`,value:`Personal`},{label:`Office`,value:`Office`}],m=[{label:`He/Him`,value:`He/Him`},{label:`She/Her`,value:`She/Her`},{label:`They/Them`,value:`They/Them`}];function h(e){return`value`in e}function g(e){return`streetAddress`in e}function _(e){return`name`in e}function v(e,t){return t.some(t=>t.value===e)?e:t[0]?.value||``}function y(e){return e===`phone`?f:p}function b(e,t){return{...e,type:v(e.type||``,y(t))}}function x(e){return h(e)?a.hasNonEmptyText(e.value):g(e)?[e.streetAddress,e.locality,e.region,e.postalCode,e.countryName].some(a.hasNonEmptyText):_(e)?[e.name,e.nickname,e.imageSrc,e.location,e.pronouns,e.dateOfBirth].some(a.hasNonEmptyText):!1}function S(e){let t=a.sanitizeTextValue(e||``).toLowerCase().replace(/\s+/g,``);return t?t===`he`||t===`he/him`?`He/Him`:t===`she`||t===`she/her`?`She/Her`:t===`they`||t===`they/them`?`They/Them`:e||``:``}function C(e){let t={name:a.sanitizeTextValue(a.toText(e.name)),nickname:a.sanitizeTextValue(a.toText(e.nickname||``)),imageSrc:a.sanitizeTextValue(a.toText(e.imageSrc||``)),location:a.sanitizeTextValue(a.toText(e.location||``)),pronouns:S(a.toText(e.pronouns||``)),dateOfBirth:a.sanitizeTextValue(a.toText(e.dateOfBirth||``)),entryNode:a.toText(e.entryNode),status:a.toText(e.entryNode)?`existing`:`new`},n=e.primaryEmail,r=e.primaryPhone,i=e.primaryAddress,s=!o.normalizeEmailTypeForEdit(n?.type),l=!o.normalizePhoneTypeForEdit(r?.type),u=o.normalizeEmailTypeForEdit(n?.type),d=o.normalizePhoneTypeForEdit(r?.type),f={value:c.sanitizeEmailValue(a.toText(n?.valueNode).replace(/^mailto:/i,``)),type:u,entryNode:a.toText(n?.entryNode),status:a.toText(n?.entryNode)?`existing`:`new`},p={value:a.sanitizeTextValue(a.toText(r?.valueNode||r?.entryNode||``).replace(/^tel:/i,``)),type:d,entryNode:a.toText(r?.entryNode||``),status:a.toText(r?.entryNode||``)?`existing`:`new`},m={streetAddress:c.sanitizeAddressFieldValue(a.toText(i?.streetAddress)),locality:c.sanitizeAddressFieldValue(a.toText(i?.locality)),region:c.sanitizeAddressFieldValue(a.toText(i?.region)),postalCode:c.sanitizeAddressFieldValue(a.toText(i?.postalCode)),countryName:c.sanitizeAddressFieldValue(a.toText(i?.countryName)),type:a.toTypeLabel(i?.type),entryNode:a.toText(i?.entryNode),status:a.toText(i?.entryNode)?`existing`:`new`};return{basicInfo:t||{name:``,nickname:``,imageSrc:``,location:``,pronouns:``,dateOfBirth:``,entryNode:``,status:`new`},email:f||{value:``,type:``,entryNode:``,status:`new`},phone:p||{value:``,type:``,entryNode:``,status:`new`},address:m||{streetAddress:``,locality:``,region:``,postalCode:``,countryName:``,type:``,entryNode:``,status:`new`},emailTypeWasMissing:s,phoneTypeWasMissing:l,imagePreviewSrc:``,clearImagePreview:()=>void 0}}function w(e,t){if(e.clearImagePreview(),typeof URL.createObjectURL!=`function`){e.imagePreviewSrc=``,e.clearImagePreview=()=>void 0;return}let n=URL.createObjectURL(t);e.imagePreviewSrc=n,e.clearImagePreview=()=>{URL.revokeObjectURL(n),e.imagePreviewSrc=``,e.clearImagePreview=()=>void 0}}function T(e,t){e.clearImagePreview(),t&&(e.imagePreviewSrc=t,e.clearImagePreview=()=>{e.imagePreviewSrc=``,e.clearImagePreview=()=>void 0})}function E(e){let t=e=>({...b(e,`email`),type:o.toSavedHeadingEmailType(b(e,`email`).type)});return{create:e.create.map(t),update:e.update.map(t),remove:e.remove.map(t)}}function D(e){let t=e=>({...b(e,`phone`),type:o.toSavedHeadingPhoneType(b(e,`phone`).type)});return{create:e.create.map(t),update:e.update.map(t),remove:e.remove.map(t)}}function O(e,t,n){let r=s.summarizeRowOps([e],x);return n&&e.entryNode&&e.status===`existing`&&x(e)&&r.create.length===0&&r.update.length===0&&r.remove.length===0?{create:r.create,update:[b({...e,status:`modified`},t)],remove:r.remove}:r}function k({phone:e}){let t=`Mobile Number`,n=`Phone Type 1`,r=`phone-value`,a=i.splitPhoneValue(e?.value||``),o=a.dialCode;return d.html`
2
2
  <div class="profile-edit-dialog__row profile-edit-dialog__row--equal profile-edit-dialog__row--contact-point">
3
3
  <div class="profile-edit-dialog__field">
4
4
  <label aria-label=${t} class="label">
@@ -12,12 +12,12 @@ import "../../../../../_virtual/~icons/lucide/camera.esm.js";
12
12
  import { sanitizeAddressFieldValue as _, sanitizeBasicInputFieldValue as v, sanitizeEmailValue as y, sanitizePhoneLocalValue as b } from "../shared/sanitizeUtils.esm.js";
13
13
  import { toStorageDateISO as x } from "./dateHelpers.esm.js";
14
14
  import { invalidateResolvedPhotoDisplaySrc as S, resolvePhotoDisplaySrc as C, uploadPhotoFile as w } from "./imageHelpers.esm.js";
15
- import "solid-ui/components/button";
16
15
  import { html as T, render as E } from "lit-html";
16
+ import "solid-ui/components/button";
17
17
  import "solid-ui/components/combobox";
18
18
  import "solid-ui/components/combobox-option";
19
19
  import "solid-ui/components/photo-capture";
20
- //#region src/components/profile-heading/editor/sections/heading/HeadingEditDialog.ts
20
+ // src/components/profile-heading/editor/sections/heading/HeadingEditDialog.ts
21
21
  var D = [
22
22
  {
23
23
  label: "Mobile",
@@ -636,7 +636,6 @@ async function $(t, n, i, a, o, l) {
636
636
  formatSaveError: (e) => e instanceof Error ? e.message : "Unable to save your heading information."
637
637
  }) && l && await l();
638
638
  }
639
- //#endregion
640
639
  export { $ as createHeadingEditDialog };
641
640
 
642
641
  //# sourceMappingURL=HeadingEditDialog.esm.js.map
@@ -1,4 +1,4 @@
1
- //#region src/components/profile-heading/editor/sections/heading/dateHelpers.ts
1
+ // src/components/profile-heading/editor/sections/heading/dateHelpers.ts
2
2
  function e(e) {
3
3
  let t = (e || "").trim();
4
4
  if (!t) return "";
@@ -10,7 +10,6 @@ function e(e) {
10
10
  }
11
11
  return "";
12
12
  }
13
- //#endregion
14
13
  export { e as toStorageDateISO };
15
14
 
16
15
  //# sourceMappingURL=dateHelpers.esm.js.map
@@ -1,7 +1,7 @@
1
1
  import { ns as e } from "solid-ui";
2
2
  import { authn as t, solidLogicSingleton as n } from "solid-logic";
3
3
  import { sym as r } from "rdflib";
4
- //#region src/components/profile-heading/editor/sections/heading/imageHelpers.ts
4
+ // src/components/profile-heading/editor/sections/heading/imageHelpers.ts
5
5
  var i = /* @__PURE__ */ new Map();
6
6
  function a(e) {
7
7
  if (!e) return;
@@ -70,7 +70,6 @@ async function d(i, a, o) {
70
70
  }
71
71
  return p;
72
72
  }
73
- //#endregion
74
73
  export { a as invalidateResolvedPhotoDisplaySrc, u as resolvePhotoDisplaySrc, d as uploadPhotoFile };
75
74
 
76
75
  //# sourceMappingURL=imageHelpers.esm.js.map
@@ -1,6 +1,6 @@
1
1
  import "../../../../../_virtual/~icons/lucide/circle-user-round.esm.js";
2
2
  import { html as e, nothing as t } from "lit-html";
3
- //#region src/components/profile-heading/editor/sections/heading/imagePreview.ts
3
+ // src/components/profile-heading/editor/sections/heading/imagePreview.ts
4
4
  var n = e`<icon-lucide-circle-user-round aria-hidden="true" focusable="false" style="width:48px;height:48px;color:#D9E1F2"></icon-lucide-circle-user-round>`, r = (e) => {
5
5
  let t = e.currentTarget, n = t?.parentElement;
6
6
  t && n && (t.hidden = !0, n.classList.add("profile__image-frame--fallback"));
@@ -22,7 +22,6 @@ var n = e`<icon-lucide-circle-user-round aria-hidden="true" focusable="false" st
22
22
  </div>
23
23
  </div>
24
24
  `;
25
- //#endregion
26
25
  export { i as Image };
27
26
 
28
27
  //# sourceMappingURL=imagePreview.esm.js.map
@@ -3,7 +3,7 @@ import { collectLinkedNodeStatements as r, collectNodeStatements as i, findExist
3
3
  import { createIdNode as l } from "../shared/idNodeFactory.esm.js";
4
4
  import { ns as u } from "solid-ui";
5
5
  import { literal as d, st as f, sym as p } from "rdflib";
6
- //#region src/components/profile-heading/editor/sections/heading/mutations.ts
6
+ // src/components/profile-heading/editor/sections/heading/mutations.ts
7
7
  function m(e) {
8
8
  let t = (e || "").trim();
9
9
  if (!t) return {};
@@ -145,7 +145,6 @@ async function w(n, r, i) {
145
145
  throw Object.defineProperty(i, "cause", { value: r }), i;
146
146
  }
147
147
  }
148
- //#endregion
149
148
  export { w as processHeadingMutations };
150
149
 
151
150
  //# sourceMappingURL=mutations.esm.js.map
@@ -1,5 +1,5 @@
1
1
  import { toTypeLabel as e } from "../../textUtils.esm.js";
2
- //#region src/components/profile-heading/editor/sections/shared/contactTypeUtils.ts
2
+ // src/components/profile-heading/editor/sections/shared/contactTypeUtils.ts
3
3
  function t(t) {
4
4
  let n = e(t).trim().toLowerCase();
5
5
  return n ? n === "cell" || n === "mobile" ? "Mobile" : n === "home" ? "Home" : n === "work" || n === "office" ? "Work" : "" : "";
@@ -14,7 +14,6 @@ function r(e) {
14
14
  function i(e) {
15
15
  return e === "Mobile" ? "Cell" : e || "";
16
16
  }
17
- //#endregion
18
17
  export { n as normalizeEmailTypeForEdit, t as normalizePhoneTypeForEdit, r as toSavedHeadingEmailType, i as toSavedHeadingPhoneType };
19
18
 
20
19
  //# sourceMappingURL=contactTypeUtils.esm.js.map
@@ -1,11 +1,10 @@
1
1
  import { sym as e } from "rdflib";
2
- //#region src/components/profile-heading/editor/sections/shared/idNodeFactory.ts
2
+ // src/components/profile-heading/editor/sections/shared/idNodeFactory.ts
3
3
  var t = 0;
4
4
  function n(n) {
5
5
  let r = Date.now(), i = r > t ? r : t + 1;
6
6
  return t = i, e(`${n.uri}#id${i}`);
7
7
  }
8
- //#endregion
9
8
  export { n as createIdNode };
10
9
 
11
10
  //# sourceMappingURL=idNodeFactory.esm.js.map
@@ -1285,7 +1285,6 @@ function c(e, t) {
1285
1285
  let n = t.trim();
1286
1286
  return n ? n.startsWith("+") ? n : e ? `${e}${n}` : n : "";
1287
1287
  }
1288
- //#endregion
1289
1288
  export { e as COUNTRY_DIAL_OPTIONS, r as COUNTRY_DIAL_OPTIONS_ASC, a as COUNTRY_PREFIX_OPTIONS, c as combinePhoneValue, s as splitPhoneValue };
1290
1289
 
1291
1290
  //# sourceMappingURL=phoneCountries.esm.js.map
@@ -1,6 +1,6 @@
1
1
  import { updaterUnsupportedStoreErrorMessageText as e } from "../../texts/messageTexts.esm.js";
2
2
  import { graph as t, st as n } from "rdflib";
3
- //#region src/components/profile-heading/editor/sections/shared/rdfMutationHelpers.ts
3
+ // src/components/profile-heading/editor/sections/shared/rdfMutationHelpers.ts
4
4
  var r = {
5
5
  rdf: "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
6
6
  vcard: "http://www.w3.org/2006/vcard/ns#",
@@ -205,7 +205,6 @@ function k(e, t) {
205
205
  let n = a(t);
206
206
  return e.find((e) => a(e.value) === n || e.value === t);
207
207
  }
208
- //#endregion
209
208
  export { f as applyStatementsToStore, O as collectLinkedNodeStatements, E as collectNodeStatements, l as ensureStandardMutationPrefixes, k as findExistingNode, S as isMissingGetRecordErrorMessage, x as isPatchFailureMessage, w as putResourceWithStatements, c as registerStorePrefix, D as replacePredicateStatements, T as runUpdateTransport, p as sanitizePatchStatements, b as shouldForceDocumentPutForStatements, u as statementKey, d as uniqueStatements };
210
209
 
211
210
  //# sourceMappingURL=rdfMutationHelpers.esm.js.map
@@ -1,4 +1,4 @@
1
- //#region src/components/profile-heading/editor/sections/shared/rowState.ts
1
+ // src/components/profile-heading/editor/sections/shared/rowState.ts
2
2
  function e(e, t, n) {
3
3
  e[t] = n.trim(), e.status = e.entryNode ? e.status === "existing" || e.status === "deleted" ? "modified" : e.status : "new";
4
4
  }
@@ -12,7 +12,6 @@ function t(e, t) {
12
12
  function n(e, t, n, r) {
13
13
  e[t] = n, e.status = r(e) ? e.entryNode ? e.status === "existing" || e.status === "deleted" ? "modified" : e.status : "new" : e.entryNode ? "deleted" : "new";
14
14
  }
15
- //#endregion
16
15
  export { n as applyRowFieldChange, e as applyRowSelectChange, t as summarizeRowOps };
17
16
 
18
17
  //# sourceMappingURL=rowState.esm.js.map
@@ -1,5 +1,5 @@
1
1
  import { sanitizeTextValue as e } from "../../textUtils.esm.js";
2
- //#region src/components/profile-heading/editor/sections/shared/sanitizeUtils.ts
2
+ // src/components/profile-heading/editor/sections/shared/sanitizeUtils.ts
3
3
  function t(t) {
4
4
  return e(t).replace(/\s+/g, "");
5
5
  }
@@ -12,7 +12,6 @@ function r(t) {
12
12
  function i(t) {
13
13
  return e(t);
14
14
  }
15
- //#endregion
16
15
  export { r as sanitizeAddressFieldValue, i as sanitizeBasicInputFieldValue, t as sanitizeEmailValue, n as sanitizePhoneLocalValue };
17
16
 
18
17
  //# sourceMappingURL=sanitizeUtils.esm.js.map
@@ -1,4 +1,4 @@
1
- //#region src/components/profile-heading/editor/textUtils.ts
1
+ // src/components/profile-heading/editor/textUtils.ts
2
2
  function e(e) {
3
3
  if (!e) return "";
4
4
  if (typeof e == "string") return e;
@@ -20,7 +20,6 @@ function n(e) {
20
20
  function r(e) {
21
21
  return !!(e && e.trim() !== "");
22
22
  }
23
- //#endregion
24
23
  export { r as hasNonEmptyText, n as sanitizeTextValue, e as toText, t as toTypeLabel };
25
24
 
26
25
  //# sourceMappingURL=textUtils.esm.js.map
@@ -1,6 +1,5 @@
1
- //#region src/components/profile-heading/editor/texts/dialogTexts.ts
1
+ // src/components/profile-heading/editor/texts/dialogTexts.ts
2
2
  var e = "Edit Heading", t = "Save Changes", n = "Cancel";
3
- //#endregion
4
3
  export { n as dialogCancelLabelText, t as dialogSubmitLabelText, e as editHeadingDialogTitleText };
5
4
 
6
5
  //# sourceMappingURL=dialogTexts.esm.js.map
@@ -1,6 +1,5 @@
1
- //#region src/components/profile-heading/editor/texts/messageTexts.ts
1
+ // src/components/profile-heading/editor/texts/messageTexts.ts
2
2
  var e = "You need to log in as the profile owner to save contact updates.", t = "Unable to save your heading information.", n = "Heading mutation save failed", r = "Store does not support updates", i = "Failed to save updates";
3
- //#endregion
4
3
  export { i as fallbackSaveUpdatesErrorMessageText, n as headingMutationSaveFailedDebugText, e as ownerLoginRequiredDialogMessageText, t as saveHeadingUpdatesFailedMessageText, r as updaterUnsupportedStoreErrorMessageText };
5
4
 
6
5
  //# sourceMappingURL=messageTexts.esm.js.map
@@ -1,4 +1,4 @@
1
- (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`#profile-modal .modal:has(#modal-desc>.profile__edit-form solid-ui-combobox:focus-within) #modal-desc{padding-bottom:calc(var(--profile-modal-panel-inline-padding) + 30px)}@media (width<=576px){#profile-modal{--profile-modal-panel-max-height:calc(100dvh - 4 * 15px);padding-top:max(15px, env(safe-area-inset-top));padding-right:0;padding-bottom:max(15px, env(safe-area-inset-bottom));place-items:center;padding-left:0}#profile-modal .modal{width:var(--profile-modal-panel-width);max-width:var(--profile-modal-panel-max-width);overscroll-behavior:contain;border-radius:5px;place-self:center;min-width:0;margin:0;padding:0}#profile-modal .modal .modal-header{gap:25px;padding:15px}#profile-modal .modal #modal-title{font-size:var(--solid-ui-font-size-lg,1.125rem);line-height:1.4}#profile-modal .modal #modal-desc{padding:15px 15px 25px}#profile-modal #modal-buttons{justify-content:flex-end;align-items:center;gap:var(--profile-modal-button-gap);padding:var(--profile-modal-compact-padding);flex-direction:row;width:100%}#profile-modal #modal-buttons>solid-ui-button{flex:1 0 0;width:auto;min-width:0}}html[data-layout=mobile] #profile-modal{--profile-modal-panel-max-height:calc(100dvh - 4 * 15px);padding-top:max(15px, env(safe-area-inset-top));padding-right:0;padding-bottom:max(15px, env(safe-area-inset-bottom));place-items:center;padding-left:0}html[data-layout=mobile] #profile-modal .modal{width:var(--profile-modal-panel-width);height:auto;max-height:var(--profile-modal-panel-max-height);max-width:var(--profile-modal-panel-max-width);overscroll-behavior:contain;border-radius:5px;place-self:center;min-width:0;margin:0;padding:0}html[data-layout=mobile] #profile-modal .modal .modal-header{gap:25px;padding:15px}html[data-layout=mobile] #profile-modal .modal #modal-title{font-size:var(--solid-ui-font-size-lg,1.125rem);line-height:1.4}html[data-layout=mobile] #profile-modal .modal #modal-desc{padding:15px 15px 25px}html[data-layout=mobile] #profile-modal #modal-buttons{justify-content:flex-end;align-items:center;gap:var(--profile-modal-button-gap);padding:var(--profile-modal-compact-padding);flex-direction:row;width:100%}html[data-layout=mobile] #profile-modal #modal-buttons>solid-ui-button{flex:1 0 0;width:auto;min-width:0}#profile-modal{--profile-modal-backdrop:var(--overlay-bg-muted,#00000080);--profile-modal-panel-inline-padding:25px;--profile-modal-panel-block-padding:20px;--profile-modal-compact-padding:15px;--profile-modal-button-gap:15px;--profile-modal-error-padding:12px;--profile-modal-panel-width:min(600px, calc(100vw - 32px));--profile-modal-panel-max-width:600px;--profile-modal-panel-max-height:calc(100dvh - 32px);background:var(--profile-modal-backdrop);z-index:9999;overscroll-behavior:contain;width:100%;max-width:none;height:100%;max-height:none;padding:0;padding-top:max(25px, env(safe-area-inset-top));padding-right:0;padding-bottom:max(25px, env(safe-area-inset-bottom));border:none;place-items:center;margin:0;padding-left:0;display:grid;position:fixed;inset:0;overflow:hidden}#profile-modal:not([open]){display:none}#profile-modal::backdrop{background:var(--profile-modal-backdrop)}#profile-modal .modal{box-sizing:border-box;background:var(--color-background);max-width:var(--profile-modal-panel-max-width);width:var(--profile-modal-panel-width);max-height:var(--profile-modal-panel-max-height);box-shadow:var(--box-shadow-modal,0 2px 10px #0000004d);border-radius:5px;grid-template-rows:auto minmax(0,1fr) auto auto;place-self:center;margin:0;display:grid;position:relative;overflow:hidden}#profile-modal .modal .modal-header{gap:var(--spacing-lg);width:100%;min-width:0;padding:var(--profile-modal-panel-block-padding) var(--profile-modal-panel-inline-padding);box-sizing:border-box;border-bottom:1px solid var(--solid-ui-color-slate-200,#e2e8f0);background:var(--solid-ui-color-slate-50,#f8fafc);border-radius:5px 5px 0 0}#profile-modal .modal #modal-desc{overscroll-behavior:contain;width:100%;min-width:0;min-height:0;padding:var(--profile-modal-panel-inline-padding);box-sizing:border-box;overflow:auto}#profile-modal .modal #modal-desc:has(>.profile__edit-form--projects){padding:10px var(--profile-modal-panel-inline-padding)}#profile-modal .modal #modal-desc:has(>#contacts-addressbook-picker-dialog){padding-top:0}#profile-modal #modal-desc>.profile__edit-form--projects{flex-direction:column;gap:10px;display:flex}#profile-modal .modal #modal-title{color:var(--color-text-subheading,var(--gray-900,#101828));margin:0}:is(#profile-modal .modal:has(#modal-desc>.profile__edit-form--projects) #modal-header-action,#profile-modal .modal:has(#modal-desc>.profile__edit-form--contact-info) #modal-header-action){display:none}#profile-modal #modal-buttons{width:100%;min-width:0;padding:var(--profile-modal-panel-block-padding) calc(var(--profile-modal-panel-inline-padding) + var(--spacing-xxs,.3125rem)) var(--profile-modal-compact-padding);gap:var(--profile-modal-button-gap);box-sizing:border-box;border-top:1px solid var(--solid-ui-color-slate-200,#e2e8f0);background:var(--color-surface-tertiary,var(--gray-50,#f9fafb));align-self:stretch}#profile-modal #modal-buttons[hidden]{display:none!important}#profile-modal #modal-buttons>solid-ui-button{width:10.8rem}#profile-modal .modal__error-section{margin-top:var(--spacing-sm);padding:var(--profile-modal-error-padding);border:1px solid var(--dialog-error-border,var(--pink-700,#ff98b3));background:var(--dialog-error-background,var(--pink-500,#ffdde6));color:var(--solid-ui-color-error,#b00020);text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:5px;margin-bottom:0}#profile-modal .modal__error-section[hidden]{display:none!important}#profile-modal #modal-saving-overlay{z-index:10;background:#ffffffc7;place-items:center;display:grid;position:absolute;inset:0}#profile-modal #modal-saving-overlay[hidden]{display:none}#profile-modal.modal--saving #modal-desc{opacity:.45;pointer-events:none}#profile-modal .modal__saving-indicator{gap:0}`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();require("../../../../_virtual/~icons/lucide/x.cjs.js");const e=require("./spinner.cjs.js"),t=require("../utils/errorDisplay.cjs.js");require("solid-ui/components/button");let n=require("lit-html");var r=n.html`<icon-lucide-x aria-hidden="true" focusable="false" style="width:12px;height:12px;color:#667085"></icon-lucide-x>`,i=null,a=new WeakMap;function o(e){return e instanceof HTMLElement?e:e instanceof Node?e.parentElement:null}function s(e){return typeof e.composedPath==`function`?e.composedPath():e.target?[e.target]:[]}function c(e){let t=s(e),n=i?.querySelector(`#modal-desc`);if(n&&t.includes(n)||i&&t.includes(i))return!0;let r=o(e.target);return!r||!i||!i.contains(r)?!1:!!r.closest(`#modal-desc`)}function l(e){let t=a.get(e);return t||(t={count:0,previousHtmlOverflow:e.documentElement.style.overflow,previousBodyOverflow:e.body.style.overflow,removeScrollGuard:null},a.set(e,t)),t}function u(e){let t=l(e);if(t.removeScrollGuard)return;let n=e=>{c(e)||e.preventDefault()};e.addEventListener(`wheel`,n,{capture:!0,passive:!1}),e.addEventListener(`touchmove`,n,{capture:!0,passive:!1}),t.removeScrollGuard=()=>{e.removeEventListener(`wheel`,n,!0),e.removeEventListener(`touchmove`,n,!0),t.removeScrollGuard=null}}function d(e){let t=l(e);t.count===0&&(t.previousHtmlOverflow=e.documentElement.style.overflow,t.previousBodyOverflow=e.body.style.overflow,e.documentElement.style.overflow=`hidden`,e.body.style.overflow=`hidden`,u(e)),t.count+=1}function f(e){let t=l(e);t.count!==0&&(--t.count,!(t.count>0)&&(e.documentElement.style.overflow=t.previousHtmlOverflow,e.body.style.overflow=t.previousBodyOverflow,t.removeScrollGuard?.(),t.removeScrollGuard=null))}function p(e){return e.body}function m(e){return e?.tagName===`SOLID-UI-BUTTON`}function h(e,t){e&&(e.disabled=t,e.toggleAttribute(`disabled`,t))}function g(e,t){e&&(m(e)&&(e.label=t,e.setAttribute(`label`,t)),e.textContent=t)}function _(e){return e.querySelector(`#modal-buttons [data-dialog-primary="true"]`)}function v(e){return e.querySelector(`#modal-buttons [data-cancel="true"]`)}function y(e){let t=p(e);return i&&e.body.contains(i)?(i.parentElement!==t&&t.appendChild(i),i):(i=null,i=e.createElement(`dialog`),i.id=`profile-modal`,i.setAttribute(`aria-modal`,`true`),i.setAttribute(`aria-labelledby`,`modal-title`),i.setAttribute(`aria-describedby`,`modal-desc`),i.innerHTML=`
1
+ (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`#profile-modal .modal:has(#modal-desc>.profile__edit-form solid-ui-combobox:focus-within) #modal-desc{padding-bottom:calc(var(--profile-modal-panel-inline-padding) + 30px)}@media (width<=576px){#profile-modal{--profile-modal-panel-max-height:calc(100dvh - 4 * 15px);padding-top:max(15px, env(safe-area-inset-top));padding-right:0;padding-bottom:max(15px, env(safe-area-inset-bottom));place-items:center;padding-left:0}#profile-modal .modal{width:var(--profile-modal-panel-width);max-width:var(--profile-modal-panel-max-width);overscroll-behavior:contain;border-radius:5px;place-self:center;min-width:0;margin:0;padding:0}#profile-modal .modal .modal-header{gap:25px;padding:15px}#profile-modal .modal #modal-title{font-size:var(--solid-ui-font-size-lg,1.125rem);line-height:1.4}#profile-modal .modal #modal-desc{padding:15px 15px 25px}#profile-modal #modal-buttons{justify-content:flex-end;align-items:center;gap:var(--profile-modal-button-gap);padding:var(--profile-modal-compact-padding);flex-direction:row;width:100%}#profile-modal #modal-buttons>solid-ui-button{flex:1 0 0;width:auto;min-width:0}}html[data-layout=mobile] #profile-modal{--profile-modal-panel-max-height:calc(100dvh - 4 * 15px);padding-top:max(15px, env(safe-area-inset-top));padding-right:0;padding-bottom:max(15px, env(safe-area-inset-bottom));place-items:center;padding-left:0}html[data-layout=mobile] #profile-modal .modal{width:var(--profile-modal-panel-width);height:auto;max-height:var(--profile-modal-panel-max-height);max-width:var(--profile-modal-panel-max-width);overscroll-behavior:contain;border-radius:5px;place-self:center;min-width:0;margin:0;padding:0}html[data-layout=mobile] #profile-modal .modal .modal-header{gap:25px;padding:15px}html[data-layout=mobile] #profile-modal .modal #modal-title{font-size:var(--solid-ui-font-size-lg,1.125rem);line-height:1.4}html[data-layout=mobile] #profile-modal .modal #modal-desc{padding:15px 15px 25px}html[data-layout=mobile] #profile-modal #modal-buttons{justify-content:flex-end;align-items:center;gap:var(--profile-modal-button-gap);padding:var(--profile-modal-compact-padding);flex-direction:row;width:100%}html[data-layout=mobile] #profile-modal #modal-buttons>solid-ui-button{flex:1 0 0;width:auto;min-width:0}#profile-modal{--profile-modal-backdrop:var(--overlay-bg-muted,#00000080);--profile-modal-panel-inline-padding:25px;--profile-modal-panel-block-padding:20px;--profile-modal-compact-padding:15px;--profile-modal-button-gap:15px;--profile-modal-error-padding:12px;--profile-modal-panel-width:min(600px, calc(100vw - 32px));--profile-modal-panel-max-width:600px;--profile-modal-panel-max-height:calc(100dvh - 32px);background:var(--profile-modal-backdrop);z-index:9999;overscroll-behavior:contain;width:100%;max-width:none;height:100%;max-height:none;padding:0;padding-top:max(25px, env(safe-area-inset-top));padding-right:0;padding-bottom:max(25px, env(safe-area-inset-bottom));border:none;place-items:center;margin:0;padding-left:0;display:grid;position:fixed;inset:0;overflow:hidden}#profile-modal:not([open]){display:none}#profile-modal::backdrop{background:var(--profile-modal-backdrop)}#profile-modal .modal{box-sizing:border-box;background:var(--color-background);max-width:var(--profile-modal-panel-max-width);width:var(--profile-modal-panel-width);max-height:var(--profile-modal-panel-max-height);box-shadow:var(--box-shadow-modal,0 2px 10px #0000004d);border-radius:5px;grid-template-rows:auto minmax(0,1fr) auto auto;place-self:center;margin:0;display:grid;position:relative;overflow:hidden}#profile-modal .modal .modal-header{gap:var(--spacing-lg);width:100%;min-width:0;padding:var(--profile-modal-panel-block-padding) var(--profile-modal-panel-inline-padding);box-sizing:border-box;border-bottom:1px solid var(--solid-ui-color-slate-200,#e2e8f0);background:var(--solid-ui-color-slate-50,#f8fafc);border-radius:5px 5px 0 0}#profile-modal .modal #modal-desc{overscroll-behavior:contain;width:100%;min-width:0;min-height:0;padding:var(--profile-modal-panel-inline-padding);box-sizing:border-box;overflow:auto}#profile-modal .modal #modal-desc:has(>.profile__edit-form--projects){padding:10px var(--profile-modal-panel-inline-padding)}#profile-modal .modal #modal-desc:has(>#contacts-addressbook-picker-dialog){padding-top:0}#profile-modal #modal-desc>.profile__edit-form--projects{flex-direction:column;gap:10px;display:flex}#profile-modal .modal #modal-title{color:var(--color-text-subheading,var(--gray-900,#101828));margin:0}:is(#profile-modal .modal:has(#modal-desc>.profile__edit-form--projects) #modal-header-action,#profile-modal .modal:has(#modal-desc>.profile__edit-form--contact-info) #modal-header-action){display:none}#profile-modal #modal-buttons{width:100%;min-width:0;padding:var(--profile-modal-panel-block-padding) calc(var(--profile-modal-panel-inline-padding) + var(--spacing-xxs,.3125rem)) var(--profile-modal-compact-padding);gap:var(--profile-modal-button-gap);box-sizing:border-box;border-top:1px solid var(--solid-ui-color-slate-200,#e2e8f0);background:var(--color-surface-tertiary,var(--gray-50,#f9fafb));align-self:stretch}#profile-modal #modal-buttons[hidden]{display:none!important}#profile-modal #modal-buttons>solid-ui-button{width:10.8rem}#profile-modal .modal__error-section{margin-top:var(--spacing-sm);padding:var(--profile-modal-error-padding);border:1px solid var(--dialog-error-border,var(--pink-700,#ff98b3));background:var(--dialog-error-background,var(--pink-500,#ffdde6));color:var(--solid-ui-color-error,#b00020);text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:5px;margin-bottom:0}#profile-modal .modal__error-section[hidden]{display:none!important}#profile-modal #modal-saving-overlay{z-index:10;background:#ffffffc7;place-items:center;display:grid;position:absolute;inset:0}#profile-modal #modal-saving-overlay[hidden]{display:none}#profile-modal.modal--saving #modal-desc{opacity:.45;pointer-events:none}#profile-modal .modal__saving-indicator{gap:0}`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();require("../../../../_virtual/~icons/lucide/x.cjs.js");const e=require("./spinner.cjs.js"),t=require("../utils/errorDisplay.cjs.js");let n=require("lit-html");require("solid-ui/components/button");var r=n.html`<icon-lucide-x aria-hidden="true" focusable="false" style="width:12px;height:12px;color:#667085"></icon-lucide-x>`,i=null,a=new WeakMap;function o(e){return e instanceof HTMLElement?e:e instanceof Node?e.parentElement:null}function s(e){return typeof e.composedPath==`function`?e.composedPath():e.target?[e.target]:[]}function c(e){let t=s(e),n=i?.querySelector(`#modal-desc`);if(n&&t.includes(n)||i&&t.includes(i))return!0;let r=o(e.target);return!r||!i||!i.contains(r)?!1:!!r.closest(`#modal-desc`)}function l(e){let t=a.get(e);return t||(t={count:0,previousHtmlOverflow:e.documentElement.style.overflow,previousBodyOverflow:e.body.style.overflow,removeScrollGuard:null},a.set(e,t)),t}function u(e){let t=l(e);if(t.removeScrollGuard)return;let n=e=>{c(e)||e.preventDefault()};e.addEventListener(`wheel`,n,{capture:!0,passive:!1}),e.addEventListener(`touchmove`,n,{capture:!0,passive:!1}),t.removeScrollGuard=()=>{e.removeEventListener(`wheel`,n,!0),e.removeEventListener(`touchmove`,n,!0),t.removeScrollGuard=null}}function d(e){let t=l(e);t.count===0&&(t.previousHtmlOverflow=e.documentElement.style.overflow,t.previousBodyOverflow=e.body.style.overflow,e.documentElement.style.overflow=`hidden`,e.body.style.overflow=`hidden`,u(e)),t.count+=1}function f(e){let t=l(e);t.count!==0&&(--t.count,!(t.count>0)&&(e.documentElement.style.overflow=t.previousHtmlOverflow,e.body.style.overflow=t.previousBodyOverflow,t.removeScrollGuard?.(),t.removeScrollGuard=null))}function p(e){return e.body}function m(e){return e?.tagName===`SOLID-UI-BUTTON`}function h(e,t){e&&(e.disabled=t,e.toggleAttribute(`disabled`,t))}function g(e,t){e&&(m(e)&&(e.label=t,e.setAttribute(`label`,t)),e.textContent=t)}function _(e){return e.querySelector(`#modal-buttons [data-dialog-primary="true"]`)}function v(e){return e.querySelector(`#modal-buttons [data-cancel="true"]`)}function y(e){let t=p(e);return i&&e.body.contains(i)?(i.parentElement!==t&&t.appendChild(i),i):(i=null,i=e.createElement(`dialog`),i.id=`profile-modal`,i.setAttribute(`aria-modal`,`true`),i.setAttribute(`aria-labelledby`,`modal-title`),i.setAttribute(`aria-describedby`,`modal-desc`),i.innerHTML=`
2
2
  <div class="modal">
3
3
  <div class="modal-header flex-row align-center justify-between">
4
4
  <h2 id="modal-title"></h2>
@@ -9,9 +9,9 @@
9
9
  <div id="modal-buttons" class="flex-row align-center justify-end"></div>
10
10
  <div id="modal-saving-overlay" hidden></div>
11
11
  </div>
12
- `,t.appendChild(i),i)}function b(e){return{dialog:e,title:e.querySelector(`#modal-title`),headerAction:e.querySelector(`#modal-header-action`),description:e.querySelector(`#modal-desc`),error:e.querySelector(`#modal-error`),buttons:e.querySelector(`#modal-buttons`),savingOverlay:e.querySelector(`#modal-saving-overlay`)}}function x(e){let t=`modal-desc`,n=e.error.hidden||!e.error.textContent?.trim()?t:`${t} modal-error`;e.dialog.setAttribute(`aria-describedby`,n)}function S(e){e.error.textContent=``,e.error.setAttribute(`aria-hidden`,`true`),e.error.hidden=!0,x(e)}function C(e,n,r){e.error.textContent=t.formatDisplayError(n,r),e.error.setAttribute(`aria-hidden`,`false`),e.error.hidden=!1,x(e)}function w(e){if(d(e.ownerDocument),typeof e.showModal==`function`)try{e.open||e.showModal();return}catch{}e.setAttribute(`open`,``)}function T(e){try{if(typeof e.close==`function`&&e.open){e.close();return}e.removeAttribute(`open`)}finally{f(e.ownerDocument)}}function E(e){return!!e.querySelector(`[data-layout='mobile']`)}function D(e){return!(e.hasAttribute(`disabled`)||e.getAttribute(`aria-hidden`)===`true`||e.getAttribute(`hidden`)!==null||e.tabIndex<0)}function O(e){let t=e.querySelectorAll([`input:not([type="hidden"]):not([disabled])`,`textarea:not([disabled])`,`select:not([disabled])`,`solid-ui-select:not([disabled])`,`solid-ui-combobox:not([disabled])`,`[contenteditable="true"]`,`button:not([disabled])`,`solid-ui-button:not([disabled])`,`[tabindex]:not([tabindex="-1"])`].join(`,`));for(let e of t)if(e instanceof HTMLElement&&D(e))return e;return null}function k(e,t,n){if(E(e.ownerDocument)){e.tabIndex=-1,e.focus();return}let r=O(t);if(r){r.focus(),(r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement)&&r.select();return}let i=O(n);i&&i.focus()}function A(e){let t=new FormData(e),n={};return t.forEach((e,t)=>{n[t]=String(e)}),n}function j({title:e,message:t,buttons:i,headerAction:a,dom:o}){let s=y(o),c=b(s);return w(s),c.title.textContent=e||``,c.description.innerHTML=``,typeof t==`string`?c.description.textContent=t:t&&c.description.appendChild(t),c.buttons.innerHTML=``,S(c),new Promise(e=>{let t=t=>{M(t),e(t)},l=()=>{let e=v(s);e?e.click():t(!1)};s.oncancel=e=>{e.preventDefault(),l()},c.headerAction.innerHTML=``;let u=a||{type:`close`};if(u.type===`close`){let e=o.createElement(`solid-ui-button`);e.setAttribute(`variant`,`ghost`),e.setAttribute(`aria-label`,`Close dialog`);let t=o.createElement(`span`);t.setAttribute(`slot`,`icon`),(0,n.render)(r,t),e.appendChild(t),e.onclick=()=>l(),c.headerAction.appendChild(e)}else if(u.type===`button`){let e=o.createElement(`solid-ui-button`);e.setAttribute(`variant`,`tertiary`),e.className=u.className||``,e.textContent=u.label,e.setAttribute(`label`,u.label),e.setAttribute(`aria-label`,u.ariaLabel||u.label),e.onclick=async()=>{u.onClick&&await u.onClick()},c.headerAction.appendChild(e)}i.forEach(e=>{let n=o.createElement(`solid-ui-button`);n.setAttribute(`label`,e.label),n.setAttribute(`variant`,e.primary?`primary`:`secondary`),n.textContent=e.label,e.primary&&n.setAttribute(`data-dialog-primary`,`true`),e.cancel&&n.setAttribute(`data-cancel`,`true`),n.addEventListener(`click`,async()=>{(!e.beforeClose||await e.beforeClose())&&t(e.value)}),c.buttons.appendChild(n)}),(o.defaultView?.requestAnimationFrame?e=>o.defaultView?.requestAnimationFrame(()=>e()):e=>setTimeout(e,0))(()=>{k(s,c.description,c.buttons)})})}function M(e){if(i){S(b(i)),T(i),i.oncancel=null;let e=i.querySelector(`#modal-header-action button`);e&&(e.onclick=null)}}function N(t,r,i){let a=b(t),o=_(t),s=v(t);if(t.classList.toggle(`modal--saving`,i),t.setAttribute(`aria-busy`,String(i)),a.description.toggleAttribute(`inert`,i),i){let e=t.ownerDocument.activeElement;e&&t.contains(e)&&e.blur()}o&&(h(o,i),o.setAttribute(`aria-busy`,String(i)),g(o,r)),s&&h(s,i),a.savingOverlay.hidden=!i,i?(0,n.render)(n.html`
12
+ `,t.appendChild(i),i)}function b(e){return{dialog:e,title:e.querySelector(`#modal-title`),headerAction:e.querySelector(`#modal-header-action`),description:e.querySelector(`#modal-desc`),error:e.querySelector(`#modal-error`),buttons:e.querySelector(`#modal-buttons`),savingOverlay:e.querySelector(`#modal-saving-overlay`)}}function x(e){let t=`modal-desc`,n=e.error.hidden||!e.error.textContent?.trim()?t:`${t} modal-error`;e.dialog.setAttribute(`aria-describedby`,n)}function S(e){e.error.textContent=``,e.error.setAttribute(`aria-hidden`,`true`),e.error.hidden=!0,x(e)}function C(e,n,r){e.error.textContent=t.formatDisplayError(n,r),e.error.setAttribute(`aria-hidden`,`false`),e.error.hidden=!1,x(e)}function w(e){if(d(e.ownerDocument),typeof e.showModal==`function`)try{e.open||e.showModal();return}catch{}e.setAttribute(`open`,``)}function T(e){try{if(typeof e.close==`function`&&e.open){e.close();return}e.removeAttribute(`open`)}finally{f(e.ownerDocument)}}function E(e){return!!e.querySelector(`[data-layout='mobile']`)}function D(e){return!(e.hasAttribute(`disabled`)||e.getAttribute(`aria-hidden`)===`true`||e.getAttribute(`hidden`)!==null||e.tabIndex<0)}function O(e){let t=e.querySelectorAll(`input:not([type="hidden"]):not([disabled]),textarea:not([disabled]),select:not([disabled]),solid-ui-select:not([disabled]),solid-ui-combobox:not([disabled]),[contenteditable="true"],button:not([disabled]),solid-ui-button:not([disabled]),[tabindex]:not([tabindex="-1"])`);for(let e of t)if(e instanceof HTMLElement&&D(e))return e;return null}function k(e,t,n){if(E(e.ownerDocument)){e.tabIndex=-1,e.focus();return}let r=O(t);if(r){r.focus(),(r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement)&&r.select();return}let i=O(n);i&&i.focus()}function A(e){let t=new FormData(e),n={};return t.forEach((e,t)=>{n[t]=String(e)}),n}function j({title:e,message:t,buttons:i,headerAction:a,dom:o}){let s=y(o),c=b(s);return w(s),c.title.textContent=e||``,c.description.innerHTML=``,typeof t==`string`?c.description.textContent=t:t&&c.description.appendChild(t),c.buttons.innerHTML=``,S(c),new Promise(e=>{let t=t=>{M(t),e(t)},l=()=>{let e=v(s);e?e.click():t(!1)};s.oncancel=e=>{e.preventDefault(),l()},c.headerAction.innerHTML=``;let u=a||{type:`close`};if(u.type===`close`){let e=o.createElement(`solid-ui-button`);e.setAttribute(`variant`,`ghost`),e.setAttribute(`aria-label`,`Close dialog`);let t=o.createElement(`span`);t.setAttribute(`slot`,`icon`),(0,n.render)(r,t),e.appendChild(t),e.onclick=()=>l(),c.headerAction.appendChild(e)}else if(u.type===`button`){let e=o.createElement(`solid-ui-button`);e.setAttribute(`variant`,`tertiary`),e.className=u.className||``,e.textContent=u.label,e.setAttribute(`label`,u.label),e.setAttribute(`aria-label`,u.ariaLabel||u.label),e.onclick=async()=>{u.onClick&&await u.onClick()},c.headerAction.appendChild(e)}i.forEach(e=>{let n=o.createElement(`solid-ui-button`);n.setAttribute(`label`,e.label),n.setAttribute(`variant`,e.primary?`primary`:`secondary`),n.textContent=e.label,e.primary&&n.setAttribute(`data-dialog-primary`,`true`),e.cancel&&n.setAttribute(`data-cancel`,`true`),n.addEventListener(`click`,async()=>{(!e.beforeClose||await e.beforeClose())&&t(e.value)}),c.buttons.appendChild(n)}),(o.defaultView?.requestAnimationFrame?e=>o.defaultView?.requestAnimationFrame(()=>e()):e=>setTimeout(e,0))(()=>{k(s,c.description,c.buttons)})})}function M(e){if(i){S(b(i)),T(i),i.oncancel=null;let e=i.querySelector(`#modal-header-action button`);e&&(e.onclick=null)}}function N(t,r,i){let a=b(t),o=_(t),s=v(t);if(t.classList.toggle(`modal--saving`,i),t.setAttribute(`aria-busy`,String(i)),a.description.toggleAttribute(`inert`,i),i){let e=t.ownerDocument.activeElement;e&&t.contains(e)&&e.blur()}o&&(h(o,i),o.setAttribute(`aria-busy`,String(i)),g(o,r)),s&&h(s,i),a.savingOverlay.hidden=!i,i?(0,n.render)(n.html`
13
13
  <div class="modal__saving-indicator inline-flex-row justify-center" aria-live="polite" aria-label="Saving changes">
14
14
  ${e.createSpinner()}
15
15
  </div>
16
- `,a.savingOverlay):(0,n.render)(n.html``,a.savingOverlay)}function P(e){let t=e.submitLabel||`Save Changes`,n=e.cancelLabel||`Cancel`,r=y(e.dom),i=b(r),a=e=>e.replace(/^\s*edit\s+/i,``).replace(/^\s*add\s+/i,``).replace(/^\s*create\s+/i,``).trim();(()=>{let t=a(e.title);if(!t)return;let n=Array.from(e.form.querySelectorAll([`input:not([type="hidden"])`,`textarea`,`select`].join(`,`)));if(n.length!==1)return;let[r]=n,i=r.hasAttribute(`aria-label`)||r.hasAttribute(`aria-labelledby`),o=!!r.closest(`label`);i||o||r.getAttribute(`type`)===`hidden`||r.getAttribute(`aria-label`)||r.setAttribute(`aria-label`,t)})();let o=e=>{e.preventDefault(),_(r)?.click()};e.form.addEventListener(`submit`,o);let s=j({title:e.title,message:e.form,headerAction:e.headerAction,buttons:[{label:n,value:null,cancel:!0},{label:t,value:`save`,primary:!0,beforeClose:async()=>{if(S(i),e.shouldCloseWithoutSave&&await e.shouldCloseWithoutSave())return!0;if(e.validate){let t=await e.validate();if(t)return C(i,t),!1}if(!e.onSave)return!0;try{return N(r,t,!0),await e.onSave(),!0}catch(n){N(r,t,!1);let a=e.formatSaveError?e.formatSaveError(n):void 0;return C(i,n,a),!1}}}],dom:e.dom}),c=e.dom.defaultView?.requestAnimationFrame?t=>e.dom.defaultView?.requestAnimationFrame(()=>t()):e=>setTimeout(e,0);return e.onOpen&&c(e.onOpen),i.buttons.hidden=!!e.hideFooterButtons,s.then(t=>t===`save`?A(e.form):null).finally(()=>{i.buttons.hidden=!1,N(r,t,!1),e.form.removeEventListener(`submit`,o)})}exports.getSharedDialogCancelButton=v,exports.getSharedDialogSaveButton=_,exports.openInputDialog=P;
16
+ `,a.savingOverlay):(0,n.render)(n.html``,a.savingOverlay)}function P(e){let t=e.submitLabel||`Save Changes`,n=e.cancelLabel||`Cancel`,r=y(e.dom),i=b(r),a=e=>e.replace(/^\s*edit\s+/i,``).replace(/^\s*add\s+/i,``).replace(/^\s*create\s+/i,``).trim();(()=>{let t=a(e.title);if(!t)return;let n=Array.from(e.form.querySelectorAll(`input:not([type="hidden"]),textarea,select`));if(n.length!==1)return;let[r]=n,i=r.hasAttribute(`aria-label`)||r.hasAttribute(`aria-labelledby`),o=!!r.closest(`label`);i||o||r.getAttribute(`type`)===`hidden`||r.getAttribute(`aria-label`)||r.setAttribute(`aria-label`,t)})();let o=e=>{e.preventDefault(),_(r)?.click()};e.form.addEventListener(`submit`,o);let s=j({title:e.title,message:e.form,headerAction:e.headerAction,buttons:[{label:n,value:null,cancel:!0},{label:t,value:`save`,primary:!0,beforeClose:async()=>{if(S(i),e.shouldCloseWithoutSave&&await e.shouldCloseWithoutSave())return!0;if(e.validate){let t=await e.validate();if(t)return C(i,t),!1}if(!e.onSave)return!0;try{return N(r,t,!0),await e.onSave(),!0}catch(n){N(r,t,!1);let a=e.formatSaveError?e.formatSaveError(n):void 0;return C(i,n,a),!1}}}],dom:e.dom}),c=e.dom.defaultView?.requestAnimationFrame?t=>e.dom.defaultView?.requestAnimationFrame(()=>t()):e=>setTimeout(e,0);return e.onOpen&&c(e.onOpen),i.buttons.hidden=!!e.hideFooterButtons,s.then(t=>t===`save`?A(e.form):null).finally(()=>{i.buttons.hidden=!1,N(r,t,!1),e.form.removeEventListener(`submit`,o)})}exports.getSharedDialogCancelButton=v,exports.getSharedDialogSaveButton=_,exports.openInputDialog=P;
17
17
  //# sourceMappingURL=dialog2.cjs.js.map