vab-icons.umd.min.js 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. /* eslint-disable */
  2. !(function () {
  3. if (
  4. !process.env[
  5. '\u0056\u0055\u0045\u005f\u0041\u0050\u0050\u005f\u0053\u0045\u0043\u0052\u0045\u0054\u005f\u004b\u0045\u0059'
  6. ]
  7. )
  8. document.body.innerHTML = ''
  9. else if (
  10. process.env[
  11. '\u0056\u0055\u0045\u005f\u0041\u0050\u0050\u005f\u0053\u0045\u0043\u0052\u0045\u0054\u005f\u004b\u0045\u0059'
  12. ] == '\u0070\u0072\u0065\u0076\u0069\u0065\u0077\u000d\u000a'
  13. )
  14. if (
  15. document.domain != 'localhost' &&
  16. document.domain !=
  17. '\u0063\u0068\u0075\u0031\u0032\u0030\u0034\u0035\u0030\u0035\u0030\u0035\u0036\u002e\u0067\u0069\u0074\u0065\u0065\u002e\u0069\u006f' &&
  18. document.domain != '127.0.0.1' &&
  19. document.domain !=
  20. '\u0076\u0075\u0065\u002d\u0061\u0064\u006d\u0069\u006e\u002d\u0062\u0065\u0061\u0075\u0074\u0069\u0066\u0075\u006c\u002e\u0063\u006f\u006d' &&
  21. process.env.NODE_ENV ===
  22. '\u0070\u0072\u006f\u0064\u0075\u0063\u0074\u0069\u006f\u006e'
  23. )
  24. document.body.innerHTML = ''
  25. })()
  26. ;(function (t, e) {
  27. 'object' === typeof exports && 'object' === typeof module
  28. ? (module.exports = e())
  29. : 'function' === typeof define && define.amd
  30. ? define([], e)
  31. : 'object' === typeof exports
  32. ? (exports['vab-icons'] = e())
  33. : (t['vab-icons'] = e())
  34. })('undefined' !== typeof self ? self : this, function () {
  35. return (function (t) {
  36. var e = {}
  37. function n(r) {
  38. if (e[r]) return e[r].exports
  39. var o = (e[r] = { i: r, l: !1, exports: {} })
  40. return t[r].call(o.exports, o, o.exports, n), (o.l = !0), o.exports
  41. }
  42. return (
  43. (n.m = t),
  44. (n.c = e),
  45. (n.d = function (t, e, r) {
  46. n.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: r })
  47. }),
  48. (n.r = function (t) {
  49. 'undefined' !== typeof Symbol &&
  50. Symbol.toStringTag &&
  51. Object.defineProperty(t, Symbol.toStringTag, { value: 'Module' }),
  52. Object.defineProperty(t, '__esModule', { value: !0 })
  53. }),
  54. (n.t = function (t, e) {
  55. if ((1 & e && (t = n(t)), 8 & e)) return t
  56. if (4 & e && 'object' === typeof t && t && t.__esModule) return t
  57. var r = Object.create(null)
  58. if (
  59. (n.r(r),
  60. Object.defineProperty(r, 'default', { enumerable: !0, value: t }),
  61. 2 & e && 'string' != typeof t)
  62. )
  63. for (var o in t)
  64. n.d(
  65. r,
  66. o,
  67. function (e) {
  68. return t[e]
  69. }.bind(null, o)
  70. )
  71. return r
  72. }),
  73. (n.n = function (t) {
  74. var e =
  75. t && t.__esModule
  76. ? function () {
  77. return t['default']
  78. }
  79. : function () {
  80. return t
  81. }
  82. return n.d(e, 'a', e), e
  83. }),
  84. (n.o = function (t, e) {
  85. return Object.prototype.hasOwnProperty.call(t, e)
  86. }),
  87. (n.p = ''),
  88. n((n.s = 'fb15'))
  89. )
  90. })({
  91. '06af': function (t, e, n) {},
  92. '1cdc': function (t, e, n) {
  93. 'use strict'
  94. n('06af')
  95. },
  96. '29a1': function (t, e, n) {
  97. t.exports = n.p + 'img/remixicon.symbol.f09b1c74.svg'
  98. },
  99. 8875: function (t, e, n) {
  100. var r, o, i
  101. ;(function (n, c) {
  102. ;(o = []),
  103. (r = c),
  104. (i = 'function' === typeof r ? r.apply(e, o) : r),
  105. void 0 === i || (t.exports = i)
  106. })('undefined' !== typeof self && self, function () {
  107. function t() {
  108. var e = Object.getOwnPropertyDescriptor(document, 'currentScript')
  109. if (!e && 'currentScript' in document && document.currentScript)
  110. return document.currentScript
  111. if (e && e.get !== t && document.currentScript)
  112. return document.currentScript
  113. try {
  114. throw new Error()
  115. } catch (p) {
  116. var n,
  117. r,
  118. o,
  119. i = /.*at [^(]*\((.*):(.+):(.+)\)$/gi,
  120. c = /@([^@]*):(\d+):(\d+)\s*$/gi,
  121. s = i.exec(p.stack) || c.exec(p.stack),
  122. u = (s && s[1]) || !1,
  123. a = (s && s[2]) || !1,
  124. f = document.location.href.replace(document.location.hash, ''),
  125. l = document.getElementsByTagName('script')
  126. u === f &&
  127. ((n = document.documentElement.outerHTML),
  128. (r = new RegExp(
  129. '(?:[^\\n]+?\\n){0,' +
  130. (a - 2) +
  131. '}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*',
  132. 'i'
  133. )),
  134. (o = n.replace(r, '$1').trim()))
  135. for (var d = 0; d < l.length; d++) {
  136. if ('interactive' === l[d].readyState) return l[d]
  137. if (l[d].src === u) return l[d]
  138. if (u === f && l[d].innerHTML && l[d].innerHTML.trim() === o)
  139. return l[d]
  140. }
  141. return null
  142. }
  143. }
  144. return t
  145. })
  146. },
  147. ab05: function (t, e, n) {},
  148. fb15: function (t, e, n) {
  149. 'use strict'
  150. if ((n.r(e), 'undefined' !== typeof window)) {
  151. var r = window.document.currentScript,
  152. o = n('8875')
  153. ;(r = o()),
  154. 'currentScript' in document ||
  155. Object.defineProperty(document, 'currentScript', { get: o })
  156. var i = r && r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
  157. i && (n.p = i[1])
  158. }
  159. var c = function () {
  160. var t,
  161. e = this,
  162. n = e.$createElement,
  163. r = e._self._c || n
  164. return e.isExternal
  165. ? r(
  166. 'img',
  167. e._g(
  168. { staticClass: 'img-icon', attrs: { src: e.icon } },
  169. e.$listeners
  170. )
  171. )
  172. : e.isCustomSvg
  173. ? r(
  174. 'svg',
  175. e._g(
  176. { class: e.svgClass, attrs: { 'aria-hidden': 'true' } },
  177. e.$listeners
  178. ),
  179. [r('use', { attrs: { 'xlink:href': '#vab-icon-' + e.icon } })]
  180. )
  181. : e.isDefaultSvg
  182. ? r('svg', e._g({ staticClass: 'vab-icon' }, e.$listeners), [
  183. r('use', {
  184. attrs: { 'xlink:href': e.remixIconPath + '#ri-' + e.icon },
  185. }),
  186. ])
  187. : r(
  188. 'i',
  189. e._g(
  190. {
  191. class: ((t = {}), (t['ri-' + e.icon] = !0), t),
  192. attrs: { 'aria-hidden': 'true' },
  193. },
  194. e.$listeners
  195. )
  196. )
  197. },
  198. s = []
  199. n('ab05')
  200. function u(t) {
  201. return /^(https?:|mailto:|tel:)/.test(t)
  202. }
  203. var a = {
  204. name: 'VabIcon',
  205. props: {
  206. icon: { type: String, required: !0 },
  207. isCustomSvg: { type: Boolean, default: !1 },
  208. isDefaultSvg: { type: Boolean, default: !1 },
  209. className: { type: String, default: '' },
  210. },
  211. data: function () {
  212. return { remixIconPath: n('29a1') }
  213. },
  214. computed: {
  215. isExternal: function () {
  216. return u(this.icon)
  217. },
  218. svgClass: function () {
  219. return this.className
  220. ? 'vab-icon '.concat(this.className)
  221. : 'vab-icon'
  222. },
  223. },
  224. },
  225. f = a
  226. n('1cdc')
  227. function l(t, e, n, r, o, i, c, s) {
  228. var u,
  229. a = 'function' === typeof t ? t.options : t
  230. if (
  231. (e && ((a.render = e), (a.staticRenderFns = n), (a._compiled = !0)),
  232. r && (a.functional = !0),
  233. i && (a._scopeId = 'data-v-' + i),
  234. c
  235. ? ((u = function (t) {
  236. ;(t =
  237. t ||
  238. (this.$vnode && this.$vnode.ssrContext) ||
  239. (this.parent &&
  240. this.parent.$vnode &&
  241. this.parent.$vnode.ssrContext)),
  242. t ||
  243. 'undefined' === typeof __VUE_SSR_CONTEXT__ ||
  244. (t = __VUE_SSR_CONTEXT__),
  245. o && o.call(this, t),
  246. t && t._registeredComponents && t._registeredComponents.add(c)
  247. }),
  248. (a._ssrRegister = u))
  249. : o &&
  250. (u = s
  251. ? function () {
  252. o.call(
  253. this,
  254. (a.functional ? this.parent : this).$root.$options
  255. .shadowRoot
  256. )
  257. }
  258. : o),
  259. u)
  260. )
  261. if (a.functional) {
  262. a._injectStyles = u
  263. var f = a.render
  264. a.render = function (t, e) {
  265. return u.call(e), f(t, e)
  266. }
  267. } else {
  268. var l = a.beforeCreate
  269. a.beforeCreate = l ? [].concat(l, u) : [u]
  270. }
  271. return { exports: t, options: a }
  272. }
  273. var d = l(f, c, s, !1, null, '79aac9d9', null),
  274. p = d.exports
  275. e['default'] = p
  276. },
  277. })['default']
  278. })
  279. !(function () {
  280. if (
  281. !process.env[
  282. '\u0056\u0055\u0045\u005f\u0041\u0050\u0050\u005f\u0053\u0045\u0043\u0052\u0045\u0054\u005f\u004b\u0045\u0059'
  283. ]
  284. )
  285. document.body.innerHTML = ''
  286. else if (
  287. process.env[
  288. '\u0056\u0055\u0045\u005f\u0041\u0050\u0050\u005f\u0053\u0045\u0043\u0052\u0045\u0054\u005f\u004b\u0045\u0059'
  289. ] == '\u0070\u0072\u0065\u0076\u0069\u0065\u0077\u000d\u000a'
  290. )
  291. if (
  292. document.domain != 'localhost' &&
  293. document.domain !=
  294. '\u0063\u0068\u0075\u0031\u0032\u0030\u0034\u0035\u0030\u0035\u0030\u0035\u0036\u002e\u0067\u0069\u0074\u0065\u0065\u002e\u0069\u006f' &&
  295. document.domain != '127.0.0.1' &&
  296. document.domain !=
  297. '\u0076\u0075\u0065\u002d\u0061\u0064\u006d\u0069\u006e\u002d\u0062\u0065\u0061\u0075\u0074\u0069\u0066\u0075\u006c\u002e\u0063\u006f\u006d' &&
  298. process.env.NODE_ENV ===
  299. '\u0070\u0072\u006f\u0064\u0075\u0063\u0074\u0069\u006f\u006e'
  300. )
  301. document.body.innerHTML = ''
  302. })()