1(self.webpackChunkreact_typescript_rspack=self.webpackChunkreact_typescript_rspack||[]).push([["465"],{9374(e,t,n){e.exports=n(2572)},81(e){!function(t){if("u">typeof window){var n,i,o,r,a,s,c,d=!0,u=10,l="",f=0,m="",g=null,h="",p=!1,w={resize:1,click:1},y=128,b=!0,v=1,T="bodyOffset",M=T,E=!0,I="",O={},k=32,x=null,S=!1,z=!1,N="[iFrameSizer]",R=N.length,F="",C={max:1,min:1,bodyScroll:1,documentElementScroll:1},A="child",W=!0,L=window.parent,P="*",H=0,j=!1,q=null,B=16,D=1,U="scroll",V=U,J=window,X=function(){es("onMessage function not defined")},Y=function(){},Q=function(){},_={height:function(){return es("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return es("Custom width calculation function not defined"),document.body.scrollWidth}},K={},G=!1;try{var Z=Object.create({},{passive:{get:function(){G=!0}}});window.addEventListener("test",en,Z),window.removeEventListener("test",en,Z)}catch(e){}var $={bodyOffset:function(){return document.body.offsetHeight+ew("marginTop")+ew("marginBottom")},offset:function(){return $.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return _.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,eb($))},min:function(){return Math.min.apply(null,eb($))},grow:function(){return $.max()},lowestElement:function(){return Math.max($.bodyOffset()||$.documentElementOffset(),ey("bottom",eT()))},taggedElement:function(){return ev("bottom","data-iframe-height")}},ee={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return _.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(ee.bodyScroll(),ee.documentElementScroll())},max:function(){return Math.max.apply(null,eb(ee))},min:function(){return Math.min.apply(null,eb(ee))},rightMostElement:function(){return ey("right",eT())},taggedElement:function(){return ev("right","data-iframe-width")}},et=(n=eM,a=null,s=0,c=function(){s=Date.now(),a=null,r=n.apply(i,o),a||(i=o=null)},function(){var e=Date.now();s||(s=e);var t=B-(e-s);return i=this,o=arguments,t<=0||t>B?(a&&(clearTimeout(a),a=null),s=e,r=n.apply(i,o),a||(i=o=null)):a||(a=setTimeout(c,t)),r});ei(window,"message",function(n){var i={init:function(){var e,i;I=n.data,L=n.source,function(){function e(e){return"true"===e}var n=I.substr(R).split(":");F=n[0],f=t!==n[1]?Number(n[1]):f,p=t!==n[2]?e(n[2]):p,S=t!==n[3]?e(n[3]):S,k=t!==n[4]?Number(n[4]):k,d=t!==n[6]?e(n[6]):d,m=n[7],M=t!==n[8]?n[8]:M,l=n[9],h=n[10],H=t!==n[11]?Number(n[11]):H,O.enable=t!==n[12]&&e(n[12]),A=t!==n[13]?n[13]:A,V=t!==n[14]?n[14]:V,z=t!==n[15]?!!n[15]:z}(),ea("Initialising iFrame ("+window.location.href+")"),function(){function e(e,t){return"function"==typeof e&&(ea("Setup custom "+t+"CalcMethod"),_[t]=e,e="custom"),e}if("iFrameResizer"in window&&Object===window.iFrameResizer.constructor){var t;ea("Reading data from page: "+JSON.stringify(t=window.iFrameResizer)),Object.keys(t).forEach(ec,t),X="onMessage"in t?t.onMessage:X,Y="onReady"in t?t.onReady:Y,P="targetOrigin"in t?t.targetOrigin:P,M="heightCalculationMethod"in t?t.heightCalculationMethod:M,V="widthCalculationMethod"in t?t.widthCalculationMethod:V,M=e(M,"height"),V=e(V,"width")}ea("TargetOrigin for parent set to: "+P)}(),t===m&&(m=f+"px"),ed("margin",(-1!==(e=m).indexOf("-")&&(es("Negative CSS value ignored for margin"),e=""),e)),ed("background",l),ed("padding",h),(i=document.createElement("div")).style.clear="both",i.style.display="block",i.style.height="0",document.body.appendChild(i),em(),eg(),document.documentElement.style.height="",document.body.style.height="",ea('HTML & body height set to "auto"'),ea("Enable public methods"),J.parentIFrame={autoResize:function(e){return!0===e&&!1===d?(d=!0,eh()):!1===e&&!0===d&&(d=!1,el("remove"),null!==g&&g.disconnect(),clearInterval(x)),ex(0,0,"autoResize",JSON.stringify(d)),d},close:function(){ex(0,0,"close")},getId:function(){return F}
1,getPageInfo:function(e){"function"==typeof e?(Q=e,ex(0,0,"pageInfo")):(Q=function(){},ex(0,0,"pageInfoStop"))},moveToAnchor:function(e){O.findTarget(e)},reset:function(){ek("parentIFrame.reset")},scrollTo:function(e,t){ex(t,e,"scrollTo")},scrollToOffset:function(e,t){ex(t,e,"scrollToOffset")},sendMessage:function(e,t){ex(0,0,"message",JSON.stringify(e),t)},setHeightCalculationMethod:function(e){M=e,em()},setWidthCalculationMethod:function(e){V=e,eg()},setTargetOrigin:function(e){ea("Set targetOrigin: "+e),P=e},size:function(e,t){eE("size","parentIFrame.size("+(e||"")+(t?","+t:"")+")",e,t)}},function(){function e(e){ex(0,0,e.type,e.screenY+":"+e.screenX)}function t(t,n){ea("Add event listener: "+n),ei(window.document,t,e)}!0===z&&(t("mouseenter","Mouse Enter"),t("mouseleave","Mouse Leave"))}(),eh(),O=function(){function e(e){var n=e.split("#")[1]||e,i=decodeURIComponent(n),o=document.getElementById(i)||document.getElementsByName(i)[0];if(t!==o){var r,a,s=(r=o.getBoundingClientRect(),a={x:window.pageXOffset!==t?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==t?window.pageYOffset:document.documentElement.scrollTop},{x:parseInt(r.left,10)+parseInt(a.x,10),y:parseInt(r.top,10)+parseInt(a.y,10)});ea("Moving to in page link (#"+n+") at x: "+s.x+" y: "+s.y),ex(s.y,s.x,"scrollToOffset")}else ea("In page link (#"+n+") not found in iFrame, so sending to parent"),ex(0,0,"inPageLink","#"+n)}function n(){var t=window.location.hash,n=window.location.href;""!==t&&"#"!==t&&e(n)}return O.enable?Array.prototype.forEach&&document.querySelectorAll?(ea("Setting up location.hash handlers"),Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),function(t){"#"!==t.getAttribute("href")&&ei(t,"click",function(t){t.preventDefault(),e(this.getAttribute("href"))})}),ei(window,"hashchange",n),setTimeout(n,y)):es("In page linking not fully supported in this browser! (See README.md for IE8 workaround)"):ea("In page linking not enabled"),{findTarget:e}}(),eE("init","Init message from host page"),Y(),b=!1,setTimeout(function(){E=!1},y)},reset:function(){E?ea("Page reset ignored by init"):(ea("Page size reset by host page"),eO("resetPage"))},resize:function(){eE("resizeParent","Parent window requested size check")},moveToAnchor:function(){O.findTarget(r())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var e=r();ea("PageInfoFromParent called from parent: "+e),Q(JSON.parse(e)),ea(" --")},message:function(){var e=r();ea("onMessage called from parent: "+e),X(JSON.parse(e)),ea(" --")}};function o(){return n.data.split("]")[1].split(":")[0]}function r(){return n.data.substr(n.data.indexOf(":")+1)}function a(){return n.data.split(":")[2]in{true:1,false:1}}N===(""+n.data).substr(0,R)&&function(){if(!1===b){var t;(t=o())in i?i[t]():!e.exports&&"iFrameResize"in window||"jQuery"in window&&"iFrameResize"in window.jQuery.prototype||a()||es("Unexpected message ("+n.data+")")}else a()?i.init():ea('Ignored message of type "'+o()+'". Received before initialization.')}()}),ei(window,"readystatechange",eS),eS()}function en(){}function ei(e,t,n,i){e.addEventListener(t,n,!!G&&(i||{}))}function eo(e){return e.charAt(0).toUpperCase()+e.slice(1)}function er(e){return N+"["+F+"] "+e}function ea(e){S&&"object"==typeof window.console&&console.log(er(e))}function es(e){"object"==typeof window.console&&console.warn(er(e))}function ec(e){var t=e.split("Callback");if(2===t.length){var n="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],es("Deprecated: '"+e+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}function ed(e,n){t!==n&&""!==n&&"null"!==n&&(document.body.style[e]=n,ea("Body "+e+' set to "'+n+'"'))}function eu(e){var t={add:function(t){function n(){eE(e.eventName,e.eventType)}K[t]=n,ei(window,t,n,{passive:!0})},remove:function(e){var t=K[e];delete K[e],window.removeEventListener(e,t,!1)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(t[e.method])):t[e.method](e.eventName),ea(eo(e.method)+" event listener: "+e.eventType)}function el(e){eu({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),eu({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),eu({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),eu({method:e,eventType:"Input",eventName:"input"}),eu({method:e,eventType:"Mouse Up",eventName:"mouseup"}),eu({method:e,eventType:"Mouse Down",eventName:"mousedown"}),eu({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),eu({method:e,eventType:"Print",eventName:["afterprint","beforeprint"]}),eu({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),eu({method:e,eventType:"Touch Start",eventName:"touchstart"}),eu({method:e,eventType:"Touch End",eventName:"touchend"}),eu({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),eu({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),eu({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),eu({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}
1),"child"===A&&eu({method:e,eventType:"IFrame Resized",eventName:"resize"})}function ef(e,t,n,i){return t!==e&&(e in n||(es(e+" is not a valid option for "+i+"CalculationMethod."),e=t),ea(i+' calculation method set to "'+e+'"')),e}function em(){M=ef(M,T,$,"height")}function eg(){V=ef(V,U,ee,"width")}function eh(){var e;!0===d?(el("add"),e=0>k,window.MutationObserver||window.WebKitMutationObserver?e?ep():g=function(){function e(e){function t(e){!1===e.complete&&(ea("Attach listeners to "+e.src),e.addEventListener("load",i,!1),e.addEventListener("error",o,!1),a.push(e))}"attributes"===e.type&&"src"===e.attributeName?t(e.target):"childList"===e.type&&Array.prototype.forEach.call(e.target.querySelectorAll("img"),t)}function t(e){ea("Remove listeners from "+e.src),e.removeEventListener("load",i,!1),e.removeEventListener("error",o,!1),a.splice(a.indexOf(e),1)}function n(e,n,i){t(e.target),eE(n,i+": "+e.target.src)}function i(e){n(e,"imageLoad","Image loaded")}function o(e){n(e,"imageLoadFailed","Image load failed")}var r,a=[],s=window.MutationObserver||window.WebKitMutationObserver,c=(r=document.querySelector("body"),c=new s(function(t){eE("mutationObserver","mutationObserver: "+t[0].target+" "+t[0].type),t.forEach(e)}),ea("Create body MutationObserver"),c.observe(r,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),c);return{disconnect:function(){"disconnect"in c&&(ea("Disconnect body MutationObserver"),c.disconnect(),a.forEach(t))}}}():(ea("MutationObserver not supported in this browser!"),ep())):ea("Auto Resize disabled")}function ep(){0!==k&&(ea("setInterval: "+k+"ms"),x=setInterval(function(){eE("interval","setInterval: "+k)},Math.abs(k)))}function ew(e,t){var n=0;return t=t||document.body,parseInt(n=null!==(n=document.defaultView.getComputedStyle(t,null))?n[e]:0,u)}function ey(e,t){for(var n,i=t.length,o=0,r=0,a=eo(e),s=Date.now(),c=0;c<i;c++)(o=t[c].getBoundingClientRect()[e]+ew("margin"+a,t[c]))>r&&(r=o);return s=Date.now()-s,ea("Parsed "+i+" HTML elements"),ea("Element position calculated in "+s+"ms"),(n=s)>B/2&&ea("Event throttle increased to "+(B=2*n)+"ms"),r}function eb(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function ev(e,t){var n=document.querySelectorAll("["+t+"]");return 0===n.length&&(es("No tagged elements ("+t+") found on page"),document.querySelectorAll("body *")),ey(e,n)}function eT(){return document.querySelectorAll("body *")}function eM(e,n,i,o){var r,a;(function(){function e(e,t){return!(Math.abs(e-t)<=H)}return r=t!==i?i:$[M](),a=t!==o?o:ee[V](),e(v,r)||p&&e(D,a)})()||"init"===e?(eI(),ex(v=r,D=a,e)):!(e in{init:1,interval:1,size:1})&&(M in C||p&&V in C)?ek(n):e in{interval:1}||ea("No change in size detected")}function eE(e,t,n,i){j&&e in w?ea("Trigger event cancelled: "+e):(e in{reset:1,resetPage:1,init:1}||ea("Trigger event: "+t),"init"===e?eM(e,t,n,i):et(e,t,n,i))}function eI(){j||(j=!0,ea("Trigger event lock on")),clearTimeout(q),q=setTimeout(function(){j=!1,ea("Trigger event lock off"),ea("--")},y)}function eO(e){v=$[M](),D=ee[V](),ex(v,D,e)}function ek(e){var t=M;M=T,ea("Reset trigger event: "+e),eI(),eO("reset"),M=t}function ex(e,n,i,o,r){if(!0===W){var a;t===r?r=P:ea("Message targetOrigin: "+r),ea("Sending message to host page ("+(a=F+":"+e+":"+n+":"+i+(t!==o?":"+o:""))+")"),L.postMessage(N+a,r)}}function eS(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()},3050(e){!function(){if("u">typeof window){var t,n=0,i=!1,o=!1,r=7,a="[iFrameSizer]",s=a.length,c=null,d=window.requestAnimationFrame,u={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},l={},f=null,m={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,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(){T("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}},g={};window.jQuery&&((t=window.jQuery).fn?t.fn.iFrameResize||(t.fn.iFrameResize=function(e){return this.filter("iframe").each(function(t,n){A(n,e)}).end()}):v("","Unable to bind to jQuery, it is not fully loaded.")),"function"==typeof define&&define.amd?define([],H):"object"==typeof e.exports&&(e.exports=H()),window.iFrameResize=window.iFrameResize||H()}function h(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function p(e,t,n){e.addEventListener(t,n,!1)}function w(e,t,n){e.removeEventListener(t,n,!1)}function y(e){return l[e]?l[e].log:i}function b(e,t){M("log",e,t,y(e))}function v(e,t){M("info",e,t,y(e))}function T(e,t){M("warn",e,t,!0)}function M(e,t,n,i){var o;!0===i&&"object"==typeof window.console&&console[e](a+"["+(o="Host page: "+t,window.top!==window.self&&(o=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+t:"Nested host page: "+t),o)+"]",n)}function E(e){function t(){n("Height"),n("Width"),R(function(){N(q),S(B),I(B,"onResized",q)},q,"init")}function n(e){var t=Number(l[B]["max"+e]),n=Number(l[B]["min"+e]),i=e.toLowerCase(),o=Number(q[i]);b(B,"Checking "+i+" is in range "+n+"-"+t),o<n&&(o=n,b(B,"Set "+i+" to min value")),o>t&&(o=t,b(B,"Set "+i+" to max value")),q[i]=""+o}function i(e){return j.substr(j.indexOf(":")+r+e)}function o(e,t){var n,i;n=function(){var n,i;F("Send Page Info","pageInfo:"+(n=document.body.getBoundingClientRect(),JSON.stringify({iframeHeight:(i=q.iframe.getBoundingClientRect()).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-n.top,10),offsetLeft:parseInt(i.left-n.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),e,t)},g[i=t]||(g[i]=setTimeout(function(){g[i]=null,n()},32))}function d(e){var t=e.getBoundingClientRect();return x(B),{x:Math.floor(Number(t.left)+Number(c.x)),y:Math.floor(Number(t.top)+Number(c.y)
1)}}function u(e){var t=e?d(q.iframe):{x:0,y:0},n={x:Number(q.width)+t.x,y:Number(q.height)+t.y};b(B,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](n.x,n.y):T(B,"Unable to scroll to requested position, window.parentIFrame not found"):(c=n,f(),b(B,"--"))}function f(){!1!==I(B,"onScroll",c)?S(B):c=null}function m(e){var t,n,o={};if(0===Number(q.width)&&0===Number(q.height)){var r=i(9).split(":");o={x:r[1],y:r[0]}}else o={x:q.width,y:q.height};t=e,n={iframe:q.iframe,screenX:Number(o.x),screenY:Number(o.y),type:q.type},I(B,t,n)}var h,y,M,E,O,A,W,L,P,H,j=e.data,q={},B=null;if("[iFrameResizerChild]Ready"===j)for(var D in l)F("iFrame requested init",C(D),l[D].iframe,D);else if(a===(""+j).substr(0,s)&&j.substr(s).split(":")[0]in l){(E=(M=j.substr(s).split(":"))[1]?parseInt(M[1],10):0,A=getComputedStyle(O=l[M[0]]&&l[M[0]].iframe),l[B=(q={iframe:O,id:M[0],height:E+("border-box"!==(h=A).boxSizing?0:(h.paddingTop?parseInt(h.paddingTop,10):0)+(h.paddingBottom?parseInt(h.paddingBottom,10):0))+("border-box"!==(y=A).boxSizing?0:(y.borderTopWidth?parseInt(y.borderTopWidth,10):0)+(y.borderBottomWidth?parseInt(y.borderBottomWidth,10):0)),width:M[2],type:M[3]}).id]&&(l[B].loaded=!0),(W=q.type in{true:1,false:1,undefined:1})&&b(B,"Ignoring init message from meta parent page"),!W&&(P=!0,l[L=B]||(P=!1,T(q.type+" No settings for "+L+". Message was: "+j)),P))&&(b(B,"Received: "+j),H=!0,null===q.iframe&&(T(B,"IFrame ("+q.id+") not found"),H=!1),H&&function(){var t,n=e.origin,i=l[B]&&l[B].checkOrigin;if(i&&""+n!="null"&&!(i.constructor===Array?function(){var e=0,t=!1;for(b(B,"Checking connection is from allowed list of origins: "+i);e<i.length;e++)if(i[e]===n){t=!0;break}return t}():(t=l[B]&&l[B].remoteHost,b(B,"Checking connection is from: "+t),n===t)))throw Error("Unexpected message received from: "+n+" for "+q.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(l[B]&&l[B].firstRun&&l[B]&&(l[B].firstRun=!1),q.type){case"close":k(q.iframe);break;case"message":v=i(6),b(B,"onMessage passed: {iframe: "+q.iframe.id+", message: "+v+"}"),h="onMessage",y={iframe:q.iframe,message:JSON.parse(v)},I(B,h,y),b(B,"--");break;case"mouseenter":m("onMouseEnter");break;case"mouseleave":m("onMouseLeave");break;case"autoResize":l[B].autoResize=JSON.parse(i(9));break;case"scrollTo":u(!1);break;case"scrollToOffset":u(!0);break;case"pageInfo":function e(e,t){function i(){l[E]?o(l[E].iframe,E):n()}["scroll","resize"].forEach(function(n){b(E,e+n+" listener for sendPageInfo"),t(window,n,i)})}function n(){e("Remove ",w)}o(l[B]&&l[B].iframe,B);var r,a,s,g,h,y,v,M,E=B;e("Add ",p),l[E]&&(l[E].stopPageInfo=n);break;case"pageInfoStop":l[B]&&l[B].stopPageInfo&&(l[B].stopPageInfo(),delete l[B].stopPageInfo);break;case"inPageLink":s=decodeURIComponent(a=i(9).split("#")[1]||""),(g=document.getElementById(s)||document.getElementsByName(s)[0])?(r=d(g),b(B,"Moving to in page link (#"+a+") at x: "+r.x+" y: "+r.y),c={x:r.x,y:r.y},f(),b(B,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(a):b(B,"In page link #"+a+" not found and window.parentIFrame not found"):b(B,"In page link #"+a+" not found");break;case"reset":z(q);break;case"init":t(),M=q.iframe,I(B,"onInit",M);break;default:0===Number(q.width)&&0===Number(q.height)?T("Unsupported message received ("+q.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):t()}}())}else v(B,"Ignored: "+j)}function I(e,t,n){var i=null,o=null;if(l[e])if("function"==typeof(i=l[e][t]))o=i(n);else throw TypeError(t+" on iFrame["+e+"] is not a function");return o}function O(e){var t=e.id;delete l[t]}function k(e){var t=e.id;if(!1===I(t,"onClose",t))return void b(t,"Close iframe cancelled by onClose event");b(t,"Removing iFrame: "+t);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){T(e)}I(t,"onClosed",t),b(t,"--"),O(e)}function x(e){null===c&&b(e,"Get page position: "+(c={x:void 0!==window.pageXOffset?window.pageXOffset:document.documentElement.scrollLeft,y:void 0!==window.pageYOffset?window.pageYOffset:document.documentElement.scrollTop}).x+","+c.y)}function S(e){null!==c&&(window.scrollTo(c.x,c.y),b(e,"Set page position: "+c.x+","+c.y),c=null)}function z(e){b(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),x(e.id),R(function(){N(e),F("reset","reset",e.iframe,e.id)},e,"reset")}
1function N(e){function t(t){e.id?(e.iframe.style[t]=e[t]+"px",b(e.id,"IFrame ("+n+") "+t+" set to "+e[t]+"px")):b("undefined","messageData id not set"),o||"0"!==e[t]||(o=!0,b(n,"Hidden iFrame detected, creating visibility listener"),function(){function e(){Object.keys(l).forEach(function(e){function t(t){return"0px"===(l[e]&&l[e].iframe.style[t])}l[e]&&null!==l[e].iframe.offsetParent&&(t("height")||t("width"))&&F("Visibility change","resize",l[e].iframe,e)})}var t,n=h();n&&(t=document.querySelector("body"),new n(function(t){b("window","Mutation observed: "+t[0].target+" "+t[0].type),W(e,16)}).observe(t,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}))}())}var n=e.iframe.id;l[n]&&(l[n].sizeHeight&&t("height"),l[n].sizeWidth&&t("width"))}function R(e,t,n){n!==t.type&&d&&!window.jasmine?(b(t.id,"Requesting animation frame"),d(e)):e()}function F(e,t,n,i,o){var r,s=!1;l[i=i||n.id]&&(n&&"contentWindow"in n&&null!==n.contentWindow?(r=l[i]&&l[i].targetOrigin,b(i,"["+e+"] Sending msg to iframe["+i+"] ("+t+") targetOrigin: "+r),n.contentWindow.postMessage(a+t,r)):T(i,"["+e+"] IFrame("+i+") not found"),o&&l[i]&&l[i].warningTimeout&&(l[i].msgTimeout=setTimeout(function(){!l[i]||l[i].loaded||s||(s=!0,T(i,"IFrame has not responded within "+l[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."))},l[i].warningTimeout)))}function C(e){return e+":"+l[e].bodyMarginV1+":"+l[e].sizeWidth+":"+l[e].log+":"+l[e].interval+":"+l[e].enablePublicMethods+":"+l[e].autoResize+":"+l[e].bodyMargin+":"+l[e].heightCalculationMethod+":"+l[e].bodyBackground+":"+l[e].bodyPadding+":"+l[e].tolerance+":"+l[e].inPageLinks+":"+l[e].resizeFrom+":"+l[e].widthCalculationMethod+":"+l[e].mouseEvents}function A(e,t){var o=function(o){if(""===o){var r;r=t&&t.id||m.id+n++,null!==document.getElementById(r)&&(r+=n++),e.id=o=r,i=(t||{}).log,b(o,"Added missing iframe ID: "+o+" ("+e.src+")")}return o}(e.id);if(o in l&&"iFrameResizer"in e)T(o,"Ignored iFrame, already setup.");else{var r,a,s,c=t;if(c=c||{},l[o]={firstRun:!0,iframe:e,remoteHost:e.src&&e.src.split("/").slice(0,3).join("/")},"object"!=typeof c)throw TypeError("Options is not an object");Object.keys(c).forEach(function(e){var t=e.split("Callback");if(2===t.length){var n="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],T(o,"Deprecated: '"+e+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}},c);var d=c;for(var f in m)Object.prototype.hasOwnProperty.call(m,f)&&(l[o][f]=Object.prototype.hasOwnProperty.call(d,f)?d[f]:m[f]);switch(l[o]&&(l[o].targetOrigin=!0===l[o].checkOrigin?""===(r=l[o].remoteHost)||null!==r.match(/^(about:blank|javascript:|file:\/\/)/)?"*":r:"*"),b(o,"IFrame scrolling "+(l[o]&&l[o].scrolling?"enabled":"disabled")+" for "+o),e.style.overflow=!1===(l[o]&&l[o].scrolling)?"hidden":"auto",l[o]&&l[o].scrolling){case"omit":break;case!0:e.scrolling="yes";break;case!1:e.scrolling="no";break;default:e.scrolling=l[o]?l[o].scrolling:"no"}function g(t){var n=l[o][t];1/0!==n&&0!==n&&(e.style[t]="number"==typeof n?n+"px":n,b(o,"Set "+t+" = "+e.style[t]))}function w(e){if(l[o]["min"+e]>l[o]["max"+e])throw Error("Value for min"+e+" can not be greater than max"+e)}w("Height"),w("Width"),g("maxHeight"),g("minHeight"),g("maxWidth"),g("minWidth"),("number"==typeof(l[o]&&l[o].bodyMargin)||"0"===(l[o]&&l[o].bodyMargin))&&(l[o].bodyMarginV1=l[o].bodyMargin,l[o].bodyMargin=""+l[o].bodyMargin+"px"),a=C(o),(s=h())&&e.parentNode&&new s(function(t){t.forEach(function(t){Array.prototype.slice.call(t.removedNodes).forEach(function(t){t===e&&k(e)})})}).observe(e.parentNode,{childList:!0}),p(e,"load",function(){var t,n;F("iFrame.onload",a,e,void 0,!0),t=l[o]&&l[o].firstRun,n=l[o]&&l[o].heightCalculationMethod in u,!t&&n&&z({iframe:e,height:0,width:0,type:"init"})}),F("init",a,e,void 0,!0),l[o]&&(l[o].iframe.iFrameResizer={close:k.bind(null,l[o].iframe),removeListeners:O.bind(null,l[o].iframe),resize:F.bind(null,"Window resize","resize",l[o].iframe),moveToAnchor:function(e){F("Move to anchor","moveToAnchor:"+e,l[o].iframe,o)},sendMessage:function(e){F("Send Message","message:"+(e=JSON.stringify(e)),l[o].iframe,o)}})}}function W(e,t){null===f&&(f=setTimeout(function(){f=null,e()},t))}
1function L(){"hidden"!==document.visibilityState&&(b("document","Trigger event: Visiblity change"),W(function(){P("Tab Visable","resize")},16))}function P(e,t){Object.keys(l).forEach(function(n){l[n]&&"parent"===l[n].resizeFrom&&l[n].autoResize&&!l[n].firstRun&&F(e,t,l[n].iframe,n)})}function H(){function e(e,n){if(n){if(n.tagName){if("IFRAME"!==n.tagName.toUpperCase())throw TypeError("Expected <IFRAME> tag, found <"+n.tagName+">")}else throw TypeError("Object is not a valid DOM element");A(n,e),t.push(n)}}var t,n,i=["moz","webkit","o","ms"];for(n=0;n<i.length&&!d;n+=1)d=window[i[n]+"RequestAnimationFrame"];return d?d=d.bind(window):b("setup","RequestAnimationFrame not supported"),p(window,"message",E),p(window,"resize",function(){b("window","Trigger event: resize"),W(function(){P("Window resize","resize")},16)}),p(document,"visibilitychange",L),p(document,"-webkit-visibilitychange",L),function(n,i){switch(t=[],n&&n.enablePublicMethods&&T("enablePublicMethods option has been removed, public methods are now always available in the iFrame"),typeof i){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(i||"iframe"),e.bind(void 0,n));break;case"object":e(n,i);break;default:throw TypeError("Unexpected data type ("+typeof i+")")}return t}}}()},2572(e,t,n){t.iframeResizer=n(3050),n(81)}}]); 2//# sourceMappingURL=spa.vendor.iframe-resizer.bundle.88dd3a9d14702dd8.min.js.map
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.