Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
dom-capture.dist.captureDomForIE.js Maven / Gradle / Ivy
/* @applitools/[email protected] */
function __captureDomForIE() {
var captureDomForIE=function(){"use strict";function t(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function e(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function u(e){t(a,o,i,u,c,"next",e)}function c(e){t(a,o,i,u,c,"throw",e)}u(void 0)}))}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){c=!0,a=t},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw a}}}}var o="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function i(t,e){return t(e={exports:{}},e.exports),e.exports}var a=function(t){return t&&t.Math==Math&&t},u=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof o&&o)||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},s=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),f={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,h={f:l&&!f.call({1:2},1)?function(t){var e=l(this,t);return!!e&&e.enumerable}:f},p=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},d={}.toString,v=function(t){return d.call(t).slice(8,-1)},g="".split,y=c((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==v(t)?g.call(t,""):Object(t)}:Object,m=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},b=function(t){return y(m(t))},w=function(t){return"object"==typeof t?null!==t:"function"==typeof t},S=function(t,e){if(!w(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!w(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!w(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!w(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},E={}.hasOwnProperty,A=function(t,e){return E.call(t,e)},x=u.document,O=w(x)&&w(x.createElement),R=function(t){return O?x.createElement(t):{}},T=!s&&!c((function(){return 7!=Object.defineProperty(R("div"),"a",{get:function(){return 7}}).a})),I=Object.getOwnPropertyDescriptor,_={f:s?I:function(t,e){if(t=b(t),e=S(e,!0),T)try{return I(t,e)}catch(t){}if(A(t,e))return p(!h.f.call(t,e),t[e])}},P=function(t){if(!w(t))throw TypeError(String(t)+" is not an object");return t},j=Object.defineProperty,L={f:s?j:function(t,e,r){if(P(t),e=S(e,!0),P(r),T)try{return j(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},M=s?function(t,e,r){return L.f(t,e,p(1,r))}:function(t,e,r){return t[e]=r,t},U=function(t,e){try{M(u,t,e)}catch(r){u[t]=e}return e},C=u["__core-js_shared__"]||U("__core-js_shared__",{}),k=Function.toString;"function"!=typeof C.inspectSource&&(C.inspectSource=function(t){return k.call(t)});var N,F,D,B=C.inspectSource,q=u.WeakMap,z="function"==typeof q&&/native code/.test(B(q)),V=i((function(t){(t.exports=function(t,e){return C[t]||(C[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),W=0,G=Math.random(),Y=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++W+G).toString(36)},$=V("keys"),H=function(t){return $[t]||($[t]=Y(t))},J={},X=u.WeakMap;if(z){var K=new X,Q=K.get,Z=K.has,tt=K.set;N=function(t,e){return tt.call(K,t,e),e},F=function(t){return Q.call(K,t)||{}},D=function(t){return Z.call(K,t)}}else{var et=H("state");J[et]=!0,N=function(t,e){return M(t,et,e),e},F=function(t){return A(t,et)?t[et]:{}},D=function(t){return A(t,et)}}var rt,nt={set:N,get:F,has:D,enforce:function(t){return D(t)?F(t):N(t,{})},getterFor:function(t){return function(e){var r;if(!w(e)||(r=F(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},ot=i((function(t){var e=nt.get,r=nt.enforce,n=String(String).split("String");(t.exports=function(t,e,o,i){var a=!!i&&!!i.unsafe,c=!!i&&!!i.enumerable,s=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof e||A(o,"name")||M(o,"name",e),r(o).source=n.join("string"==typeof e?e:"")),t!==u?(a?!s&&t[e]&&(c=!0):delete t[e],c?t[e]=o:M(t,e,o)):c?t[e]=o:U(e,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||B(this)}))})),it=u,at=function(t){return"function"==typeof t?t:void 0},ut=function(t,e){return arguments.length<2?at(it[t])||at(u[t]):it[t]&&it[t][e]||u[t]&&u[t][e]},ct=Math.ceil,st=Math.floor,ft=function(t){return isNaN(t=+t)?0:(t>0?st:ct)(t)},lt=Math.min,ht=function(t){return t>0?lt(ft(t),9007199254740991):0},pt=Math.max,dt=Math.min,vt=function(t,e){var r=ft(t);return r<0?pt(r+e,0):dt(r,e)},gt=function(t){return function(e,r,n){var o,i=b(e),a=ht(i.length),u=vt(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},yt={includes:gt(!0),indexOf:gt(!1)},mt=yt.indexOf,bt=function(t,e){var r,n=b(t),o=0,i=[];for(r in n)!A(J,r)&&A(n,r)&&i.push(r);for(;e.length>o;)A(n,r=e[o++])&&(~mt(i,r)||i.push(r));return i},wt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],St=wt.concat("length","prototype"),Et={f:Object.getOwnPropertyNames||function(t){return bt(t,St)}},At={f:Object.getOwnPropertySymbols},xt=ut("Reflect","ownKeys")||function(t){var e=Et.f(P(t)),r=At.f;return r?e.concat(r(t)):e},Ot=function(t,e){for(var r=xt(e),n=L.f,o=_.f,i=0;ii;)L.f(t,r=n[i++],e[r]);return t},qt=ut("document","documentElement"),zt=H("IE_PROTO"),Vt=function(){},Wt=function(t){return"