spree_admin 5.0.3 → 5.1.0.beta

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 (268) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/login_sidebar_background.png +0 -0
  3. data/app/assets/stylesheets/spree/admin/components/_bulk_panel.scss +8 -1
  4. data/app/assets/stylesheets/spree/admin/components/_buttons.scss +12 -20
  5. data/app/assets/stylesheets/spree/admin/components/_cards.scss +9 -3
  6. data/app/assets/stylesheets/spree/admin/components/_dropdowns.scss +13 -40
  7. data/app/assets/stylesheets/spree/admin/components/_filters.scss +32 -3
  8. data/app/assets/stylesheets/spree/admin/components/_main.scss +107 -31
  9. data/app/assets/stylesheets/spree/admin/components/_media_form.scss +21 -9
  10. data/app/assets/stylesheets/spree/admin/components/_modals.scss +4 -3
  11. data/app/assets/stylesheets/spree/admin/components/_navbar.scss +5 -9
  12. data/app/assets/stylesheets/spree/admin/components/_navigation.scss +0 -1
  13. data/app/assets/stylesheets/spree/admin/components/_sortable_tree.scss +6 -2
  14. data/app/assets/stylesheets/spree/admin/components/_tables.scss +35 -5
  15. data/app/assets/stylesheets/spree/admin/global/_variables.scss +37 -17
  16. data/app/assets/stylesheets/spree/admin/plugins/tom-select.bootstrap4.scss +5 -4
  17. data/app/assets/stylesheets/spree/admin/shared/_base.scss +50 -17
  18. data/app/assets/stylesheets/spree/admin/shared/_forms.scss +6 -2
  19. data/app/assets/stylesheets/spree/admin/views/_page_builder.scss +30 -21
  20. data/app/controllers/concerns/spree/admin/breadcrumb_concern.rb +22 -0
  21. data/app/controllers/concerns/spree/admin/preferences_concern.rb +22 -0
  22. data/app/controllers/concerns/spree/admin/products_breadcrumb_concern.rb +22 -0
  23. data/app/controllers/concerns/spree/admin/promotions_breadcrumb_concern.rb +23 -0
  24. data/app/controllers/concerns/spree/admin/storefront_breadcrumb_concern.rb +12 -0
  25. data/app/controllers/spree/admin/addresses_controller.rb +4 -0
  26. data/app/controllers/spree/admin/admin_users_controller.rb +112 -0
  27. data/app/controllers/spree/admin/assets_controller.rb +7 -9
  28. data/app/controllers/spree/admin/base_controller.rb +21 -10
  29. data/app/controllers/spree/admin/checkouts_controller.rb +4 -0
  30. data/app/controllers/spree/admin/classifications_controller.rb +4 -0
  31. data/app/controllers/spree/admin/coupon_codes_controller.rb +2 -0
  32. data/app/controllers/spree/admin/custom_domains_controller.rb +6 -0
  33. data/app/controllers/spree/admin/customer_returns_controller.rb +4 -0
  34. data/app/controllers/spree/admin/dashboard_controller.rb +19 -14
  35. data/app/controllers/spree/admin/digital_assets_controller.rb +8 -0
  36. data/app/controllers/spree/admin/exports_controller.rb +6 -2
  37. data/app/controllers/spree/admin/integrations_controller.rb +61 -0
  38. data/app/controllers/spree/admin/invitations_controller.rb +128 -0
  39. data/app/controllers/spree/admin/line_items_controller.rb +4 -0
  40. data/app/controllers/spree/admin/oauth_applications_controller.rb +6 -0
  41. data/app/controllers/spree/admin/option_types_controller.rb +15 -0
  42. data/app/controllers/spree/admin/option_values_controller.rb +4 -0
  43. data/app/controllers/spree/admin/orders/return_authorizations_controller.rb +4 -0
  44. data/app/controllers/spree/admin/orders_controller.rb +11 -0
  45. data/app/controllers/spree/admin/page_blocks_controller.rb +3 -2
  46. data/app/controllers/spree/admin/page_links_controller.rb +9 -0
  47. data/app/controllers/spree/admin/page_sections_controller.rb +13 -4
  48. data/app/controllers/spree/admin/pages_controller.rb +7 -0
  49. data/app/controllers/spree/admin/payment_methods_controller.rb +23 -12
  50. data/app/controllers/spree/admin/post_categories_controller.rb +3 -0
  51. data/app/controllers/spree/admin/posts_controller.rb +11 -0
  52. data/app/controllers/spree/admin/products_controller.rb +11 -8
  53. data/app/controllers/spree/admin/promotion_actions_controller.rb +10 -2
  54. data/app/controllers/spree/admin/promotion_rules_controller.rb +10 -2
  55. data/app/controllers/spree/admin/promotions_controller.rb +6 -0
  56. data/app/controllers/spree/admin/properties_controller.rb +15 -0
  57. data/app/controllers/spree/admin/refund_reasons_controller.rb +7 -0
  58. data/app/controllers/spree/admin/refunds_controller.rb +4 -0
  59. data/app/controllers/spree/admin/reimbursement_types_controller.rb +7 -0
  60. data/app/controllers/spree/admin/reimbursements_controller.rb +4 -0
  61. data/app/controllers/spree/admin/reports_controller.rb +12 -2
  62. data/app/controllers/spree/admin/resource_controller.rb +1 -1
  63. data/app/controllers/spree/admin/return_authorization_reasons_controller.rb +7 -0
  64. data/app/controllers/spree/admin/return_authorizations_controller.rb +4 -0
  65. data/app/controllers/spree/admin/return_items_controller.rb +6 -0
  66. data/app/controllers/spree/admin/role_users_controller.rb +36 -0
  67. data/app/controllers/spree/admin/roles_controller.rb +8 -0
  68. data/app/controllers/spree/admin/shipments_controller.rb +2 -2
  69. data/app/controllers/spree/admin/shipping_categories_controller.rb +7 -0
  70. data/app/controllers/spree/admin/shipping_methods_controller.rb +6 -0
  71. data/app/controllers/spree/admin/stock_items_controller.rb +13 -0
  72. data/app/controllers/spree/admin/stock_locations_controller.rb +7 -0
  73. data/app/controllers/spree/admin/stock_transfers_controller.rb +14 -2
  74. data/app/controllers/spree/admin/store_credit_categories_controller.rb +5 -0
  75. data/app/controllers/spree/admin/store_credits_controller.rb +4 -0
  76. data/app/controllers/spree/admin/storefront_controller.rb +3 -0
  77. data/app/controllers/spree/admin/stores_controller.rb +17 -2
  78. data/app/controllers/spree/admin/tax_categories_controller.rb +7 -0
  79. data/app/controllers/spree/admin/tax_rates_controller.rb +6 -0
  80. data/app/controllers/spree/admin/taxonomies_controller.rb +15 -0
  81. data/app/controllers/spree/admin/taxons_controller.rb +24 -1
  82. data/app/controllers/spree/admin/themes_controller.rb +7 -0
  83. data/app/controllers/spree/admin/translations_controller.rb +9 -1
  84. data/app/controllers/spree/admin/user_passwords_controller.rb +22 -0
  85. data/app/controllers/spree/admin/user_sessions_controller.rb +23 -0
  86. data/app/controllers/spree/admin/users_controller.rb +11 -2
  87. data/app/controllers/spree/admin/variants_controller.rb +13 -0
  88. data/app/controllers/spree/admin/webhooks_subscribers_controller.rb +34 -12
  89. data/app/controllers/spree/admin/zones_controller.rb +5 -0
  90. data/app/helpers/spree/admin/base_helper.rb +33 -32
  91. data/app/helpers/spree/admin/bulk_operations_helper.rb +8 -2
  92. data/app/helpers/spree/admin/modal_helper.rb +1 -1
  93. data/app/helpers/spree/admin/navigation_helper.rb +12 -6
  94. data/app/helpers/spree/admin/posts_helper.rb +1 -1
  95. data/app/helpers/spree/admin/session_assets_helper.rb +1 -1
  96. data/app/helpers/spree/admin/stores_helper.rb +1 -18
  97. data/app/helpers/spree/admin/tags_helper.rb +2 -2
  98. data/app/javascript/spree/admin/application.js +2 -2
  99. data/app/javascript/spree/admin/controllers/asset_uploader_controller.js +3 -2
  100. data/app/javascript/spree/admin/controllers/variants_form_controller.js +3 -2
  101. data/app/javascript/spree/admin/helpers/bootstrap.js +3 -3
  102. data/app/javascript/spree/admin/helpers/trix/video_embed.js +2 -2
  103. data/app/views/active_storage/_upload_form.html.erb +1 -1
  104. data/app/views/layouts/spree/minimal.html.erb +22 -0
  105. data/app/views/spree/admin/admin_users/_admin_user.html.erb +19 -0
  106. data/app/views/spree/admin/admin_users/_audit_log.html.erb +5 -0
  107. data/app/views/spree/admin/admin_users/_form.html.erb +12 -0
  108. data/app/views/spree/admin/admin_users/edit.html.erb +35 -0
  109. data/app/views/spree/admin/admin_users/index.html.erb +18 -0
  110. data/app/views/spree/admin/admin_users/new.html.erb +21 -0
  111. data/app/views/spree/admin/admin_users/show.html.erb +113 -0
  112. data/app/views/spree/admin/coupon_codes/index.html.erb +6 -6
  113. data/app/views/spree/admin/custom_domains/_custom_domains.html.erb +1 -1
  114. data/app/views/spree/admin/customer_returns/index.html.erb +1 -1
  115. data/app/views/spree/admin/dashboard/_store_preview.html.erb +1 -1
  116. data/app/views/spree/admin/dashboard/_top_products.html.erb +5 -3
  117. data/app/views/spree/admin/digital_assets/_table.html.erb +1 -1
  118. data/app/views/spree/admin/digital_assets/index.html.erb +0 -1
  119. data/app/views/spree/admin/exports/index.html.erb +1 -1
  120. data/app/views/spree/admin/integrations/_integration.html.erb +36 -0
  121. data/app/views/spree/admin/integrations/edit.html.erb +11 -0
  122. data/app/views/spree/admin/integrations/index.html.erb +23 -0
  123. data/app/views/spree/admin/integrations/new.html.erb +14 -0
  124. data/app/views/spree/admin/invitations/_invitation.html.erb +52 -0
  125. data/app/views/spree/admin/invitations/create.turbo_stream.erb +4 -0
  126. data/app/views/spree/admin/invitations/index.html.erb +21 -0
  127. data/app/views/spree/admin/invitations/new.html.erb +32 -0
  128. data/app/views/spree/admin/invitations/show.html.erb +9 -0
  129. data/app/views/spree/admin/line_items/new.html.erb +2 -2
  130. data/app/views/spree/admin/oauth_applications/index.html.erb +1 -1
  131. data/app/views/spree/admin/option_types/edit.html.erb +1 -1
  132. data/app/views/spree/admin/option_types/index.html.erb +1 -1
  133. data/app/views/spree/admin/orders/_customer.html.erb +1 -2
  134. data/app/views/spree/admin/orders/_filters.html.erb +28 -22
  135. data/app/views/spree/admin/orders/_list.html.erb +1 -1
  136. data/app/views/spree/admin/orders/_refunds.html.erb +1 -1
  137. data/app/views/spree/admin/orders/_shipment.html.erb +1 -1
  138. data/app/views/spree/admin/orders/_summary.html.erb +1 -1
  139. data/app/views/spree/admin/orders/_table_filter_dropdown.html.erb +2 -2
  140. data/app/views/spree/admin/orders/customer_returns/_customer_return.html.erb +1 -1
  141. data/app/views/spree/admin/orders/customer_returns/_return_item_decision.html.erb +1 -1
  142. data/app/views/spree/admin/orders/return_authorizations/_form.html.erb +1 -1
  143. data/app/views/spree/admin/orders/return_authorizations/show.html.erb +2 -2
  144. data/app/views/spree/admin/page_blocks/_form_tab_buttons.html.erb +5 -7
  145. data/app/views/spree/admin/page_blocks/edit.html.erb +3 -5
  146. data/app/views/spree/admin/page_blocks/forms/_image.html.erb +9 -0
  147. data/app/views/spree/admin/page_builder/_add_block.html.erb +1 -1
  148. data/app/views/spree/admin/page_builder/_header.html.erb +35 -28
  149. data/app/views/spree/admin/page_builder/_pages_dropdown.html.erb +15 -21
  150. data/app/views/spree/admin/page_builder/_sidebar.html.erb +1 -1
  151. data/app/views/spree/admin/page_builder/_sidebar_block.html.erb +11 -10
  152. data/app/views/spree/admin/page_builder/_sidebar_sections_toolbar.html.erb +152 -39
  153. data/app/views/spree/admin/page_links/_list.html.erb +2 -2
  154. data/app/views/spree/admin/page_links/edit.html.erb +2 -4
  155. data/app/views/spree/admin/page_sections/_form_tab_buttons.html.erb +6 -10
  156. data/app/views/spree/admin/page_sections/new.html.erb +1 -1
  157. data/app/views/spree/admin/pages/edit.html.erb +2 -2
  158. data/app/views/spree/admin/payment_methods/_form.html.erb +1 -1
  159. data/app/views/spree/admin/payment_methods/index.html.erb +16 -15
  160. data/app/views/spree/admin/payments/_payment.html.erb +1 -1
  161. data/app/views/spree/admin/post_categories/index.html.erb +1 -1
  162. data/app/views/spree/admin/posts/index.html.erb +1 -1
  163. data/app/views/spree/admin/products/_bulk_operations.html.erb +1 -1
  164. data/app/views/spree/admin/products/_filters.html.erb +2 -5
  165. data/app/views/spree/admin/products/_list.html.erb +1 -1
  166. data/app/views/spree/admin/products/_table_filter_dropdown.html.erb +2 -2
  167. data/app/views/spree/admin/products/form/_categorization.html.erb +34 -30
  168. data/app/views/spree/admin/products/form/_variants.html.erb +1 -0
  169. data/app/views/spree/admin/promotion_actions/_promotion_action.html.erb +1 -1
  170. data/app/views/spree/admin/promotion_rules/_promotion_rule.html.erb +1 -1
  171. data/app/views/spree/admin/promotions/_filters.html.erb +2 -6
  172. data/app/views/spree/admin/promotions/_header.html.erb +1 -3
  173. data/app/views/spree/admin/promotions/_sidebar.html.erb +18 -0
  174. data/app/views/spree/admin/promotions/_table_filter_dropdown.html.erb +2 -2
  175. data/app/views/spree/admin/promotions/index.html.erb +1 -1
  176. data/app/views/spree/admin/properties/edit.html.erb +1 -1
  177. data/app/views/spree/admin/properties/index.html.erb +1 -1
  178. data/app/views/spree/admin/refund_reasons/index.html.erb +1 -1
  179. data/app/views/spree/admin/reimbursement_types/index.html.erb +1 -1
  180. data/app/views/spree/admin/reimbursements/edit.html.erb +2 -2
  181. data/app/views/spree/admin/reimbursements/show.html.erb +1 -1
  182. data/app/views/spree/admin/reports/_report.html.erb +1 -1
  183. data/app/views/spree/admin/return_authorization_reasons/index.html.erb +1 -1
  184. data/app/views/spree/admin/return_authorizations/_filters.html.erb +2 -2
  185. data/app/views/spree/admin/return_authorizations/_list.html.erb +1 -1
  186. data/app/views/spree/admin/roles/edit.html.erb +6 -4
  187. data/app/views/spree/admin/roles/index.html.erb +11 -7
  188. data/app/views/spree/admin/shared/_alerts.html.erb +1 -1
  189. data/app/views/spree/admin/shared/_breadcrumbs.html.erb +13 -0
  190. data/app/views/spree/admin/shared/_calendar_range_picker.html.erb +1 -1
  191. data/app/views/spree/admin/shared/_content_header.html.erb +3 -3
  192. data/app/views/spree/admin/shared/_filters_button.html.erb +1 -1
  193. data/app/views/spree/admin/shared/_filters_search_bar.html.erb +1 -1
  194. data/app/views/spree/admin/shared/_head.html.erb +10 -1
  195. data/app/views/spree/admin/shared/_header.html.erb +26 -17
  196. data/app/views/spree/admin/shared/_index_table_options.html.erb +1 -1
  197. data/app/views/spree/admin/shared/_multi_product_picker.html.erb +1 -1
  198. data/app/views/spree/admin/shared/_new_item_dropdown.html.erb +32 -0
  199. data/app/views/spree/admin/shared/_no_resource_found.html.erb +6 -3
  200. data/app/views/spree/admin/shared/_offcanvas_nav.html.erb +1 -14
  201. data/app/views/spree/admin/shared/_refunds.html.erb +1 -1
  202. data/app/views/spree/admin/shared/_sidebar.html.erb +0 -8
  203. data/app/views/spree/admin/shared/_tax_nav.html.erb +1 -0
  204. data/app/views/spree/admin/shared/_team_nav.html.erb +13 -0
  205. data/app/views/spree/admin/shared/_user_dropdown.html.erb +25 -20
  206. data/app/views/spree/admin/shared/devise/_links.html.erb +18 -0
  207. data/app/views/spree/admin/shared/sidebar/_enterprise_edition_notice.html.erb +7 -5
  208. data/app/views/spree/admin/shared/sidebar/_integrations_nav.html.erb +5 -7
  209. data/app/views/spree/admin/shared/sidebar/_orders_nav.html.erb +2 -2
  210. data/app/views/spree/admin/shared/sidebar/_products_nav.html.erb +2 -2
  211. data/app/views/spree/admin/shared/sidebar/_promotions_nav.html.erb +17 -0
  212. data/app/views/spree/admin/shared/sidebar/_returns_nav.html.erb +1 -1
  213. data/app/views/spree/admin/shared/sidebar/_store_dropdown.html.erb +33 -75
  214. data/app/views/spree/admin/shared/sidebar/_store_nav.html.erb +17 -36
  215. data/app/views/spree/admin/shared/sidebar/_storefront_nav.html.erb +6 -2
  216. data/app/views/spree/admin/shared/sidebar/_vendors_nav.html.erb +9 -7
  217. data/app/views/spree/admin/shared/sortable_tree/_taxonomy.html.erb +1 -1
  218. data/app/views/spree/admin/shipping_categories/index.html.erb +1 -1
  219. data/app/views/spree/admin/shipping_methods/_form.html.erb +7 -134
  220. data/app/views/spree/admin/shipping_methods/form/_display.html.erb +25 -0
  221. data/app/views/spree/admin/shipping_methods/form/_estimated_transit_business_days.html.erb +23 -0
  222. data/app/views/spree/admin/shipping_methods/form/_shipping_categories.html.erb +21 -0
  223. data/app/views/spree/admin/shipping_methods/form/_tax_category.html.erb +16 -0
  224. data/app/views/spree/admin/shipping_methods/form/_tracking_url.html.erb +18 -0
  225. data/app/views/spree/admin/shipping_methods/form/_zones.html.erb +26 -0
  226. data/app/views/spree/admin/shipping_methods/index.html.erb +1 -1
  227. data/app/views/spree/admin/stock_items/index.html.erb +1 -1
  228. data/app/views/spree/admin/stock_locations/_stock_location.html.erb +5 -3
  229. data/app/views/spree/admin/stock_locations/index.html.erb +4 -2
  230. data/app/views/spree/admin/stock_transfers/index.html.erb +1 -1
  231. data/app/views/spree/admin/store_credit_categories/index.html.erb +1 -1
  232. data/app/views/spree/admin/store_credits/_list.html.erb +1 -1
  233. data/app/views/spree/admin/stores/edit_emails.html.erb +1 -1
  234. data/app/views/spree/admin/stores/form/_basic.html.erb +1 -1
  235. data/app/views/spree/admin/stores/form/_emails.html.erb +1 -1
  236. data/app/views/spree/admin/tax_categories/index.html.erb +1 -1
  237. data/app/views/spree/admin/tax_rates/index.html.erb +1 -1
  238. data/app/views/spree/admin/taxonomies/index.html.erb +1 -1
  239. data/app/views/spree/admin/themes/_theme.html.erb +6 -4
  240. data/app/views/spree/admin/themes/_theme_preview_image.html.erb +6 -4
  241. data/app/views/spree/admin/themes/index.html.erb +1 -1
  242. data/app/views/spree/admin/translations/edit.html.erb +1 -1
  243. data/app/views/spree/admin/user_passwords/edit.html.erb +21 -0
  244. data/app/views/spree/admin/user_passwords/new.html.erb +12 -0
  245. data/app/views/spree/admin/user_sessions/new.html.erb +16 -0
  246. data/app/views/spree/admin/users/_form.html.erb +10 -8
  247. data/app/views/spree/admin/users/_user.html.erb +4 -4
  248. data/app/views/spree/admin/users/index.html.erb +4 -4
  249. data/app/views/spree/admin/users/new.html.erb +1 -1
  250. data/app/views/spree/admin/variants/_search_result.html.erb +1 -1
  251. data/app/views/spree/admin/variants/form/_media.html.erb +1 -0
  252. data/app/views/spree/admin/variants/form/_media_asset.html.erb +1 -1
  253. data/app/views/spree/admin/webhooks_subscribers/_form.html.erb +37 -19
  254. data/app/views/spree/admin/webhooks_subscribers/_webhooks_subscriber.html.erb +12 -6
  255. data/app/views/spree/admin/webhooks_subscribers/edit.html.erb +2 -2
  256. data/app/views/spree/admin/webhooks_subscribers/index.html.erb +1 -1
  257. data/app/views/spree/admin/webhooks_subscribers/show.html.erb +58 -47
  258. data/app/views/spree/admin/zones/_form.html.erb +11 -15
  259. data/app/views/spree/admin/zones/index.html.erb +1 -1
  260. data/config/importmap.rb +2 -2
  261. data/config/locales/en.yml +3 -0
  262. data/config/routes.rb +13 -1
  263. data/lib/spree/admin/engine.rb +11 -1
  264. data/lib/spree/admin.rb +1 -0
  265. data/vendor/javascript/bootstrap--dist--js--bootstrap.bundle.min.js.js +4 -4
  266. data/vendor/javascript/dompurify.js +24 -24
  267. metadata +65 -9
  268. data/app/javascript/spree/admin/controllers/webhook_subscriber_events_controller.js +0 -19
@@ -1,19 +1,19 @@
1
- // dompurify@3.2.3 downloaded from https://ga.jspm.io/npm:dompurify@3.2.3/dist/purify.es.mjs
1
+ // dompurify@3.2.5 downloaded from https://ga.jspm.io/npm:dompurify@3.2.5/dist/purify.es.mjs
2
2
 
3
- /*! @license DOMPurify 3.2.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.3/LICENSE */
4
- const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:a}=Object;let{freeze:r,seal:i,create:l}=Object;let{apply:c,construct:s}=typeof Reflect!=="undefined"&&Reflect;r||(r=function freeze(e){return e});i||(i=function seal(e){return e});c||(c=function apply(e,t,n){return e.apply(t,n)});s||(s=function construct(e,t){return new e(...t)});const u=unapply(Array.prototype.forEach);const d=unapply(Array.prototype.pop);const f=unapply(Array.prototype.push);const m=unapply(String.prototype.toLowerCase);const p=unapply(String.prototype.toString);const h=unapply(String.prototype.match);const T=unapply(String.prototype.replace);const g=unapply(String.prototype.indexOf);const y=unapply(String.prototype.trim);const _=unapply(Object.prototype.hasOwnProperty);const S=unapply(RegExp.prototype.test);const E=unconstruct(TypeError);
3
+ /*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE */
4
+ const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:a}=Object;let{freeze:r,seal:i,create:l}=Object;let{apply:s,construct:c}=typeof Reflect!=="undefined"&&Reflect;r||(r=function freeze(e){return e});i||(i=function seal(e){return e});s||(s=function apply(e,t,n){return e.apply(t,n)});c||(c=function construct(e,t){return new e(...t)});const u=unapply(Array.prototype.forEach);const p=unapply(Array.prototype.lastIndexOf);const d=unapply(Array.prototype.pop);const f=unapply(Array.prototype.push);const m=unapply(Array.prototype.splice);const h=unapply(String.prototype.toLowerCase);const T=unapply(String.prototype.toString);const g=unapply(String.prototype.match);const y=unapply(String.prototype.replace);const _=unapply(String.prototype.indexOf);const S=unapply(String.prototype.trim);const E=unapply(Object.prototype.hasOwnProperty);const A=unapply(RegExp.prototype.test);const N=unconstruct(TypeError);
5
5
  /**
6
6
  * Creates a new function that calls the given function with a specified thisArg and arguments.
7
7
  *
8
8
  * @param func - The function to be wrapped and called.
9
9
  * @returns A new function that calls the given function with a specified thisArg and arguments.
10
- */function unapply(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];return c(e,t,o)}}
10
+ */function unapply(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];return s(e,t,o)}}
11
11
  /**
12
12
  * Creates a new function that constructs an instance of the given constructor function with the provided arguments.
13
13
  *
14
14
  * @param func - The constructor function to be wrapped and called.
15
15
  * @returns A new function that constructs an instance of the given constructor function with the provided arguments.
16
- */function unconstruct(e){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return s(e,n)}}
16
+ */function unconstruct(e){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return c(e,n)}}
17
17
  /**
18
18
  * Add properties to a lookup table
19
19
  *
@@ -21,27 +21,27 @@ const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescr
21
21
  * @param array - The array containing elements to be added to the set.
22
22
  * @param transformCaseFunc - An optional function to transform the case of each element before adding to the set.
23
23
  * @returns The modified set with added elements.
24
- */function addToSet(e,o){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m;t&&t(e,null);let r=o.length;while(r--){let t=o[r];if(typeof t==="string"){const e=a(t);if(e!==t){n(o)||(o[r]=e);t=e}}e[t]=true}return e}
24
+ */function addToSet(e,o){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:h;t&&t(e,null);let r=o.length;while(r--){let t=o[r];if(typeof t==="string"){const e=a(t);if(e!==t){n(o)||(o[r]=e);t=e}}e[t]=true}return e}
25
25
  /**
26
26
  * Clean up an array to harden against CSPP
27
27
  *
28
28
  * @param array - The array to be cleaned.
29
29
  * @returns The cleaned version of the array
30
- */function cleanArray(e){for(let t=0;t<e.length;t++){const n=_(e,t);n||(e[t]=null)}return e}
30
+ */function cleanArray(e){for(let t=0;t<e.length;t++){const n=E(e,t);n||(e[t]=null)}return e}
31
31
  /**
32
32
  * Shallow clone an object
33
33
  *
34
34
  * @param object - The object to be cloned.
35
35
  * @returns A new object that copies the original.
36
- */function clone(t){const n=l(null);for(const[o,a]of e(t)){const e=_(t,o);e&&(Array.isArray(a)?n[o]=cleanArray(a):a&&typeof a==="object"&&a.constructor===Object?n[o]=clone(a):n[o]=a)}return n}
36
+ */function clone(t){const n=l(null);for(const[o,a]of e(t)){const e=E(t,o);e&&(Array.isArray(a)?n[o]=cleanArray(a):a&&typeof a==="object"&&a.constructor===Object?n[o]=clone(a):n[o]=a)}return n}
37
37
  /**
38
38
  * This method automatically checks if the prop is function or getter and behaves accordingly.
39
39
  *
40
40
  * @param object - The object to look up the getter function in its prototype chain.
41
41
  * @param prop - The property name for which to find the getter function.
42
42
  * @returns The getter function found in the prototype chain or a fallback function.
43
- */function lookupGetter(e,t){while(e!==null){const n=a(e,t);if(n){if(n.get)return unapply(n.get);if(typeof n.value==="function")return unapply(n.value)}e=o(e)}function fallbackValue(){return null}return fallbackValue}const A=r(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]);const N=r(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]);const b=r(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]);const w=r(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]);const R=r(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]);const k=r(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]);const x=r(["#text"]);const O=r(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]);const D=r(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]);const C=r(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]);const L=r(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]);const v=i(/\{\{[\w\W]*|[\w\W]*\}\}/gm);const M=i(/<%[\w\W]*|[\w\W]*%>/gm);const I=i(/\$\{[\w\W]*}/gm);const P=i(/^data-[\-\w.\u00B7-\uFFFF]+$/);const U=i(/^aria-[\-\w]+$/);const H=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i);const z=i(/^(?:\w+script|data):/i);const F=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g);const G=i(/^html$/i);const B=i(/^[a-z][.\w]*(-[.\w]+)+$/i);var W=Object.freeze({__proto__:null,ARIA_ATTR:U,ATTR_WHITESPACE:F,CUSTOM_ELEMENT:B,DATA_ATTR:P,DOCTYPE_NAME:G,ERB_EXPR:M,IS_ALLOWED_URI:H,IS_SCRIPT_OR_DATA:z,MUSTACHE_EXPR:v,TMPLIT_EXPR:I});
44
- /* eslint-disable @typescript-eslint/indent */const Y={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12};const j=function getGlobal(){return typeof window==="undefined"?null:window};
43
+ */function lookupGetter(e,t){while(e!==null){const n=a(e,t);if(n){if(n.get)return unapply(n.get);if(typeof n.value==="function")return unapply(n.value)}e=o(e)}function fallbackValue(){return null}return fallbackValue}const b=r(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]);const w=r(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]);const R=r(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]);const k=r(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]);const x=r(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]);const O=r(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]);const D=r(["#text"]);const v=r(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]);const C=r(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]);const L=r(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]);const I=r(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]);const M=i(/\{\{[\w\W]*|[\w\W]*\}\}/gm);const P=i(/<%[\w\W]*|[\w\W]*%>/gm);const U=i(/\$\{[\w\W]*/gm);const H=i(/^data-[\-\w.\u00B7-\uFFFF]+$/);const z=i(/^aria-[\-\w]+$/);const F=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i);const G=i(/^(?:\w+script|data):/i);const B=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g);const W=i(/^html$/i);const Y=i(/^[a-z][.\w]*(-[.\w]+)+$/i);var j=Object.freeze({__proto__:null,ARIA_ATTR:z,ATTR_WHITESPACE:B,CUSTOM_ELEMENT:Y,DATA_ATTR:H,DOCTYPE_NAME:W,ERB_EXPR:P,IS_ALLOWED_URI:F,IS_SCRIPT_OR_DATA:G,MUSTACHE_EXPR:M,TMPLIT_EXPR:U});
44
+ /* eslint-disable @typescript-eslint/indent */const X={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12};const q=function getGlobal(){return typeof window==="undefined"?null:window};
45
45
  /**
46
46
  * Creates a no-op policy for internal use only.
47
47
  * Don't export this function outside this module!
@@ -49,53 +49,53 @@ const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescr
49
49
  * @param purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).
50
50
  * @return The policy created (or null, if Trusted Types
51
51
  * are not supported or creating the policy failed).
52
- */const X=function _createTrustedTypesPolicy(e,t){if(typeof e!=="object"||typeof e.createPolicy!=="function")return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const a="dompurify"+(n?"#"+n:"");try{return e.createPolicy(a,{createHTML(e){return e},createScriptURL(e){return e}})}catch(e){console.warn("TrustedTypes policy "+a+" could not be created.");return null}};const q=function _createHooksMap(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function createDOMPurify(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:j();const DOMPurify=e=>createDOMPurify(e);DOMPurify.version="3.2.3";DOMPurify.removed=[];if(!t||!t.document||t.document.nodeType!==Y.document){DOMPurify.isSupported=false;return DOMPurify}let{document:n}=t;const o=n;const a=o.currentScript;const{DocumentFragment:i,HTMLTemplateElement:c,Node:s,Element:v,NodeFilter:M,NamedNodeMap:I=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:P,DOMParser:U,trustedTypes:z}=t;const F=v.prototype;const B=lookupGetter(F,"cloneNode");const V=lookupGetter(F,"remove");const $=lookupGetter(F,"nextSibling");const K=lookupGetter(F,"childNodes");const Z=lookupGetter(F,"parentNode");if(typeof c==="function"){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let J;let Q="";const{implementation:ee,createNodeIterator:te,createDocumentFragment:ne,getElementsByTagName:oe}=n;const{importNode:ae}=o;let re=q();DOMPurify.isSupported=typeof e==="function"&&typeof Z==="function"&&ee&&ee.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:ie,ERB_EXPR:le,TMPLIT_EXPR:ce,DATA_ATTR:se,ARIA_ATTR:ue,IS_SCRIPT_OR_DATA:de,ATTR_WHITESPACE:fe,CUSTOM_ELEMENT:me}=W;let{IS_ALLOWED_URI:pe}=W;let he=null;const Te=addToSet({},[...A,...N,...b,...R,...x]);let ge=null;const ye=addToSet({},[...O,...D,...C,...L]);let _e=Object.seal(l(null,{tagNameCheck:{writable:true,configurable:false,enumerable:true,value:null},attributeNameCheck:{writable:true,configurable:false,enumerable:true,value:null},allowCustomizedBuiltInElements:{writable:true,configurable:false,enumerable:true,value:false}}));let Se=null;let Ee=null;let Ae=true;let Ne=true;let be=false;let we=true;let Re=false;let ke=true;let xe=false;let Oe=false;let De=false;let Ce=false;let Le=false;let ve=false;let Me=true;let Ie=false;const Pe="user-content-";let Ue=true;let He=false;let ze={};let Fe=null;const Ge=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Be=null;const We=addToSet({},["audio","video","img","source","image","track"]);let Ye=null;const je=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]);const Xe="http://www.w3.org/1998/Math/MathML";const qe="http://www.w3.org/2000/svg";const Ve="http://www.w3.org/1999/xhtml";let $e=Ve;let Ke=false;let Ze=null;const Je=addToSet({},[Xe,qe,Ve],p);let Qe=addToSet({},["mi","mo","mn","ms","mtext"]);let et=addToSet({},["annotation-xml"]);const tt=addToSet({},["title","style","font","a","script"]);let nt=null;const ot=["application/xhtml+xml","text/html"];const at="text/html";let rt=null;let it=null;const lt=n.createElement("form");const ct=function isRegexOrFunction(e){return e instanceof RegExp||e instanceof Function};
52
+ */const V=function _createTrustedTypesPolicy(e,t){if(typeof e!=="object"||typeof e.createPolicy!=="function")return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const a="dompurify"+(n?"#"+n:"");try{return e.createPolicy(a,{createHTML(e){return e},createScriptURL(e){return e}})}catch(e){console.warn("TrustedTypes policy "+a+" could not be created.");return null}};const $=function _createHooksMap(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function createDOMPurify(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:q();const DOMPurify=e=>createDOMPurify(e);DOMPurify.version="3.2.5";DOMPurify.removed=[];if(!t||!t.document||t.document.nodeType!==X.document||!t.Element){DOMPurify.isSupported=false;return DOMPurify}let{document:n}=t;const o=n;const a=o.currentScript;const{DocumentFragment:i,HTMLTemplateElement:s,Node:c,Element:M,NodeFilter:P,NamedNodeMap:U=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:H,DOMParser:z,trustedTypes:G}=t;const B=M.prototype;const Y=lookupGetter(B,"cloneNode");const K=lookupGetter(B,"remove");const Z=lookupGetter(B,"nextSibling");const J=lookupGetter(B,"childNodes");const Q=lookupGetter(B,"parentNode");if(typeof s==="function"){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let ee;let te="";const{implementation:ne,createNodeIterator:oe,createDocumentFragment:ae,getElementsByTagName:re}=n;const{importNode:ie}=o;let le=$();DOMPurify.isSupported=typeof e==="function"&&typeof Q==="function"&&ne&&ne.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:se,ERB_EXPR:ce,TMPLIT_EXPR:ue,DATA_ATTR:pe,ARIA_ATTR:de,IS_SCRIPT_OR_DATA:fe,ATTR_WHITESPACE:me,CUSTOM_ELEMENT:he}=j;let{IS_ALLOWED_URI:Te}=j;let ge=null;const ye=addToSet({},[...b,...w,...R,...x,...D]);let _e=null;const Se=addToSet({},[...v,...C,...L,...I]);let Ee=Object.seal(l(null,{tagNameCheck:{writable:true,configurable:false,enumerable:true,value:null},attributeNameCheck:{writable:true,configurable:false,enumerable:true,value:null},allowCustomizedBuiltInElements:{writable:true,configurable:false,enumerable:true,value:false}}));let Ae=null;let Ne=null;let be=true;let we=true;let Re=false;let ke=true;let xe=false;let Oe=true;let De=false;let ve=false;let Ce=false;let Le=false;let Ie=false;let Me=false;let Pe=true;let Ue=false;const He="user-content-";let ze=true;let Fe=false;let Ge={};let Be=null;const We=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ye=null;const je=addToSet({},["audio","video","img","source","image","track"]);let Xe=null;const qe=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]);const Ve="http://www.w3.org/1998/Math/MathML";const $e="http://www.w3.org/2000/svg";const Ke="http://www.w3.org/1999/xhtml";let Ze=Ke;let Je=false;let Qe=null;const et=addToSet({},[Ve,$e,Ke],T);let tt=addToSet({},["mi","mo","mn","ms","mtext"]);let nt=addToSet({},["annotation-xml"]);const ot=addToSet({},["title","style","font","a","script"]);let at=null;const rt=["application/xhtml+xml","text/html"];const it="text/html";let lt=null;let st=null;const ct=n.createElement("form");const ut=function isRegexOrFunction(e){return e instanceof RegExp||e instanceof Function};
53
53
  /**
54
54
  * _parseConfig
55
55
  *
56
56
  * @param cfg optional config literal
57
- */const st=function _parseConfig(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!it||it!==e){e&&typeof e==="object"||(e={});e=clone(e);nt=ot.indexOf(e.PARSER_MEDIA_TYPE)===-1?at:e.PARSER_MEDIA_TYPE;rt=nt==="application/xhtml+xml"?p:m;he=_(e,"ALLOWED_TAGS")?addToSet({},e.ALLOWED_TAGS,rt):Te;ge=_(e,"ALLOWED_ATTR")?addToSet({},e.ALLOWED_ATTR,rt):ye;Ze=_(e,"ALLOWED_NAMESPACES")?addToSet({},e.ALLOWED_NAMESPACES,p):Je;Ye=_(e,"ADD_URI_SAFE_ATTR")?addToSet(clone(je),e.ADD_URI_SAFE_ATTR,rt):je;Be=_(e,"ADD_DATA_URI_TAGS")?addToSet(clone(We),e.ADD_DATA_URI_TAGS,rt):We;Fe=_(e,"FORBID_CONTENTS")?addToSet({},e.FORBID_CONTENTS,rt):Ge;Se=_(e,"FORBID_TAGS")?addToSet({},e.FORBID_TAGS,rt):{};Ee=_(e,"FORBID_ATTR")?addToSet({},e.FORBID_ATTR,rt):{};ze=!!_(e,"USE_PROFILES")&&e.USE_PROFILES;Ae=e.ALLOW_ARIA_ATTR!==false;Ne=e.ALLOW_DATA_ATTR!==false;be=e.ALLOW_UNKNOWN_PROTOCOLS||false;we=e.ALLOW_SELF_CLOSE_IN_ATTR!==false;Re=e.SAFE_FOR_TEMPLATES||false;ke=e.SAFE_FOR_XML!==false;xe=e.WHOLE_DOCUMENT||false;Ce=e.RETURN_DOM||false;Le=e.RETURN_DOM_FRAGMENT||false;ve=e.RETURN_TRUSTED_TYPE||false;De=e.FORCE_BODY||false;Me=e.SANITIZE_DOM!==false;Ie=e.SANITIZE_NAMED_PROPS||false;Ue=e.KEEP_CONTENT!==false;He=e.IN_PLACE||false;pe=e.ALLOWED_URI_REGEXP||H;$e=e.NAMESPACE||Ve;Qe=e.MATHML_TEXT_INTEGRATION_POINTS||Qe;et=e.HTML_INTEGRATION_POINTS||et;_e=e.CUSTOM_ELEMENT_HANDLING||{};e.CUSTOM_ELEMENT_HANDLING&&ct(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(_e.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck);e.CUSTOM_ELEMENT_HANDLING&&ct(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(_e.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck);e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==="boolean"&&(_e.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements);Re&&(Ne=false);Le&&(Ce=true);if(ze){he=addToSet({},x);ge=[];if(ze.html===true){addToSet(he,A);addToSet(ge,O)}if(ze.svg===true){addToSet(he,N);addToSet(ge,D);addToSet(ge,L)}if(ze.svgFilters===true){addToSet(he,b);addToSet(ge,D);addToSet(ge,L)}if(ze.mathMl===true){addToSet(he,R);addToSet(ge,C);addToSet(ge,L)}}if(e.ADD_TAGS){he===Te&&(he=clone(he));addToSet(he,e.ADD_TAGS,rt)}if(e.ADD_ATTR){ge===ye&&(ge=clone(ge));addToSet(ge,e.ADD_ATTR,rt)}e.ADD_URI_SAFE_ATTR&&addToSet(Ye,e.ADD_URI_SAFE_ATTR,rt);if(e.FORBID_CONTENTS){Fe===Ge&&(Fe=clone(Fe));addToSet(Fe,e.FORBID_CONTENTS,rt)}Ue&&(he["#text"]=true);xe&&addToSet(he,["html","head","body"]);if(he.table){addToSet(he,["tbody"]);delete Se.tbody}if(e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=="function")throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=="function")throw E('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');J=e.TRUSTED_TYPES_POLICY;Q=J.createHTML("")}else{J===void 0&&(J=X(z,a));J!==null&&typeof Q==="string"&&(Q=J.createHTML(""))}r&&r(e);it=e}};const ut=addToSet({},[...N,...b,...w]);const dt=addToSet({},[...R,...k]);
57
+ */const pt=function _parseConfig(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!st||st!==e){e&&typeof e==="object"||(e={});e=clone(e);at=rt.indexOf(e.PARSER_MEDIA_TYPE)===-1?it:e.PARSER_MEDIA_TYPE;lt=at==="application/xhtml+xml"?T:h;ge=E(e,"ALLOWED_TAGS")?addToSet({},e.ALLOWED_TAGS,lt):ye;_e=E(e,"ALLOWED_ATTR")?addToSet({},e.ALLOWED_ATTR,lt):Se;Qe=E(e,"ALLOWED_NAMESPACES")?addToSet({},e.ALLOWED_NAMESPACES,T):et;Xe=E(e,"ADD_URI_SAFE_ATTR")?addToSet(clone(qe),e.ADD_URI_SAFE_ATTR,lt):qe;Ye=E(e,"ADD_DATA_URI_TAGS")?addToSet(clone(je),e.ADD_DATA_URI_TAGS,lt):je;Be=E(e,"FORBID_CONTENTS")?addToSet({},e.FORBID_CONTENTS,lt):We;Ae=E(e,"FORBID_TAGS")?addToSet({},e.FORBID_TAGS,lt):{};Ne=E(e,"FORBID_ATTR")?addToSet({},e.FORBID_ATTR,lt):{};Ge=!!E(e,"USE_PROFILES")&&e.USE_PROFILES;be=e.ALLOW_ARIA_ATTR!==false;we=e.ALLOW_DATA_ATTR!==false;Re=e.ALLOW_UNKNOWN_PROTOCOLS||false;ke=e.ALLOW_SELF_CLOSE_IN_ATTR!==false;xe=e.SAFE_FOR_TEMPLATES||false;Oe=e.SAFE_FOR_XML!==false;De=e.WHOLE_DOCUMENT||false;Le=e.RETURN_DOM||false;Ie=e.RETURN_DOM_FRAGMENT||false;Me=e.RETURN_TRUSTED_TYPE||false;Ce=e.FORCE_BODY||false;Pe=e.SANITIZE_DOM!==false;Ue=e.SANITIZE_NAMED_PROPS||false;ze=e.KEEP_CONTENT!==false;Fe=e.IN_PLACE||false;Te=e.ALLOWED_URI_REGEXP||F;Ze=e.NAMESPACE||Ke;tt=e.MATHML_TEXT_INTEGRATION_POINTS||tt;nt=e.HTML_INTEGRATION_POINTS||nt;Ee=e.CUSTOM_ELEMENT_HANDLING||{};e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ee.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck);e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ee.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck);e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==="boolean"&&(Ee.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements);xe&&(we=false);Ie&&(Le=true);if(Ge){ge=addToSet({},D);_e=[];if(Ge.html===true){addToSet(ge,b);addToSet(_e,v)}if(Ge.svg===true){addToSet(ge,w);addToSet(_e,C);addToSet(_e,I)}if(Ge.svgFilters===true){addToSet(ge,R);addToSet(_e,C);addToSet(_e,I)}if(Ge.mathMl===true){addToSet(ge,x);addToSet(_e,L);addToSet(_e,I)}}if(e.ADD_TAGS){ge===ye&&(ge=clone(ge));addToSet(ge,e.ADD_TAGS,lt)}if(e.ADD_ATTR){_e===Se&&(_e=clone(_e));addToSet(_e,e.ADD_ATTR,lt)}e.ADD_URI_SAFE_ATTR&&addToSet(Xe,e.ADD_URI_SAFE_ATTR,lt);if(e.FORBID_CONTENTS){Be===We&&(Be=clone(Be));addToSet(Be,e.FORBID_CONTENTS,lt)}ze&&(ge["#text"]=true);De&&addToSet(ge,["html","head","body"]);if(ge.table){addToSet(ge,["tbody"]);delete Ae.tbody}if(e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=="function")throw N('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=="function")throw N('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ee=e.TRUSTED_TYPES_POLICY;te=ee.createHTML("")}else{ee===void 0&&(ee=V(G,a));ee!==null&&typeof te==="string"&&(te=ee.createHTML(""))}r&&r(e);st=e}};const dt=addToSet({},[...w,...R,...k]);const ft=addToSet({},[...x,...O]);
58
58
  /**
59
59
  * @param element a DOM element whose namespace is being checked
60
60
  * @returns Return false if the element has a
61
61
  * namespace that a spec-compliant parser would never
62
62
  * return. Return true otherwise.
63
- */const ft=function _checkValidNamespace(e){let t=Z(e);t&&t.tagName||(t={namespaceURI:$e,tagName:"template"});const n=m(e.tagName);const o=m(t.tagName);return!!Ze[e.namespaceURI]&&(e.namespaceURI===qe?t.namespaceURI===Ve?n==="svg":t.namespaceURI===Xe?n==="svg"&&(o==="annotation-xml"||Qe[o]):Boolean(ut[n]):e.namespaceURI===Xe?t.namespaceURI===Ve?n==="math":t.namespaceURI===qe?n==="math"&&et[o]:Boolean(dt[n]):e.namespaceURI===Ve?!(t.namespaceURI===qe&&!et[o])&&(!(t.namespaceURI===Xe&&!Qe[o])&&(!dt[n]&&(tt[n]||!ut[n]))):!(nt!=="application/xhtml+xml"||!Ze[e.namespaceURI]))};
63
+ */const mt=function _checkValidNamespace(e){let t=Q(e);t&&t.tagName||(t={namespaceURI:Ze,tagName:"template"});const n=h(e.tagName);const o=h(t.tagName);return!!Qe[e.namespaceURI]&&(e.namespaceURI===$e?t.namespaceURI===Ke?n==="svg":t.namespaceURI===Ve?n==="svg"&&(o==="annotation-xml"||tt[o]):Boolean(dt[n]):e.namespaceURI===Ve?t.namespaceURI===Ke?n==="math":t.namespaceURI===$e?n==="math"&&nt[o]:Boolean(ft[n]):e.namespaceURI===Ke?!(t.namespaceURI===$e&&!nt[o])&&(!(t.namespaceURI===Ve&&!tt[o])&&(!ft[n]&&(ot[n]||!dt[n]))):!(at!=="application/xhtml+xml"||!Qe[e.namespaceURI]))};
64
64
  /**
65
65
  * _forceRemove
66
66
  *
67
67
  * @param node a DOM node
68
- */const mt=function _forceRemove(e){f(DOMPurify.removed,{element:e});try{Z(e).removeChild(e)}catch(t){V(e)}};
68
+ */const ht=function _forceRemove(e){f(DOMPurify.removed,{element:e});try{Q(e).removeChild(e)}catch(t){K(e)}};
69
69
  /**
70
70
  * _removeAttribute
71
71
  *
72
72
  * @param name an Attribute name
73
73
  * @param element a DOM node
74
- */const pt=function _removeAttribute(e,t){try{f(DOMPurify.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){f(DOMPurify.removed,{attribute:null,from:t})}t.removeAttribute(e);if(e==="is")if(Ce||Le)try{mt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}};
74
+ */const Tt=function _removeAttribute(e,t){try{f(DOMPurify.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){f(DOMPurify.removed,{attribute:null,from:t})}t.removeAttribute(e);if(e==="is")if(Le||Ie)try{ht(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}};
75
75
  /**
76
76
  * _initDocument
77
77
  *
78
78
  * @param dirty - a string of dirty markup
79
79
  * @return a DOM, filled with the dirty markup
80
- */const ht=function _initDocument(e){let t=null;let o=null;if(De)e="<remove></remove>"+e;else{const t=h(e,/^[\r\n\t ]+/);o=t&&t[0]}nt==="application/xhtml+xml"&&$e===Ve&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const a=J?J.createHTML(e):e;if($e===Ve)try{t=(new U).parseFromString(a,nt)}catch(e){}if(!t||!t.documentElement){t=ee.createDocument($e,"template",null);try{t.documentElement.innerHTML=Ke?Q:a}catch(e){}}const r=t.body||t.documentElement;e&&o&&r.insertBefore(n.createTextNode(o),r.childNodes[0]||null);return $e===Ve?oe.call(t,xe?"html":"body")[0]:xe?t.documentElement:r};
80
+ */const gt=function _initDocument(e){let t=null;let o=null;if(Ce)e="<remove></remove>"+e;else{const t=g(e,/^[\r\n\t ]+/);o=t&&t[0]}at==="application/xhtml+xml"&&Ze===Ke&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const a=ee?ee.createHTML(e):e;if(Ze===Ke)try{t=(new z).parseFromString(a,at)}catch(e){}if(!t||!t.documentElement){t=ne.createDocument(Ze,"template",null);try{t.documentElement.innerHTML=Je?te:a}catch(e){}}const r=t.body||t.documentElement;e&&o&&r.insertBefore(n.createTextNode(o),r.childNodes[0]||null);return Ze===Ke?re.call(t,De?"html":"body")[0]:De?t.documentElement:r};
81
81
  /**
82
82
  * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.
83
83
  *
84
84
  * @param root The root element or node to start traversing on.
85
85
  * @return The created NodeIterator
86
- */const Tt=function _createNodeIterator(e){return te.call(e.ownerDocument||e,e,M.SHOW_ELEMENT|M.SHOW_COMMENT|M.SHOW_TEXT|M.SHOW_PROCESSING_INSTRUCTION|M.SHOW_CDATA_SECTION,null)};
86
+ */const yt=function _createNodeIterator(e){return oe.call(e.ownerDocument||e,e,P.SHOW_ELEMENT|P.SHOW_COMMENT|P.SHOW_TEXT|P.SHOW_PROCESSING_INSTRUCTION|P.SHOW_CDATA_SECTION,null)};
87
87
  /**
88
88
  * _isClobbered
89
89
  *
90
90
  * @param element element to check for clobbering attacks
91
91
  * @return true if clobbered, false if safe
92
- */const gt=function _isClobbered(e){return e instanceof P&&(typeof e.nodeName!=="string"||typeof e.textContent!=="string"||typeof e.removeChild!=="function"||!(e.attributes instanceof I)||typeof e.removeAttribute!=="function"||typeof e.setAttribute!=="function"||typeof e.namespaceURI!=="string"||typeof e.insertBefore!=="function"||typeof e.hasChildNodes!=="function")};
92
+ */const _t=function _isClobbered(e){return e instanceof H&&(typeof e.nodeName!=="string"||typeof e.textContent!=="string"||typeof e.removeChild!=="function"||!(e.attributes instanceof U)||typeof e.removeAttribute!=="function"||typeof e.setAttribute!=="function"||typeof e.namespaceURI!=="string"||typeof e.insertBefore!=="function"||typeof e.hasChildNodes!=="function")};
93
93
  /**
94
94
  * Checks whether the given object is a DOM node.
95
95
  *
96
96
  * @param value object to check whether it's a DOM node
97
97
  * @return true is object is a DOM node
98
- */const yt=function _isNode(e){return typeof s==="function"&&e instanceof s};function _executeHooks(e,t,n){u(e,(e=>{e.call(DOMPurify,t,n,it)}))}
98
+ */const St=function _isNode(e){return typeof c==="function"&&e instanceof c};function _executeHooks(e,t,n){u(e,(e=>{e.call(DOMPurify,t,n,st)}))}
99
99
  /**
100
100
  * _sanitizeElements
101
101
  *
@@ -104,7 +104,7 @@ const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescr
104
104
  * @protect removeChild
105
105
  * @param currentNode to check for permission to exist
106
106
  * @return true if node was killed, false if left alive
107
- */const _t=function _sanitizeElements(e){let t=null;_executeHooks(re.beforeSanitizeElements,e,null);if(gt(e)){mt(e);return true}const n=rt(e.nodeName);_executeHooks(re.uponSanitizeElement,e,{tagName:n,allowedTags:he});if(e.hasChildNodes()&&!yt(e.firstElementChild)&&S(/<[/\w]/g,e.innerHTML)&&S(/<[/\w]/g,e.textContent)){mt(e);return true}if(e.nodeType===Y.progressingInstruction){mt(e);return true}if(ke&&e.nodeType===Y.comment&&S(/<[/\w]/g,e.data)){mt(e);return true}if(!he[n]||Se[n]){if(!Se[n]&&Et(n)){if(_e.tagNameCheck instanceof RegExp&&S(_e.tagNameCheck,n))return false;if(_e.tagNameCheck instanceof Function&&_e.tagNameCheck(n))return false}if(Ue&&!Fe[n]){const t=Z(e)||e.parentNode;const n=K(e)||e.childNodes;if(n&&t){const o=n.length;for(let a=o-1;a>=0;--a){const o=B(n[a],true);o.__removalCount=(e.__removalCount||0)+1;t.insertBefore(o,$(e))}}}mt(e);return true}if(e instanceof v&&!ft(e)){mt(e);return true}if((n==="noscript"||n==="noembed"||n==="noframes")&&S(/<\/no(script|embed|frames)/i,e.innerHTML)){mt(e);return true}if(Re&&e.nodeType===Y.text){t=e.textContent;u([ie,le,ce],(e=>{t=T(t,e," ")}));if(e.textContent!==t){f(DOMPurify.removed,{element:e.cloneNode()});e.textContent=t}}_executeHooks(re.afterSanitizeElements,e,null);return false};
107
+ */const Et=function _sanitizeElements(e){let t=null;_executeHooks(le.beforeSanitizeElements,e,null);if(_t(e)){ht(e);return true}const n=lt(e.nodeName);_executeHooks(le.uponSanitizeElement,e,{tagName:n,allowedTags:ge});if(e.hasChildNodes()&&!St(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)){ht(e);return true}if(e.nodeType===X.progressingInstruction){ht(e);return true}if(Oe&&e.nodeType===X.comment&&A(/<[/\w]/g,e.data)){ht(e);return true}if(!ge[n]||Ae[n]){if(!Ae[n]&&Nt(n)){if(Ee.tagNameCheck instanceof RegExp&&A(Ee.tagNameCheck,n))return false;if(Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(n))return false}if(ze&&!Be[n]){const t=Q(e)||e.parentNode;const n=J(e)||e.childNodes;if(n&&t){const o=n.length;for(let a=o-1;a>=0;--a){const o=Y(n[a],true);o.__removalCount=(e.__removalCount||0)+1;t.insertBefore(o,Z(e))}}}ht(e);return true}if(e instanceof M&&!mt(e)){ht(e);return true}if((n==="noscript"||n==="noembed"||n==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)){ht(e);return true}if(xe&&e.nodeType===X.text){t=e.textContent;u([se,ce,ue],(e=>{t=y(t,e," ")}));if(e.textContent!==t){f(DOMPurify.removed,{element:e.cloneNode()});e.textContent=t}}_executeHooks(le.afterSanitizeElements,e,null);return false};
108
108
  /**
109
109
  * _isValidAttribute
110
110
  *
@@ -112,7 +112,7 @@ const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescr
112
112
  * @param lcName Lowercase attribute name.
113
113
  * @param value Attribute value.
114
114
  * @return Returns true if `value` is valid, otherwise false.
115
- */const St=function _isValidAttribute(e,t,o){if(Me&&(t==="id"||t==="name")&&(o in n||o in lt))return false;if(Ne&&!Ee[t]&&S(se,t));else if(Ae&&S(ue,t));else if(!ge[t]||Ee[t]){if(!(Et(e)&&(_e.tagNameCheck instanceof RegExp&&S(_e.tagNameCheck,e)||_e.tagNameCheck instanceof Function&&_e.tagNameCheck(e))&&(_e.attributeNameCheck instanceof RegExp&&S(_e.attributeNameCheck,t)||_e.attributeNameCheck instanceof Function&&_e.attributeNameCheck(t))||t==="is"&&_e.allowCustomizedBuiltInElements&&(_e.tagNameCheck instanceof RegExp&&S(_e.tagNameCheck,o)||_e.tagNameCheck instanceof Function&&_e.tagNameCheck(o))))return false}else if(Ye[t]);else if(S(pe,T(o,fe,"")));else if(t!=="src"&&t!=="xlink:href"&&t!=="href"||e==="script"||g(o,"data:")!==0||!Be[e]){if(be&&!S(de,T(o,fe,"")));else if(o)return false}else;return true};
115
+ */const At=function _isValidAttribute(e,t,o){if(Pe&&(t==="id"||t==="name")&&(o in n||o in ct))return false;if(we&&!Ne[t]&&A(pe,t));else if(be&&A(de,t));else if(!_e[t]||Ne[t]){if(!(Nt(e)&&(Ee.tagNameCheck instanceof RegExp&&A(Ee.tagNameCheck,e)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(e))&&(Ee.attributeNameCheck instanceof RegExp&&A(Ee.attributeNameCheck,t)||Ee.attributeNameCheck instanceof Function&&Ee.attributeNameCheck(t))||t==="is"&&Ee.allowCustomizedBuiltInElements&&(Ee.tagNameCheck instanceof RegExp&&A(Ee.tagNameCheck,o)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(o))))return false}else if(Xe[t]);else if(A(Te,y(o,me,"")));else if(t!=="src"&&t!=="xlink:href"&&t!=="href"||e==="script"||_(o,"data:")!==0||!Ye[e]){if(Re&&!A(fe,y(o,me,"")));else if(o)return false}else;return true};
116
116
  /**
117
117
  * _isBasicCustomElement
118
118
  * checks if at least one dash is included in tagName, and it's not the first char
@@ -120,7 +120,7 @@ const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescr
120
120
  *
121
121
  * @param tagName name of the tag of the node to sanitize
122
122
  * @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false.
123
- */const Et=function _isBasicCustomElement(e){return e!=="annotation-xml"&&h(e,me)};
123
+ */const Nt=function _isBasicCustomElement(e){return e!=="annotation-xml"&&g(e,he)};
124
124
  /**
125
125
  * _sanitizeAttributes
126
126
  *
@@ -130,10 +130,10 @@ const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescr
130
130
  * @protect setAttribute
131
131
  *
132
132
  * @param currentNode to sanitize
133
- */const At=function _sanitizeAttributes(e){_executeHooks(re.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||gt(e))return;const n={attrName:"",attrValue:"",keepAttr:true,allowedAttributes:ge,forceKeepAttr:void 0};let o=t.length;while(o--){const a=t[o];const{name:r,namespaceURI:i,value:l}=a;const c=rt(r);let s=r==="value"?l:y(l);n.attrName=c;n.attrValue=s;n.keepAttr=true;n.forceKeepAttr=void 0;_executeHooks(re.uponSanitizeAttribute,e,n);s=n.attrValue;if(Ie&&(c==="id"||c==="name")){pt(r,e);s=Pe+s}if(ke&&S(/((--!?|])>)|<\/(style|title)/i,s)){pt(r,e);continue}if(n.forceKeepAttr)continue;pt(r,e);if(!n.keepAttr)continue;if(!we&&S(/\/>/i,s)){pt(r,e);continue}Re&&u([ie,le,ce],(e=>{s=T(s,e," ")}));const f=rt(e.nodeName);if(St(f,c,s)){if(J&&typeof z==="object"&&typeof z.getAttributeType==="function")if(i);else switch(z.getAttributeType(f,c)){case"TrustedHTML":s=J.createHTML(s);break;case"TrustedScriptURL":s=J.createScriptURL(s);break}try{i?e.setAttributeNS(i,r,s):e.setAttribute(r,s);gt(e)?mt(e):d(DOMPurify.removed)}catch(e){}}}_executeHooks(re.afterSanitizeAttributes,e,null)};
133
+ */const bt=function _sanitizeAttributes(e){_executeHooks(le.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||_t(e))return;const n={attrName:"",attrValue:"",keepAttr:true,allowedAttributes:_e,forceKeepAttr:void 0};let o=t.length;while(o--){const a=t[o];const{name:r,namespaceURI:i,value:l}=a;const s=lt(r);let c=r==="value"?l:S(l);n.attrName=s;n.attrValue=c;n.keepAttr=true;n.forceKeepAttr=void 0;_executeHooks(le.uponSanitizeAttribute,e,n);c=n.attrValue;if(Ue&&(s==="id"||s==="name")){Tt(r,e);c=He+c}if(Oe&&A(/((--!?|])>)|<\/(style|title)/i,c)){Tt(r,e);continue}if(n.forceKeepAttr)continue;Tt(r,e);if(!n.keepAttr)continue;if(!ke&&A(/\/>/i,c)){Tt(r,e);continue}xe&&u([se,ce,ue],(e=>{c=y(c,e," ")}));const p=lt(e.nodeName);if(At(p,s,c)){if(ee&&typeof G==="object"&&typeof G.getAttributeType==="function")if(i);else switch(G.getAttributeType(p,s)){case"TrustedHTML":c=ee.createHTML(c);break;case"TrustedScriptURL":c=ee.createScriptURL(c);break}try{i?e.setAttributeNS(i,r,c):e.setAttribute(r,c);_t(e)?ht(e):d(DOMPurify.removed)}catch(e){}}}_executeHooks(le.afterSanitizeAttributes,e,null)};
134
134
  /**
135
135
  * _sanitizeShadowDOM
136
136
  *
137
137
  * @param fragment to iterate over recursively
138
- */const Nt=function _sanitizeShadowDOM(e){let t=null;const n=Tt(e);_executeHooks(re.beforeSanitizeShadowDOM,e,null);while(t=n.nextNode()){_executeHooks(re.uponSanitizeShadowNode,t,null);_t(t);At(t);t.content instanceof i&&_sanitizeShadowDOM(t.content)}_executeHooks(re.afterSanitizeShadowDOM,e,null)};DOMPurify.sanitize=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};let n=null;let a=null;let r=null;let l=null;Ke=!e;Ke&&(e="\x3c!--\x3e");if(typeof e!=="string"&&!yt(e)){if(typeof e.toString!=="function")throw E("toString is not a function");e=e.toString();if(typeof e!=="string")throw E("dirty is not a string, aborting")}if(!DOMPurify.isSupported)return e;Oe||st(t);DOMPurify.removed=[];typeof e==="string"&&(He=false);if(He){if(e.nodeName){const t=rt(e.nodeName);if(!he[t]||Se[t])throw E("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof s){n=ht("\x3c!----\x3e");a=n.ownerDocument.importNode(e,true);a.nodeType===Y.element&&a.nodeName==="BODY"||a.nodeName==="HTML"?n=a:n.appendChild(a)}else{if(!Ce&&!Re&&!xe&&e.indexOf("<")===-1)return J&&ve?J.createHTML(e):e;n=ht(e);if(!n)return Ce?null:ve?Q:""}n&&De&&mt(n.firstChild);const c=Tt(He?e:n);while(r=c.nextNode()){_t(r);At(r);r.content instanceof i&&Nt(r.content)}if(He)return e;if(Ce){if(Le){l=ne.call(n.ownerDocument);while(n.firstChild)l.appendChild(n.firstChild)}else l=n;(ge.shadowroot||ge.shadowrootmode)&&(l=ae.call(o,l,true));return l}let d=xe?n.outerHTML:n.innerHTML;xe&&he["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&S(G,n.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+d);Re&&u([ie,le,ce],(e=>{d=T(d,e," ")}));return J&&ve?J.createHTML(d):d};DOMPurify.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};st(e);Oe=true};DOMPurify.clearConfig=function(){it=null;Oe=false};DOMPurify.isValidAttribute=function(e,t,n){it||st({});const o=rt(e);const a=rt(t);return St(o,a,n)};DOMPurify.addHook=function(e,t){typeof t==="function"&&f(re[e],t)};DOMPurify.removeHook=function(e){return d(re[e])};DOMPurify.removeHooks=function(e){re[e]=[]};DOMPurify.removeAllHooks=function(){re=q()};return DOMPurify}var V=createDOMPurify();export{V as default};
138
+ */const wt=function _sanitizeShadowDOM(e){let t=null;const n=yt(e);_executeHooks(le.beforeSanitizeShadowDOM,e,null);while(t=n.nextNode()){_executeHooks(le.uponSanitizeShadowNode,t,null);Et(t);bt(t);t.content instanceof i&&_sanitizeShadowDOM(t.content)}_executeHooks(le.afterSanitizeShadowDOM,e,null)};DOMPurify.sanitize=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};let n=null;let a=null;let r=null;let l=null;Je=!e;Je&&(e="\x3c!--\x3e");if(typeof e!=="string"&&!St(e)){if(typeof e.toString!=="function")throw N("toString is not a function");e=e.toString();if(typeof e!=="string")throw N("dirty is not a string, aborting")}if(!DOMPurify.isSupported)return e;ve||pt(t);DOMPurify.removed=[];typeof e==="string"&&(Fe=false);if(Fe){if(e.nodeName){const t=lt(e.nodeName);if(!ge[t]||Ae[t])throw N("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof c){n=gt("\x3c!----\x3e");a=n.ownerDocument.importNode(e,true);a.nodeType===X.element&&a.nodeName==="BODY"||a.nodeName==="HTML"?n=a:n.appendChild(a)}else{if(!Le&&!xe&&!De&&e.indexOf("<")===-1)return ee&&Me?ee.createHTML(e):e;n=gt(e);if(!n)return Le?null:Me?te:""}n&&Ce&&ht(n.firstChild);const s=yt(Fe?e:n);while(r=s.nextNode()){Et(r);bt(r);r.content instanceof i&&wt(r.content)}if(Fe)return e;if(Le){if(Ie){l=ae.call(n.ownerDocument);while(n.firstChild)l.appendChild(n.firstChild)}else l=n;(_e.shadowroot||_e.shadowrootmode)&&(l=ie.call(o,l,true));return l}let p=De?n.outerHTML:n.innerHTML;De&&ge["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&A(W,n.ownerDocument.doctype.name)&&(p="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+p);xe&&u([se,ce,ue],(e=>{p=y(p,e," ")}));return ee&&Me?ee.createHTML(p):p};DOMPurify.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};pt(e);ve=true};DOMPurify.clearConfig=function(){st=null;ve=false};DOMPurify.isValidAttribute=function(e,t,n){st||pt({});const o=lt(e);const a=lt(t);return At(o,a,n)};DOMPurify.addHook=function(e,t){typeof t==="function"&&f(le[e],t)};DOMPurify.removeHook=function(e,t){if(t!==void 0){const n=p(le[e],t);return n===-1?void 0:m(le[e],n,1)[0]}return d(le[e])};DOMPurify.removeHooks=function(e){le[e]=[]};DOMPurify.removeAllHooks=function(){le=$()};return DOMPurify}var K=createDOMPurify();export{K as default};
139
139
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.3
4
+ version: 5.1.0.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vendo Connect Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-06 00:00:00.000000000 Z
11
+ date: 2025-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spree_core
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.0.3
19
+ version: 5.1.0.beta
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 5.0.3
26
+ version: 5.1.0.beta
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: spree_api
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 5.0.3
33
+ version: 5.1.0.beta
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 5.0.3
40
+ version: 5.1.0.beta
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: active_link_to
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,6 +72,20 @@ dependencies:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: 4.6.2.1
75
+ - !ruby/object:Gem::Dependency
76
+ name: breadcrumbs_on_rails
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '4.1'
82
+ type: :runtime
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '4.1'
75
89
  - !ruby/object:Gem::Dependency
76
90
  name: chartkick
77
91
  requirement: !ruby/object:Gem::Requirement
@@ -266,6 +280,7 @@ files:
266
280
  - Rakefile
267
281
  - app/assets/config/spree_admin_manifest.js
268
282
  - app/assets/images/favicon_256x256.png
283
+ - app/assets/images/login_sidebar_background.png
269
284
  - app/assets/stylesheets/spree/admin/actiontext.css
270
285
  - app/assets/stylesheets/spree/admin/application.scss
271
286
  - app/assets/stylesheets/spree/admin/components/_alerts.scss
@@ -311,11 +326,17 @@ files:
311
326
  - app/assets/stylesheets/spree/admin/views/_dashboard.scss
312
327
  - app/assets/stylesheets/spree/admin/views/_page_builder.scss
313
328
  - app/controllers/concerns/spree/admin/analytics_concern.rb
329
+ - app/controllers/concerns/spree/admin/breadcrumb_concern.rb
314
330
  - app/controllers/concerns/spree/admin/bulk_operations_concern.rb
315
331
  - app/controllers/concerns/spree/admin/order_concern.rb
316
332
  - app/controllers/concerns/spree/admin/page_builder_concern.rb
333
+ - app/controllers/concerns/spree/admin/preferences_concern.rb
334
+ - app/controllers/concerns/spree/admin/products_breadcrumb_concern.rb
335
+ - app/controllers/concerns/spree/admin/promotions_breadcrumb_concern.rb
336
+ - app/controllers/concerns/spree/admin/storefront_breadcrumb_concern.rb
317
337
  - app/controllers/spree/admin/action_text/video_embeds_controller.rb
318
338
  - app/controllers/spree/admin/addresses_controller.rb
339
+ - app/controllers/spree/admin/admin_users_controller.rb
319
340
  - app/controllers/spree/admin/assets_controller.rb
320
341
  - app/controllers/spree/admin/base_controller.rb
321
342
  - app/controllers/spree/admin/checkouts_controller.rb
@@ -327,6 +348,8 @@ files:
327
348
  - app/controllers/spree/admin/digital_assets_controller.rb
328
349
  - app/controllers/spree/admin/errors_controller.rb
329
350
  - app/controllers/spree/admin/exports_controller.rb
351
+ - app/controllers/spree/admin/integrations_controller.rb
352
+ - app/controllers/spree/admin/invitations_controller.rb
330
353
  - app/controllers/spree/admin/line_items_controller.rb
331
354
  - app/controllers/spree/admin/oauth_applications_controller.rb
332
355
  - app/controllers/spree/admin/option_types_controller.rb
@@ -362,6 +385,7 @@ files:
362
385
  - app/controllers/spree/admin/return_authorization_reasons_controller.rb
363
386
  - app/controllers/spree/admin/return_authorizations_controller.rb
364
387
  - app/controllers/spree/admin/return_items_controller.rb
388
+ - app/controllers/spree/admin/role_users_controller.rb
365
389
  - app/controllers/spree/admin/roles_controller.rb
366
390
  - app/controllers/spree/admin/shipments_controller.rb
367
391
  - app/controllers/spree/admin/shipping_categories_controller.rb
@@ -379,6 +403,8 @@ files:
379
403
  - app/controllers/spree/admin/taxons_controller.rb
380
404
  - app/controllers/spree/admin/themes_controller.rb
381
405
  - app/controllers/spree/admin/translations_controller.rb
406
+ - app/controllers/spree/admin/user_passwords_controller.rb
407
+ - app/controllers/spree/admin/user_sessions_controller.rb
382
408
  - app/controllers/spree/admin/users_controller.rb
383
409
  - app/controllers/spree/admin/variants_controller.rb
384
410
  - app/controllers/spree/admin/webhooks_subscribers_controller.rb
@@ -454,7 +480,6 @@ files:
454
480
  - app/javascript/spree/admin/controllers/store_form_controller.js
455
481
  - app/javascript/spree/admin/controllers/unit_system_controller.js
456
482
  - app/javascript/spree/admin/controllers/variants_form_controller.js
457
- - app/javascript/spree/admin/controllers/webhook_subscriber_events_controller.js
458
483
  - app/javascript/spree/admin/helpers/bootstrap.js
459
484
  - app/javascript/spree/admin/helpers/canvas.js
460
485
  - app/javascript/spree/admin/helpers/index.js
@@ -472,9 +497,17 @@ files:
472
497
  - app/views/kaminari/admin-twitter-bootstrap-4/_paginator.html.erb
473
498
  - app/views/kaminari/admin-twitter-bootstrap-4/_prev_page.html.erb
474
499
  - app/views/layouts/spree/admin.html.erb
500
+ - app/views/layouts/spree/minimal.html.erb
475
501
  - app/views/layouts/spree/page_builder.html.erb
476
502
  - app/views/spree/admin/addresses/edit.html.erb
477
503
  - app/views/spree/admin/addresses/new.html.erb
504
+ - app/views/spree/admin/admin_users/_admin_user.html.erb
505
+ - app/views/spree/admin/admin_users/_audit_log.html.erb
506
+ - app/views/spree/admin/admin_users/_form.html.erb
507
+ - app/views/spree/admin/admin_users/edit.html.erb
508
+ - app/views/spree/admin/admin_users/index.html.erb
509
+ - app/views/spree/admin/admin_users/new.html.erb
510
+ - app/views/spree/admin/admin_users/show.html.erb
478
511
  - app/views/spree/admin/assets/bulk_destroy.turbo_stream.erb
479
512
  - app/views/spree/admin/assets/create.turbo_stream.erb
480
513
  - app/views/spree/admin/assets/destroy.turbo_stream.erb
@@ -525,6 +558,15 @@ files:
525
558
  - app/views/spree/admin/exports/create.turbo_stream.erb
526
559
  - app/views/spree/admin/exports/index.html.erb
527
560
  - app/views/spree/admin/exports/new.html.erb
561
+ - app/views/spree/admin/integrations/_integration.html.erb
562
+ - app/views/spree/admin/integrations/edit.html.erb
563
+ - app/views/spree/admin/integrations/index.html.erb
564
+ - app/views/spree/admin/integrations/new.html.erb
565
+ - app/views/spree/admin/invitations/_invitation.html.erb
566
+ - app/views/spree/admin/invitations/create.turbo_stream.erb
567
+ - app/views/spree/admin/invitations/index.html.erb
568
+ - app/views/spree/admin/invitations/new.html.erb
569
+ - app/views/spree/admin/invitations/show.html.erb
528
570
  - app/views/spree/admin/line_items/edit.html.erb
529
571
  - app/views/spree/admin/line_items/new.html.erb
530
572
  - app/views/spree/admin/oauth_applications/_form.html.erb
@@ -827,6 +869,7 @@ files:
827
869
  - app/views/spree/admin/shared/_alerts.html.erb
828
870
  - app/views/spree/admin/shared/_analytics_loader_skeleton.html.erb
829
871
  - app/views/spree/admin/shared/_audit_nav.html.erb
872
+ - app/views/spree/admin/shared/_breadcrumbs.html.erb
830
873
  - app/views/spree/admin/shared/_bulk_modal.html.erb
831
874
  - app/views/spree/admin/shared/_calculator_fields.html.erb
832
875
  - app/views/spree/admin/shared/_calendar_range_picker.html.erb
@@ -848,6 +891,7 @@ files:
848
891
  - app/views/spree/admin/shared/_map.html.erb
849
892
  - app/views/spree/admin/shared/_modal.html.erb
850
893
  - app/views/spree/admin/shared/_multi_product_picker.html.erb
894
+ - app/views/spree/admin/shared/_new_item_dropdown.html.erb
851
895
  - app/views/spree/admin/shared/_new_resource_links.html.erb
852
896
  - app/views/spree/admin/shared/_no_image.html.erb
853
897
  - app/views/spree/admin/shared/_no_resource_found.html.erb
@@ -865,8 +909,10 @@ files:
865
909
  - app/views/spree/admin/shared/_spinner.html.erb
866
910
  - app/views/spree/admin/shared/_stock_nav.html.erb
867
911
  - app/views/spree/admin/shared/_tax_nav.html.erb
912
+ - app/views/spree/admin/shared/_team_nav.html.erb
868
913
  - app/views/spree/admin/shared/_user.html.erb
869
914
  - app/views/spree/admin/shared/_user_dropdown.html.erb
915
+ - app/views/spree/admin/shared/devise/_links.html.erb
870
916
  - app/views/spree/admin/shared/named_types/_edit.html.erb
871
917
  - app/views/spree/admin/shared/named_types/_form.html.erb
872
918
  - app/views/spree/admin/shared/named_types/_new.html.erb
@@ -875,6 +921,7 @@ files:
875
921
  - app/views/spree/admin/shared/sidebar/_integrations_nav.html.erb
876
922
  - app/views/spree/admin/shared/sidebar/_orders_nav.html.erb
877
923
  - app/views/spree/admin/shared/sidebar/_products_nav.html.erb
924
+ - app/views/spree/admin/shared/sidebar/_promotions_nav.html.erb
878
925
  - app/views/spree/admin/shared/sidebar/_returns_nav.html.erb
879
926
  - app/views/spree/admin/shared/sidebar/_store_dropdown.html.erb
880
927
  - app/views/spree/admin/shared/sidebar/_store_nav.html.erb
@@ -891,6 +938,12 @@ files:
891
938
  - app/views/spree/admin/shipping_methods/_form.html.erb
892
939
  - app/views/spree/admin/shipping_methods/_shipping_method.html.erb
893
940
  - app/views/spree/admin/shipping_methods/edit.html.erb
941
+ - app/views/spree/admin/shipping_methods/form/_display.html.erb
942
+ - app/views/spree/admin/shipping_methods/form/_estimated_transit_business_days.html.erb
943
+ - app/views/spree/admin/shipping_methods/form/_shipping_categories.html.erb
944
+ - app/views/spree/admin/shipping_methods/form/_tax_category.html.erb
945
+ - app/views/spree/admin/shipping_methods/form/_tracking_url.html.erb
946
+ - app/views/spree/admin/shipping_methods/form/_zones.html.erb
894
947
  - app/views/spree/admin/shipping_methods/index.html.erb
895
948
  - app/views/spree/admin/shipping_methods/new.html.erb
896
949
  - app/views/spree/admin/shipping_methods/update.turbo_stream.erb
@@ -969,6 +1022,9 @@ files:
969
1022
  - app/views/spree/admin/translations/stores/_form.html.erb
970
1023
  - app/views/spree/admin/translations/taxonomies/_form.html.erb
971
1024
  - app/views/spree/admin/translations/taxons/_form.html.erb
1025
+ - app/views/spree/admin/user_passwords/edit.html.erb
1026
+ - app/views/spree/admin/user_passwords/new.html.erb
1027
+ - app/views/spree/admin/user_sessions/new.html.erb
972
1028
  - app/views/spree/admin/users/_billing.html.erb
973
1029
  - app/views/spree/admin/users/_details.html.erb
974
1030
  - app/views/spree/admin/users/_extra_actions.html.erb
@@ -1059,9 +1115,9 @@ licenses:
1059
1115
  - AGPL-3.0-or-later
1060
1116
  metadata:
1061
1117
  bug_tracker_uri: https://github.com/spree/spree/issues
1062
- changelog_uri: https://github.com/spree/spree/releases/tag/v5.0.3
1118
+ changelog_uri: https://github.com/spree/spree/releases/tag/v5.1.0.beta
1063
1119
  documentation_uri: https://docs.spreecommerce.org/
1064
- source_code_uri: https://github.com/spree/spree/tree/v5.0.3
1120
+ source_code_uri: https://github.com/spree/spree/tree/v5.1.0.beta
1065
1121
  post_install_message:
1066
1122
  rdoc_options: []
1067
1123
  require_paths:
@@ -1,19 +0,0 @@
1
- import { Controller } from '@hotwired/stimulus'
2
-
3
- export default class extends Controller {
4
- static targets = ['eventsCheckboxesContainer', 'subscribeToAll']
5
-
6
- hideCheckboxes() {
7
- this.eventsCheckboxesContainerTarget.classList.add('d-none')
8
- }
9
-
10
- showCheckboxes() {
11
- this.eventsCheckboxesContainerTarget.classList.remove('d-none')
12
- }
13
-
14
- initialize() {
15
- if (this.subscribeToAllTarget.checked) {
16
- this.hideCheckboxes()
17
- }
18
- }
19
- }