Tether logo in SVG.

@api private
 
Dependencies.
541822
function Logo() {
    return _react2.default.createElement(
        'svg',
        { width: '36px', height: '36px', viewBox: '0 0 134 134' },
        _react2.default.createElement(
            'title',
            null,
            'Tether'
        ),
        _react2.default.createElement(
            'defs',
            null,
            _react2.default.createElement('polygon', { id: 'path-1', points: '0.393496659 0 21.930245 0 21.930245 21.5366592 0.393496659 21.5366592 0.393496659 0' }),
            _react2.default.createElement('polygon', { id: 'path-3', points: '0 21.8785746 0 0.341380846 21.5365702 0.341380846 21.5365702 21.8785746 1.14236032e-15 21.8785746' }),
            _react2.default.createElement('polygon', { id: 'path-5', points: '21.8780401 21.8262806 0.341291759 21.8262806 0.341291759 0.289175947 21.8780401 0.289175947' })
        ),
        _react2.default.createElement(
            'g',
            { stroke: 'none', strokeWidth: '1', fill: 'none', 'fill-rule': 'evenodd' },
            _react2.default.createElement(
                'g',
                { transform: 'translate(-192.000000, -954.000000)' },
                _react2.default.createElement(
                    'g',
                    { transform: 'translate(192.000000, 954.000000)' },
                    _react2.default.createElement('path', { d: 'M59.5367483,10.7683742 C59.5367483,16.7158129 54.7153675,21.5367483 48.7679287,21.5367483 C42.8213808,21.5367483 38,16.7158129 38,10.7683742 C38,4.82093541 42.8213808,0 48.7679287,0 C54.7153675,0 59.5367483,4.82093541 59.5367483,10.7683742', id: 'Fill-13', fill: '#8BC34A' }),
                    _react2.default.createElement('path', { d: 'M77.5367483,28.7683742 C77.5367483,34.7158129 72.7158129,39.5367483 66.7683742,39.5367483 C60.8213808,39.5367483 56,34.7158129 56,28.7683742 C56,22.8209354 60.8213808,18 66.7683742,18 C72.7158129,18 77.5367483,22.8209354 77.5367483,28.7683742', id: 'Fill-16', fill: '#8BC34A' }),
                    _react2.default.createElement('path', { d: 'M96.5367483,47.7688196 C96.5367483,53.7162584 91.7158129,58.5371938 85.7683742,58.5371938 C79.8218263,58.5371938 75,53.7162584 75,47.7688196 C75,41.8213808 79.8218263,37 85.7683742,37 C91.7158129,37 96.5367483,41.8213808 96.5367483,47.7688196', id: 'Fill-18', fill: '#8BC34A' }),
                    _react2.default.createElement('path', { d: 'M59.5367483,47.7688196 C59.5367483,53.7162584 54.7153675,58.5371938 48.7679287,58.5371938 C42.8213808,58.5371938 38,53.7162584 38,47.7688196 C38,41.8213808 42.8213808,37 48.7679287,37 C54.7153675,37 59.5367483,41.8213808 59.5367483,47.7688196', id: 'Fill-20', fill: '#8BC34A' }),
                    _react2.default.createElement('path', { d: 'M40.5367483,66.7683742 C40.5367483,72.7158129 35.7158129,77.5367483 29.7683742,77.5367483 C23.8218263,77.5367483 19,72.7158129 19,66.7683742 C19,60.8209354 23.8218263,56 29.7683742,56 C35.7158129,56 40.5367483,60.8209354 40.5367483,66.7683742', id: 'Fill-22', fill: '#8BC34A' }),
                    _react2.default.createElement('path', { d: 'M21.5367483,84.7688196 C21.5367483,90.7158129 16.7158129,95.5371938 10.7683742,95.5371938 C4.82138085,95.5371938 0,90.7158129 0,84.7688196 C0,78.8213808 4.82138085,74 10.7683742,74 C16.7158129,74 21.5367483,78.8213808 21.5367483,84.7688196', id: 'Fill-24', fill: '#8BC34A' }),
                    _react2.default.createElement('path', { d: 'M59.5367483,84.7688196 C59.5367483,90.7158129 54.7153675,95.5371938 48.7679287,95.5371938 C42.8213808,95.5371938 38,90.7158129 38,84.7688196 C38,78.8213808 42.8213808,74 48.7679287,74 C54.7153675,74 59.5367483,78.8213808 59.5367483,84.7688196', id: 'Fill-27', fill: '#03A9F4' }),
                    _react2.default.createElement('path', { d: 'M77.5367483,103.76882 C77.5367483,109.715813 72.7158129,114.537194 66.7683742,114.537194 C60.8213808,114.537194 56,109.715813 56,103.76882 C56,97.8213808 60.8213808,93 66.7683742,93 C72.7158129,93 77.5367483,97.8213808 77.5367483,103.76882', id: 'Fill-29', fill: '#03A9F4' }),
                    _react2.default.createElement('path', { d: 'M96.5367483,122.76882 C96.5367483,128.716258 91.7158129,133.537194 85.7683742,133.537194 C79.8218263,133.537194 75,128.716258 75,122.76882 C75,116.821381 79.8218263,112 85.7683742,112 C91.7158129,112 96.5367483,116.821381 96.5367483,122.76882', id: 'Fill-31', fill: '#03A9F4' }),
                    _react2.default.createElement('path', { d: 'M96.5367483,84.7688196 C96.5367483,90.7158129 91.7158129,95.5371938 85.7683742,95.5371938 C79.8218263,95.5371938 75,90.7158129 75,84.7688196 C75,78.8213808 79.8218263,74 85.7683742,74 C91.7158129,74 96.5367483,78.8213808 96.5367483,84.7688196', id: 'Fill-34', fill: '#03A9F4' }),
                    _react2.default.createElement('path', { d: 'M115.536748,66.7683742 C115.536748,72.7158129 110.715367,77.5367483 104.767929,77.5367483 C98.8213808,77.5367483 94,72.7158129 94,66.7683742 C94,60.8209354 98.8213808,56 104.767929,56 C110.715367,56 115.536748,60.8209354 115.536748,66.7683742', id: 'Fill-36', fill: '#03A9F4' }),
                    _react2.default.createElement('path', { d: 'M133.536748,47.7688196 C133.536748,53.7162584 128.715813,58.5371938 122.768374,58.5371938 C116.821826,58.5371938 112,53.7162584 112,47.7688196 C112,41.8213808 116.821826,37 122.768374,37 C128.715813,37 133.536748,41.8213808 133.536748,47.7688196', id: 'Fill-38', fill: '#03A9F4' })
                )
            )
        )
    );
}
875774
function makeSpritePath(options, groups) {
	var base = options.spritePath;
	var file;

	// If is svg, do st
	if (groups.indexOf('GROUP_SVG_FLAG') > -1) {
		groups = _.filter(groups, function (item) {
			return item !== 'GROUP_SVG_FLAG';
		});
		file = path.resolve(base, groups.join('.') + '.svg');
	} else {
		file = path.resolve(base, groups.join('.') + '.png');
	}

	return file.replace('.@', options.retinaInfix);
}
925076
public function svg()
    {
        $str_g = '';

        foreach ($this->arr_units as $k => $u) {
            $int_dx = 0;
            $int_dy = 0;

            if ($k == self::TOP_RIGHT) {
                $int_dx = Unit::SIZE;
            } elseif ($k == self::BOTTOM_RIGHT) {
                $int_dx = Unit::SIZE;
                $int_dy = Unit::SIZE;
            } elseif ($k == self::BOTTOM_LEFT) {
                $int_dy = Unit::SIZE;
            }

            $str_attr_translate = sprintf(
                ' transform="translate(%d, %d)"',
                $int_dx,
                $int_dy
            );

            if ($int_dx || $int_dy) {
                $str_g .= sprintf('<g%s>%s</g>', $str_attr_translate, $u->svg()) . "\n";
            } else {
                $str_g .= $u->svg() . "\n";
            }
        }

        $str_attr = '';

        if ($this->type != self::TOP_LEFT) {
            $int_dx = 0;
            $int_dy = 0;

            if ($this->type == self::TOP_RIGHT) {
                $int_dx = self::SIZE;
            } elseif ($this->type == self::BOTTOM_RIGHT) {
                $int_dx = self::SIZE;
                $int_dy = self::SIZE;
            } elseif ($this->type == self::BOTTOM_LEFT) {
                $int_dy = self::SIZE;
            }

            $int_way = $this->bool_rotate_way ? -1 : 1;
            $str_attr = sprintf(
                ' transform="translate(%d, %d) rotate(%d, %d, %d)"',
                $int_dx,
                $int_dy,
                $this->type * 90 * $int_way,
                Unit::SIZE,
                Unit::SIZE
            );
        }

        return sprintf(
            '<g id="quarter-%d"%s>%s</g>'."\n",
            $this->type,
            $str_attr,
            $str_g
        );
    }
1137520
function loadSVGText() {
        if (svgLoaded ||
            // @NOTE: these embed strategies don't require svg text to be loaded
            embedStrategy === EMBED_STRATEGY_BASIC_OBJECT ||
            embedStrategy === EMBED_STRATEGY_BASIC_IMG)
        {
            // don't load the SVG text, just return an empty promise
            return $.Deferred().resolve().promise({
                abort: function() {}
            });
        } else {
            return scope.get('page-svg', page);
        }
    }
580819
function SVGLoader(loadItem, preferXHR) {
		this.AbstractLoader_constructor(loadItem, preferXHR, createjs.Types.SVG);

		// public properties
		this.resultFormatter = this._formatResult;

		// protected properties
		this._tagSrcAttribute = "data";

		if (preferXHR) {
			this.setTag(createjs.Elements.svg());
		} else {
			this.setTag(createjs.Elements.object());
			this.getTag().type = "image/svg+xml";
		}
	}
436775
function(url, img) {
        var svgImage = document.createElementNS(SVG_NS_URL, 'image');
        svgImage.setAttributeNS(XLINK_NS_URL, 'xlink:href', url);
        svgImage.setAttribute('x', 0);
        svgImage.setAttribute('y', 0);
        svgImage.setAttribute('width', img.width);
        svgImage.setAttribute('height', img.height);
        return svgImage;
      }
767387
function (src, x, y, width, height) {
		var attribs = {
				preserveAspectRatio: NONE
			},
			elemWrapper;

		// optional properties
		if (arguments.length > 1) {
			extend(attribs, {
				x: x,
				y: y,
				width: width,
				height: height
			});
		}

		elemWrapper = this.createElement('image').attr(attribs);

		// set the href in the xlink namespace
		if (elemWrapper.element.setAttributeNS) {
			elemWrapper.element.setAttributeNS('http://www.w3.org/1999/xlink',
				'href', src);
		} else {
			// could be exporting in IE
			// using href throws "not supported" in ie7 and under, requries regex shim to fix later
			elemWrapper.element.setAttribute('hc-svg-href', src);
	}

		return elemWrapper;
	}
1337887
function buildSVG(container) {
            if (!svg) {
                svg = d3Selection.select(container)
                    .append('svg')
                      .classed('britechart bullet-chart', true);

                buildContainerGroups();
            }

            svg
                .attr('width', width)
                .attr('height', height);
        }
834635
function Svg(props) {
  const { title, ...rest } = props;

  if (title) {
    return (
      <svg role='img' aria-label='[title]' { ...prepare(rest) }>
        <title>{ title }</title>
        { props.children }
      </svg>
    );
  }

  return <svg { ...prepare(rest) } />;
}
944789
def badge_svg_text(self):
        """"""

        # Identify whether template is a file or the actual template text
        if len(self.template.split('\n')) == 1:
            with open(self.template, mode='r') as file_handle:
                badge_text = file_handle.read()
        else:
            badge_text = self.template

        return badge_text.replace('{{ badge width }}', str(self.badge_width)) \
            .replace('{{ font name }}', self.font_name) \
            .replace('{{ font size }}', str(self.font_size)) \
            .replace('{{ label }}', self.label) \
            .replace('{{ value }}', self.value_text) \
            .replace('{{ label anchor }}', str(self.label_anchor)) \
            .replace('{{ label anchor shadow }}', str(self.label_anchor_shadow)) \
            .replace('{{ value anchor }}', str(self.value_anchor)) \
            .replace('{{ value anchor shadow }}', str(self.value_anchor_shadow)) \
            .replace('{{ color }}', self.badge_color_code) \
            .replace('{{ label text color }}', self.label_text_color) \
            .replace('{{ value text color }}', self.value_text_color) \
            .replace('{{ color split x }}', str(self.color_split_position)) \
            .replace('{{ value width }}', str(self.badge_width - self.color_split_position))
1286747
function getFavIcon() {
  if (getFavIcon.pngData) return getFavIcon.pngData

  var pngFile = path.join(__dirname, "ragents.png")

  try {
    getFavIcon.pngData = fs.readFileSync(pngFile)
  }
  catch(e) {
    utils.log("error reading '" + pngFile + "'")
    return null
  }

  return getFavIcon.pngData
}
1277446
function(svg){
      if (!svg){
        throw new Error('.toString: No SVG found.');
      }

      [
        ['version', 1.1],
        ['xmlns', "http://www.w3.org/2000/svg"],
      ].forEach(function(item){
        svg.setAttribute(item[0], item[1]);
      });
      return svg.outerHTML;
    }
556256
public static function getIconImage($svg = true)
    {
        $folders = [
            'client/dist/img/',
            'client/dist/images/',
            'dist/img/',
            'dist/images/',
            'img/',
            'images/',
        ];

        $extensions = [
            'png',
            'jpg',
            'jpeg',
            'gif',
        ];

        if ($svg === true) {
            array_unshift($extensions, 'svg');
        }

        $file = 'mapIcon';

        foreach ($folders as $folder) {
            foreach ($extensions as $extension) {
                if ($icon = ThemeResourceLoader::inst()->findThemedResource(
                    "{$folder}{$file}.{$extension}",
                    SSViewer::get_themes()
                )) {
                    return ModuleResourceLoader::resourceURL($icon);
                }
            }
        }

        return false;
    }
157357
function initSvg(props) {
  var element = props.element,
      svgTransform = props.svgTransform,
      curRect = element.getBoundingClientRect(),
      // Get Rect before change position.
  fixPosition = getBBox(element);

  svgTransform.setTranslate(0, 0);
  var originBBox = props.svgOriginBBox = element.getBBox(),

  // Try to get SVG coordinates of current position.
  newRect = element.getBoundingClientRect(),
      originPoint = viewPoint2SvgPoint(props, newRect.left, newRect.top),

  // Gecko bug, getScreenCTM returns incorrect CTM, and originPoint might not be current position.
  offset = props.svgOffset = { x: originBBox.x - originPoint.x, y: originBBox.y - originPoint.y },


  // Restore position
  curPoint = viewPoint2SvgPoint(props, curRect.left, curRect.top);
  svgTransform.setTranslate(curPoint.x + offset.x - originBBox.x, curPoint.y + offset.y - originBBox.y);

  return fixPosition;
}
802336
function(response) {
            if (!svgCache[url]) {
              svgCache[url] = angular.element('<div>').append(response)[0].querySelector('svg');
            }
            resolve(svgCache[url]);
          }
109883
function buildIconsObject(svgFiles, getSvg) {
  return svgFiles
    .map(svgFile => {
      const name = path.basename(svgFile, '.svg');
      const svg = getSvg(svgFile);
      const contents = getSvgContents(svg);
      return { name, contents };
    })
    .reduce((icons, icon) => {
      icons[icon.name] = icon.contents;
      return icons;
    }, {});
}
566819
function Icon({
  prefix: prefixFromProps = "fe",
  name,
  className,
  link,
  isAriaHidden,
  payment,
  flag,
  onClick,
  onMouseEnter,
  onMouseLeave,
  onPointerEnter,
  onPointerLeave,
  onFocus,
  onBlur,
}: Props): React.Node {
  const prefix = (payment && "payment") || (flag && "flag") || prefixFromProps;
  const classes = cn(
    {
      [prefix]: true,
      [`${prefix}-${name}`]: true,
    },
    className
  );
  const extraProps = isAriaHidden
    ? {
        "aria-hidden": "true",
      }
    : null;

  const eventProps = {
    onClick,
    onMouseEnter,
    onMouseLeave,
    onPointerEnter,
    onPointerLeave,
    onFocus,
    onBlur,
  };

  return !link ? (
    <i className={classes} {...eventProps} />
  ) : (
    <a className="icon" {...extraProps} {...eventProps}>
      <i className={classes} />
    </a>
  );
}