phcthemes_web_theme_pack 5.0.11 → 5.0.13
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.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/antlr/default/phcthemes_web_theme_pack_antlr.scss +6 -1
- data/app/assets/stylesheets/antlr/theme/css/filter.css +7 -7
- data/app/assets/stylesheets/antlr/theme/css/rtl/style-rtl.css +2 -2
- data/app/assets/stylesheets/antlr/theme/css/{style.scss → stock-style.css} +303 -313
- data/app/assets/stylesheets/antlr/theme/css/style.css +8488 -0
- data/app/assets/stylesheets/antlr/theme/css/style.min.css +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/cloudicon/Cloudicon.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/Instagram.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/add.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/aid.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/alarm.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/alert.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/alpha.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/analytics.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/android.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/apple.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/audio.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/award.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/ballon.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/basketshop.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/battery.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/bell.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/bitcoin.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/blog.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/bluetooth.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/book.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/bookmark.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/branch.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/briefcase.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/browser.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/brush.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/bubble.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/builder.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/bulb.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/businesman.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/calendar.svg +5 -5
- data/app/assets/stylesheets/antlr/theme/fonts/svg/card.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cart.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cartdown.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cartnull.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cartup.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cctv.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/center.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/ceo.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/chart.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/check.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/clip.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/clock.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/close.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cloudconnect.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cloudfast.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cloudfiber.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cloudlinux.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cloudmanaged.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cloudown.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cloudowner.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cloudsecurity.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cloudserver.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cloudup.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cloudwindows.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cluster.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/code.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/coffe.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/color.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/compare.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/compass.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/container.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/coupon.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/cpu.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/crown.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/danger.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/database.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/dedicated.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/delete.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/designed.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/desktop.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/device.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/diagram.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/diamond.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/direction.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/directions.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/disabled.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/diskette.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/display.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/docbox.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/document.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/dollar.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/domains.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/domainserver.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/doubleleft.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/doubleright.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/download.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/dribbble.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/drink.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/drives.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/drivessd.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/drone.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/drop.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/dropbox.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/duality.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/dvd.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/eco.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/ecommerce.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/editable.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/email.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/emailopen.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/empty.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/energy.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/euro.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/eye.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/facebook.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/factory.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/favorite.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/features.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/female.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/filter.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/financial.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/firewall.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/flagpoint.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/flash.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/folder.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/free.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/freenetwork.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/frequency.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/full.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/fullscreen.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/gaming.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/gift.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/git.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/github.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/glasses.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/global.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/globe.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/goal.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/googleplus.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/graduation.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/grow.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/hand.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/hat.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/headphones.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/helpdesk.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/hierarchy.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/house.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/housebird.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/html5.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/inbox.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/index.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/indicateleft.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/indicateright.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/infrastructure.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/interface.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/internet.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/inverse.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/key.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/label.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/laptop.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/latency.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/law.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/layers.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/learning.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/led.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/left.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/less.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/link.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/linkedin.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/linux.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/linuxserver.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/livechat.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/location.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/lock.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/log.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/magnetic.svg +6 -6
- data/app/assets/stylesheets/antlr/theme/fonts/svg/mailbox.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/maintenance.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/man.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/managedserver.svg +6 -6
- data/app/assets/stylesheets/antlr/theme/fonts/svg/map.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/medal.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/meeting.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/megaphone.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/menu.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/metric.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/mobile.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/money.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/monitor.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/mouse.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/move.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/movie.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/music.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/mute.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/navigation.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/network.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/notes.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/objective.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/on.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/pacman.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/paper.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/paypal.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/phone.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/pic.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/pin.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/pinterest.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/placard.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/plane.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/play.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/playstore.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/plug.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/plus.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/point.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/points.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/pound.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/preferences.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/print.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/privacy.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/private.svg +6 -6
- data/app/assets/stylesheets/antlr/theme/fonts/svg/progress.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/protected.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/protection.svg +10 -10
- data/app/assets/stylesheets/antlr/theme/fonts/svg/qrcode.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/question.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/rack.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/ram.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/random.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/rate.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/recycle.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/redundancy.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/refresh.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/regression.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/reload.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/repair.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/report.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/reseller.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/resize.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/ribbon.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/right.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/robot.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/router.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/sad.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/savings.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/science.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/security.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/servers.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/settings.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/shared.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/shipping.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/shop.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/sinal.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/smile.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/snapchat.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/solid.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/solution.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/spam.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/stable.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/star.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/statuette.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/strategy.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/stream.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/structure.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/sun.svg +8 -8
- data/app/assets/stylesheets/antlr/theme/fonts/svg/support.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/surprise.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/switch.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/sync.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/tablet.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/tag.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/talk.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/target.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/tea.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/technology.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/telescope.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/thumbdown.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/thumbup.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/ticket.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/time.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/timer.svg +5 -5
- data/app/assets/stylesheets/antlr/theme/fonts/svg/tools.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/fonts/svg/toxic.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/twitter.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/umbrella.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/unlock.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/upgrade.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/upload.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/ups.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/usb.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/user.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/vault.svg +7 -7
- data/app/assets/stylesheets/antlr/theme/fonts/svg/video.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/vimeo.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/virus.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/vps.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/wallet.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/water.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/wifi.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/win.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/wind.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/window.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/windows.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/windowserver.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/fonts/svg/wine.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/wink.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/woman.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/wordpress.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/fonts/svg/youtube.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/fonts/svg/zoom.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/patterns/alldevices.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/patterns/api.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/patterns/backups.svg +5 -5
- data/app/assets/stylesheets/antlr/theme/patterns/balancing-rtl.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/patterns/balancing.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/patterns/blackfriday.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/patterns/blackfriday25.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/patterns/cloud3d.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/patterns/cloudvps.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/patterns/cock.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/patterns/commercialman.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/patterns/controlpanel.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/patterns/controlplesk.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/patterns/dbaashigh.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/patterns/dbaasscale.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/patterns/dbaassecure.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/patterns/ddosalways.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/patterns/ddoslayers.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/patterns/dedicatedserver3d.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/patterns/dns.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/patterns/domainmanage.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/patterns/domainrenewal.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/patterns/domains.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/patterns/efficiency.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/patterns/emailcalendar.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/patterns/emailsecurity.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/patterns/emailsync.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/patterns/gaming.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/patterns/git.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/patterns/gitpull.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/patterns/hardware.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/patterns/install.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/patterns/iptv.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/patterns/iptvdevices.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/patterns/kangaroo.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/patterns/lion.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/patterns/maxsecurity.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/patterns/monitoring.svg +5 -5
- data/app/assets/stylesheets/antlr/theme/patterns/notfound.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/patterns/os.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/patterns/performance.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/patterns/promo-w.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/patterns/protectvisitors.svg +5 -5
- data/app/assets/stylesheets/antlr/theme/patterns/provisioning.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/patterns/quarantine.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/patterns/rack.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/patterns/radiostream.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/patterns/ranking.svg +2 -2
- data/app/assets/stylesheets/antlr/theme/patterns/redundant.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/patterns/salesman.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/patterns/scalable.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/patterns/soon.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/patterns/ssd.svg +3 -3
- data/app/assets/stylesheets/antlr/theme/patterns/ssl.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/patterns/support.svg +4 -4
- data/app/assets/stylesheets/antlr/theme/patterns/supportman.svg +1 -1
- data/app/assets/stylesheets/antlr/theme/patterns/virtualnumbers.svg +5 -5
- data/app/assets/stylesheets/antlr/theme/patterns/voice.svg +5 -5
- data/app/assets/stylesheets/antlr/theme/patterns/voip.svg +5 -5
- data/app/assets/stylesheets/antlr/theme/patterns/worldstream.svg +3 -3
- data/app/assets/stylesheets/common/fontawesome/css/all.css +12785 -0
- data/app/assets/stylesheets/common/fontawesome/css/all.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/brands.css +15 -0
- data/app/assets/stylesheets/common/fontawesome/css/brands.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/duotone.css +5609 -0
- data/app/assets/stylesheets/common/fontawesome/css/duotone.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/fontawesome.css +7135 -0
- data/app/assets/stylesheets/common/fontawesome/css/fontawesome.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/light.css +15 -0
- data/app/assets/stylesheets/common/fontawesome/css/light.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/regular.css +15 -0
- data/app/assets/stylesheets/common/fontawesome/css/regular.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/solid.css +16 -0
- data/app/assets/stylesheets/common/fontawesome/css/solid.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/css/svg-with-js.css +371 -0
- data/app/assets/stylesheets/common/fontawesome/css/svg-with-js.min.css +5 -0
- data/app/assets/stylesheets/{antlr/theme/fonts → common}/fontawesome/css/v4-shims.css +418 -392
- data/app/assets/stylesheets/common/fontawesome/css/v4-shims.min.css +5 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-brands-400.eot +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-brands-400.svg +3717 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-brands-400.ttf +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-brands-400.woff +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-duotone-900.eot +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-duotone-900.svg +15328 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-duotone-900.ttf +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-duotone-900.woff +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-duotone-900.woff2 +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-light-300.eot +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-light-300.svg +12423 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-light-300.ttf +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-light-300.woff +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-light-300.woff2 +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-regular-400.eot +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-regular-400.svg +11323 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-regular-400.ttf +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-regular-400.woff +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-solid-900.eot +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-solid-900.svg +9653 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-solid-900.ttf +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-solid-900.woff +0 -0
- data/app/assets/stylesheets/common/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
- data/lib/phcthemes_web_theme_pack/version.rb +1 -1
- metadata +47 -191
- data/app/assets/stylesheets/antlr/theme/apps/centos.svg +0 -16
- data/app/assets/stylesheets/antlr/theme/apps/coreos.svg +0 -17
- data/app/assets/stylesheets/antlr/theme/apps/cpanel.svg +0 -15
- data/app/assets/stylesheets/antlr/theme/apps/debian.svg +0 -40
- data/app/assets/stylesheets/antlr/theme/apps/docker.svg +0 -17
- data/app/assets/stylesheets/antlr/theme/apps/drupal.svg +0 -17
- data/app/assets/stylesheets/antlr/theme/apps/fedora.svg +0 -17
- data/app/assets/stylesheets/antlr/theme/apps/freebsd.svg +0 -16
- data/app/assets/stylesheets/antlr/theme/apps/gitlab.svg +0 -13
- data/app/assets/stylesheets/antlr/theme/apps/joomla.svg +0 -19
- data/app/assets/stylesheets/antlr/theme/apps/lamp.svg +0 -15
- data/app/assets/stylesheets/antlr/theme/apps/lemp.svg +0 -14
- data/app/assets/stylesheets/antlr/theme/apps/magento.svg +0 -10
- data/app/assets/stylesheets/antlr/theme/apps/mediawiki.svg +0 -44
- data/app/assets/stylesheets/antlr/theme/apps/minicraft.svg +0 -14
- data/app/assets/stylesheets/antlr/theme/apps/nextcloud.svg +0 -16
- data/app/assets/stylesheets/antlr/theme/apps/openbsd.svg +0 -27
- data/app/assets/stylesheets/antlr/theme/apps/openlitespeed.svg +0 -21
- data/app/assets/stylesheets/antlr/theme/apps/openvpn.svg +0 -16
- data/app/assets/stylesheets/antlr/theme/apps/owncloud.svg +0 -17
- data/app/assets/stylesheets/antlr/theme/apps/plesk.svg +0 -27
- data/app/assets/stylesheets/antlr/theme/apps/prestashop.svg +0 -27
- data/app/assets/stylesheets/antlr/theme/apps/ubuntu.svg +0 -19
- data/app/assets/stylesheets/antlr/theme/apps/webmin.svg +0 -19
- data/app/assets/stylesheets/antlr/theme/apps/windows.svg +0 -14
- data/app/assets/stylesheets/antlr/theme/apps/wordpress.svg +0 -16
- data/app/assets/stylesheets/antlr/theme/casestudy/casestudy-everthgroup.pdf +9 -17405
- data/app/assets/stylesheets/antlr/theme/casestudy/casestudy-growtop.pdf +10 -19398
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/css/all.css +0 -7825
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/css/all.min.css +0 -6
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/css/brands.css +0 -1432
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/css/brands.min.css +0 -6
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/css/fontawesome.css +0 -6332
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/css/fontawesome.min.css +0 -6
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/css/regular.css +0 -19
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/css/regular.min.css +0 -6
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/css/solid.css +0 -19
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/css/solid.min.css +0 -6
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/css/svg-with-js.css +0 -634
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/css/svg-with-js.min.css +0 -6
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/css/v4-font-face.css +0 -26
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/css/v4-font-face.min.css +0 -6
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/css/v4-shims.min.css +0 -6
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/css/v5-font-face.css +0 -22
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/css/v5-font-face.min.css +0 -6
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/js/all.js +0 -5591
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/js/all.min.js +0 -6
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/js/brands.js +0 -661
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/js/brands.min.js +0 -6
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/js/conflict-detection.js +0 -1056
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/js/conflict-detection.min.js +0 -6
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/js/fontawesome.js +0 -3002
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/js/fontawesome.min.js +0 -6
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/js/regular.js +0 -361
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/js/regular.min.js +0 -6
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/js/solid.js +0 -1582
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/js/solid.min.js +0 -6
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/js/v4-shims.js +0 -127
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/js/v4-shims.min.js +0 -6
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/webfonts/fa-brands-400.ttf +0 -0
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/webfonts/fa-regular-400.ttf +0 -0
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/webfonts/fa-solid-900.ttf +0 -0
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/webfonts/fa-v4compatibility.ttf +0 -0
- data/app/assets/stylesheets/antlr/theme/fonts/fontawesome/webfonts/fa-v4compatibility.woff2 +0 -0
- data/app/assets/stylesheets/antlr/theme/img/background/blob.svg +0 -54
- data/app/assets/stylesheets/antlr/theme/img/blackfriday/bf-demos.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/blackfriday/bf-email.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/blackfriday/bf-newsletter.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/blackfriday/bf-orderform.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/blackfriday/bf-svg.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/blackfriday/bf-whmcs.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/casestudy-rtl.png +0 -0
- data/app/assets/stylesheets/antlr/theme/img/casestudy.png +0 -0
- data/app/assets/stylesheets/antlr/theme/img/check.png +0 -0
- data/app/assets/stylesheets/antlr/theme/img/closer.svg +0 -15
- data/app/assets/stylesheets/antlr/theme/img/controlpanel01.png +0 -0
- data/app/assets/stylesheets/antlr/theme/img/controlpanel02.png +0 -0
- data/app/assets/stylesheets/antlr/theme/img/controlpanel03.png +0 -0
- data/app/assets/stylesheets/antlr/theme/img/cssda.png +0 -0
- data/app/assets/stylesheets/antlr/theme/img/de-flag.svg +0 -31
- data/app/assets/stylesheets/antlr/theme/img/drag.png +0 -0
- data/app/assets/stylesheets/antlr/theme/img/favicon.ico +0 -0
- data/app/assets/stylesheets/antlr/theme/img/filter/cd-icon-arrow.svg +0 -12
- data/app/assets/stylesheets/antlr/theme/img/filter/cd-icon-check.svg +0 -10
- data/app/assets/stylesheets/antlr/theme/img/filter/cd-icon-filter.svg +0 -15
- data/app/assets/stylesheets/antlr/theme/img/grabbing.png +0 -0
- data/app/assets/stylesheets/antlr/theme/img/logo-light.svg +0 -32
- data/app/assets/stylesheets/antlr/theme/img/logo.svg +0 -31
- data/app/assets/stylesheets/antlr/theme/img/logos/ark.png +0 -0
- data/app/assets/stylesheets/antlr/theme/img/logos/counterstrike.png +0 -0
- data/app/assets/stylesheets/antlr/theme/img/logos/rust.png +0 -0
- data/app/assets/stylesheets/antlr/theme/img/menu.svg +0 -15
- data/app/assets/stylesheets/antlr/theme/img/owl.video.play.png +0 -0
- data/app/assets/stylesheets/antlr/theme/img/partners/drupal.svg +0 -59
- data/app/assets/stylesheets/antlr/theme/img/partners/envato.svg +0 -31
- data/app/assets/stylesheets/antlr/theme/img/partners/joomla.svg +0 -53
- data/app/assets/stylesheets/antlr/theme/img/partners/magento.svg +0 -56
- data/app/assets/stylesheets/antlr/theme/img/partners/wordpress.svg +0 -53
- data/app/assets/stylesheets/antlr/theme/img/payments/alipay.svg +0 -32
- data/app/assets/stylesheets/antlr/theme/img/payments/americanexpress.svg +0 -39
- data/app/assets/stylesheets/antlr/theme/img/payments/applepay.svg +0 -31
- data/app/assets/stylesheets/antlr/theme/img/payments/boleto.svg +0 -60
- data/app/assets/stylesheets/antlr/theme/img/payments/chatpay.svg +0 -85
- data/app/assets/stylesheets/antlr/theme/img/payments/discover.svg +0 -47
- data/app/assets/stylesheets/antlr/theme/img/payments/googlepay.svg +0 -21
- data/app/assets/stylesheets/antlr/theme/img/payments/ideal.svg +0 -36
- data/app/assets/stylesheets/antlr/theme/img/payments/mastercard.svg +0 -69
- data/app/assets/stylesheets/antlr/theme/img/payments/payoneer.svg +0 -50
- data/app/assets/stylesheets/antlr/theme/img/payments/paypal.svg +0 -39
- data/app/assets/stylesheets/antlr/theme/img/payments/samsungpay.svg +0 -35
- data/app/assets/stylesheets/antlr/theme/img/payments/sepa.svg +0 -109
- data/app/assets/stylesheets/antlr/theme/img/payments/sofort.svg +0 -43
- data/app/assets/stylesheets/antlr/theme/img/payments/visa.svg +0 -17
- data/app/assets/stylesheets/antlr/theme/img/payments/visacheckout.svg +0 -49
- data/app/assets/stylesheets/antlr/theme/img/preanima.svg +0 -14
- data/app/assets/stylesheets/antlr/theme/img/symbol.svg +0 -18
- data/app/assets/stylesheets/antlr/theme/img/topbanner01.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner02.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner03.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner04.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner05.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner06.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner07.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner08.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner09.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner10.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner11.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner12.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner13.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner14.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner15.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner16.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner17.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner18.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner19.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/img/topbanner20.jpg +0 -0
- data/app/assets/stylesheets/antlr/theme/js/aos.min.js +0 -1
- data/app/assets/stylesheets/antlr/theme/js/bootstrap.min.js +0 -7
- data/app/assets/stylesheets/antlr/theme/js/custom.js +0 -1
- data/app/assets/stylesheets/antlr/theme/js/filter.js +0 -64
- data/app/assets/stylesheets/antlr/theme/js/flickity-fade.min.js +0 -1
- data/app/assets/stylesheets/antlr/theme/js/flickity.pkgd.min.js +0 -56
- data/app/assets/stylesheets/antlr/theme/js/fontawesome.min.js +0 -2
- data/app/assets/stylesheets/antlr/theme/js/gdpr-cookie.min.js +0 -1
- data/app/assets/stylesheets/antlr/theme/js/isotope.min.js +0 -12
- data/app/assets/stylesheets/antlr/theme/js/jquery.circliful.min.js +0 -1
- data/app/assets/stylesheets/antlr/theme/js/jquery.countdown.js +0 -22
- data/app/assets/stylesheets/antlr/theme/js/jquery.magnific-popup.min.js +0 -4
- data/app/assets/stylesheets/antlr/theme/js/jquery.min.js +0 -2
- data/app/assets/stylesheets/antlr/theme/js/jquery.scrollme.min.js +0 -1
- data/app/assets/stylesheets/antlr/theme/js/jquery.viewportchecker.min.js +0 -1
- data/app/assets/stylesheets/antlr/theme/js/lazysizes.min.js +0 -3
- data/app/assets/stylesheets/antlr/theme/js/lib/i18next.min.js +0 -3
- data/app/assets/stylesheets/antlr/theme/js/lib/i18nextXHRBackend.min.js +0 -1
- data/app/assets/stylesheets/antlr/theme/js/lib/jquery-i18next.min.js +0 -1
- data/app/assets/stylesheets/antlr/theme/js/mixevents.js +0 -107
- data/app/assets/stylesheets/antlr/theme/js/mixitup.min.js +0 -18
- data/app/assets/stylesheets/antlr/theme/js/mixitup.multifilter.min.js +0 -18
- data/app/assets/stylesheets/antlr/theme/js/modernizr.js +0 -3
- data/app/assets/stylesheets/antlr/theme/js/nouislider.min.js +0 -1
- data/app/assets/stylesheets/antlr/theme/js/popper.min.js +0 -6
- data/app/assets/stylesheets/antlr/theme/js/scripts.js +0 -1311
- data/app/assets/stylesheets/antlr/theme/js/scripts.min.js +0 -1
- data/app/assets/stylesheets/antlr/theme/js/settings-init.js +0 -12
- data/app/assets/stylesheets/antlr/theme/js/settings.js +0 -136
- data/app/assets/stylesheets/antlr/theme/js/slick.min.js +0 -18
- data/app/assets/stylesheets/antlr/theme/js/swiper.min.js +0 -14
- data/app/assets/stylesheets/antlr/theme/js/typed.js +0 -11
- data/app/assets/stylesheets/antlr/theme/js/variables.js +0 -25
- data/app/assets/stylesheets/antlr/theme/js/wow.min.js +0 -2
- data/app/assets/stylesheets/antlr/theme/locales/de/translations.json +0 -0
- data/app/assets/stylesheets/antlr/theme/locales/de-DE/translations.json +0 -6
- data/app/assets/stylesheets/antlr/theme/locales/dev/translations.json +0 -0
- data/app/assets/stylesheets/antlr/theme/locales/en/translations.json +0 -0
- data/app/assets/stylesheets/antlr/theme/locales/en-US/translations.json +0 -66
- data/app/assets/stylesheets/antlr/theme/locales/es/translations.json +0 -0
- data/app/assets/stylesheets/antlr/theme/locales/es-ES/translations.json +0 -65
- data/app/assets/stylesheets/antlr/theme/locales/pt/translations.json +0 -0
- data/app/assets/stylesheets/antlr/theme/locales/pt-PT/translations.json +0 -66
- data/app/assets/stylesheets/antlr/theme/php/form-process.php +0 -42
- data/app/assets/stylesheets/antlr/theme/videos/Modem-lights.mp4 +0 -0
- data/app/assets/stylesheets/antlr/theme/videos/about.mp4 +0 -0
- data/app/assets/stylesheets/antlr/theme/videos/planet.mp4 +0 -0
- data/app/assets/stylesheets/antlr/theme/videos/server.mp4 +0 -0
@@ -1,3002 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Font Awesome Free 6.1.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 2022 Fonticons, Inc.
|
5
|
-
*/
|
6
|
-
(function () {
|
7
|
-
'use strict';
|
8
|
-
|
9
|
-
function ownKeys(object, enumerableOnly) {
|
10
|
-
var keys = Object.keys(object);
|
11
|
-
|
12
|
-
if (Object.getOwnPropertySymbols) {
|
13
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
14
|
-
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
15
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
16
|
-
})), keys.push.apply(keys, symbols);
|
17
|
-
}
|
18
|
-
|
19
|
-
return keys;
|
20
|
-
}
|
21
|
-
|
22
|
-
function _objectSpread2(target) {
|
23
|
-
for (var i = 1; i < arguments.length; i++) {
|
24
|
-
var source = null != arguments[i] ? arguments[i] : {};
|
25
|
-
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
26
|
-
_defineProperty(target, key, source[key]);
|
27
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
28
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
29
|
-
});
|
30
|
-
}
|
31
|
-
|
32
|
-
return target;
|
33
|
-
}
|
34
|
-
|
35
|
-
function _typeof(obj) {
|
36
|
-
"@babel/helpers - typeof";
|
37
|
-
|
38
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
39
|
-
return typeof obj;
|
40
|
-
} : function (obj) {
|
41
|
-
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
42
|
-
}, _typeof(obj);
|
43
|
-
}
|
44
|
-
|
45
|
-
function _wrapRegExp() {
|
46
|
-
_wrapRegExp = function (re, groups) {
|
47
|
-
return new BabelRegExp(re, void 0, groups);
|
48
|
-
};
|
49
|
-
|
50
|
-
var _super = RegExp.prototype,
|
51
|
-
_groups = new WeakMap();
|
52
|
-
|
53
|
-
function BabelRegExp(re, flags, groups) {
|
54
|
-
var _this = new RegExp(re, flags);
|
55
|
-
|
56
|
-
return _groups.set(_this, groups || _groups.get(re)), _setPrototypeOf(_this, BabelRegExp.prototype);
|
57
|
-
}
|
58
|
-
|
59
|
-
function buildGroups(result, re) {
|
60
|
-
var g = _groups.get(re);
|
61
|
-
|
62
|
-
return Object.keys(g).reduce(function (groups, name) {
|
63
|
-
return groups[name] = result[g[name]], groups;
|
64
|
-
}, Object.create(null));
|
65
|
-
}
|
66
|
-
|
67
|
-
return _inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (str) {
|
68
|
-
var result = _super.exec.call(this, str);
|
69
|
-
|
70
|
-
return result && (result.groups = buildGroups(result, this)), result;
|
71
|
-
}, BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {
|
72
|
-
if ("string" == typeof substitution) {
|
73
|
-
var groups = _groups.get(this);
|
74
|
-
|
75
|
-
return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) {
|
76
|
-
return "$" + groups[name];
|
77
|
-
}));
|
78
|
-
}
|
79
|
-
|
80
|
-
if ("function" == typeof substitution) {
|
81
|
-
var _this = this;
|
82
|
-
|
83
|
-
return _super[Symbol.replace].call(this, str, function () {
|
84
|
-
var args = arguments;
|
85
|
-
return "object" != typeof args[args.length - 1] && (args = [].slice.call(args)).push(buildGroups(args, _this)), substitution.apply(this, args);
|
86
|
-
});
|
87
|
-
}
|
88
|
-
|
89
|
-
return _super[Symbol.replace].call(this, str, substitution);
|
90
|
-
}, _wrapRegExp.apply(this, arguments);
|
91
|
-
}
|
92
|
-
|
93
|
-
function _classCallCheck(instance, Constructor) {
|
94
|
-
if (!(instance instanceof Constructor)) {
|
95
|
-
throw new TypeError("Cannot call a class as a function");
|
96
|
-
}
|
97
|
-
}
|
98
|
-
|
99
|
-
function _defineProperties(target, props) {
|
100
|
-
for (var i = 0; i < props.length; i++) {
|
101
|
-
var descriptor = props[i];
|
102
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
103
|
-
descriptor.configurable = true;
|
104
|
-
if ("value" in descriptor) descriptor.writable = true;
|
105
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
106
|
-
}
|
107
|
-
}
|
108
|
-
|
109
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
110
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
111
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
112
|
-
Object.defineProperty(Constructor, "prototype", {
|
113
|
-
writable: false
|
114
|
-
});
|
115
|
-
return Constructor;
|
116
|
-
}
|
117
|
-
|
118
|
-
function _defineProperty(obj, key, value) {
|
119
|
-
if (key in obj) {
|
120
|
-
Object.defineProperty(obj, key, {
|
121
|
-
value: value,
|
122
|
-
enumerable: true,
|
123
|
-
configurable: true,
|
124
|
-
writable: true
|
125
|
-
});
|
126
|
-
} else {
|
127
|
-
obj[key] = value;
|
128
|
-
}
|
129
|
-
|
130
|
-
return obj;
|
131
|
-
}
|
132
|
-
|
133
|
-
function _inherits(subClass, superClass) {
|
134
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
135
|
-
throw new TypeError("Super expression must either be null or a function");
|
136
|
-
}
|
137
|
-
|
138
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
139
|
-
constructor: {
|
140
|
-
value: subClass,
|
141
|
-
writable: true,
|
142
|
-
configurable: true
|
143
|
-
}
|
144
|
-
});
|
145
|
-
Object.defineProperty(subClass, "prototype", {
|
146
|
-
writable: false
|
147
|
-
});
|
148
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
149
|
-
}
|
150
|
-
|
151
|
-
function _setPrototypeOf(o, p) {
|
152
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
153
|
-
o.__proto__ = p;
|
154
|
-
return o;
|
155
|
-
};
|
156
|
-
|
157
|
-
return _setPrototypeOf(o, p);
|
158
|
-
}
|
159
|
-
|
160
|
-
function _slicedToArray(arr, i) {
|
161
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
162
|
-
}
|
163
|
-
|
164
|
-
function _toConsumableArray(arr) {
|
165
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
166
|
-
}
|
167
|
-
|
168
|
-
function _arrayWithoutHoles(arr) {
|
169
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
170
|
-
}
|
171
|
-
|
172
|
-
function _arrayWithHoles(arr) {
|
173
|
-
if (Array.isArray(arr)) return arr;
|
174
|
-
}
|
175
|
-
|
176
|
-
function _iterableToArray(iter) {
|
177
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
178
|
-
}
|
179
|
-
|
180
|
-
function _iterableToArrayLimit(arr, i) {
|
181
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
182
|
-
|
183
|
-
if (_i == null) return;
|
184
|
-
var _arr = [];
|
185
|
-
var _n = true;
|
186
|
-
var _d = false;
|
187
|
-
|
188
|
-
var _s, _e;
|
189
|
-
|
190
|
-
try {
|
191
|
-
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
192
|
-
_arr.push(_s.value);
|
193
|
-
|
194
|
-
if (i && _arr.length === i) break;
|
195
|
-
}
|
196
|
-
} catch (err) {
|
197
|
-
_d = true;
|
198
|
-
_e = err;
|
199
|
-
} finally {
|
200
|
-
try {
|
201
|
-
if (!_n && _i["return"] != null) _i["return"]();
|
202
|
-
} finally {
|
203
|
-
if (_d) throw _e;
|
204
|
-
}
|
205
|
-
}
|
206
|
-
|
207
|
-
return _arr;
|
208
|
-
}
|
209
|
-
|
210
|
-
function _unsupportedIterableToArray(o, minLen) {
|
211
|
-
if (!o) return;
|
212
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
213
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
214
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
215
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
216
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
217
|
-
}
|
218
|
-
|
219
|
-
function _arrayLikeToArray(arr, len) {
|
220
|
-
if (len == null || len > arr.length) len = arr.length;
|
221
|
-
|
222
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
223
|
-
|
224
|
-
return arr2;
|
225
|
-
}
|
226
|
-
|
227
|
-
function _nonIterableSpread() {
|
228
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
229
|
-
}
|
230
|
-
|
231
|
-
function _nonIterableRest() {
|
232
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
233
|
-
}
|
234
|
-
|
235
|
-
var noop = function noop() {};
|
236
|
-
|
237
|
-
var _WINDOW = {};
|
238
|
-
var _DOCUMENT = {};
|
239
|
-
var _MUTATION_OBSERVER = null;
|
240
|
-
var _PERFORMANCE = {
|
241
|
-
mark: noop,
|
242
|
-
measure: noop
|
243
|
-
};
|
244
|
-
|
245
|
-
try {
|
246
|
-
if (typeof window !== 'undefined') _WINDOW = window;
|
247
|
-
if (typeof document !== 'undefined') _DOCUMENT = document;
|
248
|
-
if (typeof MutationObserver !== 'undefined') _MUTATION_OBSERVER = MutationObserver;
|
249
|
-
if (typeof performance !== 'undefined') _PERFORMANCE = performance;
|
250
|
-
} catch (e) {}
|
251
|
-
|
252
|
-
var _ref = _WINDOW.navigator || {},
|
253
|
-
_ref$userAgent = _ref.userAgent,
|
254
|
-
userAgent = _ref$userAgent === void 0 ? '' : _ref$userAgent;
|
255
|
-
var WINDOW = _WINDOW;
|
256
|
-
var DOCUMENT = _DOCUMENT;
|
257
|
-
var MUTATION_OBSERVER = _MUTATION_OBSERVER;
|
258
|
-
var PERFORMANCE = _PERFORMANCE;
|
259
|
-
var IS_BROWSER = !!WINDOW.document;
|
260
|
-
var IS_DOM = !!DOCUMENT.documentElement && !!DOCUMENT.head && typeof DOCUMENT.addEventListener === 'function' && typeof DOCUMENT.createElement === 'function';
|
261
|
-
var IS_IE = ~userAgent.indexOf('MSIE') || ~userAgent.indexOf('Trident/');
|
262
|
-
|
263
|
-
var NAMESPACE_IDENTIFIER = '___FONT_AWESOME___';
|
264
|
-
var UNITS_IN_GRID = 16;
|
265
|
-
var DEFAULT_FAMILY_PREFIX = 'fa';
|
266
|
-
var DEFAULT_REPLACEMENT_CLASS = 'svg-inline--fa';
|
267
|
-
var DATA_FA_I2SVG = 'data-fa-i2svg';
|
268
|
-
var DATA_FA_PSEUDO_ELEMENT = 'data-fa-pseudo-element';
|
269
|
-
var DATA_FA_PSEUDO_ELEMENT_PENDING = 'data-fa-pseudo-element-pending';
|
270
|
-
var DATA_PREFIX = 'data-prefix';
|
271
|
-
var DATA_ICON = 'data-icon';
|
272
|
-
var HTML_CLASS_I2SVG_BASE_CLASS = 'fontawesome-i2svg';
|
273
|
-
var MUTATION_APPROACH_ASYNC = 'async';
|
274
|
-
var TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS = ['HTML', 'HEAD', 'STYLE', 'SCRIPT'];
|
275
|
-
var PRODUCTION = function () {
|
276
|
-
try {
|
277
|
-
return "production" === 'production';
|
278
|
-
} catch (e) {
|
279
|
-
return false;
|
280
|
-
}
|
281
|
-
}();
|
282
|
-
var PREFIX_TO_STYLE = {
|
283
|
-
'fas': 'solid',
|
284
|
-
'fa-solid': 'solid',
|
285
|
-
'far': 'regular',
|
286
|
-
'fa-regular': 'regular',
|
287
|
-
'fal': 'light',
|
288
|
-
'fa-light': 'light',
|
289
|
-
'fat': 'thin',
|
290
|
-
'fa-thin': 'thin',
|
291
|
-
'fad': 'duotone',
|
292
|
-
'fa-duotone': 'duotone',
|
293
|
-
'fab': 'brands',
|
294
|
-
'fa-brands': 'brands',
|
295
|
-
'fak': 'kit',
|
296
|
-
'fa-kit': 'kit',
|
297
|
-
'fa': 'solid'
|
298
|
-
};
|
299
|
-
var STYLE_TO_PREFIX = {
|
300
|
-
'solid': 'fas',
|
301
|
-
'regular': 'far',
|
302
|
-
'light': 'fal',
|
303
|
-
'thin': 'fat',
|
304
|
-
'duotone': 'fad',
|
305
|
-
'brands': 'fab',
|
306
|
-
'kit': 'fak'
|
307
|
-
};
|
308
|
-
var PREFIX_TO_LONG_STYLE = {
|
309
|
-
'fab': 'fa-brands',
|
310
|
-
'fad': 'fa-duotone',
|
311
|
-
'fak': 'fa-kit',
|
312
|
-
'fal': 'fa-light',
|
313
|
-
'far': 'fa-regular',
|
314
|
-
'fas': 'fa-solid',
|
315
|
-
'fat': 'fa-thin'
|
316
|
-
};
|
317
|
-
var LONG_STYLE_TO_PREFIX = {
|
318
|
-
'fa-brands': 'fab',
|
319
|
-
'fa-duotone': 'fad',
|
320
|
-
'fa-kit': 'fak',
|
321
|
-
'fa-light': 'fal',
|
322
|
-
'fa-regular': 'far',
|
323
|
-
'fa-solid': 'fas',
|
324
|
-
'fa-thin': 'fat'
|
325
|
-
};
|
326
|
-
var ICON_SELECTION_SYNTAX_PATTERN = /fa[srltdbk\-\ ]/; // eslint-disable-line no-useless-escape
|
327
|
-
|
328
|
-
var LAYERS_TEXT_CLASSNAME = 'fa-layers-text';
|
329
|
-
var FONT_FAMILY_PATTERN = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i; // TODO: do we need to handle font-weight for kit SVG pseudo-elements?
|
330
|
-
|
331
|
-
var FONT_WEIGHT_TO_PREFIX = {
|
332
|
-
'900': 'fas',
|
333
|
-
'400': 'far',
|
334
|
-
'normal': 'far',
|
335
|
-
'300': 'fal',
|
336
|
-
'100': 'fat'
|
337
|
-
};
|
338
|
-
var oneToTen = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
339
|
-
var oneToTwenty = oneToTen.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]);
|
340
|
-
var ATTRIBUTES_WATCHED_FOR_MUTATION = ['class', 'data-prefix', 'data-icon', 'data-fa-transform', 'data-fa-mask'];
|
341
|
-
var DUOTONE_CLASSES = {
|
342
|
-
GROUP: 'duotone-group',
|
343
|
-
SWAP_OPACITY: 'swap-opacity',
|
344
|
-
PRIMARY: 'primary',
|
345
|
-
SECONDARY: 'secondary'
|
346
|
-
};
|
347
|
-
var RESERVED_CLASSES = [].concat(_toConsumableArray(Object.keys(STYLE_TO_PREFIX)), ['2xs', 'xs', 'sm', 'lg', 'xl', '2xl', 'beat', 'border', 'fade', 'beat-fade', 'bounce', 'flip-both', 'flip-horizontal', 'flip-vertical', 'flip', 'fw', 'inverse', 'layers-counter', 'layers-text', 'layers', 'li', 'pull-left', 'pull-right', 'pulse', 'rotate-180', 'rotate-270', 'rotate-90', 'rotate-by', 'shake', 'spin-pulse', 'spin-reverse', 'spin', 'stack-1x', 'stack-2x', 'stack', 'ul', DUOTONE_CLASSES.GROUP, DUOTONE_CLASSES.SWAP_OPACITY, DUOTONE_CLASSES.PRIMARY, DUOTONE_CLASSES.SECONDARY]).concat(oneToTen.map(function (n) {
|
348
|
-
return "".concat(n, "x");
|
349
|
-
})).concat(oneToTwenty.map(function (n) {
|
350
|
-
return "w-".concat(n);
|
351
|
-
}));
|
352
|
-
|
353
|
-
var initial = WINDOW.FontAwesomeConfig || {};
|
354
|
-
|
355
|
-
function getAttrConfig(attr) {
|
356
|
-
var element = DOCUMENT.querySelector('script[' + attr + ']');
|
357
|
-
|
358
|
-
if (element) {
|
359
|
-
return element.getAttribute(attr);
|
360
|
-
}
|
361
|
-
}
|
362
|
-
|
363
|
-
function coerce(val) {
|
364
|
-
// Getting an empty string will occur if the attribute is set on the HTML tag but without a value
|
365
|
-
// We'll assume that this is an indication that it should be toggled to true
|
366
|
-
if (val === '') return true;
|
367
|
-
if (val === 'false') return false;
|
368
|
-
if (val === 'true') return true;
|
369
|
-
return val;
|
370
|
-
}
|
371
|
-
|
372
|
-
if (DOCUMENT && typeof DOCUMENT.querySelector === 'function') {
|
373
|
-
var attrs = [['data-family-prefix', 'familyPrefix'], ['data-style-default', 'styleDefault'], ['data-replacement-class', 'replacementClass'], ['data-auto-replace-svg', 'autoReplaceSvg'], ['data-auto-add-css', 'autoAddCss'], ['data-auto-a11y', 'autoA11y'], ['data-search-pseudo-elements', 'searchPseudoElements'], ['data-observe-mutations', 'observeMutations'], ['data-mutate-approach', 'mutateApproach'], ['data-keep-original-source', 'keepOriginalSource'], ['data-measure-performance', 'measurePerformance'], ['data-show-missing-icons', 'showMissingIcons']];
|
374
|
-
attrs.forEach(function (_ref) {
|
375
|
-
var _ref2 = _slicedToArray(_ref, 2),
|
376
|
-
attr = _ref2[0],
|
377
|
-
key = _ref2[1];
|
378
|
-
|
379
|
-
var val = coerce(getAttrConfig(attr));
|
380
|
-
|
381
|
-
if (val !== undefined && val !== null) {
|
382
|
-
initial[key] = val;
|
383
|
-
}
|
384
|
-
});
|
385
|
-
}
|
386
|
-
|
387
|
-
var _default = {
|
388
|
-
familyPrefix: DEFAULT_FAMILY_PREFIX,
|
389
|
-
styleDefault: 'solid',
|
390
|
-
replacementClass: DEFAULT_REPLACEMENT_CLASS,
|
391
|
-
autoReplaceSvg: true,
|
392
|
-
autoAddCss: true,
|
393
|
-
autoA11y: true,
|
394
|
-
searchPseudoElements: false,
|
395
|
-
observeMutations: true,
|
396
|
-
mutateApproach: 'async',
|
397
|
-
keepOriginalSource: true,
|
398
|
-
measurePerformance: false,
|
399
|
-
showMissingIcons: true
|
400
|
-
};
|
401
|
-
|
402
|
-
var _config = _objectSpread2(_objectSpread2({}, _default), initial);
|
403
|
-
|
404
|
-
if (!_config.autoReplaceSvg) _config.observeMutations = false;
|
405
|
-
var config = {};
|
406
|
-
Object.keys(_config).forEach(function (key) {
|
407
|
-
Object.defineProperty(config, key, {
|
408
|
-
enumerable: true,
|
409
|
-
set: function set(val) {
|
410
|
-
_config[key] = val;
|
411
|
-
|
412
|
-
_onChangeCb.forEach(function (cb) {
|
413
|
-
return cb(config);
|
414
|
-
});
|
415
|
-
},
|
416
|
-
get: function get() {
|
417
|
-
return _config[key];
|
418
|
-
}
|
419
|
-
});
|
420
|
-
});
|
421
|
-
WINDOW.FontAwesomeConfig = config;
|
422
|
-
var _onChangeCb = [];
|
423
|
-
function onChange(cb) {
|
424
|
-
_onChangeCb.push(cb);
|
425
|
-
|
426
|
-
return function () {
|
427
|
-
_onChangeCb.splice(_onChangeCb.indexOf(cb), 1);
|
428
|
-
};
|
429
|
-
}
|
430
|
-
|
431
|
-
var d = UNITS_IN_GRID;
|
432
|
-
var meaninglessTransform = {
|
433
|
-
size: 16,
|
434
|
-
x: 0,
|
435
|
-
y: 0,
|
436
|
-
rotate: 0,
|
437
|
-
flipX: false,
|
438
|
-
flipY: false
|
439
|
-
};
|
440
|
-
function bunker(fn) {
|
441
|
-
try {
|
442
|
-
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
443
|
-
args[_key - 1] = arguments[_key];
|
444
|
-
}
|
445
|
-
|
446
|
-
fn.apply(void 0, args);
|
447
|
-
} catch (e) {
|
448
|
-
if (!PRODUCTION) {
|
449
|
-
throw e;
|
450
|
-
}
|
451
|
-
}
|
452
|
-
}
|
453
|
-
function insertCss(css) {
|
454
|
-
if (!css || !IS_DOM) {
|
455
|
-
return;
|
456
|
-
}
|
457
|
-
|
458
|
-
var style = DOCUMENT.createElement('style');
|
459
|
-
style.setAttribute('type', 'text/css');
|
460
|
-
style.innerHTML = css;
|
461
|
-
var headChildren = DOCUMENT.head.childNodes;
|
462
|
-
var beforeChild = null;
|
463
|
-
|
464
|
-
for (var i = headChildren.length - 1; i > -1; i--) {
|
465
|
-
var child = headChildren[i];
|
466
|
-
var tagName = (child.tagName || '').toUpperCase();
|
467
|
-
|
468
|
-
if (['STYLE', 'LINK'].indexOf(tagName) > -1) {
|
469
|
-
beforeChild = child;
|
470
|
-
}
|
471
|
-
}
|
472
|
-
|
473
|
-
DOCUMENT.head.insertBefore(style, beforeChild);
|
474
|
-
return css;
|
475
|
-
}
|
476
|
-
var idPool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
|
477
|
-
function nextUniqueId() {
|
478
|
-
var size = 12;
|
479
|
-
var id = '';
|
480
|
-
|
481
|
-
while (size-- > 0) {
|
482
|
-
id += idPool[Math.random() * 62 | 0];
|
483
|
-
}
|
484
|
-
|
485
|
-
return id;
|
486
|
-
}
|
487
|
-
function toArray(obj) {
|
488
|
-
var array = [];
|
489
|
-
|
490
|
-
for (var i = (obj || []).length >>> 0; i--;) {
|
491
|
-
array[i] = obj[i];
|
492
|
-
}
|
493
|
-
|
494
|
-
return array;
|
495
|
-
}
|
496
|
-
function classArray(node) {
|
497
|
-
if (node.classList) {
|
498
|
-
return toArray(node.classList);
|
499
|
-
} else {
|
500
|
-
return (node.getAttribute('class') || '').split(' ').filter(function (i) {
|
501
|
-
return i;
|
502
|
-
});
|
503
|
-
}
|
504
|
-
}
|
505
|
-
function htmlEscape(str) {
|
506
|
-
return "".concat(str).replace(/&/g, '&').replace(/"/g, '"').replace(/'/g, ''').replace(/</g, '<').replace(/>/g, '>');
|
507
|
-
}
|
508
|
-
function joinAttributes(attributes) {
|
509
|
-
return Object.keys(attributes || {}).reduce(function (acc, attributeName) {
|
510
|
-
return acc + "".concat(attributeName, "=\"").concat(htmlEscape(attributes[attributeName]), "\" ");
|
511
|
-
}, '').trim();
|
512
|
-
}
|
513
|
-
function joinStyles(styles) {
|
514
|
-
return Object.keys(styles || {}).reduce(function (acc, styleName) {
|
515
|
-
return acc + "".concat(styleName, ": ").concat(styles[styleName].trim(), ";");
|
516
|
-
}, '');
|
517
|
-
}
|
518
|
-
function transformIsMeaningful(transform) {
|
519
|
-
return transform.size !== meaninglessTransform.size || transform.x !== meaninglessTransform.x || transform.y !== meaninglessTransform.y || transform.rotate !== meaninglessTransform.rotate || transform.flipX || transform.flipY;
|
520
|
-
}
|
521
|
-
function transformForSvg(_ref) {
|
522
|
-
var transform = _ref.transform,
|
523
|
-
containerWidth = _ref.containerWidth,
|
524
|
-
iconWidth = _ref.iconWidth;
|
525
|
-
var outer = {
|
526
|
-
transform: "translate(".concat(containerWidth / 2, " 256)")
|
527
|
-
};
|
528
|
-
var innerTranslate = "translate(".concat(transform.x * 32, ", ").concat(transform.y * 32, ") ");
|
529
|
-
var innerScale = "scale(".concat(transform.size / 16 * (transform.flipX ? -1 : 1), ", ").concat(transform.size / 16 * (transform.flipY ? -1 : 1), ") ");
|
530
|
-
var innerRotate = "rotate(".concat(transform.rotate, " 0 0)");
|
531
|
-
var inner = {
|
532
|
-
transform: "".concat(innerTranslate, " ").concat(innerScale, " ").concat(innerRotate)
|
533
|
-
};
|
534
|
-
var path = {
|
535
|
-
transform: "translate(".concat(iconWidth / 2 * -1, " -256)")
|
536
|
-
};
|
537
|
-
return {
|
538
|
-
outer: outer,
|
539
|
-
inner: inner,
|
540
|
-
path: path
|
541
|
-
};
|
542
|
-
}
|
543
|
-
function transformForCss(_ref2) {
|
544
|
-
var transform = _ref2.transform,
|
545
|
-
_ref2$width = _ref2.width,
|
546
|
-
width = _ref2$width === void 0 ? UNITS_IN_GRID : _ref2$width,
|
547
|
-
_ref2$height = _ref2.height,
|
548
|
-
height = _ref2$height === void 0 ? UNITS_IN_GRID : _ref2$height,
|
549
|
-
_ref2$startCentered = _ref2.startCentered,
|
550
|
-
startCentered = _ref2$startCentered === void 0 ? false : _ref2$startCentered;
|
551
|
-
var val = '';
|
552
|
-
|
553
|
-
if (startCentered && IS_IE) {
|
554
|
-
val += "translate(".concat(transform.x / d - width / 2, "em, ").concat(transform.y / d - height / 2, "em) ");
|
555
|
-
} else if (startCentered) {
|
556
|
-
val += "translate(calc(-50% + ".concat(transform.x / d, "em), calc(-50% + ").concat(transform.y / d, "em)) ");
|
557
|
-
} else {
|
558
|
-
val += "translate(".concat(transform.x / d, "em, ").concat(transform.y / d, "em) ");
|
559
|
-
}
|
560
|
-
|
561
|
-
val += "scale(".concat(transform.size / d * (transform.flipX ? -1 : 1), ", ").concat(transform.size / d * (transform.flipY ? -1 : 1), ") ");
|
562
|
-
val += "rotate(".concat(transform.rotate, "deg) ");
|
563
|
-
return val;
|
564
|
-
}
|
565
|
-
|
566
|
-
var baseStyles = ":host,:root{--fa-font-solid:normal 900 1em/1 \"Font Awesome 6 Solid\";--fa-font-regular:normal 400 1em/1 \"Font Awesome 6 Regular\";--fa-font-light:normal 300 1em/1 \"Font Awesome 6 Light\";--fa-font-thin:normal 100 1em/1 \"Font Awesome 6 Thin\";--fa-font-duotone:normal 900 1em/1 \"Font Awesome 6 Duotone\";--fa-font-brands:normal 400 1em/1 \"Font Awesome 6 Brands\"}svg:not(:host).svg-inline--fa,svg:not(:root).svg-inline--fa{overflow:visible;box-sizing:content-box}.svg-inline--fa{display:var(--fa-display,inline-block);height:1em;overflow:visible;vertical-align:-.125em}.svg-inline--fa.fa-2xs{vertical-align:.1em}.svg-inline--fa.fa-xs{vertical-align:0}.svg-inline--fa.fa-sm{vertical-align:-.0714285705em}.svg-inline--fa.fa-lg{vertical-align:-.2em}.svg-inline--fa.fa-xl{vertical-align:-.25em}.svg-inline--fa.fa-2xl{vertical-align:-.3125em}.svg-inline--fa.fa-pull-left{margin-right:var(--fa-pull-margin,.3em);width:auto}.svg-inline--fa.fa-pull-right{margin-left:var(--fa-pull-margin,.3em);width:auto}.svg-inline--fa.fa-li{width:var(--fa-li-width,2em);top:.25em}.svg-inline--fa.fa-fw{width:var(--fa-fw-width,1.25em)}.fa-layers svg.svg-inline--fa{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers svg.svg-inline--fa{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-text{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter{background-color:var(--fa-counter-background-color,#ff253a);border-radius:var(--fa-counter-border-radius,1em);box-sizing:border-box;color:var(--fa-inverse,#fff);line-height:var(--fa-counter-line-height,1);max-width:var(--fa-counter-max-width,5em);min-width:var(--fa-counter-min-width,1.5em);overflow:hidden;padding:var(--fa-counter-padding,.25em .5em);right:var(--fa-right,0);text-overflow:ellipsis;top:var(--fa-top,0);-webkit-transform:scale(var(--fa-counter-scale,.25));transform:scale(var(--fa-counter-scale,.25));-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right{bottom:var(--fa-bottom,0);right:var(--fa-right,0);top:auto;-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left{bottom:var(--fa-bottom,0);left:var(--fa-left,0);right:auto;top:auto;-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right{top:var(--fa-top,0);right:var(--fa-right,0);-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left{left:var(--fa-left,0);right:auto;top:var(--fa-top,0);-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:top left;transform-origin:top left}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:.625em;line-height:.1em;vertical-align:.225em}.fa-xs{font-size:.75em;line-height:.0833333337em;vertical-align:.125em}.fa-sm{font-size:.875em;line-height:.0714285718em;vertical-align:.0535714295em}.fa-lg{font-size:1.25em;line-height:.05em;vertical-align:-.075em}.fa-xl{font-size:1.5em;line-height:.0416666682em;vertical-align:-.125em}.fa-2xl{font-size:2em;line-height:.03125em;vertical-align:-.1875em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:var(--fa-li-margin,2.5em);padding-left:0}.fa-ul>li{position:relative}.fa-li{left:calc(var(--fa-li-width,2em) * -1);position:absolute;text-align:center;width:var(--fa-li-width,2em);line-height:inherit}.fa-border{border-color:var(--fa-border-color,#eee);border-radius:var(--fa-border-radius,.1em);border-style:var(--fa-border-style,solid);border-width:var(--fa-border-width,.08em);padding:var(--fa-border-padding,.2em .25em .15em)}.fa-pull-left{float:left;margin-right:var(--fa-pull-margin,.3em)}.fa-pull-right{float:right;margin-left:var(--fa-pull-margin,.3em)}.fa-beat{-webkit-animation-name:fa-beat;animation-name:fa-beat;-webkit-animation-delay:var(--fa-animation-delay,0);animation-delay:var(--fa-animation-delay,0);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-bounce{-webkit-animation-name:fa-bounce;animation-name:fa-bounce;-webkit-animation-delay:var(--fa-animation-delay,0);animation-delay:var(--fa-animation-delay,0);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1))}.fa-fade{-webkit-animation-name:fa-fade;animation-name:fa-fade;-webkit-animation-delay:var(--fa-animation-delay,0);animation-delay:var(--fa-animation-delay,0);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-beat-fade{-webkit-animation-name:fa-beat-fade;animation-name:fa-beat-fade;-webkit-animation-delay:var(--fa-animation-delay,0);animation-delay:var(--fa-animation-delay,0);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-flip{-webkit-animation-name:fa-flip;animation-name:fa-flip;-webkit-animation-delay:var(--fa-animation-delay,0);animation-delay:var(--fa-animation-delay,0);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-shake{-webkit-animation-name:fa-shake;animation-name:fa-shake;-webkit-animation-delay:var(--fa-animation-delay,0);animation-delay:var(--fa-animation-delay,0);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-spin{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-delay:var(--fa-animation-delay,0);animation-delay:var(--fa-animation-delay,0);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,2s);animation-duration:var(--fa-animation-duration,2s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-spin-reverse{--fa-animation-direction:reverse}.fa-pulse,.fa-spin-pulse{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,steps(8));animation-timing-function:var(--fa-animation-timing,steps(8))}@media (prefers-reduced-motion:reduce){.fa-beat,.fa-beat-fade,.fa-bounce,.fa-fade,.fa-flip,.fa-pulse,.fa-shake,.fa-spin,.fa-spin-pulse{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;transition-delay:0s;transition-duration:0s}}@-webkit-keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@-webkit-keyframes fa-bounce{0%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1,1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1,1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}100%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}}@keyframes fa-bounce{0%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1,1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1,1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}100%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}}@-webkit-keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@-webkit-keyframes fa-beat-fade{0%,100%{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@keyframes fa-beat-fade{0%,100%{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@-webkit-keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@-webkit-keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}24%,8%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}100%,40%{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}24%,8%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}100%,40%{-webkit-transform:rotate(0);transform:rotate(0)}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.fa-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-webkit-transform:scale(-1,1);transform:scale(-1,1)}.fa-flip-vertical{-webkit-transform:scale(1,-1);transform:scale(1,-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1,-1);transform:scale(-1,-1)}.fa-rotate-by{-webkit-transform:rotate(var(--fa-rotate-angle,none));transform:rotate(var(--fa-rotate-angle,none))}.fa-stack{display:inline-block;vertical-align:middle;height:2em;position:relative;width:2.5em}.fa-stack-1x,.fa-stack-2x{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;z-index:var(--fa-stack-z-index,auto)}.svg-inline--fa.fa-stack-1x{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x{height:2em;width:2.5em}.fa-inverse{color:var(--fa-inverse,#fff)}.fa-sr-only,.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fa-sr-only-focusable:not(:focus),.sr-only-focusable:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.svg-inline--fa .fa-primary{fill:var(--fa-primary-color,currentColor);opacity:var(--fa-primary-opacity,1)}.svg-inline--fa .fa-secondary{fill:var(--fa-secondary-color,currentColor);opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-primary{opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-secondary{opacity:var(--fa-primary-opacity,1)}.svg-inline--fa mask .fa-primary,.svg-inline--fa mask .fa-secondary{fill:#000}.fa-duotone.fa-inverse,.fad.fa-inverse{color:var(--fa-inverse,#fff)}";
|
567
|
-
|
568
|
-
function css() {
|
569
|
-
var dfp = DEFAULT_FAMILY_PREFIX;
|
570
|
-
var drc = DEFAULT_REPLACEMENT_CLASS;
|
571
|
-
var fp = config.familyPrefix;
|
572
|
-
var rc = config.replacementClass;
|
573
|
-
var s = baseStyles;
|
574
|
-
|
575
|
-
if (fp !== dfp || rc !== drc) {
|
576
|
-
var dPatt = new RegExp("\\.".concat(dfp, "\\-"), 'g');
|
577
|
-
var customPropPatt = new RegExp("\\--".concat(dfp, "\\-"), 'g');
|
578
|
-
var rPatt = new RegExp("\\.".concat(drc), 'g');
|
579
|
-
s = s.replace(dPatt, ".".concat(fp, "-")).replace(customPropPatt, "--".concat(fp, "-")).replace(rPatt, ".".concat(rc));
|
580
|
-
}
|
581
|
-
|
582
|
-
return s;
|
583
|
-
}
|
584
|
-
|
585
|
-
var _cssInserted = false;
|
586
|
-
|
587
|
-
function ensureCss() {
|
588
|
-
if (config.autoAddCss && !_cssInserted) {
|
589
|
-
insertCss(css());
|
590
|
-
_cssInserted = true;
|
591
|
-
}
|
592
|
-
}
|
593
|
-
|
594
|
-
var InjectCSS = {
|
595
|
-
mixout: function mixout() {
|
596
|
-
return {
|
597
|
-
dom: {
|
598
|
-
css: css,
|
599
|
-
insertCss: ensureCss
|
600
|
-
}
|
601
|
-
};
|
602
|
-
},
|
603
|
-
hooks: function hooks() {
|
604
|
-
return {
|
605
|
-
beforeDOMElementCreation: function beforeDOMElementCreation() {
|
606
|
-
ensureCss();
|
607
|
-
},
|
608
|
-
beforeI2svg: function beforeI2svg() {
|
609
|
-
ensureCss();
|
610
|
-
}
|
611
|
-
};
|
612
|
-
}
|
613
|
-
};
|
614
|
-
|
615
|
-
var w = WINDOW || {};
|
616
|
-
if (!w[NAMESPACE_IDENTIFIER]) w[NAMESPACE_IDENTIFIER] = {};
|
617
|
-
if (!w[NAMESPACE_IDENTIFIER].styles) w[NAMESPACE_IDENTIFIER].styles = {};
|
618
|
-
if (!w[NAMESPACE_IDENTIFIER].hooks) w[NAMESPACE_IDENTIFIER].hooks = {};
|
619
|
-
if (!w[NAMESPACE_IDENTIFIER].shims) w[NAMESPACE_IDENTIFIER].shims = [];
|
620
|
-
var namespace = w[NAMESPACE_IDENTIFIER];
|
621
|
-
|
622
|
-
var functions = [];
|
623
|
-
|
624
|
-
var listener = function listener() {
|
625
|
-
DOCUMENT.removeEventListener('DOMContentLoaded', listener);
|
626
|
-
loaded = 1;
|
627
|
-
functions.map(function (fn) {
|
628
|
-
return fn();
|
629
|
-
});
|
630
|
-
};
|
631
|
-
|
632
|
-
var loaded = false;
|
633
|
-
|
634
|
-
if (IS_DOM) {
|
635
|
-
loaded = (DOCUMENT.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(DOCUMENT.readyState);
|
636
|
-
if (!loaded) DOCUMENT.addEventListener('DOMContentLoaded', listener);
|
637
|
-
}
|
638
|
-
|
639
|
-
function domready (fn) {
|
640
|
-
if (!IS_DOM) return;
|
641
|
-
loaded ? setTimeout(fn, 0) : functions.push(fn);
|
642
|
-
}
|
643
|
-
|
644
|
-
function toHtml(abstractNodes) {
|
645
|
-
var tag = abstractNodes.tag,
|
646
|
-
_abstractNodes$attrib = abstractNodes.attributes,
|
647
|
-
attributes = _abstractNodes$attrib === void 0 ? {} : _abstractNodes$attrib,
|
648
|
-
_abstractNodes$childr = abstractNodes.children,
|
649
|
-
children = _abstractNodes$childr === void 0 ? [] : _abstractNodes$childr;
|
650
|
-
|
651
|
-
if (typeof abstractNodes === 'string') {
|
652
|
-
return htmlEscape(abstractNodes);
|
653
|
-
} else {
|
654
|
-
return "<".concat(tag, " ").concat(joinAttributes(attributes), ">").concat(children.map(toHtml).join(''), "</").concat(tag, ">");
|
655
|
-
}
|
656
|
-
}
|
657
|
-
|
658
|
-
function iconFromMapping(mapping, prefix, iconName) {
|
659
|
-
if (mapping && mapping[prefix] && mapping[prefix][iconName]) {
|
660
|
-
return {
|
661
|
-
prefix: prefix,
|
662
|
-
iconName: iconName,
|
663
|
-
icon: mapping[prefix][iconName]
|
664
|
-
};
|
665
|
-
}
|
666
|
-
}
|
667
|
-
|
668
|
-
/**
|
669
|
-
* Internal helper to bind a function known to have 4 arguments
|
670
|
-
* to a given context.
|
671
|
-
*/
|
672
|
-
|
673
|
-
var bindInternal4 = function bindInternal4(func, thisContext) {
|
674
|
-
return function (a, b, c, d) {
|
675
|
-
return func.call(thisContext, a, b, c, d);
|
676
|
-
};
|
677
|
-
};
|
678
|
-
|
679
|
-
/**
|
680
|
-
* # Reduce
|
681
|
-
*
|
682
|
-
* A fast object `.reduce()` implementation.
|
683
|
-
*
|
684
|
-
* @param {Object} subject The object to reduce over.
|
685
|
-
* @param {Function} fn The reducer function.
|
686
|
-
* @param {mixed} initialValue The initial value for the reducer, defaults to subject[0].
|
687
|
-
* @param {Object} thisContext The context for the reducer.
|
688
|
-
* @return {mixed} The final result.
|
689
|
-
*/
|
690
|
-
|
691
|
-
|
692
|
-
var reduce = function fastReduceObject(subject, fn, initialValue, thisContext) {
|
693
|
-
var keys = Object.keys(subject),
|
694
|
-
length = keys.length,
|
695
|
-
iterator = thisContext !== undefined ? bindInternal4(fn, thisContext) : fn,
|
696
|
-
i,
|
697
|
-
key,
|
698
|
-
result;
|
699
|
-
|
700
|
-
if (initialValue === undefined) {
|
701
|
-
i = 1;
|
702
|
-
result = subject[keys[0]];
|
703
|
-
} else {
|
704
|
-
i = 0;
|
705
|
-
result = initialValue;
|
706
|
-
}
|
707
|
-
|
708
|
-
for (; i < length; i++) {
|
709
|
-
key = keys[i];
|
710
|
-
result = iterator(result, subject[key], key, subject);
|
711
|
-
}
|
712
|
-
|
713
|
-
return result;
|
714
|
-
};
|
715
|
-
|
716
|
-
/**
|
717
|
-
* ucs2decode() and codePointAt() are both works of Mathias Bynens and licensed under MIT
|
718
|
-
*
|
719
|
-
* Copyright Mathias Bynens <https://mathiasbynens.be/>
|
720
|
-
|
721
|
-
* Permission is hereby granted, free of charge, to any person obtaining
|
722
|
-
* a copy of this software and associated documentation files (the
|
723
|
-
* "Software"), to deal in the Software without restriction, including
|
724
|
-
* without limitation the rights to use, copy, modify, merge, publish,
|
725
|
-
* distribute, sublicense, and/or sell copies of the Software, and to
|
726
|
-
* permit persons to whom the Software is furnished to do so, subject to
|
727
|
-
* the following conditions:
|
728
|
-
|
729
|
-
* The above copyright notice and this permission notice shall be
|
730
|
-
* included in all copies or substantial portions of the Software.
|
731
|
-
|
732
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
733
|
-
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
734
|
-
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
735
|
-
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
736
|
-
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
737
|
-
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
738
|
-
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
739
|
-
*/
|
740
|
-
function ucs2decode(string) {
|
741
|
-
var output = [];
|
742
|
-
var counter = 0;
|
743
|
-
var length = string.length;
|
744
|
-
|
745
|
-
while (counter < length) {
|
746
|
-
var value = string.charCodeAt(counter++);
|
747
|
-
|
748
|
-
if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
|
749
|
-
var extra = string.charCodeAt(counter++);
|
750
|
-
|
751
|
-
if ((extra & 0xFC00) == 0xDC00) {
|
752
|
-
// eslint-disable-line eqeqeq
|
753
|
-
output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
|
754
|
-
} else {
|
755
|
-
output.push(value);
|
756
|
-
counter--;
|
757
|
-
}
|
758
|
-
} else {
|
759
|
-
output.push(value);
|
760
|
-
}
|
761
|
-
}
|
762
|
-
|
763
|
-
return output;
|
764
|
-
}
|
765
|
-
|
766
|
-
function toHex(unicode) {
|
767
|
-
var decoded = ucs2decode(unicode);
|
768
|
-
return decoded.length === 1 ? decoded[0].toString(16) : null;
|
769
|
-
}
|
770
|
-
function codePointAt(string, index) {
|
771
|
-
var size = string.length;
|
772
|
-
var first = string.charCodeAt(index);
|
773
|
-
var second;
|
774
|
-
|
775
|
-
if (first >= 0xD800 && first <= 0xDBFF && size > index + 1) {
|
776
|
-
second = string.charCodeAt(index + 1);
|
777
|
-
|
778
|
-
if (second >= 0xDC00 && second <= 0xDFFF) {
|
779
|
-
return (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000;
|
780
|
-
}
|
781
|
-
}
|
782
|
-
|
783
|
-
return first;
|
784
|
-
}
|
785
|
-
|
786
|
-
function normalizeIcons(icons) {
|
787
|
-
return Object.keys(icons).reduce(function (acc, iconName) {
|
788
|
-
var icon = icons[iconName];
|
789
|
-
var expanded = !!icon.icon;
|
790
|
-
|
791
|
-
if (expanded) {
|
792
|
-
acc[icon.iconName] = icon.icon;
|
793
|
-
} else {
|
794
|
-
acc[iconName] = icon;
|
795
|
-
}
|
796
|
-
|
797
|
-
return acc;
|
798
|
-
}, {});
|
799
|
-
}
|
800
|
-
|
801
|
-
function defineIcons(prefix, icons) {
|
802
|
-
var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
803
|
-
var _params$skipHooks = params.skipHooks,
|
804
|
-
skipHooks = _params$skipHooks === void 0 ? false : _params$skipHooks;
|
805
|
-
var normalized = normalizeIcons(icons);
|
806
|
-
|
807
|
-
if (typeof namespace.hooks.addPack === 'function' && !skipHooks) {
|
808
|
-
namespace.hooks.addPack(prefix, normalizeIcons(icons));
|
809
|
-
} else {
|
810
|
-
namespace.styles[prefix] = _objectSpread2(_objectSpread2({}, namespace.styles[prefix] || {}), normalized);
|
811
|
-
}
|
812
|
-
/**
|
813
|
-
* Font Awesome 4 used the prefix of `fa` for all icons. With the introduction
|
814
|
-
* of new styles we needed to differentiate between them. Prefix `fa` is now an alias
|
815
|
-
* for `fas` so we'll ease the upgrade process for our users by automatically defining
|
816
|
-
* this as well.
|
817
|
-
*/
|
818
|
-
|
819
|
-
|
820
|
-
if (prefix === 'fas') {
|
821
|
-
defineIcons('fa', icons);
|
822
|
-
}
|
823
|
-
}
|
824
|
-
|
825
|
-
var duotonePathRe = [/*#__PURE__*/_wrapRegExp(/path d="((?:(?!")[\s\S])+)".*path d="((?:(?!")[\s\S])+)"/, {
|
826
|
-
d1: 1,
|
827
|
-
d2: 2
|
828
|
-
}), /*#__PURE__*/_wrapRegExp(/path class="((?:(?!")[\s\S])+)".*d="((?:(?!")[\s\S])+)".*path class="((?:(?!")[\s\S])+)".*d="((?:(?!")[\s\S])+)"/, {
|
829
|
-
cls1: 1,
|
830
|
-
d1: 2,
|
831
|
-
cls2: 3,
|
832
|
-
d2: 4
|
833
|
-
}), /*#__PURE__*/_wrapRegExp(/path class="((?:(?!")[\s\S])+)".*d="((?:(?!")[\s\S])+)"/, {
|
834
|
-
cls1: 1,
|
835
|
-
d1: 2
|
836
|
-
})];
|
837
|
-
|
838
|
-
var styles = namespace.styles,
|
839
|
-
shims = namespace.shims;
|
840
|
-
var LONG_STYLE = Object.values(PREFIX_TO_LONG_STYLE);
|
841
|
-
var _defaultUsablePrefix = null;
|
842
|
-
var _byUnicode = {};
|
843
|
-
var _byLigature = {};
|
844
|
-
var _byOldName = {};
|
845
|
-
var _byOldUnicode = {};
|
846
|
-
var _byAlias = {};
|
847
|
-
var PREFIXES = Object.keys(PREFIX_TO_STYLE);
|
848
|
-
|
849
|
-
function isReserved(name) {
|
850
|
-
return ~RESERVED_CLASSES.indexOf(name);
|
851
|
-
}
|
852
|
-
|
853
|
-
function getIconName(familyPrefix, cls) {
|
854
|
-
var parts = cls.split('-');
|
855
|
-
var prefix = parts[0];
|
856
|
-
var iconName = parts.slice(1).join('-');
|
857
|
-
|
858
|
-
if (prefix === familyPrefix && iconName !== '' && !isReserved(iconName)) {
|
859
|
-
return iconName;
|
860
|
-
} else {
|
861
|
-
return null;
|
862
|
-
}
|
863
|
-
}
|
864
|
-
var build = function build() {
|
865
|
-
var lookup = function lookup(reducer) {
|
866
|
-
return reduce(styles, function (o, style, prefix) {
|
867
|
-
o[prefix] = reduce(style, reducer, {});
|
868
|
-
return o;
|
869
|
-
}, {});
|
870
|
-
};
|
871
|
-
|
872
|
-
_byUnicode = lookup(function (acc, icon, iconName) {
|
873
|
-
if (icon[3]) {
|
874
|
-
acc[icon[3]] = iconName;
|
875
|
-
}
|
876
|
-
|
877
|
-
if (icon[2]) {
|
878
|
-
var aliases = icon[2].filter(function (a) {
|
879
|
-
return typeof a === 'number';
|
880
|
-
});
|
881
|
-
aliases.forEach(function (alias) {
|
882
|
-
acc[alias.toString(16)] = iconName;
|
883
|
-
});
|
884
|
-
}
|
885
|
-
|
886
|
-
return acc;
|
887
|
-
});
|
888
|
-
_byLigature = lookup(function (acc, icon, iconName) {
|
889
|
-
acc[iconName] = iconName;
|
890
|
-
|
891
|
-
if (icon[2]) {
|
892
|
-
var aliases = icon[2].filter(function (a) {
|
893
|
-
return typeof a === 'string';
|
894
|
-
});
|
895
|
-
aliases.forEach(function (alias) {
|
896
|
-
acc[alias] = iconName;
|
897
|
-
});
|
898
|
-
}
|
899
|
-
|
900
|
-
return acc;
|
901
|
-
});
|
902
|
-
_byAlias = lookup(function (acc, icon, iconName) {
|
903
|
-
var aliases = icon[2];
|
904
|
-
acc[iconName] = iconName;
|
905
|
-
aliases.forEach(function (alias) {
|
906
|
-
acc[alias] = iconName;
|
907
|
-
});
|
908
|
-
return acc;
|
909
|
-
}); // If we have a Kit, we can't determine if regular is available since we
|
910
|
-
// could be auto-fetching it. We'll have to assume that it is available.
|
911
|
-
|
912
|
-
var hasRegular = 'far' in styles || config.autoFetchSvg;
|
913
|
-
var shimLookups = reduce(shims, function (acc, shim) {
|
914
|
-
var maybeNameMaybeUnicode = shim[0];
|
915
|
-
var prefix = shim[1];
|
916
|
-
var iconName = shim[2];
|
917
|
-
|
918
|
-
if (prefix === 'far' && !hasRegular) {
|
919
|
-
prefix = 'fas';
|
920
|
-
}
|
921
|
-
|
922
|
-
if (typeof maybeNameMaybeUnicode === 'string') {
|
923
|
-
acc.names[maybeNameMaybeUnicode] = {
|
924
|
-
prefix: prefix,
|
925
|
-
iconName: iconName
|
926
|
-
};
|
927
|
-
}
|
928
|
-
|
929
|
-
if (typeof maybeNameMaybeUnicode === 'number') {
|
930
|
-
acc.unicodes[maybeNameMaybeUnicode.toString(16)] = {
|
931
|
-
prefix: prefix,
|
932
|
-
iconName: iconName
|
933
|
-
};
|
934
|
-
}
|
935
|
-
|
936
|
-
return acc;
|
937
|
-
}, {
|
938
|
-
names: {},
|
939
|
-
unicodes: {}
|
940
|
-
});
|
941
|
-
_byOldName = shimLookups.names;
|
942
|
-
_byOldUnicode = shimLookups.unicodes;
|
943
|
-
_defaultUsablePrefix = getCanonicalPrefix(config.styleDefault);
|
944
|
-
};
|
945
|
-
onChange(function (c) {
|
946
|
-
_defaultUsablePrefix = getCanonicalPrefix(c.styleDefault);
|
947
|
-
});
|
948
|
-
build();
|
949
|
-
function byUnicode(prefix, unicode) {
|
950
|
-
return (_byUnicode[prefix] || {})[unicode];
|
951
|
-
}
|
952
|
-
function byLigature(prefix, ligature) {
|
953
|
-
return (_byLigature[prefix] || {})[ligature];
|
954
|
-
}
|
955
|
-
function byAlias(prefix, alias) {
|
956
|
-
return (_byAlias[prefix] || {})[alias];
|
957
|
-
}
|
958
|
-
function byOldName(name) {
|
959
|
-
return _byOldName[name] || {
|
960
|
-
prefix: null,
|
961
|
-
iconName: null
|
962
|
-
};
|
963
|
-
}
|
964
|
-
function byOldUnicode(unicode) {
|
965
|
-
var oldUnicode = _byOldUnicode[unicode];
|
966
|
-
var newUnicode = byUnicode('fas', unicode);
|
967
|
-
return oldUnicode || (newUnicode ? {
|
968
|
-
prefix: 'fas',
|
969
|
-
iconName: newUnicode
|
970
|
-
} : null) || {
|
971
|
-
prefix: null,
|
972
|
-
iconName: null
|
973
|
-
};
|
974
|
-
}
|
975
|
-
function getDefaultUsablePrefix() {
|
976
|
-
return _defaultUsablePrefix;
|
977
|
-
}
|
978
|
-
var emptyCanonicalIcon = function emptyCanonicalIcon() {
|
979
|
-
return {
|
980
|
-
prefix: null,
|
981
|
-
iconName: null,
|
982
|
-
rest: []
|
983
|
-
};
|
984
|
-
};
|
985
|
-
function getCanonicalPrefix(styleOrPrefix) {
|
986
|
-
var style = PREFIX_TO_STYLE[styleOrPrefix];
|
987
|
-
var prefix = STYLE_TO_PREFIX[styleOrPrefix] || STYLE_TO_PREFIX[style];
|
988
|
-
var defined = styleOrPrefix in namespace.styles ? styleOrPrefix : null;
|
989
|
-
return prefix || defined || null;
|
990
|
-
}
|
991
|
-
function getCanonicalIcon(values) {
|
992
|
-
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
993
|
-
var _params$skipLookups = params.skipLookups,
|
994
|
-
skipLookups = _params$skipLookups === void 0 ? false : _params$skipLookups;
|
995
|
-
var givenPrefix = null;
|
996
|
-
var canonical = values.reduce(function (acc, cls) {
|
997
|
-
var iconName = getIconName(config.familyPrefix, cls);
|
998
|
-
|
999
|
-
if (styles[cls]) {
|
1000
|
-
cls = LONG_STYLE.includes(cls) ? LONG_STYLE_TO_PREFIX[cls] : cls;
|
1001
|
-
givenPrefix = cls;
|
1002
|
-
acc.prefix = cls;
|
1003
|
-
} else if (PREFIXES.indexOf(cls) > -1) {
|
1004
|
-
givenPrefix = cls;
|
1005
|
-
acc.prefix = getCanonicalPrefix(cls);
|
1006
|
-
} else if (iconName) {
|
1007
|
-
acc.iconName = iconName;
|
1008
|
-
} else if (cls !== config.replacementClass) {
|
1009
|
-
acc.rest.push(cls);
|
1010
|
-
}
|
1011
|
-
|
1012
|
-
if (!skipLookups && acc.prefix && acc.iconName) {
|
1013
|
-
var shim = givenPrefix === 'fa' ? byOldName(acc.iconName) : {};
|
1014
|
-
var aliasIconName = byAlias(acc.prefix, acc.iconName);
|
1015
|
-
|
1016
|
-
if (shim.prefix) {
|
1017
|
-
givenPrefix = null;
|
1018
|
-
}
|
1019
|
-
|
1020
|
-
acc.iconName = shim.iconName || aliasIconName || acc.iconName;
|
1021
|
-
acc.prefix = shim.prefix || acc.prefix;
|
1022
|
-
|
1023
|
-
if (acc.prefix === 'far' && !styles['far'] && styles['fas'] && !config.autoFetchSvg) {
|
1024
|
-
// Allow a fallback from the regular style to solid if regular is not available
|
1025
|
-
// but only if we aren't auto-fetching SVGs
|
1026
|
-
acc.prefix = 'fas';
|
1027
|
-
}
|
1028
|
-
}
|
1029
|
-
|
1030
|
-
return acc;
|
1031
|
-
}, emptyCanonicalIcon());
|
1032
|
-
|
1033
|
-
if (canonical.prefix === 'fa' || givenPrefix === 'fa') {
|
1034
|
-
// The fa prefix is not canonical. So if it has made it through until this point
|
1035
|
-
// we will shift it to the correct prefix.
|
1036
|
-
canonical.prefix = getDefaultUsablePrefix() || 'fas';
|
1037
|
-
}
|
1038
|
-
|
1039
|
-
return canonical;
|
1040
|
-
}
|
1041
|
-
|
1042
|
-
var Library = /*#__PURE__*/function () {
|
1043
|
-
function Library() {
|
1044
|
-
_classCallCheck(this, Library);
|
1045
|
-
|
1046
|
-
this.definitions = {};
|
1047
|
-
}
|
1048
|
-
|
1049
|
-
_createClass(Library, [{
|
1050
|
-
key: "add",
|
1051
|
-
value: function add() {
|
1052
|
-
var _this = this;
|
1053
|
-
|
1054
|
-
for (var _len = arguments.length, definitions = new Array(_len), _key = 0; _key < _len; _key++) {
|
1055
|
-
definitions[_key] = arguments[_key];
|
1056
|
-
}
|
1057
|
-
|
1058
|
-
var additions = definitions.reduce(this._pullDefinitions, {});
|
1059
|
-
Object.keys(additions).forEach(function (key) {
|
1060
|
-
_this.definitions[key] = _objectSpread2(_objectSpread2({}, _this.definitions[key] || {}), additions[key]);
|
1061
|
-
defineIcons(key, additions[key]);
|
1062
|
-
var longPrefix = PREFIX_TO_LONG_STYLE[key];
|
1063
|
-
if (longPrefix) defineIcons(longPrefix, additions[key]);
|
1064
|
-
build();
|
1065
|
-
});
|
1066
|
-
}
|
1067
|
-
}, {
|
1068
|
-
key: "reset",
|
1069
|
-
value: function reset() {
|
1070
|
-
this.definitions = {};
|
1071
|
-
}
|
1072
|
-
}, {
|
1073
|
-
key: "_pullDefinitions",
|
1074
|
-
value: function _pullDefinitions(additions, definition) {
|
1075
|
-
var normalized = definition.prefix && definition.iconName && definition.icon ? {
|
1076
|
-
0: definition
|
1077
|
-
} : definition;
|
1078
|
-
Object.keys(normalized).map(function (key) {
|
1079
|
-
var _normalized$key = normalized[key],
|
1080
|
-
prefix = _normalized$key.prefix,
|
1081
|
-
iconName = _normalized$key.iconName,
|
1082
|
-
icon = _normalized$key.icon;
|
1083
|
-
var aliases = icon[2];
|
1084
|
-
if (!additions[prefix]) additions[prefix] = {};
|
1085
|
-
|
1086
|
-
if (aliases.length > 0) {
|
1087
|
-
aliases.forEach(function (alias) {
|
1088
|
-
if (typeof alias === 'string') {
|
1089
|
-
additions[prefix][alias] = icon;
|
1090
|
-
}
|
1091
|
-
});
|
1092
|
-
}
|
1093
|
-
|
1094
|
-
additions[prefix][iconName] = icon;
|
1095
|
-
});
|
1096
|
-
return additions;
|
1097
|
-
}
|
1098
|
-
}]);
|
1099
|
-
|
1100
|
-
return Library;
|
1101
|
-
}();
|
1102
|
-
|
1103
|
-
var _plugins = [];
|
1104
|
-
var _hooks = {};
|
1105
|
-
var providers = {};
|
1106
|
-
var defaultProviderKeys = Object.keys(providers);
|
1107
|
-
function registerPlugins(nextPlugins, _ref) {
|
1108
|
-
var obj = _ref.mixoutsTo;
|
1109
|
-
_plugins = nextPlugins;
|
1110
|
-
_hooks = {};
|
1111
|
-
Object.keys(providers).forEach(function (k) {
|
1112
|
-
if (defaultProviderKeys.indexOf(k) === -1) {
|
1113
|
-
delete providers[k];
|
1114
|
-
}
|
1115
|
-
});
|
1116
|
-
|
1117
|
-
_plugins.forEach(function (plugin) {
|
1118
|
-
var mixout = plugin.mixout ? plugin.mixout() : {};
|
1119
|
-
Object.keys(mixout).forEach(function (tk) {
|
1120
|
-
if (typeof mixout[tk] === 'function') {
|
1121
|
-
obj[tk] = mixout[tk];
|
1122
|
-
}
|
1123
|
-
|
1124
|
-
if (_typeof(mixout[tk]) === 'object') {
|
1125
|
-
Object.keys(mixout[tk]).forEach(function (sk) {
|
1126
|
-
if (!obj[tk]) {
|
1127
|
-
obj[tk] = {};
|
1128
|
-
}
|
1129
|
-
|
1130
|
-
obj[tk][sk] = mixout[tk][sk];
|
1131
|
-
});
|
1132
|
-
}
|
1133
|
-
});
|
1134
|
-
|
1135
|
-
if (plugin.hooks) {
|
1136
|
-
var hooks = plugin.hooks();
|
1137
|
-
Object.keys(hooks).forEach(function (hook) {
|
1138
|
-
if (!_hooks[hook]) {
|
1139
|
-
_hooks[hook] = [];
|
1140
|
-
}
|
1141
|
-
|
1142
|
-
_hooks[hook].push(hooks[hook]);
|
1143
|
-
});
|
1144
|
-
}
|
1145
|
-
|
1146
|
-
if (plugin.provides) {
|
1147
|
-
plugin.provides(providers);
|
1148
|
-
}
|
1149
|
-
});
|
1150
|
-
|
1151
|
-
return obj;
|
1152
|
-
}
|
1153
|
-
function chainHooks(hook, accumulator) {
|
1154
|
-
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
1155
|
-
args[_key - 2] = arguments[_key];
|
1156
|
-
}
|
1157
|
-
|
1158
|
-
var hookFns = _hooks[hook] || [];
|
1159
|
-
hookFns.forEach(function (hookFn) {
|
1160
|
-
accumulator = hookFn.apply(null, [accumulator].concat(args)); // eslint-disable-line no-useless-call
|
1161
|
-
});
|
1162
|
-
return accumulator;
|
1163
|
-
}
|
1164
|
-
function callHooks(hook) {
|
1165
|
-
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
1166
|
-
args[_key2 - 1] = arguments[_key2];
|
1167
|
-
}
|
1168
|
-
|
1169
|
-
var hookFns = _hooks[hook] || [];
|
1170
|
-
hookFns.forEach(function (hookFn) {
|
1171
|
-
hookFn.apply(null, args);
|
1172
|
-
});
|
1173
|
-
return undefined;
|
1174
|
-
}
|
1175
|
-
function callProvided() {
|
1176
|
-
var hook = arguments[0];
|
1177
|
-
var args = Array.prototype.slice.call(arguments, 1);
|
1178
|
-
return providers[hook] ? providers[hook].apply(null, args) : undefined;
|
1179
|
-
}
|
1180
|
-
|
1181
|
-
function findIconDefinition(iconLookup) {
|
1182
|
-
if (iconLookup.prefix === 'fa') {
|
1183
|
-
iconLookup.prefix = 'fas';
|
1184
|
-
}
|
1185
|
-
|
1186
|
-
var iconName = iconLookup.iconName;
|
1187
|
-
var prefix = iconLookup.prefix || getDefaultUsablePrefix();
|
1188
|
-
if (!iconName) return;
|
1189
|
-
iconName = byAlias(prefix, iconName) || iconName;
|
1190
|
-
return iconFromMapping(library.definitions, prefix, iconName) || iconFromMapping(namespace.styles, prefix, iconName);
|
1191
|
-
}
|
1192
|
-
var library = new Library();
|
1193
|
-
var noAuto = function noAuto() {
|
1194
|
-
config.autoReplaceSvg = false;
|
1195
|
-
config.observeMutations = false;
|
1196
|
-
callHooks('noAuto');
|
1197
|
-
};
|
1198
|
-
var dom = {
|
1199
|
-
i2svg: function i2svg() {
|
1200
|
-
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
1201
|
-
|
1202
|
-
if (IS_DOM) {
|
1203
|
-
callHooks('beforeI2svg', params);
|
1204
|
-
callProvided('pseudoElements2svg', params);
|
1205
|
-
return callProvided('i2svg', params);
|
1206
|
-
} else {
|
1207
|
-
return Promise.reject('Operation requires a DOM of some kind.');
|
1208
|
-
}
|
1209
|
-
},
|
1210
|
-
watch: function watch() {
|
1211
|
-
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
1212
|
-
var autoReplaceSvgRoot = params.autoReplaceSvgRoot;
|
1213
|
-
|
1214
|
-
if (config.autoReplaceSvg === false) {
|
1215
|
-
config.autoReplaceSvg = true;
|
1216
|
-
}
|
1217
|
-
|
1218
|
-
config.observeMutations = true;
|
1219
|
-
domready(function () {
|
1220
|
-
autoReplace({
|
1221
|
-
autoReplaceSvgRoot: autoReplaceSvgRoot
|
1222
|
-
});
|
1223
|
-
callHooks('watch', params);
|
1224
|
-
});
|
1225
|
-
}
|
1226
|
-
};
|
1227
|
-
var parse = {
|
1228
|
-
icon: function icon(_icon) {
|
1229
|
-
if (_icon === null) {
|
1230
|
-
return null;
|
1231
|
-
}
|
1232
|
-
|
1233
|
-
if (_typeof(_icon) === 'object' && _icon.prefix && _icon.iconName) {
|
1234
|
-
return {
|
1235
|
-
prefix: _icon.prefix,
|
1236
|
-
iconName: byAlias(_icon.prefix, _icon.iconName) || _icon.iconName
|
1237
|
-
};
|
1238
|
-
}
|
1239
|
-
|
1240
|
-
if (Array.isArray(_icon) && _icon.length === 2) {
|
1241
|
-
var iconName = _icon[1].indexOf('fa-') === 0 ? _icon[1].slice(3) : _icon[1];
|
1242
|
-
var prefix = getCanonicalPrefix(_icon[0]);
|
1243
|
-
return {
|
1244
|
-
prefix: prefix,
|
1245
|
-
iconName: byAlias(prefix, iconName) || iconName
|
1246
|
-
};
|
1247
|
-
}
|
1248
|
-
|
1249
|
-
if (typeof _icon === 'string' && (_icon.indexOf("".concat(config.familyPrefix, "-")) > -1 || _icon.match(ICON_SELECTION_SYNTAX_PATTERN))) {
|
1250
|
-
var canonicalIcon = getCanonicalIcon(_icon.split(' '), {
|
1251
|
-
skipLookups: true
|
1252
|
-
});
|
1253
|
-
return {
|
1254
|
-
prefix: canonicalIcon.prefix || getDefaultUsablePrefix(),
|
1255
|
-
iconName: byAlias(canonicalIcon.prefix, canonicalIcon.iconName) || canonicalIcon.iconName
|
1256
|
-
};
|
1257
|
-
}
|
1258
|
-
|
1259
|
-
if (typeof _icon === 'string') {
|
1260
|
-
var _prefix = getDefaultUsablePrefix();
|
1261
|
-
|
1262
|
-
return {
|
1263
|
-
prefix: _prefix,
|
1264
|
-
iconName: byAlias(_prefix, _icon) || _icon
|
1265
|
-
};
|
1266
|
-
}
|
1267
|
-
}
|
1268
|
-
};
|
1269
|
-
var api = {
|
1270
|
-
noAuto: noAuto,
|
1271
|
-
config: config,
|
1272
|
-
dom: dom,
|
1273
|
-
parse: parse,
|
1274
|
-
library: library,
|
1275
|
-
findIconDefinition: findIconDefinition,
|
1276
|
-
toHtml: toHtml
|
1277
|
-
};
|
1278
|
-
|
1279
|
-
var autoReplace = function autoReplace() {
|
1280
|
-
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
1281
|
-
var _params$autoReplaceSv = params.autoReplaceSvgRoot,
|
1282
|
-
autoReplaceSvgRoot = _params$autoReplaceSv === void 0 ? DOCUMENT : _params$autoReplaceSv;
|
1283
|
-
if ((Object.keys(namespace.styles).length > 0 || config.autoFetchSvg) && IS_DOM && config.autoReplaceSvg) api.dom.i2svg({
|
1284
|
-
node: autoReplaceSvgRoot
|
1285
|
-
});
|
1286
|
-
};
|
1287
|
-
|
1288
|
-
function bootstrap(plugins) {
|
1289
|
-
if (IS_BROWSER) {
|
1290
|
-
if (!WINDOW.FontAwesome) {
|
1291
|
-
WINDOW.FontAwesome = api;
|
1292
|
-
}
|
1293
|
-
|
1294
|
-
domready(function () {
|
1295
|
-
autoReplace();
|
1296
|
-
callHooks('bootstrap');
|
1297
|
-
});
|
1298
|
-
}
|
1299
|
-
|
1300
|
-
namespace.hooks = _objectSpread2(_objectSpread2({}, namespace.hooks), {}, {
|
1301
|
-
addPack: function addPack(prefix, icons) {
|
1302
|
-
namespace.styles[prefix] = _objectSpread2(_objectSpread2({}, namespace.styles[prefix] || {}), icons);
|
1303
|
-
build();
|
1304
|
-
autoReplace();
|
1305
|
-
},
|
1306
|
-
addPacks: function addPacks(packs) {
|
1307
|
-
packs.forEach(function (_ref) {
|
1308
|
-
var _ref2 = _slicedToArray(_ref, 2),
|
1309
|
-
prefix = _ref2[0],
|
1310
|
-
icons = _ref2[1];
|
1311
|
-
|
1312
|
-
namespace.styles[prefix] = _objectSpread2(_objectSpread2({}, namespace.styles[prefix] || {}), icons);
|
1313
|
-
});
|
1314
|
-
build();
|
1315
|
-
autoReplace();
|
1316
|
-
},
|
1317
|
-
addShims: function addShims(shims) {
|
1318
|
-
var _namespace$shims;
|
1319
|
-
|
1320
|
-
(_namespace$shims = namespace.shims).push.apply(_namespace$shims, _toConsumableArray(shims));
|
1321
|
-
|
1322
|
-
build();
|
1323
|
-
autoReplace();
|
1324
|
-
}
|
1325
|
-
});
|
1326
|
-
}
|
1327
|
-
|
1328
|
-
function domVariants(val, abstractCreator) {
|
1329
|
-
Object.defineProperty(val, 'abstract', {
|
1330
|
-
get: abstractCreator
|
1331
|
-
});
|
1332
|
-
Object.defineProperty(val, 'html', {
|
1333
|
-
get: function get() {
|
1334
|
-
return val.abstract.map(function (a) {
|
1335
|
-
return toHtml(a);
|
1336
|
-
});
|
1337
|
-
}
|
1338
|
-
});
|
1339
|
-
Object.defineProperty(val, 'node', {
|
1340
|
-
get: function get() {
|
1341
|
-
if (!IS_DOM) return;
|
1342
|
-
var container = DOCUMENT.createElement('div');
|
1343
|
-
container.innerHTML = val.html;
|
1344
|
-
return container.children;
|
1345
|
-
}
|
1346
|
-
});
|
1347
|
-
return val;
|
1348
|
-
}
|
1349
|
-
|
1350
|
-
function asIcon (_ref) {
|
1351
|
-
var children = _ref.children,
|
1352
|
-
main = _ref.main,
|
1353
|
-
mask = _ref.mask,
|
1354
|
-
attributes = _ref.attributes,
|
1355
|
-
styles = _ref.styles,
|
1356
|
-
transform = _ref.transform;
|
1357
|
-
|
1358
|
-
if (transformIsMeaningful(transform) && main.found && !mask.found) {
|
1359
|
-
var width = main.width,
|
1360
|
-
height = main.height;
|
1361
|
-
var offset = {
|
1362
|
-
x: width / height / 2,
|
1363
|
-
y: 0.5
|
1364
|
-
};
|
1365
|
-
attributes['style'] = joinStyles(_objectSpread2(_objectSpread2({}, styles), {}, {
|
1366
|
-
'transform-origin': "".concat(offset.x + transform.x / 16, "em ").concat(offset.y + transform.y / 16, "em")
|
1367
|
-
}));
|
1368
|
-
}
|
1369
|
-
|
1370
|
-
return [{
|
1371
|
-
tag: 'svg',
|
1372
|
-
attributes: attributes,
|
1373
|
-
children: children
|
1374
|
-
}];
|
1375
|
-
}
|
1376
|
-
|
1377
|
-
function asSymbol (_ref) {
|
1378
|
-
var prefix = _ref.prefix,
|
1379
|
-
iconName = _ref.iconName,
|
1380
|
-
children = _ref.children,
|
1381
|
-
attributes = _ref.attributes,
|
1382
|
-
symbol = _ref.symbol;
|
1383
|
-
var id = symbol === true ? "".concat(prefix, "-").concat(config.familyPrefix, "-").concat(iconName) : symbol;
|
1384
|
-
return [{
|
1385
|
-
tag: 'svg',
|
1386
|
-
attributes: {
|
1387
|
-
style: 'display: none;'
|
1388
|
-
},
|
1389
|
-
children: [{
|
1390
|
-
tag: 'symbol',
|
1391
|
-
attributes: _objectSpread2(_objectSpread2({}, attributes), {}, {
|
1392
|
-
id: id
|
1393
|
-
}),
|
1394
|
-
children: children
|
1395
|
-
}]
|
1396
|
-
}];
|
1397
|
-
}
|
1398
|
-
|
1399
|
-
function makeInlineSvgAbstract(params) {
|
1400
|
-
var _params$icons = params.icons,
|
1401
|
-
main = _params$icons.main,
|
1402
|
-
mask = _params$icons.mask,
|
1403
|
-
prefix = params.prefix,
|
1404
|
-
iconName = params.iconName,
|
1405
|
-
transform = params.transform,
|
1406
|
-
symbol = params.symbol,
|
1407
|
-
title = params.title,
|
1408
|
-
maskId = params.maskId,
|
1409
|
-
titleId = params.titleId,
|
1410
|
-
extra = params.extra,
|
1411
|
-
_params$watchable = params.watchable,
|
1412
|
-
watchable = _params$watchable === void 0 ? false : _params$watchable;
|
1413
|
-
|
1414
|
-
var _ref = mask.found ? mask : main,
|
1415
|
-
width = _ref.width,
|
1416
|
-
height = _ref.height;
|
1417
|
-
|
1418
|
-
var isUploadedIcon = prefix === 'fak';
|
1419
|
-
var attrClass = [config.replacementClass, iconName ? "".concat(config.familyPrefix, "-").concat(iconName) : ''].filter(function (c) {
|
1420
|
-
return extra.classes.indexOf(c) === -1;
|
1421
|
-
}).filter(function (c) {
|
1422
|
-
return c !== '' || !!c;
|
1423
|
-
}).concat(extra.classes).join(' ');
|
1424
|
-
var content = {
|
1425
|
-
children: [],
|
1426
|
-
attributes: _objectSpread2(_objectSpread2({}, extra.attributes), {}, {
|
1427
|
-
'data-prefix': prefix,
|
1428
|
-
'data-icon': iconName,
|
1429
|
-
'class': attrClass,
|
1430
|
-
'role': extra.attributes.role || 'img',
|
1431
|
-
'xmlns': 'http://www.w3.org/2000/svg',
|
1432
|
-
'viewBox': "0 0 ".concat(width, " ").concat(height)
|
1433
|
-
})
|
1434
|
-
};
|
1435
|
-
var uploadedIconWidthStyle = isUploadedIcon && !~extra.classes.indexOf('fa-fw') ? {
|
1436
|
-
width: "".concat(width / height * 16 * 0.0625, "em")
|
1437
|
-
} : {};
|
1438
|
-
|
1439
|
-
if (watchable) {
|
1440
|
-
content.attributes[DATA_FA_I2SVG] = '';
|
1441
|
-
}
|
1442
|
-
|
1443
|
-
if (title) {
|
1444
|
-
content.children.push({
|
1445
|
-
tag: 'title',
|
1446
|
-
attributes: {
|
1447
|
-
id: content.attributes['aria-labelledby'] || "title-".concat(titleId || nextUniqueId())
|
1448
|
-
},
|
1449
|
-
children: [title]
|
1450
|
-
});
|
1451
|
-
delete content.attributes.title;
|
1452
|
-
}
|
1453
|
-
|
1454
|
-
var args = _objectSpread2(_objectSpread2({}, content), {}, {
|
1455
|
-
prefix: prefix,
|
1456
|
-
iconName: iconName,
|
1457
|
-
main: main,
|
1458
|
-
mask: mask,
|
1459
|
-
maskId: maskId,
|
1460
|
-
transform: transform,
|
1461
|
-
symbol: symbol,
|
1462
|
-
styles: _objectSpread2(_objectSpread2({}, uploadedIconWidthStyle), extra.styles)
|
1463
|
-
});
|
1464
|
-
|
1465
|
-
var _ref2 = mask.found && main.found ? callProvided('generateAbstractMask', args) || {
|
1466
|
-
children: [],
|
1467
|
-
attributes: {}
|
1468
|
-
} : callProvided('generateAbstractIcon', args) || {
|
1469
|
-
children: [],
|
1470
|
-
attributes: {}
|
1471
|
-
},
|
1472
|
-
children = _ref2.children,
|
1473
|
-
attributes = _ref2.attributes;
|
1474
|
-
|
1475
|
-
args.children = children;
|
1476
|
-
args.attributes = attributes;
|
1477
|
-
|
1478
|
-
if (symbol) {
|
1479
|
-
return asSymbol(args);
|
1480
|
-
} else {
|
1481
|
-
return asIcon(args);
|
1482
|
-
}
|
1483
|
-
}
|
1484
|
-
function makeLayersTextAbstract(params) {
|
1485
|
-
var content = params.content,
|
1486
|
-
width = params.width,
|
1487
|
-
height = params.height,
|
1488
|
-
transform = params.transform,
|
1489
|
-
title = params.title,
|
1490
|
-
extra = params.extra,
|
1491
|
-
_params$watchable2 = params.watchable,
|
1492
|
-
watchable = _params$watchable2 === void 0 ? false : _params$watchable2;
|
1493
|
-
|
1494
|
-
var attributes = _objectSpread2(_objectSpread2(_objectSpread2({}, extra.attributes), title ? {
|
1495
|
-
'title': title
|
1496
|
-
} : {}), {}, {
|
1497
|
-
'class': extra.classes.join(' ')
|
1498
|
-
});
|
1499
|
-
|
1500
|
-
if (watchable) {
|
1501
|
-
attributes[DATA_FA_I2SVG] = '';
|
1502
|
-
}
|
1503
|
-
|
1504
|
-
var styles = _objectSpread2({}, extra.styles);
|
1505
|
-
|
1506
|
-
if (transformIsMeaningful(transform)) {
|
1507
|
-
styles['transform'] = transformForCss({
|
1508
|
-
transform: transform,
|
1509
|
-
startCentered: true,
|
1510
|
-
width: width,
|
1511
|
-
height: height
|
1512
|
-
});
|
1513
|
-
styles['-webkit-transform'] = styles['transform'];
|
1514
|
-
}
|
1515
|
-
|
1516
|
-
var styleString = joinStyles(styles);
|
1517
|
-
|
1518
|
-
if (styleString.length > 0) {
|
1519
|
-
attributes['style'] = styleString;
|
1520
|
-
}
|
1521
|
-
|
1522
|
-
var val = [];
|
1523
|
-
val.push({
|
1524
|
-
tag: 'span',
|
1525
|
-
attributes: attributes,
|
1526
|
-
children: [content]
|
1527
|
-
});
|
1528
|
-
|
1529
|
-
if (title) {
|
1530
|
-
val.push({
|
1531
|
-
tag: 'span',
|
1532
|
-
attributes: {
|
1533
|
-
class: 'sr-only'
|
1534
|
-
},
|
1535
|
-
children: [title]
|
1536
|
-
});
|
1537
|
-
}
|
1538
|
-
|
1539
|
-
return val;
|
1540
|
-
}
|
1541
|
-
function makeLayersCounterAbstract(params) {
|
1542
|
-
var content = params.content,
|
1543
|
-
title = params.title,
|
1544
|
-
extra = params.extra;
|
1545
|
-
|
1546
|
-
var attributes = _objectSpread2(_objectSpread2(_objectSpread2({}, extra.attributes), title ? {
|
1547
|
-
'title': title
|
1548
|
-
} : {}), {}, {
|
1549
|
-
'class': extra.classes.join(' ')
|
1550
|
-
});
|
1551
|
-
|
1552
|
-
var styleString = joinStyles(extra.styles);
|
1553
|
-
|
1554
|
-
if (styleString.length > 0) {
|
1555
|
-
attributes['style'] = styleString;
|
1556
|
-
}
|
1557
|
-
|
1558
|
-
var val = [];
|
1559
|
-
val.push({
|
1560
|
-
tag: 'span',
|
1561
|
-
attributes: attributes,
|
1562
|
-
children: [content]
|
1563
|
-
});
|
1564
|
-
|
1565
|
-
if (title) {
|
1566
|
-
val.push({
|
1567
|
-
tag: 'span',
|
1568
|
-
attributes: {
|
1569
|
-
class: 'sr-only'
|
1570
|
-
},
|
1571
|
-
children: [title]
|
1572
|
-
});
|
1573
|
-
}
|
1574
|
-
|
1575
|
-
return val;
|
1576
|
-
}
|
1577
|
-
|
1578
|
-
var styles$1 = namespace.styles;
|
1579
|
-
function asFoundIcon(icon) {
|
1580
|
-
var width = icon[0];
|
1581
|
-
var height = icon[1];
|
1582
|
-
|
1583
|
-
var _icon$slice = icon.slice(4),
|
1584
|
-
_icon$slice2 = _slicedToArray(_icon$slice, 1),
|
1585
|
-
vectorData = _icon$slice2[0];
|
1586
|
-
|
1587
|
-
var element = null;
|
1588
|
-
|
1589
|
-
if (Array.isArray(vectorData)) {
|
1590
|
-
element = {
|
1591
|
-
tag: 'g',
|
1592
|
-
attributes: {
|
1593
|
-
class: "".concat(config.familyPrefix, "-").concat(DUOTONE_CLASSES.GROUP)
|
1594
|
-
},
|
1595
|
-
children: [{
|
1596
|
-
tag: 'path',
|
1597
|
-
attributes: {
|
1598
|
-
class: "".concat(config.familyPrefix, "-").concat(DUOTONE_CLASSES.SECONDARY),
|
1599
|
-
fill: 'currentColor',
|
1600
|
-
d: vectorData[0]
|
1601
|
-
}
|
1602
|
-
}, {
|
1603
|
-
tag: 'path',
|
1604
|
-
attributes: {
|
1605
|
-
class: "".concat(config.familyPrefix, "-").concat(DUOTONE_CLASSES.PRIMARY),
|
1606
|
-
fill: 'currentColor',
|
1607
|
-
d: vectorData[1]
|
1608
|
-
}
|
1609
|
-
}]
|
1610
|
-
};
|
1611
|
-
} else {
|
1612
|
-
element = {
|
1613
|
-
tag: 'path',
|
1614
|
-
attributes: {
|
1615
|
-
fill: 'currentColor',
|
1616
|
-
d: vectorData
|
1617
|
-
}
|
1618
|
-
};
|
1619
|
-
}
|
1620
|
-
|
1621
|
-
return {
|
1622
|
-
found: true,
|
1623
|
-
width: width,
|
1624
|
-
height: height,
|
1625
|
-
icon: element
|
1626
|
-
};
|
1627
|
-
}
|
1628
|
-
var missingIconResolutionMixin = {
|
1629
|
-
found: false,
|
1630
|
-
width: 512,
|
1631
|
-
height: 512
|
1632
|
-
};
|
1633
|
-
|
1634
|
-
function maybeNotifyMissing(iconName, prefix) {
|
1635
|
-
if (!PRODUCTION && !config.showMissingIcons && iconName) {
|
1636
|
-
console.error("Icon with name \"".concat(iconName, "\" and prefix \"").concat(prefix, "\" is missing."));
|
1637
|
-
}
|
1638
|
-
}
|
1639
|
-
|
1640
|
-
function findIcon(iconName, prefix) {
|
1641
|
-
var givenPrefix = prefix;
|
1642
|
-
|
1643
|
-
if (prefix === 'fa' && config.styleDefault !== null) {
|
1644
|
-
prefix = getDefaultUsablePrefix();
|
1645
|
-
}
|
1646
|
-
|
1647
|
-
return new Promise(function (resolve, reject) {
|
1648
|
-
var val = {
|
1649
|
-
found: false,
|
1650
|
-
width: 512,
|
1651
|
-
height: 512,
|
1652
|
-
icon: callProvided('missingIconAbstract') || {}
|
1653
|
-
};
|
1654
|
-
|
1655
|
-
if (givenPrefix === 'fa') {
|
1656
|
-
var shim = byOldName(iconName) || {};
|
1657
|
-
iconName = shim.iconName || iconName;
|
1658
|
-
prefix = shim.prefix || prefix;
|
1659
|
-
}
|
1660
|
-
|
1661
|
-
if (iconName && prefix && styles$1[prefix] && styles$1[prefix][iconName]) {
|
1662
|
-
var icon = styles$1[prefix][iconName];
|
1663
|
-
return resolve(asFoundIcon(icon));
|
1664
|
-
}
|
1665
|
-
|
1666
|
-
maybeNotifyMissing(iconName, prefix);
|
1667
|
-
resolve(_objectSpread2(_objectSpread2({}, missingIconResolutionMixin), {}, {
|
1668
|
-
icon: config.showMissingIcons && iconName ? callProvided('missingIconAbstract') || {} : {}
|
1669
|
-
}));
|
1670
|
-
});
|
1671
|
-
}
|
1672
|
-
|
1673
|
-
var noop$1 = function noop() {};
|
1674
|
-
|
1675
|
-
var p = config.measurePerformance && PERFORMANCE && PERFORMANCE.mark && PERFORMANCE.measure ? PERFORMANCE : {
|
1676
|
-
mark: noop$1,
|
1677
|
-
measure: noop$1
|
1678
|
-
};
|
1679
|
-
var preamble = "FA \"6.1.0\"";
|
1680
|
-
|
1681
|
-
var begin = function begin(name) {
|
1682
|
-
p.mark("".concat(preamble, " ").concat(name, " begins"));
|
1683
|
-
return function () {
|
1684
|
-
return end(name);
|
1685
|
-
};
|
1686
|
-
};
|
1687
|
-
|
1688
|
-
var end = function end(name) {
|
1689
|
-
p.mark("".concat(preamble, " ").concat(name, " ends"));
|
1690
|
-
p.measure("".concat(preamble, " ").concat(name), "".concat(preamble, " ").concat(name, " begins"), "".concat(preamble, " ").concat(name, " ends"));
|
1691
|
-
};
|
1692
|
-
|
1693
|
-
var perf = {
|
1694
|
-
begin: begin,
|
1695
|
-
end: end
|
1696
|
-
};
|
1697
|
-
|
1698
|
-
var noop$2 = function noop() {};
|
1699
|
-
|
1700
|
-
function isWatched(node) {
|
1701
|
-
var i2svg = node.getAttribute ? node.getAttribute(DATA_FA_I2SVG) : null;
|
1702
|
-
return typeof i2svg === 'string';
|
1703
|
-
}
|
1704
|
-
|
1705
|
-
function hasPrefixAndIcon(node) {
|
1706
|
-
var prefix = node.getAttribute ? node.getAttribute(DATA_PREFIX) : null;
|
1707
|
-
var icon = node.getAttribute ? node.getAttribute(DATA_ICON) : null;
|
1708
|
-
return prefix && icon;
|
1709
|
-
}
|
1710
|
-
|
1711
|
-
function hasBeenReplaced(node) {
|
1712
|
-
return node && node.classList && node.classList.contains && node.classList.contains(config.replacementClass);
|
1713
|
-
}
|
1714
|
-
|
1715
|
-
function getMutator() {
|
1716
|
-
if (config.autoReplaceSvg === true) {
|
1717
|
-
return mutators.replace;
|
1718
|
-
}
|
1719
|
-
|
1720
|
-
var mutator = mutators[config.autoReplaceSvg];
|
1721
|
-
return mutator || mutators.replace;
|
1722
|
-
}
|
1723
|
-
|
1724
|
-
function createElementNS(tag) {
|
1725
|
-
return DOCUMENT.createElementNS('http://www.w3.org/2000/svg', tag);
|
1726
|
-
}
|
1727
|
-
|
1728
|
-
function createElement(tag) {
|
1729
|
-
return DOCUMENT.createElement(tag);
|
1730
|
-
}
|
1731
|
-
|
1732
|
-
function convertSVG(abstractObj) {
|
1733
|
-
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
1734
|
-
var _params$ceFn = params.ceFn,
|
1735
|
-
ceFn = _params$ceFn === void 0 ? abstractObj.tag === 'svg' ? createElementNS : createElement : _params$ceFn;
|
1736
|
-
|
1737
|
-
if (typeof abstractObj === 'string') {
|
1738
|
-
return DOCUMENT.createTextNode(abstractObj);
|
1739
|
-
}
|
1740
|
-
|
1741
|
-
var tag = ceFn(abstractObj.tag);
|
1742
|
-
Object.keys(abstractObj.attributes || []).forEach(function (key) {
|
1743
|
-
tag.setAttribute(key, abstractObj.attributes[key]);
|
1744
|
-
});
|
1745
|
-
var children = abstractObj.children || [];
|
1746
|
-
children.forEach(function (child) {
|
1747
|
-
tag.appendChild(convertSVG(child, {
|
1748
|
-
ceFn: ceFn
|
1749
|
-
}));
|
1750
|
-
});
|
1751
|
-
return tag;
|
1752
|
-
}
|
1753
|
-
|
1754
|
-
function nodeAsComment(node) {
|
1755
|
-
var comment = " ".concat(node.outerHTML, " ");
|
1756
|
-
/* BEGIN.ATTRIBUTION */
|
1757
|
-
|
1758
|
-
comment = "".concat(comment, "Font Awesome fontawesome.com ");
|
1759
|
-
/* END.ATTRIBUTION */
|
1760
|
-
|
1761
|
-
return comment;
|
1762
|
-
}
|
1763
|
-
|
1764
|
-
var mutators = {
|
1765
|
-
replace: function replace(mutation) {
|
1766
|
-
var node = mutation[0];
|
1767
|
-
|
1768
|
-
if (node.parentNode) {
|
1769
|
-
mutation[1].forEach(function (abstract) {
|
1770
|
-
node.parentNode.insertBefore(convertSVG(abstract), node);
|
1771
|
-
});
|
1772
|
-
|
1773
|
-
if (node.getAttribute(DATA_FA_I2SVG) === null && config.keepOriginalSource) {
|
1774
|
-
var comment = DOCUMENT.createComment(nodeAsComment(node));
|
1775
|
-
node.parentNode.replaceChild(comment, node);
|
1776
|
-
} else {
|
1777
|
-
node.remove();
|
1778
|
-
}
|
1779
|
-
}
|
1780
|
-
},
|
1781
|
-
nest: function nest(mutation) {
|
1782
|
-
var node = mutation[0];
|
1783
|
-
var abstract = mutation[1]; // If we already have a replaced node we do not want to continue nesting within it.
|
1784
|
-
// Short-circuit to the standard replacement
|
1785
|
-
|
1786
|
-
if (~classArray(node).indexOf(config.replacementClass)) {
|
1787
|
-
return mutators.replace(mutation);
|
1788
|
-
}
|
1789
|
-
|
1790
|
-
var forSvg = new RegExp("".concat(config.familyPrefix, "-.*"));
|
1791
|
-
delete abstract[0].attributes.id;
|
1792
|
-
|
1793
|
-
if (abstract[0].attributes.class) {
|
1794
|
-
var splitClasses = abstract[0].attributes.class.split(' ').reduce(function (acc, cls) {
|
1795
|
-
if (cls === config.replacementClass || cls.match(forSvg)) {
|
1796
|
-
acc.toSvg.push(cls);
|
1797
|
-
} else {
|
1798
|
-
acc.toNode.push(cls);
|
1799
|
-
}
|
1800
|
-
|
1801
|
-
return acc;
|
1802
|
-
}, {
|
1803
|
-
toNode: [],
|
1804
|
-
toSvg: []
|
1805
|
-
});
|
1806
|
-
abstract[0].attributes.class = splitClasses.toSvg.join(' ');
|
1807
|
-
|
1808
|
-
if (splitClasses.toNode.length === 0) {
|
1809
|
-
node.removeAttribute('class');
|
1810
|
-
} else {
|
1811
|
-
node.setAttribute('class', splitClasses.toNode.join(' '));
|
1812
|
-
}
|
1813
|
-
}
|
1814
|
-
|
1815
|
-
var newInnerHTML = abstract.map(function (a) {
|
1816
|
-
return toHtml(a);
|
1817
|
-
}).join('\n');
|
1818
|
-
node.setAttribute(DATA_FA_I2SVG, '');
|
1819
|
-
node.innerHTML = newInnerHTML;
|
1820
|
-
}
|
1821
|
-
};
|
1822
|
-
|
1823
|
-
function performOperationSync(op) {
|
1824
|
-
op();
|
1825
|
-
}
|
1826
|
-
|
1827
|
-
function perform(mutations, callback) {
|
1828
|
-
var callbackFunction = typeof callback === 'function' ? callback : noop$2;
|
1829
|
-
|
1830
|
-
if (mutations.length === 0) {
|
1831
|
-
callbackFunction();
|
1832
|
-
} else {
|
1833
|
-
var frame = performOperationSync;
|
1834
|
-
|
1835
|
-
if (config.mutateApproach === MUTATION_APPROACH_ASYNC) {
|
1836
|
-
frame = WINDOW.requestAnimationFrame || performOperationSync;
|
1837
|
-
}
|
1838
|
-
|
1839
|
-
frame(function () {
|
1840
|
-
var mutator = getMutator();
|
1841
|
-
var mark = perf.begin('mutate');
|
1842
|
-
mutations.map(mutator);
|
1843
|
-
mark();
|
1844
|
-
callbackFunction();
|
1845
|
-
});
|
1846
|
-
}
|
1847
|
-
}
|
1848
|
-
var disabled = false;
|
1849
|
-
function disableObservation() {
|
1850
|
-
disabled = true;
|
1851
|
-
}
|
1852
|
-
function enableObservation() {
|
1853
|
-
disabled = false;
|
1854
|
-
}
|
1855
|
-
var mo = null;
|
1856
|
-
function observe(options) {
|
1857
|
-
if (!MUTATION_OBSERVER) {
|
1858
|
-
return;
|
1859
|
-
}
|
1860
|
-
|
1861
|
-
if (!config.observeMutations) {
|
1862
|
-
return;
|
1863
|
-
}
|
1864
|
-
|
1865
|
-
var _options$treeCallback = options.treeCallback,
|
1866
|
-
treeCallback = _options$treeCallback === void 0 ? noop$2 : _options$treeCallback,
|
1867
|
-
_options$nodeCallback = options.nodeCallback,
|
1868
|
-
nodeCallback = _options$nodeCallback === void 0 ? noop$2 : _options$nodeCallback,
|
1869
|
-
_options$pseudoElemen = options.pseudoElementsCallback,
|
1870
|
-
pseudoElementsCallback = _options$pseudoElemen === void 0 ? noop$2 : _options$pseudoElemen,
|
1871
|
-
_options$observeMutat = options.observeMutationsRoot,
|
1872
|
-
observeMutationsRoot = _options$observeMutat === void 0 ? DOCUMENT : _options$observeMutat;
|
1873
|
-
mo = new MUTATION_OBSERVER(function (objects) {
|
1874
|
-
if (disabled) return;
|
1875
|
-
var defaultPrefix = getDefaultUsablePrefix();
|
1876
|
-
toArray(objects).forEach(function (mutationRecord) {
|
1877
|
-
if (mutationRecord.type === 'childList' && mutationRecord.addedNodes.length > 0 && !isWatched(mutationRecord.addedNodes[0])) {
|
1878
|
-
if (config.searchPseudoElements) {
|
1879
|
-
pseudoElementsCallback(mutationRecord.target);
|
1880
|
-
}
|
1881
|
-
|
1882
|
-
treeCallback(mutationRecord.target);
|
1883
|
-
}
|
1884
|
-
|
1885
|
-
if (mutationRecord.type === 'attributes' && mutationRecord.target.parentNode && config.searchPseudoElements) {
|
1886
|
-
pseudoElementsCallback(mutationRecord.target.parentNode);
|
1887
|
-
}
|
1888
|
-
|
1889
|
-
if (mutationRecord.type === 'attributes' && isWatched(mutationRecord.target) && ~ATTRIBUTES_WATCHED_FOR_MUTATION.indexOf(mutationRecord.attributeName)) {
|
1890
|
-
if (mutationRecord.attributeName === 'class' && hasPrefixAndIcon(mutationRecord.target)) {
|
1891
|
-
var _getCanonicalIcon = getCanonicalIcon(classArray(mutationRecord.target)),
|
1892
|
-
prefix = _getCanonicalIcon.prefix,
|
1893
|
-
iconName = _getCanonicalIcon.iconName;
|
1894
|
-
|
1895
|
-
mutationRecord.target.setAttribute(DATA_PREFIX, prefix || defaultPrefix);
|
1896
|
-
if (iconName) mutationRecord.target.setAttribute(DATA_ICON, iconName);
|
1897
|
-
} else if (hasBeenReplaced(mutationRecord.target)) {
|
1898
|
-
nodeCallback(mutationRecord.target);
|
1899
|
-
}
|
1900
|
-
}
|
1901
|
-
});
|
1902
|
-
});
|
1903
|
-
if (!IS_DOM) return;
|
1904
|
-
mo.observe(observeMutationsRoot, {
|
1905
|
-
childList: true,
|
1906
|
-
attributes: true,
|
1907
|
-
characterData: true,
|
1908
|
-
subtree: true
|
1909
|
-
});
|
1910
|
-
}
|
1911
|
-
function disconnect() {
|
1912
|
-
if (!mo) return;
|
1913
|
-
mo.disconnect();
|
1914
|
-
}
|
1915
|
-
|
1916
|
-
function styleParser (node) {
|
1917
|
-
var style = node.getAttribute('style');
|
1918
|
-
var val = [];
|
1919
|
-
|
1920
|
-
if (style) {
|
1921
|
-
val = style.split(';').reduce(function (acc, style) {
|
1922
|
-
var styles = style.split(':');
|
1923
|
-
var prop = styles[0];
|
1924
|
-
var value = styles.slice(1);
|
1925
|
-
|
1926
|
-
if (prop && value.length > 0) {
|
1927
|
-
acc[prop] = value.join(':').trim();
|
1928
|
-
}
|
1929
|
-
|
1930
|
-
return acc;
|
1931
|
-
}, {});
|
1932
|
-
}
|
1933
|
-
|
1934
|
-
return val;
|
1935
|
-
}
|
1936
|
-
|
1937
|
-
function classParser (node) {
|
1938
|
-
var existingPrefix = node.getAttribute('data-prefix');
|
1939
|
-
var existingIconName = node.getAttribute('data-icon');
|
1940
|
-
var innerText = node.innerText !== undefined ? node.innerText.trim() : '';
|
1941
|
-
var val = getCanonicalIcon(classArray(node));
|
1942
|
-
|
1943
|
-
if (!val.prefix) {
|
1944
|
-
val.prefix = getDefaultUsablePrefix();
|
1945
|
-
}
|
1946
|
-
|
1947
|
-
if (existingPrefix && existingIconName) {
|
1948
|
-
val.prefix = existingPrefix;
|
1949
|
-
val.iconName = existingIconName;
|
1950
|
-
}
|
1951
|
-
|
1952
|
-
if (val.iconName && val.prefix) {
|
1953
|
-
return val;
|
1954
|
-
}
|
1955
|
-
|
1956
|
-
if (val.prefix && innerText.length > 0) {
|
1957
|
-
val.iconName = byLigature(val.prefix, node.innerText) || byUnicode(val.prefix, toHex(node.innerText));
|
1958
|
-
}
|
1959
|
-
|
1960
|
-
return val;
|
1961
|
-
}
|
1962
|
-
|
1963
|
-
function attributesParser (node) {
|
1964
|
-
var extraAttributes = toArray(node.attributes).reduce(function (acc, attr) {
|
1965
|
-
if (acc.name !== 'class' && acc.name !== 'style') {
|
1966
|
-
acc[attr.name] = attr.value;
|
1967
|
-
}
|
1968
|
-
|
1969
|
-
return acc;
|
1970
|
-
}, {});
|
1971
|
-
var title = node.getAttribute('title');
|
1972
|
-
var titleId = node.getAttribute('data-fa-title-id');
|
1973
|
-
|
1974
|
-
if (config.autoA11y) {
|
1975
|
-
if (title) {
|
1976
|
-
extraAttributes['aria-labelledby'] = "".concat(config.replacementClass, "-title-").concat(titleId || nextUniqueId());
|
1977
|
-
} else {
|
1978
|
-
extraAttributes['aria-hidden'] = 'true';
|
1979
|
-
extraAttributes['focusable'] = 'false';
|
1980
|
-
}
|
1981
|
-
}
|
1982
|
-
|
1983
|
-
return extraAttributes;
|
1984
|
-
}
|
1985
|
-
|
1986
|
-
function blankMeta() {
|
1987
|
-
return {
|
1988
|
-
iconName: null,
|
1989
|
-
title: null,
|
1990
|
-
titleId: null,
|
1991
|
-
prefix: null,
|
1992
|
-
transform: meaninglessTransform,
|
1993
|
-
symbol: false,
|
1994
|
-
mask: {
|
1995
|
-
iconName: null,
|
1996
|
-
prefix: null,
|
1997
|
-
rest: []
|
1998
|
-
},
|
1999
|
-
maskId: null,
|
2000
|
-
extra: {
|
2001
|
-
classes: [],
|
2002
|
-
styles: {},
|
2003
|
-
attributes: {}
|
2004
|
-
}
|
2005
|
-
};
|
2006
|
-
}
|
2007
|
-
function parseMeta(node) {
|
2008
|
-
var parser = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
|
2009
|
-
styleParser: true
|
2010
|
-
};
|
2011
|
-
|
2012
|
-
var _classParser = classParser(node),
|
2013
|
-
iconName = _classParser.iconName,
|
2014
|
-
prefix = _classParser.prefix,
|
2015
|
-
extraClasses = _classParser.rest;
|
2016
|
-
|
2017
|
-
var extraAttributes = attributesParser(node);
|
2018
|
-
var pluginMeta = chainHooks('parseNodeAttributes', {}, node);
|
2019
|
-
var extraStyles = parser.styleParser ? styleParser(node) : [];
|
2020
|
-
return _objectSpread2({
|
2021
|
-
iconName: iconName,
|
2022
|
-
title: node.getAttribute('title'),
|
2023
|
-
titleId: node.getAttribute('data-fa-title-id'),
|
2024
|
-
prefix: prefix,
|
2025
|
-
transform: meaninglessTransform,
|
2026
|
-
mask: {
|
2027
|
-
iconName: null,
|
2028
|
-
prefix: null,
|
2029
|
-
rest: []
|
2030
|
-
},
|
2031
|
-
maskId: null,
|
2032
|
-
symbol: false,
|
2033
|
-
extra: {
|
2034
|
-
classes: extraClasses,
|
2035
|
-
styles: extraStyles,
|
2036
|
-
attributes: extraAttributes
|
2037
|
-
}
|
2038
|
-
}, pluginMeta);
|
2039
|
-
}
|
2040
|
-
|
2041
|
-
var styles$2 = namespace.styles;
|
2042
|
-
|
2043
|
-
function generateMutation(node) {
|
2044
|
-
var nodeMeta = config.autoReplaceSvg === 'nest' ? parseMeta(node, {
|
2045
|
-
styleParser: false
|
2046
|
-
}) : parseMeta(node);
|
2047
|
-
|
2048
|
-
if (~nodeMeta.extra.classes.indexOf(LAYERS_TEXT_CLASSNAME)) {
|
2049
|
-
return callProvided('generateLayersText', node, nodeMeta);
|
2050
|
-
} else {
|
2051
|
-
return callProvided('generateSvgReplacementMutation', node, nodeMeta);
|
2052
|
-
}
|
2053
|
-
}
|
2054
|
-
|
2055
|
-
function onTree(root) {
|
2056
|
-
var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
2057
|
-
if (!IS_DOM) return Promise.resolve();
|
2058
|
-
var htmlClassList = DOCUMENT.documentElement.classList;
|
2059
|
-
|
2060
|
-
var hclAdd = function hclAdd(suffix) {
|
2061
|
-
return htmlClassList.add("".concat(HTML_CLASS_I2SVG_BASE_CLASS, "-").concat(suffix));
|
2062
|
-
};
|
2063
|
-
|
2064
|
-
var hclRemove = function hclRemove(suffix) {
|
2065
|
-
return htmlClassList.remove("".concat(HTML_CLASS_I2SVG_BASE_CLASS, "-").concat(suffix));
|
2066
|
-
};
|
2067
|
-
|
2068
|
-
var prefixes = config.autoFetchSvg ? Object.keys(PREFIX_TO_STYLE) : Object.keys(styles$2);
|
2069
|
-
var prefixesDomQuery = [".".concat(LAYERS_TEXT_CLASSNAME, ":not([").concat(DATA_FA_I2SVG, "])")].concat(prefixes.map(function (p) {
|
2070
|
-
return ".".concat(p, ":not([").concat(DATA_FA_I2SVG, "])");
|
2071
|
-
})).join(', ');
|
2072
|
-
|
2073
|
-
if (prefixesDomQuery.length === 0) {
|
2074
|
-
return Promise.resolve();
|
2075
|
-
}
|
2076
|
-
|
2077
|
-
var candidates = [];
|
2078
|
-
|
2079
|
-
try {
|
2080
|
-
candidates = toArray(root.querySelectorAll(prefixesDomQuery));
|
2081
|
-
} catch (e) {// noop
|
2082
|
-
}
|
2083
|
-
|
2084
|
-
if (candidates.length > 0) {
|
2085
|
-
hclAdd('pending');
|
2086
|
-
hclRemove('complete');
|
2087
|
-
} else {
|
2088
|
-
return Promise.resolve();
|
2089
|
-
}
|
2090
|
-
|
2091
|
-
var mark = perf.begin('onTree');
|
2092
|
-
var mutations = candidates.reduce(function (acc, node) {
|
2093
|
-
try {
|
2094
|
-
var mutation = generateMutation(node);
|
2095
|
-
|
2096
|
-
if (mutation) {
|
2097
|
-
acc.push(mutation);
|
2098
|
-
}
|
2099
|
-
} catch (e) {
|
2100
|
-
if (!PRODUCTION) {
|
2101
|
-
if (e.name === 'MissingIcon') {
|
2102
|
-
console.error(e);
|
2103
|
-
}
|
2104
|
-
}
|
2105
|
-
}
|
2106
|
-
|
2107
|
-
return acc;
|
2108
|
-
}, []);
|
2109
|
-
return new Promise(function (resolve, reject) {
|
2110
|
-
Promise.all(mutations).then(function (resolvedMutations) {
|
2111
|
-
perform(resolvedMutations, function () {
|
2112
|
-
hclAdd('active');
|
2113
|
-
hclAdd('complete');
|
2114
|
-
hclRemove('pending');
|
2115
|
-
if (typeof callback === 'function') callback();
|
2116
|
-
mark();
|
2117
|
-
resolve();
|
2118
|
-
});
|
2119
|
-
}).catch(function (e) {
|
2120
|
-
mark();
|
2121
|
-
reject(e);
|
2122
|
-
});
|
2123
|
-
});
|
2124
|
-
}
|
2125
|
-
|
2126
|
-
function onNode(node) {
|
2127
|
-
var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
2128
|
-
generateMutation(node).then(function (mutation) {
|
2129
|
-
if (mutation) {
|
2130
|
-
perform([mutation], callback);
|
2131
|
-
}
|
2132
|
-
});
|
2133
|
-
}
|
2134
|
-
|
2135
|
-
function resolveIcons(next) {
|
2136
|
-
return function (maybeIconDefinition) {
|
2137
|
-
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
2138
|
-
var iconDefinition = (maybeIconDefinition || {}).icon ? maybeIconDefinition : findIconDefinition(maybeIconDefinition || {});
|
2139
|
-
var mask = params.mask;
|
2140
|
-
|
2141
|
-
if (mask) {
|
2142
|
-
mask = (mask || {}).icon ? mask : findIconDefinition(mask || {});
|
2143
|
-
}
|
2144
|
-
|
2145
|
-
return next(iconDefinition, _objectSpread2(_objectSpread2({}, params), {}, {
|
2146
|
-
mask: mask
|
2147
|
-
}));
|
2148
|
-
};
|
2149
|
-
}
|
2150
|
-
|
2151
|
-
var render = function render(iconDefinition) {
|
2152
|
-
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
2153
|
-
var _params$transform = params.transform,
|
2154
|
-
transform = _params$transform === void 0 ? meaninglessTransform : _params$transform,
|
2155
|
-
_params$symbol = params.symbol,
|
2156
|
-
symbol = _params$symbol === void 0 ? false : _params$symbol,
|
2157
|
-
_params$mask = params.mask,
|
2158
|
-
mask = _params$mask === void 0 ? null : _params$mask,
|
2159
|
-
_params$maskId = params.maskId,
|
2160
|
-
maskId = _params$maskId === void 0 ? null : _params$maskId,
|
2161
|
-
_params$title = params.title,
|
2162
|
-
title = _params$title === void 0 ? null : _params$title,
|
2163
|
-
_params$titleId = params.titleId,
|
2164
|
-
titleId = _params$titleId === void 0 ? null : _params$titleId,
|
2165
|
-
_params$classes = params.classes,
|
2166
|
-
classes = _params$classes === void 0 ? [] : _params$classes,
|
2167
|
-
_params$attributes = params.attributes,
|
2168
|
-
attributes = _params$attributes === void 0 ? {} : _params$attributes,
|
2169
|
-
_params$styles = params.styles,
|
2170
|
-
styles = _params$styles === void 0 ? {} : _params$styles;
|
2171
|
-
if (!iconDefinition) return;
|
2172
|
-
var prefix = iconDefinition.prefix,
|
2173
|
-
iconName = iconDefinition.iconName,
|
2174
|
-
icon = iconDefinition.icon;
|
2175
|
-
return domVariants(_objectSpread2({
|
2176
|
-
type: 'icon'
|
2177
|
-
}, iconDefinition), function () {
|
2178
|
-
callHooks('beforeDOMElementCreation', {
|
2179
|
-
iconDefinition: iconDefinition,
|
2180
|
-
params: params
|
2181
|
-
});
|
2182
|
-
|
2183
|
-
if (config.autoA11y) {
|
2184
|
-
if (title) {
|
2185
|
-
attributes['aria-labelledby'] = "".concat(config.replacementClass, "-title-").concat(titleId || nextUniqueId());
|
2186
|
-
} else {
|
2187
|
-
attributes['aria-hidden'] = 'true';
|
2188
|
-
attributes['focusable'] = 'false';
|
2189
|
-
}
|
2190
|
-
}
|
2191
|
-
|
2192
|
-
return makeInlineSvgAbstract({
|
2193
|
-
icons: {
|
2194
|
-
main: asFoundIcon(icon),
|
2195
|
-
mask: mask ? asFoundIcon(mask.icon) : {
|
2196
|
-
found: false,
|
2197
|
-
width: null,
|
2198
|
-
height: null,
|
2199
|
-
icon: {}
|
2200
|
-
}
|
2201
|
-
},
|
2202
|
-
prefix: prefix,
|
2203
|
-
iconName: iconName,
|
2204
|
-
transform: _objectSpread2(_objectSpread2({}, meaninglessTransform), transform),
|
2205
|
-
symbol: symbol,
|
2206
|
-
title: title,
|
2207
|
-
maskId: maskId,
|
2208
|
-
titleId: titleId,
|
2209
|
-
extra: {
|
2210
|
-
attributes: attributes,
|
2211
|
-
styles: styles,
|
2212
|
-
classes: classes
|
2213
|
-
}
|
2214
|
-
});
|
2215
|
-
});
|
2216
|
-
};
|
2217
|
-
var ReplaceElements = {
|
2218
|
-
mixout: function mixout() {
|
2219
|
-
return {
|
2220
|
-
icon: resolveIcons(render)
|
2221
|
-
};
|
2222
|
-
},
|
2223
|
-
hooks: function hooks() {
|
2224
|
-
return {
|
2225
|
-
mutationObserverCallbacks: function mutationObserverCallbacks(accumulator) {
|
2226
|
-
accumulator.treeCallback = onTree;
|
2227
|
-
accumulator.nodeCallback = onNode;
|
2228
|
-
return accumulator;
|
2229
|
-
}
|
2230
|
-
};
|
2231
|
-
},
|
2232
|
-
provides: function provides(providers$$1) {
|
2233
|
-
providers$$1.i2svg = function (params) {
|
2234
|
-
var _params$node = params.node,
|
2235
|
-
node = _params$node === void 0 ? DOCUMENT : _params$node,
|
2236
|
-
_params$callback = params.callback,
|
2237
|
-
callback = _params$callback === void 0 ? function () {} : _params$callback;
|
2238
|
-
return onTree(node, callback);
|
2239
|
-
};
|
2240
|
-
|
2241
|
-
providers$$1.generateSvgReplacementMutation = function (node, nodeMeta) {
|
2242
|
-
var iconName = nodeMeta.iconName,
|
2243
|
-
title = nodeMeta.title,
|
2244
|
-
titleId = nodeMeta.titleId,
|
2245
|
-
prefix = nodeMeta.prefix,
|
2246
|
-
transform = nodeMeta.transform,
|
2247
|
-
symbol = nodeMeta.symbol,
|
2248
|
-
mask = nodeMeta.mask,
|
2249
|
-
maskId = nodeMeta.maskId,
|
2250
|
-
extra = nodeMeta.extra;
|
2251
|
-
return new Promise(function (resolve, reject) {
|
2252
|
-
Promise.all([findIcon(iconName, prefix), mask.iconName ? findIcon(mask.iconName, mask.prefix) : Promise.resolve({
|
2253
|
-
found: false,
|
2254
|
-
width: 512,
|
2255
|
-
height: 512,
|
2256
|
-
icon: {}
|
2257
|
-
})]).then(function (_ref) {
|
2258
|
-
var _ref2 = _slicedToArray(_ref, 2),
|
2259
|
-
main = _ref2[0],
|
2260
|
-
mask = _ref2[1];
|
2261
|
-
|
2262
|
-
resolve([node, makeInlineSvgAbstract({
|
2263
|
-
icons: {
|
2264
|
-
main: main,
|
2265
|
-
mask: mask
|
2266
|
-
},
|
2267
|
-
prefix: prefix,
|
2268
|
-
iconName: iconName,
|
2269
|
-
transform: transform,
|
2270
|
-
symbol: symbol,
|
2271
|
-
maskId: maskId,
|
2272
|
-
title: title,
|
2273
|
-
titleId: titleId,
|
2274
|
-
extra: extra,
|
2275
|
-
watchable: true
|
2276
|
-
})]);
|
2277
|
-
}).catch(reject);
|
2278
|
-
});
|
2279
|
-
};
|
2280
|
-
|
2281
|
-
providers$$1.generateAbstractIcon = function (_ref3) {
|
2282
|
-
var children = _ref3.children,
|
2283
|
-
attributes = _ref3.attributes,
|
2284
|
-
main = _ref3.main,
|
2285
|
-
transform = _ref3.transform,
|
2286
|
-
styles = _ref3.styles;
|
2287
|
-
var styleString = joinStyles(styles);
|
2288
|
-
|
2289
|
-
if (styleString.length > 0) {
|
2290
|
-
attributes['style'] = styleString;
|
2291
|
-
}
|
2292
|
-
|
2293
|
-
var nextChild;
|
2294
|
-
|
2295
|
-
if (transformIsMeaningful(transform)) {
|
2296
|
-
nextChild = callProvided('generateAbstractTransformGrouping', {
|
2297
|
-
main: main,
|
2298
|
-
transform: transform,
|
2299
|
-
containerWidth: main.width,
|
2300
|
-
iconWidth: main.width
|
2301
|
-
});
|
2302
|
-
}
|
2303
|
-
|
2304
|
-
children.push(nextChild || main.icon);
|
2305
|
-
return {
|
2306
|
-
children: children,
|
2307
|
-
attributes: attributes
|
2308
|
-
};
|
2309
|
-
};
|
2310
|
-
}
|
2311
|
-
};
|
2312
|
-
|
2313
|
-
var Layers = {
|
2314
|
-
mixout: function mixout() {
|
2315
|
-
return {
|
2316
|
-
layer: function layer(assembler) {
|
2317
|
-
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
2318
|
-
var _params$classes = params.classes,
|
2319
|
-
classes = _params$classes === void 0 ? [] : _params$classes;
|
2320
|
-
return domVariants({
|
2321
|
-
type: 'layer'
|
2322
|
-
}, function () {
|
2323
|
-
callHooks('beforeDOMElementCreation', {
|
2324
|
-
assembler: assembler,
|
2325
|
-
params: params
|
2326
|
-
});
|
2327
|
-
var children = [];
|
2328
|
-
assembler(function (args) {
|
2329
|
-
Array.isArray(args) ? args.map(function (a) {
|
2330
|
-
children = children.concat(a.abstract);
|
2331
|
-
}) : children = children.concat(args.abstract);
|
2332
|
-
});
|
2333
|
-
return [{
|
2334
|
-
tag: 'span',
|
2335
|
-
attributes: {
|
2336
|
-
class: ["".concat(config.familyPrefix, "-layers")].concat(_toConsumableArray(classes)).join(' ')
|
2337
|
-
},
|
2338
|
-
children: children
|
2339
|
-
}];
|
2340
|
-
});
|
2341
|
-
}
|
2342
|
-
};
|
2343
|
-
}
|
2344
|
-
};
|
2345
|
-
|
2346
|
-
var LayersCounter = {
|
2347
|
-
mixout: function mixout() {
|
2348
|
-
return {
|
2349
|
-
counter: function counter(content) {
|
2350
|
-
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
2351
|
-
var _params$title = params.title,
|
2352
|
-
title = _params$title === void 0 ? null : _params$title,
|
2353
|
-
_params$classes = params.classes,
|
2354
|
-
classes = _params$classes === void 0 ? [] : _params$classes,
|
2355
|
-
_params$attributes = params.attributes,
|
2356
|
-
attributes = _params$attributes === void 0 ? {} : _params$attributes,
|
2357
|
-
_params$styles = params.styles,
|
2358
|
-
styles = _params$styles === void 0 ? {} : _params$styles;
|
2359
|
-
return domVariants({
|
2360
|
-
type: 'counter',
|
2361
|
-
content: content
|
2362
|
-
}, function () {
|
2363
|
-
callHooks('beforeDOMElementCreation', {
|
2364
|
-
content: content,
|
2365
|
-
params: params
|
2366
|
-
});
|
2367
|
-
return makeLayersCounterAbstract({
|
2368
|
-
content: content.toString(),
|
2369
|
-
title: title,
|
2370
|
-
extra: {
|
2371
|
-
attributes: attributes,
|
2372
|
-
styles: styles,
|
2373
|
-
classes: ["".concat(config.familyPrefix, "-layers-counter")].concat(_toConsumableArray(classes))
|
2374
|
-
}
|
2375
|
-
});
|
2376
|
-
});
|
2377
|
-
}
|
2378
|
-
};
|
2379
|
-
}
|
2380
|
-
};
|
2381
|
-
|
2382
|
-
var LayersText = {
|
2383
|
-
mixout: function mixout() {
|
2384
|
-
return {
|
2385
|
-
text: function text(content) {
|
2386
|
-
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
2387
|
-
var _params$transform = params.transform,
|
2388
|
-
transform = _params$transform === void 0 ? meaninglessTransform : _params$transform,
|
2389
|
-
_params$title = params.title,
|
2390
|
-
title = _params$title === void 0 ? null : _params$title,
|
2391
|
-
_params$classes = params.classes,
|
2392
|
-
classes = _params$classes === void 0 ? [] : _params$classes,
|
2393
|
-
_params$attributes = params.attributes,
|
2394
|
-
attributes = _params$attributes === void 0 ? {} : _params$attributes,
|
2395
|
-
_params$styles = params.styles,
|
2396
|
-
styles = _params$styles === void 0 ? {} : _params$styles;
|
2397
|
-
return domVariants({
|
2398
|
-
type: 'text',
|
2399
|
-
content: content
|
2400
|
-
}, function () {
|
2401
|
-
callHooks('beforeDOMElementCreation', {
|
2402
|
-
content: content,
|
2403
|
-
params: params
|
2404
|
-
});
|
2405
|
-
return makeLayersTextAbstract({
|
2406
|
-
content: content,
|
2407
|
-
transform: _objectSpread2(_objectSpread2({}, meaninglessTransform), transform),
|
2408
|
-
title: title,
|
2409
|
-
extra: {
|
2410
|
-
attributes: attributes,
|
2411
|
-
styles: styles,
|
2412
|
-
classes: ["".concat(config.familyPrefix, "-layers-text")].concat(_toConsumableArray(classes))
|
2413
|
-
}
|
2414
|
-
});
|
2415
|
-
});
|
2416
|
-
}
|
2417
|
-
};
|
2418
|
-
},
|
2419
|
-
provides: function provides(providers$$1) {
|
2420
|
-
providers$$1.generateLayersText = function (node, nodeMeta) {
|
2421
|
-
var title = nodeMeta.title,
|
2422
|
-
transform = nodeMeta.transform,
|
2423
|
-
extra = nodeMeta.extra;
|
2424
|
-
var width = null;
|
2425
|
-
var height = null;
|
2426
|
-
|
2427
|
-
if (IS_IE) {
|
2428
|
-
var computedFontSize = parseInt(getComputedStyle(node).fontSize, 10);
|
2429
|
-
var boundingClientRect = node.getBoundingClientRect();
|
2430
|
-
width = boundingClientRect.width / computedFontSize;
|
2431
|
-
height = boundingClientRect.height / computedFontSize;
|
2432
|
-
}
|
2433
|
-
|
2434
|
-
if (config.autoA11y && !title) {
|
2435
|
-
extra.attributes['aria-hidden'] = 'true';
|
2436
|
-
}
|
2437
|
-
|
2438
|
-
return Promise.resolve([node, makeLayersTextAbstract({
|
2439
|
-
content: node.innerHTML,
|
2440
|
-
width: width,
|
2441
|
-
height: height,
|
2442
|
-
transform: transform,
|
2443
|
-
title: title,
|
2444
|
-
extra: extra,
|
2445
|
-
watchable: true
|
2446
|
-
})]);
|
2447
|
-
};
|
2448
|
-
}
|
2449
|
-
};
|
2450
|
-
|
2451
|
-
var CLEAN_CONTENT_PATTERN = new RegExp("\"", 'ug');
|
2452
|
-
var SECONDARY_UNICODE_RANGE = [1105920, 1112319];
|
2453
|
-
function hexValueFromContent(content) {
|
2454
|
-
var cleaned = content.replace(CLEAN_CONTENT_PATTERN, '');
|
2455
|
-
var codePoint = codePointAt(cleaned, 0);
|
2456
|
-
var isPrependTen = codePoint >= SECONDARY_UNICODE_RANGE[0] && codePoint <= SECONDARY_UNICODE_RANGE[1];
|
2457
|
-
var isDoubled = cleaned.length === 2 ? cleaned[0] === cleaned[1] : false;
|
2458
|
-
return {
|
2459
|
-
value: isDoubled ? toHex(cleaned[0]) : toHex(cleaned),
|
2460
|
-
isSecondary: isPrependTen || isDoubled
|
2461
|
-
};
|
2462
|
-
}
|
2463
|
-
|
2464
|
-
function replaceForPosition(node, position) {
|
2465
|
-
var pendingAttribute = "".concat(DATA_FA_PSEUDO_ELEMENT_PENDING).concat(position.replace(':', '-'));
|
2466
|
-
return new Promise(function (resolve, reject) {
|
2467
|
-
if (node.getAttribute(pendingAttribute) !== null) {
|
2468
|
-
// This node is already being processed
|
2469
|
-
return resolve();
|
2470
|
-
}
|
2471
|
-
|
2472
|
-
var children = toArray(node.children);
|
2473
|
-
var alreadyProcessedPseudoElement = children.filter(function (c) {
|
2474
|
-
return c.getAttribute(DATA_FA_PSEUDO_ELEMENT) === position;
|
2475
|
-
})[0];
|
2476
|
-
var styles = WINDOW.getComputedStyle(node, position);
|
2477
|
-
var fontFamily = styles.getPropertyValue('font-family').match(FONT_FAMILY_PATTERN);
|
2478
|
-
var fontWeight = styles.getPropertyValue('font-weight');
|
2479
|
-
var content = styles.getPropertyValue('content');
|
2480
|
-
|
2481
|
-
if (alreadyProcessedPseudoElement && !fontFamily) {
|
2482
|
-
// If we've already processed it but the current computed style does not result in a font-family,
|
2483
|
-
// that probably means that a class name that was previously present to make the icon has been
|
2484
|
-
// removed. So we now should delete the icon.
|
2485
|
-
node.removeChild(alreadyProcessedPseudoElement);
|
2486
|
-
return resolve();
|
2487
|
-
} else if (fontFamily && content !== 'none' && content !== '') {
|
2488
|
-
var _content = styles.getPropertyValue('content');
|
2489
|
-
|
2490
|
-
var prefix = ~['Solid', 'Regular', 'Light', 'Thin', 'Duotone', 'Brands', 'Kit'].indexOf(fontFamily[2]) ? STYLE_TO_PREFIX[fontFamily[2].toLowerCase()] : FONT_WEIGHT_TO_PREFIX[fontWeight];
|
2491
|
-
|
2492
|
-
var _hexValueFromContent = hexValueFromContent(_content),
|
2493
|
-
hexValue = _hexValueFromContent.value,
|
2494
|
-
isSecondary = _hexValueFromContent.isSecondary;
|
2495
|
-
|
2496
|
-
var isV4 = fontFamily[0].startsWith('FontAwesome');
|
2497
|
-
var iconName = byUnicode(prefix, hexValue);
|
2498
|
-
var iconIdentifier = iconName;
|
2499
|
-
|
2500
|
-
if (isV4) {
|
2501
|
-
var iconName4 = byOldUnicode(hexValue);
|
2502
|
-
|
2503
|
-
if (iconName4.iconName && iconName4.prefix) {
|
2504
|
-
iconName = iconName4.iconName;
|
2505
|
-
prefix = iconName4.prefix;
|
2506
|
-
}
|
2507
|
-
} // Only convert the pseudo element in this ::before/::after position into an icon if we haven't
|
2508
|
-
// already done so with the same prefix and iconName
|
2509
|
-
|
2510
|
-
|
2511
|
-
if (iconName && !isSecondary && (!alreadyProcessedPseudoElement || alreadyProcessedPseudoElement.getAttribute(DATA_PREFIX) !== prefix || alreadyProcessedPseudoElement.getAttribute(DATA_ICON) !== iconIdentifier)) {
|
2512
|
-
node.setAttribute(pendingAttribute, iconIdentifier);
|
2513
|
-
|
2514
|
-
if (alreadyProcessedPseudoElement) {
|
2515
|
-
// Delete the old one, since we're replacing it with a new one
|
2516
|
-
node.removeChild(alreadyProcessedPseudoElement);
|
2517
|
-
}
|
2518
|
-
|
2519
|
-
var meta = blankMeta();
|
2520
|
-
var extra = meta.extra;
|
2521
|
-
extra.attributes[DATA_FA_PSEUDO_ELEMENT] = position;
|
2522
|
-
findIcon(iconName, prefix).then(function (main) {
|
2523
|
-
var abstract = makeInlineSvgAbstract(_objectSpread2(_objectSpread2({}, meta), {}, {
|
2524
|
-
icons: {
|
2525
|
-
main: main,
|
2526
|
-
mask: emptyCanonicalIcon()
|
2527
|
-
},
|
2528
|
-
prefix: prefix,
|
2529
|
-
iconName: iconIdentifier,
|
2530
|
-
extra: extra,
|
2531
|
-
watchable: true
|
2532
|
-
}));
|
2533
|
-
var element = DOCUMENT.createElement('svg');
|
2534
|
-
|
2535
|
-
if (position === '::before') {
|
2536
|
-
node.insertBefore(element, node.firstChild);
|
2537
|
-
} else {
|
2538
|
-
node.appendChild(element);
|
2539
|
-
}
|
2540
|
-
|
2541
|
-
element.outerHTML = abstract.map(function (a) {
|
2542
|
-
return toHtml(a);
|
2543
|
-
}).join('\n');
|
2544
|
-
node.removeAttribute(pendingAttribute);
|
2545
|
-
resolve();
|
2546
|
-
}).catch(reject);
|
2547
|
-
} else {
|
2548
|
-
resolve();
|
2549
|
-
}
|
2550
|
-
} else {
|
2551
|
-
resolve();
|
2552
|
-
}
|
2553
|
-
});
|
2554
|
-
}
|
2555
|
-
|
2556
|
-
function replace(node) {
|
2557
|
-
return Promise.all([replaceForPosition(node, '::before'), replaceForPosition(node, '::after')]);
|
2558
|
-
}
|
2559
|
-
|
2560
|
-
function processable(node) {
|
2561
|
-
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');
|
2562
|
-
}
|
2563
|
-
|
2564
|
-
function searchPseudoElements(root) {
|
2565
|
-
if (!IS_DOM) return;
|
2566
|
-
return new Promise(function (resolve, reject) {
|
2567
|
-
var operations = toArray(root.querySelectorAll('*')).filter(processable).map(replace);
|
2568
|
-
var end = perf.begin('searchPseudoElements');
|
2569
|
-
disableObservation();
|
2570
|
-
Promise.all(operations).then(function () {
|
2571
|
-
end();
|
2572
|
-
enableObservation();
|
2573
|
-
resolve();
|
2574
|
-
}).catch(function () {
|
2575
|
-
end();
|
2576
|
-
enableObservation();
|
2577
|
-
reject();
|
2578
|
-
});
|
2579
|
-
});
|
2580
|
-
}
|
2581
|
-
|
2582
|
-
var PseudoElements = {
|
2583
|
-
hooks: function hooks() {
|
2584
|
-
return {
|
2585
|
-
mutationObserverCallbacks: function mutationObserverCallbacks(accumulator) {
|
2586
|
-
accumulator.pseudoElementsCallback = searchPseudoElements;
|
2587
|
-
return accumulator;
|
2588
|
-
}
|
2589
|
-
};
|
2590
|
-
},
|
2591
|
-
provides: function provides(providers$$1) {
|
2592
|
-
providers$$1.pseudoElements2svg = function (params) {
|
2593
|
-
var _params$node = params.node,
|
2594
|
-
node = _params$node === void 0 ? DOCUMENT : _params$node;
|
2595
|
-
|
2596
|
-
if (config.searchPseudoElements) {
|
2597
|
-
searchPseudoElements(node);
|
2598
|
-
}
|
2599
|
-
};
|
2600
|
-
}
|
2601
|
-
};
|
2602
|
-
|
2603
|
-
var _unwatched = false;
|
2604
|
-
var MutationObserver$1 = {
|
2605
|
-
mixout: function mixout() {
|
2606
|
-
return {
|
2607
|
-
dom: {
|
2608
|
-
unwatch: function unwatch() {
|
2609
|
-
disableObservation();
|
2610
|
-
_unwatched = true;
|
2611
|
-
}
|
2612
|
-
}
|
2613
|
-
};
|
2614
|
-
},
|
2615
|
-
hooks: function hooks() {
|
2616
|
-
return {
|
2617
|
-
bootstrap: function bootstrap() {
|
2618
|
-
observe(chainHooks('mutationObserverCallbacks', {}));
|
2619
|
-
},
|
2620
|
-
noAuto: function noAuto() {
|
2621
|
-
disconnect();
|
2622
|
-
},
|
2623
|
-
watch: function watch(params) {
|
2624
|
-
var observeMutationsRoot = params.observeMutationsRoot;
|
2625
|
-
|
2626
|
-
if (_unwatched) {
|
2627
|
-
enableObservation();
|
2628
|
-
} else {
|
2629
|
-
observe(chainHooks('mutationObserverCallbacks', {
|
2630
|
-
observeMutationsRoot: observeMutationsRoot
|
2631
|
-
}));
|
2632
|
-
}
|
2633
|
-
}
|
2634
|
-
};
|
2635
|
-
}
|
2636
|
-
};
|
2637
|
-
|
2638
|
-
var parseTransformString = function parseTransformString(transformString) {
|
2639
|
-
var transform = {
|
2640
|
-
size: 16,
|
2641
|
-
x: 0,
|
2642
|
-
y: 0,
|
2643
|
-
flipX: false,
|
2644
|
-
flipY: false,
|
2645
|
-
rotate: 0
|
2646
|
-
};
|
2647
|
-
return transformString.toLowerCase().split(' ').reduce(function (acc, n) {
|
2648
|
-
var parts = n.toLowerCase().split('-');
|
2649
|
-
var first = parts[0];
|
2650
|
-
var rest = parts.slice(1).join('-');
|
2651
|
-
|
2652
|
-
if (first && rest === 'h') {
|
2653
|
-
acc.flipX = true;
|
2654
|
-
return acc;
|
2655
|
-
}
|
2656
|
-
|
2657
|
-
if (first && rest === 'v') {
|
2658
|
-
acc.flipY = true;
|
2659
|
-
return acc;
|
2660
|
-
}
|
2661
|
-
|
2662
|
-
rest = parseFloat(rest);
|
2663
|
-
|
2664
|
-
if (isNaN(rest)) {
|
2665
|
-
return acc;
|
2666
|
-
}
|
2667
|
-
|
2668
|
-
switch (first) {
|
2669
|
-
case 'grow':
|
2670
|
-
acc.size = acc.size + rest;
|
2671
|
-
break;
|
2672
|
-
|
2673
|
-
case 'shrink':
|
2674
|
-
acc.size = acc.size - rest;
|
2675
|
-
break;
|
2676
|
-
|
2677
|
-
case 'left':
|
2678
|
-
acc.x = acc.x - rest;
|
2679
|
-
break;
|
2680
|
-
|
2681
|
-
case 'right':
|
2682
|
-
acc.x = acc.x + rest;
|
2683
|
-
break;
|
2684
|
-
|
2685
|
-
case 'up':
|
2686
|
-
acc.y = acc.y - rest;
|
2687
|
-
break;
|
2688
|
-
|
2689
|
-
case 'down':
|
2690
|
-
acc.y = acc.y + rest;
|
2691
|
-
break;
|
2692
|
-
|
2693
|
-
case 'rotate':
|
2694
|
-
acc.rotate = acc.rotate + rest;
|
2695
|
-
break;
|
2696
|
-
}
|
2697
|
-
|
2698
|
-
return acc;
|
2699
|
-
}, transform);
|
2700
|
-
};
|
2701
|
-
var PowerTransforms = {
|
2702
|
-
mixout: function mixout() {
|
2703
|
-
return {
|
2704
|
-
parse: {
|
2705
|
-
transform: function transform(transformString) {
|
2706
|
-
return parseTransformString(transformString);
|
2707
|
-
}
|
2708
|
-
}
|
2709
|
-
};
|
2710
|
-
},
|
2711
|
-
hooks: function hooks() {
|
2712
|
-
return {
|
2713
|
-
parseNodeAttributes: function parseNodeAttributes(accumulator, node) {
|
2714
|
-
var transformString = node.getAttribute('data-fa-transform');
|
2715
|
-
|
2716
|
-
if (transformString) {
|
2717
|
-
accumulator.transform = parseTransformString(transformString);
|
2718
|
-
}
|
2719
|
-
|
2720
|
-
return accumulator;
|
2721
|
-
}
|
2722
|
-
};
|
2723
|
-
},
|
2724
|
-
provides: function provides(providers) {
|
2725
|
-
providers.generateAbstractTransformGrouping = function (_ref) {
|
2726
|
-
var main = _ref.main,
|
2727
|
-
transform = _ref.transform,
|
2728
|
-
containerWidth = _ref.containerWidth,
|
2729
|
-
iconWidth = _ref.iconWidth;
|
2730
|
-
var outer = {
|
2731
|
-
transform: "translate(".concat(containerWidth / 2, " 256)")
|
2732
|
-
};
|
2733
|
-
var innerTranslate = "translate(".concat(transform.x * 32, ", ").concat(transform.y * 32, ") ");
|
2734
|
-
var innerScale = "scale(".concat(transform.size / 16 * (transform.flipX ? -1 : 1), ", ").concat(transform.size / 16 * (transform.flipY ? -1 : 1), ") ");
|
2735
|
-
var innerRotate = "rotate(".concat(transform.rotate, " 0 0)");
|
2736
|
-
var inner = {
|
2737
|
-
transform: "".concat(innerTranslate, " ").concat(innerScale, " ").concat(innerRotate)
|
2738
|
-
};
|
2739
|
-
var path = {
|
2740
|
-
transform: "translate(".concat(iconWidth / 2 * -1, " -256)")
|
2741
|
-
};
|
2742
|
-
var operations = {
|
2743
|
-
outer: outer,
|
2744
|
-
inner: inner,
|
2745
|
-
path: path
|
2746
|
-
};
|
2747
|
-
return {
|
2748
|
-
tag: 'g',
|
2749
|
-
attributes: _objectSpread2({}, operations.outer),
|
2750
|
-
children: [{
|
2751
|
-
tag: 'g',
|
2752
|
-
attributes: _objectSpread2({}, operations.inner),
|
2753
|
-
children: [{
|
2754
|
-
tag: main.icon.tag,
|
2755
|
-
children: main.icon.children,
|
2756
|
-
attributes: _objectSpread2(_objectSpread2({}, main.icon.attributes), operations.path)
|
2757
|
-
}]
|
2758
|
-
}]
|
2759
|
-
};
|
2760
|
-
};
|
2761
|
-
}
|
2762
|
-
};
|
2763
|
-
|
2764
|
-
var ALL_SPACE = {
|
2765
|
-
x: 0,
|
2766
|
-
y: 0,
|
2767
|
-
width: '100%',
|
2768
|
-
height: '100%'
|
2769
|
-
};
|
2770
|
-
|
2771
|
-
function fillBlack(abstract) {
|
2772
|
-
var force = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
2773
|
-
|
2774
|
-
if (abstract.attributes && (abstract.attributes.fill || force)) {
|
2775
|
-
abstract.attributes.fill = 'black';
|
2776
|
-
}
|
2777
|
-
|
2778
|
-
return abstract;
|
2779
|
-
}
|
2780
|
-
|
2781
|
-
function deGroup(abstract) {
|
2782
|
-
if (abstract.tag === 'g') {
|
2783
|
-
return abstract.children;
|
2784
|
-
} else {
|
2785
|
-
return [abstract];
|
2786
|
-
}
|
2787
|
-
}
|
2788
|
-
|
2789
|
-
var Masks = {
|
2790
|
-
hooks: function hooks() {
|
2791
|
-
return {
|
2792
|
-
parseNodeAttributes: function parseNodeAttributes(accumulator, node) {
|
2793
|
-
var maskData = node.getAttribute('data-fa-mask');
|
2794
|
-
var mask = !maskData ? emptyCanonicalIcon() : getCanonicalIcon(maskData.split(' ').map(function (i) {
|
2795
|
-
return i.trim();
|
2796
|
-
}));
|
2797
|
-
|
2798
|
-
if (!mask.prefix) {
|
2799
|
-
mask.prefix = getDefaultUsablePrefix();
|
2800
|
-
}
|
2801
|
-
|
2802
|
-
accumulator.mask = mask;
|
2803
|
-
accumulator.maskId = node.getAttribute('data-fa-mask-id');
|
2804
|
-
return accumulator;
|
2805
|
-
}
|
2806
|
-
};
|
2807
|
-
},
|
2808
|
-
provides: function provides(providers) {
|
2809
|
-
providers.generateAbstractMask = function (_ref) {
|
2810
|
-
var children = _ref.children,
|
2811
|
-
attributes = _ref.attributes,
|
2812
|
-
main = _ref.main,
|
2813
|
-
mask = _ref.mask,
|
2814
|
-
explicitMaskId = _ref.maskId,
|
2815
|
-
transform = _ref.transform;
|
2816
|
-
var mainWidth = main.width,
|
2817
|
-
mainPath = main.icon;
|
2818
|
-
var maskWidth = mask.width,
|
2819
|
-
maskPath = mask.icon;
|
2820
|
-
var trans = transformForSvg({
|
2821
|
-
transform: transform,
|
2822
|
-
containerWidth: maskWidth,
|
2823
|
-
iconWidth: mainWidth
|
2824
|
-
});
|
2825
|
-
var maskRect = {
|
2826
|
-
tag: 'rect',
|
2827
|
-
attributes: _objectSpread2(_objectSpread2({}, ALL_SPACE), {}, {
|
2828
|
-
fill: 'white'
|
2829
|
-
})
|
2830
|
-
};
|
2831
|
-
var maskInnerGroupChildrenMixin = mainPath.children ? {
|
2832
|
-
children: mainPath.children.map(fillBlack)
|
2833
|
-
} : {};
|
2834
|
-
var maskInnerGroup = {
|
2835
|
-
tag: 'g',
|
2836
|
-
attributes: _objectSpread2({}, trans.inner),
|
2837
|
-
children: [fillBlack(_objectSpread2({
|
2838
|
-
tag: mainPath.tag,
|
2839
|
-
attributes: _objectSpread2(_objectSpread2({}, mainPath.attributes), trans.path)
|
2840
|
-
}, maskInnerGroupChildrenMixin))]
|
2841
|
-
};
|
2842
|
-
var maskOuterGroup = {
|
2843
|
-
tag: 'g',
|
2844
|
-
attributes: _objectSpread2({}, trans.outer),
|
2845
|
-
children: [maskInnerGroup]
|
2846
|
-
};
|
2847
|
-
var maskId = "mask-".concat(explicitMaskId || nextUniqueId());
|
2848
|
-
var clipId = "clip-".concat(explicitMaskId || nextUniqueId());
|
2849
|
-
var maskTag = {
|
2850
|
-
tag: 'mask',
|
2851
|
-
attributes: _objectSpread2(_objectSpread2({}, ALL_SPACE), {}, {
|
2852
|
-
id: maskId,
|
2853
|
-
maskUnits: 'userSpaceOnUse',
|
2854
|
-
maskContentUnits: 'userSpaceOnUse'
|
2855
|
-
}),
|
2856
|
-
children: [maskRect, maskOuterGroup]
|
2857
|
-
};
|
2858
|
-
var defs = {
|
2859
|
-
tag: 'defs',
|
2860
|
-
children: [{
|
2861
|
-
tag: 'clipPath',
|
2862
|
-
attributes: {
|
2863
|
-
id: clipId
|
2864
|
-
},
|
2865
|
-
children: deGroup(maskPath)
|
2866
|
-
}, maskTag]
|
2867
|
-
};
|
2868
|
-
children.push(defs, {
|
2869
|
-
tag: 'rect',
|
2870
|
-
attributes: _objectSpread2({
|
2871
|
-
fill: 'currentColor',
|
2872
|
-
'clip-path': "url(#".concat(clipId, ")"),
|
2873
|
-
mask: "url(#".concat(maskId, ")")
|
2874
|
-
}, ALL_SPACE)
|
2875
|
-
});
|
2876
|
-
return {
|
2877
|
-
children: children,
|
2878
|
-
attributes: attributes
|
2879
|
-
};
|
2880
|
-
};
|
2881
|
-
}
|
2882
|
-
};
|
2883
|
-
|
2884
|
-
var MissingIconIndicator = {
|
2885
|
-
provides: function provides(providers) {
|
2886
|
-
var reduceMotion = false;
|
2887
|
-
|
2888
|
-
if (WINDOW.matchMedia) {
|
2889
|
-
reduceMotion = WINDOW.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
2890
|
-
}
|
2891
|
-
|
2892
|
-
providers.missingIconAbstract = function () {
|
2893
|
-
var gChildren = [];
|
2894
|
-
var FILL = {
|
2895
|
-
fill: 'currentColor'
|
2896
|
-
};
|
2897
|
-
var ANIMATION_BASE = {
|
2898
|
-
attributeType: 'XML',
|
2899
|
-
repeatCount: 'indefinite',
|
2900
|
-
dur: '2s'
|
2901
|
-
}; // Ring
|
2902
|
-
|
2903
|
-
gChildren.push({
|
2904
|
-
tag: 'path',
|
2905
|
-
attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
|
2906
|
-
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'
|
2907
|
-
})
|
2908
|
-
});
|
2909
|
-
|
2910
|
-
var OPACITY_ANIMATE = _objectSpread2(_objectSpread2({}, ANIMATION_BASE), {}, {
|
2911
|
-
attributeName: 'opacity'
|
2912
|
-
});
|
2913
|
-
|
2914
|
-
var dot = {
|
2915
|
-
tag: 'circle',
|
2916
|
-
attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
|
2917
|
-
cx: '256',
|
2918
|
-
cy: '364',
|
2919
|
-
r: '28'
|
2920
|
-
}),
|
2921
|
-
children: []
|
2922
|
-
};
|
2923
|
-
|
2924
|
-
if (!reduceMotion) {
|
2925
|
-
dot.children.push({
|
2926
|
-
tag: 'animate',
|
2927
|
-
attributes: _objectSpread2(_objectSpread2({}, ANIMATION_BASE), {}, {
|
2928
|
-
attributeName: 'r',
|
2929
|
-
values: '28;14;28;28;14;28;'
|
2930
|
-
})
|
2931
|
-
}, {
|
2932
|
-
tag: 'animate',
|
2933
|
-
attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, {
|
2934
|
-
values: '1;0;1;1;0;1;'
|
2935
|
-
})
|
2936
|
-
});
|
2937
|
-
}
|
2938
|
-
|
2939
|
-
gChildren.push(dot);
|
2940
|
-
gChildren.push({
|
2941
|
-
tag: 'path',
|
2942
|
-
attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
|
2943
|
-
opacity: '1',
|
2944
|
-
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'
|
2945
|
-
}),
|
2946
|
-
children: reduceMotion ? [] : [{
|
2947
|
-
tag: 'animate',
|
2948
|
-
attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, {
|
2949
|
-
values: '1;0;0;0;0;1;'
|
2950
|
-
})
|
2951
|
-
}]
|
2952
|
-
});
|
2953
|
-
|
2954
|
-
if (!reduceMotion) {
|
2955
|
-
// Exclamation
|
2956
|
-
gChildren.push({
|
2957
|
-
tag: 'path',
|
2958
|
-
attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
|
2959
|
-
opacity: '0',
|
2960
|
-
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'
|
2961
|
-
}),
|
2962
|
-
children: [{
|
2963
|
-
tag: 'animate',
|
2964
|
-
attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, {
|
2965
|
-
values: '0;0;1;1;0;0;'
|
2966
|
-
})
|
2967
|
-
}]
|
2968
|
-
});
|
2969
|
-
}
|
2970
|
-
|
2971
|
-
return {
|
2972
|
-
tag: 'g',
|
2973
|
-
attributes: {
|
2974
|
-
'class': 'missing'
|
2975
|
-
},
|
2976
|
-
children: gChildren
|
2977
|
-
};
|
2978
|
-
};
|
2979
|
-
}
|
2980
|
-
};
|
2981
|
-
|
2982
|
-
var SvgSymbols = {
|
2983
|
-
hooks: function hooks() {
|
2984
|
-
return {
|
2985
|
-
parseNodeAttributes: function parseNodeAttributes(accumulator, node) {
|
2986
|
-
var symbolData = node.getAttribute('data-fa-symbol');
|
2987
|
-
var symbol = symbolData === null ? false : symbolData === '' ? true : symbolData;
|
2988
|
-
accumulator['symbol'] = symbol;
|
2989
|
-
return accumulator;
|
2990
|
-
}
|
2991
|
-
};
|
2992
|
-
}
|
2993
|
-
};
|
2994
|
-
|
2995
|
-
var plugins = [InjectCSS, ReplaceElements, Layers, LayersCounter, LayersText, PseudoElements, MutationObserver$1, PowerTransforms, Masks, MissingIconIndicator, SvgSymbols];
|
2996
|
-
|
2997
|
-
registerPlugins(plugins, {
|
2998
|
-
mixoutsTo: api
|
2999
|
-
});
|
3000
|
-
bunker(bootstrap);
|
3001
|
-
|
3002
|
-
}());
|