1(self.webpackChunk=self.webpackChunk||[]).push([[4126],{4126(e,n,t){const i=t(570);e.exports={iframeResize:i,lY:i,contentWindow:t(481)}},481(e){!function(n){if("undefined"!=typeof window){var t=!0,i="",o=0,r="",a=null,c="",s=!1,u={resize:1,click:1},d=128,l=!0,f=1,m="bodyOffset",g=m,h=!0,p="",w={},y=32,b=null,v=!1,T=!1,E="[iFrameSizer]",M="",I={max:1,min:1,bodyScroll:1,documentElementScroll:1},O="child",z=window.parent,k="*",S=0,x=!1,N=null,R=16,F=1,C="scroll",A=C,W=window,L=function(){oe("onMessage function not defined")},P=function(){},j=function(){},H={height:function(){return oe("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return oe("Custom width calculation function not defined"),document.body.scrollWidth}},q={},B=!1;try{var D=Object.create({},{passive:{get:function(){B=!0}}});window.addEventListener("test",_,D),window.removeEventListener("test",_,D)}catch(e){}var V,U,J,Y,X,Q,K,G={bodyOffset:function(){return document.body.offsetHeight+he("marginTop")+he("marginBottom")},offset:function(){return G.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return H.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,we(G))},min:function(){return Math.min.apply(null,we(G))},grow:function(){return G.max()},lowestElement:function(){return Math.max(G.bodyOffset()||G.documentElementOffset(),pe("bottom",be()))},taggedElement:function(){return ye("bottom","data-iframe-height")}},Z={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return H.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(Z.bodyScroll(),Z.documentElementScroll())},max:function(){return Math.max.apply(null,we(Z))},min:function(){return Math.min.apply(null,we(Z))},rightMostElement:function(){return pe("right",be())},taggedElement:function(){return ye("right","data-iframe-width")}},$=(V=ve,X=null,Q=0,K=function(){Q=Date.now(),X=null,Y=V.apply(U,J),X||(U=J=null)},function(){var e=Date.now();Q||(Q=e);var n=R-(e-Q);return U=this,J=arguments,n<=0||n>R?(X&&(clearTimeout(X),X=null),Q=e,Y=V.apply(U,J),X||(U=J=null)):X||(X=setTimeout(K,n)),Y});"iframeResizer"in window||(window.iframeChildListener=function(e){ze({data:e,sameDomian:!0})},ee(window,"message",ze),ee(window,"readystatechange",ke),ke())}function _(){}function ee(e,n,t,i){e.addEventListener(n,t,!!B&&(i||{}))}function ne(e){return e.charAt(0).toUpperCase()+e.slice(1)}function te(e){return E+"["+M+"] "+e}function ie(e){v&&"object"==typeof window.console&&console.log(te(e))}function oe(e){"object"==typeof window.console&&console.warn(te(e))}function re(){var e;!function(){function e(e){return"true"===e}var a=p.slice(13).split(":");M=a[0],o=n===a[1]?o:Number(a[1]),s=n===a[2]?s:e(a[2]),v=n===a[3]?v:e(a[3]),y=n===a[4]?y:Number(a[4]),t=n===a[6]?t:e(a[6]),r=a[7],g=n===a[8]?g:a[8],i=a[9],c=a[10],S=n===a[11]?S:Number(a[11]),w.enable=n!==a[12]&&e(a[12]),O=n===a[13]?O:a[13],A=n===a[14]?A:a[14],T=n===a[15]?T:e(a[15])}(),ie("Initialising iFrame ("+window.location.href+")"),function(){function e(){var e=window.iFrameResizer;ie("Reading data from page: "+JSON.stringify(e)),Object.keys(e).forEach(ae,e),L="onMessage"in e?e.onMessage:L,P="onReady"in e?e.onReady:P,k="targetOrigin"in e?e.targetOrigin:k,g="heightCalculationMethod"in e?e.heightCalculationMethod:g,A="widthCalculationMethod"in e?e.widthCalculationMethod:A}function n(e,n){return"function"==typeof e&&(ie("Setup custom "+n+"CalcMethod"),H[n]=e,e="custom"),e}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(e(),g=n(g,"height"),A=n(A,"width"));ie("TargetOrigin for parent set to: "+k)}(),function(){n===r&&(r=o+"px");ce("margin",function(e,n){-1!==n.indexOf("-")&&(oe("Negative CSS value ignored for "+e),n="");return n}("margin",r))}(),ce("background",i),ce("padding",c),(e=document.createElement("div")).style.clear="both",e.style.display="block",e.style.height="0",document.body.appendChild(e),le(),fe(),document.documentElement.style.height="",document.body.style.height="",ie('HTML & body height set to "auto"'),ie("Enable public methods"),W.parentIFrame={autoResize:function(e){return!0===e&&!1===t?(t=!0,me()):!1===e&&!0===t&&(t=!1,ue("remove"),null!==a&&a.disconnect(),clearInterval(b)),Oe(0,0,"autoResize",JSON.stringify(t)),t},close:function(){Oe(0,0,"close")},getId:function(){return M},getPageInfo:function(e){"function"==typeof e?(j=e,Oe(0,0,"pageInfo")):(j=function(){},Oe(0,0,"pageInfoStop"))},moveToAnchor:function(e){w.findTarget(e)},reset:function(){Ie("parentIFrame.reset")},scrollTo:function(e,n){Oe(n,e,"scrollTo")},scrollToOffset:function(e,n){Oe(n,e,"scrollToOffset")},sendMessage:function(e,n){Oe(0,0,"message",JSON.stringify(e),n)}
vendor: 5,065 bytes, line 1
1,setHeightCalculationMethod:function(e){g=e,le()},setWidthCalculationMethod:function(e){A=e,fe()},setTargetOrigin:function(e){ie("Set targetOrigin: "+e),k=e},size:function(e,n){Te("size","parentIFrame.size("+(e||"")+(n?","+n:"")+")",e,n)}},function(){if(!0!==T)return;function e(e){Oe(0,0,e.type,e.screenY+":"+e.screenX)}function n(n,t){ie("Add event listener: "+t),ee(window.document,n,e)}n("mouseenter","Mouse Enter"),n("mouseleave","Mouse Leave")}(),me(),w=function(){function e(){return{x:window.pageXOffset===n?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===n?document.documentElement.scrollTop:window.pageYOffset}}function t(n){var t=n.getBoundingClientRect(),i=e();return{x:parseInt(t.left,10)+parseInt(i.x,10),y:parseInt(t.top,10)+parseInt(i.y,10)}}function i(e){function i(e){var n=t(e);ie("Moving to in page link (#"+o+") at x: "+n.x+" y: "+n.y),Oe(n.y,n.x,"scrollToOffset")}var o=e.split("#")[1]||e,r=decodeURIComponent(o),a=document.getElementById(r)||document.getElementsByName(r)[0];n===a?(ie("In page link (#"+o+") not found in iFrame, so sending to parent"),Oe(0,0,"inPageLink","#"+o)):i(a)}function o(){var e=window.location.hash,n=window.location.href;""!==e&&"#"!==e&&i(n)}function r(){function e(e){function n(e){e.preventDefault(),i(this.getAttribute("href"))}"#"!==e.getAttribute("href")&&ee(e,"click",n)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),e)}function a(){ee(window,"hashchange",o)}function c(){setTimeout(o,d)}function s(){Array.prototype.forEach&&document.querySelectorAll?(ie("Setting up location.hash handlers"),r(),a(),c()):oe("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}w.enable?s():ie("In page linking not enabled");return{findTarget:i}}(),Te("init","Init message from host page"),P()}function ae(e){var n=e.split("Callback");if(2===n.length){var t="on"+n[0].charAt(0).toUpperCase()+n[0].slice(1);this[t]=this[e],delete this[e],oe("Deprecated: '"+e+"' has been renamed '"+t+"'. The old method will be removed in the next major version.")}}function ce(e,t){n!==t&&""!==t&&"null"!==t&&(document.body.style[e]=t,ie("Body "+e+' set to "'+t+'"'))}function se(e){var n={add:function(n){function t(){Te(e.eventName,e.eventType)}q[n]=t,ee(window,n,t,{passive:!0})},remove:function(e){var n,t,i,o=q[e];delete q[e],n=window,t=e,i=o,n.removeEventListener(t,i,!1)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(n[e.method])):n[e.method](e.eventName),ie(ne(e.method)+" event listener: "+e.eventType)}function ue(e){se({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),se({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),se({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),se({method:e,eventType:"Input",eventName:"input"}),se({method:e,eventType:"Mouse Up",eventName:"mouseup"}),se({method:e,eventType:"Mouse Down",eventName:"mousedown"}),se({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),se({method:e,eventType:"Print",eventNames:["afterprint","beforeprint"]}),se({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),se({method:e,eventType:"Touch Start",eventName:"touchstart"}),se({method:e,eventType:"Touch End",eventName:"touchend"}),se({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),se({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),se({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),se({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===O&&se({method:e,eventType:"IFrame Resized",eventName:"resize"})}function de(e,n,t,i){return n!==e&&(e in t||(oe(e+" is not a valid option for "+i+"CalculationMethod."),e=n),ie(i+' calculation method set to "'+e+'"')),e}function le(){g=de(g,m,G,"height")}function fe(){A=de(A,C,Z,"width")}function me(){var e;!0===t?(ue("add"),e=0>y,window.MutationObserver||window.WebKitMutationObserver?e?ge():a=function(){function e(e){function n(e){!1===e.complete&&(ie("Attach listeners to "+e.src),e.addEventListener("load",o,!1),e.addEventListener("error",r,!1),s.push(e))}"attributes"===e.type&&"src"===e.attributeName?n(e.target):"childList"===e.type&&Array.prototype.forEach.call(e.target.querySelectorAll("img"),n)}function n(e){s.splice(s.indexOf(e),1)}function t(e){ie("Remove listeners from "+e.src),e.removeEventListener("load",o,!1),e.removeEventListener("error",r,!1),n(e)}function i(e,n,i){t(e.target),Te(n,i+": "+e.target.src)}function o(e){i(e,"imageLoad","Image loaded")}function r(e){i(e,"imageLoadFailed","Image load failed")}function a(n){Te("mutationObserver","mutationObserver: "+n[0].target+" "+n[0].type),n.forEac
1h(e)}function c(){var e=document.querySelector("body"),n={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};return d=new u(a),ie("Create body MutationObserver"),d.observe(e,n),d}var s=[],u=window.MutationObserver||window.WebKitMutationObserver,d=c();return{disconnect:function(){"disconnect"in d&&(ie("Disconnect body MutationObserver"),d.disconnect(),s.forEach(t))}}}():(ie("MutationObserver not supported in this browser!"),ge())):ie("Auto Resize disabled")}function ge(){0!==y&&(ie("setInterval: "+y+"ms"),b=setInterval(function(){Te("interval","setInterval: "+y)},Math.abs(y)))}function he(e,n){var t=0;return n=n||document.body,t=null===(t=document.defaultView.getComputedStyle(n,null))?0:t[e],parseInt(t,10)}function pe(e,n){for(var t=n.length,i=0,o=0,r=ne(e),a=Date.now(),c=0;c<t;c++)(i=n[c].getBoundingClientRect()[e]+he("margin"+r,n[c]))>o&&(o=i);return a=Date.now()-a,ie("Parsed "+t+" HTML elements"),ie("Element position calculated in "+a+"ms"),function(e){e>R/2&&ie("Event throttle increased to "+(R=2*e)+"ms")}(a),o}function we(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function ye(e,n){var t=document.querySelectorAll("["+n+"]");return 0===t.length&&(oe("No tagged elements ("+n+") found on page"),document.querySelectorAll("body *")),pe(e,t)}function be(){return document.querySelectorAll("body *")}function ve(e,t,i,o){var r,a;!function(){function e(e,n){return!(Math.abs(e-n)<=S)}return r=n===i?G[g]():i,a=n===o?Z[A]():o,e(f,r)||s&&e(F,a)}()&&"init"!==e?!(e in{init:1,interval:1,size:1})&&(g in I||s&&A in I)?Ie(t):e in{interval:1}||ie("No change in size detected"):(Ee(),Oe(f=r,F=a,e))}function Te(e,n,t,i){x&&e in u?ie("Trigger event cancelled: "+e):(e in{reset:1,resetPage:1,init:1}||ie("Trigger event: "+n),"init"===e?ve(e,n,t,i):$(e,n,t,i))}function Ee(){x||(x=!0,ie("Trigger event lock on")),clearTimeout(N),N=setTimeout(function(){x=!1,ie("Trigger event lock off"),ie("--")},d)}function Me(e){f=G[g](),F=Z[A](),Oe(f,F,e)}function Ie(e){var n=g;g=m,ie("Reset trigger event: "+e),Ee(),Me("reset"),g=n}function Oe(e,t,i,o,r){var a;n===r?r=k:ie("Message targetOrigin: "+r),ie("Sending message to host page ("+(a=M+":"+e+":"+t+":"+i+(n===o?"":":"+o))+")"),z.postMessage(E+a,r)}function ze(t){var i={init:function(){p=t.data,z=t.source,re(),l=!1,setTimeout(function(){h=!1},d)},reset:function(){h?ie("Page reset ignored by init"):(ie("Page size reset by host page"),Me("resetPage"))},resize:function(){Te("resizeParent","Parent window requested size check")},moveToAnchor:function(){w.findTarget(r())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var e=r();ie("PageInfoFromParent called from parent: "+e),j(JSON.parse(e)),ie(" --")},message:function(){var e=r();ie("onMessage called from parent: "+e),L(JSON.parse(e)),ie(" --")}};function o(){return t.data.split("]")[1].split(":")[0]}function r(){return t.data.slice(t.data.indexOf(":")+1)}function a(){return t.data.split(":")[2]in{true:1,false:1}}function c(){var r=o();r in i?i[r]():!e.exports&&"iFrameResize"in window||window.jQuery!==n&&"iFrameResize"in window.jQuery.prototype||a()||oe("Unexpected message ("+t.data+")")}E===(""+t.data).slice(0,13)&&(!1===l?c():a()?i.init():ie('Ignored message of type "'+o()+'". Received before initialization.'))}function ke(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()},570(e,n){var t,i,o;console.info("\nIFRAME-RESIZER\n\nIframe-Resizer 5 is now available via the following two packages:\n\n * @iframe-resizer/parent\n * @iframe-resizer/child\n\nAdditionally their are also new versions of iframe-resizer for React, Vue, and jQuery.\n\nVersion 5 of iframe-resizer has been extensively rewritten to use modern browser APIs, which has enabled significantly better performance and greater accuracy in the detection of content resizing events.\n\nPlease see https://iframe-resizer.com/upgrade for more details.\n"),function(r){if("undefined"!=typeof window){var a,c,s=0,u=!1,d=!1,l="[iFrameSizer]",f=null,m=window.requestAnimationFrame,g=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),h={}
1,p=null,w=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,license:"1jqr0si6pnt",log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){z("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}}),y={};window.jQuery!==r&&((c=window.jQuery).fn?c.fn.iFrameResize||(c.fn.iFrameResize=function(e){return this.filter("iframe").each(function(n,t){q(t,e)}).end()}):O("","Unable to bind to jQuery, it is not fully loaded.")),i=[],(o="function"==typeof(t=J)?t.apply(n,i):t)===r||(e.exports=o),window.iFrameResize=window.iFrameResize||J()}function b(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function v(e,n,t){e.addEventListener(n,t,!1)}function T(e,n,t){e.removeEventListener(n,t,!1)}function E(e){return l+"["+function(e){var n="Host page: "+e;return window.top!==window.self&&(n=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),n}(e)+"]"}function M(e){return h[e]?h[e].log:u}function I(e,n){k("log",e,n,M(e))}function O(e,n){k("info",e,n,M(e))}function z(e,n){k("warn",e,n,!0)}function k(e,n,t,i){!0===i&&"object"==typeof window.console&&console[e](E(n),t)}function S(e){function n(){o("Height"),o("Width"),P(function(){L(S),C(N),m("onResized",S)},S,"init")}function t(e){return"border-box"!==e.boxSizing?0:(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0)}function i(e){return"border-box"!==e.boxSizing?0:(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0)}function o(e){var n=Number(h[N]["max"+e]),t=Number(h[N]["min"+e]),i=e.toLowerCase(),o=Number(S[i]);I(N,"Checking "+i+" is in range "+t+"-"+n),o<t&&(o=t,I(N,"Set "+i+" to min value")),o>n&&(o=n,I(N,"Set "+i+" to max value")),S[i]=""+o}function r(e){return k.slice(k.indexOf(":")+7+e)}function a(e,n){var t,i,o;t=function(){var t,i;j("Send Page Info","pageInfo:"+(t=document.body.getBoundingClientRect(),i=S.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:i.height,iframeWidth:i.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(i.top-t.top,10),offsetLeft:parseInt(i.left-t.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),e,n)},i=32,y[o=n]||(y[o]=setTimeout(function(){y[o]=null,t()},i))}function c(e){var n=e.getBoundingClientRect();return F(N),{x:Math.floor(Number(n.left)+Number(f.x)),y:Math.floor(Number(n.top)+Number(f.y))}}function s(e){var n=e?c(S.iframe):{x:0,y:0},t={x:Number(S.width)+n.x,y:Number(S.height)+n.y};I(N,"Reposition requested from iFrame (offset x:"+n.x+" y:"+n.y+")"),window.top===window.self?(f=t,u(),I(N,"--")):window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](t.x,t.y):z(N,"Unable to scroll to requested position, window.parentIFrame not found")}function u(){!1===m("onScroll",f)?A():C(N)}function d(e){var n={};if(0===Number(S.width)&&0===Number(S.height)){var t=r(9).split(":");n={x:t[1],y:t[0]}}else n={x:S.width,y:S.height};m(e,{iframe:S.iframe,screenX:Number(n.x),screenY:Number(n.y),type:S.type})}function m(e,n){return x(N,e,n)}var g,p,w,b,E,M,k=e.data,S={},N=null;"[iFrameResizerChild]Ready"===k?function(){for(var e in h)j("iFrame requested init",H(e),h[e].iframe,e)}():l===(""+k).slice(0,13)&&k.slice(13).split(":")[0]in h?(w=k.slice(13).split(":"),b=w[1]?parseInt(w[1],10):0,E=h[w[0]]&&h[w[0]].iframe,M=getComputedStyle(E),S={iframe:E,id:w[0],height:b+t(M)+i(M),width:w[2],type:w[3]},N=S.id,h[N]&&(h[N].loaded=!0),(p=S.type in{true:1,false:1,undefined:1})&&I(N,"Ignoring init message from meta parent page"),!p&&function(e){var n=!0;return h[e]||(n=!1,z(S.type+" No settings for "+e+". Message was: "+k)),n}(N)&&(I(N,"Received: "+k),g=!0,null===S.iframe&&(z(N,"IFrame ("+S.id+") not found"),g=!1),g&&function(){var n,t=e.origin,i=h[N]&&h[N].checkOrigin;if(i&&""+t!="null"&&!(i.constructor===Array?function(){var e=0,n=!1;for(I(N,"Checking connection is from allowed list of origins: "+i);e<i.length;e++)if(i[e]===t){n=!0;break}return n}():(n=h[N]&&h[N].remoteHost,I(N,"Checking connection is from: "+n),t===n)))throw new Error("Unexpected message received from: "+t+" for "+S.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){switch(h[N]&&h[N].firstRun&&h[N]&&(h[N].firstRun=!1),S.type){case"close"
1:R(S.iframe);break;case"message":l=r(6),I(N,"onMessage passed: {iframe: "+S.iframe.id+", message: "+l+"}"),m("onMessage",{iframe:S.iframe,message:JSON.parse(l)}),I(N,"--");break;case"mouseenter":d("onMouseEnter");break;case"mouseleave":d("onMouseLeave");break;case"autoResize":h[N].autoResize=JSON.parse(r(9));break;case"scrollTo":s(!1);break;case"scrollToOffset":s(!0);break;case"pageInfo":a(h[N]&&h[N].iframe,N),function(){function e(e,i){function o(){h[t]?a(h[t].iframe,t):n()}["scroll","resize"].forEach(function(n){I(t,e+n+" listener for sendPageInfo"),i(window,n,o)})}function n(){e("Remove ",T)}var t=N;e("Add ",v),h[t]&&(h[t].stopPageInfo=n)}();break;case"pageInfoStop":h[N]&&h[N].stopPageInfo&&(h[N].stopPageInfo(),delete h[N].stopPageInfo);break;case"inPageLink":t=r(9).split("#")[1]||"",i=decodeURIComponent(t),(o=document.getElementById(i)||document.getElementsByName(i)[0])?(e=c(o),I(N,"Moving to in page link (#"+t+") at x: "+e.x+" y: "+e.y),f={x:e.x,y:e.y},u(),I(N,"--")):window.top===window.self?I(N,"In page link #"+t+" not found"):window.parentIFrame?window.parentIFrame.moveToAnchor(t):I(N,"In page link #"+t+" not found and window.parentIFrame not found");break;case"reset":W(S);break;case"init":n(),m("onInit",S.iframe);break;default:0===Number(S.width)&&0===Number(S.height)?z("Unsupported message received ("+S.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):n()}var e,t,i,o,l}())):O(N,"Ignored: "+k)}function x(e,n,t){var i=null,o=null;if(h[e]){if("function"!=typeof(i=h[e][n]))throw new TypeError(n+" on iFrame["+e+"] is not a function");o=i(t)}return o}function N(e){var n=e.id;delete h[n]}function R(e){var n=e.id;if(!1!==x(n,"onClose",n)){I(n,"Removing iFrame: "+n);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){z(e)}x(n,"onClosed",n),I(n,"--"),N(e),a&&(a.disconnect(),a=null)}else I(n,"Close iframe cancelled by onClose event")}function F(e){null===f&&I(e,"Get page position: "+(f={x:window.pageXOffset===r?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===r?document.documentElement.scrollTop:window.pageYOffset}).x+","+f.y)}function C(e){null!==f&&(window.scrollTo(f.x,f.y),I(e,"Set page position: "+f.x+","+f.y),A())}function A(){f=null}function W(e){I(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),F(e.id),P(function(){L(e),j("reset","reset",e.iframe,e.id)},e,"reset")}function L(e){function n(n){d||"0"!==e[n]||(d=!0,I(i,"Hidden iFrame detected, creating visibility listener"),function(){function e(){function e(e){function n(n){return"0px"===(h[e]&&h[e].iframe.style[n])}function t(e){return null!==e.offsetParent}h[e]&&t(h[e].iframe)&&(n("height")||n("width"))&&j("Visibility change","resize",h[e].iframe,e)}Object.keys(h).forEach(function(n){e(n)})}function n(n){I("window","Mutation observed: "+n[0].target+" "+n[0].type),B(e,16)}function t(){var e=document.querySelector("body"),t={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};new i(n).observe(e,t)}var i=b();i&&t()}())}function t(t){!function(n){e.id?(e.iframe.style[n]=e[n]+"px",I(e.id,"IFrame ("+i+") "+n+" set to "+e[n]+"px")):I("undefined","messageData id not set")}(t),n(t)}var i=e.iframe.id;h[i]&&(h[i].sizeHeight&&t("height"),h[i].sizeWidth&&t("width"))}function P(e,n,t){t!==n.type&&m&&!window.jasmine?(I(n.id,"Requesting animation frame"),m(e)):e()}function j(e,n,t,i,o){var r,a=!1;i=i||t.id,h[i]&&(t&&"contentWindow"in t&&null!==t.contentWindow?(r=h[i]&&h[i].targetOrigin,I(i,"["+e+"] Sending msg to iframe["+i+"] ("+n+") targetOrigin: "+r),t.contentWindow.postMessage(l+n,r)):z(i,"["+e+"] IFrame("+i+") not found"),o&&h[i]&&h[i].warningTimeout&&(h[i].msgTimeout=setTimeout(function(){!h[i]||h[i].loaded||a||(a=!0,z(i,"IFrame has not responded within "+h[i].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))},h[i].warningTimeout)))}function H(e){return e+":"+h[e].bodyMarginV1+":"+h[e].sizeWidth+":"+h[e].log+":"+h[e].interval+":"+h[e].enablePublicMethods+":"+h[e].autoResize+":"+h[e].bodyMargin+":"+h[e].heightCalculationMethod+":"+h[e].bodyBackgroun
1d+":"+h[e].bodyPadding+":"+h[e].tolerance+":"+h[e].inPageLinks+":"+h[e].resizeFrom+":"+h[e].widthCalculationMethod+":"+h[e].mouseEvents}function q(e,n){function t(e){var n=e.split("Callback");if(2===n.length){var t="on"+n[0].charAt(0).toUpperCase()+n[0].slice(1);this[t]=this[e],delete this[e],z(c,"Deprecated: '"+e+"' has been renamed '"+t+"'. The old method will be removed in the next major version.")}}var i,o,c=function(t){if("string"!=typeof t)throw new TypeError("Invaild id for iFrame. Expected String");var i;return""===t&&(e.id=(i=n&&n.id||w.id+s++,null!==document.getElementById(i)&&(i+=s++),t=i),u=(n||{}).log,I(t,"Added missing iframe ID: "+t+" ("+e.src+")")),t}(e.id);c in h&&"iFrameResizer"in e?z(c,"Ignored iFrame, already setup."):(!function(n){var i;n=n||{},h[c]=Object.create(null),h[c].iframe=e,h[c].firstRun=!0,h[c].remoteHost=e.src&&e.src.split("/").slice(0,3).join("/"),function(e){if("object"!=typeof e)throw new TypeError("Options is not an object")}(n),Object.keys(n).forEach(t,n),function(e){for(var n in w)Object.prototype.hasOwnProperty.call(w,n)&&(h[c][n]=Object.prototype.hasOwnProperty.call(e,n)?e[n]:w[n])}(n),h[c]&&(h[c].targetOrigin=!0===h[c].checkOrigin?""===(i=h[c].remoteHost)||null!==i.match(/^(about:blank|javascript:|file:\/\/)/)?"*":i:"*")}(n),function(){switch(I(c,"IFrame scrolling "+(h[c]&&h[c].scrolling?"enabled":"disabled")+" for "+c),e.style.overflow=!1===(h[c]&&h[c].scrolling)?"hidden":"auto",h[c]&&h[c].scrolling){case"omit":break;case!0:e.scrolling="yes";break;case!1:e.scrolling="no";break;default:e.scrolling=h[c]?h[c].scrolling:"no"}}(),function(){function n(n){var t=h[c][n];1/0!==t&&0!==t&&(e.style[n]="number"==typeof t?t+"px":t,I(c,"Set "+n+" = "+e.style[n]))}function t(e){if(h[c]["min"+e]>h[c]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}t("Height"),t("Width"),n("maxHeight"),n("minHeight"),n("maxWidth"),n("minWidth")}(),"number"!=typeof(h[c]&&h[c].bodyMargin)&&"0"!==(h[c]&&h[c].bodyMargin)||(h[c].bodyMarginV1=h[c].bodyMargin,h[c].bodyMargin=h[c].bodyMargin+"px"),i=H(c),(o=b())&&(a=function(n){if(!e.parentNode)return null;var t=new n(function(n){n.forEach(function(n){Array.prototype.slice.call(n.removedNodes).forEach(function(n){n===e&&R(e)})})});return t.observe(e.parentNode,{childList:!0}),t}(o)),v(e,"load",function(){var n,t;j("iFrame.onload",i,e,r,!0),n=h[c]&&h[c].firstRun,t=h[c]&&h[c].heightCalculationMethod in g,!n&&t&&W({iframe:e,height:0,width:0,type:"init"})}),j("init",i,e,r,!0),h[c]&&(h[c].iframe.iFrameResizer={close:R.bind(null,h[c].iframe),removeListeners:N.bind(null,h[c].iframe),resize:j.bind(null,"Window resize","resize",h[c].iframe),moveToAnchor:function(e){j("Move to anchor","moveToAnchor:"+e,h[c].iframe,c)},sendMessage:function(e){j("Send Message","message:"+(e=JSON.stringify(e)),h[c].iframe,c)}}))}function B(e,n){null===p&&(p=setTimeout(function(){p=null,e()},n))}function D(){"hidden"!==document.visibilityState&&(I("document","Trigger event: Visibility change"),B(function(){V("Tab Visible","resize")},16))}function V(e,n){Object.keys(h).forEach(function(t){(function(e){return h[e]&&"parent"===h[e].resizeFrom&&h[e].autoResize&&!h[e].firstRun})(t)&&j(e,n,h[t].iframe,t)})}function U(){v(window,"message",S),v(window,"resize",function(){var e;I("window","Trigger event: "+(e="resize")),B(function(){V("Window "+e,"resize")},16)}),v(document,"visibilitychange",D),v(document,"-webkit-visibilitychange",D)}function J(){function e(e,t){t&&(!function(){if(!t.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==t.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+t.tagName+">")}(),q(t,e),n.push(t))}var n;return function(){var e,n=["moz","webkit","o","ms"];for(e=0;e<n.length&&!m;e+=1)m=window[n[e]+"RequestAnimationFrame"];m?m=m.bind(window):I("setup","RequestAnimationFrame not supported")}(),U(),function(t,i){switch(n=[],function(e){e&&e.enablePublicMethods&&z("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(t),typeof i){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(i||"iframe"),e.bind(r,t));break;case"object":e(t,i);break;default:throw new TypeError("Unexpected data type ("+typeof i+")")}return n}}}()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.