@123usmanhaider321/ui 0.1.8 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (545) hide show
  1. package/README.md +416 -31
  2. package/dist/images/icon/1LINK.svg +50 -0
  3. package/dist/images/icon/CreditCard.svg +83 -0
  4. package/dist/images/icon/Easypaisa.png +0 -0
  5. package/dist/images/icon/MobileWallet.png +0 -0
  6. package/dist/images/icon/Raast-Logo.png +0 -0
  7. package/dist/images/icon/VISA.png +0 -0
  8. package/dist/images/icon/add-circle-1.svg +5 -0
  9. package/dist/images/icon/check-circle-broken.svg +3 -0
  10. package/dist/images/icon/close-circle.svg +5 -0
  11. package/dist/images/icon/jazzcash.png +0 -0
  12. package/dist/images/icon/loading_icon.json +3347 -0
  13. package/dist/images/icon/mastercard-logo.webp +0 -0
  14. package/dist/images/icon/paymo.jpeg +0 -0
  15. package/dist/images/icon/preview-svgrepo-com.svg +36 -0
  16. package/dist/images/icon/trash.svg +7 -0
  17. package/dist/images/icon/unionpay-logo.svg +9 -0
  18. package/dist/index-87FQZHOs.js +11119 -0
  19. package/dist/index-87FQZHOs.js.map +1 -0
  20. package/dist/index-Tl9g213f.js +60475 -0
  21. package/dist/index-Tl9g213f.js.map +1 -0
  22. package/dist/index.d.ts +1 -10
  23. package/dist/index.es-CpgTaa1Y.js +16734 -0
  24. package/dist/index.es-CpgTaa1Y.js.map +1 -0
  25. package/dist/index.js +40 -12
  26. package/dist/index.js.map +1 -1
  27. package/dist/loading_icon-n5H5dQBl.js +3375 -0
  28. package/dist/loading_icon-n5H5dQBl.js.map +1 -0
  29. package/dist/src/components/Alert/ErrorAlert.d.ts +6 -0
  30. package/dist/src/components/Alert/SuccessAlert.d.ts +6 -0
  31. package/dist/{components → src/components}/FormBuilder/DiscountInput.d.ts +3 -6
  32. package/dist/{components → src/components}/FormBuilder/FormBuilder.d.ts +2 -11
  33. package/dist/{components → src/components}/FormBuilder/QuestionCard.d.ts +0 -5
  34. package/dist/{components → src/components}/FormBuilder/QuestionEditor.d.ts +0 -5
  35. package/dist/{components → src/components}/FormBuilder/SortableQuestionList.d.ts +0 -5
  36. package/dist/src/components/FormBuilder/questionIcons.d.ts +5 -0
  37. package/dist/{components/EventAddForm → src/components/NewAddEvent}/AddEventLayout.d.ts +2 -1
  38. package/dist/{components/EventAddForm → src/components/NewAddEvent}/AddEventStepper.d.ts +2 -2
  39. package/dist/{components/EventAddForm → src/components/NewAddEvent}/common/ConfirmationModal.d.ts +1 -1
  40. package/dist/src/components/NewAddEvent/components/EventSubmissionConfirmationModal.d.ts +14 -0
  41. package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/StepTwo/TicketTierSection.d.ts +1 -1
  42. package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/TicketTierForm.d.ts +1 -1
  43. package/dist/{components/EventAddForm → src/components/NewAddEvent}/hooks/useStepperForm.d.ts +22 -22
  44. package/dist/{components/EventAddForm → src/components/NewAddEvent}/hooks/useTicketTierForm.d.ts +63 -15
  45. package/dist/src/components/NewAddEvent/schemas/step1.d.ts +211 -0
  46. package/dist/src/components/NewAddEvent/schemas/step2.d.ts +411 -0
  47. package/dist/{components/EventAddForm → src/components/NewAddEvent}/schemas/utils.d.ts +8 -2
  48. package/dist/{components/EventAddForm → src/components/NewAddEvent}/steps/IndividualFormStep.d.ts +1 -1
  49. package/dist/{components/EventAddForm → src/components/NewAddEvent}/steps/SocialProfilesStep.d.ts +1 -1
  50. package/dist/{components/EventAddForm → src/components/NewAddEvent}/steps/TeamFormStep.d.ts +1 -1
  51. package/dist/src/components/Spinner/spinner.d.ts +4 -0
  52. package/dist/src/components/TicketlyUIProvider.d.ts +35 -0
  53. package/dist/src/components/common/Loader/index.d.ts +8 -0
  54. package/dist/src/components/common/Modals/ConfirmationModal.d.ts +7 -0
  55. package/dist/{components/FormInput → src/components/ui}/FormInput.d.ts +1 -1
  56. package/dist/src/components/ui/Loader.d.ts +4 -0
  57. package/dist/{components/Button/Button.d.ts → src/components/ui/button.d.ts} +1 -1
  58. package/dist/src/index.d.ts +10 -0
  59. package/dist/{lib → src/lib}/actions.d.ts +0 -126
  60. package/dist/src/lib/dom-utils.d.ts +2 -0
  61. package/dist/src/lib/storage-utils.d.ts +5 -0
  62. package/dist/src/lib/types.d.ts +258 -0
  63. package/dist/src/redux/baseQuery.d.ts +16 -0
  64. package/dist/{services → src/redux/features}/eventApi.d.ts +1053 -1745
  65. package/dist/src/redux/features/globalSlice.d.ts +17 -0
  66. package/dist/{services → src/redux/features/single-event}/single-event-api.d.ts +856 -1190
  67. package/dist/src/redux/types.d.ts +2 -0
  68. package/dist/src/services/library-services.d.ts +15 -0
  69. package/dist/src/services/remote-config.d.ts +27 -0
  70. package/dist/{services → src/services}/utils.d.ts +1 -1
  71. package/dist/src/theme/colors.d.ts +127 -0
  72. package/dist/src/theme/typography.d.ts +13 -0
  73. package/dist/src/types/api.d.ts +18 -0
  74. package/dist/style.css +2984 -0
  75. package/dist/styles.css +3758 -4012
  76. package/package.json +78 -68
  77. package/dist/_virtual/_commonjsHelpers.js +0 -9
  78. package/dist/_virtual/_commonjsHelpers.js.map +0 -1
  79. package/dist/_virtual/customParseFormat.js +0 -5
  80. package/dist/_virtual/customParseFormat.js.map +0 -1
  81. package/dist/_virtual/dayjs.min.js +0 -5
  82. package/dist/_virtual/dayjs.min.js.map +0 -1
  83. package/dist/_virtual/duration.js +0 -5
  84. package/dist/_virtual/duration.js.map +0 -1
  85. package/dist/_virtual/index.js +0 -5
  86. package/dist/_virtual/index.js.map +0 -1
  87. package/dist/_virtual/isBetween.js +0 -5
  88. package/dist/_virtual/isBetween.js.map +0 -1
  89. package/dist/_virtual/relativeTime.js +0 -5
  90. package/dist/_virtual/relativeTime.js.map +0 -1
  91. package/dist/_virtual/use-sync-external-store-shim.development.js +0 -5
  92. package/dist/_virtual/use-sync-external-store-shim.development.js.map +0 -1
  93. package/dist/_virtual/use-sync-external-store-shim.production.js +0 -5
  94. package/dist/_virtual/use-sync-external-store-shim.production.js.map +0 -1
  95. package/dist/_virtual/with-selector.development.js +0 -5
  96. package/dist/_virtual/with-selector.development.js.map +0 -1
  97. package/dist/_virtual/with-selector.js +0 -5
  98. package/dist/_virtual/with-selector.js.map +0 -1
  99. package/dist/_virtual/with-selector.production.js +0 -5
  100. package/dist/_virtual/with-selector.production.js.map +0 -1
  101. package/dist/components/Alert/Alert.js +0 -51
  102. package/dist/components/Alert/Alert.js.map +0 -1
  103. package/dist/components/Button/Button.js +0 -52
  104. package/dist/components/Button/Button.js.map +0 -1
  105. package/dist/components/Button/Button.test.d.ts +0 -1
  106. package/dist/components/Button/index.d.ts +0 -1
  107. package/dist/components/Checkbox/Checkbox.js +0 -50
  108. package/dist/components/Checkbox/Checkbox.js.map +0 -1
  109. package/dist/components/Checkbox/Checkbox.test.d.ts +0 -1
  110. package/dist/components/Checkbox/index.d.ts +0 -1
  111. package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +0 -25
  112. package/dist/components/CheckboxGroup/CheckboxGroup.js +0 -99
  113. package/dist/components/CheckboxGroup/CheckboxGroup.js.map +0 -1
  114. package/dist/components/ConfirmationModal/ConfirmationModal.d.ts +0 -15
  115. package/dist/components/ConfirmationModal/ConfirmationModal.js +0 -136
  116. package/dist/components/ConfirmationModal/ConfirmationModal.js.map +0 -1
  117. package/dist/components/ConfirmationModal/index.d.ts +0 -2
  118. package/dist/components/CustomSelect/CustomSelect.js +0 -259
  119. package/dist/components/CustomSelect/CustomSelect.js.map +0 -1
  120. package/dist/components/EventAddForm/AddEventLayout.js +0 -227
  121. package/dist/components/EventAddForm/AddEventLayout.js.map +0 -1
  122. package/dist/components/EventAddForm/AddEventStepper.js +0 -719
  123. package/dist/components/EventAddForm/AddEventStepper.js.map +0 -1
  124. package/dist/components/EventAddForm/common/ConfirmationModal.js +0 -136
  125. package/dist/components/EventAddForm/common/ConfirmationModal.js.map +0 -1
  126. package/dist/components/EventAddForm/common/DescriptionModal.js +0 -70
  127. package/dist/components/EventAddForm/common/DescriptionModal.js.map +0 -1
  128. package/dist/components/EventAddForm/components/AnimatedBackground.d.ts +0 -8
  129. package/dist/components/EventAddForm/components/ApprovalConfirmationModal.d.ts +0 -7
  130. package/dist/components/EventAddForm/components/CheckboxGroup.js +0 -92
  131. package/dist/components/EventAddForm/components/CheckboxGroup.js.map +0 -1
  132. package/dist/components/EventAddForm/components/CustomMeetingForm.js +0 -237
  133. package/dist/components/EventAddForm/components/CustomMeetingForm.js.map +0 -1
  134. package/dist/components/EventAddForm/components/DateTimeField.js +0 -173
  135. package/dist/components/EventAddForm/components/DateTimeField.js.map +0 -1
  136. package/dist/components/EventAddForm/components/EventSubmissionConfirmationModal.d.ts +0 -33
  137. package/dist/components/EventAddForm/components/EventSubmissionConfirmationModal.js +0 -366
  138. package/dist/components/EventAddForm/components/EventSubmissionConfirmationModal.js.map +0 -1
  139. package/dist/components/EventAddForm/components/FileUpload.js +0 -412
  140. package/dist/components/EventAddForm/components/FileUpload.js.map +0 -1
  141. package/dist/components/EventAddForm/components/FormBuilderProceedModal.js +0 -197
  142. package/dist/components/EventAddForm/components/FormBuilderProceedModal.js.map +0 -1
  143. package/dist/components/EventAddForm/components/GoogleMapsAutocompleteInput.js +0 -1179
  144. package/dist/components/EventAddForm/components/GoogleMapsAutocompleteInput.js.map +0 -1
  145. package/dist/components/EventAddForm/components/InputField.d.ts +0 -15
  146. package/dist/components/EventAddForm/components/RadioGroupButton.d.ts +0 -14
  147. package/dist/components/EventAddForm/components/SelectField.d.ts +0 -19
  148. package/dist/components/EventAddForm/components/SingleDateTimeInput.js +0 -102
  149. package/dist/components/EventAddForm/components/SingleDateTimeInput.js.map +0 -1
  150. package/dist/components/EventAddForm/components/StepTwo/CustomFormSection.js +0 -277
  151. package/dist/components/EventAddForm/components/StepTwo/CustomFormSection.js.map +0 -1
  152. package/dist/components/EventAddForm/components/StepTwo/TicketTierSection.js +0 -148
  153. package/dist/components/EventAddForm/components/StepTwo/TicketTierSection.js.map +0 -1
  154. package/dist/components/EventAddForm/components/TicketTierForm.js +0 -418
  155. package/dist/components/EventAddForm/components/TicketTierForm.js.map +0 -1
  156. package/dist/components/EventAddForm/components/TicketTypeSelection.js +0 -93
  157. package/dist/components/EventAddForm/components/TicketTypeSelection.js.map +0 -1
  158. package/dist/components/EventAddForm/hooks/useStepperForm.js +0 -371
  159. package/dist/components/EventAddForm/hooks/useStepperForm.js.map +0 -1
  160. package/dist/components/EventAddForm/hooks/useTicketTierForm.js +0 -237
  161. package/dist/components/EventAddForm/hooks/useTicketTierForm.js.map +0 -1
  162. package/dist/components/EventAddForm/index.d.ts +0 -3
  163. package/dist/components/EventAddForm/index.js +0 -41
  164. package/dist/components/EventAddForm/index.js.map +0 -1
  165. package/dist/components/EventAddForm/schemas/index.d.ts +0 -2
  166. package/dist/components/EventAddForm/schemas/step1.d.ts +0 -47
  167. package/dist/components/EventAddForm/schemas/step1.js +0 -135
  168. package/dist/components/EventAddForm/schemas/step1.js.map +0 -1
  169. package/dist/components/EventAddForm/schemas/step2.d.ts +0 -138
  170. package/dist/components/EventAddForm/schemas/step2.js +0 -94
  171. package/dist/components/EventAddForm/schemas/step2.js.map +0 -1
  172. package/dist/components/EventAddForm/schemas/utils.js +0 -28
  173. package/dist/components/EventAddForm/schemas/utils.js.map +0 -1
  174. package/dist/components/EventAddForm/steps/IndividualFormStep.js +0 -85
  175. package/dist/components/EventAddForm/steps/IndividualFormStep.js.map +0 -1
  176. package/dist/components/EventAddForm/steps/SocialProfilesStep.js +0 -123
  177. package/dist/components/EventAddForm/steps/SocialProfilesStep.js.map +0 -1
  178. package/dist/components/EventAddForm/steps/StepOne.js +0 -462
  179. package/dist/components/EventAddForm/steps/StepOne.js.map +0 -1
  180. package/dist/components/EventAddForm/steps/StepTwo.js +0 -173
  181. package/dist/components/EventAddForm/steps/StepTwo.js.map +0 -1
  182. package/dist/components/EventAddForm/steps/TeamFormStep.js +0 -13
  183. package/dist/components/EventAddForm/steps/TeamFormStep.js.map +0 -1
  184. package/dist/components/FormBuilder/CategoryList.js +0 -242
  185. package/dist/components/FormBuilder/CategoryList.js.map +0 -1
  186. package/dist/components/FormBuilder/DiscountInput.js +0 -366
  187. package/dist/components/FormBuilder/DiscountInput.js.map +0 -1
  188. package/dist/components/FormBuilder/FormBuilder.js +0 -918
  189. package/dist/components/FormBuilder/FormBuilder.js.map +0 -1
  190. package/dist/components/FormBuilder/OptionList.js +0 -120
  191. package/dist/components/FormBuilder/OptionList.js.map +0 -1
  192. package/dist/components/FormBuilder/PaymentPreview.d.ts +0 -12
  193. package/dist/components/FormBuilder/PaymentPreview.js +0 -70
  194. package/dist/components/FormBuilder/PaymentPreview.js.map +0 -1
  195. package/dist/components/FormBuilder/PreviewInput.d.ts +0 -10
  196. package/dist/components/FormBuilder/PreviewInput.js +0 -143
  197. package/dist/components/FormBuilder/PreviewInput.js.map +0 -1
  198. package/dist/components/FormBuilder/QuestionCard.js +0 -252
  199. package/dist/components/FormBuilder/QuestionCard.js.map +0 -1
  200. package/dist/components/FormBuilder/QuestionEditor.js +0 -166
  201. package/dist/components/FormBuilder/QuestionEditor.js.map +0 -1
  202. package/dist/components/FormBuilder/RequiredToggle.js +0 -43
  203. package/dist/components/FormBuilder/RequiredToggle.js.map +0 -1
  204. package/dist/components/FormBuilder/SortableQuestionList.js +0 -137
  205. package/dist/components/FormBuilder/SortableQuestionList.js.map +0 -1
  206. package/dist/components/FormBuilder/index.d.ts +0 -4
  207. package/dist/components/FormBuilder/utils.js +0 -229
  208. package/dist/components/FormBuilder/utils.js.map +0 -1
  209. package/dist/components/FormInput/FormInput.js +0 -126
  210. package/dist/components/FormInput/FormInput.js.map +0 -1
  211. package/dist/components/FormInput/FormInput.test.d.ts +0 -1
  212. package/dist/components/FormInput/index.d.ts +0 -2
  213. package/dist/components/ImageCropModal/index.js +0 -464
  214. package/dist/components/ImageCropModal/index.js.map +0 -1
  215. package/dist/components/InformationPopover/InformationPopover.d.ts +0 -7
  216. package/dist/components/InformationPopover/InformationPopover.js +0 -19
  217. package/dist/components/InformationPopover/InformationPopover.js.map +0 -1
  218. package/dist/components/InformationPopover.js +0 -19
  219. package/dist/components/InformationPopover.js.map +0 -1
  220. package/dist/components/InputErrorMessage/InputErrorMessage.js +0 -21
  221. package/dist/components/InputErrorMessage/InputErrorMessage.js.map +0 -1
  222. package/dist/components/Modal/Modal.d.ts +0 -15
  223. package/dist/components/Modal/Modal.js +0 -73
  224. package/dist/components/Modal/Modal.js.map +0 -1
  225. package/dist/components/Radio/Radio.js +0 -35
  226. package/dist/components/Radio/Radio.js.map +0 -1
  227. package/dist/components/Spinner/spinner.d.ts +0 -2
  228. package/dist/components/Spinner/spinner.js +0 -22
  229. package/dist/components/Spinner/spinner.js.map +0 -1
  230. package/dist/components/Toggle/Toggle.d.ts +0 -16
  231. package/dist/components/Toggle/index.d.ts +0 -2
  232. package/dist/components/Tooltip/Tooltip.d.ts +0 -12
  233. package/dist/components/Tooltip/Tooltip.js +0 -134
  234. package/dist/components/Tooltip/Tooltip.js.map +0 -1
  235. package/dist/components/common/FallbackImage.js +0 -47
  236. package/dist/components/common/FallbackImage.js.map +0 -1
  237. package/dist/components/ui/Calendar/calendar-utils.js +0 -51
  238. package/dist/components/ui/Calendar/calendar-utils.js.map +0 -1
  239. package/dist/components/ui/Calendar/index.js +0 -142
  240. package/dist/components/ui/Calendar/index.js.map +0 -1
  241. package/dist/components/ui/Checkbox.d.ts +0 -9
  242. package/dist/components/ui/Checkbox.js +0 -50
  243. package/dist/components/ui/Checkbox.js.map +0 -1
  244. package/dist/components/ui/DatePicker/index.js +0 -188
  245. package/dist/components/ui/DatePicker/index.js.map +0 -1
  246. package/dist/components/ui/FormInput.js +0 -129
  247. package/dist/components/ui/FormInput.js.map +0 -1
  248. package/dist/components/ui/InputErrorMessage.d.ts +0 -7
  249. package/dist/components/ui/InputErrorMessage.js +0 -21
  250. package/dist/components/ui/InputErrorMessage.js.map +0 -1
  251. package/dist/components/ui/Modal/index.js +0 -73
  252. package/dist/components/ui/Modal/index.js.map +0 -1
  253. package/dist/components/ui/Radio.d.ts +0 -6
  254. package/dist/components/ui/Radio.js +0 -35
  255. package/dist/components/ui/Radio.js.map +0 -1
  256. package/dist/components/ui/RichTextEditor.js +0 -242
  257. package/dist/components/ui/RichTextEditor.js.map +0 -1
  258. package/dist/components/ui/TimePicker/index.js +0 -215
  259. package/dist/components/ui/TimePicker/index.js.map +0 -1
  260. package/dist/components/ui/TimeSelector/index.js +0 -138
  261. package/dist/components/ui/TimeSelector/index.js.map +0 -1
  262. package/dist/components/ui/Tooltip.d.ts +0 -12
  263. package/dist/components/ui/Tooltip.js +0 -136
  264. package/dist/components/ui/Tooltip.js.map +0 -1
  265. package/dist/hooks/useDropdownPosition.d.ts +0 -11
  266. package/dist/hooks/useFirebaseAuthState.d.ts +0 -6
  267. package/dist/hooks/useFirebaseAuthState.js +0 -23
  268. package/dist/hooks/useFirebaseAuthState.js.map +0 -1
  269. package/dist/hooks/useTicketTierForm.d.ts +0 -61
  270. package/dist/lib/actions.js +0 -32
  271. package/dist/lib/actions.js.map +0 -1
  272. package/dist/lib/cropImage.js +0 -113
  273. package/dist/lib/cropImage.js.map +0 -1
  274. package/dist/lib/imageAnalysis.js +0 -58
  275. package/dist/lib/imageAnalysis.js.map +0 -1
  276. package/dist/lib/utils.js +0 -9
  277. package/dist/lib/utils.js.map +0 -1
  278. package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js +0 -60
  279. package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js.map +0 -1
  280. package/dist/node_modules/@dnd-kit/core/dist/core.esm.js +0 -3458
  281. package/dist/node_modules/@dnd-kit/core/dist/core.esm.js.map +0 -1
  282. package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +0 -593
  283. package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.js.map +0 -1
  284. package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.js +0 -302
  285. package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.js.map +0 -1
  286. package/dist/node_modules/@firebase/app/dist/esm/index.esm.js +0 -768
  287. package/dist/node_modules/@firebase/app/dist/esm/index.esm.js.map +0 -1
  288. package/dist/node_modules/@firebase/component/dist/esm/index.esm.js +0 -340
  289. package/dist/node_modules/@firebase/component/dist/esm/index.esm.js.map +0 -1
  290. package/dist/node_modules/@firebase/logger/dist/esm/index.esm.js +0 -123
  291. package/dist/node_modules/@firebase/logger/dist/esm/index.esm.js.map +0 -1
  292. package/dist/node_modules/@firebase/storage/dist/index.esm.js +0 -2623
  293. package/dist/node_modules/@firebase/storage/dist/index.esm.js.map +0 -1
  294. package/dist/node_modules/@firebase/util/dist/index.esm.js +0 -658
  295. package/dist/node_modules/@firebase/util/dist/index.esm.js.map +0 -1
  296. package/dist/node_modules/@firebase/util/dist/postinstall.js +0 -5
  297. package/dist/node_modules/@firebase/util/dist/postinstall.js.map +0 -1
  298. package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js +0 -3179
  299. package/dist/node_modules/@fortawesome/fontawesome-svg-core/index.js.map +0 -1
  300. package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.js +0 -60
  301. package/dist/node_modules/@fortawesome/free-solid-svg-icons/index.js.map +0 -1
  302. package/dist/node_modules/@fortawesome/react-fontawesome/dist/index.js +0 -400
  303. package/dist/node_modules/@fortawesome/react-fontawesome/dist/index.js.map +0 -1
  304. package/dist/node_modules/@heroicons/react/20/solid/esm/CheckIcon.js +0 -27
  305. package/dist/node_modules/@heroicons/react/20/solid/esm/CheckIcon.js.map +0 -1
  306. package/dist/node_modules/@heroicons/react/20/solid/esm/ChevronDownIcon.js +0 -27
  307. package/dist/node_modules/@heroicons/react/20/solid/esm/ChevronDownIcon.js.map +0 -1
  308. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowRightIcon.js +0 -29
  309. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowRightIcon.js.map +0 -1
  310. package/dist/node_modules/@heroicons/react/24/outline/esm/ClockIcon.js +0 -29
  311. package/dist/node_modules/@heroicons/react/24/outline/esm/ClockIcon.js.map +0 -1
  312. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentDuplicateIcon.js +0 -29
  313. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentDuplicateIcon.js.map +0 -1
  314. package/dist/node_modules/@heroicons/react/24/outline/esm/InformationCircleIcon.js +0 -29
  315. package/dist/node_modules/@heroicons/react/24/outline/esm/InformationCircleIcon.js.map +0 -1
  316. package/dist/node_modules/@heroicons/react/24/outline/esm/LinkIcon.js +0 -29
  317. package/dist/node_modules/@heroicons/react/24/outline/esm/LinkIcon.js.map +0 -1
  318. package/dist/node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassIcon.js +0 -29
  319. package/dist/node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassIcon.js.map +0 -1
  320. package/dist/node_modules/@heroicons/react/24/outline/esm/MapPinIcon.js +0 -33
  321. package/dist/node_modules/@heroicons/react/24/outline/esm/MapPinIcon.js.map +0 -1
  322. package/dist/node_modules/@heroicons/react/24/outline/esm/VideoCameraIcon.js +0 -29
  323. package/dist/node_modules/@heroicons/react/24/outline/esm/VideoCameraIcon.js.map +0 -1
  324. package/dist/node_modules/@heroicons/react/24/outline/esm/XMarkIcon.js +0 -29
  325. package/dist/node_modules/@heroicons/react/24/outline/esm/XMarkIcon.js.map +0 -1
  326. package/dist/node_modules/@tiptap/core/dist/index.js +0 -5446
  327. package/dist/node_modules/@tiptap/core/dist/index.js.map +0 -1
  328. package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +0 -21
  329. package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js.map +0 -1
  330. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +0 -78
  331. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js.map +0 -1
  332. package/dist/node_modules/@tiptap/extension-bold/dist/index.js +0 -100
  333. package/dist/node_modules/@tiptap/extension-bold/dist/index.js.map +0 -1
  334. package/dist/node_modules/@tiptap/extension-code/dist/index.js +0 -70
  335. package/dist/node_modules/@tiptap/extension-code/dist/index.js.map +0 -1
  336. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +0 -317
  337. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js.map +0 -1
  338. package/dist/node_modules/@tiptap/extension-document/dist/index.js +0 -16
  339. package/dist/node_modules/@tiptap/extension-document/dist/index.js.map +0 -1
  340. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +0 -66
  341. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js.map +0 -1
  342. package/dist/node_modules/@tiptap/extension-heading/dist/index.js +0 -86
  343. package/dist/node_modules/@tiptap/extension-heading/dist/index.js.map +0 -1
  344. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +0 -80
  345. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js.map +0 -1
  346. package/dist/node_modules/@tiptap/extension-italic/dist/index.js +0 -98
  347. package/dist/node_modules/@tiptap/extension-italic/dist/index.js.map +0 -1
  348. package/dist/node_modules/@tiptap/extension-link/dist/index.js +0 -423
  349. package/dist/node_modules/@tiptap/extension-link/dist/index.js.map +0 -1
  350. package/dist/node_modules/@tiptap/extension-list/dist/index.js +0 -1039
  351. package/dist/node_modules/@tiptap/extension-list/dist/index.js.map +0 -1
  352. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +0 -61
  353. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js.map +0 -1
  354. package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +0 -7
  355. package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js.map +0 -1
  356. package/dist/node_modules/@tiptap/extension-strike/dist/index.js +0 -79
  357. package/dist/node_modules/@tiptap/extension-strike/dist/index.js.map +0 -1
  358. package/dist/node_modules/@tiptap/extension-text/dist/index.js +0 -16
  359. package/dist/node_modules/@tiptap/extension-text/dist/index.js.map +0 -1
  360. package/dist/node_modules/@tiptap/extension-underline/dist/index.js +0 -76
  361. package/dist/node_modules/@tiptap/extension-underline/dist/index.js.map +0 -1
  362. package/dist/node_modules/@tiptap/extensions/dist/index.js +0 -376
  363. package/dist/node_modules/@tiptap/extensions/dist/index.js.map +0 -1
  364. package/dist/node_modules/@tiptap/react/dist/index.js +0 -650
  365. package/dist/node_modules/@tiptap/react/dist/index.js.map +0 -1
  366. package/dist/node_modules/@tiptap/starter-kit/dist/index.js +0 -97
  367. package/dist/node_modules/@tiptap/starter-kit/dist/index.js.map +0 -1
  368. package/dist/node_modules/dayjs/dayjs.min.js +0 -283
  369. package/dist/node_modules/dayjs/dayjs.min.js.map +0 -1
  370. package/dist/node_modules/dayjs/plugin/customParseFormat.js +0 -130
  371. package/dist/node_modules/dayjs/plugin/customParseFormat.js.map +0 -1
  372. package/dist/node_modules/dayjs/plugin/duration.js +0 -137
  373. package/dist/node_modules/dayjs/plugin/duration.js.map +0 -1
  374. package/dist/node_modules/dayjs/plugin/isBetween.js +0 -20
  375. package/dist/node_modules/dayjs/plugin/isBetween.js.map +0 -1
  376. package/dist/node_modules/dayjs/plugin/relativeTime.js +0 -49
  377. package/dist/node_modules/dayjs/plugin/relativeTime.js.map +0 -1
  378. package/dist/node_modules/fast-equals/dist/es/index.js +0 -442
  379. package/dist/node_modules/fast-equals/dist/es/index.js.map +0 -1
  380. package/dist/node_modules/idb/build/index.js +0 -70
  381. package/dist/node_modules/idb/build/index.js.map +0 -1
  382. package/dist/node_modules/idb/build/wrap-idb-value.js +0 -149
  383. package/dist/node_modules/idb/build/wrap-idb-value.js.map +0 -1
  384. package/dist/node_modules/linkifyjs/dist/linkify.js +0 -1159
  385. package/dist/node_modules/linkifyjs/dist/linkify.js.map +0 -1
  386. package/dist/node_modules/orderedmap/dist/index.js +0 -120
  387. package/dist/node_modules/orderedmap/dist/index.js.map +0 -1
  388. package/dist/node_modules/prosemirror-commands/dist/index.js +0 -527
  389. package/dist/node_modules/prosemirror-commands/dist/index.js.map +0 -1
  390. package/dist/node_modules/prosemirror-dropcursor/dist/index.js +0 -137
  391. package/dist/node_modules/prosemirror-dropcursor/dist/index.js.map +0 -1
  392. package/dist/node_modules/prosemirror-gapcursor/dist/index.js +0 -221
  393. package/dist/node_modules/prosemirror-gapcursor/dist/index.js.map +0 -1
  394. package/dist/node_modules/prosemirror-history/dist/index.js +0 -357
  395. package/dist/node_modules/prosemirror-history/dist/index.js.map +0 -1
  396. package/dist/node_modules/prosemirror-keymap/dist/index.js +0 -84
  397. package/dist/node_modules/prosemirror-keymap/dist/index.js.map +0 -1
  398. package/dist/node_modules/prosemirror-model/dist/index.js +0 -3209
  399. package/dist/node_modules/prosemirror-model/dist/index.js.map +0 -1
  400. package/dist/node_modules/prosemirror-schema-list/dist/index.js +0 -131
  401. package/dist/node_modules/prosemirror-schema-list/dist/index.js.map +0 -1
  402. package/dist/node_modules/prosemirror-state/dist/index.js +0 -936
  403. package/dist/node_modules/prosemirror-state/dist/index.js.map +0 -1
  404. package/dist/node_modules/prosemirror-transform/dist/index.js +0 -1881
  405. package/dist/node_modules/prosemirror-transform/dist/index.js.map +0 -1
  406. package/dist/node_modules/prosemirror-view/dist/index.js +0 -5232
  407. package/dist/node_modules/prosemirror-view/dist/index.js.map +0 -1
  408. package/dist/node_modules/rope-sequence/dist/index.js +0 -184
  409. package/dist/node_modules/rope-sequence/dist/index.js.map +0 -1
  410. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +0 -82
  411. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +0 -1
  412. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +0 -78
  413. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +0 -1
  414. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -78
  415. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +0 -1
  416. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -63
  417. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +0 -1
  418. package/dist/node_modules/use-sync-external-store/shim/index.js +0 -13
  419. package/dist/node_modules/use-sync-external-store/shim/index.js.map +0 -1
  420. package/dist/node_modules/use-sync-external-store/shim/with-selector.js +0 -13
  421. package/dist/node_modules/use-sync-external-store/shim/with-selector.js.map +0 -1
  422. package/dist/node_modules/w3c-keyname/index.js +0 -106
  423. package/dist/node_modules/w3c-keyname/index.js.map +0 -1
  424. package/dist/node_modules/zod/v4/classic/coerce.js +0 -10
  425. package/dist/node_modules/zod/v4/classic/coerce.js.map +0 -1
  426. package/dist/node_modules/zod/v4/classic/compat.js +0 -8
  427. package/dist/node_modules/zod/v4/classic/compat.js.map +0 -1
  428. package/dist/node_modules/zod/v4/classic/errors.js +0 -45
  429. package/dist/node_modules/zod/v4/classic/errors.js.map +0 -1
  430. package/dist/node_modules/zod/v4/classic/iso.js +0 -44
  431. package/dist/node_modules/zod/v4/classic/iso.js.map +0 -1
  432. package/dist/node_modules/zod/v4/classic/parse.js +0 -30
  433. package/dist/node_modules/zod/v4/classic/parse.js.map +0 -1
  434. package/dist/node_modules/zod/v4/classic/schemas.js +0 -711
  435. package/dist/node_modules/zod/v4/classic/schemas.js.map +0 -1
  436. package/dist/node_modules/zod/v4/core/api.js +0 -588
  437. package/dist/node_modules/zod/v4/core/api.js.map +0 -1
  438. package/dist/node_modules/zod/v4/core/checks.js +0 -411
  439. package/dist/node_modules/zod/v4/core/checks.js.map +0 -1
  440. package/dist/node_modules/zod/v4/core/core.js +0 -75
  441. package/dist/node_modules/zod/v4/core/core.js.map +0 -1
  442. package/dist/node_modules/zod/v4/core/doc.js +0 -38
  443. package/dist/node_modules/zod/v4/core/doc.js.map +0 -1
  444. package/dist/node_modules/zod/v4/core/errors.js +0 -73
  445. package/dist/node_modules/zod/v4/core/errors.js.map +0 -1
  446. package/dist/node_modules/zod/v4/core/json-schema-processors.js +0 -359
  447. package/dist/node_modules/zod/v4/core/json-schema-processors.js.map +0 -1
  448. package/dist/node_modules/zod/v4/core/parse.js +0 -96
  449. package/dist/node_modules/zod/v4/core/parse.js.map +0 -1
  450. package/dist/node_modules/zod/v4/core/regexes.js +0 -84
  451. package/dist/node_modules/zod/v4/core/regexes.js.map +0 -1
  452. package/dist/node_modules/zod/v4/core/registries.js +0 -52
  453. package/dist/node_modules/zod/v4/core/registries.js.map +0 -1
  454. package/dist/node_modules/zod/v4/core/schemas.js +0 -1391
  455. package/dist/node_modules/zod/v4/core/schemas.js.map +0 -1
  456. package/dist/node_modules/zod/v4/core/to-json-schema.js +0 -363
  457. package/dist/node_modules/zod/v4/core/to-json-schema.js.map +0 -1
  458. package/dist/node_modules/zod/v4/core/util.js +0 -431
  459. package/dist/node_modules/zod/v4/core/util.js.map +0 -1
  460. package/dist/node_modules/zod/v4/core/versions.js +0 -9
  461. package/dist/node_modules/zod/v4/core/versions.js.map +0 -1
  462. package/dist/redux/baseQuery.d.ts +0 -1
  463. package/dist/redux/baseQuery.js +0 -24
  464. package/dist/redux/baseQuery.js.map +0 -1
  465. package/dist/services/eventApi.js +0 -411
  466. package/dist/services/eventApi.js.map +0 -1
  467. package/dist/services/helpers.js +0 -115
  468. package/dist/services/helpers.js.map +0 -1
  469. package/dist/services/initialize-firebase.d.ts +0 -2
  470. package/dist/services/initialize-firebase.js +0 -20
  471. package/dist/services/initialize-firebase.js.map +0 -1
  472. package/dist/services/process-image-on-server.js +0 -30
  473. package/dist/services/process-image-on-server.js.map +0 -1
  474. package/dist/services/remote-config.d.ts +0 -5
  475. package/dist/services/remote-config.js +0 -9
  476. package/dist/services/remote-config.js.map +0 -1
  477. package/dist/services/single-event-api.js +0 -301
  478. package/dist/services/single-event-api.js.map +0 -1
  479. package/dist/services/utils.js +0 -107
  480. package/dist/services/utils.js.map +0 -1
  481. package/dist/setupTests.d.ts +0 -1
  482. package/dist/stories/Alert.stories.d.ts +0 -10
  483. package/dist/stories/Button.stories.d.ts +0 -13
  484. package/dist/types/redux-types.d.ts +0 -15
  485. package/dist/types/types.d.ts +0 -60
  486. package/dist/types/types.js +0 -10
  487. package/dist/types/types.js.map +0 -1
  488. package/dist/utils/cn.d.ts +0 -6
  489. package/dist/utils/cn.js +0 -9
  490. package/dist/utils/cn.js.map +0 -1
  491. package/dist/utils/date-range.d.ts +0 -4
  492. package/dist/utils/date-range.js +0 -13
  493. package/dist/utils/date-range.js.map +0 -1
  494. package/dist/utils/single-event-helpers.d.ts +0 -50
  495. package/dist/utils/single-event-helpers.js +0 -18
  496. package/dist/utils/single-event-helpers.js.map +0 -1
  497. package/dist/utils/social-validation.js +0 -42
  498. package/dist/utils/social-validation.js.map +0 -1
  499. package/dist/utils/utils.js +0 -20
  500. package/dist/utils/utils.js.map +0 -1
  501. /package/dist/{components/Alert/Alert.d.ts → src/components/Alert/index.d.ts} +0 -0
  502. /package/dist/{components → src/components}/FormBuilder/CategoryList.d.ts +0 -0
  503. /package/dist/{components → src/components}/FormBuilder/OptionList.d.ts +0 -0
  504. /package/dist/{components → src/components}/FormBuilder/RequiredToggle.d.ts +0 -0
  505. /package/dist/{components → src/components}/FormBuilder/types.d.ts +0 -0
  506. /package/dist/{components → src/components}/FormBuilder/utils.d.ts +0 -0
  507. /package/dist/{components → src/components}/ImageCropModal/index.d.ts +0 -0
  508. /package/dist/{components → src/components}/InformationPopover.d.ts +0 -0
  509. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/common/DescriptionModal.d.ts +0 -0
  510. /package/dist/{components/ui/FormInput.d.ts → src/components/NewAddEvent/components/AddEventFormInput.d.ts} +0 -0
  511. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/CheckboxGroup.d.ts +0 -0
  512. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/CustomMeetingForm.d.ts +0 -0
  513. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/DateTimeField.d.ts +0 -0
  514. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/FileUpload.d.ts +0 -0
  515. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/FormBuilderProceedModal.d.ts +0 -0
  516. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/GoogleMapsAutocompleteInput.d.ts +0 -0
  517. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/SingleDateTimeInput.d.ts +0 -0
  518. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/StepTwo/CustomFormSection.d.ts +0 -0
  519. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/components/TicketTypeSelection.d.ts +0 -0
  520. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/steps/StepOne.d.ts +0 -0
  521. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/steps/StepTwo.d.ts +0 -0
  522. /package/dist/{components/EventAddForm → src/components/NewAddEvent}/types.d.ts +0 -0
  523. /package/dist/{components → src/components}/common/FallbackImage.d.ts +0 -0
  524. /package/dist/{components → src/components}/ui/Calendar/calendar-utils.d.ts +0 -0
  525. /package/dist/{components → src/components}/ui/Calendar/index.d.ts +0 -0
  526. /package/dist/{components/Checkbox → src/components/ui}/Checkbox.d.ts +0 -0
  527. /package/dist/{components/CustomSelect → src/components/ui}/CustomSelect.d.ts +0 -0
  528. /package/dist/{components → src/components}/ui/DatePicker/index.d.ts +0 -0
  529. /package/dist/{components/InputErrorMessage → src/components/ui}/InputErrorMessage.d.ts +0 -0
  530. /package/dist/{components → src/components}/ui/Modal/index.d.ts +0 -0
  531. /package/dist/{components/Radio → src/components/ui}/Radio.d.ts +0 -0
  532. /package/dist/{components → src/components}/ui/RichTextEditor.d.ts +0 -0
  533. /package/dist/{components → src/components}/ui/TimePicker/index.d.ts +0 -0
  534. /package/dist/{components → src/components}/ui/TimeSelector/index.d.ts +0 -0
  535. /package/dist/{components → src/components}/ui/Tooltip/index.d.ts +0 -0
  536. /package/dist/{lib → src/lib}/constants.d.ts +0 -0
  537. /package/dist/{lib → src/lib}/cropImage.d.ts +0 -0
  538. /package/dist/{lib → src/lib}/imageAnalysis.d.ts +0 -0
  539. /package/dist/{utils → src/lib}/social-validation.d.ts +0 -0
  540. /package/dist/{lib/utils.d.ts → src/lib/tailwind-merge.d.ts} +0 -0
  541. /package/dist/{utils → src/lib}/utils.d.ts +0 -0
  542. /package/dist/{services → src/redux/features/single-event}/helpers.d.ts +0 -0
  543. /package/dist/{services → src/services}/process-image-on-server.d.ts +0 -0
  544. /package/dist/{types → src/types}/events.d.ts +0 -0
  545. /package/dist/{types → src/types}/question.d.ts +0 -0
@@ -1,3179 +0,0 @@
1
- /*!
2
- * Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com
3
- * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
- * Copyright 2026 Fonticons, Inc.
5
- */
6
- function _arrayLikeToArray(r2, a2) {
7
- (null == a2 || a2 > r2.length) && (a2 = r2.length);
8
- for (var e2 = 0, n2 = Array(a2); e2 < a2; e2++) n2[e2] = r2[e2];
9
- return n2;
10
- }
11
- function _arrayWithHoles(r2) {
12
- if (Array.isArray(r2)) return r2;
13
- }
14
- function _arrayWithoutHoles(r2) {
15
- if (Array.isArray(r2)) return _arrayLikeToArray(r2);
16
- }
17
- function _classCallCheck(a2, n2) {
18
- if (!(a2 instanceof n2)) throw new TypeError("Cannot call a class as a function");
19
- }
20
- function _defineProperties(e2, r2) {
21
- for (var t2 = 0; t2 < r2.length; t2++) {
22
- var o2 = r2[t2];
23
- o2.enumerable = o2.enumerable || false, o2.configurable = true, "value" in o2 && (o2.writable = true), Object.defineProperty(e2, _toPropertyKey(o2.key), o2);
24
- }
25
- }
26
- function _createClass(e2, r2, t2) {
27
- return r2 && _defineProperties(e2.prototype, r2), Object.defineProperty(e2, "prototype", {
28
- writable: false
29
- }), e2;
30
- }
31
- function _createForOfIteratorHelper(r2, e2) {
32
- var t2 = "undefined" != typeof Symbol && r2[Symbol.iterator] || r2["@@iterator"];
33
- if (!t2) {
34
- if (Array.isArray(r2) || (t2 = _unsupportedIterableToArray(r2)) || e2) {
35
- t2 && (r2 = t2);
36
- var n2 = 0, F2 = function() {
37
- };
38
- return {
39
- s: F2,
40
- n: function() {
41
- return n2 >= r2.length ? {
42
- done: true
43
- } : {
44
- done: false,
45
- value: r2[n2++]
46
- };
47
- },
48
- e: function(r3) {
49
- throw r3;
50
- },
51
- f: F2
52
- };
53
- }
54
- throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
55
- }
56
- var o2, a2 = true, u2 = false;
57
- return {
58
- s: function() {
59
- t2 = t2.call(r2);
60
- },
61
- n: function() {
62
- var r3 = t2.next();
63
- return a2 = r3.done, r3;
64
- },
65
- e: function(r3) {
66
- u2 = true, o2 = r3;
67
- },
68
- f: function() {
69
- try {
70
- a2 || null == t2.return || t2.return();
71
- } finally {
72
- if (u2) throw o2;
73
- }
74
- }
75
- };
76
- }
77
- function _defineProperty(e2, r2, t2) {
78
- return (r2 = _toPropertyKey(r2)) in e2 ? Object.defineProperty(e2, r2, {
79
- value: t2,
80
- enumerable: true,
81
- configurable: true,
82
- writable: true
83
- }) : e2[r2] = t2, e2;
84
- }
85
- function _iterableToArray(r2) {
86
- if ("undefined" != typeof Symbol && null != r2[Symbol.iterator] || null != r2["@@iterator"]) return Array.from(r2);
87
- }
88
- function _iterableToArrayLimit(r2, l2) {
89
- var t2 = null == r2 ? null : "undefined" != typeof Symbol && r2[Symbol.iterator] || r2["@@iterator"];
90
- if (null != t2) {
91
- var e2, n2, i2, u2, a2 = [], f2 = true, o2 = false;
92
- try {
93
- if (i2 = (t2 = t2.call(r2)).next, 0 === l2) {
94
- if (Object(t2) !== t2) return;
95
- f2 = false;
96
- } else for (; !(f2 = (e2 = i2.call(t2)).done) && (a2.push(e2.value), a2.length !== l2); f2 = true) ;
97
- } catch (r3) {
98
- o2 = true, n2 = r3;
99
- } finally {
100
- try {
101
- if (!f2 && null != t2.return && (u2 = t2.return(), Object(u2) !== u2)) return;
102
- } finally {
103
- if (o2) throw n2;
104
- }
105
- }
106
- return a2;
107
- }
108
- }
109
- function _nonIterableRest() {
110
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
111
- }
112
- function _nonIterableSpread() {
113
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
114
- }
115
- function ownKeys(e2, r2) {
116
- var t2 = Object.keys(e2);
117
- if (Object.getOwnPropertySymbols) {
118
- var o2 = Object.getOwnPropertySymbols(e2);
119
- r2 && (o2 = o2.filter(function(r3) {
120
- return Object.getOwnPropertyDescriptor(e2, r3).enumerable;
121
- })), t2.push.apply(t2, o2);
122
- }
123
- return t2;
124
- }
125
- function _objectSpread2(e2) {
126
- for (var r2 = 1; r2 < arguments.length; r2++) {
127
- var t2 = null != arguments[r2] ? arguments[r2] : {};
128
- r2 % 2 ? ownKeys(Object(t2), true).forEach(function(r3) {
129
- _defineProperty(e2, r3, t2[r3]);
130
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e2, Object.getOwnPropertyDescriptors(t2)) : ownKeys(Object(t2)).forEach(function(r3) {
131
- Object.defineProperty(e2, r3, Object.getOwnPropertyDescriptor(t2, r3));
132
- });
133
- }
134
- return e2;
135
- }
136
- function _slicedToArray(r2, e2) {
137
- return _arrayWithHoles(r2) || _iterableToArrayLimit(r2, e2) || _unsupportedIterableToArray(r2, e2) || _nonIterableRest();
138
- }
139
- function _toConsumableArray(r2) {
140
- return _arrayWithoutHoles(r2) || _iterableToArray(r2) || _unsupportedIterableToArray(r2) || _nonIterableSpread();
141
- }
142
- function _toPrimitive(t2, r2) {
143
- if ("object" != typeof t2 || !t2) return t2;
144
- var e2 = t2[Symbol.toPrimitive];
145
- if (void 0 !== e2) {
146
- var i2 = e2.call(t2, r2);
147
- if ("object" != typeof i2) return i2;
148
- throw new TypeError("@@toPrimitive must return a primitive value.");
149
- }
150
- return ("string" === r2 ? String : Number)(t2);
151
- }
152
- function _toPropertyKey(t2) {
153
- var i2 = _toPrimitive(t2, "string");
154
- return "symbol" == typeof i2 ? i2 : i2 + "";
155
- }
156
- function _typeof(o2) {
157
- "@babel/helpers - typeof";
158
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o3) {
159
- return typeof o3;
160
- } : function(o3) {
161
- return o3 && "function" == typeof Symbol && o3.constructor === Symbol && o3 !== Symbol.prototype ? "symbol" : typeof o3;
162
- }, _typeof(o2);
163
- }
164
- function _unsupportedIterableToArray(r2, a2) {
165
- if (r2) {
166
- if ("string" == typeof r2) return _arrayLikeToArray(r2, a2);
167
- var t2 = {}.toString.call(r2).slice(8, -1);
168
- return "Object" === t2 && r2.constructor && (t2 = r2.constructor.name), "Map" === t2 || "Set" === t2 ? Array.from(r2) : "Arguments" === t2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t2) ? _arrayLikeToArray(r2, a2) : void 0;
169
- }
170
- }
171
- var noop = function noop2() {
172
- };
173
- var _WINDOW = {};
174
- var _DOCUMENT = {};
175
- var _MUTATION_OBSERVER = null;
176
- var _PERFORMANCE = {
177
- mark: noop,
178
- measure: noop
179
- };
180
- try {
181
- if (typeof window !== "undefined") _WINDOW = window;
182
- if (typeof document !== "undefined") _DOCUMENT = document;
183
- if (typeof MutationObserver !== "undefined") _MUTATION_OBSERVER = MutationObserver;
184
- if (typeof performance !== "undefined") _PERFORMANCE = performance;
185
- } catch (e2) {
186
- }
187
- var _ref = _WINDOW.navigator || {}, _ref$userAgent = _ref.userAgent, userAgent = _ref$userAgent === void 0 ? "" : _ref$userAgent;
188
- var WINDOW = _WINDOW;
189
- var DOCUMENT = _DOCUMENT;
190
- var MUTATION_OBSERVER = _MUTATION_OBSERVER;
191
- var PERFORMANCE = _PERFORMANCE;
192
- !!WINDOW.document;
193
- var IS_DOM = !!DOCUMENT.documentElement && !!DOCUMENT.head && typeof DOCUMENT.addEventListener === "function" && typeof DOCUMENT.createElement === "function";
194
- var IS_IE = ~userAgent.indexOf("MSIE") || ~userAgent.indexOf("Trident/");
195
- var _ht;
196
- var G = /fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|gt|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, M = /Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Graphite|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i;
197
- var Q = {
198
- classic: {
199
- fa: "solid",
200
- fas: "solid",
201
- "fa-solid": "solid",
202
- far: "regular",
203
- "fa-regular": "regular",
204
- fal: "light",
205
- "fa-light": "light",
206
- fat: "thin",
207
- "fa-thin": "thin",
208
- fab: "brands",
209
- "fa-brands": "brands"
210
- },
211
- duotone: {
212
- fa: "solid",
213
- fad: "solid",
214
- "fa-solid": "solid",
215
- "fa-duotone": "solid",
216
- fadr: "regular",
217
- "fa-regular": "regular",
218
- fadl: "light",
219
- "fa-light": "light",
220
- fadt: "thin",
221
- "fa-thin": "thin"
222
- },
223
- sharp: {
224
- fa: "solid",
225
- fass: "solid",
226
- "fa-solid": "solid",
227
- fasr: "regular",
228
- "fa-regular": "regular",
229
- fasl: "light",
230
- "fa-light": "light",
231
- fast: "thin",
232
- "fa-thin": "thin"
233
- },
234
- "sharp-duotone": {
235
- fa: "solid",
236
- fasds: "solid",
237
- "fa-solid": "solid",
238
- fasdr: "regular",
239
- "fa-regular": "regular",
240
- fasdl: "light",
241
- "fa-light": "light",
242
- fasdt: "thin",
243
- "fa-thin": "thin"
244
- },
245
- slab: {
246
- "fa-regular": "regular",
247
- faslr: "regular"
248
- },
249
- "slab-press": {
250
- "fa-regular": "regular",
251
- faslpr: "regular"
252
- },
253
- thumbprint: {
254
- "fa-light": "light",
255
- fatl: "light"
256
- },
257
- whiteboard: {
258
- "fa-semibold": "semibold",
259
- fawsb: "semibold"
260
- },
261
- notdog: {
262
- "fa-solid": "solid",
263
- fans: "solid"
264
- },
265
- "notdog-duo": {
266
- "fa-solid": "solid",
267
- fands: "solid"
268
- },
269
- etch: {
270
- "fa-solid": "solid",
271
- faes: "solid"
272
- },
273
- graphite: {
274
- "fa-thin": "thin",
275
- fagt: "thin"
276
- },
277
- jelly: {
278
- "fa-regular": "regular",
279
- fajr: "regular"
280
- },
281
- "jelly-fill": {
282
- "fa-regular": "regular",
283
- fajfr: "regular"
284
- },
285
- "jelly-duo": {
286
- "fa-regular": "regular",
287
- fajdr: "regular"
288
- },
289
- chisel: {
290
- "fa-regular": "regular",
291
- facr: "regular"
292
- },
293
- utility: {
294
- "fa-semibold": "semibold",
295
- fausb: "semibold"
296
- },
297
- "utility-duo": {
298
- "fa-semibold": "semibold",
299
- faudsb: "semibold"
300
- },
301
- "utility-fill": {
302
- "fa-semibold": "semibold",
303
- faufsb: "semibold"
304
- }
305
- }, X = {
306
- GROUP: "duotone-group",
307
- PRIMARY: "primary",
308
- SECONDARY: "secondary"
309
- }, Z = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-graphite", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"];
310
- var i = "classic", t = "duotone", d = "sharp", l = "sharp-duotone", f = "chisel", h = "etch", n = "graphite", g = "jelly", o = "jelly-duo", u = "jelly-fill", m = "notdog", e = "notdog-duo", y = "slab", p = "slab-press", s = "thumbprint", w = "utility", a = "utility-duo", x = "utility-fill", b = "whiteboard", c = "Classic", I = "Duotone", F = "Sharp", v = "Sharp Duotone", S = "Chisel", A = "Etch", P = "Graphite", j = "Jelly", B = "Jelly Duo", N = "Jelly Fill", k = "Notdog", D = "Notdog Duo", T = "Slab", C = "Slab Press", W = "Thumbprint", K = "Utility", R = "Utility Duo", L = "Utility Fill", U = "Whiteboard", dt = [i, t, d, l, f, h, n, g, o, u, m, e, y, p, s, w, a, x, b];
311
- _ht = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ht, i, c), t, I), d, F), l, v), f, S), h, A), n, P), g, j), o, B), u, N), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ht, m, k), e, D), y, T), p, C), s, W), w, K), a, R), x, L), b, U);
312
- var yt = {
313
- classic: {
314
- 900: "fas",
315
- 400: "far",
316
- normal: "far",
317
- 300: "fal",
318
- 100: "fat"
319
- },
320
- duotone: {
321
- 900: "fad",
322
- 400: "fadr",
323
- 300: "fadl",
324
- 100: "fadt"
325
- },
326
- sharp: {
327
- 900: "fass",
328
- 400: "fasr",
329
- 300: "fasl",
330
- 100: "fast"
331
- },
332
- "sharp-duotone": {
333
- 900: "fasds",
334
- 400: "fasdr",
335
- 300: "fasdl",
336
- 100: "fasdt"
337
- },
338
- slab: {
339
- 400: "faslr"
340
- },
341
- "slab-press": {
342
- 400: "faslpr"
343
- },
344
- whiteboard: {
345
- 600: "fawsb"
346
- },
347
- thumbprint: {
348
- 300: "fatl"
349
- },
350
- notdog: {
351
- 900: "fans"
352
- },
353
- "notdog-duo": {
354
- 900: "fands"
355
- },
356
- etch: {
357
- 900: "faes"
358
- },
359
- graphite: {
360
- 100: "fagt"
361
- },
362
- chisel: {
363
- 400: "facr"
364
- },
365
- jelly: {
366
- 400: "fajr"
367
- },
368
- "jelly-fill": {
369
- 400: "fajfr"
370
- },
371
- "jelly-duo": {
372
- 400: "fajdr"
373
- },
374
- utility: {
375
- 600: "fausb"
376
- },
377
- "utility-duo": {
378
- 600: "faudsb"
379
- },
380
- "utility-fill": {
381
- 600: "faufsb"
382
- }
383
- };
384
- var Kt = {
385
- "Font Awesome 7 Free": {
386
- 900: "fas",
387
- 400: "far"
388
- },
389
- "Font Awesome 7 Pro": {
390
- 900: "fas",
391
- 400: "far",
392
- normal: "far",
393
- 300: "fal",
394
- 100: "fat"
395
- },
396
- "Font Awesome 7 Brands": {
397
- 400: "fab",
398
- normal: "fab"
399
- },
400
- "Font Awesome 7 Duotone": {
401
- 900: "fad",
402
- 400: "fadr",
403
- normal: "fadr",
404
- 300: "fadl",
405
- 100: "fadt"
406
- },
407
- "Font Awesome 7 Sharp": {
408
- 900: "fass",
409
- 400: "fasr",
410
- normal: "fasr",
411
- 300: "fasl",
412
- 100: "fast"
413
- },
414
- "Font Awesome 7 Sharp Duotone": {
415
- 900: "fasds",
416
- 400: "fasdr",
417
- normal: "fasdr",
418
- 300: "fasdl",
419
- 100: "fasdt"
420
- },
421
- "Font Awesome 7 Jelly": {
422
- 400: "fajr",
423
- normal: "fajr"
424
- },
425
- "Font Awesome 7 Jelly Fill": {
426
- 400: "fajfr",
427
- normal: "fajfr"
428
- },
429
- "Font Awesome 7 Jelly Duo": {
430
- 400: "fajdr",
431
- normal: "fajdr"
432
- },
433
- "Font Awesome 7 Slab": {
434
- 400: "faslr",
435
- normal: "faslr"
436
- },
437
- "Font Awesome 7 Slab Press": {
438
- 400: "faslpr",
439
- normal: "faslpr"
440
- },
441
- "Font Awesome 7 Thumbprint": {
442
- 300: "fatl",
443
- normal: "fatl"
444
- },
445
- "Font Awesome 7 Notdog": {
446
- 900: "fans",
447
- normal: "fans"
448
- },
449
- "Font Awesome 7 Notdog Duo": {
450
- 900: "fands",
451
- normal: "fands"
452
- },
453
- "Font Awesome 7 Etch": {
454
- 900: "faes",
455
- normal: "faes"
456
- },
457
- "Font Awesome 7 Graphite": {
458
- 100: "fagt",
459
- normal: "fagt"
460
- },
461
- "Font Awesome 7 Chisel": {
462
- 400: "facr",
463
- normal: "facr"
464
- },
465
- "Font Awesome 7 Whiteboard": {
466
- 600: "fawsb",
467
- normal: "fawsb"
468
- },
469
- "Font Awesome 7 Utility": {
470
- 600: "fausb",
471
- normal: "fausb"
472
- },
473
- "Font Awesome 7 Utility Duo": {
474
- 600: "faudsb",
475
- normal: "faudsb"
476
- },
477
- "Font Awesome 7 Utility Fill": {
478
- 600: "faufsb",
479
- normal: "faufsb"
480
- }
481
- };
482
- var Et = /* @__PURE__ */ new Map([["classic", {
483
- defaultShortPrefixId: "fas",
484
- defaultStyleId: "solid",
485
- styleIds: ["solid", "regular", "light", "thin", "brands"],
486
- futureStyleIds: [],
487
- defaultFontWeight: 900
488
- }], ["duotone", {
489
- defaultShortPrefixId: "fad",
490
- defaultStyleId: "solid",
491
- styleIds: ["solid", "regular", "light", "thin"],
492
- futureStyleIds: [],
493
- defaultFontWeight: 900
494
- }], ["sharp", {
495
- defaultShortPrefixId: "fass",
496
- defaultStyleId: "solid",
497
- styleIds: ["solid", "regular", "light", "thin"],
498
- futureStyleIds: [],
499
- defaultFontWeight: 900
500
- }], ["sharp-duotone", {
501
- defaultShortPrefixId: "fasds",
502
- defaultStyleId: "solid",
503
- styleIds: ["solid", "regular", "light", "thin"],
504
- futureStyleIds: [],
505
- defaultFontWeight: 900
506
- }], ["chisel", {
507
- defaultShortPrefixId: "facr",
508
- defaultStyleId: "regular",
509
- styleIds: ["regular"],
510
- futureStyleIds: [],
511
- defaultFontWeight: 400
512
- }], ["etch", {
513
- defaultShortPrefixId: "faes",
514
- defaultStyleId: "solid",
515
- styleIds: ["solid"],
516
- futureStyleIds: [],
517
- defaultFontWeight: 900
518
- }], ["graphite", {
519
- defaultShortPrefixId: "fagt",
520
- defaultStyleId: "thin",
521
- styleIds: ["thin"],
522
- futureStyleIds: [],
523
- defaultFontWeight: 100
524
- }], ["jelly", {
525
- defaultShortPrefixId: "fajr",
526
- defaultStyleId: "regular",
527
- styleIds: ["regular"],
528
- futureStyleIds: [],
529
- defaultFontWeight: 400
530
- }], ["jelly-duo", {
531
- defaultShortPrefixId: "fajdr",
532
- defaultStyleId: "regular",
533
- styleIds: ["regular"],
534
- futureStyleIds: [],
535
- defaultFontWeight: 400
536
- }], ["jelly-fill", {
537
- defaultShortPrefixId: "fajfr",
538
- defaultStyleId: "regular",
539
- styleIds: ["regular"],
540
- futureStyleIds: [],
541
- defaultFontWeight: 400
542
- }], ["notdog", {
543
- defaultShortPrefixId: "fans",
544
- defaultStyleId: "solid",
545
- styleIds: ["solid"],
546
- futureStyleIds: [],
547
- defaultFontWeight: 900
548
- }], ["notdog-duo", {
549
- defaultShortPrefixId: "fands",
550
- defaultStyleId: "solid",
551
- styleIds: ["solid"],
552
- futureStyleIds: [],
553
- defaultFontWeight: 900
554
- }], ["slab", {
555
- defaultShortPrefixId: "faslr",
556
- defaultStyleId: "regular",
557
- styleIds: ["regular"],
558
- futureStyleIds: [],
559
- defaultFontWeight: 400
560
- }], ["slab-press", {
561
- defaultShortPrefixId: "faslpr",
562
- defaultStyleId: "regular",
563
- styleIds: ["regular"],
564
- futureStyleIds: [],
565
- defaultFontWeight: 400
566
- }], ["thumbprint", {
567
- defaultShortPrefixId: "fatl",
568
- defaultStyleId: "light",
569
- styleIds: ["light"],
570
- futureStyleIds: [],
571
- defaultFontWeight: 300
572
- }], ["utility", {
573
- defaultShortPrefixId: "fausb",
574
- defaultStyleId: "semibold",
575
- styleIds: ["semibold"],
576
- futureStyleIds: [],
577
- defaultFontWeight: 600
578
- }], ["utility-duo", {
579
- defaultShortPrefixId: "faudsb",
580
- defaultStyleId: "semibold",
581
- styleIds: ["semibold"],
582
- futureStyleIds: [],
583
- defaultFontWeight: 600
584
- }], ["utility-fill", {
585
- defaultShortPrefixId: "faufsb",
586
- defaultStyleId: "semibold",
587
- styleIds: ["semibold"],
588
- futureStyleIds: [],
589
- defaultFontWeight: 600
590
- }], ["whiteboard", {
591
- defaultShortPrefixId: "fawsb",
592
- defaultStyleId: "semibold",
593
- styleIds: ["semibold"],
594
- futureStyleIds: [],
595
- defaultFontWeight: 600
596
- }]]), Mt = {
597
- chisel: {
598
- regular: "facr"
599
- },
600
- classic: {
601
- brands: "fab",
602
- light: "fal",
603
- regular: "far",
604
- solid: "fas",
605
- thin: "fat"
606
- },
607
- duotone: {
608
- light: "fadl",
609
- regular: "fadr",
610
- solid: "fad",
611
- thin: "fadt"
612
- },
613
- etch: {
614
- solid: "faes"
615
- },
616
- graphite: {
617
- thin: "fagt"
618
- },
619
- jelly: {
620
- regular: "fajr"
621
- },
622
- "jelly-duo": {
623
- regular: "fajdr"
624
- },
625
- "jelly-fill": {
626
- regular: "fajfr"
627
- },
628
- notdog: {
629
- solid: "fans"
630
- },
631
- "notdog-duo": {
632
- solid: "fands"
633
- },
634
- sharp: {
635
- light: "fasl",
636
- regular: "fasr",
637
- solid: "fass",
638
- thin: "fast"
639
- },
640
- "sharp-duotone": {
641
- light: "fasdl",
642
- regular: "fasdr",
643
- solid: "fasds",
644
- thin: "fasdt"
645
- },
646
- slab: {
647
- regular: "faslr"
648
- },
649
- "slab-press": {
650
- regular: "faslpr"
651
- },
652
- thumbprint: {
653
- light: "fatl"
654
- },
655
- utility: {
656
- semibold: "fausb"
657
- },
658
- "utility-duo": {
659
- semibold: "faudsb"
660
- },
661
- "utility-fill": {
662
- semibold: "faufsb"
663
- },
664
- whiteboard: {
665
- semibold: "fawsb"
666
- }
667
- };
668
- var Ht = ["fak", "fa-kit", "fakd", "fa-kit-duotone"], Qt = {
669
- kit: {
670
- fak: "kit",
671
- "fa-kit": "kit"
672
- },
673
- "kit-duotone": {
674
- fakd: "kit-duotone",
675
- "fa-kit-duotone": "kit-duotone"
676
- }
677
- }, Xt = ["kit"];
678
- var J = "kit", r = "kit-duotone", E = "Kit", _ = "Kit Duotone";
679
- _defineProperty(_defineProperty({}, J, E), r, _);
680
- var sl = {
681
- kit: {
682
- "fa-kit": "fak"
683
- }
684
- };
685
- var hl = {
686
- "Font Awesome Kit": {
687
- 400: "fak",
688
- normal: "fak"
689
- },
690
- "Font Awesome Kit Duotone": {
691
- 400: "fakd",
692
- normal: "fakd"
693
- }
694
- }, nl = {
695
- kit: {
696
- fak: "fa-kit"
697
- }
698
- };
699
- var ml = {
700
- kit: {
701
- kit: "fak"
702
- },
703
- "kit-duotone": {
704
- "kit-duotone": "fakd"
705
- }
706
- };
707
- var _wt;
708
- var t$1 = {
709
- GROUP: "duotone-group",
710
- SWAP_OPACITY: "swap-opacity",
711
- PRIMARY: "primary",
712
- SECONDARY: "secondary"
713
- }, f$1 = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-graphite", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"];
714
- var h$1 = "classic", o$1 = "duotone", n$1 = "sharp", s$1 = "sharp-duotone", u$1 = "chisel", g$1 = "etch", y$1 = "graphite", m$1 = "jelly", a$1 = "jelly-duo", p$1 = "jelly-fill", w$1 = "notdog", e$1 = "notdog-duo", b$1 = "slab", c$1 = "slab-press", r$1 = "thumbprint", x$1 = "utility", i$1 = "utility-duo", I$1 = "utility-fill", F$1 = "whiteboard", v$1 = "Classic", S$1 = "Duotone", A$1 = "Sharp", P$1 = "Sharp Duotone", j$1 = "Chisel", B$1 = "Etch", N$1 = "Graphite", k$1 = "Jelly", D$1 = "Jelly Duo", C$1 = "Jelly Fill", T$1 = "Notdog", L$1 = "Notdog Duo", W$1 = "Slab", R$1 = "Slab Press", K$1 = "Thumbprint", U$1 = "Utility", J$1 = "Utility Duo", E$1 = "Utility Fill", _$1 = "Whiteboard";
715
- _wt = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_wt, h$1, v$1), o$1, S$1), n$1, A$1), s$1, P$1), u$1, j$1), g$1, B$1), y$1, N$1), m$1, k$1), a$1, D$1), p$1, C$1), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_wt, w$1, T$1), e$1, L$1), b$1, W$1), c$1, R$1), r$1, K$1), x$1, U$1), i$1, J$1), I$1, E$1), F$1, _$1);
716
- var G$1 = "kit", d$1 = "kit-duotone", M$1 = "Kit", O = "Kit Duotone";
717
- _defineProperty(_defineProperty({}, G$1, M$1), d$1, O);
718
- var Hl = {
719
- classic: {
720
- "fa-brands": "fab",
721
- "fa-duotone": "fad",
722
- "fa-light": "fal",
723
- "fa-regular": "far",
724
- "fa-solid": "fas",
725
- "fa-thin": "fat"
726
- },
727
- duotone: {
728
- "fa-regular": "fadr",
729
- "fa-light": "fadl",
730
- "fa-thin": "fadt"
731
- },
732
- sharp: {
733
- "fa-solid": "fass",
734
- "fa-regular": "fasr",
735
- "fa-light": "fasl",
736
- "fa-thin": "fast"
737
- },
738
- "sharp-duotone": {
739
- "fa-solid": "fasds",
740
- "fa-regular": "fasdr",
741
- "fa-light": "fasdl",
742
- "fa-thin": "fasdt"
743
- },
744
- slab: {
745
- "fa-regular": "faslr"
746
- },
747
- "slab-press": {
748
- "fa-regular": "faslpr"
749
- },
750
- whiteboard: {
751
- "fa-semibold": "fawsb"
752
- },
753
- thumbprint: {
754
- "fa-light": "fatl"
755
- },
756
- notdog: {
757
- "fa-solid": "fans"
758
- },
759
- "notdog-duo": {
760
- "fa-solid": "fands"
761
- },
762
- etch: {
763
- "fa-solid": "faes"
764
- },
765
- graphite: {
766
- "fa-thin": "fagt"
767
- },
768
- jelly: {
769
- "fa-regular": "fajr"
770
- },
771
- "jelly-fill": {
772
- "fa-regular": "fajfr"
773
- },
774
- "jelly-duo": {
775
- "fa-regular": "fajdr"
776
- },
777
- chisel: {
778
- "fa-regular": "facr"
779
- },
780
- utility: {
781
- "fa-semibold": "fausb"
782
- },
783
- "utility-duo": {
784
- "fa-semibold": "faudsb"
785
- },
786
- "utility-fill": {
787
- "fa-semibold": "faufsb"
788
- }
789
- }, Y$1 = {
790
- classic: ["fas", "far", "fal", "fat", "fad"],
791
- duotone: ["fadr", "fadl", "fadt"],
792
- sharp: ["fass", "fasr", "fasl", "fast"],
793
- "sharp-duotone": ["fasds", "fasdr", "fasdl", "fasdt"],
794
- slab: ["faslr"],
795
- "slab-press": ["faslpr"],
796
- whiteboard: ["fawsb"],
797
- thumbprint: ["fatl"],
798
- notdog: ["fans"],
799
- "notdog-duo": ["fands"],
800
- etch: ["faes"],
801
- graphite: ["fagt"],
802
- jelly: ["fajr"],
803
- "jelly-fill": ["fajfr"],
804
- "jelly-duo": ["fajdr"],
805
- chisel: ["facr"],
806
- utility: ["fausb"],
807
- "utility-duo": ["faudsb"],
808
- "utility-fill": ["faufsb"]
809
- }, Xl = {
810
- classic: {
811
- fab: "fa-brands",
812
- fad: "fa-duotone",
813
- fal: "fa-light",
814
- far: "fa-regular",
815
- fas: "fa-solid",
816
- fat: "fa-thin"
817
- },
818
- duotone: {
819
- fadr: "fa-regular",
820
- fadl: "fa-light",
821
- fadt: "fa-thin"
822
- },
823
- sharp: {
824
- fass: "fa-solid",
825
- fasr: "fa-regular",
826
- fasl: "fa-light",
827
- fast: "fa-thin"
828
- },
829
- "sharp-duotone": {
830
- fasds: "fa-solid",
831
- fasdr: "fa-regular",
832
- fasdl: "fa-light",
833
- fasdt: "fa-thin"
834
- },
835
- slab: {
836
- faslr: "fa-regular"
837
- },
838
- "slab-press": {
839
- faslpr: "fa-regular"
840
- },
841
- whiteboard: {
842
- fawsb: "fa-semibold"
843
- },
844
- thumbprint: {
845
- fatl: "fa-light"
846
- },
847
- notdog: {
848
- fans: "fa-solid"
849
- },
850
- "notdog-duo": {
851
- fands: "fa-solid"
852
- },
853
- etch: {
854
- faes: "fa-solid"
855
- },
856
- graphite: {
857
- fagt: "fa-thin"
858
- },
859
- jelly: {
860
- fajr: "fa-regular"
861
- },
862
- "jelly-fill": {
863
- fajfr: "fa-regular"
864
- },
865
- "jelly-duo": {
866
- fajdr: "fa-regular"
867
- },
868
- chisel: {
869
- facr: "fa-regular"
870
- },
871
- utility: {
872
- fausb: "fa-semibold"
873
- },
874
- "utility-duo": {
875
- faudsb: "fa-semibold"
876
- },
877
- "utility-fill": {
878
- faufsb: "fa-semibold"
879
- }
880
- }, V$1 = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], lo = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", "faslr", "faslpr", "fawsb", "fatl", "fans", "fands", "faes", "fagt", "fajr", "fajfr", "fajdr", "facr", "fausb", "faudsb", "faufsb"].concat(f$1, V$1), $ = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], z$1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], q$1 = z$1.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), H$1 = ["aw", "fw", "pull-left", "pull-right"], so = [].concat(_toConsumableArray(Object.keys(Y$1)), $, H$1, ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "inverse", "layers", "layers-bottom-left", "layers-bottom-right", "layers-counter", "layers-text", "layers-top-left", "layers-top-right", "li", "pull-end", "pull-start", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", "width-auto", "width-fixed", t$1.GROUP, t$1.SWAP_OPACITY, t$1.PRIMARY, t$1.SECONDARY]).concat(z$1.map(function(l2) {
881
- return "".concat(l2, "x");
882
- })).concat(q$1.map(function(l2) {
883
- return "w-".concat(l2);
884
- }));
885
- var fo = {
886
- "Font Awesome 5 Free": {
887
- 900: "fas",
888
- 400: "far"
889
- },
890
- "Font Awesome 5 Pro": {
891
- 900: "fas",
892
- 400: "far",
893
- normal: "far",
894
- 300: "fal"
895
- },
896
- "Font Awesome 5 Brands": {
897
- 400: "fab",
898
- normal: "fab"
899
- },
900
- "Font Awesome 5 Duotone": {
901
- 900: "fad"
902
- }
903
- };
904
- var NAMESPACE_IDENTIFIER = "___FONT_AWESOME___";
905
- var UNITS_IN_GRID = 16;
906
- var DEFAULT_CSS_PREFIX = "fa";
907
- var DEFAULT_REPLACEMENT_CLASS = "svg-inline--fa";
908
- var DATA_FA_I2SVG = "data-fa-i2svg";
909
- var DATA_FA_PSEUDO_ELEMENT = "data-fa-pseudo-element";
910
- var DATA_FA_PSEUDO_ELEMENT_PENDING = "data-fa-pseudo-element-pending";
911
- var DATA_PREFIX = "data-prefix";
912
- var DATA_ICON = "data-icon";
913
- var HTML_CLASS_I2SVG_BASE_CLASS = "fontawesome-i2svg";
914
- var MUTATION_APPROACH_ASYNC = "async";
915
- var TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS = ["HTML", "HEAD", "STYLE", "SCRIPT"];
916
- var PSEUDO_ELEMENTS = ["::before", "::after", ":before", ":after"];
917
- var PRODUCTION = function() {
918
- try {
919
- return process.env.NODE_ENV === "production";
920
- } catch (e$$1) {
921
- return false;
922
- }
923
- }();
924
- function familyProxy(obj) {
925
- return new Proxy(obj, {
926
- get: function get2(target, prop) {
927
- return prop in target ? target[prop] : target[i];
928
- }
929
- });
930
- }
931
- var _PREFIX_TO_STYLE = _objectSpread2({}, Q);
932
- _PREFIX_TO_STYLE[i] = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, {
933
- "fa-duotone": "duotone"
934
- }), Q[i]), Qt["kit"]), Qt["kit-duotone"]);
935
- var PREFIX_TO_STYLE = familyProxy(_PREFIX_TO_STYLE);
936
- var _STYLE_TO_PREFIX = _objectSpread2({}, Mt);
937
- _STYLE_TO_PREFIX[i] = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, {
938
- duotone: "fad"
939
- }), _STYLE_TO_PREFIX[i]), ml["kit"]), ml["kit-duotone"]);
940
- var STYLE_TO_PREFIX = familyProxy(_STYLE_TO_PREFIX);
941
- var _PREFIX_TO_LONG_STYLE = _objectSpread2({}, Xl);
942
- _PREFIX_TO_LONG_STYLE[i] = _objectSpread2(_objectSpread2({}, _PREFIX_TO_LONG_STYLE[i]), nl["kit"]);
943
- var PREFIX_TO_LONG_STYLE = familyProxy(_PREFIX_TO_LONG_STYLE);
944
- var _LONG_STYLE_TO_PREFIX = _objectSpread2({}, Hl);
945
- _LONG_STYLE_TO_PREFIX[i] = _objectSpread2(_objectSpread2({}, _LONG_STYLE_TO_PREFIX[i]), sl["kit"]);
946
- familyProxy(_LONG_STYLE_TO_PREFIX);
947
- var ICON_SELECTION_SYNTAX_PATTERN = G;
948
- var LAYERS_TEXT_CLASSNAME = "fa-layers-text";
949
- var FONT_FAMILY_PATTERN = M;
950
- var _FONT_WEIGHT_TO_PREFIX = _objectSpread2({}, yt);
951
- familyProxy(_FONT_WEIGHT_TO_PREFIX);
952
- var ATTRIBUTES_WATCHED_FOR_MUTATION = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"];
953
- var DUOTONE_CLASSES = X;
954
- var RESERVED_CLASSES = [].concat(_toConsumableArray(Xt), _toConsumableArray(so));
955
- var initial = WINDOW.FontAwesomeConfig || {};
956
- function getAttrConfig(attr) {
957
- var element = DOCUMENT.querySelector("script[" + attr + "]");
958
- if (element) {
959
- return element.getAttribute(attr);
960
- }
961
- }
962
- function coerce(val) {
963
- if (val === "") return true;
964
- if (val === "false") return false;
965
- if (val === "true") return true;
966
- return val;
967
- }
968
- if (DOCUMENT && typeof DOCUMENT.querySelector === "function") {
969
- var attrs = [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-search-pseudo-elements-warnings", "searchPseudoElementsWarnings"], ["data-search-pseudo-elements-full-scan", "searchPseudoElementsFullScan"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]];
970
- attrs.forEach(function(_ref2) {
971
- var _ref22 = _slicedToArray(_ref2, 2), attr = _ref22[0], key = _ref22[1];
972
- var val = coerce(getAttrConfig(attr));
973
- if (val !== void 0 && val !== null) {
974
- initial[key] = val;
975
- }
976
- });
977
- }
978
- var _default = {
979
- styleDefault: "solid",
980
- familyDefault: i,
981
- cssPrefix: DEFAULT_CSS_PREFIX,
982
- replacementClass: DEFAULT_REPLACEMENT_CLASS,
983
- autoReplaceSvg: true,
984
- autoAddCss: true,
985
- searchPseudoElements: false,
986
- searchPseudoElementsWarnings: true,
987
- searchPseudoElementsFullScan: false,
988
- observeMutations: true,
989
- mutateApproach: "async",
990
- keepOriginalSource: true,
991
- measurePerformance: false,
992
- showMissingIcons: true
993
- };
994
- if (initial.familyPrefix) {
995
- initial.cssPrefix = initial.familyPrefix;
996
- }
997
- var _config = _objectSpread2(_objectSpread2({}, _default), initial);
998
- if (!_config.autoReplaceSvg) _config.observeMutations = false;
999
- var config = {};
1000
- Object.keys(_default).forEach(function(key) {
1001
- Object.defineProperty(config, key, {
1002
- enumerable: true,
1003
- set: function set2(val) {
1004
- _config[key] = val;
1005
- _onChangeCb.forEach(function(cb) {
1006
- return cb(config);
1007
- });
1008
- },
1009
- get: function get2() {
1010
- return _config[key];
1011
- }
1012
- });
1013
- });
1014
- Object.defineProperty(config, "familyPrefix", {
1015
- enumerable: true,
1016
- set: function set(val) {
1017
- _config.cssPrefix = val;
1018
- _onChangeCb.forEach(function(cb) {
1019
- return cb(config);
1020
- });
1021
- },
1022
- get: function get() {
1023
- return _config.cssPrefix;
1024
- }
1025
- });
1026
- WINDOW.FontAwesomeConfig = config;
1027
- var _onChangeCb = [];
1028
- function onChange(cb) {
1029
- _onChangeCb.push(cb);
1030
- return function() {
1031
- _onChangeCb.splice(_onChangeCb.indexOf(cb), 1);
1032
- };
1033
- }
1034
- var d$2 = UNITS_IN_GRID;
1035
- var meaninglessTransform = {
1036
- size: 16,
1037
- x: 0,
1038
- y: 0,
1039
- rotate: 0,
1040
- flipX: false,
1041
- flipY: false
1042
- };
1043
- function insertCss(css2) {
1044
- if (!css2 || !IS_DOM) {
1045
- return;
1046
- }
1047
- var style = DOCUMENT.createElement("style");
1048
- style.setAttribute("type", "text/css");
1049
- style.innerHTML = css2;
1050
- var headChildren = DOCUMENT.head.childNodes;
1051
- var beforeChild = null;
1052
- for (var i2 = headChildren.length - 1; i2 > -1; i2--) {
1053
- var child = headChildren[i2];
1054
- var tagName = (child.tagName || "").toUpperCase();
1055
- if (["STYLE", "LINK"].indexOf(tagName) > -1) {
1056
- beforeChild = child;
1057
- }
1058
- }
1059
- DOCUMENT.head.insertBefore(style, beforeChild);
1060
- return css2;
1061
- }
1062
- var idPool = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
1063
- function nextUniqueId() {
1064
- var size = 12;
1065
- var id = "";
1066
- while (size-- > 0) {
1067
- id += idPool[Math.random() * 62 | 0];
1068
- }
1069
- return id;
1070
- }
1071
- function toArray(obj) {
1072
- var array = [];
1073
- for (var i2 = (obj || []).length >>> 0; i2--; ) {
1074
- array[i2] = obj[i2];
1075
- }
1076
- return array;
1077
- }
1078
- function classArray(node) {
1079
- if (node.classList) {
1080
- return toArray(node.classList);
1081
- } else {
1082
- return (node.getAttribute("class") || "").split(" ").filter(function(i2) {
1083
- return i2;
1084
- });
1085
- }
1086
- }
1087
- function htmlEscape(str) {
1088
- return "".concat(str).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
1089
- }
1090
- function joinAttributes(attributes) {
1091
- return Object.keys(attributes || {}).reduce(function(acc, attributeName) {
1092
- return acc + "".concat(attributeName, '="').concat(htmlEscape(attributes[attributeName]), '" ');
1093
- }, "").trim();
1094
- }
1095
- function joinStyles(styles2) {
1096
- return Object.keys(styles2 || {}).reduce(function(acc, styleName) {
1097
- return acc + "".concat(styleName, ": ").concat(styles2[styleName].trim(), ";");
1098
- }, "");
1099
- }
1100
- function transformIsMeaningful(transform) {
1101
- return transform.size !== meaninglessTransform.size || transform.x !== meaninglessTransform.x || transform.y !== meaninglessTransform.y || transform.rotate !== meaninglessTransform.rotate || transform.flipX || transform.flipY;
1102
- }
1103
- function transformForSvg(_ref2) {
1104
- var transform = _ref2.transform, containerWidth = _ref2.containerWidth, iconWidth = _ref2.iconWidth;
1105
- var outer = {
1106
- transform: "translate(".concat(containerWidth / 2, " 256)")
1107
- };
1108
- var innerTranslate = "translate(".concat(transform.x * 32, ", ").concat(transform.y * 32, ") ");
1109
- var innerScale = "scale(".concat(transform.size / 16 * (transform.flipX ? -1 : 1), ", ").concat(transform.size / 16 * (transform.flipY ? -1 : 1), ") ");
1110
- var innerRotate = "rotate(".concat(transform.rotate, " 0 0)");
1111
- var inner = {
1112
- transform: "".concat(innerTranslate, " ").concat(innerScale, " ").concat(innerRotate)
1113
- };
1114
- var path = {
1115
- transform: "translate(".concat(iconWidth / 2 * -1, " -256)")
1116
- };
1117
- return {
1118
- outer,
1119
- inner,
1120
- path
1121
- };
1122
- }
1123
- function transformForCss(_ref2) {
1124
- var transform = _ref2.transform, _ref2$width = _ref2.width, width = _ref2$width === void 0 ? UNITS_IN_GRID : _ref2$width, _ref2$height = _ref2.height, height = _ref2$height === void 0 ? UNITS_IN_GRID : _ref2$height;
1125
- var val = "";
1126
- if (IS_IE) {
1127
- val += "translate(".concat(transform.x / d$2 - width / 2, "em, ").concat(transform.y / d$2 - height / 2, "em) ");
1128
- } else {
1129
- val += "translate(calc(-50% + ".concat(transform.x / d$2, "em), calc(-50% + ").concat(transform.y / d$2, "em)) ");
1130
- }
1131
- val += "scale(".concat(transform.size / d$2 * (transform.flipX ? -1 : 1), ", ").concat(transform.size / d$2 * (transform.flipY ? -1 : 1), ") ");
1132
- val += "rotate(".concat(transform.rotate, "deg) ");
1133
- return val;
1134
- }
1135
- var baseStyles = ":root, :host {\n --fa-font-solid: normal 900 1em/1 'Font Awesome 7 Free';\n --fa-font-regular: normal 400 1em/1 'Font Awesome 7 Free';\n --fa-font-light: normal 300 1em/1 'Font Awesome 7 Pro';\n --fa-font-thin: normal 100 1em/1 'Font Awesome 7 Pro';\n --fa-font-duotone: normal 900 1em/1 'Font Awesome 7 Duotone';\n --fa-font-duotone-regular: normal 400 1em/1 'Font Awesome 7 Duotone';\n --fa-font-duotone-light: normal 300 1em/1 'Font Awesome 7 Duotone';\n --fa-font-duotone-thin: normal 100 1em/1 'Font Awesome 7 Duotone';\n --fa-font-brands: normal 400 1em/1 'Font Awesome 7 Brands';\n --fa-font-sharp-solid: normal 900 1em/1 'Font Awesome 7 Sharp';\n --fa-font-sharp-regular: normal 400 1em/1 'Font Awesome 7 Sharp';\n --fa-font-sharp-light: normal 300 1em/1 'Font Awesome 7 Sharp';\n --fa-font-sharp-thin: normal 100 1em/1 'Font Awesome 7 Sharp';\n --fa-font-sharp-duotone-solid: normal 900 1em/1 'Font Awesome 7 Sharp Duotone';\n --fa-font-sharp-duotone-regular: normal 400 1em/1 'Font Awesome 7 Sharp Duotone';\n --fa-font-sharp-duotone-light: normal 300 1em/1 'Font Awesome 7 Sharp Duotone';\n --fa-font-sharp-duotone-thin: normal 100 1em/1 'Font Awesome 7 Sharp Duotone';\n --fa-font-slab-regular: normal 400 1em/1 'Font Awesome 7 Slab';\n --fa-font-slab-press-regular: normal 400 1em/1 'Font Awesome 7 Slab Press';\n --fa-font-whiteboard-semibold: normal 600 1em/1 'Font Awesome 7 Whiteboard';\n --fa-font-thumbprint-light: normal 300 1em/1 'Font Awesome 7 Thumbprint';\n --fa-font-notdog-solid: normal 900 1em/1 'Font Awesome 7 Notdog';\n --fa-font-notdog-duo-solid: normal 900 1em/1 'Font Awesome 7 Notdog Duo';\n --fa-font-etch-solid: normal 900 1em/1 'Font Awesome 7 Etch';\n --fa-font-graphite-thin: normal 100 1em/1 'Font Awesome 7 Graphite';\n --fa-font-jelly-regular: normal 400 1em/1 'Font Awesome 7 Jelly';\n --fa-font-jelly-fill-regular: normal 400 1em/1 'Font Awesome 7 Jelly Fill';\n --fa-font-jelly-duo-regular: normal 400 1em/1 'Font Awesome 7 Jelly Duo';\n --fa-font-chisel-regular: normal 400 1em/1 'Font Awesome 7 Chisel';\n --fa-font-utility-semibold: normal 600 1em/1 'Font Awesome 7 Utility';\n --fa-font-utility-duo-semibold: normal 600 1em/1 'Font Awesome 7 Utility Duo';\n --fa-font-utility-fill-semibold: normal 600 1em/1 'Font Awesome 7 Utility Fill';\n}\n\n.svg-inline--fa {\n box-sizing: content-box;\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285714em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left,\n.svg-inline--fa .fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-pull-right,\n.svg-inline--fa .fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.fa-layers .svg-inline--fa {\n inset: 0;\n margin: auto;\n position: absolute;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-xs {\n font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-sm {\n font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-lg {\n font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-xl {\n font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-2xl {\n font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */\n line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */\n vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */\n}\n\n.fa-width-auto {\n --fa-width: auto;\n}\n\n.fa-fw,\n.fa-width-fixed {\n --fa-width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-inline-start: var(--fa-li-margin, 2.5em);\n padding-inline-start: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n/* Heads Up: Bordered Icons will not be supported in the future!\n - This feature will be deprecated in the next major release of Font Awesome (v8)!\n - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.\n*/\n/* Notes:\n* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)\n* --@{v.$css-prefix}-border-padding =\n ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment)\n ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)\n*/\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.0625em);\n box-sizing: var(--fa-border-box-sizing, content-box);\n padding: var(--fa-border-padding, 0.1875em 0.25em);\n}\n\n.fa-pull-left,\n.fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right,\n.fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n .fa-bounce,\n .fa-fade,\n .fa-beat-fade,\n .fa-flip,\n .fa-pulse,\n .fa-shake,\n .fa-spin,\n .fa-spin-pulse {\n animation: none !important;\n transition: none !important;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.svg-inline--fa.fa-inverse {\n fill: var(--fa-inverse, #fff);\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n line-height: 2em;\n position: relative;\n vertical-align: middle;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.svg-inline--fa.fa-stack-1x {\n --fa-width: 1.25em;\n height: 1em;\n width: var(--fa-width);\n}\n.svg-inline--fa.fa-stack-2x {\n --fa-width: 2.5em;\n height: 2em;\n width: var(--fa-width);\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n inset: 0;\n margin: auto;\n position: absolute;\n z-index: var(--fa-stack-z-index, auto);\n}";
1136
- function css() {
1137
- var dcp = DEFAULT_CSS_PREFIX;
1138
- var drc = DEFAULT_REPLACEMENT_CLASS;
1139
- var fp = config.cssPrefix;
1140
- var rc = config.replacementClass;
1141
- var s2 = baseStyles;
1142
- if (fp !== dcp || rc !== drc) {
1143
- var dPatt = new RegExp("\\.".concat(dcp, "\\-"), "g");
1144
- var customPropPatt = new RegExp("\\--".concat(dcp, "\\-"), "g");
1145
- var rPatt = new RegExp("\\.".concat(drc), "g");
1146
- s2 = s2.replace(dPatt, ".".concat(fp, "-")).replace(customPropPatt, "--".concat(fp, "-")).replace(rPatt, ".".concat(rc));
1147
- }
1148
- return s2;
1149
- }
1150
- var _cssInserted = false;
1151
- function ensureCss() {
1152
- if (config.autoAddCss && !_cssInserted) {
1153
- insertCss(css());
1154
- _cssInserted = true;
1155
- }
1156
- }
1157
- var InjectCSS = {
1158
- mixout: function mixout() {
1159
- return {
1160
- dom: {
1161
- css,
1162
- insertCss: ensureCss
1163
- }
1164
- };
1165
- },
1166
- hooks: function hooks() {
1167
- return {
1168
- beforeDOMElementCreation: function beforeDOMElementCreation() {
1169
- ensureCss();
1170
- },
1171
- beforeI2svg: function beforeI2svg() {
1172
- ensureCss();
1173
- }
1174
- };
1175
- }
1176
- };
1177
- var w$2 = WINDOW || {};
1178
- if (!w$2[NAMESPACE_IDENTIFIER]) w$2[NAMESPACE_IDENTIFIER] = {};
1179
- if (!w$2[NAMESPACE_IDENTIFIER].styles) w$2[NAMESPACE_IDENTIFIER].styles = {};
1180
- if (!w$2[NAMESPACE_IDENTIFIER].hooks) w$2[NAMESPACE_IDENTIFIER].hooks = {};
1181
- if (!w$2[NAMESPACE_IDENTIFIER].shims) w$2[NAMESPACE_IDENTIFIER].shims = [];
1182
- var namespace = w$2[NAMESPACE_IDENTIFIER];
1183
- var functions = [];
1184
- var _listener = function listener() {
1185
- DOCUMENT.removeEventListener("DOMContentLoaded", _listener);
1186
- loaded = 1;
1187
- functions.map(function(fn) {
1188
- return fn();
1189
- });
1190
- };
1191
- var loaded = false;
1192
- if (IS_DOM) {
1193
- loaded = (DOCUMENT.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(DOCUMENT.readyState);
1194
- if (!loaded) DOCUMENT.addEventListener("DOMContentLoaded", _listener);
1195
- }
1196
- function domready(fn) {
1197
- if (!IS_DOM) return;
1198
- loaded ? setTimeout(fn, 0) : functions.push(fn);
1199
- }
1200
- function toHtml(abstractNodes) {
1201
- var tag = abstractNodes.tag, _abstractNodes$attrib = abstractNodes.attributes, attributes = _abstractNodes$attrib === void 0 ? {} : _abstractNodes$attrib, _abstractNodes$childr = abstractNodes.children, children = _abstractNodes$childr === void 0 ? [] : _abstractNodes$childr;
1202
- if (typeof abstractNodes === "string") {
1203
- return htmlEscape(abstractNodes);
1204
- } else {
1205
- return "<".concat(tag, " ").concat(joinAttributes(attributes), ">").concat(children.map(toHtml).join(""), "</").concat(tag, ">");
1206
- }
1207
- }
1208
- function iconFromMapping(mapping, prefix, iconName) {
1209
- if (mapping && mapping[prefix] && mapping[prefix][iconName]) {
1210
- return {
1211
- prefix,
1212
- iconName,
1213
- icon: mapping[prefix][iconName]
1214
- };
1215
- }
1216
- }
1217
- var reduce = function fastReduceObject(subject, fn, initialValue, thisContext) {
1218
- var keys = Object.keys(subject), length = keys.length, iterator = fn, i2, key, result;
1219
- if (initialValue === void 0) {
1220
- i2 = 1;
1221
- result = subject[keys[0]];
1222
- } else {
1223
- i2 = 0;
1224
- result = initialValue;
1225
- }
1226
- for (; i2 < length; i2++) {
1227
- key = keys[i2];
1228
- result = iterator(result, subject[key], key, subject);
1229
- }
1230
- return result;
1231
- };
1232
- function toHex(unicode) {
1233
- if (_toConsumableArray(unicode).length !== 1) return null;
1234
- return unicode.codePointAt(0).toString(16);
1235
- }
1236
- function normalizeIcons(icons) {
1237
- return Object.keys(icons).reduce(function(acc, iconName) {
1238
- var icon3 = icons[iconName];
1239
- var expanded = !!icon3.icon;
1240
- if (expanded) {
1241
- acc[icon3.iconName] = icon3.icon;
1242
- } else {
1243
- acc[iconName] = icon3;
1244
- }
1245
- return acc;
1246
- }, {});
1247
- }
1248
- function defineIcons(prefix, icons) {
1249
- var params = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
1250
- var _params$skipHooks = params.skipHooks, skipHooks = _params$skipHooks === void 0 ? false : _params$skipHooks;
1251
- var normalized = normalizeIcons(icons);
1252
- if (typeof namespace.hooks.addPack === "function" && !skipHooks) {
1253
- namespace.hooks.addPack(prefix, normalizeIcons(icons));
1254
- } else {
1255
- namespace.styles[prefix] = _objectSpread2(_objectSpread2({}, namespace.styles[prefix] || {}), normalized);
1256
- }
1257
- if (prefix === "fas") {
1258
- defineIcons("fa", icons);
1259
- }
1260
- }
1261
- var styles = namespace.styles, shims = namespace.shims;
1262
- var FAMILY_NAMES = Object.keys(PREFIX_TO_LONG_STYLE);
1263
- var PREFIXES_FOR_FAMILY = FAMILY_NAMES.reduce(function(acc, familyId) {
1264
- acc[familyId] = Object.keys(PREFIX_TO_LONG_STYLE[familyId]);
1265
- return acc;
1266
- }, {});
1267
- var _defaultUsablePrefix = null;
1268
- var _byUnicode = {};
1269
- var _byLigature = {};
1270
- var _byOldName = {};
1271
- var _byOldUnicode = {};
1272
- var _byAlias = {};
1273
- function isReserved(name) {
1274
- return ~RESERVED_CLASSES.indexOf(name);
1275
- }
1276
- function getIconName(cssPrefix, cls) {
1277
- var parts = cls.split("-");
1278
- var prefix = parts[0];
1279
- var iconName = parts.slice(1).join("-");
1280
- if (prefix === cssPrefix && iconName !== "" && !isReserved(iconName)) {
1281
- return iconName;
1282
- } else {
1283
- return null;
1284
- }
1285
- }
1286
- var build = function build2() {
1287
- var lookup = function lookup2(reducer) {
1288
- return reduce(styles, function(o$$1, style, prefix) {
1289
- o$$1[prefix] = reduce(style, reducer, {});
1290
- return o$$1;
1291
- }, {});
1292
- };
1293
- _byUnicode = lookup(function(acc, icon3, iconName) {
1294
- if (icon3[3]) {
1295
- acc[icon3[3]] = iconName;
1296
- }
1297
- if (icon3[2]) {
1298
- var aliases = icon3[2].filter(function(a$$1) {
1299
- return typeof a$$1 === "number";
1300
- });
1301
- aliases.forEach(function(alias) {
1302
- acc[alias.toString(16)] = iconName;
1303
- });
1304
- }
1305
- return acc;
1306
- });
1307
- _byLigature = lookup(function(acc, icon3, iconName) {
1308
- acc[iconName] = iconName;
1309
- if (icon3[2]) {
1310
- var aliases = icon3[2].filter(function(a$$1) {
1311
- return typeof a$$1 === "string";
1312
- });
1313
- aliases.forEach(function(alias) {
1314
- acc[alias] = iconName;
1315
- });
1316
- }
1317
- return acc;
1318
- });
1319
- _byAlias = lookup(function(acc, icon3, iconName) {
1320
- var aliases = icon3[2];
1321
- acc[iconName] = iconName;
1322
- aliases.forEach(function(alias) {
1323
- acc[alias] = iconName;
1324
- });
1325
- return acc;
1326
- });
1327
- var hasRegular = "far" in styles || config.autoFetchSvg;
1328
- var shimLookups = reduce(shims, function(acc, shim) {
1329
- var maybeNameMaybeUnicode = shim[0];
1330
- var prefix = shim[1];
1331
- var iconName = shim[2];
1332
- if (prefix === "far" && !hasRegular) {
1333
- prefix = "fas";
1334
- }
1335
- if (typeof maybeNameMaybeUnicode === "string") {
1336
- acc.names[maybeNameMaybeUnicode] = {
1337
- prefix,
1338
- iconName
1339
- };
1340
- }
1341
- if (typeof maybeNameMaybeUnicode === "number") {
1342
- acc.unicodes[maybeNameMaybeUnicode.toString(16)] = {
1343
- prefix,
1344
- iconName
1345
- };
1346
- }
1347
- return acc;
1348
- }, {
1349
- names: {},
1350
- unicodes: {}
1351
- });
1352
- _byOldName = shimLookups.names;
1353
- _byOldUnicode = shimLookups.unicodes;
1354
- _defaultUsablePrefix = getCanonicalPrefix(config.styleDefault, {
1355
- family: config.familyDefault
1356
- });
1357
- };
1358
- onChange(function(c$$1) {
1359
- _defaultUsablePrefix = getCanonicalPrefix(c$$1.styleDefault, {
1360
- family: config.familyDefault
1361
- });
1362
- });
1363
- build();
1364
- function byUnicode(prefix, unicode) {
1365
- return (_byUnicode[prefix] || {})[unicode];
1366
- }
1367
- function byLigature(prefix, ligature) {
1368
- return (_byLigature[prefix] || {})[ligature];
1369
- }
1370
- function byAlias(prefix, alias) {
1371
- return (_byAlias[prefix] || {})[alias];
1372
- }
1373
- function byOldName(name) {
1374
- return _byOldName[name] || {
1375
- prefix: null,
1376
- iconName: null
1377
- };
1378
- }
1379
- function byOldUnicode(unicode) {
1380
- var oldUnicode = _byOldUnicode[unicode];
1381
- var newUnicode = byUnicode("fas", unicode);
1382
- return oldUnicode || (newUnicode ? {
1383
- prefix: "fas",
1384
- iconName: newUnicode
1385
- } : null) || {
1386
- prefix: null,
1387
- iconName: null
1388
- };
1389
- }
1390
- function getDefaultUsablePrefix() {
1391
- return _defaultUsablePrefix;
1392
- }
1393
- var emptyCanonicalIcon = function emptyCanonicalIcon2() {
1394
- return {
1395
- prefix: null,
1396
- iconName: null,
1397
- rest: []
1398
- };
1399
- };
1400
- function getFamilyId(values) {
1401
- var family = i;
1402
- var famProps = FAMILY_NAMES.reduce(function(acc, familyId) {
1403
- acc[familyId] = "".concat(config.cssPrefix, "-").concat(familyId);
1404
- return acc;
1405
- }, {});
1406
- dt.forEach(function(familyId) {
1407
- if (values.includes(famProps[familyId]) || values.some(function(v$$1) {
1408
- return PREFIXES_FOR_FAMILY[familyId].includes(v$$1);
1409
- })) {
1410
- family = familyId;
1411
- }
1412
- });
1413
- return family;
1414
- }
1415
- function getCanonicalPrefix(styleOrPrefix) {
1416
- var params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1417
- var _params$family = params.family, family = _params$family === void 0 ? i : _params$family;
1418
- var style = PREFIX_TO_STYLE[family][styleOrPrefix];
1419
- if (family === t && !styleOrPrefix) {
1420
- return "fad";
1421
- }
1422
- var prefix = STYLE_TO_PREFIX[family][styleOrPrefix] || STYLE_TO_PREFIX[family][style];
1423
- var defined = styleOrPrefix in namespace.styles ? styleOrPrefix : null;
1424
- var result = prefix || defined || null;
1425
- return result;
1426
- }
1427
- function moveNonFaClassesToRest(classNames) {
1428
- var rest = [];
1429
- var iconName = null;
1430
- classNames.forEach(function(cls) {
1431
- var result = getIconName(config.cssPrefix, cls);
1432
- if (result) {
1433
- iconName = result;
1434
- } else if (cls) {
1435
- rest.push(cls);
1436
- }
1437
- });
1438
- return {
1439
- iconName,
1440
- rest
1441
- };
1442
- }
1443
- function sortedUniqueValues(arr) {
1444
- return arr.sort().filter(function(value, index, arr2) {
1445
- return arr2.indexOf(value) === index;
1446
- });
1447
- }
1448
- var _faCombinedClasses = lo.concat(Ht);
1449
- function getCanonicalIcon(values) {
1450
- var params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1451
- var _params$skipLookups = params.skipLookups, skipLookups = _params$skipLookups === void 0 ? false : _params$skipLookups;
1452
- var givenPrefix = null;
1453
- var faStyleOrFamilyClasses = sortedUniqueValues(values.filter(function(cls) {
1454
- return _faCombinedClasses.includes(cls);
1455
- }));
1456
- var nonStyleOrFamilyClasses = sortedUniqueValues(values.filter(function(cls) {
1457
- return !_faCombinedClasses.includes(cls);
1458
- }));
1459
- var faStyles = faStyleOrFamilyClasses.filter(function(cls) {
1460
- givenPrefix = cls;
1461
- return !Z.includes(cls);
1462
- });
1463
- var _faStyles = _slicedToArray(faStyles, 1), _faStyles$ = _faStyles[0], styleFromValues = _faStyles$ === void 0 ? null : _faStyles$;
1464
- var family = getFamilyId(faStyleOrFamilyClasses);
1465
- var canonical = _objectSpread2(_objectSpread2({}, moveNonFaClassesToRest(nonStyleOrFamilyClasses)), {}, {
1466
- prefix: getCanonicalPrefix(styleFromValues, {
1467
- family
1468
- })
1469
- });
1470
- return _objectSpread2(_objectSpread2(_objectSpread2({}, canonical), getDefaultCanonicalPrefix({
1471
- values,
1472
- family,
1473
- styles,
1474
- config,
1475
- canonical,
1476
- givenPrefix
1477
- })), applyShimAndAlias(skipLookups, givenPrefix, canonical));
1478
- }
1479
- function applyShimAndAlias(skipLookups, givenPrefix, canonical) {
1480
- var prefix = canonical.prefix, iconName = canonical.iconName;
1481
- if (skipLookups || !prefix || !iconName) {
1482
- return {
1483
- prefix,
1484
- iconName
1485
- };
1486
- }
1487
- var shim = givenPrefix === "fa" ? byOldName(iconName) : {};
1488
- var aliasIconName = byAlias(prefix, iconName);
1489
- iconName = shim.iconName || aliasIconName || iconName;
1490
- prefix = shim.prefix || prefix;
1491
- if (prefix === "far" && !styles["far"] && styles["fas"] && !config.autoFetchSvg) {
1492
- prefix = "fas";
1493
- }
1494
- return {
1495
- prefix,
1496
- iconName
1497
- };
1498
- }
1499
- var newCanonicalFamilies = dt.filter(function(familyId) {
1500
- return familyId !== i || familyId !== t;
1501
- });
1502
- var newCanonicalStyles = Object.keys(Xl).filter(function(key) {
1503
- return key !== i;
1504
- }).map(function(key) {
1505
- return Object.keys(Xl[key]);
1506
- }).flat();
1507
- function getDefaultCanonicalPrefix(prefixOptions) {
1508
- var values = prefixOptions.values, family = prefixOptions.family, canonical = prefixOptions.canonical, _prefixOptions$givenP = prefixOptions.givenPrefix, givenPrefix = _prefixOptions$givenP === void 0 ? "" : _prefixOptions$givenP, _prefixOptions$styles = prefixOptions.styles, styles2 = _prefixOptions$styles === void 0 ? {} : _prefixOptions$styles, _prefixOptions$config = prefixOptions.config, config$$1 = _prefixOptions$config === void 0 ? {} : _prefixOptions$config;
1509
- var isDuotoneFamily = family === t;
1510
- var valuesHasDuotone = values.includes("fa-duotone") || values.includes("fad");
1511
- var defaultFamilyIsDuotone = config$$1.familyDefault === "duotone";
1512
- var canonicalPrefixIsDuotone = canonical.prefix === "fad" || canonical.prefix === "fa-duotone";
1513
- if (!isDuotoneFamily && (valuesHasDuotone || defaultFamilyIsDuotone || canonicalPrefixIsDuotone)) {
1514
- canonical.prefix = "fad";
1515
- }
1516
- if (values.includes("fa-brands") || values.includes("fab")) {
1517
- canonical.prefix = "fab";
1518
- }
1519
- if (!canonical.prefix && newCanonicalFamilies.includes(family)) {
1520
- var validPrefix = Object.keys(styles2).find(function(key) {
1521
- return newCanonicalStyles.includes(key);
1522
- });
1523
- if (validPrefix || config$$1.autoFetchSvg) {
1524
- var defaultPrefix = Et.get(family).defaultShortPrefixId;
1525
- canonical.prefix = defaultPrefix;
1526
- canonical.iconName = byAlias(canonical.prefix, canonical.iconName) || canonical.iconName;
1527
- }
1528
- }
1529
- if (canonical.prefix === "fa" || givenPrefix === "fa") {
1530
- canonical.prefix = getDefaultUsablePrefix() || "fas";
1531
- }
1532
- return canonical;
1533
- }
1534
- var Library = /* @__PURE__ */ function() {
1535
- function Library2() {
1536
- _classCallCheck(this, Library2);
1537
- this.definitions = {};
1538
- }
1539
- return _createClass(Library2, [{
1540
- key: "add",
1541
- value: function add() {
1542
- var _this = this;
1543
- for (var _len = arguments.length, definitions = new Array(_len), _key = 0; _key < _len; _key++) {
1544
- definitions[_key] = arguments[_key];
1545
- }
1546
- var additions = definitions.reduce(this._pullDefinitions, {});
1547
- Object.keys(additions).forEach(function(key) {
1548
- _this.definitions[key] = _objectSpread2(_objectSpread2({}, _this.definitions[key] || {}), additions[key]);
1549
- defineIcons(key, additions[key]);
1550
- var longPrefix = PREFIX_TO_LONG_STYLE[i][key];
1551
- if (longPrefix) defineIcons(longPrefix, additions[key]);
1552
- build();
1553
- });
1554
- }
1555
- }, {
1556
- key: "reset",
1557
- value: function reset() {
1558
- this.definitions = {};
1559
- }
1560
- }, {
1561
- key: "_pullDefinitions",
1562
- value: function _pullDefinitions(additions, definition) {
1563
- var normalized = definition.prefix && definition.iconName && definition.icon ? {
1564
- 0: definition
1565
- } : definition;
1566
- Object.keys(normalized).map(function(key) {
1567
- var _normalized$key = normalized[key], prefix = _normalized$key.prefix, iconName = _normalized$key.iconName, icon3 = _normalized$key.icon;
1568
- var aliases = icon3[2];
1569
- if (!additions[prefix]) additions[prefix] = {};
1570
- if (aliases.length > 0) {
1571
- aliases.forEach(function(alias) {
1572
- if (typeof alias === "string") {
1573
- additions[prefix][alias] = icon3;
1574
- }
1575
- });
1576
- }
1577
- additions[prefix][iconName] = icon3;
1578
- });
1579
- return additions;
1580
- }
1581
- }]);
1582
- }();
1583
- var _plugins = [];
1584
- var _hooks = {};
1585
- var providers = {};
1586
- var defaultProviderKeys = Object.keys(providers);
1587
- function registerPlugins(nextPlugins, _ref2) {
1588
- var obj = _ref2.mixoutsTo;
1589
- _plugins = nextPlugins;
1590
- _hooks = {};
1591
- Object.keys(providers).forEach(function(k2) {
1592
- if (defaultProviderKeys.indexOf(k2) === -1) {
1593
- delete providers[k2];
1594
- }
1595
- });
1596
- _plugins.forEach(function(plugin) {
1597
- var mixout8 = plugin.mixout ? plugin.mixout() : {};
1598
- Object.keys(mixout8).forEach(function(tk) {
1599
- if (typeof mixout8[tk] === "function") {
1600
- obj[tk] = mixout8[tk];
1601
- }
1602
- if (_typeof(mixout8[tk]) === "object") {
1603
- Object.keys(mixout8[tk]).forEach(function(sk) {
1604
- if (!obj[tk]) {
1605
- obj[tk] = {};
1606
- }
1607
- obj[tk][sk] = mixout8[tk][sk];
1608
- });
1609
- }
1610
- });
1611
- if (plugin.hooks) {
1612
- var hooks8 = plugin.hooks();
1613
- Object.keys(hooks8).forEach(function(hook) {
1614
- if (!_hooks[hook]) {
1615
- _hooks[hook] = [];
1616
- }
1617
- _hooks[hook].push(hooks8[hook]);
1618
- });
1619
- }
1620
- if (plugin.provides) {
1621
- plugin.provides(providers);
1622
- }
1623
- });
1624
- return obj;
1625
- }
1626
- function chainHooks(hook, accumulator) {
1627
- for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
1628
- args[_key - 2] = arguments[_key];
1629
- }
1630
- var hookFns = _hooks[hook] || [];
1631
- hookFns.forEach(function(hookFn) {
1632
- accumulator = hookFn.apply(null, [accumulator].concat(args));
1633
- });
1634
- return accumulator;
1635
- }
1636
- function callHooks(hook) {
1637
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
1638
- args[_key2 - 1] = arguments[_key2];
1639
- }
1640
- var hookFns = _hooks[hook] || [];
1641
- hookFns.forEach(function(hookFn) {
1642
- hookFn.apply(null, args);
1643
- });
1644
- return void 0;
1645
- }
1646
- function callProvided() {
1647
- var hook = arguments[0];
1648
- var args = Array.prototype.slice.call(arguments, 1);
1649
- return providers[hook] ? providers[hook].apply(null, args) : void 0;
1650
- }
1651
- function findIconDefinition(iconLookup) {
1652
- if (iconLookup.prefix === "fa") {
1653
- iconLookup.prefix = "fas";
1654
- }
1655
- var iconName = iconLookup.iconName;
1656
- var prefix = iconLookup.prefix || getDefaultUsablePrefix();
1657
- if (!iconName) return;
1658
- iconName = byAlias(prefix, iconName) || iconName;
1659
- return iconFromMapping(library.definitions, prefix, iconName) || iconFromMapping(namespace.styles, prefix, iconName);
1660
- }
1661
- var library = new Library();
1662
- var noAuto = function noAuto2() {
1663
- config.autoReplaceSvg = false;
1664
- config.observeMutations = false;
1665
- callHooks("noAuto");
1666
- };
1667
- var dom = {
1668
- i2svg: function i2svg() {
1669
- var params = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1670
- if (IS_DOM) {
1671
- callHooks("beforeI2svg", params);
1672
- callProvided("pseudoElements2svg", params);
1673
- return callProvided("i2svg", params);
1674
- } else {
1675
- return Promise.reject(new Error("Operation requires a DOM of some kind."));
1676
- }
1677
- },
1678
- watch: function watch() {
1679
- var params = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1680
- var autoReplaceSvgRoot = params.autoReplaceSvgRoot;
1681
- if (config.autoReplaceSvg === false) {
1682
- config.autoReplaceSvg = true;
1683
- }
1684
- config.observeMutations = true;
1685
- domready(function() {
1686
- autoReplace({
1687
- autoReplaceSvgRoot
1688
- });
1689
- callHooks("watch", params);
1690
- });
1691
- }
1692
- };
1693
- var parse = {
1694
- icon: function icon(_icon) {
1695
- if (_icon === null) {
1696
- return null;
1697
- }
1698
- if (_typeof(_icon) === "object" && _icon.prefix && _icon.iconName) {
1699
- return {
1700
- prefix: _icon.prefix,
1701
- iconName: byAlias(_icon.prefix, _icon.iconName) || _icon.iconName
1702
- };
1703
- }
1704
- if (Array.isArray(_icon) && _icon.length === 2) {
1705
- var iconName = _icon[1].indexOf("fa-") === 0 ? _icon[1].slice(3) : _icon[1];
1706
- var prefix = getCanonicalPrefix(_icon[0]);
1707
- return {
1708
- prefix,
1709
- iconName: byAlias(prefix, iconName) || iconName
1710
- };
1711
- }
1712
- if (typeof _icon === "string" && (_icon.indexOf("".concat(config.cssPrefix, "-")) > -1 || _icon.match(ICON_SELECTION_SYNTAX_PATTERN))) {
1713
- var canonicalIcon = getCanonicalIcon(_icon.split(" "), {
1714
- skipLookups: true
1715
- });
1716
- return {
1717
- prefix: canonicalIcon.prefix || getDefaultUsablePrefix(),
1718
- iconName: byAlias(canonicalIcon.prefix, canonicalIcon.iconName) || canonicalIcon.iconName
1719
- };
1720
- }
1721
- if (typeof _icon === "string") {
1722
- var _prefix = getDefaultUsablePrefix();
1723
- return {
1724
- prefix: _prefix,
1725
- iconName: byAlias(_prefix, _icon) || _icon
1726
- };
1727
- }
1728
- }
1729
- };
1730
- var api = {
1731
- noAuto,
1732
- config,
1733
- dom,
1734
- parse,
1735
- library,
1736
- findIconDefinition,
1737
- toHtml
1738
- };
1739
- var autoReplace = function autoReplace2() {
1740
- var params = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1741
- var _params$autoReplaceSv = params.autoReplaceSvgRoot, autoReplaceSvgRoot = _params$autoReplaceSv === void 0 ? DOCUMENT : _params$autoReplaceSv;
1742
- if ((Object.keys(namespace.styles).length > 0 || config.autoFetchSvg) && IS_DOM && config.autoReplaceSvg) api.dom.i2svg({
1743
- node: autoReplaceSvgRoot
1744
- });
1745
- };
1746
- function domVariants(val, abstractCreator) {
1747
- Object.defineProperty(val, "abstract", {
1748
- get: abstractCreator
1749
- });
1750
- Object.defineProperty(val, "html", {
1751
- get: function get2() {
1752
- return val.abstract.map(function(a2) {
1753
- return toHtml(a2);
1754
- });
1755
- }
1756
- });
1757
- Object.defineProperty(val, "node", {
1758
- get: function get2() {
1759
- if (!IS_DOM) return void 0;
1760
- var container = DOCUMENT.createElement("div");
1761
- container.innerHTML = val.html;
1762
- return container.children;
1763
- }
1764
- });
1765
- return val;
1766
- }
1767
- function asIcon(_ref2) {
1768
- var children = _ref2.children, main = _ref2.main, mask = _ref2.mask, attributes = _ref2.attributes, styles2 = _ref2.styles, transform = _ref2.transform;
1769
- if (transformIsMeaningful(transform) && main.found && !mask.found) {
1770
- var width = main.width, height = main.height;
1771
- var offset = {
1772
- x: width / height / 2,
1773
- y: 0.5
1774
- };
1775
- attributes["style"] = joinStyles(_objectSpread2(_objectSpread2({}, styles2), {}, {
1776
- "transform-origin": "".concat(offset.x + transform.x / 16, "em ").concat(offset.y + transform.y / 16, "em")
1777
- }));
1778
- }
1779
- return [{
1780
- tag: "svg",
1781
- attributes,
1782
- children
1783
- }];
1784
- }
1785
- function asSymbol(_ref2) {
1786
- var prefix = _ref2.prefix, iconName = _ref2.iconName, children = _ref2.children, attributes = _ref2.attributes, symbol = _ref2.symbol;
1787
- var id = symbol === true ? "".concat(prefix, "-").concat(config.cssPrefix, "-").concat(iconName) : symbol;
1788
- return [{
1789
- tag: "svg",
1790
- attributes: {
1791
- style: "display: none;"
1792
- },
1793
- children: [{
1794
- tag: "symbol",
1795
- attributes: _objectSpread2(_objectSpread2({}, attributes), {}, {
1796
- id
1797
- }),
1798
- children
1799
- }]
1800
- }];
1801
- }
1802
- function isLabeled(attributes) {
1803
- var labels = ["aria-label", "aria-labelledby", "title", "role"];
1804
- return labels.some(function(label) {
1805
- return label in attributes;
1806
- });
1807
- }
1808
- function makeInlineSvgAbstract(params) {
1809
- var _params$icons = params.icons, main = _params$icons.main, mask = _params$icons.mask, prefix = params.prefix, iconName = params.iconName, transform = params.transform, symbol = params.symbol, maskId = params.maskId, extra = params.extra, _params$watchable = params.watchable, watchable = _params$watchable === void 0 ? false : _params$watchable;
1810
- var _ref2 = mask.found ? mask : main, width = _ref2.width, height = _ref2.height;
1811
- var attrClass = [config.replacementClass, iconName ? "".concat(config.cssPrefix, "-").concat(iconName) : ""].filter(function(c2) {
1812
- return extra.classes.indexOf(c2) === -1;
1813
- }).filter(function(c2) {
1814
- return c2 !== "" || !!c2;
1815
- }).concat(extra.classes).join(" ");
1816
- var content = {
1817
- children: [],
1818
- attributes: _objectSpread2(_objectSpread2({}, extra.attributes), {}, {
1819
- "data-prefix": prefix,
1820
- "data-icon": iconName,
1821
- "class": attrClass,
1822
- "role": extra.attributes.role || "img",
1823
- "viewBox": "0 0 ".concat(width, " ").concat(height)
1824
- })
1825
- };
1826
- if (!isLabeled(extra.attributes) && !extra.attributes["aria-hidden"]) {
1827
- content.attributes["aria-hidden"] = "true";
1828
- }
1829
- if (watchable) {
1830
- content.attributes[DATA_FA_I2SVG] = "";
1831
- }
1832
- var args = _objectSpread2(_objectSpread2({}, content), {}, {
1833
- prefix,
1834
- iconName,
1835
- main,
1836
- mask,
1837
- maskId,
1838
- transform,
1839
- symbol,
1840
- styles: _objectSpread2({}, extra.styles)
1841
- });
1842
- var _ref22 = mask.found && main.found ? callProvided("generateAbstractMask", args) || {
1843
- children: [],
1844
- attributes: {}
1845
- } : callProvided("generateAbstractIcon", args) || {
1846
- children: [],
1847
- attributes: {}
1848
- }, children = _ref22.children, attributes = _ref22.attributes;
1849
- args.children = children;
1850
- args.attributes = attributes;
1851
- if (symbol) {
1852
- return asSymbol(args);
1853
- } else {
1854
- return asIcon(args);
1855
- }
1856
- }
1857
- function makeLayersTextAbstract(params) {
1858
- var content = params.content, width = params.width, height = params.height, transform = params.transform, extra = params.extra, _params$watchable2 = params.watchable, watchable = _params$watchable2 === void 0 ? false : _params$watchable2;
1859
- var attributes = _objectSpread2(_objectSpread2({}, extra.attributes), {}, {
1860
- class: extra.classes.join(" ")
1861
- });
1862
- if (watchable) {
1863
- attributes[DATA_FA_I2SVG] = "";
1864
- }
1865
- var styles2 = _objectSpread2({}, extra.styles);
1866
- if (transformIsMeaningful(transform)) {
1867
- styles2["transform"] = transformForCss({
1868
- transform,
1869
- width,
1870
- height
1871
- });
1872
- styles2["-webkit-transform"] = styles2["transform"];
1873
- }
1874
- var styleString = joinStyles(styles2);
1875
- if (styleString.length > 0) {
1876
- attributes["style"] = styleString;
1877
- }
1878
- var val = [];
1879
- val.push({
1880
- tag: "span",
1881
- attributes,
1882
- children: [content]
1883
- });
1884
- return val;
1885
- }
1886
- function makeLayersCounterAbstract(params) {
1887
- var content = params.content, extra = params.extra;
1888
- var attributes = _objectSpread2(_objectSpread2({}, extra.attributes), {}, {
1889
- class: extra.classes.join(" ")
1890
- });
1891
- var styleString = joinStyles(extra.styles);
1892
- if (styleString.length > 0) {
1893
- attributes["style"] = styleString;
1894
- }
1895
- var val = [];
1896
- val.push({
1897
- tag: "span",
1898
- attributes,
1899
- children: [content]
1900
- });
1901
- return val;
1902
- }
1903
- var styles$1 = namespace.styles;
1904
- function asFoundIcon(icon3) {
1905
- var width = icon3[0];
1906
- var height = icon3[1];
1907
- var _icon$slice = icon3.slice(4), _icon$slice2 = _slicedToArray(_icon$slice, 1), vectorData = _icon$slice2[0];
1908
- var element = null;
1909
- if (Array.isArray(vectorData)) {
1910
- element = {
1911
- tag: "g",
1912
- attributes: {
1913
- class: "".concat(config.cssPrefix, "-").concat(DUOTONE_CLASSES.GROUP)
1914
- },
1915
- children: [{
1916
- tag: "path",
1917
- attributes: {
1918
- class: "".concat(config.cssPrefix, "-").concat(DUOTONE_CLASSES.SECONDARY),
1919
- fill: "currentColor",
1920
- d: vectorData[0]
1921
- }
1922
- }, {
1923
- tag: "path",
1924
- attributes: {
1925
- class: "".concat(config.cssPrefix, "-").concat(DUOTONE_CLASSES.PRIMARY),
1926
- fill: "currentColor",
1927
- d: vectorData[1]
1928
- }
1929
- }]
1930
- };
1931
- } else {
1932
- element = {
1933
- tag: "path",
1934
- attributes: {
1935
- fill: "currentColor",
1936
- d: vectorData
1937
- }
1938
- };
1939
- }
1940
- return {
1941
- found: true,
1942
- width,
1943
- height,
1944
- icon: element
1945
- };
1946
- }
1947
- var missingIconResolutionMixin = {
1948
- found: false,
1949
- width: 512,
1950
- height: 512
1951
- };
1952
- function maybeNotifyMissing(iconName, prefix) {
1953
- if (!PRODUCTION && !config.showMissingIcons && iconName) {
1954
- console.error('Icon with name "'.concat(iconName, '" and prefix "').concat(prefix, '" is missing.'));
1955
- }
1956
- }
1957
- function findIcon(iconName, prefix) {
1958
- var givenPrefix = prefix;
1959
- if (prefix === "fa" && config.styleDefault !== null) {
1960
- prefix = getDefaultUsablePrefix();
1961
- }
1962
- return new Promise(function(resolve, reject) {
1963
- if (givenPrefix === "fa") {
1964
- var shim = byOldName(iconName) || {};
1965
- iconName = shim.iconName || iconName;
1966
- prefix = shim.prefix || prefix;
1967
- }
1968
- if (iconName && prefix && styles$1[prefix] && styles$1[prefix][iconName]) {
1969
- var icon3 = styles$1[prefix][iconName];
1970
- return resolve(asFoundIcon(icon3));
1971
- }
1972
- maybeNotifyMissing(iconName, prefix);
1973
- resolve(_objectSpread2(_objectSpread2({}, missingIconResolutionMixin), {}, {
1974
- icon: config.showMissingIcons && iconName ? callProvided("missingIconAbstract") || {} : {}
1975
- }));
1976
- });
1977
- }
1978
- var noop$1 = function noop3() {
1979
- };
1980
- var p$2 = config.measurePerformance && PERFORMANCE && PERFORMANCE.mark && PERFORMANCE.measure ? PERFORMANCE : {
1981
- mark: noop$1,
1982
- measure: noop$1
1983
- };
1984
- var preamble = 'FA "7.2.0"';
1985
- var begin = function begin2(name) {
1986
- p$2.mark("".concat(preamble, " ").concat(name, " begins"));
1987
- return function() {
1988
- return end(name);
1989
- };
1990
- };
1991
- var end = function end2(name) {
1992
- p$2.mark("".concat(preamble, " ").concat(name, " ends"));
1993
- p$2.measure("".concat(preamble, " ").concat(name), "".concat(preamble, " ").concat(name, " begins"), "".concat(preamble, " ").concat(name, " ends"));
1994
- };
1995
- var perf = {
1996
- begin,
1997
- end
1998
- };
1999
- var noop$2 = function noop4() {
2000
- };
2001
- function isWatched(node) {
2002
- var i2svg2 = node.getAttribute ? node.getAttribute(DATA_FA_I2SVG) : null;
2003
- return typeof i2svg2 === "string";
2004
- }
2005
- function hasPrefixAndIcon(node) {
2006
- var prefix = node.getAttribute ? node.getAttribute(DATA_PREFIX) : null;
2007
- var icon3 = node.getAttribute ? node.getAttribute(DATA_ICON) : null;
2008
- return prefix && icon3;
2009
- }
2010
- function hasBeenReplaced(node) {
2011
- return node && node.classList && node.classList.contains && node.classList.contains(config.replacementClass);
2012
- }
2013
- function getMutator() {
2014
- if (config.autoReplaceSvg === true) {
2015
- return mutators.replace;
2016
- }
2017
- var mutator = mutators[config.autoReplaceSvg];
2018
- return mutator || mutators.replace;
2019
- }
2020
- function createElementNS(tag) {
2021
- return DOCUMENT.createElementNS("http://www.w3.org/2000/svg", tag);
2022
- }
2023
- function createElement(tag) {
2024
- return DOCUMENT.createElement(tag);
2025
- }
2026
- function convertSVG(abstractObj) {
2027
- var params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2028
- var _params$ceFn = params.ceFn, ceFn = _params$ceFn === void 0 ? abstractObj.tag === "svg" ? createElementNS : createElement : _params$ceFn;
2029
- if (typeof abstractObj === "string") {
2030
- return DOCUMENT.createTextNode(abstractObj);
2031
- }
2032
- var tag = ceFn(abstractObj.tag);
2033
- Object.keys(abstractObj.attributes || []).forEach(function(key) {
2034
- tag.setAttribute(key, abstractObj.attributes[key]);
2035
- });
2036
- var children = abstractObj.children || [];
2037
- children.forEach(function(child) {
2038
- tag.appendChild(convertSVG(child, {
2039
- ceFn
2040
- }));
2041
- });
2042
- return tag;
2043
- }
2044
- function nodeAsComment(node) {
2045
- var comment = " ".concat(node.outerHTML, " ");
2046
- comment = "".concat(comment, "Font Awesome fontawesome.com ");
2047
- return comment;
2048
- }
2049
- var mutators = {
2050
- replace: function replace(mutation) {
2051
- var node = mutation[0];
2052
- if (node.parentNode) {
2053
- mutation[1].forEach(function(abstract) {
2054
- node.parentNode.insertBefore(convertSVG(abstract), node);
2055
- });
2056
- if (node.getAttribute(DATA_FA_I2SVG) === null && config.keepOriginalSource) {
2057
- var comment = DOCUMENT.createComment(nodeAsComment(node));
2058
- node.parentNode.replaceChild(comment, node);
2059
- } else {
2060
- node.remove();
2061
- }
2062
- }
2063
- },
2064
- nest: function nest(mutation) {
2065
- var node = mutation[0];
2066
- var abstract = mutation[1];
2067
- if (~classArray(node).indexOf(config.replacementClass)) {
2068
- return mutators.replace(mutation);
2069
- }
2070
- var forSvg = new RegExp("".concat(config.cssPrefix, "-.*"));
2071
- delete abstract[0].attributes.id;
2072
- if (abstract[0].attributes.class) {
2073
- var splitClasses = abstract[0].attributes.class.split(" ").reduce(function(acc, cls) {
2074
- if (cls === config.replacementClass || cls.match(forSvg)) {
2075
- acc.toSvg.push(cls);
2076
- } else {
2077
- acc.toNode.push(cls);
2078
- }
2079
- return acc;
2080
- }, {
2081
- toNode: [],
2082
- toSvg: []
2083
- });
2084
- abstract[0].attributes.class = splitClasses.toSvg.join(" ");
2085
- if (splitClasses.toNode.length === 0) {
2086
- node.removeAttribute("class");
2087
- } else {
2088
- node.setAttribute("class", splitClasses.toNode.join(" "));
2089
- }
2090
- }
2091
- var newInnerHTML = abstract.map(function(a2) {
2092
- return toHtml(a2);
2093
- }).join("\n");
2094
- node.setAttribute(DATA_FA_I2SVG, "");
2095
- node.innerHTML = newInnerHTML;
2096
- }
2097
- };
2098
- function performOperationSync(op) {
2099
- op();
2100
- }
2101
- function perform(mutations, callback) {
2102
- var callbackFunction = typeof callback === "function" ? callback : noop$2;
2103
- if (mutations.length === 0) {
2104
- callbackFunction();
2105
- } else {
2106
- var frame = performOperationSync;
2107
- if (config.mutateApproach === MUTATION_APPROACH_ASYNC) {
2108
- frame = WINDOW.requestAnimationFrame || performOperationSync;
2109
- }
2110
- frame(function() {
2111
- var mutator = getMutator();
2112
- var mark = perf.begin("mutate");
2113
- mutations.map(mutator);
2114
- mark();
2115
- callbackFunction();
2116
- });
2117
- }
2118
- }
2119
- var disabled = false;
2120
- function disableObservation() {
2121
- disabled = true;
2122
- }
2123
- function enableObservation() {
2124
- disabled = false;
2125
- }
2126
- var mo = null;
2127
- function observe(options) {
2128
- if (!MUTATION_OBSERVER) {
2129
- return;
2130
- }
2131
- if (!config.observeMutations) {
2132
- return;
2133
- }
2134
- var _options$treeCallback = options.treeCallback, treeCallback = _options$treeCallback === void 0 ? noop$2 : _options$treeCallback, _options$nodeCallback = options.nodeCallback, nodeCallback = _options$nodeCallback === void 0 ? noop$2 : _options$nodeCallback, _options$pseudoElemen = options.pseudoElementsCallback, pseudoElementsCallback = _options$pseudoElemen === void 0 ? noop$2 : _options$pseudoElemen, _options$observeMutat = options.observeMutationsRoot, observeMutationsRoot = _options$observeMutat === void 0 ? DOCUMENT : _options$observeMutat;
2135
- mo = new MUTATION_OBSERVER(function(objects) {
2136
- if (disabled) return;
2137
- var defaultPrefix = getDefaultUsablePrefix();
2138
- toArray(objects).forEach(function(mutationRecord) {
2139
- if (mutationRecord.type === "childList" && mutationRecord.addedNodes.length > 0 && !isWatched(mutationRecord.addedNodes[0])) {
2140
- if (config.searchPseudoElements) {
2141
- pseudoElementsCallback(mutationRecord.target);
2142
- }
2143
- treeCallback(mutationRecord.target);
2144
- }
2145
- if (mutationRecord.type === "attributes" && mutationRecord.target.parentNode && config.searchPseudoElements) {
2146
- pseudoElementsCallback([mutationRecord.target], true);
2147
- }
2148
- if (mutationRecord.type === "attributes" && isWatched(mutationRecord.target) && ~ATTRIBUTES_WATCHED_FOR_MUTATION.indexOf(mutationRecord.attributeName)) {
2149
- if (mutationRecord.attributeName === "class" && hasPrefixAndIcon(mutationRecord.target)) {
2150
- var _getCanonicalIcon = getCanonicalIcon(classArray(mutationRecord.target)), prefix = _getCanonicalIcon.prefix, iconName = _getCanonicalIcon.iconName;
2151
- mutationRecord.target.setAttribute(DATA_PREFIX, prefix || defaultPrefix);
2152
- if (iconName) mutationRecord.target.setAttribute(DATA_ICON, iconName);
2153
- } else if (hasBeenReplaced(mutationRecord.target)) {
2154
- nodeCallback(mutationRecord.target);
2155
- }
2156
- }
2157
- });
2158
- });
2159
- if (!IS_DOM) return;
2160
- mo.observe(observeMutationsRoot, {
2161
- childList: true,
2162
- attributes: true,
2163
- characterData: true,
2164
- subtree: true
2165
- });
2166
- }
2167
- function disconnect() {
2168
- if (!mo) return;
2169
- mo.disconnect();
2170
- }
2171
- function styleParser(node) {
2172
- var style = node.getAttribute("style");
2173
- var val = [];
2174
- if (style) {
2175
- val = style.split(";").reduce(function(acc, style2) {
2176
- var styles2 = style2.split(":");
2177
- var prop = styles2[0];
2178
- var value = styles2.slice(1);
2179
- if (prop && value.length > 0) {
2180
- acc[prop] = value.join(":").trim();
2181
- }
2182
- return acc;
2183
- }, {});
2184
- }
2185
- return val;
2186
- }
2187
- function classParser(node) {
2188
- var existingPrefix = node.getAttribute("data-prefix");
2189
- var existingIconName = node.getAttribute("data-icon");
2190
- var innerText = node.innerText !== void 0 ? node.innerText.trim() : "";
2191
- var val = getCanonicalIcon(classArray(node));
2192
- if (!val.prefix) {
2193
- val.prefix = getDefaultUsablePrefix();
2194
- }
2195
- if (existingPrefix && existingIconName) {
2196
- val.prefix = existingPrefix;
2197
- val.iconName = existingIconName;
2198
- }
2199
- if (val.iconName && val.prefix) {
2200
- return val;
2201
- }
2202
- if (val.prefix && innerText.length > 0) {
2203
- val.iconName = byLigature(val.prefix, node.innerText) || byUnicode(val.prefix, toHex(node.innerText));
2204
- }
2205
- if (!val.iconName && config.autoFetchSvg && node.firstChild && node.firstChild.nodeType === Node.TEXT_NODE) {
2206
- val.iconName = node.firstChild.data;
2207
- }
2208
- return val;
2209
- }
2210
- function attributesParser(node) {
2211
- var extraAttributes = toArray(node.attributes).reduce(function(acc, attr) {
2212
- if (acc.name !== "class" && acc.name !== "style") {
2213
- acc[attr.name] = attr.value;
2214
- }
2215
- return acc;
2216
- }, {});
2217
- return extraAttributes;
2218
- }
2219
- function blankMeta() {
2220
- return {
2221
- iconName: null,
2222
- prefix: null,
2223
- transform: meaninglessTransform,
2224
- symbol: false,
2225
- mask: {
2226
- iconName: null,
2227
- prefix: null,
2228
- rest: []
2229
- },
2230
- maskId: null,
2231
- extra: {
2232
- classes: [],
2233
- styles: {},
2234
- attributes: {}
2235
- }
2236
- };
2237
- }
2238
- function parseMeta(node) {
2239
- var parser = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
2240
- styleParser: true
2241
- };
2242
- var _classParser = classParser(node), iconName = _classParser.iconName, prefix = _classParser.prefix, extraClasses = _classParser.rest;
2243
- var extraAttributes = attributesParser(node);
2244
- var pluginMeta = chainHooks("parseNodeAttributes", {}, node);
2245
- var extraStyles = parser.styleParser ? styleParser(node) : [];
2246
- return _objectSpread2({
2247
- iconName,
2248
- prefix,
2249
- transform: meaninglessTransform,
2250
- mask: {
2251
- iconName: null,
2252
- prefix: null,
2253
- rest: []
2254
- },
2255
- maskId: null,
2256
- symbol: false,
2257
- extra: {
2258
- classes: extraClasses,
2259
- styles: extraStyles,
2260
- attributes: extraAttributes
2261
- }
2262
- }, pluginMeta);
2263
- }
2264
- var styles$2 = namespace.styles;
2265
- function generateMutation(node) {
2266
- var nodeMeta = config.autoReplaceSvg === "nest" ? parseMeta(node, {
2267
- styleParser: false
2268
- }) : parseMeta(node);
2269
- if (~nodeMeta.extra.classes.indexOf(LAYERS_TEXT_CLASSNAME)) {
2270
- return callProvided("generateLayersText", node, nodeMeta);
2271
- } else {
2272
- return callProvided("generateSvgReplacementMutation", node, nodeMeta);
2273
- }
2274
- }
2275
- function getKnownPrefixes() {
2276
- return [].concat(_toConsumableArray(Ht), _toConsumableArray(lo));
2277
- }
2278
- function onTree(root) {
2279
- var callback = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
2280
- if (!IS_DOM) return Promise.resolve();
2281
- var htmlClassList = DOCUMENT.documentElement.classList;
2282
- var hclAdd = function hclAdd2(suffix) {
2283
- return htmlClassList.add("".concat(HTML_CLASS_I2SVG_BASE_CLASS, "-").concat(suffix));
2284
- };
2285
- var hclRemove = function hclRemove2(suffix) {
2286
- return htmlClassList.remove("".concat(HTML_CLASS_I2SVG_BASE_CLASS, "-").concat(suffix));
2287
- };
2288
- var prefixes = config.autoFetchSvg ? getKnownPrefixes() : Z.concat(Object.keys(styles$2));
2289
- if (!prefixes.includes("fa")) {
2290
- prefixes.push("fa");
2291
- }
2292
- var prefixesDomQuery = [".".concat(LAYERS_TEXT_CLASSNAME, ":not([").concat(DATA_FA_I2SVG, "])")].concat(prefixes.map(function(p$$1) {
2293
- return ".".concat(p$$1, ":not([").concat(DATA_FA_I2SVG, "])");
2294
- })).join(", ");
2295
- if (prefixesDomQuery.length === 0) {
2296
- return Promise.resolve();
2297
- }
2298
- var candidates = [];
2299
- try {
2300
- candidates = toArray(root.querySelectorAll(prefixesDomQuery));
2301
- } catch (e$$1) {
2302
- }
2303
- if (candidates.length > 0) {
2304
- hclAdd("pending");
2305
- hclRemove("complete");
2306
- } else {
2307
- return Promise.resolve();
2308
- }
2309
- var mark = perf.begin("onTree");
2310
- var mutations = candidates.reduce(function(acc, node) {
2311
- try {
2312
- var mutation = generateMutation(node);
2313
- if (mutation) {
2314
- acc.push(mutation);
2315
- }
2316
- } catch (e$$1) {
2317
- if (!PRODUCTION) {
2318
- if (e$$1.name === "MissingIcon") {
2319
- console.error(e$$1);
2320
- }
2321
- }
2322
- }
2323
- return acc;
2324
- }, []);
2325
- return new Promise(function(resolve, reject) {
2326
- Promise.all(mutations).then(function(resolvedMutations) {
2327
- perform(resolvedMutations, function() {
2328
- hclAdd("active");
2329
- hclAdd("complete");
2330
- hclRemove("pending");
2331
- if (typeof callback === "function") callback();
2332
- mark();
2333
- resolve();
2334
- });
2335
- }).catch(function(e$$1) {
2336
- mark();
2337
- reject(e$$1);
2338
- });
2339
- });
2340
- }
2341
- function onNode(node) {
2342
- var callback = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
2343
- generateMutation(node).then(function(mutation) {
2344
- if (mutation) {
2345
- perform([mutation], callback);
2346
- }
2347
- });
2348
- }
2349
- function resolveIcons(next) {
2350
- return function(maybeIconDefinition) {
2351
- var params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2352
- var iconDefinition = (maybeIconDefinition || {}).icon ? maybeIconDefinition : findIconDefinition(maybeIconDefinition || {});
2353
- var mask = params.mask;
2354
- if (mask) {
2355
- mask = (mask || {}).icon ? mask : findIconDefinition(mask || {});
2356
- }
2357
- return next(iconDefinition, _objectSpread2(_objectSpread2({}, params), {}, {
2358
- mask
2359
- }));
2360
- };
2361
- }
2362
- var render = function render2(iconDefinition) {
2363
- var params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2364
- var _params$transform = params.transform, transform = _params$transform === void 0 ? meaninglessTransform : _params$transform, _params$symbol = params.symbol, symbol = _params$symbol === void 0 ? false : _params$symbol, _params$mask = params.mask, mask = _params$mask === void 0 ? null : _params$mask, _params$maskId = params.maskId, maskId = _params$maskId === void 0 ? null : _params$maskId, _params$classes = params.classes, classes = _params$classes === void 0 ? [] : _params$classes, _params$attributes = params.attributes, attributes = _params$attributes === void 0 ? {} : _params$attributes, _params$styles = params.styles, styles2 = _params$styles === void 0 ? {} : _params$styles;
2365
- if (!iconDefinition) return;
2366
- var prefix = iconDefinition.prefix, iconName = iconDefinition.iconName, icon3 = iconDefinition.icon;
2367
- return domVariants(_objectSpread2({
2368
- type: "icon"
2369
- }, iconDefinition), function() {
2370
- callHooks("beforeDOMElementCreation", {
2371
- iconDefinition,
2372
- params
2373
- });
2374
- return makeInlineSvgAbstract({
2375
- icons: {
2376
- main: asFoundIcon(icon3),
2377
- mask: mask ? asFoundIcon(mask.icon) : {
2378
- found: false,
2379
- width: null,
2380
- height: null,
2381
- icon: {}
2382
- }
2383
- },
2384
- prefix,
2385
- iconName,
2386
- transform: _objectSpread2(_objectSpread2({}, meaninglessTransform), transform),
2387
- symbol,
2388
- maskId,
2389
- extra: {
2390
- attributes,
2391
- styles: styles2,
2392
- classes
2393
- }
2394
- });
2395
- });
2396
- };
2397
- var ReplaceElements = {
2398
- mixout: function mixout2() {
2399
- return {
2400
- icon: resolveIcons(render)
2401
- };
2402
- },
2403
- hooks: function hooks2() {
2404
- return {
2405
- mutationObserverCallbacks: function mutationObserverCallbacks(accumulator) {
2406
- accumulator.treeCallback = onTree;
2407
- accumulator.nodeCallback = onNode;
2408
- return accumulator;
2409
- }
2410
- };
2411
- },
2412
- provides: function provides(providers$$1) {
2413
- providers$$1.i2svg = function(params) {
2414
- var _params$node = params.node, node = _params$node === void 0 ? DOCUMENT : _params$node, _params$callback = params.callback, callback = _params$callback === void 0 ? function() {
2415
- } : _params$callback;
2416
- return onTree(node, callback);
2417
- };
2418
- providers$$1.generateSvgReplacementMutation = function(node, nodeMeta) {
2419
- var iconName = nodeMeta.iconName, prefix = nodeMeta.prefix, transform = nodeMeta.transform, symbol = nodeMeta.symbol, mask = nodeMeta.mask, maskId = nodeMeta.maskId, extra = nodeMeta.extra;
2420
- return new Promise(function(resolve, reject) {
2421
- Promise.all([findIcon(iconName, prefix), mask.iconName ? findIcon(mask.iconName, mask.prefix) : Promise.resolve({
2422
- found: false,
2423
- width: 512,
2424
- height: 512,
2425
- icon: {}
2426
- })]).then(function(_ref2) {
2427
- var _ref22 = _slicedToArray(_ref2, 2), main = _ref22[0], mask2 = _ref22[1];
2428
- resolve([node, makeInlineSvgAbstract({
2429
- icons: {
2430
- main,
2431
- mask: mask2
2432
- },
2433
- prefix,
2434
- iconName,
2435
- transform,
2436
- symbol,
2437
- maskId,
2438
- extra,
2439
- watchable: true
2440
- })]);
2441
- }).catch(reject);
2442
- });
2443
- };
2444
- providers$$1.generateAbstractIcon = function(_ref3) {
2445
- var children = _ref3.children, attributes = _ref3.attributes, main = _ref3.main, transform = _ref3.transform, styles2 = _ref3.styles;
2446
- var styleString = joinStyles(styles2);
2447
- if (styleString.length > 0) {
2448
- attributes["style"] = styleString;
2449
- }
2450
- var nextChild;
2451
- if (transformIsMeaningful(transform)) {
2452
- nextChild = callProvided("generateAbstractTransformGrouping", {
2453
- main,
2454
- transform,
2455
- containerWidth: main.width,
2456
- iconWidth: main.width
2457
- });
2458
- }
2459
- children.push(nextChild || main.icon);
2460
- return {
2461
- children,
2462
- attributes
2463
- };
2464
- };
2465
- }
2466
- };
2467
- var Layers = {
2468
- mixout: function mixout3() {
2469
- return {
2470
- layer: function layer(assembler) {
2471
- var params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2472
- var _params$classes = params.classes, classes = _params$classes === void 0 ? [] : _params$classes;
2473
- return domVariants({
2474
- type: "layer"
2475
- }, function() {
2476
- callHooks("beforeDOMElementCreation", {
2477
- assembler,
2478
- params
2479
- });
2480
- var children = [];
2481
- assembler(function(args) {
2482
- Array.isArray(args) ? args.map(function(a2) {
2483
- children = children.concat(a2.abstract);
2484
- }) : children = children.concat(args.abstract);
2485
- });
2486
- return [{
2487
- tag: "span",
2488
- attributes: {
2489
- class: ["".concat(config.cssPrefix, "-layers")].concat(_toConsumableArray(classes)).join(" ")
2490
- },
2491
- children
2492
- }];
2493
- });
2494
- }
2495
- };
2496
- }
2497
- };
2498
- var LayersCounter = {
2499
- mixout: function mixout4() {
2500
- return {
2501
- counter: function counter(content) {
2502
- var params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2503
- params.title;
2504
- var _params$classes = params.classes, classes = _params$classes === void 0 ? [] : _params$classes, _params$attributes = params.attributes, attributes = _params$attributes === void 0 ? {} : _params$attributes, _params$styles = params.styles, styles2 = _params$styles === void 0 ? {} : _params$styles;
2505
- return domVariants({
2506
- type: "counter",
2507
- content
2508
- }, function() {
2509
- callHooks("beforeDOMElementCreation", {
2510
- content,
2511
- params
2512
- });
2513
- return makeLayersCounterAbstract({
2514
- content: content.toString(),
2515
- extra: {
2516
- attributes,
2517
- styles: styles2,
2518
- classes: ["".concat(config.cssPrefix, "-layers-counter")].concat(_toConsumableArray(classes))
2519
- }
2520
- });
2521
- });
2522
- }
2523
- };
2524
- }
2525
- };
2526
- var LayersText = {
2527
- mixout: function mixout5() {
2528
- return {
2529
- text: function text(content) {
2530
- var params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2531
- var _params$transform = params.transform, transform = _params$transform === void 0 ? meaninglessTransform : _params$transform, _params$classes = params.classes, classes = _params$classes === void 0 ? [] : _params$classes, _params$attributes = params.attributes, attributes = _params$attributes === void 0 ? {} : _params$attributes, _params$styles = params.styles, styles2 = _params$styles === void 0 ? {} : _params$styles;
2532
- return domVariants({
2533
- type: "text",
2534
- content
2535
- }, function() {
2536
- callHooks("beforeDOMElementCreation", {
2537
- content,
2538
- params
2539
- });
2540
- return makeLayersTextAbstract({
2541
- content,
2542
- transform: _objectSpread2(_objectSpread2({}, meaninglessTransform), transform),
2543
- extra: {
2544
- attributes,
2545
- styles: styles2,
2546
- classes: ["".concat(config.cssPrefix, "-layers-text")].concat(_toConsumableArray(classes))
2547
- }
2548
- });
2549
- });
2550
- }
2551
- };
2552
- },
2553
- provides: function provides2(providers$$1) {
2554
- providers$$1.generateLayersText = function(node, nodeMeta) {
2555
- var transform = nodeMeta.transform, extra = nodeMeta.extra;
2556
- var width = null;
2557
- var height = null;
2558
- if (IS_IE) {
2559
- var computedFontSize = parseInt(getComputedStyle(node).fontSize, 10);
2560
- var boundingClientRect = node.getBoundingClientRect();
2561
- width = boundingClientRect.width / computedFontSize;
2562
- height = boundingClientRect.height / computedFontSize;
2563
- }
2564
- return Promise.resolve([node, makeLayersTextAbstract({
2565
- content: node.innerHTML,
2566
- width,
2567
- height,
2568
- transform,
2569
- extra,
2570
- watchable: true
2571
- })]);
2572
- };
2573
- }
2574
- };
2575
- var CLEAN_CONTENT_PATTERN = new RegExp('"', "ug");
2576
- var SECONDARY_UNICODE_RANGE = [1105920, 1112319];
2577
- var _FONT_FAMILY_WEIGHT_TO_PREFIX = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, {
2578
- FontAwesome: {
2579
- normal: "fas",
2580
- 400: "fas"
2581
- }
2582
- }), Kt), fo), hl);
2583
- var FONT_FAMILY_WEIGHT_TO_PREFIX = Object.keys(_FONT_FAMILY_WEIGHT_TO_PREFIX).reduce(function(acc, key) {
2584
- acc[key.toLowerCase()] = _FONT_FAMILY_WEIGHT_TO_PREFIX[key];
2585
- return acc;
2586
- }, {});
2587
- var FONT_FAMILY_WEIGHT_FALLBACK = Object.keys(FONT_FAMILY_WEIGHT_TO_PREFIX).reduce(function(acc, fontFamily) {
2588
- var weights = FONT_FAMILY_WEIGHT_TO_PREFIX[fontFamily];
2589
- acc[fontFamily] = weights[900] || _toConsumableArray(Object.entries(weights))[0][1];
2590
- return acc;
2591
- }, {});
2592
- function hexValueFromContent(content) {
2593
- var cleaned = content.replace(CLEAN_CONTENT_PATTERN, "");
2594
- return toHex(_toConsumableArray(cleaned)[0] || "");
2595
- }
2596
- function isSecondaryLayer(styles2) {
2597
- var hasStylisticSet = styles2.getPropertyValue("font-feature-settings").includes("ss01");
2598
- var content = styles2.getPropertyValue("content");
2599
- var cleaned = content.replace(CLEAN_CONTENT_PATTERN, "");
2600
- var codePoint = cleaned.codePointAt(0);
2601
- var isPrependTen = codePoint >= SECONDARY_UNICODE_RANGE[0] && codePoint <= SECONDARY_UNICODE_RANGE[1];
2602
- var isDoubled = cleaned.length === 2 ? cleaned[0] === cleaned[1] : false;
2603
- return isPrependTen || isDoubled || hasStylisticSet;
2604
- }
2605
- function getPrefix(fontFamily, fontWeight) {
2606
- var fontFamilySanitized = fontFamily.replace(/^['"]|['"]$/g, "").toLowerCase();
2607
- var fontWeightInteger = parseInt(fontWeight);
2608
- var fontWeightSanitized = isNaN(fontWeightInteger) ? "normal" : fontWeightInteger;
2609
- return (FONT_FAMILY_WEIGHT_TO_PREFIX[fontFamilySanitized] || {})[fontWeightSanitized] || FONT_FAMILY_WEIGHT_FALLBACK[fontFamilySanitized];
2610
- }
2611
- function replaceForPosition(node, position) {
2612
- var pendingAttribute = "".concat(DATA_FA_PSEUDO_ELEMENT_PENDING).concat(position.replace(":", "-"));
2613
- return new Promise(function(resolve, reject) {
2614
- if (node.getAttribute(pendingAttribute) !== null) {
2615
- return resolve();
2616
- }
2617
- var children = toArray(node.children);
2618
- var alreadyProcessedPseudoElement = children.filter(function(c$$1) {
2619
- return c$$1.getAttribute(DATA_FA_PSEUDO_ELEMENT) === position;
2620
- })[0];
2621
- var styles2 = WINDOW.getComputedStyle(node, position);
2622
- var fontFamily = styles2.getPropertyValue("font-family");
2623
- var fontFamilyMatch = fontFamily.match(FONT_FAMILY_PATTERN);
2624
- var fontWeight = styles2.getPropertyValue("font-weight");
2625
- var content = styles2.getPropertyValue("content");
2626
- if (alreadyProcessedPseudoElement && !fontFamilyMatch) {
2627
- node.removeChild(alreadyProcessedPseudoElement);
2628
- return resolve();
2629
- } else if (fontFamilyMatch && content !== "none" && content !== "") {
2630
- var _content = styles2.getPropertyValue("content");
2631
- var prefix = getPrefix(fontFamily, fontWeight);
2632
- var hexValue = hexValueFromContent(_content);
2633
- var isV4 = fontFamilyMatch[0].startsWith("FontAwesome");
2634
- var isSecondary = isSecondaryLayer(styles2);
2635
- var iconName = byUnicode(prefix, hexValue);
2636
- var iconIdentifier = iconName;
2637
- if (isV4) {
2638
- var iconName4 = byOldUnicode(hexValue);
2639
- if (iconName4.iconName && iconName4.prefix) {
2640
- iconName = iconName4.iconName;
2641
- prefix = iconName4.prefix;
2642
- }
2643
- }
2644
- if (iconName && !isSecondary && (!alreadyProcessedPseudoElement || alreadyProcessedPseudoElement.getAttribute(DATA_PREFIX) !== prefix || alreadyProcessedPseudoElement.getAttribute(DATA_ICON) !== iconIdentifier)) {
2645
- node.setAttribute(pendingAttribute, iconIdentifier);
2646
- if (alreadyProcessedPseudoElement) {
2647
- node.removeChild(alreadyProcessedPseudoElement);
2648
- }
2649
- var meta = blankMeta();
2650
- var extra = meta.extra;
2651
- extra.attributes[DATA_FA_PSEUDO_ELEMENT] = position;
2652
- findIcon(iconName, prefix).then(function(main) {
2653
- var abstract = makeInlineSvgAbstract(_objectSpread2(_objectSpread2({}, meta), {}, {
2654
- icons: {
2655
- main,
2656
- mask: emptyCanonicalIcon()
2657
- },
2658
- prefix,
2659
- iconName: iconIdentifier,
2660
- extra,
2661
- watchable: true
2662
- }));
2663
- var element = DOCUMENT.createElementNS("http://www.w3.org/2000/svg", "svg");
2664
- if (position === "::before") {
2665
- node.insertBefore(element, node.firstChild);
2666
- } else {
2667
- node.appendChild(element);
2668
- }
2669
- element.outerHTML = abstract.map(function(a$$1) {
2670
- return toHtml(a$$1);
2671
- }).join("\n");
2672
- node.removeAttribute(pendingAttribute);
2673
- resolve();
2674
- }).catch(reject);
2675
- } else {
2676
- resolve();
2677
- }
2678
- } else {
2679
- resolve();
2680
- }
2681
- });
2682
- }
2683
- function replace2(node) {
2684
- return Promise.all([replaceForPosition(node, "::before"), replaceForPosition(node, "::after")]);
2685
- }
2686
- function processable(node) {
2687
- return node.parentNode !== document.head && !~TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS.indexOf(node.tagName.toUpperCase()) && !node.getAttribute(DATA_FA_PSEUDO_ELEMENT) && (!node.parentNode || node.parentNode.tagName !== "svg");
2688
- }
2689
- var hasPseudoElement = function hasPseudoElement2(selector) {
2690
- return !!selector && PSEUDO_ELEMENTS.some(function(pseudoSelector) {
2691
- return selector.includes(pseudoSelector);
2692
- });
2693
- };
2694
- var parseCSSRuleForPseudos = function parseCSSRuleForPseudos2(selectorText) {
2695
- if (!selectorText) return [];
2696
- var selectorSet = /* @__PURE__ */ new Set();
2697
- var selectors = selectorText.split(/,(?![^()]*\))/).map(function(s$$1) {
2698
- return s$$1.trim();
2699
- });
2700
- selectors = selectors.flatMap(function(selector2) {
2701
- return selector2.includes("(") ? selector2 : selector2.split(",").map(function(s$$1) {
2702
- return s$$1.trim();
2703
- });
2704
- });
2705
- var _iterator = _createForOfIteratorHelper(selectors), _step;
2706
- try {
2707
- for (_iterator.s(); !(_step = _iterator.n()).done; ) {
2708
- var selector = _step.value;
2709
- if (hasPseudoElement(selector)) {
2710
- var selectorWithoutPseudo = PSEUDO_ELEMENTS.reduce(function(acc, pseudoSelector) {
2711
- return acc.replace(pseudoSelector, "");
2712
- }, selector);
2713
- if (selectorWithoutPseudo !== "" && selectorWithoutPseudo !== "*") {
2714
- selectorSet.add(selectorWithoutPseudo);
2715
- }
2716
- }
2717
- }
2718
- } catch (err) {
2719
- _iterator.e(err);
2720
- } finally {
2721
- _iterator.f();
2722
- }
2723
- return selectorSet;
2724
- };
2725
- function searchPseudoElements(root) {
2726
- var useAsNodeList = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
2727
- if (!IS_DOM) return;
2728
- var nodeList;
2729
- if (useAsNodeList) {
2730
- nodeList = root;
2731
- } else if (config.searchPseudoElementsFullScan) {
2732
- nodeList = root.querySelectorAll("*");
2733
- } else {
2734
- var selectorSet = /* @__PURE__ */ new Set();
2735
- var _iterator2 = _createForOfIteratorHelper(document.styleSheets), _step2;
2736
- try {
2737
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done; ) {
2738
- var stylesheet = _step2.value;
2739
- try {
2740
- var _iterator3 = _createForOfIteratorHelper(stylesheet.cssRules), _step3;
2741
- try {
2742
- for (_iterator3.s(); !(_step3 = _iterator3.n()).done; ) {
2743
- var rule = _step3.value;
2744
- var parsedSelectors = parseCSSRuleForPseudos(rule.selectorText);
2745
- var _iterator4 = _createForOfIteratorHelper(parsedSelectors), _step4;
2746
- try {
2747
- for (_iterator4.s(); !(_step4 = _iterator4.n()).done; ) {
2748
- var selector = _step4.value;
2749
- selectorSet.add(selector);
2750
- }
2751
- } catch (err) {
2752
- _iterator4.e(err);
2753
- } finally {
2754
- _iterator4.f();
2755
- }
2756
- }
2757
- } catch (err) {
2758
- _iterator3.e(err);
2759
- } finally {
2760
- _iterator3.f();
2761
- }
2762
- } catch (e$$1) {
2763
- if (config.searchPseudoElementsWarnings) {
2764
- console.warn("Font Awesome: cannot parse stylesheet: ".concat(stylesheet.href, " (").concat(e$$1.message, ')\nIf it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.'));
2765
- }
2766
- }
2767
- }
2768
- } catch (err) {
2769
- _iterator2.e(err);
2770
- } finally {
2771
- _iterator2.f();
2772
- }
2773
- if (!selectorSet.size) return;
2774
- var cleanSelectors = Array.from(selectorSet).join(", ");
2775
- try {
2776
- nodeList = root.querySelectorAll(cleanSelectors);
2777
- } catch (_unused) {
2778
- }
2779
- }
2780
- return new Promise(function(resolve, reject) {
2781
- var operations = toArray(nodeList).filter(processable).map(replace2);
2782
- var end3 = perf.begin("searchPseudoElements");
2783
- disableObservation();
2784
- Promise.all(operations).then(function() {
2785
- end3();
2786
- enableObservation();
2787
- resolve();
2788
- }).catch(function() {
2789
- end3();
2790
- enableObservation();
2791
- reject();
2792
- });
2793
- });
2794
- }
2795
- var PseudoElements = {
2796
- hooks: function hooks3() {
2797
- return {
2798
- mutationObserverCallbacks: function mutationObserverCallbacks(accumulator) {
2799
- accumulator.pseudoElementsCallback = searchPseudoElements;
2800
- return accumulator;
2801
- }
2802
- };
2803
- },
2804
- provides: function provides3(providers2) {
2805
- providers2.pseudoElements2svg = function(params) {
2806
- var _params$node = params.node, node = _params$node === void 0 ? DOCUMENT : _params$node;
2807
- if (config.searchPseudoElements) {
2808
- searchPseudoElements(node);
2809
- }
2810
- };
2811
- }
2812
- };
2813
- var _unwatched = false;
2814
- var MutationObserver$1 = {
2815
- mixout: function mixout6() {
2816
- return {
2817
- dom: {
2818
- unwatch: function unwatch() {
2819
- disableObservation();
2820
- _unwatched = true;
2821
- }
2822
- }
2823
- };
2824
- },
2825
- hooks: function hooks4() {
2826
- return {
2827
- bootstrap: function bootstrap() {
2828
- observe(chainHooks("mutationObserverCallbacks", {}));
2829
- },
2830
- noAuto: function noAuto3() {
2831
- disconnect();
2832
- },
2833
- watch: function watch2(params) {
2834
- var observeMutationsRoot = params.observeMutationsRoot;
2835
- if (_unwatched) {
2836
- enableObservation();
2837
- } else {
2838
- observe(chainHooks("mutationObserverCallbacks", {
2839
- observeMutationsRoot
2840
- }));
2841
- }
2842
- }
2843
- };
2844
- }
2845
- };
2846
- var parseTransformString = function parseTransformString2(transformString) {
2847
- var transform = {
2848
- size: 16,
2849
- x: 0,
2850
- y: 0,
2851
- flipX: false,
2852
- flipY: false,
2853
- rotate: 0
2854
- };
2855
- return transformString.toLowerCase().split(" ").reduce(function(acc, n2) {
2856
- var parts = n2.toLowerCase().split("-");
2857
- var first = parts[0];
2858
- var rest = parts.slice(1).join("-");
2859
- if (first && rest === "h") {
2860
- acc.flipX = true;
2861
- return acc;
2862
- }
2863
- if (first && rest === "v") {
2864
- acc.flipY = true;
2865
- return acc;
2866
- }
2867
- rest = parseFloat(rest);
2868
- if (isNaN(rest)) {
2869
- return acc;
2870
- }
2871
- switch (first) {
2872
- case "grow":
2873
- acc.size = acc.size + rest;
2874
- break;
2875
- case "shrink":
2876
- acc.size = acc.size - rest;
2877
- break;
2878
- case "left":
2879
- acc.x = acc.x - rest;
2880
- break;
2881
- case "right":
2882
- acc.x = acc.x + rest;
2883
- break;
2884
- case "up":
2885
- acc.y = acc.y - rest;
2886
- break;
2887
- case "down":
2888
- acc.y = acc.y + rest;
2889
- break;
2890
- case "rotate":
2891
- acc.rotate = acc.rotate + rest;
2892
- break;
2893
- }
2894
- return acc;
2895
- }, transform);
2896
- };
2897
- var PowerTransforms = {
2898
- mixout: function mixout7() {
2899
- return {
2900
- parse: {
2901
- transform: function transform(transformString) {
2902
- return parseTransformString(transformString);
2903
- }
2904
- }
2905
- };
2906
- },
2907
- hooks: function hooks5() {
2908
- return {
2909
- parseNodeAttributes: function parseNodeAttributes(accumulator, node) {
2910
- var transformString = node.getAttribute("data-fa-transform");
2911
- if (transformString) {
2912
- accumulator.transform = parseTransformString(transformString);
2913
- }
2914
- return accumulator;
2915
- }
2916
- };
2917
- },
2918
- provides: function provides4(providers2) {
2919
- providers2.generateAbstractTransformGrouping = function(_ref2) {
2920
- var main = _ref2.main, transform = _ref2.transform, containerWidth = _ref2.containerWidth, iconWidth = _ref2.iconWidth;
2921
- var outer = {
2922
- transform: "translate(".concat(containerWidth / 2, " 256)")
2923
- };
2924
- var innerTranslate = "translate(".concat(transform.x * 32, ", ").concat(transform.y * 32, ") ");
2925
- var innerScale = "scale(".concat(transform.size / 16 * (transform.flipX ? -1 : 1), ", ").concat(transform.size / 16 * (transform.flipY ? -1 : 1), ") ");
2926
- var innerRotate = "rotate(".concat(transform.rotate, " 0 0)");
2927
- var inner = {
2928
- transform: "".concat(innerTranslate, " ").concat(innerScale, " ").concat(innerRotate)
2929
- };
2930
- var path = {
2931
- transform: "translate(".concat(iconWidth / 2 * -1, " -256)")
2932
- };
2933
- var operations = {
2934
- outer,
2935
- inner,
2936
- path
2937
- };
2938
- return {
2939
- tag: "g",
2940
- attributes: _objectSpread2({}, operations.outer),
2941
- children: [{
2942
- tag: "g",
2943
- attributes: _objectSpread2({}, operations.inner),
2944
- children: [{
2945
- tag: main.icon.tag,
2946
- children: main.icon.children,
2947
- attributes: _objectSpread2(_objectSpread2({}, main.icon.attributes), operations.path)
2948
- }]
2949
- }]
2950
- };
2951
- };
2952
- }
2953
- };
2954
- var ALL_SPACE = {
2955
- x: 0,
2956
- y: 0,
2957
- width: "100%",
2958
- height: "100%"
2959
- };
2960
- function fillBlack(abstract) {
2961
- var force = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : true;
2962
- if (abstract.attributes && (abstract.attributes.fill || force)) {
2963
- abstract.attributes.fill = "black";
2964
- }
2965
- return abstract;
2966
- }
2967
- function deGroup(abstract) {
2968
- if (abstract.tag === "g") {
2969
- return abstract.children;
2970
- } else {
2971
- return [abstract];
2972
- }
2973
- }
2974
- var Masks = {
2975
- hooks: function hooks6() {
2976
- return {
2977
- parseNodeAttributes: function parseNodeAttributes(accumulator, node) {
2978
- var maskData = node.getAttribute("data-fa-mask");
2979
- var mask = !maskData ? emptyCanonicalIcon() : getCanonicalIcon(maskData.split(" ").map(function(i2) {
2980
- return i2.trim();
2981
- }));
2982
- if (!mask.prefix) {
2983
- mask.prefix = getDefaultUsablePrefix();
2984
- }
2985
- accumulator.mask = mask;
2986
- accumulator.maskId = node.getAttribute("data-fa-mask-id");
2987
- return accumulator;
2988
- }
2989
- };
2990
- },
2991
- provides: function provides5(providers2) {
2992
- providers2.generateAbstractMask = function(_ref2) {
2993
- var children = _ref2.children, attributes = _ref2.attributes, main = _ref2.main, mask = _ref2.mask, explicitMaskId = _ref2.maskId, transform = _ref2.transform;
2994
- var mainWidth = main.width, mainPath = main.icon;
2995
- var maskWidth = mask.width, maskPath = mask.icon;
2996
- var trans = transformForSvg({
2997
- transform,
2998
- containerWidth: maskWidth,
2999
- iconWidth: mainWidth
3000
- });
3001
- var maskRect = {
3002
- tag: "rect",
3003
- attributes: _objectSpread2(_objectSpread2({}, ALL_SPACE), {}, {
3004
- fill: "white"
3005
- })
3006
- };
3007
- var maskInnerGroupChildrenMixin = mainPath.children ? {
3008
- children: mainPath.children.map(fillBlack)
3009
- } : {};
3010
- var maskInnerGroup = {
3011
- tag: "g",
3012
- attributes: _objectSpread2({}, trans.inner),
3013
- children: [fillBlack(_objectSpread2({
3014
- tag: mainPath.tag,
3015
- attributes: _objectSpread2(_objectSpread2({}, mainPath.attributes), trans.path)
3016
- }, maskInnerGroupChildrenMixin))]
3017
- };
3018
- var maskOuterGroup = {
3019
- tag: "g",
3020
- attributes: _objectSpread2({}, trans.outer),
3021
- children: [maskInnerGroup]
3022
- };
3023
- var maskId = "mask-".concat(explicitMaskId || nextUniqueId());
3024
- var clipId = "clip-".concat(explicitMaskId || nextUniqueId());
3025
- var maskTag = {
3026
- tag: "mask",
3027
- attributes: _objectSpread2(_objectSpread2({}, ALL_SPACE), {}, {
3028
- id: maskId,
3029
- maskUnits: "userSpaceOnUse",
3030
- maskContentUnits: "userSpaceOnUse"
3031
- }),
3032
- children: [maskRect, maskOuterGroup]
3033
- };
3034
- var defs = {
3035
- tag: "defs",
3036
- children: [{
3037
- tag: "clipPath",
3038
- attributes: {
3039
- id: clipId
3040
- },
3041
- children: deGroup(maskPath)
3042
- }, maskTag]
3043
- };
3044
- children.push(defs, {
3045
- tag: "rect",
3046
- attributes: _objectSpread2({
3047
- "fill": "currentColor",
3048
- "clip-path": "url(#".concat(clipId, ")"),
3049
- "mask": "url(#".concat(maskId, ")")
3050
- }, ALL_SPACE)
3051
- });
3052
- return {
3053
- children,
3054
- attributes
3055
- };
3056
- };
3057
- }
3058
- };
3059
- var MissingIconIndicator = {
3060
- provides: function provides6(providers2) {
3061
- var reduceMotion = false;
3062
- if (WINDOW.matchMedia) {
3063
- reduceMotion = WINDOW.matchMedia("(prefers-reduced-motion: reduce)").matches;
3064
- }
3065
- providers2.missingIconAbstract = function() {
3066
- var gChildren = [];
3067
- var FILL = {
3068
- fill: "currentColor"
3069
- };
3070
- var ANIMATION_BASE = {
3071
- attributeType: "XML",
3072
- repeatCount: "indefinite",
3073
- dur: "2s"
3074
- };
3075
- gChildren.push({
3076
- tag: "path",
3077
- attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
3078
- d: "M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"
3079
- })
3080
- });
3081
- var OPACITY_ANIMATE = _objectSpread2(_objectSpread2({}, ANIMATION_BASE), {}, {
3082
- attributeName: "opacity"
3083
- });
3084
- var dot = {
3085
- tag: "circle",
3086
- attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
3087
- cx: "256",
3088
- cy: "364",
3089
- r: "28"
3090
- }),
3091
- children: []
3092
- };
3093
- if (!reduceMotion) {
3094
- dot.children.push({
3095
- tag: "animate",
3096
- attributes: _objectSpread2(_objectSpread2({}, ANIMATION_BASE), {}, {
3097
- attributeName: "r",
3098
- values: "28;14;28;28;14;28;"
3099
- })
3100
- }, {
3101
- tag: "animate",
3102
- attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, {
3103
- values: "1;0;1;1;0;1;"
3104
- })
3105
- });
3106
- }
3107
- gChildren.push(dot);
3108
- gChildren.push({
3109
- tag: "path",
3110
- attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
3111
- opacity: "1",
3112
- d: "M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"
3113
- }),
3114
- children: reduceMotion ? [] : [{
3115
- tag: "animate",
3116
- attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, {
3117
- values: "1;0;0;0;0;1;"
3118
- })
3119
- }]
3120
- });
3121
- if (!reduceMotion) {
3122
- gChildren.push({
3123
- tag: "path",
3124
- attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
3125
- opacity: "0",
3126
- d: "M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"
3127
- }),
3128
- children: [{
3129
- tag: "animate",
3130
- attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, {
3131
- values: "0;0;1;1;0;0;"
3132
- })
3133
- }]
3134
- });
3135
- }
3136
- return {
3137
- tag: "g",
3138
- attributes: {
3139
- class: "missing"
3140
- },
3141
- children: gChildren
3142
- };
3143
- };
3144
- }
3145
- };
3146
- var SvgSymbols = {
3147
- hooks: function hooks7() {
3148
- return {
3149
- parseNodeAttributes: function parseNodeAttributes(accumulator, node) {
3150
- var symbolData = node.getAttribute("data-fa-symbol");
3151
- var symbol = symbolData === null ? false : symbolData === "" ? true : symbolData;
3152
- accumulator["symbol"] = symbol;
3153
- return accumulator;
3154
- }
3155
- };
3156
- }
3157
- };
3158
- var plugins = [InjectCSS, ReplaceElements, Layers, LayersCounter, LayersText, PseudoElements, MutationObserver$1, PowerTransforms, Masks, MissingIconIndicator, SvgSymbols];
3159
- registerPlugins(plugins, {
3160
- mixoutsTo: api
3161
- });
3162
- api.noAuto;
3163
- var config$1 = api.config;
3164
- api.library;
3165
- api.dom;
3166
- var parse$1 = api.parse;
3167
- api.findIconDefinition;
3168
- api.toHtml;
3169
- var icon2 = api.icon;
3170
- api.layer;
3171
- api.text;
3172
- api.counter;
3173
- export {
3174
- api,
3175
- config$1 as config,
3176
- icon2 as icon,
3177
- parse$1 as parse
3178
- };
3179
- //# sourceMappingURL=index.js.map