mashirozx/mastodon

View on GitHub
public/plugins/icon-mastodon-custom/iconfont.js

Summary

Maintainability
A
0 mins
Test Coverage
!function(e){var t,n,o,i,c,a='<svg><symbol id="icon-gitee" viewBox="0 0 1024 1024"><path d="M512 1024C229.222 1024 0 794.778 0 512S229.222 0 512 0s512 229.222 512 512-229.222 512-512 512z m259.149-568.883h-290.74a25.293 25.293 0 0 0-25.292 25.293l-0.026 63.206c0 13.952 11.315 25.293 25.267 25.293h177.024c13.978 0 25.293 11.315 25.293 25.267v12.646a75.853 75.853 0 0 1-75.853 75.853h-240.23a25.293 25.293 0 0 1-25.267-25.293V417.203a75.853 75.853 0 0 1 75.827-75.853h353.946a25.293 25.293 0 0 0 25.267-25.292l0.077-63.207a25.293 25.293 0 0 0-25.268-25.293H417.152a189.62 189.62 0 0 0-189.62 189.645V771.15c0 13.977 11.316 25.293 25.294 25.293h372.94a170.65 170.65 0 0 0 170.65-170.65V480.384a25.293 25.293 0 0 0-25.293-25.267z" fill="#C71D23" ></path></symbol><symbol id="icon-at_circle_fill" viewBox="0 0 1024 1024"><path d="M512 950.857143C269.622857 950.857143 73.142857 754.377143 73.142857 512S269.622857 73.142857 512 73.142857s438.857143 196.48 438.857143 438.857143-196.48 438.857143-438.857143 438.857143z m-3.035429-506.148572c36.644571 0 59.904 29.659429 59.904 76.470858 0 46.811429-23.552 76.489143-60.196571 76.489142-35.474286 0-56.996571-29.074286-56.996571-76.489142 0-47.981714 21.522286-76.489143 57.289142-76.489143z m10.185143-167.808c-142.793143 0-242.249143 97.718857-242.249143 242.541715 0 154.130286 103.241143 242.541714 246.893715 242.541714 35.474286 0 68.352-4.662857 93.074285-12.8v-40.137143c-18.029714 7.570286-54.966857 12.507429-91.026285 12.507429-118.070857 0-203.574857-72.118857-203.574857-200.374857 0-119.808 80.841143-204.141714 193.682285-204.141715 113.700571 0 191.36 70.070857 191.36 175.945143 0 70.363429-23.552 110.500571-55.844571 110.500572-20.937143 0-31.104-13.092571-31.104-32.274286v-165.193143h-49.152v35.2h-3.2c-11.062857-25.014857-38.674286-41.014857-69.796572-41.014857-59.044571 0-100.041143 48.859429-100.041142 119.533714 0 73.874286 40.704 123.300571 101.193142 123.300572 34.029714 0 60.214857-16.274286 72.411429-45.659429h2.925714c4.644571 28.8 32.859429 47.689143 66.870857 47.689143 69.229714 0 111.104-60.781714 111.104-153.545143 0-128.548571-97.426286-214.619429-233.526857-214.619429z" fill="#ffc564" ></path></symbol><symbol id="icon-super-topic" viewBox="0 0 1024 1024"><path d="M168 299.2C110.4 374.4 64 449.6 64 465.6 64 502.4 379.2 832 414.4 832c25.6 0 241.6-209.6 347.2-334.4l36.8-44.8-59.2-81.6-59.2-81.6h-336l-54.4 76.8c-30.4 43.2-54.4 83.2-52.8 91.2 1.6 8 24 35.2 48 62.4 142.4 152 168 185.6 152 201.6-11.2 11.2-56-24-142.4-113.6-70.4-72-128-136-131.2-144-3.2-8 28.8-60.8 72-118.4l76.8-104h400l70.4 96c38.4 52.8 70.4 105.6 72 116.8 0 12.8-62.4 89.6-140.8 171.2-78.4 83.2-163.2 172.8-188.8 200-46.4 49.6-48 102.4-4.8 102.4C550.4 928 960 497.6 960 465.6c0-14.4-46.4-89.6-104-166.4L750.4 160H273.6l-105.6 139.2z"  ></path></symbol><symbol id="icon-quotation-marks-reverse" viewBox="0 0 1024 1024"><path d="M813.074571 594.33925c-12.493495 78.530542-110.656672 162.41543799-187.402429 164.200223-5.354355 0-10.70871 1.78478501-14.27828 5.354355-3.56957 1.784785-7.13914 3.56957-8.92392499 8.923925-26.771776 49.973981-12.493495 89.239252 32.12613099 121.36538199 51.758766 37.480486 133.85887801 0 174.90893299-33.91091499 103.51753199-85.669682 208.819849-233.80392301 203.46549401-374.804858 17.84784999-94.596523 14.27828-196.326354-12.493495-280.21125-17.84785-53.54355101-69.60661599-80.315327-123.150168-83.884897-53.543551-3.57248601-164.200223-19.63263501-212.389419 12.490579-48.189196 32.129047-51.75876599 94.596523-57.113121 148.13715799-5.354355 58.897906-21.41742 169.557495 28.55656101 215.96190601 49.973981 44.619626 192.756784-3.56957 176.69371799 96.378392zM224.095509 594.33925c-12.493495 78.530542-110.653756 162.415438-187.402428 164.200223-5.354355 0-10.70871 1.78478501-14.278281 5.354355-3.572486 1.784785-7.13914 3.56957-8.92684099 8.923925-26.771776 49.973981-12.493495 89.239252 32.12612999 121.365382 51.758766 37.480486 133.85887801 0 174.91185-33.910915 103.51753199-85.669682 208.819849-233.80684 203.465494-374.804858 17.84784999-94.596523 14.27828-196.326354-12.490579-280.21125-17.84785-53.54355101-69.60661599-80.315327-123.153083-83.884897-53.543551-3.57248601-164.200223-19.63263501-212.38942 12.490579-48.18628 32.129047-51.75876599 94.596523-57.113121 148.137158-5.354355 58.897906-21.41742 169.557495 28.556561 215.961906 49.973981 44.619626 194.541569-3.56957 176.693718 96.378392z"  ></path></symbol><symbol id="icon-quotation-marks" viewBox="0 0 1024 1024"><path d="M210.925429 429.66075c12.493495-78.530542 110.656672-162.415438 187.402429-164.200223 5.354355 0 10.70871-1.784785 14.27828-5.354355 3.56957-1.784785 7.13914-3.56957 8.923925-8.923925 26.771776-49.973981 12.493495-89.239252-32.126131-121.365382-51.758766-37.480486-133.858878 0-174.908933 33.910915-103.517532 85.669682-208.819849 233.803923-203.465494 374.804858-17.84785 94.596523-14.27828 196.326354 12.493495 280.21125 17.84785 53.543551 69.606616 80.315327 123.150168 83.884897 53.543551 3.572486 164.200223 19.632635 212.389419-12.490579 48.189196-32.129047 51.758766-94.596523 57.113121-148.137158 5.354355-58.897906 21.41742-169.557495-28.556561-215.961906-49.973981-44.619626-192.756784 3.56957-176.693718-96.378392zM799.904491 429.66075c12.493495-78.530542 110.653756-162.415438 187.402428-164.200223 5.354355 0 10.70871-1.784785 14.278281-5.354355 3.572486-1.784785 7.13914-3.56957 8.926841-8.923925 26.771776-49.973981 12.493495-89.239252-32.12613-121.365382-51.758766-37.480486-133.858878 0-174.91185 33.910915-103.517532 85.669682-208.819849 233.80684-203.465494 374.804858-17.84785 94.596523-14.27828 196.326354 12.490579 280.21125 17.84785 53.543551 69.606616 80.315327 123.153083 83.884897 53.543551 3.572486 164.200223 19.632635 212.38942-12.490579 48.18628-32.129047 51.758766-94.596523 57.113121-148.137158 5.354355-58.897906 21.41742-169.557495-28.556561-215.961906-49.973981-44.619626-194.541569 3.56957-176.693718-96.378392z"  ></path></symbol></svg>',l=(l=document.getElementsByTagName("script"))[l.length-1].getAttribute("data-injectcss"),d=function(e,t){t.parentNode.insertBefore(e,t)};if(l&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(e){console&&console.log(e)}}function s(){c||(c=!0,o())}function m(){try{i.documentElement.doScroll("left")}catch(e){return void setTimeout(m,50)}s()}t=function(){var e,t=document.createElement("div");t.innerHTML=a,a=null,(t=t.getElementsByTagName("svg")[0])&&(t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.width=0,t.style.height=0,t.style.overflow="hidden",t=t,(e=document.body).firstChild?d(t,e.firstChild):e.appendChild(t))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(t,0):(n=function(){document.removeEventListener("DOMContentLoaded",n,!1),t()},document.addEventListener("DOMContentLoaded",n,!1)):document.attachEvent&&(o=t,i=e.document,c=!1,m(),i.onreadystatechange=function(){"complete"==i.readyState&&(i.onreadystatechange=null,s())})}(window);