if([Sr,$A,Mr].indexOf(Q)!==-1||i===es||o===Vr&&is.indexOf(i)!==-1||i===OA&&Q===Vr||Q===ht||QA.indexOf(Q)!==-1&&i===z||QA.indexOf(i)!==-1&&Q===z||i===ee&&[Qe,de,Ee].indexOf(Q)!==-1||[Qe,de,Ee].indexOf(i)!==-1&&Q===Ae||QA.indexOf(i)!==-1&&dt.indexOf(Q)!==-1||dt.indexOf(i)!==-1&&QA.indexOf(Q)!==-1||// (PR | PO) × ( OP | HY )? NU
if([Sr,$A,Mr].indexOf(Q)!==-1||a===es||o===Vr&&is.indexOf(a)!==-1||a===OA&&Q===Vr||Q===ht||QA.indexOf(Q)!==-1&&a===z||QA.indexOf(a)!==-1&&Q===z||a===ee&&[Qe,de,Ee].indexOf(Q)!==-1||[Qe,de,Ee].indexOf(a)!==-1&&Q===Ae||QA.indexOf(a)!==-1&&dt.indexOf(Q)!==-1||dt.indexOf(a)!==-1&&QA.indexOf(Q)!==-1||// (PR | PO) × ( OP | HY )? NU
[ee,Ae].indexOf(i)!==-1&&(Q===z||[ZA,$A].indexOf(Q)!==-1&&A[a+1]===z)||// ( OP | HY ) × NU
[ee,Ae].indexOf(a)!==-1&&(Q===z||[ZA,$A].indexOf(Q)!==-1&&A[i+1]===z)||// ( OP | HY ) × NU
[ZA,$A].indexOf(i)!==-1&&Q===z||// NU × (NU | SY | IS)
[ZA,$A].indexOf(a)!==-1&&Q===z||// NU × (NU | SY | IS)
i===z&&[z,OA,SA].indexOf(Q)!==-1)
a===z&&[z,OA,SA].indexOf(Q)!==-1)
returnI;
returnI;
if([z,OA,SA,he,YA].indexOf(Q)!==-1)
if([z,OA,SA,he,YA].indexOf(Q)!==-1)
for(varc=n;c>=0;){
for(varc=n;c>=0;){
...
@@ -692,7 +692,7 @@ var zn = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
...
@@ -692,7 +692,7 @@ var zn = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
break;
break;
}
}
if([ee,Ae].indexOf(Q)!==-1)
if([ee,Ae].indexOf(Q)!==-1)
for(varc=[he,YA].indexOf(i)!==-1?s:n;c>=0;){
for(varc=[he,YA].indexOf(a)!==-1?s:n;c>=0;){
varg=A[c];
varg=A[c];
if(g===z)
if(g===z)
returnI;
returnI;
...
@@ -701,23 +701,23 @@ var zn = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
...
@@ -701,23 +701,23 @@ var zn = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
returnthis.scrolledElements.forEach(uQ),a&&(a.scrollTo(r.left,r.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(a.scrollY!==r.top||a.scrollX!==r.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-r.left,a.scrollY-r.top,0,0))),Q=this.options.onclone,c=this.clonedReferenceElement,typeofc>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:i.fonts&&i.fonts.ready?[4,i.fonts.ready]:[3,2];
returnthis.scrolledElements.forEach(uQ),i&&(i.scrollTo(r.left,r.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(i.scrollY!==r.top||i.scrollX!==r.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(i.scrollX-r.left,i.scrollY-r.top,0,0))),Q=this.options.onclone,c=this.clonedReferenceElement,typeofc>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];
},i.logger.debug("Starting document clone with size "+a.width+"x"+a.height+" scrolled to "+-a.left+","+-a.top),c=newsB(i,e,Q),g=c.clonedReferenceElement,g?[4,c.toIFrame(r,a)]:[2,Promise.reject("Unable to find element in cloned iframe")];
},a.logger.debug("Starting document clone with size "+i.width+"x"+i.height+" scrolled to "+-i.left+","+-i.top),c=newsB(a,e,Q),g=c.clonedReferenceElement,g?[4,c.toIFrame(r,i)]:[2,Promise.reject("Unable to find element in cloned iframe")];
},o?(i.logger.debug("Document cloned, using foreign object rendering"),v=newzQ(i,p),[4,v.render(g)]):[3,3];
},o?(a.logger.debug("Document cloned, using foreign object rendering"),v=newzQ(a,p),[4,v.render(g)]):[3,3];
case2:
case2:
returnd=oA.sent(),[3,5];
returnd=oA.sent(),[3,5];
case3:
case3:
returni.logger.debug("Document cloned, element located at "+h+","+F+" with size "+l+"x"+H+" using computed rendering"),i.logger.debug("Starting DOM parsing"),C=en(i,g),y===C.styles.backgroundColor&&(C.styles.backgroundColor=gA.TRANSPARENT),i.logger.debug("Starting renderer for element at "+p.x+","+p.y+" with size "+p.width+"x"+p.height),v=newJQ(i,p),[4,v.render(C)];
returna.logger.debug("Document cloned, element located at "+h+","+F+" with size "+l+"x"+H+" using computed rendering"),a.logger.debug("Starting DOM parsing"),C=en(a,g),y===C.styles.backgroundColor&&(C.styles.backgroundColor=gA.TRANSPARENT),a.logger.debug("Starting renderer for element at "+p.x+","+p.y+" with size "+p.width+"x"+p.height),v=newJQ(a,p),[4,v.render(C)];
case4:
case4:
d=oA.sent(),oA.label=5;
d=oA.sent(),oA.label=5;
case5:
case5:
return(!((yA=A.removeContainer)!==null&&yA!==void0)||yA)&&(sB.destroy(f)||i.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),i.logger.debug("Finished rendering"),[2,d];
return(!((yA=A.removeContainer)!==null&&yA!==void0)||yA)&&(sB.destroy(f)||a.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),a.logger.debug("Finished rendering"),[2,d];