PageSourceSearch

https://www.wartau.ch/compiled/index/js/5303.d0ab474ac3f25cd6caa4.js

js wartau.ch collected 2026-10-02 13:38:16 UTC 27,403 bytes, 1 lines download raw bytes

1(self.webpackChunkCMS=self.webpackChunkCMS||[]).push([[5303],{15303:(e,n,t)=>{e.exports=t(49457)},49402:e=>{!function(n){if("undefined"!=typeof window){var t=!0,i="",o=0,r="",a=null,u="",s=!1,c={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,M="[iFrameSizer]",E=M.length,I="",O={max:1,min:1,bodyScroll:1,documentElementScroll:1},S="child",k=window.parent,x="*",z=0,N=!1,R=null,F=16,C=1,A="scroll",W=A,L=window,P=function(){re("onMessage function not defined")},H=function(){},j=function(){},B={height:function(){return re("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return re("Custom width calculation function not defined"),document.body.scrollWidth}},q={},D=!1;try{var U=Object.create({},{passive:{get:function(){D=!0}}});window.addEventListener("test",ee,U),window.removeEventListener("test",ee,U)}catch(e){}var V,J,X,Y,Q,K,G,Z={bodyOffset:function(){return document.body.offsetHeight+pe("marginTop")+pe("marginBottom")},offset:function(){return Z.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return B.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,ye(Z))},min:function(){return Math.min.apply(null,ye(Z))},grow:function(){return Z.max()},lowestElement:function(){return Math.max(Z.bodyOffset()||Z.documentElementOffset(),we("bottom",ve()))},taggedElement:function(){return be("bottom","data-iframe-height")}},$={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return B.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max($.bodyScroll(),$.documentElementScroll())},max:function(){return Math.max.apply(null,ye($))},min:function(){return Math.min.apply(null,ye($))},rightMostElement:function(){return we("right",ve())},taggedElement:function(){return be("right","data-iframe-width")}},_=(V=Te,Q=null,K=0,G=function(){K=Date.now(),Q=null,Y=V.apply(J,X),Q||(J=X=null)},function(){var e=Date.now();K||(K=e);var n=F-(e-K);return J=this,X=arguments,n<=0||n>F?(Q&&(clearTimeout(Q),Q=null),K=e,Y=V.apply(J,X),Q||(J=X=null)):Q||(Q=setTimeout(G,n)),Y});ne(window,"message",(function(n){var t={init:function(){p=n.data,k=n.source,ae(),l=!1,setTimeout((function(){h=!1}),d)},reset:function(){h?oe("Page reset ignored by init"):(oe("Page size reset by host page"),Ie("resetPage"))},resize:function(){Me("resizeParent","Parent window requested size check")},moveToAnchor:function(){w.findTarget(o())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var e=o();oe("PageInfoFromParent called from parent: "+e),j(JSON.parse(e)),oe(" --")},message:function(){var e=o();oe("onMessage called from parent: "+e),P(JSON.parse(e)),oe(" --")}};function i(){return n.data.split("]")[1].split(":")[0]}function o(){return n.data.substr(n.data.indexOf(":")+1)}function r(){return n.data.split(":")[2]in{true:1,false:1}}function a(){var o=i();o in t?t[o]():!e.exports&&"iFrameResize"in window||"jQuery"in window&&"iFrameResize"in window.jQuery.prototype||r()||re("Unexpected message ("+n.data+")")}M===(""+n.data).substr(0,E)&&(!1===l?a():r()?t.init():oe('Ignored message of type "'+i()+'". Received before initialization.'))})),ne(window,"readystatechange",ke),ke()}function ee(){}function ne(e,n,t,i){e.addEventListener(n,t,!!D&&(i||{}))}function te(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ie(e){return M+"["+I+"] "+e}function oe(e){v&&"object"==typeof window.console&&console.log(ie(e))}function re(e){"object"==typeof window.console&&console.warn(ie(e))}function ae(){var e;!function(){function e(e){return"true"===e}var a=p.substr(E).split(":");I=a[0],o=n!==a[1]?Number(a[1]):o,s=n!==a[2]?e(a[2]):s,v=n!==a[3]?e(a[3]):v,y=n!==a[4]?Number(a[4]):y,t=n!==a[6]?e(a[6]):t,r=a[7],g=n!==a[8]?a[8]:g,i=a[9],u=a[10],z=n!==a[11]?Number(a[11]):z,w.enable=n!==a[12]&&e(a[12]),S=n!==a[13]?a[13]:S,W=n!==a[14]?a[14]:W,T=n!==a[15]?Boolean(a[15]):T}(),oe("Initialising iFrame ("+window.location.href+")"),function(){function e(){var e=window.iFrameResizer;oe("Reading data from page: "+JSON.stringify(e)),Object.keys(e).forEach(ue,e),P="onMessage"in e?e.onMessage:P,H="onReady"in e?e.onReady:H,x="targetOrigin"in e?e.targetOrigin:x,g="heightCalculationMethod"in e?e.heightCalculationMethod:g,W="widthCalculationMethod"in e?e.widthCalculationMethod:W}function n(e,n){return"function"==typeof e&&(oe("Setup custom "+n+"CalcMethod"),B[n]=e,e="custom"),e}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(e(),g=n(g,"height"),W=n(W,"width"));oe("TargetOrigin for parent set to: "+x)}(),function(){n===r&&(r=o+"px");se("margin",function(e,n){-1!==n.indexOf("-")&&(re("Negative CSS value ignored for "+e),n="");return n}("margin",r))}(),se("background",i),se("padding",u),(e=document.createElement("div")).style.clear="both",e.style.display="block",e.style.height="0",document.body.appendChild(e),fe(),me(),document.documentElement.style.height="",document.body.style.height="",oe('HTML & body height set to "auto"'),oe("Enable public methods"),L.parentIFrame={autoResize:function(e){return!0===e&&!1===t?(t=!0,ge()):!1===e&&!0===t&&(t=!1,de("remove"),null!==a&&a.disconnect(),clearInterval(b)),Se(0,0,"autoResize",JSON.stringify(t)),t},close:function(){Se(0,0,"close")},getId:function(){return I},getPageInfo:function(e){"function"==typeof e?(j=e,Se(0,0,"pageInfo")):(j=function(){},Se(0,0,"pageInfoStop"))},moveToAnchor:function(e){w.findTarget(e)},reset:function(){Oe("parentIFrame.reset")},scrollTo:function(e,n){Se(n,e,"scrollTo")},scrollToOffset:function(e,n){Se(n,e,"scrollToOffset")},sendMessage:function(e,n){Se(0,0,"message",JSON.stringify(e),n)},setHeightCalculationMethod:function(e){g=e,fe()},setWidthCalculationMethod:function(e){W=e,me()},setTargetOrigin:function(e){oe("Set targetOrigin: "+e),x=e},size:function(e,n){Me("size","parentIFrame.size("+(e||"")+(n?","+n:"")+")",e,n)}},function(){if(!0!==T)return;function e(e){Se(0,0,e.type,e.screenY+":"+e.screenX)}function n(n,t){oe("Add event listener: "+t),ne(window.document,n,e)}n("mouseenter","Mouse Enter"),n("mouseleave","Mouse Leave")}(),ge(),w=function(){function e(){return{x:window.pageXOffset!==n?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==n?window.pageYOffset:document.documentElement.scrollTop}}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);oe("Moving to in page link (#"+o+") at x: "+n.x+" y: "+n.y),Se(n.y,n.x,"scrollToOffset")}var o=e.split("#")[1]||e,r=decodeURIComponent(o),a=document.getElementById(r)||document.getElementsByName(r)[0];n!==a?i(a):(oe("In page link (#"+o+") not found in iFrame, so sending to parent"),Se(0,0,"inPageLink","#"+o))}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")&&ne(e,"click",n)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),e)}function a(){ne(window,"hashchange",o)}function u(){setTimeout(o,d)}function s(){Array.prototype.forEach&&document.querySelectorAll?(oe("Setting up location.hash handlers"),r(),a(),u()):re("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}w.enable?s():oe("In page linking not enabled");return{findTarget:i}}(),Me("init","Init message from host page"),H()}function ue(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],re("Deprecated: '"+e+"' has been renamed '"+t+"'. The old method will be removed in the next major version.")}}function se(e,t){n!==t&&""!==t&&"null"!==t&&(document.body.style[e]=t,oe("Body "+e+' set to "'+t+'"'))}function ce(e){var n={add:function(n){function t(){Me(e.eventName,e.eventType)}q[n]=t,ne(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),oe(te(e.method)+" event listener: "+e.eventType)}function de(e){ce({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),ce({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),ce({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),ce({method:e,eventType:"Input",eventName:"input"}),ce({method:e,eventType:"Mouse Up",eventName:"mouseup"}),ce({method:e,eventType:"Mouse Down",eventName:"mousedown"}),ce({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),ce({method:e,eventType:"Print",eventName:["afterprint","beforeprint"]}),ce({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),ce({method:e,eventType:"Touch Start",eventName:"touchstart"}),ce({method:e,eventType:"Touch End",eventName:"touchend"}),ce({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),ce({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),ce({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),ce({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}
1),"child"===S&&ce({method:e,eventType:"IFrame Resized",eventName:"resize"})}function le(e,n,t,i){return n!==e&&(e in t||(re(e+" is not a valid option for "+i+"CalculationMethod."),e=n),oe(i+' calculation method set to "'+e+'"')),e}function fe(){g=le(g,m,Z,"height")}function me(){W=le(W,A,$,"width")}function ge(){var e;!0===t?(de("add"),e=0>y,window.MutationObserver||window.WebKitMutationObserver?e?he():a=function(){function e(e){function n(e){!1===e.complete&&(oe("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){oe("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),Me(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){Me("mutationObserver","mutationObserver: "+n[0].target+" "+n[0].type),n.forEach(e)}function u(){var e=document.querySelector("body"),n={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};return d=new c(a),oe("Create body MutationObserver"),d.observe(e,n),d}var s=[],c=window.MutationObserver||window.WebKitMutationObserver,d=u();return{disconnect:function(){"disconnect"in d&&(oe("Disconnect body MutationObserver"),d.disconnect(),s.forEach(t))}}}():(oe("MutationObserver not supported in this browser!"),he())):oe("Auto Resize disabled")}function he(){0!==y&&(oe("setInterval: "+y+"ms"),b=setInterval((function(){Me("interval","setInterval: "+y)}),Math.abs(y)))}function pe(e,n){var t=0;return n=n||document.body,t=null!==(t=document.defaultView.getComputedStyle(n,null))?t[e]:0,parseInt(t,10)}function we(e,n){for(var t=n.length,i=0,o=0,r=te(e),a=Date.now(),u=0;u<t;u++)(i=n[u].getBoundingClientRect()[e]+pe("margin"+r,n[u]))>o&&(o=i);return a=Date.now()-a,oe("Parsed "+t+" HTML elements"),oe("Element position calculated in "+a+"ms"),function(e){e>F/2&&oe("Event throttle increased to "+(F=2*e)+"ms")}(a),o}function ye(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function be(e,n){var t=document.querySelectorAll("["+n+"]");return 0===t.length&&(re("No tagged elements ("+n+") found on page"),document.querySelectorAll("body *")),we(e,t)}function ve(){return document.querySelectorAll("body *")}function Te(e,t,i,o){var r,a;!function(){function e(e,n){return!(Math.abs(e-n)<=z)}return r=n!==i?i:Z[g](),a=n!==o?o:$[W](),e(f,r)||s&&e(C,a)}()&&"init"!==e?!(e in{init:1,interval:1,size:1})&&(g in O||s&&W in O)?Oe(t):e in{interval:1}||oe("No change in size detected"):(Ee(),Se(f=r,C=a,e))}function Me(e,n,t,i){N&&e in c?oe("Trigger event cancelled: "+e):(e in{reset:1,resetPage:1,init:1}||oe("Trigger event: "+n),"init"===e?Te(e,n,t,i):_(e,n,t,i))}function Ee(){N||(N=!0,oe("Trigger event lock on")),clearTimeout(R),R=setTimeout((function(){N=!1,oe("Trigger event lock off"),oe("--")}),d)}function Ie(e){f=Z[g](),C=$[W](),Se(f,C,e)}function Oe(e){var n=g;g=m,oe("Reset trigger event: "+e),Ee(),Ie("reset"),g=n}function Se(e,t,i,o,r){var a;n===r?r=x:oe("Message targetOrigin: "+r),oe("Sending message to host page ("+(a=I+":"+e+":"+t+":"+i+(n!==o?":"+o:""))+")"),k.postMessage(M+a,r)}function ke(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()},46702:(e,n)=>{var t,i,o;!function(r){if("undefined"!=typeof window){var a,u=0,s=!1,c=!1,d="message".length,l="[iFrameSizer]",f=l.length,m=null,g=window.requestAnimationFrame,h={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},p={},w=null,y={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(){k("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}},b={};window.jQuery&&((a=window.jQuery).fn?a.fn.iFrameResize||(a.fn.iFrameResize=function(e){return this.filter("iframe").each((function(n,t){q(t,e)})).end()}):S("","Unable to bind to jQuery, it is not fully loaded.")),i=[],(o="function"==typeof(t=X)?t.apply(n,i):t)===r||(e.exports=o),window.iFrameResize=window.iFrameResize||X()}function v(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function T(e,n,t){e.addEventListener(n,t,!1)}function M(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 I(e){return p[e]?p[e].log:s}function O(e,n){x("log",e,n,I(e))}function S(e,n){x("info",e,n,I(e))}function k(e,n){x("warn",e,n,!0)}function x(e,n,t,i){!0===i&&"object"==typeof window.console&&console[e](E(n),t)}function z(e){function n(){o("Height"),o("Width"),H((function(){P(R),A(q),h("onResized",R)}),R,"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(p[q]["max"+e]),t=Number(p[q]["min"+e]),i=e.toLowerCase(),o=Number(R[i]);O(q,"Checking "+i+" is in range "+t+"-"+n),o<t&&(o=t,O(q,"Set "+i+" to min value")),o>n&&(o=n,O(q,"Set "+i+" to max value")),R[i]=""+o}function r(e){return z.substr(z.indexOf(":")+d+e)}function a(e,n){var t,i,o;t=function(){var t,i;j("Send Page Info","pageInfo:"+(t=document.body.getBoundingClientRect(),i=R.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,b[o=n]||(b[o]=setTimeout((function(){b[o]=null,t()}),i))}function u(e){var n=e.getBoundingClientRect();return C(q),{x:Math.floor(Number(n.left)+Number(m.x)),y:Math.floor(Number(n.top)+Number(m.y))}}function s(e){var n=e?u(R.iframe):{x:0,y:0},t={x:Number(R.width)+n.x,y:Number(R.height)+n.y};O(q,"Reposition requested from iFrame (offset x:"+n.x+" y:"+n.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](t.x,t.y):k(q,"Unable to scroll to requested position, window.parentIFrame not found"):(m=t,c(),O(q,"--"))}function c(){!1!==h("onScroll",m)?A(q):W()}function g(e){var n={};if(0===Number(R.width)&&0===Number(R.height)){var t=r(9).split(":");n={x:t[1],y:t[0]}}else n={x:R.width,y:R.height};h(e,{iframe:R.iframe,screenX:Number(n.x),screenY:Number(n.y),type:R.type})}function h(e,n){return N(q,e,n)}var w,y,v,E,I,x,z=e.data,R={},q=null;"[iFrameResizerChild]Ready"===z?function(){for(var e in p)j("iFrame requested init",B(e),p[e].iframe,e)}():l===(""+z).substr(0,f)&&z.substr(f).split(":")[0]in p?(v=z.substr(f).split(":"),E=v[1]?parseInt(v[1],10):0,I=p[v[0]]&&p[v[0]].iframe,x=getComputedStyle(I),R={iframe:I,id:v[0],height:E+t(x)+i(x),width:v[2],type:v[3]},q=R.id,p[q]&&(p[q].loaded=!0),(y=R.type in{true:1,false:1,undefined:1})&&O(q,"Ignoring init message from meta parent page"),!y&&function(e){var n=!0;return p[e]||(n=!1,k(R.type+" No settings for "+e+". Message was: "+z)),n}(q)&&(O(q,"Received: "+z),w=!0,null===R.iframe&&(k(q,"IFrame ("+R.id+") not found"),w=!1),w&&function(){var n,t=e.origin,i=p[q]&&p[q].checkOrigin;if(i&&""+t!="null"&&!(i.constructor===Array?function(){var e=0,n=!1;for(O(q,"Checking connection is from allowed list of origins: "+i);e<i.length;e++)if(i[e]===t){n=!0;break}return n}():(n=p[q]&&p[q].remoteHost,O(q,"Checking connection is from: "+n),t===n)))throw new Error("Unexpected message received from: "+t+" for "+R.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(p[q]&&p[q].firstRun&&p[q]&&(p[q].firstRun=!1),R.type){case"close"
1:F(R.iframe);break;case"message":d=r(6),O(q,"onMessage passed: {iframe: "+R.iframe.id+", message: "+d+"}"),h("onMessage",{iframe:R.iframe,message:JSON.parse(d)}),O(q,"--");break;case"mouseenter":g("onMouseEnter");break;case"mouseleave":g("onMouseLeave");break;case"autoResize":p[q].autoResize=JSON.parse(r(9));break;case"scrollTo":s(!1);break;case"scrollToOffset":s(!0);break;case"pageInfo":a(p[q]&&p[q].iframe,q),function(){function e(e,i){function o(){p[t]?a(p[t].iframe,t):n()}["scroll","resize"].forEach((function(n){O(t,e+n+" listener for sendPageInfo"),i(window,n,o)}))}function n(){e("Remove ",M)}var t=q;e("Add ",T),p[t]&&(p[t].stopPageInfo=n)}();break;case"pageInfoStop":p[q]&&p[q].stopPageInfo&&(p[q].stopPageInfo(),delete p[q].stopPageInfo);break;case"inPageLink":t=r(9).split("#")[1]||"",i=decodeURIComponent(t),(o=document.getElementById(i)||document.getElementsByName(i)[0])?(e=u(o),O(q,"Moving to in page link (#"+t+") at x: "+e.x+" y: "+e.y),m={x:e.x,y:e.y},c(),O(q,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(t):O(q,"In page link #"+t+" not found and window.parentIFrame not found"):O(q,"In page link #"+t+" not found");break;case"reset":L(R);break;case"init":n(),h("onInit",R.iframe);break;default:0===Number(R.width)&&0===Number(R.height)?k("Unsupported message received ("+R.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,d}())):S(q,"Ignored: "+z)}function N(e,n,t){var i=null,o=null;if(p[e]){if("function"!=typeof(i=p[e][n]))throw new TypeError(n+" on iFrame["+e+"] is not a function");o=i(t)}return o}function R(e){var n=e.id;delete p[n]}function F(e){var n=e.id;if(!1!==N(n,"onClose",n)){O(n,"Removing iFrame: "+n);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){k(e)}N(n,"onClosed",n),O(n,"--"),R(e)}else O(n,"Close iframe cancelled by onClose event")}function C(e){null===m&&O(e,"Get page position: "+(m={x:window.pageXOffset!==r?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==r?window.pageYOffset:document.documentElement.scrollTop}).x+","+m.y)}function A(e){null!==m&&(window.scrollTo(m.x,m.y),O(e,"Set page position: "+m.x+","+m.y),W())}function W(){m=null}function L(e){O(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),C(e.id),H((function(){P(e),j("reset","reset",e.iframe,e.id)}),e,"reset")}function P(e){function n(n){c||"0"!==e[n]||(c=!0,O(i,"Hidden iFrame detected, creating visibility listener"),function(){function e(){function e(e){function n(n){return"0px"===(p[e]&&p[e].iframe.style[n])}function t(e){return null!==e.offsetParent}p[e]&&t(p[e].iframe)&&(n("height")||n("width"))&&j("Visibility change","resize",p[e].iframe,e)}Object.keys(p).forEach((function(n){e(n)}))}function n(n){O("window","Mutation observed: "+n[0].target+" "+n[0].type),D(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=v();i&&t()}())}function t(t){!function(n){e.id?(e.iframe.style[n]=e[n]+"px",O(e.id,"IFrame ("+i+") "+n+" set to "+e[n]+"px")):O("undefined","messageData id not set")}(t),n(t)}var i=e.iframe.id;p[i]&&(p[i].sizeHeight&&t("height"),p[i].sizeWidth&&t("width"))}function H(e,n,t){t!==n.type&&g&&!window.jasmine?(O(n.id,"Requesting animation frame"),g(e)):e()}function j(e,n,t,i,o){var r,a=!1;i=i||t.id,p[i]&&(t&&"contentWindow"in t&&null!==t.contentWindow?(r=p[i]&&p[i].targetOrigin,O(i,"["+e+"] Sending msg to iframe["+i+"] ("+n+") targetOrigin: "+r),t.contentWindow.postMessage(l+n,r)):k(i,"["+e+"] IFrame("+i+") not found"),o&&p[i]&&p[i].warningTimeout&&(p[i].msgTimeout=setTimeout((function(){!p[i]||p[i].loaded||a||(a=!0,k(i,"IFrame has not responded within "+p[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."))}),p[i].warningTimeout)))}function B(e){return e+":"+p[e].bodyMarginV1+":"+p[e].sizeWidth+":"+p[e].log+":"+p[e].interval+":"+p[e].enablePublicMethods+":"+p[e].autoResize+":"+p[e].bodyMargin+":"+p[e].heightCalculationMethod+":"+p[e].bodyBackgroun
1d+":"+p[e].bodyPadding+":"+p[e].tolerance+":"+p[e].inPageLinks+":"+p[e].resizeFrom+":"+p[e].widthCalculationMethod+":"+p[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],k(a,"Deprecated: '"+e+"' has been renamed '"+t+"'. The old method will be removed in the next major version.")}}var i,o,a=function(t){var i;return""===t&&(e.id=(i=n&&n.id||y.id+u++,null!==document.getElementById(i)&&(i+=u++),t=i),s=(n||{}).log,O(t,"Added missing iframe ID: "+t+" ("+e.src+")")),t}(e.id);a in p&&"iFrameResizer"in e?k(a,"Ignored iFrame, already setup."):(!function(n){var i;n=n||{},p[a]={firstRun:!0,iframe:e,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 y)Object.prototype.hasOwnProperty.call(y,n)&&(p[a][n]=Object.prototype.hasOwnProperty.call(e,n)?e[n]:y[n])}(n),p[a]&&(p[a].targetOrigin=!0===p[a].checkOrigin?""===(i=p[a].remoteHost)||null!==i.match(/^(about:blank|javascript:|file:\/\/)/)?"*":i:"*")}(n),function(){switch(O(a,"IFrame scrolling "+(p[a]&&p[a].scrolling?"enabled":"disabled")+" for "+a),e.style.overflow=!1===(p[a]&&p[a].scrolling)?"hidden":"auto",p[a]&&p[a].scrolling){case"omit":break;case!0:e.scrolling="yes";break;case!1:e.scrolling="no";break;default:e.scrolling=p[a]?p[a].scrolling:"no"}}(),function(){function n(n){var t=p[a][n];1/0!==t&&0!==t&&(e.style[n]="number"==typeof t?t+"px":t,O(a,"Set "+n+" = "+e.style[n]))}function t(e){if(p[a]["min"+e]>p[a]["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(p[a]&&p[a].bodyMargin)&&"0"!==(p[a]&&p[a].bodyMargin)||(p[a].bodyMarginV1=p[a].bodyMargin,p[a].bodyMargin=p[a].bodyMargin+"px"),i=B(a),(o=v())&&function(n){e.parentNode&&new n((function(n){n.forEach((function(n){Array.prototype.slice.call(n.removedNodes).forEach((function(n){n===e&&F(e)}))}))})).observe(e.parentNode,{childList:!0})}(o),T(e,"load",(function(){var n,t;j("iFrame.onload",i,e,r,!0),n=p[a]&&p[a].firstRun,t=p[a]&&p[a].heightCalculationMethod in h,!n&&t&&L({iframe:e,height:0,width:0,type:"init"})})),j("init",i,e,r,!0),p[a]&&(p[a].iframe.iFrameResizer={close:F.bind(null,p[a].iframe),removeListeners:R.bind(null,p[a].iframe),resize:j.bind(null,"Window resize","resize",p[a].iframe),moveToAnchor:function(e){j("Move to anchor","moveToAnchor:"+e,p[a].iframe,a)},sendMessage:function(e){j("Send Message","message:"+(e=JSON.stringify(e)),p[a].iframe,a)}}))}function D(e,n){null===w&&(w=setTimeout((function(){w=null,e()}),n))}function U(){"hidden"!==document.visibilityState&&(O("document","Trigger event: Visiblity change"),D((function(){V("Tab Visable","resize")}),16))}function V(e,n){Object.keys(p).forEach((function(t){(function(e){return p[e]&&"parent"===p[e].resizeFrom&&p[e].autoResize&&!p[e].firstRun})(t)&&j(e,n,p[t].iframe,t)}))}function J(){T(window,"message",z),T(window,"resize",(function(){var e;O("window","Trigger event: "+(e="resize")),D((function(){V("Window "+e,"resize")}),16)})),T(document,"visibilitychange",U),T(document,"-webkit-visibilitychange",U)}function X(){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&&!g;e+=1)g=window[n[e]+"RequestAnimationFrame"];g?g=g.bind(window):O("setup","RequestAnimationFrame not supported")}(),J(),function(t,i){switch(n=[],function(e){e&&e.enablePublicMethods&&k("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}}}()},49457:(e,n,t)=>{var i=t(46702);n.iframeResize=i,n.iframeResizer=i,n.iframeResizerContentWindow=t(49402)}}]);

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.