using <object> looks the same, but has issues in old IE
772417
function addResizeListener(element, fn, context){
    var events = element[resizeHandlers];

    if (!events)
      events = element[resizeHandlers] = [];

    if (!events.resizeSensor_)
    {
      // NOTE: we don't use `onresize` event in IE, because it doesn't fire when
      // element inserting into document;
      // overflow/underflow events also not using as target for remove from browsers;
      // so using iframe is better solution for now

      var handler = function(){
        events.forEach(function(handler){
          handler.fn.call(handler.context, element);
        });
      };

      var init = function(){
        if (getComputedStyle(element, 'position') == 'static')
          element.style.position = 'relative';

        var document = sensor.contentDocument;
        var win = document.defaultView || document.parentWindow;
        win.onresize = handler;
        win.document.body.onresize = handler;

        handler();
      };

      var sensor = iframeSensorProto.cloneNode();

      // https://github.com/jugglinmike/srcdoc-polyfill/blob/master/srcdoc-polyfill.js
      // Explicitly set the iFrame's window.location for
      // compatability with IE9, which does not react to changes in
      // the `src` attribute when it is a `javascript:` URL, for
      // some reason
      if (sensor.contentWindow)
        sensor.contentWindow.location = STUB_DOCUMENT_SRC;

      if (sensor.attachEvent) // IE8 don't fire load event otherwise
        sensor.attachEvent('onload', init);
      else
        sensor.onload = init;

      element.appendChild(sensor);

      events.resizeSensor_ = sensor;
    }

    events.push({
      fn: fn,
      context: context || element
    });

    return element;
  }
114659
function(type, args, obj) {
        var useIframe = args[0];
    
        if (!this.parent) {
            if (Dom.inDocument(this.oDomContainer)) {
                if (useIframe) {
                    var pos = Dom.getStyle(this.oDomContainer, "position");
                    
                    if (pos == "absolute" || pos == "relative") {
                        
                        if (!Dom.inDocument(this.iframe)) {
                            this.iframe = document.createElement("iframe");
                            this.iframe.src = "javascript:false;";
    
                            Dom.setStyle(this.iframe, "opacity", "0");
    
                            if (YAHOO.env.ua.ie && YAHOO.env.ua.ie <= 6) {
                                Dom.addClass(this.iframe, this.Style.CSS_FIXED_SIZE);
                            }
    
                            this.oDomContainer.insertBefore(this.iframe, this.oDomContainer.firstChild);
                        }
                    }
                } else {
                    if (this.iframe) {
                        if (this.iframe.parentNode) {
                            this.iframe.parentNode.removeChild(this.iframe);
                        }
                        this.iframe = null;
                    }
                }
            }
        }
    }
778054
function (obj, prop) { // simple version
    if (obj.currentStyle) return obj.currentStyle[prop];
    else if (window.getComputedStyle) return document.defaultView.getComputedStyle(obj, null).getPropertyValue(prop);
  }
881645
function (obj) {
    var parent = null,
      box = null,
      pos = [],
      _sL = document.body.scrollLeft + document.documentElement.scrollLeft,
      _sT = document.body.scrollTop + document.documentElement.scrollTop;

    if (obj.parentNode === null || getStyle(obj, 'display') == 'none') return false;
    if (obj.getBoundingClientRect) { // IE
      box = obj.getBoundingClientRect();
      return [Math.round(box.left) + (document.documentElement.scrollLeft || document.body.scrollLeft), Math.round(box.top) + (document.documentElement.scrollTop || document.body.scrollTop), _sL, _sT];
    } else if (document.getBoxObjectFor) { // gecko
      box = document.getBoxObjectFor(obj);
      pos = [box.x, box.y];
    } else { // safari/opera
      pos = [obj.offsetLeft, obj.offsetTop];
      parent = obj.offsetParent;
      if (parent != obj) {
        while (parent) {
          pos[0] += parent.offsetLeft;
          pos[1] += parent.offsetTop;
          parent = parent.offsetParent;
        }
      }
      if (window.opera || (document.childNodes && !document.all && !navigator.taintEnabled && !accentColorName)) pos[1] -= document.body.offsetTop;
    }
    if (obj.parentNode) parent = obj.parentNode;
    else parent = null;
    while (parent && parent.tagName != 'BODY' && parent.tagName != 'HTML') {
      pos[0] -= parent.scrollLeft;
      pos[1] -= parent.scrollTop;
      if (parent.parentNode) parent = parent.parentNode;
      else parent = null;
    }
    return pos.concat([_sL, _sT]);
  }
205003
function objectExtendDeep(extended) {
  var currentObject;
  var currentType;
  var extendedType;
  var currentItem;
  var currentTypeInner;

  for (var i = 1, c = arguments.length; i < c; i++) {
    currentObject = arguments[i];
    if (!currentObject)
      continue;
    currentType = type(currentObject);
    extendedType = type(extended);
    // type mismatch
    if (currentType !== extendedType) {
      if (currentType === 'array') {
        extended = [];
      } else if (currentType === 'object' && extendedType !== 'function') {
        extended = {};
      }
      // else copy, primitive, date, regexp, function ...
    }
    // extend arrays
    if (currentType === 'array') {
      extended = extended.concat(currentObject);
    } else {
      // or objects ;)
      for (var key in currentObject) {
        if (ownProperty.call(currentObject, key)) {
          currentTypeInner = type(currentObject[key]);
          currentItem = currentObject[key];
          if (/^(object|array)$/.test(currentTypeInner)) {
            extended[key] = objectExtendDeep(extended[key], currentItem);
          } else if (currentTypeInner === 'date') {
            extended[key] = new Date(currentItem.getTime());
          } else if (currentTypeInner === 'regexp') {
            extended[key] = cloneRegExp(currentItem);
          } else {
            extended[key] = currentItem;
          }
        }
      }
    }
  }
  return extended;
}
1186516
function ( obj ) {
		return obj.nodeName === "FORM" ? false : string.isUrl( obj.value || element.text( obj ) );
	}
240628
function tryGetObjectLikeCompletionContainer(contextToken) {
                if (contextToken) {
                    switch (contextToken.kind) {
                        case 15 /* OpenBraceToken */: // const x = { |
                        case 24 /* CommaToken */:
                            var parent_19 = contextToken.parent;
                            if (parent_19 && (parent_19.kind === 171 /* ObjectLiteralExpression */ || parent_19.kind === 167 /* ObjectBindingPattern */)) {
                                return parent_19;
                            }
                            break;
                    }
                }
                return undefined;
            }
775018
function ( obj ) {
		return obj.nodeName === "FORM" ? false : string.isNumber( obj.value || element.text( obj ) );
	}
391850
function() {
      var objects = this.getObjects();
      var markup = [
        '<g ',
          'width="', this.width, '" ',
          'height="', this.height, '" ',
          'style="', this.getSvgStyles(), '" ',
          'transform="', this.getSvgTransform(), '" ',
        '>'
      ];

      for (var i = 0, len = objects.length; i < len; i++) {
        markup.push(objects[i].toSVG());
      }
      markup.push('</g>');

      return markup.join('');
    }
724227
function(old) {
		return function(object, options) {
			//console.log("client-client withBody : ", object, options)
			if (!options)
				options = options ||  {};
			else if (typeof options === 'string')
				options = {
					id: options || ''
				};
			options.id = this.basePath + (options.id || "");
			options.headers = deep.bottom(deep.globalHeaders, this.headers, options.headers, {});
			if (deep.HTTP.decorateHeaders)
				deep.HTTP.decorateHeaders(options.headers);
			if (this.decorateHeaders)
				this.decorateHeaders(options.headers);
			return old.call(this, (options.id || ""), object, options);
		};
	}
983776
function ( obj ) {
		return obj.nodeName === "FORM" ? false : string.isInt( obj.value || element.text( obj ) );
	}
854085
function normalAttrClass(domRef, oldClass, newValue, anim){
      var classList = domRef.classList;

      // IE11 and lower doesn't support classList for SVG
      if (!classList)
        return legacyAttrClass(domRef, oldClass, newValue, anim);

      var newClass = newValue || '';

      if (newClass != oldClass)
      {
        if (oldClass)
          domRef.classList.remove(oldClass);

        if (newClass)
        {
          domRef.classList.add(newClass);

          if (anim)
          {
            domRef.classList.add(newClass + '-anim');
            basis.nextTick(function(){
              domRef.classList.remove(newClass + '-anim');
            });
          }
        }
      }

      return newClass;
    }
725524
function isArguments(value) {
        // fallback check is for IE
        return toString.call(value) === '[object Arguments]' || value != null && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && 'callee' in value;
    }
1365818
function (obj) {
      if (!obj) return
      diffTitle.before = opt.complement
      var title = obj.inner + ' ' + (obj.separator || opt.separator) +
        ' ' +  (obj.complement || opt.complement)
      window.document.title = title.trim()
    }
485676
function (obj) {
				obj = this._get_node(obj);
				if(!obj.length) { return false; }
				var s = this._get_settings().core.html_titles;
				obj = obj.children("a:eq(0)");
				if(s) {
					obj = obj.clone();
					obj.children("INS").remove();
					return obj.html();
				}
				else {
					obj = obj.contents().filter(function() { return this.nodeType == 3; })[0];
					return obj.nodeValue;
				}
			}
816948
function styleParse (str, obj) {
  var chunks;
  var i;
  var item;
  var pos;
  var key;
  var val;

  obj = obj || {};

  chunks = getKeyValueChunks(str);
  for (i = 0; i < chunks.length; i++) {
    item = chunks[i];
    if (!item) { continue; }
    // Split with `.indexOf` rather than `.split` because the value may also contain colons.
    pos = item.indexOf(':');
    key = item.substr(0, pos).trim();
    val = item.substr(pos + 1).trim();
    obj[key] = val;
  }
  return obj;
}
943370
function looksLikeFraction (value) {
  return (value &&
      typeof value === 'object' &&
      typeof value.s === 'number' &&
      typeof value.n === 'number' &&
      typeof value.d === 'number') || false
}